]>
Commit | Line | Data |
---|---|---|
27e45892 RD |
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 { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
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] | |
2467 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
2468 | #define SWIGTYPE_p_int swig_types[2] | |
10044bf1 RD |
2469 | #define SWIGTYPE_p_p_wxAuiMultiNotebook swig_types[3] |
2470 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[4] | |
2471 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[5] | |
2472 | #define SWIGTYPE_p_p_wxColourDialog swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxControl swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxDialog swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxDirDialog swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxFileDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxFloatingPane swig_types[13] | |
2480 | #define SWIGTYPE_p_p_wxFontDialog swig_types[14] | |
2481 | #define SWIGTYPE_p_p_wxFrame swig_types[15] | |
2482 | #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16] | |
2483 | #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17] | |
2484 | #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18] | |
2485 | #define SWIGTYPE_p_p_wxMenuBar swig_types[19] | |
2486 | #define SWIGTYPE_p_p_wxMessageDialog swig_types[20] | |
2487 | #define SWIGTYPE_p_p_wxMiniFrame swig_types[21] | |
2488 | #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22] | |
2489 | #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23] | |
2490 | #define SWIGTYPE_p_p_wxPanel swig_types[24] | |
2491 | #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25] | |
2492 | #define SWIGTYPE_p_p_wxPopupWindow swig_types[26] | |
2493 | #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27] | |
2494 | #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28] | |
2495 | #define SWIGTYPE_p_p_wxPreviewFrame swig_types[29] | |
2496 | #define SWIGTYPE_p_p_wxProgressDialog swig_types[30] | |
2497 | #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31] | |
2498 | #define SWIGTYPE_p_p_wxPyPanel swig_types[32] | |
2499 | #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33] | |
2500 | #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34] | |
2501 | #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35] | |
2502 | #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36] | |
2503 | #define SWIGTYPE_p_p_wxPyVListBox swig_types[37] | |
2504 | #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38] | |
2505 | #define SWIGTYPE_p_p_wxPyWindow swig_types[39] | |
2506 | #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40] | |
2507 | #define SWIGTYPE_p_p_wxSashWindow swig_types[41] | |
2508 | #define SWIGTYPE_p_p_wxScrolledWindow swig_types[42] | |
2509 | #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[43] | |
2510 | #define SWIGTYPE_p_p_wxSplashScreen swig_types[44] | |
2511 | #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[45] | |
2512 | #define SWIGTYPE_p_p_wxSplitterWindow swig_types[46] | |
2513 | #define SWIGTYPE_p_p_wxStatusBar swig_types[47] | |
2514 | #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[48] | |
2515 | #define SWIGTYPE_p_p_wxTipWindow swig_types[49] | |
2516 | #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[50] | |
2517 | #define SWIGTYPE_p_p_wxWindow swig_types[51] | |
2518 | #define SWIGTYPE_p_unsigned_char swig_types[52] | |
2519 | #define SWIGTYPE_p_unsigned_int swig_types[53] | |
2520 | #define SWIGTYPE_p_unsigned_long swig_types[54] | |
2521 | #define SWIGTYPE_p_wxANIHandler swig_types[55] | |
2522 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[56] | |
2523 | #define SWIGTYPE_p_wxActivateEvent swig_types[57] | |
2524 | #define SWIGTYPE_p_wxAuiMultiNotebook swig_types[58] | |
2525 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[59] | |
2526 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[60] | |
2527 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[64] | |
2531 | #define SWIGTYPE_p_wxBMPHandler swig_types[65] | |
2532 | #define SWIGTYPE_p_wxBitmap swig_types[66] | |
2533 | #define SWIGTYPE_p_wxBoxSizer swig_types[67] | |
2534 | #define SWIGTYPE_p_wxCURHandler swig_types[68] | |
2535 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[69] | |
2536 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[70] | |
2537 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[71] | |
2538 | #define SWIGTYPE_p_wxCloseEvent swig_types[72] | |
2539 | #define SWIGTYPE_p_wxColor swig_types[73] | |
2540 | #define SWIGTYPE_p_wxColour swig_types[74] | |
2541 | #define SWIGTYPE_p_wxColourData swig_types[75] | |
2542 | #define SWIGTYPE_p_wxColourDialog swig_types[76] | |
2543 | #define SWIGTYPE_p_wxCommandEvent swig_types[77] | |
2544 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[78] | |
2545 | #define SWIGTYPE_p_wxControl swig_types[79] | |
2546 | #define SWIGTYPE_p_wxControlWithItems swig_types[80] | |
2547 | #define SWIGTYPE_p_wxDC swig_types[81] | |
2548 | #define SWIGTYPE_p_wxDateEvent swig_types[82] | |
2549 | #define SWIGTYPE_p_wxDefaultDockArt swig_types[83] | |
2550 | #define SWIGTYPE_p_wxDialog swig_types[84] | |
2551 | #define SWIGTYPE_p_wxDirDialog swig_types[85] | |
2552 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[86] | |
2553 | #define SWIGTYPE_p_wxDockArt swig_types[87] | |
2554 | #define SWIGTYPE_p_wxDockInfo swig_types[88] | |
2555 | #define SWIGTYPE_p_wxDockUIPart swig_types[89] | |
2556 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[90] | |
2557 | #define SWIGTYPE_p_wxDuplexMode swig_types[91] | |
2558 | #define SWIGTYPE_p_wxEraseEvent swig_types[92] | |
2559 | #define SWIGTYPE_p_wxEvent swig_types[93] | |
2560 | #define SWIGTYPE_p_wxEvtHandler swig_types[94] | |
2561 | #define SWIGTYPE_p_wxFSFile swig_types[95] | |
2562 | #define SWIGTYPE_p_wxFileDialog swig_types[96] | |
2563 | #define SWIGTYPE_p_wxFileSystem swig_types[97] | |
2564 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[98] | |
2565 | #define SWIGTYPE_p_wxFindReplaceData swig_types[99] | |
2566 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[100] | |
2567 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[101] | |
2568 | #define SWIGTYPE_p_wxFloatingPane swig_types[102] | |
2569 | #define SWIGTYPE_p_wxFocusEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxFont swig_types[104] | |
2571 | #define SWIGTYPE_p_wxFontData swig_types[105] | |
2572 | #define SWIGTYPE_p_wxFontDialog swig_types[106] | |
2573 | #define SWIGTYPE_p_wxFrame swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFrameManager swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFrameManagerEvent swig_types[109] | |
2576 | #define SWIGTYPE_p_wxGBSizerItem swig_types[110] | |
2577 | #define SWIGTYPE_p_wxGIFHandler swig_types[111] | |
2578 | #define SWIGTYPE_p_wxGridBagSizer swig_types[112] | |
2579 | #define SWIGTYPE_p_wxGridSizer swig_types[113] | |
2580 | #define SWIGTYPE_p_wxICOHandler swig_types[114] | |
2581 | #define SWIGTYPE_p_wxIconizeEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxIdleEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxImage swig_types[117] | |
2584 | #define SWIGTYPE_p_wxImageHandler swig_types[118] | |
2585 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[119] | |
2586 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[120] | |
2587 | #define SWIGTYPE_p_wxJPEGHandler swig_types[121] | |
2588 | #define SWIGTYPE_p_wxKeyEvent swig_types[122] | |
2589 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[123] | |
2590 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[124] | |
2591 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[125] | |
2592 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[126] | |
2593 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[127] | |
2594 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[128] | |
2595 | #define SWIGTYPE_p_wxMenu swig_types[129] | |
2596 | #define SWIGTYPE_p_wxMenuBar swig_types[130] | |
2597 | #define SWIGTYPE_p_wxMenuEvent swig_types[131] | |
2598 | #define SWIGTYPE_p_wxMenuItem swig_types[132] | |
2599 | #define SWIGTYPE_p_wxMessageDialog swig_types[133] | |
2600 | #define SWIGTYPE_p_wxMiniFrame swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[135] | |
34e0a3bb RD |
2602 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[136] |
2603 | #define SWIGTYPE_p_wxMouseEvent swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMoveEvent swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[139] | |
2606 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[140] | |
2607 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[141] | |
2608 | #define SWIGTYPE_p_wxNotifyEvent swig_types[142] | |
2609 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[143] | |
2610 | #define SWIGTYPE_p_wxObject swig_types[144] | |
2611 | #define SWIGTYPE_p_wxPCXHandler swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPNGHandler swig_types[146] | |
2613 | #define SWIGTYPE_p_wxPNMHandler swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPaintEvent swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPaneButton swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPaneButtonArray swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPaneInfo swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPaneInfoPtrArray swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPanel swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPaperSize swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPoint swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPopupWindow swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPreviewFrame swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPrintData swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPrintDialog swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPrintDialogData swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPrintPreview swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPrinter swig_types[168] | |
2635 | #define SWIGTYPE_p_wxProgressDialog swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPyApp swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPyDockArt swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPyEvent swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPyImageHandler swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyPanel swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyPrintout swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPySizer swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyVListBox swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyValidator swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyWindow swig_types[188] | |
2655 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[189] | |
2656 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[190] | |
2657 | #define SWIGTYPE_p_wxRect swig_types[191] | |
2658 | #define SWIGTYPE_p_wxSashEvent swig_types[192] | |
2659 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[193] | |
2660 | #define SWIGTYPE_p_wxSashWindow swig_types[194] | |
2661 | #define SWIGTYPE_p_wxScrollEvent swig_types[195] | |
2662 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[196] | |
2663 | #define SWIGTYPE_p_wxScrolledWindow swig_types[197] | |
2664 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[198] | |
2665 | #define SWIGTYPE_p_wxShowEvent swig_types[199] | |
2666 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[200] | |
2667 | #define SWIGTYPE_p_wxSize swig_types[201] | |
2668 | #define SWIGTYPE_p_wxSizeEvent swig_types[202] | |
2669 | #define SWIGTYPE_p_wxSizer swig_types[203] | |
2670 | #define SWIGTYPE_p_wxSizerItem swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSplashScreen swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSplitterEvent swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSplitterWindow swig_types[208] | |
2675 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[209] | |
2676 | #define SWIGTYPE_p_wxStatusBar swig_types[210] | |
2677 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[211] | |
2678 | #define SWIGTYPE_p_wxString swig_types[212] | |
2679 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[213] | |
2680 | #define SWIGTYPE_p_wxTIFFHandler swig_types[214] | |
2681 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[215] | |
2682 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[216] | |
2683 | #define SWIGTYPE_p_wxTipWindow swig_types[217] | |
2684 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[218] | |
2685 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[219] | |
2686 | #define SWIGTYPE_p_wxValidator swig_types[220] | |
2687 | #define SWIGTYPE_p_wxWindow swig_types[221] | |
2688 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[222] | |
2689 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[223] | |
2690 | #define SWIGTYPE_p_wxXPMHandler swig_types[224] | |
2691 | static swig_type_info *swig_types[226]; | |
2692 | static swig_module_info swig_module = {swig_types, 225, 0, 0, 0, 0}; | |
27e45892 RD |
2693 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2694 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2695 | ||
2696 | /* -------- TYPES TABLE (END) -------- */ | |
2697 | ||
2698 | #if (PY_VERSION_HEX <= 0x02000000) | |
2699 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2700 | # error "This python version requires to use swig with the '-classic' option" | |
2701 | # endif | |
2702 | #endif | |
2703 | #if (PY_VERSION_HEX <= 0x02020000) | |
2704 | # error "This python version requires to use swig with the '-nomodern' option" | |
2705 | #endif | |
2706 | #if (PY_VERSION_HEX <= 0x02020000) | |
2707 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2708 | #endif | |
2709 | #ifndef METH_O | |
2710 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2711 | #endif | |
2712 | ||
2713 | /*----------------------------------------------- | |
2714 | @(target):= _aui.so | |
2715 | ------------------------------------------------*/ | |
2716 | #define SWIG_init init_aui | |
2717 | ||
2718 | #define SWIG_name "_aui" | |
2719 | ||
2720 | #define SWIGVERSION 0x010329 | |
2721 | ||
2722 | ||
2723 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2724 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2725 | ||
2726 | ||
2727 | #include <stdexcept> | |
2728 | ||
2729 | ||
2730 | namespace swig { | |
2731 | class PyObject_ptr { | |
2732 | protected: | |
2733 | PyObject *_obj; | |
2734 | ||
2735 | public: | |
2736 | PyObject_ptr() :_obj(0) | |
2737 | { | |
2738 | } | |
2739 | ||
2740 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2741 | { | |
2742 | Py_XINCREF(_obj); | |
2743 | } | |
2744 | ||
2745 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2746 | { | |
2747 | if (initial_ref) Py_XINCREF(_obj); | |
2748 | } | |
2749 | ||
2750 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2751 | { | |
2752 | Py_XINCREF(item._obj); | |
2753 | Py_XDECREF(_obj); | |
2754 | _obj = item._obj; | |
2755 | return *this; | |
2756 | } | |
2757 | ||
2758 | ~PyObject_ptr() | |
2759 | { | |
2760 | Py_XDECREF(_obj); | |
2761 | } | |
2762 | ||
2763 | operator PyObject *() const | |
2764 | { | |
2765 | return _obj; | |
2766 | } | |
2767 | ||
2768 | PyObject *operator->() const | |
2769 | { | |
2770 | return _obj; | |
2771 | } | |
2772 | }; | |
2773 | } | |
2774 | ||
2775 | ||
2776 | namespace swig { | |
2777 | struct PyObject_var : PyObject_ptr { | |
2778 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2779 | ||
2780 | PyObject_var & operator = (PyObject* obj) | |
2781 | { | |
2782 | Py_XDECREF(_obj); | |
2783 | _obj = obj; | |
2784 | return *this; | |
2785 | } | |
2786 | }; | |
2787 | } | |
2788 | ||
2789 | ||
2790 | #include "wx/wxPython/wxPython.h" | |
2791 | #include "wx/wxPython/pyclasses.h" | |
2792 | #include <wx/aui/aui.h> | |
2793 | ||
2794 | ||
2795 | #define SWIG_From_long PyInt_FromLong | |
2796 | ||
2797 | ||
2798 | SWIGINTERNINLINE PyObject * | |
2799 | SWIG_From_int (int value) | |
2800 | { | |
2801 | return SWIG_From_long (value); | |
2802 | } | |
2803 | ||
2804 | ||
2805 | #include <limits.h> | |
2806 | #ifndef LLONG_MIN | |
2807 | # define LLONG_MIN LONG_LONG_MIN | |
2808 | #endif | |
2809 | #ifndef LLONG_MAX | |
2810 | # define LLONG_MAX LONG_LONG_MAX | |
2811 | #endif | |
2812 | #ifndef ULLONG_MAX | |
2813 | # define ULLONG_MAX ULONG_LONG_MAX | |
2814 | #endif | |
2815 | ||
2816 | ||
2817 | SWIGINTERN int | |
2818 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2819 | { | |
2820 | if (PyNumber_Check(obj)) { | |
2821 | if (val) *val = PyInt_AsLong(obj); | |
2822 | return SWIG_OK; | |
2823 | } | |
2824 | return SWIG_TypeError; | |
2825 | } | |
2826 | ||
2827 | ||
2828 | SWIGINTERN int | |
2829 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2830 | { | |
2831 | long v; | |
2832 | int res = SWIG_AsVal_long (obj, &v); | |
2833 | if (SWIG_IsOK(res)) { | |
2834 | if ((v < INT_MIN || v > INT_MAX)) { | |
2835 | return SWIG_OverflowError; | |
2836 | } else { | |
2837 | if (val) *val = static_cast< int >(v); | |
2838 | } | |
2839 | } | |
2840 | return res; | |
2841 | } | |
2842 | ||
2843 | ||
2844 | SWIGINTERN int | |
2845 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2846 | { | |
2847 | if (obj == Py_True) { | |
2848 | if (val) *val = true; | |
2849 | return SWIG_OK; | |
2850 | } else if (obj == Py_False) { | |
2851 | if (val) *val = false; | |
2852 | return SWIG_OK; | |
2853 | } else { | |
2854 | long v = 0; | |
2855 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2856 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2857 | return res; | |
2858 | } | |
2859 | } | |
2860 | ||
2861 | ||
10044bf1 RD |
2862 | SWIGINTERN int |
2863 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2864 | { | |
2865 | long v = 0; | |
2866 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2867 | return SWIG_TypeError; | |
2868 | } | |
2869 | else if (val) | |
2870 | *val = (unsigned long)v; | |
2871 | return SWIG_OK; | |
2872 | } | |
2873 | ||
2874 | ||
2875 | SWIGINTERNINLINE int | |
2876 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2877 | { | |
2878 | unsigned long v; | |
2879 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2880 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2881 | return res; | |
2882 | } | |
2883 | ||
2884 | ||
2885 | SWIGINTERNINLINE PyObject* | |
2886 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2887 | { | |
2888 | return (value > LONG_MAX) ? | |
2889 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2890 | } | |
2891 | ||
2892 | ||
2893 | SWIGINTERNINLINE PyObject * | |
2894 | SWIG_From_size_t (size_t value) | |
2895 | { | |
2896 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2897 | } | |
2898 | ||
2899 | ||
2900 | // A wxDocArt lcass that knows how to forward virtuals to Python methods | |
27e45892 RD |
2901 | class wxPyDockArt : public wxDefaultDockArt |
2902 | { | |
2903 | wxPyDockArt() : wxDefaultDockArt() {} | |
2904 | ||
2905 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2906 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2907 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2908 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2909 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2910 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2911 | ||
2912 | virtual void DrawSash(wxDC& dc, | |
2913 | int orientation, | |
2914 | const wxRect& rect) | |
2915 | { | |
2916 | bool found; | |
2917 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2918 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2919 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
2920 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
2921 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", | |
2922 | odc, orientation, orect)); | |
2923 | Py_DECREF(odc); | |
2924 | Py_DECREF(orect); | |
2925 | } | |
2926 | wxPyEndBlockThreads(blocked); | |
2927 | if (! found) | |
2928 | wxDefaultDockArt::DrawSash(dc, orientation, rect); | |
2929 | } | |
2930 | ||
2931 | virtual void DrawBackground(wxDC& dc, | |
2932 | int orientation, | |
2933 | const wxRect& rect) | |
2934 | { | |
2935 | bool found; | |
2936 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2937 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2938 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
2939 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
2940 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)", | |
2941 | odc, orientation, orect)); | |
2942 | Py_DECREF(odc); | |
2943 | Py_DECREF(orect); | |
2944 | } | |
2945 | wxPyEndBlockThreads(blocked); | |
2946 | if (! found) | |
2947 | wxDefaultDockArt::DrawBackground(dc, orientation, rect); | |
2948 | } | |
2949 | ||
2950 | virtual void DrawCaption(wxDC& dc, | |
2951 | const wxString& text, | |
2952 | const wxRect& rect, | |
2953 | wxPaneInfo& pane) | |
2954 | { | |
2955 | bool found; | |
2956 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2957 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2958 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
2959 | PyObject* otext = wx2PyString(text); | |
2960 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
2961 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
2962 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", | |
2963 | odc, otext, orect, opane)); | |
2964 | Py_DECREF(odc); | |
2965 | Py_DECREF(otext); | |
2966 | Py_DECREF(orect); | |
2967 | Py_DECREF(opane); | |
2968 | } | |
2969 | wxPyEndBlockThreads(blocked); | |
2970 | if (! found) | |
2971 | wxDefaultDockArt::DrawCaption(dc, text, rect, pane); | |
2972 | } | |
2973 | ||
2974 | virtual void DrawGripper(wxDC& dc, | |
2975 | const wxRect& rect, | |
2976 | wxPaneInfo& pane) | |
2977 | { | |
2978 | bool found; | |
2979 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2980 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
2981 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
2982 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
2983 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
2984 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); | |
2985 | Py_DECREF(odc); | |
2986 | Py_DECREF(orect); | |
2987 | Py_DECREF(opane); | |
2988 | } | |
2989 | wxPyEndBlockThreads(blocked); | |
2990 | if (! found) | |
2991 | wxDefaultDockArt::DrawGripper(dc, rect, pane); | |
2992 | } | |
2993 | ||
2994 | virtual void DrawBorder(wxDC& dc, | |
2995 | const wxRect& rect, | |
2996 | wxPaneInfo& pane) | |
2997 | { | |
2998 | bool found; | |
2999 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3000 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3001 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
3002 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
3003 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
3004 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); | |
3005 | Py_DECREF(odc); | |
3006 | Py_DECREF(orect); | |
3007 | Py_DECREF(opane); | |
3008 | } | |
3009 | wxPyEndBlockThreads(blocked); | |
3010 | if (! found) | |
3011 | wxDefaultDockArt::DrawBorder(dc, rect, pane); | |
3012 | } | |
3013 | ||
3014 | virtual void DrawPaneButton(wxDC& dc, | |
3015 | int button, | |
3016 | int button_state, | |
3017 | const wxRect& rect, | |
3018 | wxPaneInfo& pane) | |
3019 | { | |
3020 | bool found; | |
3021 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3022 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3023 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
3024 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
3025 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
3026 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiIOO)", | |
3027 | odc, button, button_state, | |
3028 | orect, opane)); | |
3029 | Py_DECREF(odc); | |
3030 | Py_DECREF(orect); | |
3031 | Py_DECREF(opane); | |
3032 | } | |
3033 | wxPyEndBlockThreads(blocked); | |
3034 | if (! found) | |
3035 | wxDefaultDockArt::DrawPaneButton(dc, button, button_state, rect, pane); | |
3036 | } | |
3037 | ||
3038 | PYPRIVATE; | |
3039 | ||
3040 | }; | |
3041 | ||
3042 | IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric); | |
3043 | IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric); | |
3044 | IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont); | |
3045 | IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont); | |
3046 | IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour); | |
3047 | IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour); | |
3048 | ||
3049 | ||
3050 | #ifdef __cplusplus | |
3051 | extern "C" { | |
3052 | #endif | |
3053 | SWIGINTERN int NullDockInfo_set(PyObject *_val) { | |
3054 | { | |
3055 | void *argp = 0; | |
3056 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0); | |
3057 | if (!SWIG_IsOK(res)) { | |
3058 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'"); | |
3059 | } | |
3060 | if (!argp) { | |
3061 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'"); | |
3062 | } else { | |
3063 | wxDockInfo * temp; | |
3064 | temp = reinterpret_cast< wxDockInfo * >(argp); | |
3065 | wxNullDockInfo = *temp; | |
3066 | if (SWIG_IsNewObj(res)) delete temp; | |
3067 | } | |
3068 | } | |
3069 | return 0; | |
3070 | fail: | |
3071 | return 1; | |
3072 | } | |
3073 | ||
3074 | ||
3075 | SWIGINTERN PyObject *NullDockInfo_get(void) { | |
3076 | PyObject *pyobj = 0; | |
3077 | ||
3078 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 ); | |
3079 | return pyobj; | |
3080 | } | |
3081 | ||
3082 | ||
3083 | SWIGINTERN int NullPaneInfo_set(PyObject *_val) { | |
3084 | { | |
3085 | void *argp = 0; | |
3086 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
3087 | if (!SWIG_IsOK(res)) { | |
3088 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'"); | |
3089 | } | |
3090 | if (!argp) { | |
3091 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'"); | |
3092 | } else { | |
3093 | wxPaneInfo * temp; | |
3094 | temp = reinterpret_cast< wxPaneInfo * >(argp); | |
3095 | wxNullPaneInfo = *temp; | |
3096 | if (SWIG_IsNewObj(res)) delete temp; | |
3097 | } | |
3098 | } | |
3099 | return 0; | |
3100 | fail: | |
3101 | return 1; | |
3102 | } | |
3103 | ||
3104 | ||
3105 | SWIGINTERN PyObject *NullPaneInfo_get(void) { | |
3106 | PyObject *pyobj = 0; | |
3107 | ||
3108 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 ); | |
3109 | return pyobj; | |
3110 | } | |
3111 | ||
3112 | ||
3113 | SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3114 | PyObject *resultobj = 0; | |
3115 | wxPaneInfo *result = 0 ; | |
3116 | ||
3117 | if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail; | |
3118 | { | |
3119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3120 | result = (wxPaneInfo *)new wxPaneInfo(); | |
3121 | wxPyEndAllowThreads(__tstate); | |
3122 | if (PyErr_Occurred()) SWIG_fail; | |
3123 | } | |
3124 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 ); | |
3125 | return resultobj; | |
3126 | fail: | |
3127 | return NULL; | |
3128 | } | |
3129 | ||
3130 | ||
3131 | SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3132 | PyObject *resultobj = 0; | |
3133 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3134 | void *argp1 = 0 ; | |
3135 | int res1 = 0 ; | |
3136 | PyObject *swig_obj[1] ; | |
3137 | ||
3138 | if (!args) SWIG_fail; | |
3139 | swig_obj[0] = args; | |
3140 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
3141 | if (!SWIG_IsOK(res1)) { | |
3142 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3143 | } | |
3144 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3145 | { | |
3146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3147 | delete arg1; | |
3148 | ||
3149 | wxPyEndAllowThreads(__tstate); | |
3150 | if (PyErr_Occurred()) SWIG_fail; | |
3151 | } | |
3152 | resultobj = SWIG_Py_Void(); | |
3153 | return resultobj; | |
3154 | fail: | |
3155 | return NULL; | |
3156 | } | |
3157 | ||
3158 | ||
10044bf1 RD |
3159 | SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3160 | PyObject *resultobj = 0; | |
3161 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3162 | wxPaneInfo arg2 ; | |
3163 | void *argp1 = 0 ; | |
3164 | int res1 = 0 ; | |
3165 | void *argp2 ; | |
3166 | int res2 = 0 ; | |
3167 | PyObject * obj0 = 0 ; | |
3168 | PyObject * obj1 = 0 ; | |
3169 | char * kwnames[] = { | |
3170 | (char *) "self",(char *) "source", NULL | |
3171 | }; | |
3172 | ||
3173 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; | |
3174 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3175 | if (!SWIG_IsOK(res1)) { | |
3176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3177 | } | |
3178 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3179 | { | |
3180 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
3181 | if (!SWIG_IsOK(res2)) { | |
3182 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'"); | |
3183 | } | |
3184 | if (!argp2) { | |
3185 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'"); | |
3186 | } else { | |
3187 | wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2); | |
3188 | arg2 = *temp; | |
3189 | if (SWIG_IsNewObj(res2)) delete temp; | |
3190 | } | |
3191 | } | |
3192 | { | |
3193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3194 | (arg1)->SafeSet(arg2); | |
3195 | wxPyEndAllowThreads(__tstate); | |
3196 | if (PyErr_Occurred()) SWIG_fail; | |
3197 | } | |
3198 | resultobj = SWIG_Py_Void(); | |
3199 | return resultobj; | |
3200 | fail: | |
3201 | return NULL; | |
3202 | } | |
3203 | ||
3204 | ||
27e45892 RD |
3205 | SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3206 | PyObject *resultobj = 0; | |
3207 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3208 | bool result; | |
3209 | void *argp1 = 0 ; | |
3210 | int res1 = 0 ; | |
3211 | PyObject *swig_obj[1] ; | |
3212 | ||
3213 | if (!args) SWIG_fail; | |
3214 | swig_obj[0] = args; | |
3215 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3216 | if (!SWIG_IsOK(res1)) { | |
3217 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3218 | } | |
3219 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3220 | { | |
3221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3222 | result = (bool)((wxPaneInfo const *)arg1)->IsOk(); | |
3223 | wxPyEndAllowThreads(__tstate); | |
3224 | if (PyErr_Occurred()) SWIG_fail; | |
3225 | } | |
3226 | { | |
3227 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3228 | } | |
3229 | return resultobj; | |
3230 | fail: | |
3231 | return NULL; | |
3232 | } | |
3233 | ||
3234 | ||
3235 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3236 | PyObject *resultobj = 0; | |
3237 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3238 | bool result; | |
3239 | void *argp1 = 0 ; | |
3240 | int res1 = 0 ; | |
3241 | PyObject *swig_obj[1] ; | |
3242 | ||
3243 | if (!args) SWIG_fail; | |
3244 | swig_obj[0] = args; | |
3245 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3246 | if (!SWIG_IsOK(res1)) { | |
3247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3248 | } | |
3249 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3250 | { | |
3251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3252 | result = (bool)((wxPaneInfo const *)arg1)->IsFixed(); | |
3253 | wxPyEndAllowThreads(__tstate); | |
3254 | if (PyErr_Occurred()) SWIG_fail; | |
3255 | } | |
3256 | { | |
3257 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3258 | } | |
3259 | return resultobj; | |
3260 | fail: | |
3261 | return NULL; | |
3262 | } | |
3263 | ||
3264 | ||
3265 | SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3266 | PyObject *resultobj = 0; | |
3267 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3268 | bool result; | |
3269 | void *argp1 = 0 ; | |
3270 | int res1 = 0 ; | |
3271 | PyObject *swig_obj[1] ; | |
3272 | ||
3273 | if (!args) SWIG_fail; | |
3274 | swig_obj[0] = args; | |
3275 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3276 | if (!SWIG_IsOK(res1)) { | |
3277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3278 | } | |
3279 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3280 | { | |
3281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3282 | result = (bool)((wxPaneInfo const *)arg1)->IsResizable(); | |
3283 | wxPyEndAllowThreads(__tstate); | |
3284 | if (PyErr_Occurred()) SWIG_fail; | |
3285 | } | |
3286 | { | |
3287 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3288 | } | |
3289 | return resultobj; | |
3290 | fail: | |
3291 | return NULL; | |
3292 | } | |
3293 | ||
3294 | ||
3295 | SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3296 | PyObject *resultobj = 0; | |
3297 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3298 | bool result; | |
3299 | void *argp1 = 0 ; | |
3300 | int res1 = 0 ; | |
3301 | PyObject *swig_obj[1] ; | |
3302 | ||
3303 | if (!args) SWIG_fail; | |
3304 | swig_obj[0] = args; | |
3305 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3306 | if (!SWIG_IsOK(res1)) { | |
3307 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3308 | } | |
3309 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3310 | { | |
3311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3312 | result = (bool)((wxPaneInfo const *)arg1)->IsShown(); | |
3313 | wxPyEndAllowThreads(__tstate); | |
3314 | if (PyErr_Occurred()) SWIG_fail; | |
3315 | } | |
3316 | { | |
3317 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3318 | } | |
3319 | return resultobj; | |
3320 | fail: | |
3321 | return NULL; | |
3322 | } | |
3323 | ||
3324 | ||
3325 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3326 | PyObject *resultobj = 0; | |
3327 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3328 | bool result; | |
3329 | void *argp1 = 0 ; | |
3330 | int res1 = 0 ; | |
3331 | PyObject *swig_obj[1] ; | |
3332 | ||
3333 | if (!args) SWIG_fail; | |
3334 | swig_obj[0] = args; | |
3335 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3336 | if (!SWIG_IsOK(res1)) { | |
3337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3338 | } | |
3339 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3340 | { | |
3341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3342 | result = (bool)((wxPaneInfo const *)arg1)->IsFloating(); | |
3343 | wxPyEndAllowThreads(__tstate); | |
3344 | if (PyErr_Occurred()) SWIG_fail; | |
3345 | } | |
3346 | { | |
3347 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3348 | } | |
3349 | return resultobj; | |
3350 | fail: | |
3351 | return NULL; | |
3352 | } | |
3353 | ||
3354 | ||
3355 | SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3356 | PyObject *resultobj = 0; | |
3357 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3358 | bool result; | |
3359 | void *argp1 = 0 ; | |
3360 | int res1 = 0 ; | |
3361 | PyObject *swig_obj[1] ; | |
3362 | ||
3363 | if (!args) SWIG_fail; | |
3364 | swig_obj[0] = args; | |
3365 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3366 | if (!SWIG_IsOK(res1)) { | |
3367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3368 | } | |
3369 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3370 | { | |
3371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3372 | result = (bool)((wxPaneInfo const *)arg1)->IsDocked(); | |
3373 | wxPyEndAllowThreads(__tstate); | |
3374 | if (PyErr_Occurred()) SWIG_fail; | |
3375 | } | |
3376 | { | |
3377 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3378 | } | |
3379 | return resultobj; | |
3380 | fail: | |
3381 | return NULL; | |
3382 | } | |
3383 | ||
3384 | ||
3385 | SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3386 | PyObject *resultobj = 0; | |
3387 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3388 | bool result; | |
3389 | void *argp1 = 0 ; | |
3390 | int res1 = 0 ; | |
3391 | PyObject *swig_obj[1] ; | |
3392 | ||
3393 | if (!args) SWIG_fail; | |
3394 | swig_obj[0] = args; | |
3395 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3396 | if (!SWIG_IsOK(res1)) { | |
3397 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3398 | } | |
3399 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3400 | { | |
3401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3402 | result = (bool)((wxPaneInfo const *)arg1)->IsToolbar(); | |
3403 | wxPyEndAllowThreads(__tstate); | |
3404 | if (PyErr_Occurred()) SWIG_fail; | |
3405 | } | |
3406 | { | |
3407 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3408 | } | |
3409 | return resultobj; | |
3410 | fail: | |
3411 | return NULL; | |
3412 | } | |
3413 | ||
3414 | ||
3415 | SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3416 | PyObject *resultobj = 0; | |
3417 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3418 | bool result; | |
3419 | void *argp1 = 0 ; | |
3420 | int res1 = 0 ; | |
3421 | PyObject *swig_obj[1] ; | |
3422 | ||
3423 | if (!args) SWIG_fail; | |
3424 | swig_obj[0] = args; | |
3425 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3426 | if (!SWIG_IsOK(res1)) { | |
3427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3428 | } | |
3429 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3430 | { | |
3431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3432 | result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable(); | |
3433 | wxPyEndAllowThreads(__tstate); | |
3434 | if (PyErr_Occurred()) SWIG_fail; | |
3435 | } | |
3436 | { | |
3437 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3438 | } | |
3439 | return resultobj; | |
3440 | fail: | |
3441 | return NULL; | |
3442 | } | |
3443 | ||
3444 | ||
3445 | SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3446 | PyObject *resultobj = 0; | |
3447 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3448 | bool result; | |
3449 | void *argp1 = 0 ; | |
3450 | int res1 = 0 ; | |
3451 | PyObject *swig_obj[1] ; | |
3452 | ||
3453 | if (!args) SWIG_fail; | |
3454 | swig_obj[0] = args; | |
3455 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3456 | if (!SWIG_IsOK(res1)) { | |
3457 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3458 | } | |
3459 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3460 | { | |
3461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3462 | result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable(); | |
3463 | wxPyEndAllowThreads(__tstate); | |
3464 | if (PyErr_Occurred()) SWIG_fail; | |
3465 | } | |
3466 | { | |
3467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3468 | } | |
3469 | return resultobj; | |
3470 | fail: | |
3471 | return NULL; | |
3472 | } | |
3473 | ||
3474 | ||
3475 | SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3476 | PyObject *resultobj = 0; | |
3477 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3478 | bool result; | |
3479 | void *argp1 = 0 ; | |
3480 | int res1 = 0 ; | |
3481 | PyObject *swig_obj[1] ; | |
3482 | ||
3483 | if (!args) SWIG_fail; | |
3484 | swig_obj[0] = args; | |
3485 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3486 | if (!SWIG_IsOK(res1)) { | |
3487 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3488 | } | |
3489 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3490 | { | |
3491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3492 | result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable(); | |
3493 | wxPyEndAllowThreads(__tstate); | |
3494 | if (PyErr_Occurred()) SWIG_fail; | |
3495 | } | |
3496 | { | |
3497 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3498 | } | |
3499 | return resultobj; | |
3500 | fail: | |
3501 | return NULL; | |
3502 | } | |
3503 | ||
3504 | ||
3505 | SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3506 | PyObject *resultobj = 0; | |
3507 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3508 | bool result; | |
3509 | void *argp1 = 0 ; | |
3510 | int res1 = 0 ; | |
3511 | PyObject *swig_obj[1] ; | |
3512 | ||
3513 | if (!args) SWIG_fail; | |
3514 | swig_obj[0] = args; | |
3515 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3516 | if (!SWIG_IsOK(res1)) { | |
3517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3518 | } | |
3519 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3520 | { | |
3521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3522 | result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable(); | |
3523 | wxPyEndAllowThreads(__tstate); | |
3524 | if (PyErr_Occurred()) SWIG_fail; | |
3525 | } | |
3526 | { | |
3527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3528 | } | |
3529 | return resultobj; | |
3530 | fail: | |
3531 | return NULL; | |
3532 | } | |
3533 | ||
3534 | ||
3535 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3536 | PyObject *resultobj = 0; | |
3537 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3538 | bool result; | |
3539 | void *argp1 = 0 ; | |
3540 | int res1 = 0 ; | |
3541 | PyObject *swig_obj[1] ; | |
3542 | ||
3543 | if (!args) SWIG_fail; | |
3544 | swig_obj[0] = args; | |
3545 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3546 | if (!SWIG_IsOK(res1)) { | |
3547 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3548 | } | |
3549 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3550 | { | |
3551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3552 | result = (bool)((wxPaneInfo const *)arg1)->IsFloatable(); | |
3553 | wxPyEndAllowThreads(__tstate); | |
3554 | if (PyErr_Occurred()) SWIG_fail; | |
3555 | } | |
3556 | { | |
3557 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3558 | } | |
3559 | return resultobj; | |
3560 | fail: | |
3561 | return NULL; | |
3562 | } | |
3563 | ||
3564 | ||
3565 | SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3566 | PyObject *resultobj = 0; | |
3567 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3568 | bool result; | |
3569 | void *argp1 = 0 ; | |
3570 | int res1 = 0 ; | |
3571 | PyObject *swig_obj[1] ; | |
3572 | ||
3573 | if (!args) SWIG_fail; | |
3574 | swig_obj[0] = args; | |
3575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3576 | if (!SWIG_IsOK(res1)) { | |
3577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3578 | } | |
3579 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3580 | { | |
3581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3582 | result = (bool)((wxPaneInfo const *)arg1)->IsMovable(); | |
3583 | wxPyEndAllowThreads(__tstate); | |
3584 | if (PyErr_Occurred()) SWIG_fail; | |
3585 | } | |
3586 | { | |
3587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3588 | } | |
3589 | return resultobj; | |
3590 | fail: | |
3591 | return NULL; | |
3592 | } | |
3593 | ||
3594 | ||
3595 | SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3596 | PyObject *resultobj = 0; | |
3597 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3598 | bool result; | |
3599 | void *argp1 = 0 ; | |
3600 | int res1 = 0 ; | |
3601 | PyObject *swig_obj[1] ; | |
3602 | ||
3603 | if (!args) SWIG_fail; | |
3604 | swig_obj[0] = args; | |
3605 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3606 | if (!SWIG_IsOK(res1)) { | |
3607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3608 | } | |
3609 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3610 | { | |
3611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3612 | result = (bool)((wxPaneInfo const *)arg1)->HasCaption(); | |
3613 | wxPyEndAllowThreads(__tstate); | |
3614 | if (PyErr_Occurred()) SWIG_fail; | |
3615 | } | |
3616 | { | |
3617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3618 | } | |
3619 | return resultobj; | |
3620 | fail: | |
3621 | return NULL; | |
3622 | } | |
3623 | ||
3624 | ||
3625 | SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3626 | PyObject *resultobj = 0; | |
3627 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3628 | bool result; | |
3629 | void *argp1 = 0 ; | |
3630 | int res1 = 0 ; | |
3631 | PyObject *swig_obj[1] ; | |
3632 | ||
3633 | if (!args) SWIG_fail; | |
3634 | swig_obj[0] = args; | |
3635 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3636 | if (!SWIG_IsOK(res1)) { | |
3637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3638 | } | |
3639 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3640 | { | |
3641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3642 | result = (bool)((wxPaneInfo const *)arg1)->HasGripper(); | |
3643 | wxPyEndAllowThreads(__tstate); | |
3644 | if (PyErr_Occurred()) SWIG_fail; | |
3645 | } | |
3646 | { | |
3647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3648 | } | |
3649 | return resultobj; | |
3650 | fail: | |
3651 | return NULL; | |
3652 | } | |
3653 | ||
3654 | ||
3655 | SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3656 | PyObject *resultobj = 0; | |
3657 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3658 | bool result; | |
3659 | void *argp1 = 0 ; | |
3660 | int res1 = 0 ; | |
3661 | PyObject *swig_obj[1] ; | |
3662 | ||
3663 | if (!args) SWIG_fail; | |
3664 | swig_obj[0] = args; | |
3665 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3666 | if (!SWIG_IsOK(res1)) { | |
3667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3668 | } | |
3669 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3670 | { | |
3671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3672 | result = (bool)((wxPaneInfo const *)arg1)->HasBorder(); | |
3673 | wxPyEndAllowThreads(__tstate); | |
3674 | if (PyErr_Occurred()) SWIG_fail; | |
3675 | } | |
3676 | { | |
3677 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3678 | } | |
3679 | return resultobj; | |
3680 | fail: | |
3681 | return NULL; | |
3682 | } | |
3683 | ||
3684 | ||
3685 | SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3686 | PyObject *resultobj = 0; | |
3687 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3688 | bool result; | |
3689 | void *argp1 = 0 ; | |
3690 | int res1 = 0 ; | |
3691 | PyObject *swig_obj[1] ; | |
3692 | ||
3693 | if (!args) SWIG_fail; | |
3694 | swig_obj[0] = args; | |
3695 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3696 | if (!SWIG_IsOK(res1)) { | |
3697 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3698 | } | |
3699 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3700 | { | |
3701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3702 | result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton(); | |
3703 | wxPyEndAllowThreads(__tstate); | |
3704 | if (PyErr_Occurred()) SWIG_fail; | |
3705 | } | |
3706 | { | |
3707 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3708 | } | |
3709 | return resultobj; | |
3710 | fail: | |
3711 | return NULL; | |
3712 | } | |
3713 | ||
3714 | ||
3715 | SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3716 | PyObject *resultobj = 0; | |
3717 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3718 | bool result; | |
3719 | void *argp1 = 0 ; | |
3720 | int res1 = 0 ; | |
3721 | PyObject *swig_obj[1] ; | |
3722 | ||
3723 | if (!args) SWIG_fail; | |
3724 | swig_obj[0] = args; | |
3725 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3726 | if (!SWIG_IsOK(res1)) { | |
3727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3728 | } | |
3729 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3730 | { | |
3731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3732 | result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton(); | |
3733 | wxPyEndAllowThreads(__tstate); | |
3734 | if (PyErr_Occurred()) SWIG_fail; | |
3735 | } | |
3736 | { | |
3737 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3738 | } | |
3739 | return resultobj; | |
3740 | fail: | |
3741 | return NULL; | |
3742 | } | |
3743 | ||
3744 | ||
3745 | SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3746 | PyObject *resultobj = 0; | |
3747 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3748 | bool result; | |
3749 | void *argp1 = 0 ; | |
3750 | int res1 = 0 ; | |
3751 | PyObject *swig_obj[1] ; | |
3752 | ||
3753 | if (!args) SWIG_fail; | |
3754 | swig_obj[0] = args; | |
3755 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3756 | if (!SWIG_IsOK(res1)) { | |
3757 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3758 | } | |
3759 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3760 | { | |
3761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3762 | result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton(); | |
3763 | wxPyEndAllowThreads(__tstate); | |
3764 | if (PyErr_Occurred()) SWIG_fail; | |
3765 | } | |
3766 | { | |
3767 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3768 | } | |
3769 | return resultobj; | |
3770 | fail: | |
3771 | return NULL; | |
3772 | } | |
3773 | ||
3774 | ||
3775 | SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3776 | PyObject *resultobj = 0; | |
3777 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3778 | bool result; | |
3779 | void *argp1 = 0 ; | |
3780 | int res1 = 0 ; | |
3781 | PyObject *swig_obj[1] ; | |
3782 | ||
3783 | if (!args) SWIG_fail; | |
3784 | swig_obj[0] = args; | |
3785 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3786 | if (!SWIG_IsOK(res1)) { | |
3787 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3788 | } | |
3789 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3790 | { | |
3791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3792 | result = (bool)((wxPaneInfo const *)arg1)->HasPinButton(); | |
3793 | wxPyEndAllowThreads(__tstate); | |
3794 | if (PyErr_Occurred()) SWIG_fail; | |
3795 | } | |
3796 | { | |
3797 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3798 | } | |
3799 | return resultobj; | |
3800 | fail: | |
3801 | return NULL; | |
3802 | } | |
3803 | ||
3804 | ||
3805 | SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3806 | PyObject *resultobj = 0; | |
3807 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3808 | bool result; | |
3809 | void *argp1 = 0 ; | |
3810 | int res1 = 0 ; | |
3811 | PyObject *swig_obj[1] ; | |
3812 | ||
3813 | if (!args) SWIG_fail; | |
3814 | swig_obj[0] = args; | |
3815 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3816 | if (!SWIG_IsOK(res1)) { | |
3817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3818 | } | |
3819 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3820 | { | |
3821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3822 | result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop(); | |
3823 | wxPyEndAllowThreads(__tstate); | |
3824 | if (PyErr_Occurred()) SWIG_fail; | |
3825 | } | |
3826 | { | |
3827 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3828 | } | |
3829 | return resultobj; | |
3830 | fail: | |
3831 | return NULL; | |
3832 | } | |
3833 | ||
3834 | ||
3835 | SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3836 | PyObject *resultobj = 0; | |
3837 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3838 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3839 | wxPaneInfo *result = 0 ; | |
3840 | void *argp1 = 0 ; | |
3841 | int res1 = 0 ; | |
3842 | void *argp2 = 0 ; | |
3843 | int res2 = 0 ; | |
3844 | PyObject * obj0 = 0 ; | |
3845 | PyObject * obj1 = 0 ; | |
3846 | char * kwnames[] = { | |
3847 | (char *) "self",(char *) "w", NULL | |
3848 | }; | |
3849 | ||
3850 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; | |
3851 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3852 | if (!SWIG_IsOK(res1)) { | |
3853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3854 | } | |
3855 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3856 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3857 | if (!SWIG_IsOK(res2)) { | |
3858 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
3859 | } | |
3860 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
3861 | { | |
3862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3863 | { | |
3864 | wxPaneInfo &_result_ref = (arg1)->Window(arg2); | |
3865 | result = (wxPaneInfo *) &_result_ref; | |
3866 | } | |
3867 | wxPyEndAllowThreads(__tstate); | |
3868 | if (PyErr_Occurred()) SWIG_fail; | |
3869 | } | |
3870 | { | |
3871 | resultobj = obj0; Py_INCREF(resultobj); | |
3872 | } | |
3873 | return resultobj; | |
3874 | fail: | |
3875 | return NULL; | |
3876 | } | |
3877 | ||
3878 | ||
3879 | SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3880 | PyObject *resultobj = 0; | |
3881 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3882 | wxString *arg2 = 0 ; | |
3883 | wxPaneInfo *result = 0 ; | |
3884 | void *argp1 = 0 ; | |
3885 | int res1 = 0 ; | |
3886 | bool temp2 = false ; | |
3887 | PyObject * obj0 = 0 ; | |
3888 | PyObject * obj1 = 0 ; | |
3889 | char * kwnames[] = { | |
3890 | (char *) "self",(char *) "n", NULL | |
3891 | }; | |
3892 | ||
3893 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; | |
3894 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3895 | if (!SWIG_IsOK(res1)) { | |
3896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3897 | } | |
3898 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3899 | { | |
3900 | arg2 = wxString_in_helper(obj1); | |
3901 | if (arg2 == NULL) SWIG_fail; | |
3902 | temp2 = true; | |
3903 | } | |
3904 | { | |
3905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3906 | { | |
3907 | wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); | |
3908 | result = (wxPaneInfo *) &_result_ref; | |
3909 | } | |
3910 | wxPyEndAllowThreads(__tstate); | |
3911 | if (PyErr_Occurred()) SWIG_fail; | |
3912 | } | |
3913 | { | |
3914 | resultobj = obj0; Py_INCREF(resultobj); | |
3915 | } | |
3916 | { | |
3917 | if (temp2) | |
3918 | delete arg2; | |
3919 | } | |
3920 | return resultobj; | |
3921 | fail: | |
3922 | { | |
3923 | if (temp2) | |
3924 | delete arg2; | |
3925 | } | |
3926 | return NULL; | |
3927 | } | |
3928 | ||
3929 | ||
3930 | SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3931 | PyObject *resultobj = 0; | |
3932 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3933 | wxString *arg2 = 0 ; | |
3934 | wxPaneInfo *result = 0 ; | |
3935 | void *argp1 = 0 ; | |
3936 | int res1 = 0 ; | |
3937 | bool temp2 = false ; | |
3938 | PyObject * obj0 = 0 ; | |
3939 | PyObject * obj1 = 0 ; | |
3940 | char * kwnames[] = { | |
3941 | (char *) "self",(char *) "c", NULL | |
3942 | }; | |
3943 | ||
3944 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; | |
3945 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3946 | if (!SWIG_IsOK(res1)) { | |
3947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3948 | } | |
3949 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3950 | { | |
3951 | arg2 = wxString_in_helper(obj1); | |
3952 | if (arg2 == NULL) SWIG_fail; | |
3953 | temp2 = true; | |
3954 | } | |
3955 | { | |
3956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3957 | { | |
3958 | wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); | |
3959 | result = (wxPaneInfo *) &_result_ref; | |
3960 | } | |
3961 | wxPyEndAllowThreads(__tstate); | |
3962 | if (PyErr_Occurred()) SWIG_fail; | |
3963 | } | |
3964 | { | |
3965 | resultobj = obj0; Py_INCREF(resultobj); | |
3966 | } | |
3967 | { | |
3968 | if (temp2) | |
3969 | delete arg2; | |
3970 | } | |
3971 | return resultobj; | |
3972 | fail: | |
3973 | { | |
3974 | if (temp2) | |
3975 | delete arg2; | |
3976 | } | |
3977 | return NULL; | |
3978 | } | |
3979 | ||
3980 | ||
3981 | SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3982 | PyObject *resultobj = 0; | |
3983 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3984 | wxPaneInfo *result = 0 ; | |
3985 | void *argp1 = 0 ; | |
3986 | int res1 = 0 ; | |
3987 | PyObject *swig_obj[1] ; | |
3988 | ||
3989 | if (!args) SWIG_fail; | |
3990 | swig_obj[0] = args; | |
3991 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3992 | if (!SWIG_IsOK(res1)) { | |
3993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3994 | } | |
3995 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3996 | { | |
3997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3998 | { | |
3999 | wxPaneInfo &_result_ref = (arg1)->Left(); | |
4000 | result = (wxPaneInfo *) &_result_ref; | |
4001 | } | |
4002 | wxPyEndAllowThreads(__tstate); | |
4003 | if (PyErr_Occurred()) SWIG_fail; | |
4004 | } | |
4005 | { | |
4006 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4007 | } | |
4008 | return resultobj; | |
4009 | fail: | |
4010 | return NULL; | |
4011 | } | |
4012 | ||
4013 | ||
4014 | SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4015 | PyObject *resultobj = 0; | |
4016 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4017 | wxPaneInfo *result = 0 ; | |
4018 | void *argp1 = 0 ; | |
4019 | int res1 = 0 ; | |
4020 | PyObject *swig_obj[1] ; | |
4021 | ||
4022 | if (!args) SWIG_fail; | |
4023 | swig_obj[0] = args; | |
4024 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4025 | if (!SWIG_IsOK(res1)) { | |
4026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4027 | } | |
4028 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4029 | { | |
4030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4031 | { | |
4032 | wxPaneInfo &_result_ref = (arg1)->Right(); | |
4033 | result = (wxPaneInfo *) &_result_ref; | |
4034 | } | |
4035 | wxPyEndAllowThreads(__tstate); | |
4036 | if (PyErr_Occurred()) SWIG_fail; | |
4037 | } | |
4038 | { | |
4039 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4040 | } | |
4041 | return resultobj; | |
4042 | fail: | |
4043 | return NULL; | |
4044 | } | |
4045 | ||
4046 | ||
4047 | SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4048 | PyObject *resultobj = 0; | |
4049 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4050 | wxPaneInfo *result = 0 ; | |
4051 | void *argp1 = 0 ; | |
4052 | int res1 = 0 ; | |
4053 | PyObject *swig_obj[1] ; | |
4054 | ||
4055 | if (!args) SWIG_fail; | |
4056 | swig_obj[0] = args; | |
4057 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4058 | if (!SWIG_IsOK(res1)) { | |
4059 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4060 | } | |
4061 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4062 | { | |
4063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4064 | { | |
4065 | wxPaneInfo &_result_ref = (arg1)->Top(); | |
4066 | result = (wxPaneInfo *) &_result_ref; | |
4067 | } | |
4068 | wxPyEndAllowThreads(__tstate); | |
4069 | if (PyErr_Occurred()) SWIG_fail; | |
4070 | } | |
4071 | { | |
4072 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4073 | } | |
4074 | return resultobj; | |
4075 | fail: | |
4076 | return NULL; | |
4077 | } | |
4078 | ||
4079 | ||
4080 | SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4081 | PyObject *resultobj = 0; | |
4082 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4083 | wxPaneInfo *result = 0 ; | |
4084 | void *argp1 = 0 ; | |
4085 | int res1 = 0 ; | |
4086 | PyObject *swig_obj[1] ; | |
4087 | ||
4088 | if (!args) SWIG_fail; | |
4089 | swig_obj[0] = args; | |
4090 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4091 | if (!SWIG_IsOK(res1)) { | |
4092 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4093 | } | |
4094 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4095 | { | |
4096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4097 | { | |
4098 | wxPaneInfo &_result_ref = (arg1)->Bottom(); | |
4099 | result = (wxPaneInfo *) &_result_ref; | |
4100 | } | |
4101 | wxPyEndAllowThreads(__tstate); | |
4102 | if (PyErr_Occurred()) SWIG_fail; | |
4103 | } | |
4104 | { | |
4105 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4106 | } | |
4107 | return resultobj; | |
4108 | fail: | |
4109 | return NULL; | |
4110 | } | |
4111 | ||
4112 | ||
4113 | SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4114 | PyObject *resultobj = 0; | |
4115 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4116 | wxPaneInfo *result = 0 ; | |
4117 | void *argp1 = 0 ; | |
4118 | int res1 = 0 ; | |
4119 | PyObject *swig_obj[1] ; | |
4120 | ||
4121 | if (!args) SWIG_fail; | |
4122 | swig_obj[0] = args; | |
4123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4124 | if (!SWIG_IsOK(res1)) { | |
4125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4126 | } | |
4127 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4128 | { | |
4129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4130 | { | |
4131 | wxPaneInfo &_result_ref = (arg1)->Center(); | |
4132 | result = (wxPaneInfo *) &_result_ref; | |
4133 | } | |
4134 | wxPyEndAllowThreads(__tstate); | |
4135 | if (PyErr_Occurred()) SWIG_fail; | |
4136 | } | |
4137 | { | |
4138 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4139 | } | |
4140 | return resultobj; | |
4141 | fail: | |
4142 | return NULL; | |
4143 | } | |
4144 | ||
4145 | ||
4146 | SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4147 | PyObject *resultobj = 0; | |
4148 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4149 | wxPaneInfo *result = 0 ; | |
4150 | void *argp1 = 0 ; | |
4151 | int res1 = 0 ; | |
4152 | PyObject *swig_obj[1] ; | |
4153 | ||
4154 | if (!args) SWIG_fail; | |
4155 | swig_obj[0] = args; | |
4156 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4157 | if (!SWIG_IsOK(res1)) { | |
4158 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4159 | } | |
4160 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4161 | { | |
4162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4163 | { | |
4164 | wxPaneInfo &_result_ref = (arg1)->Centre(); | |
4165 | result = (wxPaneInfo *) &_result_ref; | |
4166 | } | |
4167 | wxPyEndAllowThreads(__tstate); | |
4168 | if (PyErr_Occurred()) SWIG_fail; | |
4169 | } | |
4170 | { | |
4171 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4172 | } | |
4173 | return resultobj; | |
4174 | fail: | |
4175 | return NULL; | |
4176 | } | |
4177 | ||
4178 | ||
4179 | SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4180 | PyObject *resultobj = 0; | |
4181 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4182 | int arg2 ; | |
4183 | wxPaneInfo *result = 0 ; | |
4184 | void *argp1 = 0 ; | |
4185 | int res1 = 0 ; | |
4186 | int val2 ; | |
4187 | int ecode2 = 0 ; | |
4188 | PyObject * obj0 = 0 ; | |
4189 | PyObject * obj1 = 0 ; | |
4190 | char * kwnames[] = { | |
4191 | (char *) "self",(char *) "direction", NULL | |
4192 | }; | |
4193 | ||
4194 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; | |
4195 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4196 | if (!SWIG_IsOK(res1)) { | |
4197 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4198 | } | |
4199 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4200 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4201 | if (!SWIG_IsOK(ecode2)) { | |
4202 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); | |
4203 | } | |
4204 | arg2 = static_cast< int >(val2); | |
4205 | { | |
4206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4207 | { | |
4208 | wxPaneInfo &_result_ref = (arg1)->Direction(arg2); | |
4209 | result = (wxPaneInfo *) &_result_ref; | |
4210 | } | |
4211 | wxPyEndAllowThreads(__tstate); | |
4212 | if (PyErr_Occurred()) SWIG_fail; | |
4213 | } | |
4214 | { | |
4215 | resultobj = obj0; Py_INCREF(resultobj); | |
4216 | } | |
4217 | return resultobj; | |
4218 | fail: | |
4219 | return NULL; | |
4220 | } | |
4221 | ||
4222 | ||
4223 | SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4224 | PyObject *resultobj = 0; | |
4225 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4226 | int arg2 ; | |
4227 | wxPaneInfo *result = 0 ; | |
4228 | void *argp1 = 0 ; | |
4229 | int res1 = 0 ; | |
4230 | int val2 ; | |
4231 | int ecode2 = 0 ; | |
4232 | PyObject * obj0 = 0 ; | |
4233 | PyObject * obj1 = 0 ; | |
4234 | char * kwnames[] = { | |
4235 | (char *) "self",(char *) "layer", NULL | |
4236 | }; | |
4237 | ||
4238 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4239 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4240 | if (!SWIG_IsOK(res1)) { | |
4241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4242 | } | |
4243 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4244 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4245 | if (!SWIG_IsOK(ecode2)) { | |
4246 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); | |
4247 | } | |
4248 | arg2 = static_cast< int >(val2); | |
4249 | { | |
4250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4251 | { | |
4252 | wxPaneInfo &_result_ref = (arg1)->Layer(arg2); | |
4253 | result = (wxPaneInfo *) &_result_ref; | |
4254 | } | |
4255 | wxPyEndAllowThreads(__tstate); | |
4256 | if (PyErr_Occurred()) SWIG_fail; | |
4257 | } | |
4258 | { | |
4259 | resultobj = obj0; Py_INCREF(resultobj); | |
4260 | } | |
4261 | return resultobj; | |
4262 | fail: | |
4263 | return NULL; | |
4264 | } | |
4265 | ||
4266 | ||
4267 | SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4268 | PyObject *resultobj = 0; | |
4269 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4270 | int arg2 ; | |
4271 | wxPaneInfo *result = 0 ; | |
4272 | void *argp1 = 0 ; | |
4273 | int res1 = 0 ; | |
4274 | int val2 ; | |
4275 | int ecode2 = 0 ; | |
4276 | PyObject * obj0 = 0 ; | |
4277 | PyObject * obj1 = 0 ; | |
4278 | char * kwnames[] = { | |
4279 | (char *) "self",(char *) "row", NULL | |
4280 | }; | |
4281 | ||
4282 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; | |
4283 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4284 | if (!SWIG_IsOK(res1)) { | |
4285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4286 | } | |
4287 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4288 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4289 | if (!SWIG_IsOK(ecode2)) { | |
4290 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); | |
4291 | } | |
4292 | arg2 = static_cast< int >(val2); | |
4293 | { | |
4294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4295 | { | |
4296 | wxPaneInfo &_result_ref = (arg1)->Row(arg2); | |
4297 | result = (wxPaneInfo *) &_result_ref; | |
4298 | } | |
4299 | wxPyEndAllowThreads(__tstate); | |
4300 | if (PyErr_Occurred()) SWIG_fail; | |
4301 | } | |
4302 | { | |
4303 | resultobj = obj0; Py_INCREF(resultobj); | |
4304 | } | |
4305 | return resultobj; | |
4306 | fail: | |
4307 | return NULL; | |
4308 | } | |
4309 | ||
4310 | ||
4311 | SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4312 | PyObject *resultobj = 0; | |
4313 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4314 | int arg2 ; | |
4315 | wxPaneInfo *result = 0 ; | |
4316 | void *argp1 = 0 ; | |
4317 | int res1 = 0 ; | |
4318 | int val2 ; | |
4319 | int ecode2 = 0 ; | |
4320 | PyObject * obj0 = 0 ; | |
4321 | PyObject * obj1 = 0 ; | |
4322 | char * kwnames[] = { | |
4323 | (char *) "self",(char *) "pos", NULL | |
4324 | }; | |
4325 | ||
4326 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; | |
4327 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4328 | if (!SWIG_IsOK(res1)) { | |
4329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4330 | } | |
4331 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4332 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4333 | if (!SWIG_IsOK(ecode2)) { | |
4334 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); | |
4335 | } | |
4336 | arg2 = static_cast< int >(val2); | |
4337 | { | |
4338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4339 | { | |
4340 | wxPaneInfo &_result_ref = (arg1)->Position(arg2); | |
4341 | result = (wxPaneInfo *) &_result_ref; | |
4342 | } | |
4343 | wxPyEndAllowThreads(__tstate); | |
4344 | if (PyErr_Occurred()) SWIG_fail; | |
4345 | } | |
4346 | { | |
4347 | resultobj = obj0; Py_INCREF(resultobj); | |
4348 | } | |
4349 | return resultobj; | |
4350 | fail: | |
4351 | return NULL; | |
4352 | } | |
4353 | ||
4354 | ||
4355 | SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4356 | PyObject *resultobj = 0; | |
4357 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4358 | wxSize *arg2 = 0 ; | |
4359 | wxPaneInfo *result = 0 ; | |
4360 | void *argp1 = 0 ; | |
4361 | int res1 = 0 ; | |
4362 | wxSize temp2 ; | |
4363 | PyObject * obj0 = 0 ; | |
4364 | PyObject * obj1 = 0 ; | |
4365 | char * kwnames[] = { | |
4366 | (char *) "self",(char *) "size", NULL | |
4367 | }; | |
4368 | ||
4369 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4370 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4371 | if (!SWIG_IsOK(res1)) { | |
4372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4373 | } | |
4374 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4375 | { | |
4376 | arg2 = &temp2; | |
4377 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4378 | } | |
4379 | { | |
4380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4381 | { | |
4382 | wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); | |
4383 | result = (wxPaneInfo *) &_result_ref; | |
4384 | } | |
4385 | wxPyEndAllowThreads(__tstate); | |
4386 | if (PyErr_Occurred()) SWIG_fail; | |
4387 | } | |
4388 | { | |
4389 | resultobj = obj0; Py_INCREF(resultobj); | |
4390 | } | |
4391 | return resultobj; | |
4392 | fail: | |
4393 | return NULL; | |
4394 | } | |
4395 | ||
4396 | ||
4397 | SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4398 | PyObject *resultobj = 0; | |
4399 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4400 | wxSize *arg2 = 0 ; | |
4401 | wxPaneInfo *result = 0 ; | |
4402 | void *argp1 = 0 ; | |
4403 | int res1 = 0 ; | |
4404 | wxSize temp2 ; | |
4405 | PyObject * obj0 = 0 ; | |
4406 | PyObject * obj1 = 0 ; | |
4407 | char * kwnames[] = { | |
4408 | (char *) "self",(char *) "size", NULL | |
4409 | }; | |
4410 | ||
4411 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4412 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4413 | if (!SWIG_IsOK(res1)) { | |
4414 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4415 | } | |
4416 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4417 | { | |
4418 | arg2 = &temp2; | |
4419 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4420 | } | |
4421 | { | |
4422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4423 | { | |
4424 | wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); | |
4425 | result = (wxPaneInfo *) &_result_ref; | |
4426 | } | |
4427 | wxPyEndAllowThreads(__tstate); | |
4428 | if (PyErr_Occurred()) SWIG_fail; | |
4429 | } | |
4430 | { | |
4431 | resultobj = obj0; Py_INCREF(resultobj); | |
4432 | } | |
4433 | return resultobj; | |
4434 | fail: | |
4435 | return NULL; | |
4436 | } | |
4437 | ||
4438 | ||
4439 | SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4440 | PyObject *resultobj = 0; | |
4441 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4442 | wxSize *arg2 = 0 ; | |
4443 | wxPaneInfo *result = 0 ; | |
4444 | void *argp1 = 0 ; | |
4445 | int res1 = 0 ; | |
4446 | wxSize temp2 ; | |
4447 | PyObject * obj0 = 0 ; | |
4448 | PyObject * obj1 = 0 ; | |
4449 | char * kwnames[] = { | |
4450 | (char *) "self",(char *) "size", NULL | |
4451 | }; | |
4452 | ||
4453 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4454 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4455 | if (!SWIG_IsOK(res1)) { | |
4456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4457 | } | |
4458 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4459 | { | |
4460 | arg2 = &temp2; | |
4461 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4462 | } | |
4463 | { | |
4464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4465 | { | |
4466 | wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); | |
4467 | result = (wxPaneInfo *) &_result_ref; | |
4468 | } | |
4469 | wxPyEndAllowThreads(__tstate); | |
4470 | if (PyErr_Occurred()) SWIG_fail; | |
4471 | } | |
4472 | { | |
4473 | resultobj = obj0; Py_INCREF(resultobj); | |
4474 | } | |
4475 | return resultobj; | |
4476 | fail: | |
4477 | return NULL; | |
4478 | } | |
4479 | ||
4480 | ||
4481 | SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4482 | PyObject *resultobj = 0; | |
4483 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4484 | wxPoint *arg2 = 0 ; | |
4485 | wxPaneInfo *result = 0 ; | |
4486 | void *argp1 = 0 ; | |
4487 | int res1 = 0 ; | |
4488 | wxPoint temp2 ; | |
4489 | PyObject * obj0 = 0 ; | |
4490 | PyObject * obj1 = 0 ; | |
4491 | char * kwnames[] = { | |
4492 | (char *) "self",(char *) "pos", NULL | |
4493 | }; | |
4494 | ||
4495 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; | |
4496 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4497 | if (!SWIG_IsOK(res1)) { | |
4498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4499 | } | |
4500 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4501 | { | |
4502 | arg2 = &temp2; | |
4503 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4504 | } | |
4505 | { | |
4506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4507 | { | |
4508 | wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); | |
4509 | result = (wxPaneInfo *) &_result_ref; | |
4510 | } | |
4511 | wxPyEndAllowThreads(__tstate); | |
4512 | if (PyErr_Occurred()) SWIG_fail; | |
4513 | } | |
4514 | { | |
4515 | resultobj = obj0; Py_INCREF(resultobj); | |
4516 | } | |
4517 | return resultobj; | |
4518 | fail: | |
4519 | return NULL; | |
4520 | } | |
4521 | ||
4522 | ||
4523 | SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4524 | PyObject *resultobj = 0; | |
4525 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4526 | wxSize *arg2 = 0 ; | |
4527 | wxPaneInfo *result = 0 ; | |
4528 | void *argp1 = 0 ; | |
4529 | int res1 = 0 ; | |
4530 | wxSize temp2 ; | |
4531 | PyObject * obj0 = 0 ; | |
4532 | PyObject * obj1 = 0 ; | |
4533 | char * kwnames[] = { | |
4534 | (char *) "self",(char *) "size", NULL | |
4535 | }; | |
4536 | ||
4537 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4538 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4539 | if (!SWIG_IsOK(res1)) { | |
4540 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4541 | } | |
4542 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4543 | { | |
4544 | arg2 = &temp2; | |
4545 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4546 | } | |
4547 | { | |
4548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4549 | { | |
4550 | wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); | |
4551 | result = (wxPaneInfo *) &_result_ref; | |
4552 | } | |
4553 | wxPyEndAllowThreads(__tstate); | |
4554 | if (PyErr_Occurred()) SWIG_fail; | |
4555 | } | |
4556 | { | |
4557 | resultobj = obj0; Py_INCREF(resultobj); | |
4558 | } | |
4559 | return resultobj; | |
4560 | fail: | |
4561 | return NULL; | |
4562 | } | |
4563 | ||
4564 | ||
4565 | SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4566 | PyObject *resultobj = 0; | |
4567 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4568 | wxPaneInfo *result = 0 ; | |
4569 | void *argp1 = 0 ; | |
4570 | int res1 = 0 ; | |
4571 | PyObject *swig_obj[1] ; | |
4572 | ||
4573 | if (!args) SWIG_fail; | |
4574 | swig_obj[0] = args; | |
4575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4576 | if (!SWIG_IsOK(res1)) { | |
4577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4578 | } | |
4579 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4580 | { | |
4581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4582 | { | |
4583 | wxPaneInfo &_result_ref = (arg1)->Fixed(); | |
4584 | result = (wxPaneInfo *) &_result_ref; | |
4585 | } | |
4586 | wxPyEndAllowThreads(__tstate); | |
4587 | if (PyErr_Occurred()) SWIG_fail; | |
4588 | } | |
4589 | { | |
4590 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4591 | } | |
4592 | return resultobj; | |
4593 | fail: | |
4594 | return NULL; | |
4595 | } | |
4596 | ||
4597 | ||
4598 | SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4599 | PyObject *resultobj = 0; | |
4600 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4601 | bool arg2 = (bool) true ; | |
4602 | wxPaneInfo *result = 0 ; | |
4603 | void *argp1 = 0 ; | |
4604 | int res1 = 0 ; | |
4605 | bool val2 ; | |
4606 | int ecode2 = 0 ; | |
4607 | PyObject * obj0 = 0 ; | |
4608 | PyObject * obj1 = 0 ; | |
4609 | char * kwnames[] = { | |
4610 | (char *) "self",(char *) "resizable", NULL | |
4611 | }; | |
4612 | ||
4613 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; | |
4614 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4615 | if (!SWIG_IsOK(res1)) { | |
4616 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4617 | } | |
4618 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4619 | if (obj1) { | |
4620 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4621 | if (!SWIG_IsOK(ecode2)) { | |
4622 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); | |
4623 | } | |
4624 | arg2 = static_cast< bool >(val2); | |
4625 | } | |
4626 | { | |
4627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4628 | { | |
4629 | wxPaneInfo &_result_ref = (arg1)->Resizable(arg2); | |
4630 | result = (wxPaneInfo *) &_result_ref; | |
4631 | } | |
4632 | wxPyEndAllowThreads(__tstate); | |
4633 | if (PyErr_Occurred()) SWIG_fail; | |
4634 | } | |
4635 | { | |
4636 | resultobj = obj0; Py_INCREF(resultobj); | |
4637 | } | |
4638 | return resultobj; | |
4639 | fail: | |
4640 | return NULL; | |
4641 | } | |
4642 | ||
4643 | ||
4644 | SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4645 | PyObject *resultobj = 0; | |
4646 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4647 | wxPaneInfo *result = 0 ; | |
4648 | void *argp1 = 0 ; | |
4649 | int res1 = 0 ; | |
4650 | PyObject *swig_obj[1] ; | |
4651 | ||
4652 | if (!args) SWIG_fail; | |
4653 | swig_obj[0] = args; | |
4654 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4655 | if (!SWIG_IsOK(res1)) { | |
4656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4657 | } | |
4658 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4659 | { | |
4660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4661 | { | |
4662 | wxPaneInfo &_result_ref = (arg1)->Dock(); | |
4663 | result = (wxPaneInfo *) &_result_ref; | |
4664 | } | |
4665 | wxPyEndAllowThreads(__tstate); | |
4666 | if (PyErr_Occurred()) SWIG_fail; | |
4667 | } | |
4668 | { | |
4669 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4670 | } | |
4671 | return resultobj; | |
4672 | fail: | |
4673 | return NULL; | |
4674 | } | |
4675 | ||
4676 | ||
4677 | SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4678 | PyObject *resultobj = 0; | |
4679 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4680 | wxPaneInfo *result = 0 ; | |
4681 | void *argp1 = 0 ; | |
4682 | int res1 = 0 ; | |
4683 | PyObject *swig_obj[1] ; | |
4684 | ||
4685 | if (!args) SWIG_fail; | |
4686 | swig_obj[0] = args; | |
4687 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4688 | if (!SWIG_IsOK(res1)) { | |
4689 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4690 | } | |
4691 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4692 | { | |
4693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4694 | { | |
4695 | wxPaneInfo &_result_ref = (arg1)->Float(); | |
4696 | result = (wxPaneInfo *) &_result_ref; | |
4697 | } | |
4698 | wxPyEndAllowThreads(__tstate); | |
4699 | if (PyErr_Occurred()) SWIG_fail; | |
4700 | } | |
4701 | { | |
4702 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4703 | } | |
4704 | return resultobj; | |
4705 | fail: | |
4706 | return NULL; | |
4707 | } | |
4708 | ||
4709 | ||
4710 | SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4711 | PyObject *resultobj = 0; | |
4712 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4713 | wxPaneInfo *result = 0 ; | |
4714 | void *argp1 = 0 ; | |
4715 | int res1 = 0 ; | |
4716 | PyObject *swig_obj[1] ; | |
4717 | ||
4718 | if (!args) SWIG_fail; | |
4719 | swig_obj[0] = args; | |
4720 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4721 | if (!SWIG_IsOK(res1)) { | |
4722 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4723 | } | |
4724 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4725 | { | |
4726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4727 | { | |
4728 | wxPaneInfo &_result_ref = (arg1)->Hide(); | |
4729 | result = (wxPaneInfo *) &_result_ref; | |
4730 | } | |
4731 | wxPyEndAllowThreads(__tstate); | |
4732 | if (PyErr_Occurred()) SWIG_fail; | |
4733 | } | |
4734 | { | |
4735 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4736 | } | |
4737 | return resultobj; | |
4738 | fail: | |
4739 | return NULL; | |
4740 | } | |
4741 | ||
4742 | ||
4743 | SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4744 | PyObject *resultobj = 0; | |
4745 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4746 | bool arg2 = (bool) true ; | |
4747 | wxPaneInfo *result = 0 ; | |
4748 | void *argp1 = 0 ; | |
4749 | int res1 = 0 ; | |
4750 | bool val2 ; | |
4751 | int ecode2 = 0 ; | |
4752 | PyObject * obj0 = 0 ; | |
4753 | PyObject * obj1 = 0 ; | |
4754 | char * kwnames[] = { | |
4755 | (char *) "self",(char *) "show", NULL | |
4756 | }; | |
4757 | ||
4758 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; | |
4759 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4760 | if (!SWIG_IsOK(res1)) { | |
4761 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4762 | } | |
4763 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4764 | if (obj1) { | |
4765 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4766 | if (!SWIG_IsOK(ecode2)) { | |
4767 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); | |
4768 | } | |
4769 | arg2 = static_cast< bool >(val2); | |
4770 | } | |
4771 | { | |
4772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4773 | { | |
4774 | wxPaneInfo &_result_ref = (arg1)->Show(arg2); | |
4775 | result = (wxPaneInfo *) &_result_ref; | |
4776 | } | |
4777 | wxPyEndAllowThreads(__tstate); | |
4778 | if (PyErr_Occurred()) SWIG_fail; | |
4779 | } | |
4780 | { | |
4781 | resultobj = obj0; Py_INCREF(resultobj); | |
4782 | } | |
4783 | return resultobj; | |
4784 | fail: | |
4785 | return NULL; | |
4786 | } | |
4787 | ||
4788 | ||
4789 | SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4790 | PyObject *resultobj = 0; | |
4791 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4792 | bool arg2 = (bool) true ; | |
4793 | wxPaneInfo *result = 0 ; | |
4794 | void *argp1 = 0 ; | |
4795 | int res1 = 0 ; | |
4796 | bool val2 ; | |
4797 | int ecode2 = 0 ; | |
4798 | PyObject * obj0 = 0 ; | |
4799 | PyObject * obj1 = 0 ; | |
4800 | char * kwnames[] = { | |
4801 | (char *) "self",(char *) "visible", NULL | |
4802 | }; | |
4803 | ||
4804 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; | |
4805 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4806 | if (!SWIG_IsOK(res1)) { | |
4807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4808 | } | |
4809 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4810 | if (obj1) { | |
4811 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4812 | if (!SWIG_IsOK(ecode2)) { | |
4813 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); | |
4814 | } | |
4815 | arg2 = static_cast< bool >(val2); | |
4816 | } | |
4817 | { | |
4818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4819 | { | |
4820 | wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); | |
4821 | result = (wxPaneInfo *) &_result_ref; | |
4822 | } | |
4823 | wxPyEndAllowThreads(__tstate); | |
4824 | if (PyErr_Occurred()) SWIG_fail; | |
4825 | } | |
4826 | { | |
4827 | resultobj = obj0; Py_INCREF(resultobj); | |
4828 | } | |
4829 | return resultobj; | |
4830 | fail: | |
4831 | return NULL; | |
4832 | } | |
4833 | ||
4834 | ||
4835 | SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4836 | PyObject *resultobj = 0; | |
4837 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4838 | bool arg2 = (bool) true ; | |
4839 | wxPaneInfo *result = 0 ; | |
4840 | void *argp1 = 0 ; | |
4841 | int res1 = 0 ; | |
4842 | bool val2 ; | |
4843 | int ecode2 = 0 ; | |
4844 | PyObject * obj0 = 0 ; | |
4845 | PyObject * obj1 = 0 ; | |
4846 | char * kwnames[] = { | |
4847 | (char *) "self",(char *) "visible", NULL | |
4848 | }; | |
4849 | ||
4850 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; | |
4851 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4852 | if (!SWIG_IsOK(res1)) { | |
4853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4854 | } | |
4855 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4856 | if (obj1) { | |
4857 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4858 | if (!SWIG_IsOK(ecode2)) { | |
4859 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); | |
4860 | } | |
4861 | arg2 = static_cast< bool >(val2); | |
4862 | } | |
4863 | { | |
4864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4865 | { | |
4866 | wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); | |
4867 | result = (wxPaneInfo *) &_result_ref; | |
4868 | } | |
4869 | wxPyEndAllowThreads(__tstate); | |
4870 | if (PyErr_Occurred()) SWIG_fail; | |
4871 | } | |
4872 | { | |
4873 | resultobj = obj0; Py_INCREF(resultobj); | |
4874 | } | |
4875 | return resultobj; | |
4876 | fail: | |
4877 | return NULL; | |
4878 | } | |
4879 | ||
4880 | ||
4881 | SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4882 | PyObject *resultobj = 0; | |
4883 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4884 | bool arg2 = (bool) true ; | |
4885 | wxPaneInfo *result = 0 ; | |
4886 | void *argp1 = 0 ; | |
4887 | int res1 = 0 ; | |
4888 | bool val2 ; | |
4889 | int ecode2 = 0 ; | |
4890 | PyObject * obj0 = 0 ; | |
4891 | PyObject * obj1 = 0 ; | |
4892 | char * kwnames[] = { | |
4893 | (char *) "self",(char *) "visible", NULL | |
4894 | }; | |
4895 | ||
4896 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; | |
4897 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4898 | if (!SWIG_IsOK(res1)) { | |
4899 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4900 | } | |
4901 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4902 | if (obj1) { | |
4903 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4904 | if (!SWIG_IsOK(ecode2)) { | |
4905 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); | |
4906 | } | |
4907 | arg2 = static_cast< bool >(val2); | |
4908 | } | |
4909 | { | |
4910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4911 | { | |
4912 | wxPaneInfo &_result_ref = (arg1)->Gripper(arg2); | |
4913 | result = (wxPaneInfo *) &_result_ref; | |
4914 | } | |
4915 | wxPyEndAllowThreads(__tstate); | |
4916 | if (PyErr_Occurred()) SWIG_fail; | |
4917 | } | |
4918 | { | |
4919 | resultobj = obj0; Py_INCREF(resultobj); | |
4920 | } | |
4921 | return resultobj; | |
4922 | fail: | |
4923 | return NULL; | |
4924 | } | |
4925 | ||
4926 | ||
4927 | SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4928 | PyObject *resultobj = 0; | |
4929 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4930 | bool arg2 = (bool) true ; | |
4931 | wxPaneInfo *result = 0 ; | |
4932 | void *argp1 = 0 ; | |
4933 | int res1 = 0 ; | |
4934 | bool val2 ; | |
4935 | int ecode2 = 0 ; | |
4936 | PyObject * obj0 = 0 ; | |
4937 | PyObject * obj1 = 0 ; | |
4938 | char * kwnames[] = { | |
4939 | (char *) "self",(char *) "attop", NULL | |
4940 | }; | |
4941 | ||
4942 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; | |
4943 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4944 | if (!SWIG_IsOK(res1)) { | |
4945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4946 | } | |
4947 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4948 | if (obj1) { | |
4949 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4950 | if (!SWIG_IsOK(ecode2)) { | |
4951 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); | |
4952 | } | |
4953 | arg2 = static_cast< bool >(val2); | |
4954 | } | |
4955 | { | |
4956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4957 | { | |
4958 | wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2); | |
4959 | result = (wxPaneInfo *) &_result_ref; | |
4960 | } | |
4961 | wxPyEndAllowThreads(__tstate); | |
4962 | if (PyErr_Occurred()) SWIG_fail; | |
4963 | } | |
4964 | { | |
4965 | resultobj = obj0; Py_INCREF(resultobj); | |
4966 | } | |
4967 | return resultobj; | |
4968 | fail: | |
4969 | return NULL; | |
4970 | } | |
4971 | ||
4972 | ||
4973 | SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4974 | PyObject *resultobj = 0; | |
4975 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4976 | bool arg2 = (bool) true ; | |
4977 | wxPaneInfo *result = 0 ; | |
4978 | void *argp1 = 0 ; | |
4979 | int res1 = 0 ; | |
4980 | bool val2 ; | |
4981 | int ecode2 = 0 ; | |
4982 | PyObject * obj0 = 0 ; | |
4983 | PyObject * obj1 = 0 ; | |
4984 | char * kwnames[] = { | |
4985 | (char *) "self",(char *) "visible", NULL | |
4986 | }; | |
4987 | ||
4988 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
4989 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4990 | if (!SWIG_IsOK(res1)) { | |
4991 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4992 | } | |
4993 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4994 | if (obj1) { | |
4995 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4996 | if (!SWIG_IsOK(ecode2)) { | |
4997 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); | |
4998 | } | |
4999 | arg2 = static_cast< bool >(val2); | |
5000 | } | |
5001 | { | |
5002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5003 | { | |
5004 | wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2); | |
5005 | result = (wxPaneInfo *) &_result_ref; | |
5006 | } | |
5007 | wxPyEndAllowThreads(__tstate); | |
5008 | if (PyErr_Occurred()) SWIG_fail; | |
5009 | } | |
5010 | { | |
5011 | resultobj = obj0; Py_INCREF(resultobj); | |
5012 | } | |
5013 | return resultobj; | |
5014 | fail: | |
5015 | return NULL; | |
5016 | } | |
5017 | ||
5018 | ||
5019 | SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5020 | PyObject *resultobj = 0; | |
5021 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5022 | bool arg2 = (bool) true ; | |
5023 | wxPaneInfo *result = 0 ; | |
5024 | void *argp1 = 0 ; | |
5025 | int res1 = 0 ; | |
5026 | bool val2 ; | |
5027 | int ecode2 = 0 ; | |
5028 | PyObject * obj0 = 0 ; | |
5029 | PyObject * obj1 = 0 ; | |
5030 | char * kwnames[] = { | |
5031 | (char *) "self",(char *) "visible", NULL | |
5032 | }; | |
5033 | ||
5034 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5035 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5036 | if (!SWIG_IsOK(res1)) { | |
5037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5038 | } | |
5039 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5040 | if (obj1) { | |
5041 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5042 | if (!SWIG_IsOK(ecode2)) { | |
5043 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); | |
5044 | } | |
5045 | arg2 = static_cast< bool >(val2); | |
5046 | } | |
5047 | { | |
5048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5049 | { | |
5050 | wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); | |
5051 | result = (wxPaneInfo *) &_result_ref; | |
5052 | } | |
5053 | wxPyEndAllowThreads(__tstate); | |
5054 | if (PyErr_Occurred()) SWIG_fail; | |
5055 | } | |
5056 | { | |
5057 | resultobj = obj0; Py_INCREF(resultobj); | |
5058 | } | |
5059 | return resultobj; | |
5060 | fail: | |
5061 | return NULL; | |
5062 | } | |
5063 | ||
5064 | ||
5065 | SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5066 | PyObject *resultobj = 0; | |
5067 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5068 | bool arg2 = (bool) true ; | |
5069 | wxPaneInfo *result = 0 ; | |
5070 | void *argp1 = 0 ; | |
5071 | int res1 = 0 ; | |
5072 | bool val2 ; | |
5073 | int ecode2 = 0 ; | |
5074 | PyObject * obj0 = 0 ; | |
5075 | PyObject * obj1 = 0 ; | |
5076 | char * kwnames[] = { | |
5077 | (char *) "self",(char *) "visible", NULL | |
5078 | }; | |
5079 | ||
5080 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5081 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5082 | if (!SWIG_IsOK(res1)) { | |
5083 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5084 | } | |
5085 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5086 | if (obj1) { | |
5087 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5088 | if (!SWIG_IsOK(ecode2)) { | |
5089 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); | |
5090 | } | |
5091 | arg2 = static_cast< bool >(val2); | |
5092 | } | |
5093 | { | |
5094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5095 | { | |
5096 | wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); | |
5097 | result = (wxPaneInfo *) &_result_ref; | |
5098 | } | |
5099 | wxPyEndAllowThreads(__tstate); | |
5100 | if (PyErr_Occurred()) SWIG_fail; | |
5101 | } | |
5102 | { | |
5103 | resultobj = obj0; Py_INCREF(resultobj); | |
5104 | } | |
5105 | return resultobj; | |
5106 | fail: | |
5107 | return NULL; | |
5108 | } | |
5109 | ||
5110 | ||
5111 | SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5112 | PyObject *resultobj = 0; | |
5113 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5114 | bool arg2 = (bool) true ; | |
5115 | wxPaneInfo *result = 0 ; | |
5116 | void *argp1 = 0 ; | |
5117 | int res1 = 0 ; | |
5118 | bool val2 ; | |
5119 | int ecode2 = 0 ; | |
5120 | PyObject * obj0 = 0 ; | |
5121 | PyObject * obj1 = 0 ; | |
5122 | char * kwnames[] = { | |
5123 | (char *) "self",(char *) "visible", NULL | |
5124 | }; | |
5125 | ||
5126 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5128 | if (!SWIG_IsOK(res1)) { | |
5129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5130 | } | |
5131 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5132 | if (obj1) { | |
5133 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5134 | if (!SWIG_IsOK(ecode2)) { | |
5135 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); | |
5136 | } | |
5137 | arg2 = static_cast< bool >(val2); | |
5138 | } | |
5139 | { | |
5140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5141 | { | |
5142 | wxPaneInfo &_result_ref = (arg1)->PinButton(arg2); | |
5143 | result = (wxPaneInfo *) &_result_ref; | |
5144 | } | |
5145 | wxPyEndAllowThreads(__tstate); | |
5146 | if (PyErr_Occurred()) SWIG_fail; | |
5147 | } | |
5148 | { | |
5149 | resultobj = obj0; Py_INCREF(resultobj); | |
5150 | } | |
5151 | return resultobj; | |
5152 | fail: | |
5153 | return NULL; | |
5154 | } | |
5155 | ||
5156 | ||
5157 | SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5158 | PyObject *resultobj = 0; | |
5159 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5160 | bool arg2 = (bool) true ; | |
5161 | wxPaneInfo *result = 0 ; | |
5162 | void *argp1 = 0 ; | |
5163 | int res1 = 0 ; | |
5164 | bool val2 ; | |
5165 | int ecode2 = 0 ; | |
5166 | PyObject * obj0 = 0 ; | |
5167 | PyObject * obj1 = 0 ; | |
5168 | char * kwnames[] = { | |
5169 | (char *) "self",(char *) "b", NULL | |
5170 | }; | |
5171 | ||
5172 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; | |
5173 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5174 | if (!SWIG_IsOK(res1)) { | |
5175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5176 | } | |
5177 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5178 | if (obj1) { | |
5179 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5180 | if (!SWIG_IsOK(ecode2)) { | |
5181 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); | |
5182 | } | |
5183 | arg2 = static_cast< bool >(val2); | |
5184 | } | |
5185 | { | |
5186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5187 | { | |
5188 | wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); | |
5189 | result = (wxPaneInfo *) &_result_ref; | |
5190 | } | |
5191 | wxPyEndAllowThreads(__tstate); | |
5192 | if (PyErr_Occurred()) SWIG_fail; | |
5193 | } | |
5194 | { | |
5195 | resultobj = obj0; Py_INCREF(resultobj); | |
5196 | } | |
5197 | return resultobj; | |
5198 | fail: | |
5199 | return NULL; | |
5200 | } | |
5201 | ||
5202 | ||
5203 | SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5204 | PyObject *resultobj = 0; | |
5205 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5206 | bool arg2 = (bool) true ; | |
5207 | wxPaneInfo *result = 0 ; | |
5208 | void *argp1 = 0 ; | |
5209 | int res1 = 0 ; | |
5210 | bool val2 ; | |
5211 | int ecode2 = 0 ; | |
5212 | PyObject * obj0 = 0 ; | |
5213 | PyObject * obj1 = 0 ; | |
5214 | char * kwnames[] = { | |
5215 | (char *) "self",(char *) "b", NULL | |
5216 | }; | |
5217 | ||
5218 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5219 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5220 | if (!SWIG_IsOK(res1)) { | |
5221 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5222 | } | |
5223 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5224 | if (obj1) { | |
5225 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5226 | if (!SWIG_IsOK(ecode2)) { | |
5227 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5228 | } | |
5229 | arg2 = static_cast< bool >(val2); | |
5230 | } | |
5231 | { | |
5232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5233 | { | |
5234 | wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2); | |
5235 | result = (wxPaneInfo *) &_result_ref; | |
5236 | } | |
5237 | wxPyEndAllowThreads(__tstate); | |
5238 | if (PyErr_Occurred()) SWIG_fail; | |
5239 | } | |
5240 | { | |
5241 | resultobj = obj0; Py_INCREF(resultobj); | |
5242 | } | |
5243 | return resultobj; | |
5244 | fail: | |
5245 | return NULL; | |
5246 | } | |
5247 | ||
5248 | ||
5249 | SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5250 | PyObject *resultobj = 0; | |
5251 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5252 | bool arg2 = (bool) true ; | |
5253 | wxPaneInfo *result = 0 ; | |
5254 | void *argp1 = 0 ; | |
5255 | int res1 = 0 ; | |
5256 | bool val2 ; | |
5257 | int ecode2 = 0 ; | |
5258 | PyObject * obj0 = 0 ; | |
5259 | PyObject * obj1 = 0 ; | |
5260 | char * kwnames[] = { | |
5261 | (char *) "self",(char *) "b", NULL | |
5262 | }; | |
5263 | ||
5264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5265 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5266 | if (!SWIG_IsOK(res1)) { | |
5267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5268 | } | |
5269 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5270 | if (obj1) { | |
5271 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5272 | if (!SWIG_IsOK(ecode2)) { | |
5273 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5274 | } | |
5275 | arg2 = static_cast< bool >(val2); | |
5276 | } | |
5277 | { | |
5278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5279 | { | |
5280 | wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); | |
5281 | result = (wxPaneInfo *) &_result_ref; | |
5282 | } | |
5283 | wxPyEndAllowThreads(__tstate); | |
5284 | if (PyErr_Occurred()) SWIG_fail; | |
5285 | } | |
5286 | { | |
5287 | resultobj = obj0; Py_INCREF(resultobj); | |
5288 | } | |
5289 | return resultobj; | |
5290 | fail: | |
5291 | return NULL; | |
5292 | } | |
5293 | ||
5294 | ||
5295 | SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5296 | PyObject *resultobj = 0; | |
5297 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5298 | bool arg2 = (bool) true ; | |
5299 | wxPaneInfo *result = 0 ; | |
5300 | void *argp1 = 0 ; | |
5301 | int res1 = 0 ; | |
5302 | bool val2 ; | |
5303 | int ecode2 = 0 ; | |
5304 | PyObject * obj0 = 0 ; | |
5305 | PyObject * obj1 = 0 ; | |
5306 | char * kwnames[] = { | |
5307 | (char *) "self",(char *) "b", NULL | |
5308 | }; | |
5309 | ||
5310 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5311 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5312 | if (!SWIG_IsOK(res1)) { | |
5313 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5314 | } | |
5315 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5316 | if (obj1) { | |
5317 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5318 | if (!SWIG_IsOK(ecode2)) { | |
5319 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5320 | } | |
5321 | arg2 = static_cast< bool >(val2); | |
5322 | } | |
5323 | { | |
5324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5325 | { | |
5326 | wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); | |
5327 | result = (wxPaneInfo *) &_result_ref; | |
5328 | } | |
5329 | wxPyEndAllowThreads(__tstate); | |
5330 | if (PyErr_Occurred()) SWIG_fail; | |
5331 | } | |
5332 | { | |
5333 | resultobj = obj0; Py_INCREF(resultobj); | |
5334 | } | |
5335 | return resultobj; | |
5336 | fail: | |
5337 | return NULL; | |
5338 | } | |
5339 | ||
5340 | ||
5341 | SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5342 | PyObject *resultobj = 0; | |
5343 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5344 | bool arg2 = (bool) true ; | |
5345 | wxPaneInfo *result = 0 ; | |
5346 | void *argp1 = 0 ; | |
5347 | int res1 = 0 ; | |
5348 | bool val2 ; | |
5349 | int ecode2 = 0 ; | |
5350 | PyObject * obj0 = 0 ; | |
5351 | PyObject * obj1 = 0 ; | |
5352 | char * kwnames[] = { | |
5353 | (char *) "self",(char *) "b", NULL | |
5354 | }; | |
5355 | ||
5356 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5357 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5358 | if (!SWIG_IsOK(res1)) { | |
5359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5360 | } | |
5361 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5362 | if (obj1) { | |
5363 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5364 | if (!SWIG_IsOK(ecode2)) { | |
5365 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5366 | } | |
5367 | arg2 = static_cast< bool >(val2); | |
5368 | } | |
5369 | { | |
5370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5371 | { | |
5372 | wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2); | |
5373 | result = (wxPaneInfo *) &_result_ref; | |
5374 | } | |
5375 | wxPyEndAllowThreads(__tstate); | |
5376 | if (PyErr_Occurred()) SWIG_fail; | |
5377 | } | |
5378 | { | |
5379 | resultobj = obj0; Py_INCREF(resultobj); | |
5380 | } | |
5381 | return resultobj; | |
5382 | fail: | |
5383 | return NULL; | |
5384 | } | |
5385 | ||
5386 | ||
5387 | SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5388 | PyObject *resultobj = 0; | |
5389 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5390 | bool arg2 = (bool) true ; | |
5391 | wxPaneInfo *result = 0 ; | |
5392 | void *argp1 = 0 ; | |
5393 | int res1 = 0 ; | |
5394 | bool val2 ; | |
5395 | int ecode2 = 0 ; | |
5396 | PyObject * obj0 = 0 ; | |
5397 | PyObject * obj1 = 0 ; | |
5398 | char * kwnames[] = { | |
5399 | (char *) "self",(char *) "b", NULL | |
5400 | }; | |
5401 | ||
5402 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5403 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5404 | if (!SWIG_IsOK(res1)) { | |
5405 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5406 | } | |
5407 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5408 | if (obj1) { | |
5409 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5410 | if (!SWIG_IsOK(ecode2)) { | |
5411 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); | |
5412 | } | |
5413 | arg2 = static_cast< bool >(val2); | |
5414 | } | |
5415 | { | |
5416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5417 | { | |
5418 | wxPaneInfo &_result_ref = (arg1)->Floatable(arg2); | |
5419 | result = (wxPaneInfo *) &_result_ref; | |
5420 | } | |
5421 | wxPyEndAllowThreads(__tstate); | |
5422 | if (PyErr_Occurred()) SWIG_fail; | |
5423 | } | |
5424 | { | |
5425 | resultobj = obj0; Py_INCREF(resultobj); | |
5426 | } | |
5427 | return resultobj; | |
5428 | fail: | |
5429 | return NULL; | |
5430 | } | |
5431 | ||
5432 | ||
5433 | SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5434 | PyObject *resultobj = 0; | |
5435 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5436 | bool arg2 = (bool) true ; | |
5437 | wxPaneInfo *result = 0 ; | |
5438 | void *argp1 = 0 ; | |
5439 | int res1 = 0 ; | |
5440 | bool val2 ; | |
5441 | int ecode2 = 0 ; | |
5442 | PyObject * obj0 = 0 ; | |
5443 | PyObject * obj1 = 0 ; | |
5444 | char * kwnames[] = { | |
5445 | (char *) "self",(char *) "b", NULL | |
5446 | }; | |
5447 | ||
5448 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5449 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5450 | if (!SWIG_IsOK(res1)) { | |
5451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5452 | } | |
5453 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5454 | if (obj1) { | |
5455 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5456 | if (!SWIG_IsOK(ecode2)) { | |
5457 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); | |
5458 | } | |
5459 | arg2 = static_cast< bool >(val2); | |
5460 | } | |
5461 | { | |
5462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5463 | { | |
5464 | wxPaneInfo &_result_ref = (arg1)->Movable(arg2); | |
5465 | result = (wxPaneInfo *) &_result_ref; | |
5466 | } | |
5467 | wxPyEndAllowThreads(__tstate); | |
5468 | if (PyErr_Occurred()) SWIG_fail; | |
5469 | } | |
5470 | { | |
5471 | resultobj = obj0; Py_INCREF(resultobj); | |
5472 | } | |
5473 | return resultobj; | |
5474 | fail: | |
5475 | return NULL; | |
5476 | } | |
5477 | ||
5478 | ||
5479 | SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5480 | PyObject *resultobj = 0; | |
5481 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5482 | bool arg2 = (bool) true ; | |
5483 | wxPaneInfo *result = 0 ; | |
5484 | void *argp1 = 0 ; | |
5485 | int res1 = 0 ; | |
5486 | bool val2 ; | |
5487 | int ecode2 = 0 ; | |
5488 | PyObject * obj0 = 0 ; | |
5489 | PyObject * obj1 = 0 ; | |
5490 | char * kwnames[] = { | |
5491 | (char *) "self",(char *) "b", NULL | |
5492 | }; | |
5493 | ||
5494 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5495 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5496 | if (!SWIG_IsOK(res1)) { | |
5497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5498 | } | |
5499 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5500 | if (obj1) { | |
5501 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5502 | if (!SWIG_IsOK(ecode2)) { | |
5503 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); | |
5504 | } | |
5505 | arg2 = static_cast< bool >(val2); | |
5506 | } | |
5507 | { | |
5508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5509 | { | |
5510 | wxPaneInfo &_result_ref = (arg1)->Dockable(arg2); | |
5511 | result = (wxPaneInfo *) &_result_ref; | |
5512 | } | |
5513 | wxPyEndAllowThreads(__tstate); | |
5514 | if (PyErr_Occurred()) SWIG_fail; | |
5515 | } | |
5516 | { | |
5517 | resultobj = obj0; Py_INCREF(resultobj); | |
5518 | } | |
5519 | return resultobj; | |
5520 | fail: | |
5521 | return NULL; | |
5522 | } | |
5523 | ||
5524 | ||
5525 | SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5526 | PyObject *resultobj = 0; | |
5527 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5528 | wxPaneInfo *result = 0 ; | |
5529 | void *argp1 = 0 ; | |
5530 | int res1 = 0 ; | |
5531 | PyObject *swig_obj[1] ; | |
5532 | ||
5533 | if (!args) SWIG_fail; | |
5534 | swig_obj[0] = args; | |
5535 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5536 | if (!SWIG_IsOK(res1)) { | |
5537 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5538 | } | |
5539 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5540 | { | |
5541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5542 | { | |
5543 | wxPaneInfo &_result_ref = (arg1)->DefaultPane(); | |
5544 | result = (wxPaneInfo *) &_result_ref; | |
5545 | } | |
5546 | wxPyEndAllowThreads(__tstate); | |
5547 | if (PyErr_Occurred()) SWIG_fail; | |
5548 | } | |
5549 | { | |
5550 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5551 | } | |
5552 | return resultobj; | |
5553 | fail: | |
5554 | return NULL; | |
5555 | } | |
5556 | ||
5557 | ||
5558 | SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5559 | PyObject *resultobj = 0; | |
5560 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5561 | wxPaneInfo *result = 0 ; | |
5562 | void *argp1 = 0 ; | |
5563 | int res1 = 0 ; | |
5564 | PyObject *swig_obj[1] ; | |
5565 | ||
5566 | if (!args) SWIG_fail; | |
5567 | swig_obj[0] = args; | |
5568 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5569 | if (!SWIG_IsOK(res1)) { | |
5570 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5571 | } | |
5572 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5573 | { | |
5574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5575 | { | |
5576 | wxPaneInfo &_result_ref = (arg1)->CentrePane(); | |
5577 | result = (wxPaneInfo *) &_result_ref; | |
5578 | } | |
5579 | wxPyEndAllowThreads(__tstate); | |
5580 | if (PyErr_Occurred()) SWIG_fail; | |
5581 | } | |
5582 | { | |
5583 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5584 | } | |
5585 | return resultobj; | |
5586 | fail: | |
5587 | return NULL; | |
5588 | } | |
5589 | ||
5590 | ||
5591 | SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5592 | PyObject *resultobj = 0; | |
5593 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5594 | wxPaneInfo *result = 0 ; | |
5595 | void *argp1 = 0 ; | |
5596 | int res1 = 0 ; | |
5597 | PyObject *swig_obj[1] ; | |
5598 | ||
5599 | if (!args) SWIG_fail; | |
5600 | swig_obj[0] = args; | |
5601 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5602 | if (!SWIG_IsOK(res1)) { | |
5603 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5604 | } | |
5605 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5606 | { | |
5607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5608 | { | |
5609 | wxPaneInfo &_result_ref = (arg1)->CenterPane(); | |
5610 | result = (wxPaneInfo *) &_result_ref; | |
5611 | } | |
5612 | wxPyEndAllowThreads(__tstate); | |
5613 | if (PyErr_Occurred()) SWIG_fail; | |
5614 | } | |
5615 | { | |
5616 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5617 | } | |
5618 | return resultobj; | |
5619 | fail: | |
5620 | return NULL; | |
5621 | } | |
5622 | ||
5623 | ||
5624 | SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5625 | PyObject *resultobj = 0; | |
5626 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5627 | wxPaneInfo *result = 0 ; | |
5628 | void *argp1 = 0 ; | |
5629 | int res1 = 0 ; | |
5630 | PyObject *swig_obj[1] ; | |
5631 | ||
5632 | if (!args) SWIG_fail; | |
5633 | swig_obj[0] = args; | |
5634 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5635 | if (!SWIG_IsOK(res1)) { | |
5636 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5637 | } | |
5638 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5639 | { | |
5640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5641 | { | |
5642 | wxPaneInfo &_result_ref = (arg1)->ToolbarPane(); | |
5643 | result = (wxPaneInfo *) &_result_ref; | |
5644 | } | |
5645 | wxPyEndAllowThreads(__tstate); | |
5646 | if (PyErr_Occurred()) SWIG_fail; | |
5647 | } | |
5648 | { | |
5649 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5650 | } | |
5651 | return resultobj; | |
5652 | fail: | |
5653 | return NULL; | |
5654 | } | |
5655 | ||
5656 | ||
5657 | SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5658 | PyObject *resultobj = 0; | |
5659 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5660 | int arg2 ; | |
5661 | bool arg3 ; | |
5662 | wxPaneInfo *result = 0 ; | |
5663 | void *argp1 = 0 ; | |
5664 | int res1 = 0 ; | |
5665 | int val2 ; | |
5666 | int ecode2 = 0 ; | |
5667 | bool val3 ; | |
5668 | int ecode3 = 0 ; | |
5669 | PyObject * obj0 = 0 ; | |
5670 | PyObject * obj1 = 0 ; | |
5671 | PyObject * obj2 = 0 ; | |
5672 | char * kwnames[] = { | |
5673 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
5674 | }; | |
5675 | ||
5676 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5677 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5678 | if (!SWIG_IsOK(res1)) { | |
5679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5680 | } | |
5681 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5682 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5683 | if (!SWIG_IsOK(ecode2)) { | |
5684 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); | |
5685 | } | |
5686 | arg2 = static_cast< int >(val2); | |
5687 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
5688 | if (!SWIG_IsOK(ecode3)) { | |
5689 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); | |
5690 | } | |
5691 | arg3 = static_cast< bool >(val3); | |
5692 | { | |
5693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5694 | { | |
5695 | wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); | |
5696 | result = (wxPaneInfo *) &_result_ref; | |
5697 | } | |
5698 | wxPyEndAllowThreads(__tstate); | |
5699 | if (PyErr_Occurred()) SWIG_fail; | |
5700 | } | |
5701 | { | |
5702 | resultobj = obj0; Py_INCREF(resultobj); | |
5703 | } | |
5704 | return resultobj; | |
5705 | fail: | |
5706 | return NULL; | |
5707 | } | |
5708 | ||
5709 | ||
5710 | SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5711 | PyObject *resultobj = 0; | |
5712 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5713 | int arg2 ; | |
5714 | bool result; | |
5715 | void *argp1 = 0 ; | |
5716 | int res1 = 0 ; | |
5717 | int val2 ; | |
5718 | int ecode2 = 0 ; | |
5719 | PyObject * obj0 = 0 ; | |
5720 | PyObject * obj1 = 0 ; | |
5721 | char * kwnames[] = { | |
5722 | (char *) "self",(char *) "flag", NULL | |
5723 | }; | |
5724 | ||
5725 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; | |
5726 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5727 | if (!SWIG_IsOK(res1)) { | |
5728 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
5729 | } | |
5730 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5731 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5732 | if (!SWIG_IsOK(ecode2)) { | |
5733 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); | |
5734 | } | |
5735 | arg2 = static_cast< int >(val2); | |
5736 | { | |
5737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5738 | result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2); | |
5739 | wxPyEndAllowThreads(__tstate); | |
5740 | if (PyErr_Occurred()) SWIG_fail; | |
5741 | } | |
5742 | { | |
5743 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5744 | } | |
5745 | return resultobj; | |
5746 | fail: | |
5747 | return NULL; | |
5748 | } | |
5749 | ||
5750 | ||
5751 | SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5752 | PyObject *resultobj = 0; | |
5753 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5754 | wxString *arg2 = (wxString *) 0 ; | |
5755 | void *argp1 = 0 ; | |
5756 | int res1 = 0 ; | |
5757 | bool temp2 = false ; | |
5758 | PyObject *swig_obj[2] ; | |
5759 | ||
5760 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail; | |
5761 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5762 | if (!SWIG_IsOK(res1)) { | |
5763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5764 | } | |
5765 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5766 | { | |
5767 | arg2 = wxString_in_helper(swig_obj[1]); | |
5768 | if (arg2 == NULL) SWIG_fail; | |
5769 | temp2 = true; | |
5770 | } | |
5771 | if (arg1) (arg1)->name = *arg2; | |
5772 | ||
5773 | resultobj = SWIG_Py_Void(); | |
5774 | { | |
5775 | if (temp2) | |
5776 | delete arg2; | |
5777 | } | |
5778 | return resultobj; | |
5779 | fail: | |
5780 | { | |
5781 | if (temp2) | |
5782 | delete arg2; | |
5783 | } | |
5784 | return NULL; | |
5785 | } | |
5786 | ||
5787 | ||
5788 | SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5789 | PyObject *resultobj = 0; | |
5790 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5791 | wxString *result = 0 ; | |
5792 | void *argp1 = 0 ; | |
5793 | int res1 = 0 ; | |
5794 | PyObject *swig_obj[1] ; | |
5795 | ||
5796 | if (!args) SWIG_fail; | |
5797 | swig_obj[0] = args; | |
5798 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5799 | if (!SWIG_IsOK(res1)) { | |
5800 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5801 | } | |
5802 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5803 | result = (wxString *)& ((arg1)->name); | |
5804 | { | |
5805 | #if wxUSE_UNICODE | |
5806 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5807 | #else | |
5808 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5809 | #endif | |
5810 | } | |
5811 | return resultobj; | |
5812 | fail: | |
5813 | return NULL; | |
5814 | } | |
5815 | ||
5816 | ||
5817 | SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5818 | PyObject *resultobj = 0; | |
5819 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5820 | wxString *arg2 = (wxString *) 0 ; | |
5821 | void *argp1 = 0 ; | |
5822 | int res1 = 0 ; | |
5823 | bool temp2 = false ; | |
5824 | PyObject *swig_obj[2] ; | |
5825 | ||
5826 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; | |
5827 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5828 | if (!SWIG_IsOK(res1)) { | |
5829 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5830 | } | |
5831 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5832 | { | |
5833 | arg2 = wxString_in_helper(swig_obj[1]); | |
5834 | if (arg2 == NULL) SWIG_fail; | |
5835 | temp2 = true; | |
5836 | } | |
5837 | if (arg1) (arg1)->caption = *arg2; | |
5838 | ||
5839 | resultobj = SWIG_Py_Void(); | |
5840 | { | |
5841 | if (temp2) | |
5842 | delete arg2; | |
5843 | } | |
5844 | return resultobj; | |
5845 | fail: | |
5846 | { | |
5847 | if (temp2) | |
5848 | delete arg2; | |
5849 | } | |
5850 | return NULL; | |
5851 | } | |
5852 | ||
5853 | ||
5854 | SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5855 | PyObject *resultobj = 0; | |
5856 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5857 | wxString *result = 0 ; | |
5858 | void *argp1 = 0 ; | |
5859 | int res1 = 0 ; | |
5860 | PyObject *swig_obj[1] ; | |
5861 | ||
5862 | if (!args) SWIG_fail; | |
5863 | swig_obj[0] = args; | |
5864 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5865 | if (!SWIG_IsOK(res1)) { | |
5866 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5867 | } | |
5868 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5869 | result = (wxString *)& ((arg1)->caption); | |
5870 | { | |
5871 | #if wxUSE_UNICODE | |
5872 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5873 | #else | |
5874 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5875 | #endif | |
5876 | } | |
5877 | return resultobj; | |
5878 | fail: | |
5879 | return NULL; | |
5880 | } | |
5881 | ||
5882 | ||
5883 | SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5884 | PyObject *resultobj = 0; | |
5885 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5886 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5887 | void *argp1 = 0 ; | |
5888 | int res1 = 0 ; | |
5889 | void *argp2 = 0 ; | |
5890 | int res2 = 0 ; | |
5891 | PyObject *swig_obj[2] ; | |
5892 | ||
5893 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail; | |
5894 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5895 | if (!SWIG_IsOK(res1)) { | |
5896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5897 | } | |
5898 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5899 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
5900 | if (!SWIG_IsOK(res2)) { | |
5901 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5902 | } | |
5903 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5904 | if (arg1) (arg1)->window = arg2; | |
5905 | ||
5906 | resultobj = SWIG_Py_Void(); | |
5907 | return resultobj; | |
5908 | fail: | |
5909 | return NULL; | |
5910 | } | |
5911 | ||
5912 | ||
5913 | SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5914 | PyObject *resultobj = 0; | |
5915 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5916 | wxWindow *result = 0 ; | |
5917 | void *argp1 = 0 ; | |
5918 | int res1 = 0 ; | |
5919 | PyObject *swig_obj[1] ; | |
5920 | ||
5921 | if (!args) SWIG_fail; | |
5922 | swig_obj[0] = args; | |
5923 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5924 | if (!SWIG_IsOK(res1)) { | |
5925 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5926 | } | |
5927 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5928 | result = (wxWindow *) ((arg1)->window); | |
5929 | { | |
5930 | resultobj = wxPyMake_wxObject(result, 0); | |
5931 | } | |
5932 | return resultobj; | |
5933 | fail: | |
5934 | return NULL; | |
5935 | } | |
5936 | ||
5937 | ||
5938 | SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5939 | PyObject *resultobj = 0; | |
5940 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
10044bf1 | 5941 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
5942 | void *argp1 = 0 ; |
5943 | int res1 = 0 ; | |
5944 | void *argp2 = 0 ; | |
5945 | int res2 = 0 ; | |
5946 | PyObject *swig_obj[2] ; | |
5947 | ||
5948 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; | |
5949 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5950 | if (!SWIG_IsOK(res1)) { | |
5951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5952 | } | |
5953 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
10044bf1 | 5954 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 5955 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 5956 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 5957 | } |
10044bf1 | 5958 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
5959 | if (arg1) (arg1)->frame = arg2; |
5960 | ||
5961 | resultobj = SWIG_Py_Void(); | |
5962 | return resultobj; | |
5963 | fail: | |
5964 | return NULL; | |
5965 | } | |
5966 | ||
5967 | ||
5968 | SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5969 | PyObject *resultobj = 0; | |
5970 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
10044bf1 | 5971 | wxFrame *result = 0 ; |
27e45892 RD |
5972 | void *argp1 = 0 ; |
5973 | int res1 = 0 ; | |
5974 | PyObject *swig_obj[1] ; | |
5975 | ||
5976 | if (!args) SWIG_fail; | |
5977 | swig_obj[0] = args; | |
5978 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5979 | if (!SWIG_IsOK(res1)) { | |
5980 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5981 | } | |
5982 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
10044bf1 | 5983 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
5984 | { |
5985 | resultobj = wxPyMake_wxObject(result, 0); | |
5986 | } | |
5987 | return resultobj; | |
5988 | fail: | |
5989 | return NULL; | |
5990 | } | |
5991 | ||
5992 | ||
5993 | SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5994 | PyObject *resultobj = 0; | |
5995 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5996 | int arg2 ; | |
5997 | void *argp1 = 0 ; | |
5998 | int res1 = 0 ; | |
5999 | int val2 ; | |
6000 | int ecode2 = 0 ; | |
6001 | PyObject *swig_obj[2] ; | |
6002 | ||
6003 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail; | |
6004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6005 | if (!SWIG_IsOK(res1)) { | |
6006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6007 | } | |
6008 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6009 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6010 | if (!SWIG_IsOK(ecode2)) { | |
6011 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); | |
6012 | } | |
6013 | arg2 = static_cast< int >(val2); | |
6014 | if (arg1) (arg1)->state = arg2; | |
6015 | ||
6016 | resultobj = SWIG_Py_Void(); | |
6017 | return resultobj; | |
6018 | fail: | |
6019 | return NULL; | |
6020 | } | |
6021 | ||
6022 | ||
6023 | SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6024 | PyObject *resultobj = 0; | |
6025 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6026 | int result; | |
6027 | void *argp1 = 0 ; | |
6028 | int res1 = 0 ; | |
6029 | PyObject *swig_obj[1] ; | |
6030 | ||
6031 | if (!args) SWIG_fail; | |
6032 | swig_obj[0] = args; | |
6033 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6034 | if (!SWIG_IsOK(res1)) { | |
6035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6036 | } | |
6037 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6038 | result = (int) ((arg1)->state); | |
6039 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6040 | return resultobj; | |
6041 | fail: | |
6042 | return NULL; | |
6043 | } | |
6044 | ||
6045 | ||
6046 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6047 | PyObject *resultobj = 0; | |
6048 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6049 | int arg2 ; | |
6050 | void *argp1 = 0 ; | |
6051 | int res1 = 0 ; | |
6052 | int val2 ; | |
6053 | int ecode2 = 0 ; | |
6054 | PyObject *swig_obj[2] ; | |
6055 | ||
6056 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; | |
6057 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6058 | if (!SWIG_IsOK(res1)) { | |
6059 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6060 | } | |
6061 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6062 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6063 | if (!SWIG_IsOK(ecode2)) { | |
6064 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); | |
6065 | } | |
6066 | arg2 = static_cast< int >(val2); | |
6067 | if (arg1) (arg1)->dock_direction = arg2; | |
6068 | ||
6069 | resultobj = SWIG_Py_Void(); | |
6070 | return resultobj; | |
6071 | fail: | |
6072 | return NULL; | |
6073 | } | |
6074 | ||
6075 | ||
6076 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6077 | PyObject *resultobj = 0; | |
6078 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6079 | int result; | |
6080 | void *argp1 = 0 ; | |
6081 | int res1 = 0 ; | |
6082 | PyObject *swig_obj[1] ; | |
6083 | ||
6084 | if (!args) SWIG_fail; | |
6085 | swig_obj[0] = args; | |
6086 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6087 | if (!SWIG_IsOK(res1)) { | |
6088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6089 | } | |
6090 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6091 | result = (int) ((arg1)->dock_direction); | |
6092 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6093 | return resultobj; | |
6094 | fail: | |
6095 | return NULL; | |
6096 | } | |
6097 | ||
6098 | ||
6099 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6100 | PyObject *resultobj = 0; | |
6101 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6102 | int arg2 ; | |
6103 | void *argp1 = 0 ; | |
6104 | int res1 = 0 ; | |
6105 | int val2 ; | |
6106 | int ecode2 = 0 ; | |
6107 | PyObject *swig_obj[2] ; | |
6108 | ||
6109 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; | |
6110 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6111 | if (!SWIG_IsOK(res1)) { | |
6112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6113 | } | |
6114 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6115 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6116 | if (!SWIG_IsOK(ecode2)) { | |
6117 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); | |
6118 | } | |
6119 | arg2 = static_cast< int >(val2); | |
6120 | if (arg1) (arg1)->dock_layer = arg2; | |
6121 | ||
6122 | resultobj = SWIG_Py_Void(); | |
6123 | return resultobj; | |
6124 | fail: | |
6125 | return NULL; | |
6126 | } | |
6127 | ||
6128 | ||
6129 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6130 | PyObject *resultobj = 0; | |
6131 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6132 | int result; | |
6133 | void *argp1 = 0 ; | |
6134 | int res1 = 0 ; | |
6135 | PyObject *swig_obj[1] ; | |
6136 | ||
6137 | if (!args) SWIG_fail; | |
6138 | swig_obj[0] = args; | |
6139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6140 | if (!SWIG_IsOK(res1)) { | |
6141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6142 | } | |
6143 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6144 | result = (int) ((arg1)->dock_layer); | |
6145 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6146 | return resultobj; | |
6147 | fail: | |
6148 | return NULL; | |
6149 | } | |
6150 | ||
6151 | ||
6152 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6153 | PyObject *resultobj = 0; | |
6154 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6155 | int arg2 ; | |
6156 | void *argp1 = 0 ; | |
6157 | int res1 = 0 ; | |
6158 | int val2 ; | |
6159 | int ecode2 = 0 ; | |
6160 | PyObject *swig_obj[2] ; | |
6161 | ||
6162 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; | |
6163 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6164 | if (!SWIG_IsOK(res1)) { | |
6165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6166 | } | |
6167 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6168 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6169 | if (!SWIG_IsOK(ecode2)) { | |
6170 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); | |
6171 | } | |
6172 | arg2 = static_cast< int >(val2); | |
6173 | if (arg1) (arg1)->dock_row = arg2; | |
6174 | ||
6175 | resultobj = SWIG_Py_Void(); | |
6176 | return resultobj; | |
6177 | fail: | |
6178 | return NULL; | |
6179 | } | |
6180 | ||
6181 | ||
6182 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6183 | PyObject *resultobj = 0; | |
6184 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6185 | int result; | |
6186 | void *argp1 = 0 ; | |
6187 | int res1 = 0 ; | |
6188 | PyObject *swig_obj[1] ; | |
6189 | ||
6190 | if (!args) SWIG_fail; | |
6191 | swig_obj[0] = args; | |
6192 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6193 | if (!SWIG_IsOK(res1)) { | |
6194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6195 | } | |
6196 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6197 | result = (int) ((arg1)->dock_row); | |
6198 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6199 | return resultobj; | |
6200 | fail: | |
6201 | return NULL; | |
6202 | } | |
6203 | ||
6204 | ||
6205 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6206 | PyObject *resultobj = 0; | |
6207 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6208 | int arg2 ; | |
6209 | void *argp1 = 0 ; | |
6210 | int res1 = 0 ; | |
6211 | int val2 ; | |
6212 | int ecode2 = 0 ; | |
6213 | PyObject *swig_obj[2] ; | |
6214 | ||
6215 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; | |
6216 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6217 | if (!SWIG_IsOK(res1)) { | |
6218 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6219 | } | |
6220 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6221 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6222 | if (!SWIG_IsOK(ecode2)) { | |
6223 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); | |
6224 | } | |
6225 | arg2 = static_cast< int >(val2); | |
6226 | if (arg1) (arg1)->dock_pos = arg2; | |
6227 | ||
6228 | resultobj = SWIG_Py_Void(); | |
6229 | return resultobj; | |
6230 | fail: | |
6231 | return NULL; | |
6232 | } | |
6233 | ||
6234 | ||
6235 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6236 | PyObject *resultobj = 0; | |
6237 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6238 | int result; | |
6239 | void *argp1 = 0 ; | |
6240 | int res1 = 0 ; | |
6241 | PyObject *swig_obj[1] ; | |
6242 | ||
6243 | if (!args) SWIG_fail; | |
6244 | swig_obj[0] = args; | |
6245 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6246 | if (!SWIG_IsOK(res1)) { | |
6247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6248 | } | |
6249 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6250 | result = (int) ((arg1)->dock_pos); | |
6251 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6252 | return resultobj; | |
6253 | fail: | |
6254 | return NULL; | |
6255 | } | |
6256 | ||
6257 | ||
6258 | SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6259 | PyObject *resultobj = 0; | |
6260 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6261 | wxSize *arg2 = (wxSize *) 0 ; | |
6262 | void *argp1 = 0 ; | |
6263 | int res1 = 0 ; | |
6264 | void *argp2 = 0 ; | |
6265 | int res2 = 0 ; | |
6266 | PyObject *swig_obj[2] ; | |
6267 | ||
6268 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; | |
6269 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6270 | if (!SWIG_IsOK(res1)) { | |
6271 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6272 | } | |
6273 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6274 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6275 | if (!SWIG_IsOK(res2)) { | |
6276 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6277 | } | |
6278 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6279 | if (arg1) (arg1)->best_size = *arg2; | |
6280 | ||
6281 | resultobj = SWIG_Py_Void(); | |
6282 | return resultobj; | |
6283 | fail: | |
6284 | return NULL; | |
6285 | } | |
6286 | ||
6287 | ||
6288 | SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6289 | PyObject *resultobj = 0; | |
6290 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6291 | wxSize *result = 0 ; | |
6292 | void *argp1 = 0 ; | |
6293 | int res1 = 0 ; | |
6294 | PyObject *swig_obj[1] ; | |
6295 | ||
6296 | if (!args) SWIG_fail; | |
6297 | swig_obj[0] = args; | |
6298 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6299 | if (!SWIG_IsOK(res1)) { | |
6300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6301 | } | |
6302 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6303 | result = (wxSize *)& ((arg1)->best_size); | |
6304 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6305 | return resultobj; | |
6306 | fail: | |
6307 | return NULL; | |
6308 | } | |
6309 | ||
6310 | ||
6311 | SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6312 | PyObject *resultobj = 0; | |
6313 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6314 | wxSize *arg2 = (wxSize *) 0 ; | |
6315 | void *argp1 = 0 ; | |
6316 | int res1 = 0 ; | |
6317 | void *argp2 = 0 ; | |
6318 | int res2 = 0 ; | |
6319 | PyObject *swig_obj[2] ; | |
6320 | ||
6321 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; | |
6322 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6323 | if (!SWIG_IsOK(res1)) { | |
6324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6325 | } | |
6326 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6327 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6328 | if (!SWIG_IsOK(res2)) { | |
6329 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6330 | } | |
6331 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6332 | if (arg1) (arg1)->min_size = *arg2; | |
6333 | ||
6334 | resultobj = SWIG_Py_Void(); | |
6335 | return resultobj; | |
6336 | fail: | |
6337 | return NULL; | |
6338 | } | |
6339 | ||
6340 | ||
6341 | SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6342 | PyObject *resultobj = 0; | |
6343 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6344 | wxSize *result = 0 ; | |
6345 | void *argp1 = 0 ; | |
6346 | int res1 = 0 ; | |
6347 | PyObject *swig_obj[1] ; | |
6348 | ||
6349 | if (!args) SWIG_fail; | |
6350 | swig_obj[0] = args; | |
6351 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6352 | if (!SWIG_IsOK(res1)) { | |
6353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6354 | } | |
6355 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6356 | result = (wxSize *)& ((arg1)->min_size); | |
6357 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6358 | return resultobj; | |
6359 | fail: | |
6360 | return NULL; | |
6361 | } | |
6362 | ||
6363 | ||
6364 | SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6365 | PyObject *resultobj = 0; | |
6366 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6367 | wxSize *arg2 = (wxSize *) 0 ; | |
6368 | void *argp1 = 0 ; | |
6369 | int res1 = 0 ; | |
6370 | void *argp2 = 0 ; | |
6371 | int res2 = 0 ; | |
6372 | PyObject *swig_obj[2] ; | |
6373 | ||
6374 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; | |
6375 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6376 | if (!SWIG_IsOK(res1)) { | |
6377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6378 | } | |
6379 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6380 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6381 | if (!SWIG_IsOK(res2)) { | |
6382 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6383 | } | |
6384 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6385 | if (arg1) (arg1)->max_size = *arg2; | |
6386 | ||
6387 | resultobj = SWIG_Py_Void(); | |
6388 | return resultobj; | |
6389 | fail: | |
6390 | return NULL; | |
6391 | } | |
6392 | ||
6393 | ||
6394 | SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6395 | PyObject *resultobj = 0; | |
6396 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6397 | wxSize *result = 0 ; | |
6398 | void *argp1 = 0 ; | |
6399 | int res1 = 0 ; | |
6400 | PyObject *swig_obj[1] ; | |
6401 | ||
6402 | if (!args) SWIG_fail; | |
6403 | swig_obj[0] = args; | |
6404 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6405 | if (!SWIG_IsOK(res1)) { | |
6406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6407 | } | |
6408 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6409 | result = (wxSize *)& ((arg1)->max_size); | |
6410 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6411 | return resultobj; | |
6412 | fail: | |
6413 | return NULL; | |
6414 | } | |
6415 | ||
6416 | ||
6417 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6418 | PyObject *resultobj = 0; | |
6419 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6420 | wxPoint *arg2 = (wxPoint *) 0 ; | |
6421 | void *argp1 = 0 ; | |
6422 | int res1 = 0 ; | |
6423 | void *argp2 = 0 ; | |
6424 | int res2 = 0 ; | |
6425 | PyObject *swig_obj[2] ; | |
6426 | ||
6427 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; | |
6428 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6429 | if (!SWIG_IsOK(res1)) { | |
6430 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6431 | } | |
6432 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6433 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6434 | if (!SWIG_IsOK(res2)) { | |
6435 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); | |
6436 | } | |
6437 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6438 | if (arg1) (arg1)->floating_pos = *arg2; | |
6439 | ||
6440 | resultobj = SWIG_Py_Void(); | |
6441 | return resultobj; | |
6442 | fail: | |
6443 | return NULL; | |
6444 | } | |
6445 | ||
6446 | ||
6447 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6448 | PyObject *resultobj = 0; | |
6449 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6450 | wxPoint *result = 0 ; | |
6451 | void *argp1 = 0 ; | |
6452 | int res1 = 0 ; | |
6453 | PyObject *swig_obj[1] ; | |
6454 | ||
6455 | if (!args) SWIG_fail; | |
6456 | swig_obj[0] = args; | |
6457 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6458 | if (!SWIG_IsOK(res1)) { | |
6459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6460 | } | |
6461 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6462 | result = (wxPoint *)& ((arg1)->floating_pos); | |
6463 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6464 | return resultobj; | |
6465 | fail: | |
6466 | return NULL; | |
6467 | } | |
6468 | ||
6469 | ||
6470 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6471 | PyObject *resultobj = 0; | |
6472 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6473 | wxSize *arg2 = (wxSize *) 0 ; | |
6474 | void *argp1 = 0 ; | |
6475 | int res1 = 0 ; | |
6476 | void *argp2 = 0 ; | |
6477 | int res2 = 0 ; | |
6478 | PyObject *swig_obj[2] ; | |
6479 | ||
6480 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; | |
6481 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6482 | if (!SWIG_IsOK(res1)) { | |
6483 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6484 | } | |
6485 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6486 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6487 | if (!SWIG_IsOK(res2)) { | |
6488 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6489 | } | |
6490 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6491 | if (arg1) (arg1)->floating_size = *arg2; | |
6492 | ||
6493 | resultobj = SWIG_Py_Void(); | |
6494 | return resultobj; | |
6495 | fail: | |
6496 | return NULL; | |
6497 | } | |
6498 | ||
6499 | ||
6500 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6501 | PyObject *resultobj = 0; | |
6502 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6503 | wxSize *result = 0 ; | |
6504 | void *argp1 = 0 ; | |
6505 | int res1 = 0 ; | |
6506 | PyObject *swig_obj[1] ; | |
6507 | ||
6508 | if (!args) SWIG_fail; | |
6509 | swig_obj[0] = args; | |
6510 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6511 | if (!SWIG_IsOK(res1)) { | |
6512 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6513 | } | |
6514 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6515 | result = (wxSize *)& ((arg1)->floating_size); | |
6516 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6517 | return resultobj; | |
6518 | fail: | |
6519 | return NULL; | |
6520 | } | |
6521 | ||
6522 | ||
6523 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6524 | PyObject *resultobj = 0; | |
6525 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6526 | int arg2 ; | |
6527 | void *argp1 = 0 ; | |
6528 | int res1 = 0 ; | |
6529 | int val2 ; | |
6530 | int ecode2 = 0 ; | |
6531 | PyObject *swig_obj[2] ; | |
6532 | ||
6533 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; | |
6534 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6535 | if (!SWIG_IsOK(res1)) { | |
6536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6537 | } | |
6538 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6539 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6540 | if (!SWIG_IsOK(ecode2)) { | |
6541 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); | |
6542 | } | |
6543 | arg2 = static_cast< int >(val2); | |
6544 | if (arg1) (arg1)->dock_proportion = arg2; | |
6545 | ||
6546 | resultobj = SWIG_Py_Void(); | |
6547 | return resultobj; | |
6548 | fail: | |
6549 | return NULL; | |
6550 | } | |
6551 | ||
6552 | ||
6553 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6554 | PyObject *resultobj = 0; | |
6555 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6556 | int result; | |
6557 | void *argp1 = 0 ; | |
6558 | int res1 = 0 ; | |
6559 | PyObject *swig_obj[1] ; | |
6560 | ||
6561 | if (!args) SWIG_fail; | |
6562 | swig_obj[0] = args; | |
6563 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6564 | if (!SWIG_IsOK(res1)) { | |
6565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6566 | } | |
6567 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6568 | result = (int) ((arg1)->dock_proportion); | |
6569 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6570 | return resultobj; | |
6571 | fail: | |
6572 | return NULL; | |
6573 | } | |
6574 | ||
6575 | ||
6576 | SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6577 | PyObject *resultobj = 0; | |
6578 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6579 | wxPaneButtonArray arg2 ; | |
6580 | void *argp1 = 0 ; | |
6581 | int res1 = 0 ; | |
6582 | void *argp2 ; | |
6583 | int res2 = 0 ; | |
6584 | PyObject *swig_obj[2] ; | |
6585 | ||
6586 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; | |
6587 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6588 | if (!SWIG_IsOK(res1)) { | |
6589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6590 | } | |
6591 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6592 | { | |
6593 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0); | |
6594 | if (!SWIG_IsOK(res2)) { | |
6595 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'"); | |
6596 | } | |
6597 | if (!argp2) { | |
6598 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'"); | |
6599 | } else { | |
6600 | wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2); | |
6601 | arg2 = *temp; | |
6602 | if (SWIG_IsNewObj(res2)) delete temp; | |
6603 | } | |
6604 | } | |
6605 | if (arg1) (arg1)->buttons = arg2; | |
6606 | ||
6607 | resultobj = SWIG_Py_Void(); | |
6608 | return resultobj; | |
6609 | fail: | |
6610 | return NULL; | |
6611 | } | |
6612 | ||
6613 | ||
6614 | SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6615 | PyObject *resultobj = 0; | |
6616 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6617 | wxPaneButtonArray result; | |
6618 | void *argp1 = 0 ; | |
6619 | int res1 = 0 ; | |
6620 | PyObject *swig_obj[1] ; | |
6621 | ||
6622 | if (!args) SWIG_fail; | |
6623 | swig_obj[0] = args; | |
6624 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6625 | if (!SWIG_IsOK(res1)) { | |
6626 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6627 | } | |
6628 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6629 | result = ((arg1)->buttons); | |
6630 | resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 ); | |
6631 | return resultobj; | |
6632 | fail: | |
6633 | return NULL; | |
6634 | } | |
6635 | ||
6636 | ||
6637 | SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6638 | PyObject *resultobj = 0; | |
6639 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6640 | wxRect *arg2 = (wxRect *) 0 ; | |
6641 | void *argp1 = 0 ; | |
6642 | int res1 = 0 ; | |
6643 | void *argp2 = 0 ; | |
6644 | int res2 = 0 ; | |
6645 | PyObject *swig_obj[2] ; | |
6646 | ||
6647 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; | |
6648 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6649 | if (!SWIG_IsOK(res1)) { | |
6650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6651 | } | |
6652 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6653 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
6654 | if (!SWIG_IsOK(res2)) { | |
6655 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
6656 | } | |
6657 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
6658 | if (arg1) (arg1)->rect = *arg2; | |
6659 | ||
6660 | resultobj = SWIG_Py_Void(); | |
6661 | return resultobj; | |
6662 | fail: | |
6663 | return NULL; | |
6664 | } | |
6665 | ||
6666 | ||
6667 | SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6668 | PyObject *resultobj = 0; | |
6669 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6670 | wxRect *result = 0 ; | |
6671 | void *argp1 = 0 ; | |
6672 | int res1 = 0 ; | |
6673 | PyObject *swig_obj[1] ; | |
6674 | ||
6675 | if (!args) SWIG_fail; | |
6676 | swig_obj[0] = args; | |
6677 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6678 | if (!SWIG_IsOK(res1)) { | |
6679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6680 | } | |
6681 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6682 | result = (wxRect *)& ((arg1)->rect); | |
6683 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
6684 | return resultobj; | |
6685 | fail: | |
6686 | return NULL; | |
6687 | } | |
6688 | ||
6689 | ||
6690 | SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6691 | PyObject *obj; | |
6692 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6693 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj)); | |
6694 | return SWIG_Py_Void(); | |
6695 | } | |
6696 | ||
6697 | SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6698 | return SWIG_Python_InitShadowInstance(args); | |
6699 | } | |
6700 | ||
6701 | SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6702 | PyObject *resultobj = 0; | |
10044bf1 | 6703 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 RD |
6704 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
6705 | wxFrameManager *result = 0 ; | |
6706 | void *argp1 = 0 ; | |
6707 | int res1 = 0 ; | |
6708 | int val2 ; | |
6709 | int ecode2 = 0 ; | |
6710 | PyObject * obj0 = 0 ; | |
6711 | PyObject * obj1 = 0 ; | |
6712 | char * kwnames[] = { | |
10044bf1 | 6713 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
6714 | }; |
6715 | ||
6716 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
6717 | if (obj0) { | |
10044bf1 | 6718 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 6719 | if (!SWIG_IsOK(res1)) { |
10044bf1 | 6720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 6721 | } |
10044bf1 | 6722 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
6723 | } |
6724 | if (obj1) { | |
6725 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6726 | if (!SWIG_IsOK(ecode2)) { | |
6727 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'"); | |
6728 | } | |
6729 | arg2 = static_cast< int >(val2); | |
6730 | } | |
6731 | { | |
6732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6733 | result = (wxFrameManager *)new wxFrameManager(arg1,arg2); | |
6734 | wxPyEndAllowThreads(__tstate); | |
6735 | if (PyErr_Occurred()) SWIG_fail; | |
6736 | } | |
6737 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 ); | |
6738 | return resultobj; | |
6739 | fail: | |
6740 | return NULL; | |
6741 | } | |
6742 | ||
6743 | ||
6744 | SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6745 | PyObject *resultobj = 0; | |
6746 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6747 | void *argp1 = 0 ; | |
6748 | int res1 = 0 ; | |
6749 | PyObject *swig_obj[1] ; | |
6750 | ||
6751 | if (!args) SWIG_fail; | |
6752 | swig_obj[0] = args; | |
6753 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 ); | |
6754 | if (!SWIG_IsOK(res1)) { | |
6755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6756 | } | |
6757 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6758 | { | |
6759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6760 | delete arg1; | |
6761 | ||
6762 | wxPyEndAllowThreads(__tstate); | |
6763 | if (PyErr_Occurred()) SWIG_fail; | |
6764 | } | |
6765 | resultobj = SWIG_Py_Void(); | |
6766 | return resultobj; | |
6767 | fail: | |
6768 | return NULL; | |
6769 | } | |
6770 | ||
6771 | ||
6772 | SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6773 | PyObject *resultobj = 0; | |
6774 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6775 | void *argp1 = 0 ; | |
6776 | int res1 = 0 ; | |
6777 | PyObject *swig_obj[1] ; | |
6778 | ||
6779 | if (!args) SWIG_fail; | |
6780 | swig_obj[0] = args; | |
6781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6782 | if (!SWIG_IsOK(res1)) { | |
6783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6784 | } | |
6785 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6786 | { | |
6787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6788 | (arg1)->UnInit(); | |
6789 | wxPyEndAllowThreads(__tstate); | |
6790 | if (PyErr_Occurred()) SWIG_fail; | |
6791 | } | |
6792 | resultobj = SWIG_Py_Void(); | |
6793 | return resultobj; | |
6794 | fail: | |
6795 | return NULL; | |
6796 | } | |
6797 | ||
6798 | ||
6799 | SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6800 | PyObject *resultobj = 0; | |
6801 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6802 | int arg2 ; | |
6803 | void *argp1 = 0 ; | |
6804 | int res1 = 0 ; | |
6805 | int val2 ; | |
6806 | int ecode2 = 0 ; | |
6807 | PyObject * obj0 = 0 ; | |
6808 | PyObject * obj1 = 0 ; | |
6809 | char * kwnames[] = { | |
6810 | (char *) "self",(char *) "flags", NULL | |
6811 | }; | |
6812 | ||
6813 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
6814 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6815 | if (!SWIG_IsOK(res1)) { | |
6816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6817 | } | |
6818 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6819 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6820 | if (!SWIG_IsOK(ecode2)) { | |
6821 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
6822 | } | |
6823 | arg2 = static_cast< int >(val2); | |
6824 | { | |
6825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6826 | (arg1)->SetFlags(arg2); | |
6827 | wxPyEndAllowThreads(__tstate); | |
6828 | if (PyErr_Occurred()) SWIG_fail; | |
6829 | } | |
6830 | resultobj = SWIG_Py_Void(); | |
6831 | return resultobj; | |
6832 | fail: | |
6833 | return NULL; | |
6834 | } | |
6835 | ||
6836 | ||
6837 | SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6838 | PyObject *resultobj = 0; | |
6839 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6840 | int result; | |
6841 | void *argp1 = 0 ; | |
6842 | int res1 = 0 ; | |
6843 | PyObject *swig_obj[1] ; | |
6844 | ||
6845 | if (!args) SWIG_fail; | |
6846 | swig_obj[0] = args; | |
6847 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6848 | if (!SWIG_IsOK(res1)) { | |
6849 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); | |
6850 | } | |
6851 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6852 | { | |
6853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6854 | result = (int)((wxFrameManager const *)arg1)->GetFlags(); | |
6855 | wxPyEndAllowThreads(__tstate); | |
6856 | if (PyErr_Occurred()) SWIG_fail; | |
6857 | } | |
6858 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6859 | return resultobj; | |
6860 | fail: | |
6861 | return NULL; | |
6862 | } | |
6863 | ||
6864 | ||
10044bf1 | 6865 | SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
6866 | PyObject *resultobj = 0; |
6867 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
1d5ee749 | 6868 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
6869 | void *argp1 = 0 ; |
6870 | int res1 = 0 ; | |
6871 | void *argp2 = 0 ; | |
6872 | int res2 = 0 ; | |
6873 | PyObject * obj0 = 0 ; | |
6874 | PyObject * obj1 = 0 ; | |
6875 | char * kwnames[] = { | |
10044bf1 | 6876 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
6877 | }; |
6878 | ||
10044bf1 | 6879 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 RD |
6880 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
6881 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 6882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
27e45892 RD |
6883 | } |
6884 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
1d5ee749 | 6885 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 6886 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 6887 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 6888 | } |
1d5ee749 | 6889 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
6890 | { |
6891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 6892 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
6893 | wxPyEndAllowThreads(__tstate); |
6894 | if (PyErr_Occurred()) SWIG_fail; | |
6895 | } | |
6896 | resultobj = SWIG_Py_Void(); | |
6897 | return resultobj; | |
6898 | fail: | |
6899 | return NULL; | |
6900 | } | |
6901 | ||
6902 | ||
10044bf1 | 6903 | SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
6904 | PyObject *resultobj = 0; |
6905 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
1d5ee749 | 6906 | wxWindow *result = 0 ; |
27e45892 RD |
6907 | void *argp1 = 0 ; |
6908 | int res1 = 0 ; | |
6909 | PyObject *swig_obj[1] ; | |
6910 | ||
6911 | if (!args) SWIG_fail; | |
6912 | swig_obj[0] = args; | |
6913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6914 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 6915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); |
27e45892 RD |
6916 | } |
6917 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6918 | { | |
6919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 6920 | result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
6921 | wxPyEndAllowThreads(__tstate); |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
6923 | } | |
6924 | { | |
6925 | resultobj = wxPyMake_wxObject(result, 0); | |
6926 | } | |
6927 | return resultobj; | |
6928 | fail: | |
6929 | return NULL; | |
6930 | } | |
6931 | ||
6932 | ||
6933 | SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6934 | PyObject *resultobj = 0; | |
6935 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6936 | wxDockArt *arg2 = (wxDockArt *) 0 ; | |
6937 | void *argp1 = 0 ; | |
6938 | int res1 = 0 ; | |
6939 | int res2 = 0 ; | |
6940 | PyObject * obj0 = 0 ; | |
6941 | PyObject * obj1 = 0 ; | |
6942 | char * kwnames[] = { | |
6943 | (char *) "self",(char *) "art_provider", NULL | |
6944 | }; | |
6945 | ||
6946 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
6947 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6948 | if (!SWIG_IsOK(res1)) { | |
6949 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6950 | } | |
6951 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6952 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 ); | |
6953 | if (!SWIG_IsOK(res2)) { | |
6954 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'"); | |
6955 | } | |
6956 | { | |
6957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6958 | (arg1)->SetArtProvider(arg2); | |
6959 | wxPyEndAllowThreads(__tstate); | |
6960 | if (PyErr_Occurred()) SWIG_fail; | |
6961 | } | |
6962 | resultobj = SWIG_Py_Void(); | |
6963 | return resultobj; | |
6964 | fail: | |
6965 | return NULL; | |
6966 | } | |
6967 | ||
6968 | ||
6969 | SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6970 | PyObject *resultobj = 0; | |
6971 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6972 | wxDockArt *result = 0 ; | |
6973 | void *argp1 = 0 ; | |
6974 | int res1 = 0 ; | |
6975 | PyObject *swig_obj[1] ; | |
6976 | ||
6977 | if (!args) SWIG_fail; | |
6978 | swig_obj[0] = args; | |
6979 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6980 | if (!SWIG_IsOK(res1)) { | |
6981 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); | |
6982 | } | |
6983 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6984 | { | |
6985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6986 | result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider(); | |
6987 | wxPyEndAllowThreads(__tstate); | |
6988 | if (PyErr_Occurred()) SWIG_fail; | |
6989 | } | |
6990 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
6991 | return resultobj; | |
6992 | fail: | |
6993 | return NULL; | |
6994 | } | |
6995 | ||
6996 | ||
6997 | SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6998 | PyObject *resultobj = 0; | |
6999 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7000 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7001 | wxPaneInfo *result = 0 ; | |
7002 | void *argp1 = 0 ; | |
7003 | int res1 = 0 ; | |
7004 | void *argp2 = 0 ; | |
7005 | int res2 = 0 ; | |
7006 | PyObject * obj0 = 0 ; | |
7007 | PyObject * obj1 = 0 ; | |
7008 | char * kwnames[] = { | |
7009 | (char *) "self",(char *) "window", NULL | |
7010 | }; | |
7011 | ||
7012 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; | |
7013 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7014 | if (!SWIG_IsOK(res1)) { | |
7015 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7016 | } | |
7017 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7018 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7019 | if (!SWIG_IsOK(res2)) { | |
7020 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7021 | } | |
7022 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7023 | { | |
7024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7025 | { | |
7026 | wxPaneInfo &_result_ref = (arg1)->GetPane(arg2); | |
7027 | result = (wxPaneInfo *) &_result_ref; | |
7028 | } | |
7029 | wxPyEndAllowThreads(__tstate); | |
7030 | if (PyErr_Occurred()) SWIG_fail; | |
7031 | } | |
7032 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7033 | return resultobj; | |
7034 | fail: | |
7035 | return NULL; | |
7036 | } | |
7037 | ||
7038 | ||
7039 | SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7040 | PyObject *resultobj = 0; | |
7041 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7042 | wxString *arg2 = 0 ; | |
7043 | wxPaneInfo *result = 0 ; | |
7044 | void *argp1 = 0 ; | |
7045 | int res1 = 0 ; | |
7046 | bool temp2 = false ; | |
7047 | PyObject * obj0 = 0 ; | |
7048 | PyObject * obj1 = 0 ; | |
7049 | char * kwnames[] = { | |
7050 | (char *) "self",(char *) "name", NULL | |
7051 | }; | |
7052 | ||
7053 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
7054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7055 | if (!SWIG_IsOK(res1)) { | |
7056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7057 | } | |
7058 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7059 | { | |
7060 | arg2 = wxString_in_helper(obj1); | |
7061 | if (arg2 == NULL) SWIG_fail; | |
7062 | temp2 = true; | |
7063 | } | |
7064 | { | |
7065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7066 | { | |
7067 | wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); | |
7068 | result = (wxPaneInfo *) &_result_ref; | |
7069 | } | |
7070 | wxPyEndAllowThreads(__tstate); | |
7071 | if (PyErr_Occurred()) SWIG_fail; | |
7072 | } | |
7073 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7074 | { | |
7075 | if (temp2) | |
7076 | delete arg2; | |
7077 | } | |
7078 | return resultobj; | |
7079 | fail: | |
7080 | { | |
7081 | if (temp2) | |
7082 | delete arg2; | |
7083 | } | |
7084 | return NULL; | |
7085 | } | |
7086 | ||
7087 | ||
7088 | SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7089 | PyObject *resultobj = 0; | |
7090 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7091 | wxPaneInfoArray *result = 0 ; | |
7092 | void *argp1 = 0 ; | |
7093 | int res1 = 0 ; | |
7094 | PyObject *swig_obj[1] ; | |
7095 | ||
7096 | if (!args) SWIG_fail; | |
7097 | swig_obj[0] = args; | |
7098 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7099 | if (!SWIG_IsOK(res1)) { | |
7100 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7101 | } | |
7102 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7103 | { | |
7104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7105 | { | |
7106 | wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); | |
7107 | result = (wxPaneInfoArray *) &_result_ref; | |
7108 | } | |
7109 | wxPyEndAllowThreads(__tstate); | |
7110 | if (PyErr_Occurred()) SWIG_fail; | |
7111 | } | |
7112 | { | |
7113 | resultobj = PyList_New(0); | |
7114 | for (size_t i=0; i < result->GetCount(); i++) { | |
7115 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0); | |
7116 | PyList_Append(resultobj, pane_obj); | |
7117 | } | |
7118 | } | |
7119 | return resultobj; | |
7120 | fail: | |
7121 | return NULL; | |
7122 | } | |
7123 | ||
7124 | ||
7125 | SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7126 | PyObject *resultobj = 0; | |
7127 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7128 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7129 | wxPaneInfo *arg3 = 0 ; | |
7130 | bool result; | |
7131 | void *argp1 = 0 ; | |
7132 | int res1 = 0 ; | |
7133 | void *argp2 = 0 ; | |
7134 | int res2 = 0 ; | |
7135 | void *argp3 = 0 ; | |
7136 | int res3 = 0 ; | |
7137 | PyObject * obj0 = 0 ; | |
7138 | PyObject * obj1 = 0 ; | |
7139 | PyObject * obj2 = 0 ; | |
7140 | char * kwnames[] = { | |
7141 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7142 | }; | |
7143 | ||
7144 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7145 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7146 | if (!SWIG_IsOK(res1)) { | |
7147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7148 | } | |
7149 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7150 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7151 | if (!SWIG_IsOK(res2)) { | |
7152 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7153 | } | |
7154 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7155 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7156 | if (!SWIG_IsOK(res3)) { | |
7157 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7158 | } | |
7159 | if (!argp3) { | |
7160 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7161 | } | |
7162 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7163 | { | |
7164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7165 | result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3); | |
7166 | wxPyEndAllowThreads(__tstate); | |
7167 | if (PyErr_Occurred()) SWIG_fail; | |
7168 | } | |
7169 | { | |
7170 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7171 | } | |
7172 | return resultobj; | |
7173 | fail: | |
7174 | return NULL; | |
7175 | } | |
7176 | ||
7177 | ||
10044bf1 RD |
7178 | SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7179 | PyObject *resultobj = 0; | |
7180 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7181 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7182 | wxPaneInfo *arg3 = 0 ; | |
7183 | wxPoint *arg4 = 0 ; | |
7184 | bool result; | |
7185 | void *argp1 = 0 ; | |
7186 | int res1 = 0 ; | |
7187 | void *argp2 = 0 ; | |
7188 | int res2 = 0 ; | |
7189 | void *argp3 = 0 ; | |
7190 | int res3 = 0 ; | |
7191 | wxPoint temp4 ; | |
7192 | PyObject * obj0 = 0 ; | |
7193 | PyObject * obj1 = 0 ; | |
7194 | PyObject * obj2 = 0 ; | |
7195 | PyObject * obj3 = 0 ; | |
7196 | char * kwnames[] = { | |
7197 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7198 | }; | |
7199 | ||
7200 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7201 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7202 | if (!SWIG_IsOK(res1)) { | |
7203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7204 | } | |
7205 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7206 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7207 | if (!SWIG_IsOK(res2)) { | |
7208 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7209 | } | |
7210 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7211 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7212 | if (!SWIG_IsOK(res3)) { | |
7213 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7214 | } | |
7215 | if (!argp3) { | |
7216 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7217 | } | |
7218 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7219 | { | |
7220 | arg4 = &temp4; | |
7221 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7222 | } | |
7223 | { | |
7224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7225 | result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4); | |
7226 | wxPyEndAllowThreads(__tstate); | |
7227 | if (PyErr_Occurred()) SWIG_fail; | |
7228 | } | |
7229 | { | |
7230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7231 | } | |
7232 | return resultobj; | |
7233 | fail: | |
7234 | return NULL; | |
7235 | } | |
7236 | ||
7237 | ||
27e45892 RD |
7238 | SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7239 | PyObject *resultobj = 0; | |
7240 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7241 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7242 | int arg3 = (int) wxLEFT ; | |
7243 | wxString const &arg4_defvalue = wxEmptyString ; | |
7244 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7245 | bool result; | |
7246 | void *argp1 = 0 ; | |
7247 | int res1 = 0 ; | |
7248 | void *argp2 = 0 ; | |
7249 | int res2 = 0 ; | |
7250 | int val3 ; | |
7251 | int ecode3 = 0 ; | |
7252 | bool temp4 = false ; | |
7253 | PyObject * obj0 = 0 ; | |
7254 | PyObject * obj1 = 0 ; | |
7255 | PyObject * obj2 = 0 ; | |
7256 | PyObject * obj3 = 0 ; | |
7257 | char * kwnames[] = { | |
7258 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7259 | }; | |
7260 | ||
7261 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7262 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7263 | if (!SWIG_IsOK(res1)) { | |
7264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7265 | } | |
7266 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7267 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7268 | if (!SWIG_IsOK(res2)) { | |
7269 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7270 | } | |
7271 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7272 | if (obj2) { | |
7273 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7274 | if (!SWIG_IsOK(ecode3)) { | |
7275 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); | |
7276 | } | |
7277 | arg3 = static_cast< int >(val3); | |
7278 | } | |
7279 | if (obj3) { | |
7280 | { | |
7281 | arg4 = wxString_in_helper(obj3); | |
7282 | if (arg4 == NULL) SWIG_fail; | |
7283 | temp4 = true; | |
7284 | } | |
7285 | } | |
7286 | { | |
7287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7288 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7289 | wxPyEndAllowThreads(__tstate); | |
7290 | if (PyErr_Occurred()) SWIG_fail; | |
7291 | } | |
7292 | { | |
7293 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7294 | } | |
7295 | { | |
7296 | if (temp4) | |
7297 | delete arg4; | |
7298 | } | |
7299 | return resultobj; | |
7300 | fail: | |
7301 | { | |
7302 | if (temp4) | |
7303 | delete arg4; | |
7304 | } | |
7305 | return NULL; | |
7306 | } | |
7307 | ||
7308 | ||
7309 | SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7310 | PyObject *resultobj = 0; | |
7311 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7312 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7313 | wxPaneInfo *arg3 = 0 ; | |
7314 | int arg4 = (int) wxAUI_INSERT_PANE ; | |
7315 | bool result; | |
7316 | void *argp1 = 0 ; | |
7317 | int res1 = 0 ; | |
7318 | void *argp2 = 0 ; | |
7319 | int res2 = 0 ; | |
7320 | void *argp3 = 0 ; | |
7321 | int res3 = 0 ; | |
7322 | int val4 ; | |
7323 | int ecode4 = 0 ; | |
7324 | PyObject * obj0 = 0 ; | |
7325 | PyObject * obj1 = 0 ; | |
7326 | PyObject * obj2 = 0 ; | |
7327 | PyObject * obj3 = 0 ; | |
7328 | char * kwnames[] = { | |
7329 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7330 | }; | |
7331 | ||
7332 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7333 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7334 | if (!SWIG_IsOK(res1)) { | |
7335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7336 | } | |
7337 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7338 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7339 | if (!SWIG_IsOK(res2)) { | |
7340 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7341 | } | |
7342 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7343 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7344 | if (!SWIG_IsOK(res3)) { | |
7345 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7346 | } | |
7347 | if (!argp3) { | |
7348 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7349 | } | |
7350 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7351 | if (obj3) { | |
7352 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7353 | if (!SWIG_IsOK(ecode4)) { | |
7354 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); | |
7355 | } | |
7356 | arg4 = static_cast< int >(val4); | |
7357 | } | |
7358 | { | |
7359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7360 | result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4); | |
7361 | wxPyEndAllowThreads(__tstate); | |
7362 | if (PyErr_Occurred()) SWIG_fail; | |
7363 | } | |
7364 | { | |
7365 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7366 | } | |
7367 | return resultobj; | |
7368 | fail: | |
7369 | return NULL; | |
7370 | } | |
7371 | ||
7372 | ||
7373 | SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7374 | PyObject *resultobj = 0; | |
7375 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7376 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7377 | bool result; | |
7378 | void *argp1 = 0 ; | |
7379 | int res1 = 0 ; | |
7380 | void *argp2 = 0 ; | |
7381 | int res2 = 0 ; | |
7382 | PyObject * obj0 = 0 ; | |
7383 | PyObject * obj1 = 0 ; | |
7384 | char * kwnames[] = { | |
7385 | (char *) "self",(char *) "window", NULL | |
7386 | }; | |
7387 | ||
7388 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7389 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7390 | if (!SWIG_IsOK(res1)) { | |
7391 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7392 | } | |
7393 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7394 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7395 | if (!SWIG_IsOK(res2)) { | |
7396 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7397 | } | |
7398 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7399 | { | |
7400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7401 | result = (bool)(arg1)->DetachPane(arg2); | |
7402 | wxPyEndAllowThreads(__tstate); | |
7403 | if (PyErr_Occurred()) SWIG_fail; | |
7404 | } | |
7405 | { | |
7406 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7407 | } | |
7408 | return resultobj; | |
7409 | fail: | |
7410 | return NULL; | |
7411 | } | |
7412 | ||
7413 | ||
10044bf1 RD |
7414 | SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7415 | PyObject *resultobj = 0; | |
7416 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7417 | wxPaneInfo *arg2 = 0 ; | |
7418 | wxString result; | |
7419 | void *argp1 = 0 ; | |
7420 | int res1 = 0 ; | |
7421 | void *argp2 = 0 ; | |
7422 | int res2 = 0 ; | |
7423 | PyObject * obj0 = 0 ; | |
7424 | PyObject * obj1 = 0 ; | |
7425 | char * kwnames[] = { | |
7426 | (char *) "self",(char *) "pane", NULL | |
7427 | }; | |
7428 | ||
7429 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
7430 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7431 | if (!SWIG_IsOK(res1)) { | |
7432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7433 | } | |
7434 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7435 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7436 | if (!SWIG_IsOK(res2)) { | |
7437 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7438 | } | |
7439 | if (!argp2) { | |
7440 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7441 | } | |
7442 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
7443 | { | |
7444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7445 | result = (arg1)->SavePaneInfo(*arg2); | |
7446 | wxPyEndAllowThreads(__tstate); | |
7447 | if (PyErr_Occurred()) SWIG_fail; | |
7448 | } | |
7449 | { | |
7450 | #if wxUSE_UNICODE | |
7451 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7452 | #else | |
7453 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7454 | #endif | |
7455 | } | |
7456 | return resultobj; | |
7457 | fail: | |
7458 | return NULL; | |
7459 | } | |
7460 | ||
7461 | ||
7462 | SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7463 | PyObject *resultobj = 0; | |
7464 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7465 | wxString arg2 ; | |
7466 | wxPaneInfo *arg3 = 0 ; | |
7467 | void *argp1 = 0 ; | |
7468 | int res1 = 0 ; | |
7469 | void *argp3 = 0 ; | |
7470 | int res3 = 0 ; | |
7471 | PyObject * obj0 = 0 ; | |
7472 | PyObject * obj1 = 0 ; | |
7473 | PyObject * obj2 = 0 ; | |
7474 | char * kwnames[] = { | |
7475 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7476 | }; | |
7477 | ||
7478 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7479 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7480 | if (!SWIG_IsOK(res1)) { | |
7481 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7482 | } | |
7483 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7484 | { | |
7485 | wxString* sptr = wxString_in_helper(obj1); | |
7486 | if (sptr == NULL) SWIG_fail; | |
7487 | arg2 = *sptr; | |
7488 | delete sptr; | |
7489 | } | |
7490 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7491 | if (!SWIG_IsOK(res3)) { | |
7492 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'"); | |
7493 | } | |
7494 | if (!argp3) { | |
7495 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'"); | |
7496 | } | |
7497 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7498 | { | |
7499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7500 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7501 | wxPyEndAllowThreads(__tstate); | |
7502 | if (PyErr_Occurred()) SWIG_fail; | |
7503 | } | |
7504 | resultobj = SWIG_Py_Void(); | |
7505 | return resultobj; | |
7506 | fail: | |
7507 | return NULL; | |
7508 | } | |
7509 | ||
7510 | ||
27e45892 RD |
7511 | SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7512 | PyObject *resultobj = 0; | |
7513 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7514 | wxString result; | |
7515 | void *argp1 = 0 ; | |
7516 | int res1 = 0 ; | |
7517 | PyObject *swig_obj[1] ; | |
7518 | ||
7519 | if (!args) SWIG_fail; | |
7520 | swig_obj[0] = args; | |
7521 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7522 | if (!SWIG_IsOK(res1)) { | |
7523 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7524 | } | |
7525 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7526 | { | |
7527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7528 | result = (arg1)->SavePerspective(); | |
7529 | wxPyEndAllowThreads(__tstate); | |
7530 | if (PyErr_Occurred()) SWIG_fail; | |
7531 | } | |
7532 | { | |
7533 | #if wxUSE_UNICODE | |
7534 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7535 | #else | |
7536 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7537 | #endif | |
7538 | } | |
7539 | return resultobj; | |
7540 | fail: | |
7541 | return NULL; | |
7542 | } | |
7543 | ||
7544 | ||
7545 | SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7546 | PyObject *resultobj = 0; | |
7547 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7548 | wxString *arg2 = 0 ; | |
7549 | bool arg3 = (bool) true ; | |
7550 | bool result; | |
7551 | void *argp1 = 0 ; | |
7552 | int res1 = 0 ; | |
7553 | bool temp2 = false ; | |
7554 | bool val3 ; | |
7555 | int ecode3 = 0 ; | |
7556 | PyObject * obj0 = 0 ; | |
7557 | PyObject * obj1 = 0 ; | |
7558 | PyObject * obj2 = 0 ; | |
7559 | char * kwnames[] = { | |
7560 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7561 | }; | |
7562 | ||
7563 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7564 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7565 | if (!SWIG_IsOK(res1)) { | |
7566 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7567 | } | |
7568 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7569 | { | |
7570 | arg2 = wxString_in_helper(obj1); | |
7571 | if (arg2 == NULL) SWIG_fail; | |
7572 | temp2 = true; | |
7573 | } | |
7574 | if (obj2) { | |
7575 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
7576 | if (!SWIG_IsOK(ecode3)) { | |
7577 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); | |
7578 | } | |
7579 | arg3 = static_cast< bool >(val3); | |
7580 | } | |
7581 | { | |
7582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7583 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
7584 | wxPyEndAllowThreads(__tstate); | |
7585 | if (PyErr_Occurred()) SWIG_fail; | |
7586 | } | |
7587 | { | |
7588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7589 | } | |
7590 | { | |
7591 | if (temp2) | |
7592 | delete arg2; | |
7593 | } | |
7594 | return resultobj; | |
7595 | fail: | |
7596 | { | |
7597 | if (temp2) | |
7598 | delete arg2; | |
7599 | } | |
7600 | return NULL; | |
7601 | } | |
7602 | ||
7603 | ||
7604 | SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7605 | PyObject *resultobj = 0; | |
7606 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7607 | void *argp1 = 0 ; | |
7608 | int res1 = 0 ; | |
7609 | PyObject *swig_obj[1] ; | |
7610 | ||
7611 | if (!args) SWIG_fail; | |
7612 | swig_obj[0] = args; | |
7613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7614 | if (!SWIG_IsOK(res1)) { | |
7615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7616 | } | |
7617 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7618 | { | |
7619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7620 | (arg1)->Update(); | |
7621 | wxPyEndAllowThreads(__tstate); | |
7622 | if (PyErr_Occurred()) SWIG_fail; | |
7623 | } | |
7624 | resultobj = SWIG_Py_Void(); | |
7625 | return resultobj; | |
7626 | fail: | |
7627 | return NULL; | |
7628 | } | |
7629 | ||
7630 | ||
10044bf1 | 7631 | SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b RD |
7632 | PyObject *resultobj = 0; |
7633 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
10044bf1 RD |
7634 | wxWindow *arg2 = (wxWindow *) 0 ; |
7635 | wxPoint *arg3 = 0 ; | |
7636 | wxPoint *arg4 = 0 ; | |
81f5836b RD |
7637 | void *argp1 = 0 ; |
7638 | int res1 = 0 ; | |
7639 | void *argp2 = 0 ; | |
7640 | int res2 = 0 ; | |
10044bf1 RD |
7641 | wxPoint temp3 ; |
7642 | wxPoint temp4 ; | |
81f5836b RD |
7643 | PyObject * obj0 = 0 ; |
7644 | PyObject * obj1 = 0 ; | |
10044bf1 RD |
7645 | PyObject * obj2 = 0 ; |
7646 | PyObject * obj3 = 0 ; | |
81f5836b | 7647 | char * kwnames[] = { |
10044bf1 | 7648 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL |
81f5836b RD |
7649 | }; |
7650 | ||
10044bf1 | 7651 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
81f5836b RD |
7652 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
7653 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 7654 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
81f5836b RD |
7655 | } |
7656 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
10044bf1 | 7657 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
81f5836b | 7658 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 7659 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
81f5836b | 7660 | } |
10044bf1 RD |
7661 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
7662 | { | |
7663 | arg3 = &temp3; | |
7664 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7665 | } | |
7666 | { | |
7667 | arg4 = &temp4; | |
7668 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
81f5836b | 7669 | } |
81f5836b RD |
7670 | { |
7671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7672 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); |
81f5836b RD |
7673 | wxPyEndAllowThreads(__tstate); |
7674 | if (PyErr_Occurred()) SWIG_fail; | |
7675 | } | |
7676 | resultobj = SWIG_Py_Void(); | |
7677 | return resultobj; | |
7678 | fail: | |
7679 | return NULL; | |
7680 | } | |
7681 | ||
7682 | ||
10044bf1 | 7683 | SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b RD |
7684 | PyObject *resultobj = 0; |
7685 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
10044bf1 | 7686 | wxRect *arg2 = 0 ; |
81f5836b RD |
7687 | void *argp1 = 0 ; |
7688 | int res1 = 0 ; | |
10044bf1 | 7689 | wxRect temp2 ; |
81f5836b RD |
7690 | PyObject * obj0 = 0 ; |
7691 | PyObject * obj1 = 0 ; | |
7692 | char * kwnames[] = { | |
10044bf1 | 7693 | (char *) "self",(char *) "rect", NULL |
81f5836b RD |
7694 | }; |
7695 | ||
10044bf1 | 7696 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
81f5836b RD |
7697 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
7698 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 7699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
81f5836b RD |
7700 | } |
7701 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
10044bf1 RD |
7702 | { |
7703 | arg2 = &temp2; | |
7704 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
81f5836b | 7705 | } |
81f5836b RD |
7706 | { |
7707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7708 | (arg1)->ShowHint((wxRect const &)*arg2); |
81f5836b RD |
7709 | wxPyEndAllowThreads(__tstate); |
7710 | if (PyErr_Occurred()) SWIG_fail; | |
7711 | } | |
7712 | resultobj = SWIG_Py_Void(); | |
7713 | return resultobj; | |
7714 | fail: | |
7715 | return NULL; | |
7716 | } | |
7717 | ||
7718 | ||
10044bf1 RD |
7719 | SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7720 | PyObject *resultobj = 0; | |
7721 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7722 | void *argp1 = 0 ; | |
7723 | int res1 = 0 ; | |
7724 | PyObject *swig_obj[1] ; | |
7725 | ||
7726 | if (!args) SWIG_fail; | |
7727 | swig_obj[0] = args; | |
7728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7729 | if (!SWIG_IsOK(res1)) { | |
7730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7731 | } | |
7732 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7733 | { | |
7734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7735 | (arg1)->HideHint(); | |
7736 | wxPyEndAllowThreads(__tstate); | |
7737 | if (PyErr_Occurred()) SWIG_fail; | |
7738 | } | |
7739 | resultobj = SWIG_Py_Void(); | |
7740 | return resultobj; | |
7741 | fail: | |
7742 | return NULL; | |
27e45892 RD |
7743 | } |
7744 | ||
27e45892 | 7745 | |
10044bf1 RD |
7746 | SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7747 | PyObject *resultobj = 0; | |
7748 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7749 | wxFrameManagerEvent *arg2 = 0 ; | |
7750 | void *argp1 = 0 ; | |
7751 | int res1 = 0 ; | |
7752 | void *argp2 = 0 ; | |
7753 | int res2 = 0 ; | |
7754 | PyObject * obj0 = 0 ; | |
7755 | PyObject * obj1 = 0 ; | |
7756 | char * kwnames[] = { | |
7757 | (char *) "self",(char *) "evt", NULL | |
7758 | }; | |
7759 | ||
7760 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; | |
7761 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7762 | if (!SWIG_IsOK(res1)) { | |
7763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7764 | } | |
7765 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7766 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 ); | |
7767 | if (!SWIG_IsOK(res2)) { | |
7768 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7769 | } | |
7770 | if (!argp2) { | |
7771 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7772 | } | |
7773 | arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2); | |
7774 | { | |
7775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7776 | (arg1)->OnRender(*arg2); | |
7777 | wxPyEndAllowThreads(__tstate); | |
7778 | if (PyErr_Occurred()) SWIG_fail; | |
7779 | } | |
7780 | resultobj = SWIG_Py_Void(); | |
7781 | return resultobj; | |
7782 | fail: | |
7783 | return NULL; | |
7784 | } | |
7785 | ||
7786 | ||
7787 | SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7788 | PyObject *resultobj = 0; | |
7789 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7790 | wxFrameManagerEvent *arg2 = 0 ; | |
7791 | void *argp1 = 0 ; | |
7792 | int res1 = 0 ; | |
7793 | void *argp2 = 0 ; | |
7794 | int res2 = 0 ; | |
7795 | PyObject * obj0 = 0 ; | |
7796 | PyObject * obj1 = 0 ; | |
7797 | char * kwnames[] = { | |
7798 | (char *) "self",(char *) "evt", NULL | |
7799 | }; | |
7800 | ||
7801 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
7802 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7803 | if (!SWIG_IsOK(res1)) { | |
7804 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7805 | } | |
7806 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7807 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 ); | |
7808 | if (!SWIG_IsOK(res2)) { | |
7809 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7810 | } | |
7811 | if (!argp2) { | |
7812 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7813 | } | |
7814 | arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2); | |
7815 | { | |
7816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7817 | (arg1)->OnPaneButton(*arg2); | |
7818 | wxPyEndAllowThreads(__tstate); | |
7819 | if (PyErr_Occurred()) SWIG_fail; | |
7820 | } | |
7821 | resultobj = SWIG_Py_Void(); | |
7822 | return resultobj; | |
7823 | fail: | |
7824 | return NULL; | |
7825 | } | |
7826 | ||
7827 | ||
7828 | SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7829 | PyObject *obj; | |
7830 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
7831 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj)); | |
7832 | return SWIG_Py_Void(); | |
7833 | } | |
7834 | ||
7835 | SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7836 | return SWIG_Python_InitShadowInstance(args); | |
7837 | } | |
7838 | ||
7839 | SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
27e45892 RD |
7840 | PyObject *resultobj = 0; |
7841 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
7842 | wxFrameManagerEvent *result = 0 ; | |
7843 | int val1 ; | |
7844 | int ecode1 = 0 ; | |
7845 | PyObject * obj0 = 0 ; | |
7846 | char * kwnames[] = { | |
7847 | (char *) "type", NULL | |
7848 | }; | |
7849 | ||
7850 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail; | |
7851 | if (obj0) { | |
7852 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
7853 | if (!SWIG_IsOK(ecode1)) { | |
7854 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
7855 | } | |
7856 | arg1 = static_cast< wxEventType >(val1); | |
7857 | } | |
7858 | { | |
7859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7860 | result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1); | |
7861 | wxPyEndAllowThreads(__tstate); | |
7862 | if (PyErr_Occurred()) SWIG_fail; | |
7863 | } | |
7864 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 ); | |
7865 | return resultobj; | |
7866 | fail: | |
7867 | return NULL; | |
7868 | } | |
7869 | ||
7870 | ||
7871 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7872 | PyObject *resultobj = 0; | |
7873 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
7874 | wxEvent *result = 0 ; | |
7875 | void *argp1 = 0 ; | |
7876 | int res1 = 0 ; | |
7877 | PyObject *swig_obj[1] ; | |
7878 | ||
7879 | if (!args) SWIG_fail; | |
7880 | swig_obj[0] = args; | |
7881 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
7882 | if (!SWIG_IsOK(res1)) { | |
7883 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
7884 | } | |
7885 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
7886 | { | |
7887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7888 | result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone(); | |
7889 | wxPyEndAllowThreads(__tstate); | |
7890 | if (PyErr_Occurred()) SWIG_fail; | |
7891 | } | |
7892 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
7893 | return resultobj; | |
7894 | fail: | |
7895 | return NULL; | |
7896 | } | |
7897 | ||
7898 | ||
7899 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7900 | PyObject *resultobj = 0; | |
7901 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
7902 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
7903 | void *argp1 = 0 ; | |
7904 | int res1 = 0 ; | |
7905 | void *argp2 = 0 ; | |
7906 | int res2 = 0 ; | |
7907 | PyObject * obj0 = 0 ; | |
7908 | PyObject * obj1 = 0 ; | |
7909 | char * kwnames[] = { | |
7910 | (char *) "self",(char *) "p", NULL | |
7911 | }; | |
7912 | ||
7913 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7914 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
7915 | if (!SWIG_IsOK(res1)) { | |
7916 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
7917 | } | |
7918 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
7919 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7920 | if (!SWIG_IsOK(res2)) { | |
7921 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
7922 | } | |
7923 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
7924 | { | |
7925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7926 | (arg1)->SetPane(arg2); | |
7927 | wxPyEndAllowThreads(__tstate); | |
7928 | if (PyErr_Occurred()) SWIG_fail; | |
7929 | } | |
7930 | resultobj = SWIG_Py_Void(); | |
7931 | return resultobj; | |
7932 | fail: | |
7933 | return NULL; | |
7934 | } | |
7935 | ||
7936 | ||
7937 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7938 | PyObject *resultobj = 0; | |
7939 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
7940 | int arg2 ; | |
7941 | void *argp1 = 0 ; | |
7942 | int res1 = 0 ; | |
7943 | int val2 ; | |
7944 | int ecode2 = 0 ; | |
7945 | PyObject * obj0 = 0 ; | |
7946 | PyObject * obj1 = 0 ; | |
7947 | char * kwnames[] = { | |
7948 | (char *) "self",(char *) "b", NULL | |
7949 | }; | |
7950 | ||
7951 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
7952 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
7953 | if (!SWIG_IsOK(res1)) { | |
7954 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
7955 | } | |
7956 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
7957 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7958 | if (!SWIG_IsOK(ecode2)) { | |
7959 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); | |
7960 | } | |
7961 | arg2 = static_cast< int >(val2); | |
7962 | { | |
7963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7964 | (arg1)->SetButton(arg2); | |
7965 | wxPyEndAllowThreads(__tstate); | |
7966 | if (PyErr_Occurred()) SWIG_fail; | |
7967 | } | |
7968 | resultobj = SWIG_Py_Void(); | |
7969 | return resultobj; | |
7970 | fail: | |
7971 | return NULL; | |
7972 | } | |
7973 | ||
7974 | ||
81f5836b RD |
7975 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7976 | PyObject *resultobj = 0; | |
7977 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
7978 | wxDC *arg2 = (wxDC *) 0 ; | |
7979 | void *argp1 = 0 ; | |
7980 | int res1 = 0 ; | |
7981 | void *argp2 = 0 ; | |
7982 | int res2 = 0 ; | |
7983 | PyObject * obj0 = 0 ; | |
7984 | PyObject * obj1 = 0 ; | |
7985 | char * kwnames[] = { | |
7986 | (char *) "self",(char *) "pdc", NULL | |
7987 | }; | |
7988 | ||
7989 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
7990 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
7991 | if (!SWIG_IsOK(res1)) { | |
7992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
7993 | } | |
7994 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
7995 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
7996 | if (!SWIG_IsOK(res2)) { | |
7997 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
7998 | } | |
7999 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8000 | { | |
8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8002 | (arg1)->SetDC(arg2); | |
8003 | wxPyEndAllowThreads(__tstate); | |
8004 | if (PyErr_Occurred()) SWIG_fail; | |
8005 | } | |
8006 | resultobj = SWIG_Py_Void(); | |
8007 | return resultobj; | |
8008 | fail: | |
8009 | return NULL; | |
8010 | } | |
8011 | ||
8012 | ||
27e45892 RD |
8013 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8014 | PyObject *resultobj = 0; | |
8015 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8016 | wxPaneInfo *result = 0 ; | |
8017 | void *argp1 = 0 ; | |
8018 | int res1 = 0 ; | |
8019 | PyObject *swig_obj[1] ; | |
8020 | ||
8021 | if (!args) SWIG_fail; | |
8022 | swig_obj[0] = args; | |
8023 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8024 | if (!SWIG_IsOK(res1)) { | |
8025 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8026 | } | |
8027 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8028 | { | |
8029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8030 | result = (wxPaneInfo *)(arg1)->GetPane(); | |
8031 | wxPyEndAllowThreads(__tstate); | |
8032 | if (PyErr_Occurred()) SWIG_fail; | |
8033 | } | |
8034 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8035 | return resultobj; | |
8036 | fail: | |
8037 | return NULL; | |
8038 | } | |
8039 | ||
8040 | ||
8041 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8042 | PyObject *resultobj = 0; | |
8043 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8044 | int result; | |
8045 | void *argp1 = 0 ; | |
8046 | int res1 = 0 ; | |
8047 | PyObject *swig_obj[1] ; | |
8048 | ||
8049 | if (!args) SWIG_fail; | |
8050 | swig_obj[0] = args; | |
8051 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8052 | if (!SWIG_IsOK(res1)) { | |
8053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8054 | } | |
8055 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8056 | { | |
8057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8058 | result = (int)(arg1)->GetButton(); | |
8059 | wxPyEndAllowThreads(__tstate); | |
8060 | if (PyErr_Occurred()) SWIG_fail; | |
8061 | } | |
8062 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8063 | return resultobj; | |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
81f5836b RD |
8069 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8070 | PyObject *resultobj = 0; | |
8071 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8072 | wxDC *result = 0 ; | |
8073 | void *argp1 = 0 ; | |
8074 | int res1 = 0 ; | |
8075 | PyObject *swig_obj[1] ; | |
8076 | ||
8077 | if (!args) SWIG_fail; | |
8078 | swig_obj[0] = args; | |
8079 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8080 | if (!SWIG_IsOK(res1)) { | |
8081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8082 | } | |
8083 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8084 | { | |
8085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8086 | result = (wxDC *)(arg1)->GetDC(); | |
8087 | wxPyEndAllowThreads(__tstate); | |
8088 | if (PyErr_Occurred()) SWIG_fail; | |
8089 | } | |
8090 | { | |
8091 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8092 | } | |
8093 | return resultobj; | |
8094 | fail: | |
8095 | return NULL; | |
8096 | } | |
8097 | ||
8098 | ||
27e45892 RD |
8099 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8100 | PyObject *resultobj = 0; | |
8101 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8102 | bool arg2 = (bool) true ; | |
8103 | void *argp1 = 0 ; | |
8104 | int res1 = 0 ; | |
8105 | bool val2 ; | |
8106 | int ecode2 = 0 ; | |
8107 | PyObject * obj0 = 0 ; | |
8108 | PyObject * obj1 = 0 ; | |
8109 | char * kwnames[] = { | |
8110 | (char *) "self",(char *) "veto", NULL | |
8111 | }; | |
8112 | ||
8113 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; | |
8114 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8115 | if (!SWIG_IsOK(res1)) { | |
8116 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8117 | } | |
8118 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8119 | if (obj1) { | |
8120 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8121 | if (!SWIG_IsOK(ecode2)) { | |
8122 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); | |
8123 | } | |
8124 | arg2 = static_cast< bool >(val2); | |
8125 | } | |
8126 | { | |
8127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8128 | (arg1)->Veto(arg2); | |
8129 | wxPyEndAllowThreads(__tstate); | |
8130 | if (PyErr_Occurred()) SWIG_fail; | |
8131 | } | |
8132 | resultobj = SWIG_Py_Void(); | |
8133 | return resultobj; | |
8134 | fail: | |
8135 | return NULL; | |
8136 | } | |
8137 | ||
8138 | ||
8139 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8140 | PyObject *resultobj = 0; | |
8141 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8142 | bool result; | |
8143 | void *argp1 = 0 ; | |
8144 | int res1 = 0 ; | |
8145 | PyObject *swig_obj[1] ; | |
8146 | ||
8147 | if (!args) SWIG_fail; | |
8148 | swig_obj[0] = args; | |
8149 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8150 | if (!SWIG_IsOK(res1)) { | |
8151 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8152 | } | |
8153 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8154 | { | |
8155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8156 | result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto(); | |
8157 | wxPyEndAllowThreads(__tstate); | |
8158 | if (PyErr_Occurred()) SWIG_fail; | |
8159 | } | |
8160 | { | |
8161 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8162 | } | |
8163 | return resultobj; | |
8164 | fail: | |
8165 | return NULL; | |
8166 | } | |
8167 | ||
8168 | ||
8169 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8170 | PyObject *resultobj = 0; | |
8171 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8172 | bool arg2 ; | |
8173 | void *argp1 = 0 ; | |
8174 | int res1 = 0 ; | |
8175 | bool val2 ; | |
8176 | int ecode2 = 0 ; | |
8177 | PyObject * obj0 = 0 ; | |
8178 | PyObject * obj1 = 0 ; | |
8179 | char * kwnames[] = { | |
8180 | (char *) "self",(char *) "can_veto", NULL | |
8181 | }; | |
8182 | ||
8183 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; | |
8184 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8185 | if (!SWIG_IsOK(res1)) { | |
8186 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8187 | } | |
8188 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8189 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8190 | if (!SWIG_IsOK(ecode2)) { | |
8191 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); | |
8192 | } | |
8193 | arg2 = static_cast< bool >(val2); | |
8194 | { | |
8195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8196 | (arg1)->SetCanVeto(arg2); | |
8197 | wxPyEndAllowThreads(__tstate); | |
8198 | if (PyErr_Occurred()) SWIG_fail; | |
8199 | } | |
8200 | resultobj = SWIG_Py_Void(); | |
8201 | return resultobj; | |
8202 | fail: | |
8203 | return NULL; | |
8204 | } | |
8205 | ||
8206 | ||
8207 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8208 | PyObject *resultobj = 0; | |
8209 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8210 | bool result; | |
8211 | void *argp1 = 0 ; | |
8212 | int res1 = 0 ; | |
8213 | PyObject *swig_obj[1] ; | |
8214 | ||
8215 | if (!args) SWIG_fail; | |
8216 | swig_obj[0] = args; | |
8217 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8218 | if (!SWIG_IsOK(res1)) { | |
8219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8220 | } | |
8221 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8222 | { | |
8223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8224 | result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto(); | |
8225 | wxPyEndAllowThreads(__tstate); | |
8226 | if (PyErr_Occurred()) SWIG_fail; | |
8227 | } | |
8228 | { | |
8229 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8230 | } | |
8231 | return resultobj; | |
8232 | fail: | |
8233 | return NULL; | |
8234 | } | |
8235 | ||
8236 | ||
8237 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8238 | PyObject *resultobj = 0; | |
8239 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8240 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
8241 | void *argp1 = 0 ; | |
8242 | int res1 = 0 ; | |
8243 | void *argp2 = 0 ; | |
8244 | int res2 = 0 ; | |
8245 | PyObject *swig_obj[2] ; | |
8246 | ||
8247 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; | |
8248 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8249 | if (!SWIG_IsOK(res1)) { | |
8250 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8251 | } | |
8252 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8253 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
8254 | if (!SWIG_IsOK(res2)) { | |
8255 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
8256 | } | |
8257 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
8258 | if (arg1) (arg1)->pane = arg2; | |
8259 | ||
8260 | resultobj = SWIG_Py_Void(); | |
8261 | return resultobj; | |
8262 | fail: | |
8263 | return NULL; | |
8264 | } | |
8265 | ||
8266 | ||
8267 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8268 | PyObject *resultobj = 0; | |
8269 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8270 | wxPaneInfo *result = 0 ; | |
8271 | void *argp1 = 0 ; | |
8272 | int res1 = 0 ; | |
8273 | PyObject *swig_obj[1] ; | |
8274 | ||
8275 | if (!args) SWIG_fail; | |
8276 | swig_obj[0] = args; | |
8277 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8278 | if (!SWIG_IsOK(res1)) { | |
8279 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8280 | } | |
8281 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8282 | result = (wxPaneInfo *) ((arg1)->pane); | |
8283 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8284 | return resultobj; | |
8285 | fail: | |
8286 | return NULL; | |
8287 | } | |
8288 | ||
8289 | ||
8290 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8291 | PyObject *resultobj = 0; | |
8292 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8293 | int arg2 ; | |
8294 | void *argp1 = 0 ; | |
8295 | int res1 = 0 ; | |
8296 | int val2 ; | |
8297 | int ecode2 = 0 ; | |
8298 | PyObject *swig_obj[2] ; | |
8299 | ||
8300 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; | |
8301 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8302 | if (!SWIG_IsOK(res1)) { | |
8303 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8304 | } | |
8305 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8306 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8307 | if (!SWIG_IsOK(ecode2)) { | |
8308 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); | |
8309 | } | |
8310 | arg2 = static_cast< int >(val2); | |
8311 | if (arg1) (arg1)->button = arg2; | |
8312 | ||
8313 | resultobj = SWIG_Py_Void(); | |
8314 | return resultobj; | |
8315 | fail: | |
8316 | return NULL; | |
8317 | } | |
8318 | ||
8319 | ||
8320 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8321 | PyObject *resultobj = 0; | |
8322 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8323 | int result; | |
8324 | void *argp1 = 0 ; | |
8325 | int res1 = 0 ; | |
8326 | PyObject *swig_obj[1] ; | |
8327 | ||
8328 | if (!args) SWIG_fail; | |
8329 | swig_obj[0] = args; | |
8330 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8331 | if (!SWIG_IsOK(res1)) { | |
8332 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8333 | } | |
8334 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8335 | result = (int) ((arg1)->button); | |
8336 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8337 | return resultobj; | |
8338 | fail: | |
8339 | return NULL; | |
8340 | } | |
8341 | ||
8342 | ||
8343 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8344 | PyObject *resultobj = 0; | |
8345 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8346 | bool arg2 ; | |
8347 | void *argp1 = 0 ; | |
8348 | int res1 = 0 ; | |
8349 | bool val2 ; | |
8350 | int ecode2 = 0 ; | |
8351 | PyObject *swig_obj[2] ; | |
8352 | ||
8353 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; | |
8354 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8355 | if (!SWIG_IsOK(res1)) { | |
8356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8357 | } | |
8358 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8359 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
8360 | if (!SWIG_IsOK(ecode2)) { | |
8361 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); | |
8362 | } | |
8363 | arg2 = static_cast< bool >(val2); | |
8364 | if (arg1) (arg1)->veto_flag = arg2; | |
8365 | ||
8366 | resultobj = SWIG_Py_Void(); | |
8367 | return resultobj; | |
8368 | fail: | |
8369 | return NULL; | |
8370 | } | |
8371 | ||
8372 | ||
8373 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8374 | PyObject *resultobj = 0; | |
8375 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8376 | bool result; | |
8377 | void *argp1 = 0 ; | |
8378 | int res1 = 0 ; | |
8379 | PyObject *swig_obj[1] ; | |
8380 | ||
8381 | if (!args) SWIG_fail; | |
8382 | swig_obj[0] = args; | |
8383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8384 | if (!SWIG_IsOK(res1)) { | |
8385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8386 | } | |
8387 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8388 | result = (bool) ((arg1)->veto_flag); | |
8389 | { | |
8390 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8391 | } | |
8392 | return resultobj; | |
8393 | fail: | |
8394 | return NULL; | |
8395 | } | |
8396 | ||
8397 | ||
8398 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8399 | PyObject *resultobj = 0; | |
8400 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8401 | bool arg2 ; | |
8402 | void *argp1 = 0 ; | |
8403 | int res1 = 0 ; | |
8404 | bool val2 ; | |
8405 | int ecode2 = 0 ; | |
8406 | PyObject *swig_obj[2] ; | |
8407 | ||
8408 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; | |
8409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8410 | if (!SWIG_IsOK(res1)) { | |
8411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8412 | } | |
8413 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8414 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
8415 | if (!SWIG_IsOK(ecode2)) { | |
8416 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); | |
8417 | } | |
8418 | arg2 = static_cast< bool >(val2); | |
8419 | if (arg1) (arg1)->canveto_flag = arg2; | |
8420 | ||
8421 | resultobj = SWIG_Py_Void(); | |
8422 | return resultobj; | |
8423 | fail: | |
8424 | return NULL; | |
8425 | } | |
8426 | ||
8427 | ||
8428 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8429 | PyObject *resultobj = 0; | |
8430 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8431 | bool result; | |
8432 | void *argp1 = 0 ; | |
8433 | int res1 = 0 ; | |
8434 | PyObject *swig_obj[1] ; | |
8435 | ||
8436 | if (!args) SWIG_fail; | |
8437 | swig_obj[0] = args; | |
8438 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8439 | if (!SWIG_IsOK(res1)) { | |
8440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8441 | } | |
8442 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8443 | result = (bool) ((arg1)->canveto_flag); | |
8444 | { | |
8445 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8446 | } | |
8447 | return resultobj; | |
8448 | fail: | |
8449 | return NULL; | |
8450 | } | |
8451 | ||
8452 | ||
81f5836b RD |
8453 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8454 | PyObject *resultobj = 0; | |
8455 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8456 | wxDC *arg2 = (wxDC *) 0 ; | |
8457 | void *argp1 = 0 ; | |
8458 | int res1 = 0 ; | |
8459 | void *argp2 = 0 ; | |
8460 | int res2 = 0 ; | |
8461 | PyObject *swig_obj[2] ; | |
8462 | ||
8463 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; | |
8464 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8465 | if (!SWIG_IsOK(res1)) { | |
8466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8467 | } | |
8468 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8469 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); | |
8470 | if (!SWIG_IsOK(res2)) { | |
8471 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); | |
8472 | } | |
8473 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8474 | if (arg1) (arg1)->dc = arg2; | |
8475 | ||
8476 | resultobj = SWIG_Py_Void(); | |
8477 | return resultobj; | |
8478 | fail: | |
8479 | return NULL; | |
8480 | } | |
8481 | ||
8482 | ||
8483 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8484 | PyObject *resultobj = 0; | |
8485 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8486 | wxDC *result = 0 ; | |
8487 | void *argp1 = 0 ; | |
8488 | int res1 = 0 ; | |
8489 | PyObject *swig_obj[1] ; | |
8490 | ||
8491 | if (!args) SWIG_fail; | |
8492 | swig_obj[0] = args; | |
8493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8494 | if (!SWIG_IsOK(res1)) { | |
8495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8496 | } | |
8497 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8498 | result = (wxDC *) ((arg1)->dc); | |
8499 | { | |
8500 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8501 | } | |
8502 | return resultobj; | |
8503 | fail: | |
8504 | return NULL; | |
8505 | } | |
8506 | ||
8507 | ||
27e45892 RD |
8508 | SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8509 | PyObject *obj; | |
8510 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8511 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj)); | |
8512 | return SWIG_Py_Void(); | |
8513 | } | |
8514 | ||
8515 | SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8516 | return SWIG_Python_InitShadowInstance(args); | |
8517 | } | |
8518 | ||
8519 | SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8520 | PyObject *resultobj = 0; | |
8521 | wxDockInfo *result = 0 ; | |
8522 | ||
8523 | if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail; | |
8524 | { | |
8525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8526 | result = (wxDockInfo *)new wxDockInfo(); | |
8527 | wxPyEndAllowThreads(__tstate); | |
8528 | if (PyErr_Occurred()) SWIG_fail; | |
8529 | } | |
8530 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 ); | |
8531 | return resultobj; | |
8532 | fail: | |
8533 | return NULL; | |
8534 | } | |
8535 | ||
8536 | ||
8537 | SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8538 | PyObject *resultobj = 0; | |
8539 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8540 | bool result; | |
8541 | void *argp1 = 0 ; | |
8542 | int res1 = 0 ; | |
8543 | PyObject *swig_obj[1] ; | |
8544 | ||
8545 | if (!args) SWIG_fail; | |
8546 | swig_obj[0] = args; | |
8547 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8548 | if (!SWIG_IsOK(res1)) { | |
8549 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8550 | } | |
8551 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8552 | { | |
8553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8554 | result = (bool)((wxDockInfo const *)arg1)->IsOk(); | |
8555 | wxPyEndAllowThreads(__tstate); | |
8556 | if (PyErr_Occurred()) SWIG_fail; | |
8557 | } | |
8558 | { | |
8559 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8560 | } | |
8561 | return resultobj; | |
8562 | fail: | |
8563 | return NULL; | |
8564 | } | |
8565 | ||
8566 | ||
8567 | SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8568 | PyObject *resultobj = 0; | |
8569 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8570 | bool result; | |
8571 | void *argp1 = 0 ; | |
8572 | int res1 = 0 ; | |
8573 | PyObject *swig_obj[1] ; | |
8574 | ||
8575 | if (!args) SWIG_fail; | |
8576 | swig_obj[0] = args; | |
8577 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8578 | if (!SWIG_IsOK(res1)) { | |
8579 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8580 | } | |
8581 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8582 | { | |
8583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8584 | result = (bool)((wxDockInfo const *)arg1)->IsHorizontal(); | |
8585 | wxPyEndAllowThreads(__tstate); | |
8586 | if (PyErr_Occurred()) SWIG_fail; | |
8587 | } | |
8588 | { | |
8589 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8590 | } | |
8591 | return resultobj; | |
8592 | fail: | |
8593 | return NULL; | |
8594 | } | |
8595 | ||
8596 | ||
8597 | SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8598 | PyObject *resultobj = 0; | |
8599 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8600 | bool result; | |
8601 | void *argp1 = 0 ; | |
8602 | int res1 = 0 ; | |
8603 | PyObject *swig_obj[1] ; | |
8604 | ||
8605 | if (!args) SWIG_fail; | |
8606 | swig_obj[0] = args; | |
8607 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8608 | if (!SWIG_IsOK(res1)) { | |
8609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8610 | } | |
8611 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8612 | { | |
8613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8614 | result = (bool)((wxDockInfo const *)arg1)->IsVertical(); | |
8615 | wxPyEndAllowThreads(__tstate); | |
8616 | if (PyErr_Occurred()) SWIG_fail; | |
8617 | } | |
8618 | { | |
8619 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8620 | } | |
8621 | return resultobj; | |
8622 | fail: | |
8623 | return NULL; | |
8624 | } | |
8625 | ||
8626 | ||
8627 | SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8628 | PyObject *resultobj = 0; | |
8629 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8630 | wxPaneInfoPtrArray arg2 ; | |
8631 | void *argp1 = 0 ; | |
8632 | int res1 = 0 ; | |
8633 | void *argp2 ; | |
8634 | int res2 = 0 ; | |
8635 | PyObject *swig_obj[2] ; | |
8636 | ||
8637 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail; | |
8638 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8639 | if (!SWIG_IsOK(res1)) { | |
8640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8641 | } | |
8642 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8643 | { | |
8644 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0); | |
8645 | if (!SWIG_IsOK(res2)) { | |
8646 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'"); | |
8647 | } | |
8648 | if (!argp2) { | |
8649 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'"); | |
8650 | } else { | |
8651 | wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2); | |
8652 | arg2 = *temp; | |
8653 | if (SWIG_IsNewObj(res2)) delete temp; | |
8654 | } | |
8655 | } | |
8656 | if (arg1) (arg1)->panes = arg2; | |
8657 | ||
8658 | resultobj = SWIG_Py_Void(); | |
8659 | return resultobj; | |
8660 | fail: | |
8661 | return NULL; | |
8662 | } | |
8663 | ||
8664 | ||
8665 | SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8666 | PyObject *resultobj = 0; | |
8667 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8668 | wxPaneInfoPtrArray result; | |
8669 | void *argp1 = 0 ; | |
8670 | int res1 = 0 ; | |
8671 | PyObject *swig_obj[1] ; | |
8672 | ||
8673 | if (!args) SWIG_fail; | |
8674 | swig_obj[0] = args; | |
8675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8676 | if (!SWIG_IsOK(res1)) { | |
8677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8678 | } | |
8679 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8680 | result = ((arg1)->panes); | |
8681 | resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); | |
8682 | return resultobj; | |
8683 | fail: | |
8684 | return NULL; | |
8685 | } | |
8686 | ||
8687 | ||
8688 | SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8689 | PyObject *resultobj = 0; | |
8690 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8691 | wxRect *arg2 = (wxRect *) 0 ; | |
8692 | void *argp1 = 0 ; | |
8693 | int res1 = 0 ; | |
8694 | void *argp2 = 0 ; | |
8695 | int res2 = 0 ; | |
8696 | PyObject *swig_obj[2] ; | |
8697 | ||
8698 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail; | |
8699 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8700 | if (!SWIG_IsOK(res1)) { | |
8701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8702 | } | |
8703 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8704 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
8705 | if (!SWIG_IsOK(res2)) { | |
8706 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
8707 | } | |
8708 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
8709 | if (arg1) (arg1)->rect = *arg2; | |
8710 | ||
8711 | resultobj = SWIG_Py_Void(); | |
8712 | return resultobj; | |
8713 | fail: | |
8714 | return NULL; | |
8715 | } | |
8716 | ||
8717 | ||
8718 | SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8719 | PyObject *resultobj = 0; | |
8720 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8721 | wxRect *result = 0 ; | |
8722 | void *argp1 = 0 ; | |
8723 | int res1 = 0 ; | |
8724 | PyObject *swig_obj[1] ; | |
8725 | ||
8726 | if (!args) SWIG_fail; | |
8727 | swig_obj[0] = args; | |
8728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8729 | if (!SWIG_IsOK(res1)) { | |
8730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8731 | } | |
8732 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8733 | result = (wxRect *)& ((arg1)->rect); | |
8734 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
8735 | return resultobj; | |
8736 | fail: | |
8737 | return NULL; | |
8738 | } | |
8739 | ||
8740 | ||
8741 | SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8742 | PyObject *resultobj = 0; | |
8743 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8744 | int arg2 ; | |
8745 | void *argp1 = 0 ; | |
8746 | int res1 = 0 ; | |
8747 | int val2 ; | |
8748 | int ecode2 = 0 ; | |
8749 | PyObject *swig_obj[2] ; | |
8750 | ||
8751 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; | |
8752 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8753 | if (!SWIG_IsOK(res1)) { | |
8754 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8755 | } | |
8756 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8757 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8758 | if (!SWIG_IsOK(ecode2)) { | |
8759 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); | |
8760 | } | |
8761 | arg2 = static_cast< int >(val2); | |
8762 | if (arg1) (arg1)->dock_direction = arg2; | |
8763 | ||
8764 | resultobj = SWIG_Py_Void(); | |
8765 | return resultobj; | |
8766 | fail: | |
8767 | return NULL; | |
8768 | } | |
8769 | ||
8770 | ||
8771 | SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8772 | PyObject *resultobj = 0; | |
8773 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8774 | int result; | |
8775 | void *argp1 = 0 ; | |
8776 | int res1 = 0 ; | |
8777 | PyObject *swig_obj[1] ; | |
8778 | ||
8779 | if (!args) SWIG_fail; | |
8780 | swig_obj[0] = args; | |
8781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8782 | if (!SWIG_IsOK(res1)) { | |
8783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8784 | } | |
8785 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8786 | result = (int) ((arg1)->dock_direction); | |
8787 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8788 | return resultobj; | |
8789 | fail: | |
8790 | return NULL; | |
8791 | } | |
8792 | ||
8793 | ||
8794 | SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8795 | PyObject *resultobj = 0; | |
8796 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8797 | int arg2 ; | |
8798 | void *argp1 = 0 ; | |
8799 | int res1 = 0 ; | |
8800 | int val2 ; | |
8801 | int ecode2 = 0 ; | |
8802 | PyObject *swig_obj[2] ; | |
8803 | ||
8804 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; | |
8805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8806 | if (!SWIG_IsOK(res1)) { | |
8807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8808 | } | |
8809 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8810 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8811 | if (!SWIG_IsOK(ecode2)) { | |
8812 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); | |
8813 | } | |
8814 | arg2 = static_cast< int >(val2); | |
8815 | if (arg1) (arg1)->dock_layer = arg2; | |
8816 | ||
8817 | resultobj = SWIG_Py_Void(); | |
8818 | return resultobj; | |
8819 | fail: | |
8820 | return NULL; | |
8821 | } | |
8822 | ||
8823 | ||
8824 | SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8825 | PyObject *resultobj = 0; | |
8826 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8827 | int result; | |
8828 | void *argp1 = 0 ; | |
8829 | int res1 = 0 ; | |
8830 | PyObject *swig_obj[1] ; | |
8831 | ||
8832 | if (!args) SWIG_fail; | |
8833 | swig_obj[0] = args; | |
8834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8835 | if (!SWIG_IsOK(res1)) { | |
8836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8837 | } | |
8838 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8839 | result = (int) ((arg1)->dock_layer); | |
8840 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8841 | return resultobj; | |
8842 | fail: | |
8843 | return NULL; | |
8844 | } | |
8845 | ||
8846 | ||
8847 | SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8848 | PyObject *resultobj = 0; | |
8849 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8850 | int arg2 ; | |
8851 | void *argp1 = 0 ; | |
8852 | int res1 = 0 ; | |
8853 | int val2 ; | |
8854 | int ecode2 = 0 ; | |
8855 | PyObject *swig_obj[2] ; | |
8856 | ||
8857 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; | |
8858 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8859 | if (!SWIG_IsOK(res1)) { | |
8860 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8861 | } | |
8862 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8863 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8864 | if (!SWIG_IsOK(ecode2)) { | |
8865 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); | |
8866 | } | |
8867 | arg2 = static_cast< int >(val2); | |
8868 | if (arg1) (arg1)->dock_row = arg2; | |
8869 | ||
8870 | resultobj = SWIG_Py_Void(); | |
8871 | return resultobj; | |
8872 | fail: | |
8873 | return NULL; | |
8874 | } | |
8875 | ||
8876 | ||
8877 | SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8878 | PyObject *resultobj = 0; | |
8879 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8880 | int result; | |
8881 | void *argp1 = 0 ; | |
8882 | int res1 = 0 ; | |
8883 | PyObject *swig_obj[1] ; | |
8884 | ||
8885 | if (!args) SWIG_fail; | |
8886 | swig_obj[0] = args; | |
8887 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8888 | if (!SWIG_IsOK(res1)) { | |
8889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8890 | } | |
8891 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8892 | result = (int) ((arg1)->dock_row); | |
8893 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8894 | return resultobj; | |
8895 | fail: | |
8896 | return NULL; | |
8897 | } | |
8898 | ||
8899 | ||
8900 | SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8901 | PyObject *resultobj = 0; | |
8902 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8903 | int arg2 ; | |
8904 | void *argp1 = 0 ; | |
8905 | int res1 = 0 ; | |
8906 | int val2 ; | |
8907 | int ecode2 = 0 ; | |
8908 | PyObject *swig_obj[2] ; | |
8909 | ||
8910 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail; | |
8911 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8912 | if (!SWIG_IsOK(res1)) { | |
8913 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8914 | } | |
8915 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8916 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8917 | if (!SWIG_IsOK(ecode2)) { | |
8918 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); | |
8919 | } | |
8920 | arg2 = static_cast< int >(val2); | |
8921 | if (arg1) (arg1)->size = arg2; | |
8922 | ||
8923 | resultobj = SWIG_Py_Void(); | |
8924 | return resultobj; | |
8925 | fail: | |
8926 | return NULL; | |
8927 | } | |
8928 | ||
8929 | ||
8930 | SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8931 | PyObject *resultobj = 0; | |
8932 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8933 | int result; | |
8934 | void *argp1 = 0 ; | |
8935 | int res1 = 0 ; | |
8936 | PyObject *swig_obj[1] ; | |
8937 | ||
8938 | if (!args) SWIG_fail; | |
8939 | swig_obj[0] = args; | |
8940 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8941 | if (!SWIG_IsOK(res1)) { | |
8942 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8943 | } | |
8944 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8945 | result = (int) ((arg1)->size); | |
8946 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8947 | return resultobj; | |
8948 | fail: | |
8949 | return NULL; | |
8950 | } | |
8951 | ||
8952 | ||
8953 | SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8954 | PyObject *resultobj = 0; | |
8955 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8956 | int arg2 ; | |
8957 | void *argp1 = 0 ; | |
8958 | int res1 = 0 ; | |
8959 | int val2 ; | |
8960 | int ecode2 = 0 ; | |
8961 | PyObject *swig_obj[2] ; | |
8962 | ||
8963 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; | |
8964 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8965 | if (!SWIG_IsOK(res1)) { | |
8966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8967 | } | |
8968 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8969 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8970 | if (!SWIG_IsOK(ecode2)) { | |
8971 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); | |
8972 | } | |
8973 | arg2 = static_cast< int >(val2); | |
8974 | if (arg1) (arg1)->min_size = arg2; | |
8975 | ||
8976 | resultobj = SWIG_Py_Void(); | |
8977 | return resultobj; | |
8978 | fail: | |
8979 | return NULL; | |
8980 | } | |
8981 | ||
8982 | ||
8983 | SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8984 | PyObject *resultobj = 0; | |
8985 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8986 | int result; | |
8987 | void *argp1 = 0 ; | |
8988 | int res1 = 0 ; | |
8989 | PyObject *swig_obj[1] ; | |
8990 | ||
8991 | if (!args) SWIG_fail; | |
8992 | swig_obj[0] = args; | |
8993 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8994 | if (!SWIG_IsOK(res1)) { | |
8995 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8996 | } | |
8997 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8998 | result = (int) ((arg1)->min_size); | |
8999 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9000 | return resultobj; | |
9001 | fail: | |
9002 | return NULL; | |
9003 | } | |
9004 | ||
9005 | ||
9006 | SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9007 | PyObject *resultobj = 0; | |
9008 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9009 | bool arg2 ; | |
9010 | void *argp1 = 0 ; | |
9011 | int res1 = 0 ; | |
9012 | bool val2 ; | |
9013 | int ecode2 = 0 ; | |
9014 | PyObject *swig_obj[2] ; | |
9015 | ||
9016 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; | |
9017 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9018 | if (!SWIG_IsOK(res1)) { | |
9019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9020 | } | |
9021 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9022 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9023 | if (!SWIG_IsOK(ecode2)) { | |
9024 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); | |
9025 | } | |
9026 | arg2 = static_cast< bool >(val2); | |
9027 | if (arg1) (arg1)->resizable = arg2; | |
9028 | ||
9029 | resultobj = SWIG_Py_Void(); | |
9030 | return resultobj; | |
9031 | fail: | |
9032 | return NULL; | |
9033 | } | |
9034 | ||
9035 | ||
9036 | SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9037 | PyObject *resultobj = 0; | |
9038 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9039 | bool result; | |
9040 | void *argp1 = 0 ; | |
9041 | int res1 = 0 ; | |
9042 | PyObject *swig_obj[1] ; | |
9043 | ||
9044 | if (!args) SWIG_fail; | |
9045 | swig_obj[0] = args; | |
9046 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9047 | if (!SWIG_IsOK(res1)) { | |
9048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9049 | } | |
9050 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9051 | result = (bool) ((arg1)->resizable); | |
9052 | { | |
9053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9054 | } | |
9055 | return resultobj; | |
9056 | fail: | |
9057 | return NULL; | |
9058 | } | |
9059 | ||
9060 | ||
9061 | SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9062 | PyObject *resultobj = 0; | |
9063 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9064 | bool arg2 ; | |
9065 | void *argp1 = 0 ; | |
9066 | int res1 = 0 ; | |
9067 | bool val2 ; | |
9068 | int ecode2 = 0 ; | |
9069 | PyObject *swig_obj[2] ; | |
9070 | ||
9071 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; | |
9072 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9073 | if (!SWIG_IsOK(res1)) { | |
9074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9075 | } | |
9076 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9077 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9078 | if (!SWIG_IsOK(ecode2)) { | |
9079 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); | |
9080 | } | |
9081 | arg2 = static_cast< bool >(val2); | |
9082 | if (arg1) (arg1)->toolbar = arg2; | |
9083 | ||
9084 | resultobj = SWIG_Py_Void(); | |
9085 | return resultobj; | |
9086 | fail: | |
9087 | return NULL; | |
9088 | } | |
9089 | ||
9090 | ||
9091 | SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9092 | PyObject *resultobj = 0; | |
9093 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9094 | bool result; | |
9095 | void *argp1 = 0 ; | |
9096 | int res1 = 0 ; | |
9097 | PyObject *swig_obj[1] ; | |
9098 | ||
9099 | if (!args) SWIG_fail; | |
9100 | swig_obj[0] = args; | |
9101 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9102 | if (!SWIG_IsOK(res1)) { | |
9103 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9104 | } | |
9105 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9106 | result = (bool) ((arg1)->toolbar); | |
9107 | { | |
9108 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9109 | } | |
9110 | return resultobj; | |
9111 | fail: | |
9112 | return NULL; | |
9113 | } | |
9114 | ||
9115 | ||
9116 | SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9117 | PyObject *resultobj = 0; | |
9118 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9119 | bool arg2 ; | |
9120 | void *argp1 = 0 ; | |
9121 | int res1 = 0 ; | |
9122 | bool val2 ; | |
9123 | int ecode2 = 0 ; | |
9124 | PyObject *swig_obj[2] ; | |
9125 | ||
9126 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; | |
9127 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9128 | if (!SWIG_IsOK(res1)) { | |
9129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9130 | } | |
9131 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9132 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9133 | if (!SWIG_IsOK(ecode2)) { | |
9134 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); | |
9135 | } | |
9136 | arg2 = static_cast< bool >(val2); | |
9137 | if (arg1) (arg1)->fixed = arg2; | |
9138 | ||
9139 | resultobj = SWIG_Py_Void(); | |
9140 | return resultobj; | |
9141 | fail: | |
9142 | return NULL; | |
9143 | } | |
9144 | ||
9145 | ||
9146 | SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9147 | PyObject *resultobj = 0; | |
9148 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9149 | bool result; | |
9150 | void *argp1 = 0 ; | |
9151 | int res1 = 0 ; | |
9152 | PyObject *swig_obj[1] ; | |
9153 | ||
9154 | if (!args) SWIG_fail; | |
9155 | swig_obj[0] = args; | |
9156 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9157 | if (!SWIG_IsOK(res1)) { | |
9158 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9159 | } | |
9160 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9161 | result = (bool) ((arg1)->fixed); | |
9162 | { | |
9163 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9164 | } | |
9165 | return resultobj; | |
9166 | fail: | |
9167 | return NULL; | |
9168 | } | |
9169 | ||
9170 | ||
9171 | SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9172 | PyObject *obj; | |
9173 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9174 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj)); | |
9175 | return SWIG_Py_Void(); | |
9176 | } | |
9177 | ||
9178 | SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9179 | return SWIG_Python_InitShadowInstance(args); | |
9180 | } | |
9181 | ||
9182 | SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9183 | PyObject *resultobj = 0; | |
9184 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9185 | int arg2 ; | |
9186 | void *argp1 = 0 ; | |
9187 | int res1 = 0 ; | |
9188 | int val2 ; | |
9189 | int ecode2 = 0 ; | |
9190 | PyObject *swig_obj[2] ; | |
9191 | ||
9192 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail; | |
9193 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9194 | if (!SWIG_IsOK(res1)) { | |
9195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9196 | } | |
9197 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9198 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9199 | if (!SWIG_IsOK(ecode2)) { | |
9200 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); | |
9201 | } | |
9202 | arg2 = static_cast< int >(val2); | |
9203 | if (arg1) (arg1)->type = arg2; | |
9204 | ||
9205 | resultobj = SWIG_Py_Void(); | |
9206 | return resultobj; | |
9207 | fail: | |
9208 | return NULL; | |
9209 | } | |
9210 | ||
9211 | ||
9212 | SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9213 | PyObject *resultobj = 0; | |
9214 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9215 | int result; | |
9216 | void *argp1 = 0 ; | |
9217 | int res1 = 0 ; | |
9218 | PyObject *swig_obj[1] ; | |
9219 | ||
9220 | if (!args) SWIG_fail; | |
9221 | swig_obj[0] = args; | |
9222 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9223 | if (!SWIG_IsOK(res1)) { | |
9224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9225 | } | |
9226 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9227 | result = (int) ((arg1)->type); | |
9228 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9229 | return resultobj; | |
9230 | fail: | |
9231 | return NULL; | |
9232 | } | |
9233 | ||
9234 | ||
9235 | SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9236 | PyObject *resultobj = 0; | |
9237 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9238 | int arg2 ; | |
9239 | void *argp1 = 0 ; | |
9240 | int res1 = 0 ; | |
9241 | int val2 ; | |
9242 | int ecode2 = 0 ; | |
9243 | PyObject *swig_obj[2] ; | |
9244 | ||
9245 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; | |
9246 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9247 | if (!SWIG_IsOK(res1)) { | |
9248 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9249 | } | |
9250 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9251 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9252 | if (!SWIG_IsOK(ecode2)) { | |
9253 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); | |
9254 | } | |
9255 | arg2 = static_cast< int >(val2); | |
9256 | if (arg1) (arg1)->orientation = arg2; | |
9257 | ||
9258 | resultobj = SWIG_Py_Void(); | |
9259 | return resultobj; | |
9260 | fail: | |
9261 | return NULL; | |
9262 | } | |
9263 | ||
9264 | ||
9265 | SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9266 | PyObject *resultobj = 0; | |
9267 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9268 | int result; | |
9269 | void *argp1 = 0 ; | |
9270 | int res1 = 0 ; | |
9271 | PyObject *swig_obj[1] ; | |
9272 | ||
9273 | if (!args) SWIG_fail; | |
9274 | swig_obj[0] = args; | |
9275 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9276 | if (!SWIG_IsOK(res1)) { | |
9277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9278 | } | |
9279 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9280 | result = (int) ((arg1)->orientation); | |
9281 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9282 | return resultobj; | |
9283 | fail: | |
9284 | return NULL; | |
9285 | } | |
9286 | ||
9287 | ||
9288 | SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9289 | PyObject *resultobj = 0; | |
9290 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9291 | wxDockInfo *arg2 = (wxDockInfo *) 0 ; | |
9292 | void *argp1 = 0 ; | |
9293 | int res1 = 0 ; | |
9294 | void *argp2 = 0 ; | |
9295 | int res2 = 0 ; | |
9296 | PyObject *swig_obj[2] ; | |
9297 | ||
9298 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; | |
9299 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9300 | if (!SWIG_IsOK(res1)) { | |
9301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9302 | } | |
9303 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9304 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
9305 | if (!SWIG_IsOK(res2)) { | |
9306 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'"); | |
9307 | } | |
9308 | arg2 = reinterpret_cast< wxDockInfo * >(argp2); | |
9309 | if (arg1) (arg1)->dock = arg2; | |
9310 | ||
9311 | resultobj = SWIG_Py_Void(); | |
9312 | return resultobj; | |
9313 | fail: | |
9314 | return NULL; | |
9315 | } | |
9316 | ||
9317 | ||
9318 | SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9319 | PyObject *resultobj = 0; | |
9320 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9321 | wxDockInfo *result = 0 ; | |
9322 | void *argp1 = 0 ; | |
9323 | int res1 = 0 ; | |
9324 | PyObject *swig_obj[1] ; | |
9325 | ||
9326 | if (!args) SWIG_fail; | |
9327 | swig_obj[0] = args; | |
9328 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9329 | if (!SWIG_IsOK(res1)) { | |
9330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9331 | } | |
9332 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9333 | result = (wxDockInfo *) ((arg1)->dock); | |
9334 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9335 | return resultobj; | |
9336 | fail: | |
9337 | return NULL; | |
9338 | } | |
9339 | ||
9340 | ||
9341 | SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9342 | PyObject *resultobj = 0; | |
9343 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9344 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
9345 | void *argp1 = 0 ; | |
9346 | int res1 = 0 ; | |
9347 | void *argp2 = 0 ; | |
9348 | int res2 = 0 ; | |
9349 | PyObject *swig_obj[2] ; | |
9350 | ||
9351 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; | |
9352 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9353 | if (!SWIG_IsOK(res1)) { | |
9354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9355 | } | |
9356 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9357 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
9358 | if (!SWIG_IsOK(res2)) { | |
9359 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
9360 | } | |
9361 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
9362 | if (arg1) (arg1)->pane = arg2; | |
9363 | ||
9364 | resultobj = SWIG_Py_Void(); | |
9365 | return resultobj; | |
9366 | fail: | |
9367 | return NULL; | |
9368 | } | |
9369 | ||
9370 | ||
9371 | SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9372 | PyObject *resultobj = 0; | |
9373 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9374 | wxPaneInfo *result = 0 ; | |
9375 | void *argp1 = 0 ; | |
9376 | int res1 = 0 ; | |
9377 | PyObject *swig_obj[1] ; | |
9378 | ||
9379 | if (!args) SWIG_fail; | |
9380 | swig_obj[0] = args; | |
9381 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9382 | if (!SWIG_IsOK(res1)) { | |
9383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9384 | } | |
9385 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9386 | result = (wxPaneInfo *) ((arg1)->pane); | |
9387 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
9388 | return resultobj; | |
9389 | fail: | |
9390 | return NULL; | |
9391 | } | |
9392 | ||
9393 | ||
9394 | SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9395 | PyObject *resultobj = 0; | |
9396 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9397 | wxPaneButton *arg2 = (wxPaneButton *) 0 ; | |
9398 | void *argp1 = 0 ; | |
9399 | int res1 = 0 ; | |
9400 | void *argp2 = 0 ; | |
9401 | int res2 = 0 ; | |
9402 | PyObject *swig_obj[2] ; | |
9403 | ||
9404 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail; | |
9405 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9406 | if (!SWIG_IsOK(res1)) { | |
9407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9408 | } | |
9409 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9410 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
9411 | if (!SWIG_IsOK(res2)) { | |
9412 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'"); | |
9413 | } | |
9414 | arg2 = reinterpret_cast< wxPaneButton * >(argp2); | |
9415 | if (arg1) (arg1)->button = arg2; | |
9416 | ||
9417 | resultobj = SWIG_Py_Void(); | |
9418 | return resultobj; | |
9419 | fail: | |
9420 | return NULL; | |
9421 | } | |
9422 | ||
9423 | ||
9424 | SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9425 | PyObject *resultobj = 0; | |
9426 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9427 | wxPaneButton *result = 0 ; | |
9428 | void *argp1 = 0 ; | |
9429 | int res1 = 0 ; | |
9430 | PyObject *swig_obj[1] ; | |
9431 | ||
9432 | if (!args) SWIG_fail; | |
9433 | swig_obj[0] = args; | |
9434 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9435 | if (!SWIG_IsOK(res1)) { | |
9436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9437 | } | |
9438 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9439 | result = (wxPaneButton *) ((arg1)->button); | |
9440 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9441 | return resultobj; | |
9442 | fail: | |
9443 | return NULL; | |
9444 | } | |
9445 | ||
9446 | ||
9447 | SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9448 | PyObject *resultobj = 0; | |
9449 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9450 | wxSizer *arg2 = (wxSizer *) 0 ; | |
9451 | void *argp1 = 0 ; | |
9452 | int res1 = 0 ; | |
9453 | void *argp2 = 0 ; | |
9454 | int res2 = 0 ; | |
9455 | PyObject *swig_obj[2] ; | |
9456 | ||
9457 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; | |
9458 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9459 | if (!SWIG_IsOK(res1)) { | |
9460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9461 | } | |
9462 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9463 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); | |
9464 | if (!SWIG_IsOK(res2)) { | |
9465 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); | |
9466 | } | |
9467 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
9468 | if (arg1) (arg1)->cont_sizer = arg2; | |
9469 | ||
9470 | resultobj = SWIG_Py_Void(); | |
9471 | return resultobj; | |
9472 | fail: | |
9473 | return NULL; | |
9474 | } | |
9475 | ||
9476 | ||
9477 | SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9478 | PyObject *resultobj = 0; | |
9479 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9480 | wxSizer *result = 0 ; | |
9481 | void *argp1 = 0 ; | |
9482 | int res1 = 0 ; | |
9483 | PyObject *swig_obj[1] ; | |
9484 | ||
9485 | if (!args) SWIG_fail; | |
9486 | swig_obj[0] = args; | |
9487 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9488 | if (!SWIG_IsOK(res1)) { | |
9489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9490 | } | |
9491 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9492 | result = (wxSizer *) ((arg1)->cont_sizer); | |
9493 | { | |
9494 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9495 | } | |
9496 | return resultobj; | |
9497 | fail: | |
9498 | return NULL; | |
9499 | } | |
9500 | ||
9501 | ||
9502 | SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9503 | PyObject *resultobj = 0; | |
9504 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9505 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; | |
9506 | void *argp1 = 0 ; | |
9507 | int res1 = 0 ; | |
9508 | void *argp2 = 0 ; | |
9509 | int res2 = 0 ; | |
9510 | PyObject *swig_obj[2] ; | |
9511 | ||
9512 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; | |
9513 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9514 | if (!SWIG_IsOK(res1)) { | |
9515 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9516 | } | |
9517 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9518 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); | |
9519 | if (!SWIG_IsOK(res2)) { | |
9520 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); | |
9521 | } | |
9522 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
9523 | if (arg1) (arg1)->sizer_item = arg2; | |
9524 | ||
9525 | resultobj = SWIG_Py_Void(); | |
9526 | return resultobj; | |
9527 | fail: | |
9528 | return NULL; | |
9529 | } | |
9530 | ||
9531 | ||
9532 | SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9533 | PyObject *resultobj = 0; | |
9534 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9535 | wxSizerItem *result = 0 ; | |
9536 | void *argp1 = 0 ; | |
9537 | int res1 = 0 ; | |
9538 | PyObject *swig_obj[1] ; | |
9539 | ||
9540 | if (!args) SWIG_fail; | |
9541 | swig_obj[0] = args; | |
9542 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9543 | if (!SWIG_IsOK(res1)) { | |
9544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9545 | } | |
9546 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9547 | result = (wxSizerItem *) ((arg1)->sizer_item); | |
9548 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
9549 | return resultobj; | |
9550 | fail: | |
9551 | return NULL; | |
9552 | } | |
9553 | ||
9554 | ||
9555 | SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9556 | PyObject *resultobj = 0; | |
9557 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9558 | wxRect *arg2 = (wxRect *) 0 ; | |
9559 | void *argp1 = 0 ; | |
9560 | int res1 = 0 ; | |
9561 | void *argp2 = 0 ; | |
9562 | int res2 = 0 ; | |
9563 | PyObject *swig_obj[2] ; | |
9564 | ||
9565 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; | |
9566 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9567 | if (!SWIG_IsOK(res1)) { | |
9568 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9569 | } | |
9570 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9571 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
9572 | if (!SWIG_IsOK(res2)) { | |
9573 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
9574 | } | |
9575 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9576 | if (arg1) (arg1)->rect = *arg2; | |
9577 | ||
9578 | resultobj = SWIG_Py_Void(); | |
9579 | return resultobj; | |
9580 | fail: | |
9581 | return NULL; | |
9582 | } | |
9583 | ||
9584 | ||
9585 | SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9586 | PyObject *resultobj = 0; | |
9587 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9588 | wxRect *result = 0 ; | |
9589 | void *argp1 = 0 ; | |
9590 | int res1 = 0 ; | |
9591 | PyObject *swig_obj[1] ; | |
9592 | ||
9593 | if (!args) SWIG_fail; | |
9594 | swig_obj[0] = args; | |
9595 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9596 | if (!SWIG_IsOK(res1)) { | |
9597 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9598 | } | |
9599 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9600 | result = (wxRect *)& ((arg1)->rect); | |
9601 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9602 | return resultobj; | |
9603 | fail: | |
9604 | return NULL; | |
9605 | } | |
9606 | ||
9607 | ||
9608 | SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9609 | PyObject *obj; | |
9610 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9611 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj)); | |
9612 | return SWIG_Py_Void(); | |
9613 | } | |
9614 | ||
9615 | SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9616 | PyObject *resultobj = 0; | |
9617 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
9618 | int arg2 ; | |
9619 | void *argp1 = 0 ; | |
9620 | int res1 = 0 ; | |
9621 | int val2 ; | |
9622 | int ecode2 = 0 ; | |
9623 | PyObject *swig_obj[2] ; | |
9624 | ||
9625 | if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; | |
9626 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9627 | if (!SWIG_IsOK(res1)) { | |
9628 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
9629 | } | |
9630 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
9631 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9632 | if (!SWIG_IsOK(ecode2)) { | |
9633 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); | |
9634 | } | |
9635 | arg2 = static_cast< int >(val2); | |
9636 | if (arg1) (arg1)->button_id = arg2; | |
9637 | ||
9638 | resultobj = SWIG_Py_Void(); | |
9639 | return resultobj; | |
9640 | fail: | |
9641 | return NULL; | |
9642 | } | |
9643 | ||
9644 | ||
9645 | SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9646 | PyObject *resultobj = 0; | |
9647 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
9648 | int result; | |
9649 | void *argp1 = 0 ; | |
9650 | int res1 = 0 ; | |
9651 | PyObject *swig_obj[1] ; | |
9652 | ||
9653 | if (!args) SWIG_fail; | |
9654 | swig_obj[0] = args; | |
9655 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9656 | if (!SWIG_IsOK(res1)) { | |
9657 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
9658 | } | |
9659 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
9660 | result = (int) ((arg1)->button_id); | |
9661 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9662 | return resultobj; | |
9663 | fail: | |
9664 | return NULL; | |
9665 | } | |
9666 | ||
9667 | ||
9668 | SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9669 | PyObject *obj; | |
9670 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9671 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj)); | |
9672 | return SWIG_Py_Void(); | |
9673 | } | |
9674 | ||
9675 | SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9676 | PyObject *resultobj = 0; | |
9677 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9678 | void *argp1 = 0 ; | |
9679 | int res1 = 0 ; | |
9680 | PyObject *swig_obj[1] ; | |
9681 | ||
9682 | if (!args) SWIG_fail; | |
9683 | swig_obj[0] = args; | |
9684 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 ); | |
9685 | if (!SWIG_IsOK(res1)) { | |
9686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9687 | } | |
9688 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9689 | { | |
9690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9691 | delete arg1; | |
9692 | ||
9693 | wxPyEndAllowThreads(__tstate); | |
9694 | if (PyErr_Occurred()) SWIG_fail; | |
9695 | } | |
9696 | resultobj = SWIG_Py_Void(); | |
9697 | return resultobj; | |
9698 | fail: | |
9699 | return NULL; | |
9700 | } | |
9701 | ||
9702 | ||
9703 | SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9704 | PyObject *resultobj = 0; | |
9705 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9706 | int arg2 ; | |
9707 | int result; | |
9708 | void *argp1 = 0 ; | |
9709 | int res1 = 0 ; | |
9710 | int val2 ; | |
9711 | int ecode2 = 0 ; | |
9712 | PyObject * obj0 = 0 ; | |
9713 | PyObject * obj1 = 0 ; | |
9714 | char * kwnames[] = { | |
9715 | (char *) "self",(char *) "id", NULL | |
9716 | }; | |
9717 | ||
9718 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; | |
9719 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9720 | if (!SWIG_IsOK(res1)) { | |
9721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9722 | } | |
9723 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9724 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9725 | if (!SWIG_IsOK(ecode2)) { | |
9726 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); | |
9727 | } | |
9728 | arg2 = static_cast< int >(val2); | |
9729 | { | |
9730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9731 | result = (int)(arg1)->GetMetric(arg2); | |
9732 | wxPyEndAllowThreads(__tstate); | |
9733 | if (PyErr_Occurred()) SWIG_fail; | |
9734 | } | |
9735 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9736 | return resultobj; | |
9737 | fail: | |
9738 | return NULL; | |
9739 | } | |
9740 | ||
9741 | ||
9742 | SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9743 | PyObject *resultobj = 0; | |
9744 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9745 | int arg2 ; | |
9746 | int arg3 ; | |
9747 | void *argp1 = 0 ; | |
9748 | int res1 = 0 ; | |
9749 | int val2 ; | |
9750 | int ecode2 = 0 ; | |
9751 | int val3 ; | |
9752 | int ecode3 = 0 ; | |
9753 | PyObject * obj0 = 0 ; | |
9754 | PyObject * obj1 = 0 ; | |
9755 | PyObject * obj2 = 0 ; | |
9756 | char * kwnames[] = { | |
9757 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
9758 | }; | |
9759 | ||
9760 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9761 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9762 | if (!SWIG_IsOK(res1)) { | |
9763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9764 | } | |
9765 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9766 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9767 | if (!SWIG_IsOK(ecode2)) { | |
9768 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); | |
9769 | } | |
9770 | arg2 = static_cast< int >(val2); | |
9771 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9772 | if (!SWIG_IsOK(ecode3)) { | |
9773 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); | |
9774 | } | |
9775 | arg3 = static_cast< int >(val3); | |
9776 | { | |
9777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9778 | (arg1)->SetMetric(arg2,arg3); | |
9779 | wxPyEndAllowThreads(__tstate); | |
9780 | if (PyErr_Occurred()) SWIG_fail; | |
9781 | } | |
9782 | resultobj = SWIG_Py_Void(); | |
9783 | return resultobj; | |
9784 | fail: | |
9785 | return NULL; | |
9786 | } | |
9787 | ||
9788 | ||
9789 | SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9790 | PyObject *resultobj = 0; | |
9791 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9792 | int arg2 ; | |
9793 | wxFont *arg3 = 0 ; | |
9794 | void *argp1 = 0 ; | |
9795 | int res1 = 0 ; | |
9796 | int val2 ; | |
9797 | int ecode2 = 0 ; | |
9798 | void *argp3 = 0 ; | |
9799 | int res3 = 0 ; | |
9800 | PyObject * obj0 = 0 ; | |
9801 | PyObject * obj1 = 0 ; | |
9802 | PyObject * obj2 = 0 ; | |
9803 | char * kwnames[] = { | |
9804 | (char *) "self",(char *) "id",(char *) "font", NULL | |
9805 | }; | |
9806 | ||
9807 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9808 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9809 | if (!SWIG_IsOK(res1)) { | |
9810 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9811 | } | |
9812 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9813 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9814 | if (!SWIG_IsOK(ecode2)) { | |
9815 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); | |
9816 | } | |
9817 | arg2 = static_cast< int >(val2); | |
9818 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
9819 | if (!SWIG_IsOK(res3)) { | |
9820 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
9821 | } | |
9822 | if (!argp3) { | |
9823 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
9824 | } | |
9825 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
9826 | { | |
9827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9828 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
9829 | wxPyEndAllowThreads(__tstate); | |
9830 | if (PyErr_Occurred()) SWIG_fail; | |
9831 | } | |
9832 | resultobj = SWIG_Py_Void(); | |
9833 | return resultobj; | |
9834 | fail: | |
9835 | return NULL; | |
9836 | } | |
9837 | ||
9838 | ||
9839 | SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9840 | PyObject *resultobj = 0; | |
9841 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9842 | int arg2 ; | |
9843 | wxFont result; | |
9844 | void *argp1 = 0 ; | |
9845 | int res1 = 0 ; | |
9846 | int val2 ; | |
9847 | int ecode2 = 0 ; | |
9848 | PyObject * obj0 = 0 ; | |
9849 | PyObject * obj1 = 0 ; | |
9850 | char * kwnames[] = { | |
9851 | (char *) "self",(char *) "id", NULL | |
9852 | }; | |
9853 | ||
9854 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
9855 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9856 | if (!SWIG_IsOK(res1)) { | |
9857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9858 | } | |
9859 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9860 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9861 | if (!SWIG_IsOK(ecode2)) { | |
9862 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); | |
9863 | } | |
9864 | arg2 = static_cast< int >(val2); | |
9865 | { | |
9866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9867 | result = (arg1)->GetFont(arg2); | |
9868 | wxPyEndAllowThreads(__tstate); | |
9869 | if (PyErr_Occurred()) SWIG_fail; | |
9870 | } | |
9871 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
9872 | return resultobj; | |
9873 | fail: | |
9874 | return NULL; | |
9875 | } | |
9876 | ||
9877 | ||
9878 | SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9879 | PyObject *resultobj = 0; | |
9880 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9881 | int arg2 ; | |
9882 | wxColour result; | |
9883 | void *argp1 = 0 ; | |
9884 | int res1 = 0 ; | |
9885 | int val2 ; | |
9886 | int ecode2 = 0 ; | |
9887 | PyObject * obj0 = 0 ; | |
9888 | PyObject * obj1 = 0 ; | |
9889 | char * kwnames[] = { | |
9890 | (char *) "self",(char *) "id", NULL | |
9891 | }; | |
9892 | ||
9893 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
9894 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9895 | if (!SWIG_IsOK(res1)) { | |
9896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9897 | } | |
9898 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9899 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9900 | if (!SWIG_IsOK(ecode2)) { | |
9901 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); | |
9902 | } | |
9903 | arg2 = static_cast< int >(val2); | |
9904 | { | |
9905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9906 | result = (arg1)->GetColour(arg2); | |
9907 | wxPyEndAllowThreads(__tstate); | |
9908 | if (PyErr_Occurred()) SWIG_fail; | |
9909 | } | |
9910 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
9911 | return resultobj; | |
9912 | fail: | |
9913 | return NULL; | |
9914 | } | |
9915 | ||
9916 | ||
9917 | SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9918 | PyObject *resultobj = 0; | |
9919 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9920 | int arg2 ; | |
9921 | wxColor *arg3 = 0 ; | |
9922 | void *argp1 = 0 ; | |
9923 | int res1 = 0 ; | |
9924 | int val2 ; | |
9925 | int ecode2 = 0 ; | |
9926 | void *argp3 = 0 ; | |
9927 | int res3 = 0 ; | |
9928 | PyObject * obj0 = 0 ; | |
9929 | PyObject * obj1 = 0 ; | |
9930 | PyObject * obj2 = 0 ; | |
9931 | char * kwnames[] = { | |
9932 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
9933 | }; | |
9934 | ||
9935 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9936 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9937 | if (!SWIG_IsOK(res1)) { | |
9938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9939 | } | |
9940 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9941 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9942 | if (!SWIG_IsOK(ecode2)) { | |
9943 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); | |
9944 | } | |
9945 | arg2 = static_cast< int >(val2); | |
9946 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
9947 | if (!SWIG_IsOK(res3)) { | |
9948 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); | |
9949 | } | |
9950 | if (!argp3) { | |
9951 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); | |
9952 | } | |
9953 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
9954 | { | |
9955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9956 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
9957 | wxPyEndAllowThreads(__tstate); | |
9958 | if (PyErr_Occurred()) SWIG_fail; | |
9959 | } | |
9960 | resultobj = SWIG_Py_Void(); | |
9961 | return resultobj; | |
9962 | fail: | |
9963 | return NULL; | |
9964 | } | |
9965 | ||
9966 | ||
9967 | SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9968 | PyObject *resultobj = 0; | |
9969 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9970 | int arg2 ; | |
9971 | wxColour result; | |
9972 | void *argp1 = 0 ; | |
9973 | int res1 = 0 ; | |
9974 | int val2 ; | |
9975 | int ecode2 = 0 ; | |
9976 | PyObject * obj0 = 0 ; | |
9977 | PyObject * obj1 = 0 ; | |
9978 | char * kwnames[] = { | |
9979 | (char *) "self",(char *) "id", NULL | |
9980 | }; | |
9981 | ||
9982 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
9983 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9984 | if (!SWIG_IsOK(res1)) { | |
9985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9986 | } | |
9987 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9988 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9989 | if (!SWIG_IsOK(ecode2)) { | |
9990 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); | |
9991 | } | |
9992 | arg2 = static_cast< int >(val2); | |
9993 | { | |
9994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9995 | result = (arg1)->GetColor(arg2); | |
9996 | wxPyEndAllowThreads(__tstate); | |
9997 | if (PyErr_Occurred()) SWIG_fail; | |
9998 | } | |
9999 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10000 | return resultobj; | |
10001 | fail: | |
10002 | return NULL; | |
10003 | } | |
10004 | ||
10005 | ||
10006 | SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10007 | PyObject *resultobj = 0; | |
10008 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10009 | int arg2 ; | |
10010 | wxColour *arg3 = 0 ; | |
10011 | void *argp1 = 0 ; | |
10012 | int res1 = 0 ; | |
10013 | int val2 ; | |
10014 | int ecode2 = 0 ; | |
10015 | wxColour temp3 ; | |
10016 | PyObject * obj0 = 0 ; | |
10017 | PyObject * obj1 = 0 ; | |
10018 | PyObject * obj2 = 0 ; | |
10019 | char * kwnames[] = { | |
10020 | (char *) "self",(char *) "id",(char *) "color", NULL | |
10021 | }; | |
10022 | ||
10023 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10024 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10025 | if (!SWIG_IsOK(res1)) { | |
10026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10027 | } | |
10028 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10029 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10030 | if (!SWIG_IsOK(ecode2)) { | |
10031 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); | |
10032 | } | |
10033 | arg2 = static_cast< int >(val2); | |
10034 | { | |
10035 | arg3 = &temp3; | |
10036 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10037 | } | |
10038 | { | |
10039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10040 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
10041 | wxPyEndAllowThreads(__tstate); | |
10042 | if (PyErr_Occurred()) SWIG_fail; | |
10043 | } | |
10044 | resultobj = SWIG_Py_Void(); | |
10045 | return resultobj; | |
10046 | fail: | |
10047 | return NULL; | |
10048 | } | |
10049 | ||
10050 | ||
10051 | SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10052 | PyObject *resultobj = 0; | |
10053 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10054 | wxDC *arg2 = 0 ; | |
10055 | int arg3 ; | |
10056 | wxRect *arg4 = 0 ; | |
10057 | void *argp1 = 0 ; | |
10058 | int res1 = 0 ; | |
10059 | void *argp2 = 0 ; | |
10060 | int res2 = 0 ; | |
10061 | int val3 ; | |
10062 | int ecode3 = 0 ; | |
10063 | wxRect temp4 ; | |
10064 | PyObject * obj0 = 0 ; | |
10065 | PyObject * obj1 = 0 ; | |
10066 | PyObject * obj2 = 0 ; | |
10067 | PyObject * obj3 = 0 ; | |
10068 | char * kwnames[] = { | |
10069 | (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL | |
10070 | }; | |
10071 | ||
10072 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10073 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10074 | if (!SWIG_IsOK(res1)) { | |
10075 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10076 | } | |
10077 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10078 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10079 | if (!SWIG_IsOK(res2)) { | |
10080 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10081 | } | |
10082 | if (!argp2) { | |
10083 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10084 | } | |
10085 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10086 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10087 | if (!SWIG_IsOK(ecode3)) { | |
10088 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "int""'"); | |
10089 | } | |
10090 | arg3 = static_cast< int >(val3); | |
10091 | { | |
10092 | arg4 = &temp4; | |
10093 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
10094 | } | |
10095 | { | |
10096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10097 | (arg1)->DrawSash(*arg2,arg3,(wxRect const &)*arg4); | |
10098 | wxPyEndAllowThreads(__tstate); | |
10099 | if (PyErr_Occurred()) SWIG_fail; | |
10100 | } | |
10101 | resultobj = SWIG_Py_Void(); | |
10102 | return resultobj; | |
10103 | fail: | |
10104 | return NULL; | |
10105 | } | |
10106 | ||
10107 | ||
10108 | SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10109 | PyObject *resultobj = 0; | |
10110 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10111 | wxDC *arg2 = 0 ; | |
10112 | int arg3 ; | |
10113 | wxRect *arg4 = 0 ; | |
10114 | void *argp1 = 0 ; | |
10115 | int res1 = 0 ; | |
10116 | void *argp2 = 0 ; | |
10117 | int res2 = 0 ; | |
10118 | int val3 ; | |
10119 | int ecode3 = 0 ; | |
10120 | wxRect temp4 ; | |
10121 | PyObject * obj0 = 0 ; | |
10122 | PyObject * obj1 = 0 ; | |
10123 | PyObject * obj2 = 0 ; | |
10124 | PyObject * obj3 = 0 ; | |
10125 | char * kwnames[] = { | |
10126 | (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL | |
10127 | }; | |
10128 | ||
10129 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10130 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10131 | if (!SWIG_IsOK(res1)) { | |
10132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10133 | } | |
10134 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10135 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10136 | if (!SWIG_IsOK(res2)) { | |
10137 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10138 | } | |
10139 | if (!argp2) { | |
10140 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10141 | } | |
10142 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10143 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10144 | if (!SWIG_IsOK(ecode3)) { | |
10145 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "int""'"); | |
10146 | } | |
10147 | arg3 = static_cast< int >(val3); | |
10148 | { | |
10149 | arg4 = &temp4; | |
10150 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
10151 | } | |
10152 | { | |
10153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10154 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
10155 | wxPyEndAllowThreads(__tstate); | |
10156 | if (PyErr_Occurred()) SWIG_fail; | |
10157 | } | |
10158 | resultobj = SWIG_Py_Void(); | |
10159 | return resultobj; | |
10160 | fail: | |
10161 | return NULL; | |
10162 | } | |
10163 | ||
10164 | ||
10165 | SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10166 | PyObject *resultobj = 0; | |
10167 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10168 | wxDC *arg2 = 0 ; | |
10169 | wxString *arg3 = 0 ; | |
10170 | wxRect *arg4 = 0 ; | |
10171 | wxPaneInfo *arg5 = 0 ; | |
10172 | void *argp1 = 0 ; | |
10173 | int res1 = 0 ; | |
10174 | void *argp2 = 0 ; | |
10175 | int res2 = 0 ; | |
10176 | bool temp3 = false ; | |
10177 | wxRect temp4 ; | |
10178 | void *argp5 = 0 ; | |
10179 | int res5 = 0 ; | |
10180 | PyObject * obj0 = 0 ; | |
10181 | PyObject * obj1 = 0 ; | |
10182 | PyObject * obj2 = 0 ; | |
10183 | PyObject * obj3 = 0 ; | |
10184 | PyObject * obj4 = 0 ; | |
10185 | char * kwnames[] = { | |
10186 | (char *) "self",(char *) "dc",(char *) "text",(char *) "rect",(char *) "pane", NULL | |
10187 | }; | |
10188 | ||
10189 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
10190 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10191 | if (!SWIG_IsOK(res1)) { | |
10192 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10193 | } | |
10194 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10195 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10196 | if (!SWIG_IsOK(res2)) { | |
10197 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10198 | } | |
10199 | if (!argp2) { | |
10200 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10201 | } | |
10202 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10203 | { | |
10204 | arg3 = wxString_in_helper(obj2); | |
10205 | if (arg3 == NULL) SWIG_fail; | |
10206 | temp3 = true; | |
10207 | } | |
10208 | { | |
10209 | arg4 = &temp4; | |
10210 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
10211 | } | |
10212 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 ); | |
10213 | if (!SWIG_IsOK(res5)) { | |
10214 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
10215 | } | |
10216 | if (!argp5) { | |
10217 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
10218 | } | |
10219 | arg5 = reinterpret_cast< wxPaneInfo * >(argp5); | |
10220 | { | |
10221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10222 | (arg1)->DrawCaption(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,*arg5); | |
10223 | wxPyEndAllowThreads(__tstate); | |
10224 | if (PyErr_Occurred()) SWIG_fail; | |
10225 | } | |
10226 | resultobj = SWIG_Py_Void(); | |
10227 | { | |
10228 | if (temp3) | |
10229 | delete arg3; | |
10230 | } | |
10231 | return resultobj; | |
10232 | fail: | |
10233 | { | |
10234 | if (temp3) | |
10235 | delete arg3; | |
10236 | } | |
10237 | return NULL; | |
10238 | } | |
10239 | ||
10240 | ||
10241 | SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10242 | PyObject *resultobj = 0; | |
10243 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10244 | wxDC *arg2 = 0 ; | |
10245 | wxRect *arg3 = 0 ; | |
10246 | wxPaneInfo *arg4 = 0 ; | |
10247 | void *argp1 = 0 ; | |
10248 | int res1 = 0 ; | |
10249 | void *argp2 = 0 ; | |
10250 | int res2 = 0 ; | |
10251 | wxRect temp3 ; | |
10252 | void *argp4 = 0 ; | |
10253 | int res4 = 0 ; | |
10254 | PyObject * obj0 = 0 ; | |
10255 | PyObject * obj1 = 0 ; | |
10256 | PyObject * obj2 = 0 ; | |
10257 | PyObject * obj3 = 0 ; | |
10258 | char * kwnames[] = { | |
10259 | (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL | |
10260 | }; | |
10261 | ||
10262 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10263 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10264 | if (!SWIG_IsOK(res1)) { | |
10265 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10266 | } | |
10267 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10268 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10269 | if (!SWIG_IsOK(res2)) { | |
10270 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10271 | } | |
10272 | if (!argp2) { | |
10273 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10274 | } | |
10275 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10276 | { | |
10277 | arg3 = &temp3; | |
10278 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
10279 | } | |
10280 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 ); | |
10281 | if (!SWIG_IsOK(res4)) { | |
10282 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'"); | |
10283 | } | |
10284 | if (!argp4) { | |
10285 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'"); | |
10286 | } | |
10287 | arg4 = reinterpret_cast< wxPaneInfo * >(argp4); | |
10288 | { | |
10289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10290 | (arg1)->DrawGripper(*arg2,(wxRect const &)*arg3,*arg4); | |
10291 | wxPyEndAllowThreads(__tstate); | |
10292 | if (PyErr_Occurred()) SWIG_fail; | |
10293 | } | |
10294 | resultobj = SWIG_Py_Void(); | |
10295 | return resultobj; | |
10296 | fail: | |
10297 | return NULL; | |
10298 | } | |
10299 | ||
10300 | ||
10301 | SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10302 | PyObject *resultobj = 0; | |
10303 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10304 | wxDC *arg2 = 0 ; | |
10305 | wxRect *arg3 = 0 ; | |
10306 | wxPaneInfo *arg4 = 0 ; | |
10307 | void *argp1 = 0 ; | |
10308 | int res1 = 0 ; | |
10309 | void *argp2 = 0 ; | |
10310 | int res2 = 0 ; | |
10311 | wxRect temp3 ; | |
10312 | void *argp4 = 0 ; | |
10313 | int res4 = 0 ; | |
10314 | PyObject * obj0 = 0 ; | |
10315 | PyObject * obj1 = 0 ; | |
10316 | PyObject * obj2 = 0 ; | |
10317 | PyObject * obj3 = 0 ; | |
10318 | char * kwnames[] = { | |
10319 | (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL | |
10320 | }; | |
10321 | ||
10322 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10323 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10324 | if (!SWIG_IsOK(res1)) { | |
10325 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10326 | } | |
10327 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10328 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10329 | if (!SWIG_IsOK(res2)) { | |
10330 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10331 | } | |
10332 | if (!argp2) { | |
10333 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10334 | } | |
10335 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10336 | { | |
10337 | arg3 = &temp3; | |
10338 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
10339 | } | |
10340 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 ); | |
10341 | if (!SWIG_IsOK(res4)) { | |
10342 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'"); | |
10343 | } | |
10344 | if (!argp4) { | |
10345 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'"); | |
10346 | } | |
10347 | arg4 = reinterpret_cast< wxPaneInfo * >(argp4); | |
10348 | { | |
10349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10350 | (arg1)->DrawBorder(*arg2,(wxRect const &)*arg3,*arg4); | |
10351 | wxPyEndAllowThreads(__tstate); | |
10352 | if (PyErr_Occurred()) SWIG_fail; | |
10353 | } | |
10354 | resultobj = SWIG_Py_Void(); | |
10355 | return resultobj; | |
10356 | fail: | |
10357 | return NULL; | |
10358 | } | |
10359 | ||
10360 | ||
10361 | SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10362 | PyObject *resultobj = 0; | |
10363 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10364 | wxDC *arg2 = 0 ; | |
10365 | int arg3 ; | |
10366 | int arg4 ; | |
10367 | wxRect *arg5 = 0 ; | |
10368 | wxPaneInfo *arg6 = 0 ; | |
10369 | void *argp1 = 0 ; | |
10370 | int res1 = 0 ; | |
10371 | void *argp2 = 0 ; | |
10372 | int res2 = 0 ; | |
10373 | int val3 ; | |
10374 | int ecode3 = 0 ; | |
10375 | int val4 ; | |
10376 | int ecode4 = 0 ; | |
10377 | wxRect temp5 ; | |
10378 | void *argp6 = 0 ; | |
10379 | int res6 = 0 ; | |
10380 | PyObject * obj0 = 0 ; | |
10381 | PyObject * obj1 = 0 ; | |
10382 | PyObject * obj2 = 0 ; | |
10383 | PyObject * obj3 = 0 ; | |
10384 | PyObject * obj4 = 0 ; | |
10385 | PyObject * obj5 = 0 ; | |
10386 | char * kwnames[] = { | |
10387 | (char *) "self",(char *) "dc",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL | |
10388 | }; | |
10389 | ||
10390 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
10391 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10392 | if (!SWIG_IsOK(res1)) { | |
10393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10394 | } | |
10395 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10396 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10397 | if (!SWIG_IsOK(res2)) { | |
10398 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10399 | } | |
10400 | if (!argp2) { | |
10401 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10402 | } | |
10403 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
10404 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10405 | if (!SWIG_IsOK(ecode3)) { | |
10406 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "int""'"); | |
10407 | } | |
10408 | arg3 = static_cast< int >(val3); | |
10409 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10410 | if (!SWIG_IsOK(ecode4)) { | |
10411 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); | |
10412 | } | |
10413 | arg4 = static_cast< int >(val4); | |
10414 | { | |
10415 | arg5 = &temp5; | |
10416 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
10417 | } | |
10418 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 ); | |
10419 | if (!SWIG_IsOK(res6)) { | |
10420 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'"); | |
10421 | } | |
10422 | if (!argp6) { | |
10423 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'"); | |
10424 | } | |
10425 | arg6 = reinterpret_cast< wxPaneInfo * >(argp6); | |
10426 | { | |
10427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10428 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,(wxRect const &)*arg5,*arg6); | |
10429 | wxPyEndAllowThreads(__tstate); | |
10430 | if (PyErr_Occurred()) SWIG_fail; | |
10431 | } | |
10432 | resultobj = SWIG_Py_Void(); | |
10433 | return resultobj; | |
10434 | fail: | |
10435 | return NULL; | |
10436 | } | |
10437 | ||
10438 | ||
10439 | SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10440 | PyObject *obj; | |
10441 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10442 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj)); | |
10443 | return SWIG_Py_Void(); | |
10444 | } | |
10445 | ||
10446 | SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10447 | PyObject *resultobj = 0; | |
10448 | wxDefaultDockArt *result = 0 ; | |
10449 | ||
10450 | if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail; | |
10451 | { | |
10452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10453 | result = (wxDefaultDockArt *)new wxDefaultDockArt(); | |
10454 | wxPyEndAllowThreads(__tstate); | |
10455 | if (PyErr_Occurred()) SWIG_fail; | |
10456 | } | |
10457 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 ); | |
10458 | return resultobj; | |
10459 | fail: | |
10460 | return NULL; | |
10461 | } | |
10462 | ||
10463 | ||
10464 | SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10465 | PyObject *obj; | |
10466 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10467 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj)); | |
10468 | return SWIG_Py_Void(); | |
10469 | } | |
10470 | ||
10471 | SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10472 | return SWIG_Python_InitShadowInstance(args); | |
10473 | } | |
10474 | ||
10475 | SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10476 | PyObject *resultobj = 0; | |
10477 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10478 | wxFrameManager *arg2 = (wxFrameManager *) 0 ; | |
10479 | wxPaneInfo *arg3 = 0 ; | |
10480 | int arg4 = (int) wxID_ANY ; | |
10481 | wxFloatingPane *result = 0 ; | |
10482 | void *argp1 = 0 ; | |
10483 | int res1 = 0 ; | |
10484 | void *argp2 = 0 ; | |
10485 | int res2 = 0 ; | |
10486 | void *argp3 = 0 ; | |
10487 | int res3 = 0 ; | |
10488 | int val4 ; | |
10489 | int ecode4 = 0 ; | |
10490 | PyObject * obj0 = 0 ; | |
10491 | PyObject * obj1 = 0 ; | |
10492 | PyObject * obj2 = 0 ; | |
10493 | PyObject * obj3 = 0 ; | |
10494 | char * kwnames[] = { | |
10495 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL | |
10496 | }; | |
10497 | ||
10498 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10499 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
10500 | if (!SWIG_IsOK(res1)) { | |
10501 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
10502 | } | |
10503 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
10504 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
10505 | if (!SWIG_IsOK(res2)) { | |
10506 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'"); | |
10507 | } | |
10508 | arg2 = reinterpret_cast< wxFrameManager * >(argp2); | |
10509 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
10510 | if (!SWIG_IsOK(res3)) { | |
10511 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
10512 | } | |
10513 | if (!argp3) { | |
10514 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
10515 | } | |
10516 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
10517 | if (obj3) { | |
10518 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10519 | if (!SWIG_IsOK(ecode4)) { | |
10520 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'"); | |
10521 | } | |
10522 | arg4 = static_cast< int >(val4); | |
10523 | } | |
10524 | { | |
10525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10526 | result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4); | |
10527 | wxPyEndAllowThreads(__tstate); | |
10528 | if (PyErr_Occurred()) SWIG_fail; | |
10529 | } | |
10530 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 ); | |
10531 | return resultobj; | |
10532 | fail: | |
10533 | return NULL; | |
10534 | } | |
10535 | ||
10536 | ||
10537 | SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10538 | PyObject *resultobj = 0; | |
10539 | wxFloatingPane *arg1 = (wxFloatingPane *) 0 ; | |
10540 | void *argp1 = 0 ; | |
10541 | int res1 = 0 ; | |
10542 | PyObject *swig_obj[1] ; | |
10543 | ||
10544 | if (!args) SWIG_fail; | |
10545 | swig_obj[0] = args; | |
10546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 ); | |
10547 | if (!SWIG_IsOK(res1)) { | |
10548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'"); | |
10549 | } | |
10550 | arg1 = reinterpret_cast< wxFloatingPane * >(argp1); | |
10551 | { | |
10552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10553 | delete arg1; | |
10554 | ||
10555 | wxPyEndAllowThreads(__tstate); | |
10556 | if (PyErr_Occurred()) SWIG_fail; | |
10557 | } | |
10558 | resultobj = SWIG_Py_Void(); | |
10559 | return resultobj; | |
10560 | fail: | |
10561 | return NULL; | |
10562 | } | |
10563 | ||
10564 | ||
10565 | SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10566 | PyObject *resultobj = 0; | |
10567 | wxFloatingPane *arg1 = (wxFloatingPane *) 0 ; | |
10568 | wxPaneInfo *arg2 = 0 ; | |
10569 | void *argp1 = 0 ; | |
10570 | int res1 = 0 ; | |
10571 | void *argp2 = 0 ; | |
10572 | int res2 = 0 ; | |
10573 | PyObject * obj0 = 0 ; | |
10574 | PyObject * obj1 = 0 ; | |
10575 | char * kwnames[] = { | |
10576 | (char *) "self",(char *) "pane", NULL | |
10577 | }; | |
10578 | ||
10579 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
10580 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 ); | |
10581 | if (!SWIG_IsOK(res1)) { | |
10582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'"); | |
10583 | } | |
10584 | arg1 = reinterpret_cast< wxFloatingPane * >(argp1); | |
10585 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
10586 | if (!SWIG_IsOK(res2)) { | |
10587 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'"); | |
10588 | } | |
10589 | if (!argp2) { | |
10590 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'"); | |
10591 | } | |
10592 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
10593 | { | |
10594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10595 | (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2); | |
10596 | wxPyEndAllowThreads(__tstate); | |
10597 | if (PyErr_Occurred()) SWIG_fail; | |
10598 | } | |
10599 | resultobj = SWIG_Py_Void(); | |
10600 | return resultobj; | |
10601 | fail: | |
10602 | return NULL; | |
10603 | } | |
10604 | ||
10605 | ||
10606 | SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10607 | PyObject *obj; | |
10608 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10609 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj)); | |
10610 | return SWIG_Py_Void(); | |
10611 | } | |
10612 | ||
10613 | SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10614 | return SWIG_Python_InitShadowInstance(args); | |
10615 | } | |
10616 | ||
10044bf1 RD |
10617 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10618 | PyObject *resultobj = 0; | |
10619 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
10620 | int arg2 = (int) 0 ; | |
10621 | wxAuiNotebookEvent *result = 0 ; | |
10622 | int val1 ; | |
10623 | int ecode1 = 0 ; | |
10624 | int val2 ; | |
10625 | int ecode2 = 0 ; | |
10626 | PyObject * obj0 = 0 ; | |
10627 | PyObject * obj1 = 0 ; | |
10628 | char * kwnames[] = { | |
10629 | (char *) "command_type",(char *) "win_id", NULL | |
10630 | }; | |
10631 | ||
10632 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
10633 | if (obj0) { | |
10634 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
10635 | if (!SWIG_IsOK(ecode1)) { | |
10636 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
10637 | } | |
10638 | arg1 = static_cast< wxEventType >(val1); | |
10639 | } | |
10640 | if (obj1) { | |
10641 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10642 | if (!SWIG_IsOK(ecode2)) { | |
10643 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
10644 | } | |
10645 | arg2 = static_cast< int >(val2); | |
10646 | } | |
10647 | { | |
10648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10649 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); | |
10650 | wxPyEndAllowThreads(__tstate); | |
10651 | if (PyErr_Occurred()) SWIG_fail; | |
10652 | } | |
10653 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); | |
10654 | return resultobj; | |
10655 | fail: | |
10656 | return NULL; | |
27e45892 RD |
10657 | } |
10658 | ||
10044bf1 RD |
10659 | |
10660 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10661 | PyObject *resultobj = 0; | |
10662 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10663 | int arg2 ; | |
10664 | void *argp1 = 0 ; | |
10665 | int res1 = 0 ; | |
10666 | int val2 ; | |
10667 | int ecode2 = 0 ; | |
10668 | PyObject * obj0 = 0 ; | |
10669 | PyObject * obj1 = 0 ; | |
10670 | char * kwnames[] = { | |
10671 | (char *) "self",(char *) "s", NULL | |
10672 | }; | |
10673 | ||
10674 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
10675 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10676 | if (!SWIG_IsOK(res1)) { | |
10677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10678 | } | |
10679 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10680 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10681 | if (!SWIG_IsOK(ecode2)) { | |
10682 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
10683 | } | |
10684 | arg2 = static_cast< int >(val2); | |
10685 | { | |
10686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10687 | (arg1)->SetSelection(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_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10699 | PyObject *resultobj = 0; | |
10700 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10701 | int arg2 ; | |
10702 | void *argp1 = 0 ; | |
10703 | int res1 = 0 ; | |
10704 | int val2 ; | |
10705 | int ecode2 = 0 ; | |
10706 | PyObject * obj0 = 0 ; | |
10707 | PyObject * obj1 = 0 ; | |
10708 | char * kwnames[] = { | |
10709 | (char *) "self",(char *) "s", NULL | |
10710 | }; | |
10711 | ||
10712 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
10713 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10714 | if (!SWIG_IsOK(res1)) { | |
10715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10716 | } | |
10717 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10718 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10719 | if (!SWIG_IsOK(ecode2)) { | |
10720 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
10721 | } | |
10722 | arg2 = static_cast< int >(val2); | |
10723 | { | |
10724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10725 | (arg1)->SetOldSelection(arg2); | |
10726 | wxPyEndAllowThreads(__tstate); | |
10727 | if (PyErr_Occurred()) SWIG_fail; | |
10728 | } | |
10729 | resultobj = SWIG_Py_Void(); | |
10730 | return resultobj; | |
10731 | fail: | |
10732 | return NULL; | |
10733 | } | |
10734 | ||
10735 | ||
10736 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10737 | PyObject *resultobj = 0; | |
10738 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10739 | int result; | |
10740 | void *argp1 = 0 ; | |
10741 | int res1 = 0 ; | |
10742 | PyObject *swig_obj[1] ; | |
10743 | ||
10744 | if (!args) SWIG_fail; | |
10745 | swig_obj[0] = args; | |
10746 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10747 | if (!SWIG_IsOK(res1)) { | |
10748 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
10749 | } | |
10750 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10751 | { | |
10752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10753 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); | |
10754 | wxPyEndAllowThreads(__tstate); | |
10755 | if (PyErr_Occurred()) SWIG_fail; | |
10756 | } | |
10757 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10758 | return resultobj; | |
10759 | fail: | |
10760 | return NULL; | |
10761 | } | |
10762 | ||
10763 | ||
10764 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10765 | PyObject *resultobj = 0; | |
10766 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10767 | int result; | |
10768 | void *argp1 = 0 ; | |
10769 | int res1 = 0 ; | |
10770 | PyObject *swig_obj[1] ; | |
10771 | ||
10772 | if (!args) SWIG_fail; | |
10773 | swig_obj[0] = args; | |
10774 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10775 | if (!SWIG_IsOK(res1)) { | |
10776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
10777 | } | |
10778 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10779 | { | |
10780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10781 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); | |
10782 | wxPyEndAllowThreads(__tstate); | |
10783 | if (PyErr_Occurred()) SWIG_fail; | |
10784 | } | |
10785 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10786 | return resultobj; | |
10787 | fail: | |
10788 | return NULL; | |
10789 | } | |
10790 | ||
10791 | ||
10792 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10793 | PyObject *resultobj = 0; | |
10794 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10795 | int arg2 ; | |
10796 | void *argp1 = 0 ; | |
10797 | int res1 = 0 ; | |
10798 | int val2 ; | |
10799 | int ecode2 = 0 ; | |
10800 | PyObject *swig_obj[2] ; | |
10801 | ||
10802 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; | |
10803 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10804 | if (!SWIG_IsOK(res1)) { | |
10805 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10806 | } | |
10807 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10808 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
10809 | if (!SWIG_IsOK(ecode2)) { | |
10810 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
10811 | } | |
10812 | arg2 = static_cast< int >(val2); | |
10813 | if (arg1) (arg1)->old_selection = arg2; | |
10814 | ||
10815 | resultobj = SWIG_Py_Void(); | |
10816 | return resultobj; | |
10817 | fail: | |
10818 | return NULL; | |
10819 | } | |
10820 | ||
10821 | ||
10822 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10823 | PyObject *resultobj = 0; | |
10824 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10825 | int result; | |
10826 | void *argp1 = 0 ; | |
10827 | int res1 = 0 ; | |
10828 | PyObject *swig_obj[1] ; | |
10829 | ||
10830 | if (!args) SWIG_fail; | |
10831 | swig_obj[0] = args; | |
10832 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10833 | if (!SWIG_IsOK(res1)) { | |
10834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10835 | } | |
10836 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10837 | result = (int) ((arg1)->old_selection); | |
10838 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10839 | return resultobj; | |
10840 | fail: | |
10841 | return NULL; | |
10842 | } | |
10843 | ||
10844 | ||
10845 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10846 | PyObject *resultobj = 0; | |
10847 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10848 | int arg2 ; | |
10849 | void *argp1 = 0 ; | |
10850 | int res1 = 0 ; | |
10851 | int val2 ; | |
10852 | int ecode2 = 0 ; | |
10853 | PyObject *swig_obj[2] ; | |
10854 | ||
10855 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
10856 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10857 | if (!SWIG_IsOK(res1)) { | |
10858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10859 | } | |
10860 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10861 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
10862 | if (!SWIG_IsOK(ecode2)) { | |
10863 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
10864 | } | |
10865 | arg2 = static_cast< int >(val2); | |
10866 | if (arg1) (arg1)->selection = arg2; | |
10867 | ||
10868 | resultobj = SWIG_Py_Void(); | |
10869 | return resultobj; | |
10870 | fail: | |
10871 | return NULL; | |
10872 | } | |
10873 | ||
10874 | ||
10875 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10876 | PyObject *resultobj = 0; | |
10877 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10878 | int result; | |
10879 | void *argp1 = 0 ; | |
10880 | int res1 = 0 ; | |
10881 | PyObject *swig_obj[1] ; | |
10882 | ||
10883 | if (!args) SWIG_fail; | |
10884 | swig_obj[0] = args; | |
10885 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10886 | if (!SWIG_IsOK(res1)) { | |
10887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10888 | } | |
10889 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10890 | result = (int) ((arg1)->selection); | |
10891 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10892 | return resultobj; | |
10893 | fail: | |
10894 | return NULL; | |
10895 | } | |
10896 | ||
10897 | ||
10898 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10899 | PyObject *obj; | |
10900 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10901 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
10902 | return SWIG_Py_Void(); | |
10903 | } | |
10904 | ||
10905 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10906 | return SWIG_Python_InitShadowInstance(args); | |
10907 | } | |
10908 | ||
10909 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10910 | PyObject *resultobj = 0; | |
10911 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
10912 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10913 | void *argp1 = 0 ; | |
10914 | int res1 = 0 ; | |
10915 | void *argp2 = 0 ; | |
10916 | int res2 = 0 ; | |
10917 | PyObject *swig_obj[2] ; | |
10918 | ||
10919 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; | |
10920 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10921 | if (!SWIG_IsOK(res1)) { | |
10922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10923 | } | |
10924 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
10925 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
10926 | if (!SWIG_IsOK(res2)) { | |
10927 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
10928 | } | |
10929 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10930 | if (arg1) (arg1)->window = arg2; | |
10931 | ||
10932 | resultobj = SWIG_Py_Void(); | |
10933 | return resultobj; | |
10934 | fail: | |
10935 | return NULL; | |
10936 | } | |
10937 | ||
10938 | ||
10939 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10940 | PyObject *resultobj = 0; | |
10941 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
10942 | wxWindow *result = 0 ; | |
10943 | void *argp1 = 0 ; | |
10944 | int res1 = 0 ; | |
10945 | PyObject *swig_obj[1] ; | |
10946 | ||
10947 | if (!args) SWIG_fail; | |
10948 | swig_obj[0] = args; | |
10949 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10950 | if (!SWIG_IsOK(res1)) { | |
10951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10952 | } | |
10953 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
10954 | result = (wxWindow *) ((arg1)->window); | |
10955 | { | |
10956 | resultobj = wxPyMake_wxObject(result, 0); | |
10957 | } | |
10958 | return resultobj; | |
10959 | fail: | |
10960 | return NULL; | |
10961 | } | |
10962 | ||
10963 | ||
10964 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10965 | PyObject *resultobj = 0; | |
10966 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
10967 | wxString *arg2 = (wxString *) 0 ; | |
10968 | void *argp1 = 0 ; | |
10969 | int res1 = 0 ; | |
10970 | bool temp2 = false ; | |
10971 | PyObject *swig_obj[2] ; | |
10972 | ||
10973 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; | |
10974 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10975 | if (!SWIG_IsOK(res1)) { | |
10976 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10977 | } | |
10978 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
10979 | { | |
10980 | arg2 = wxString_in_helper(swig_obj[1]); | |
10981 | if (arg2 == NULL) SWIG_fail; | |
10982 | temp2 = true; | |
10983 | } | |
10984 | if (arg1) (arg1)->caption = *arg2; | |
10985 | ||
10986 | resultobj = SWIG_Py_Void(); | |
10987 | { | |
10988 | if (temp2) | |
10989 | delete arg2; | |
10990 | } | |
10991 | return resultobj; | |
10992 | fail: | |
10993 | { | |
10994 | if (temp2) | |
10995 | delete arg2; | |
10996 | } | |
10997 | return NULL; | |
10998 | } | |
10999 | ||
11000 | ||
11001 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11002 | PyObject *resultobj = 0; | |
11003 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11004 | wxString *result = 0 ; | |
11005 | void *argp1 = 0 ; | |
11006 | int res1 = 0 ; | |
11007 | PyObject *swig_obj[1] ; | |
11008 | ||
11009 | if (!args) SWIG_fail; | |
11010 | swig_obj[0] = args; | |
11011 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11012 | if (!SWIG_IsOK(res1)) { | |
11013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11014 | } | |
11015 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11016 | result = (wxString *)& ((arg1)->caption); | |
11017 | { | |
11018 | #if wxUSE_UNICODE | |
11019 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
11020 | #else | |
11021 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
11022 | #endif | |
11023 | } | |
11024 | return resultobj; | |
11025 | fail: | |
11026 | return NULL; | |
11027 | } | |
11028 | ||
11029 | ||
11030 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11031 | PyObject *resultobj = 0; | |
11032 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11033 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
11034 | void *argp1 = 0 ; | |
11035 | int res1 = 0 ; | |
11036 | void *argp2 = 0 ; | |
11037 | int res2 = 0 ; | |
11038 | PyObject *swig_obj[2] ; | |
11039 | ||
11040 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
11041 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11042 | if (!SWIG_IsOK(res1)) { | |
11043 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11044 | } | |
11045 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11046 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11047 | if (!SWIG_IsOK(res2)) { | |
11048 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
11049 | } | |
11050 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
11051 | if (arg1) (arg1)->bitmap = *arg2; | |
11052 | ||
11053 | resultobj = SWIG_Py_Void(); | |
11054 | return resultobj; | |
11055 | fail: | |
11056 | return NULL; | |
11057 | } | |
11058 | ||
11059 | ||
11060 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11061 | PyObject *resultobj = 0; | |
11062 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11063 | wxBitmap *result = 0 ; | |
11064 | void *argp1 = 0 ; | |
11065 | int res1 = 0 ; | |
11066 | PyObject *swig_obj[1] ; | |
11067 | ||
11068 | if (!args) SWIG_fail; | |
11069 | swig_obj[0] = args; | |
11070 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11071 | if (!SWIG_IsOK(res1)) { | |
11072 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11073 | } | |
11074 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11075 | result = (wxBitmap *)& ((arg1)->bitmap); | |
11076 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11077 | return resultobj; | |
11078 | fail: | |
11079 | return NULL; | |
11080 | } | |
11081 | ||
11082 | ||
11083 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11084 | PyObject *resultobj = 0; | |
11085 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11086 | wxRect *arg2 = (wxRect *) 0 ; | |
11087 | void *argp1 = 0 ; | |
11088 | int res1 = 0 ; | |
11089 | void *argp2 = 0 ; | |
11090 | int res2 = 0 ; | |
11091 | PyObject *swig_obj[2] ; | |
11092 | ||
11093 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; | |
11094 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11095 | if (!SWIG_IsOK(res1)) { | |
11096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11097 | } | |
11098 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11099 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11100 | if (!SWIG_IsOK(res2)) { | |
11101 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
11102 | } | |
11103 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
11104 | if (arg1) (arg1)->rect = *arg2; | |
11105 | ||
11106 | resultobj = SWIG_Py_Void(); | |
11107 | return resultobj; | |
11108 | fail: | |
11109 | return NULL; | |
11110 | } | |
11111 | ||
11112 | ||
11113 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11114 | PyObject *resultobj = 0; | |
11115 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11116 | wxRect *result = 0 ; | |
11117 | void *argp1 = 0 ; | |
11118 | int res1 = 0 ; | |
11119 | PyObject *swig_obj[1] ; | |
11120 | ||
11121 | if (!args) SWIG_fail; | |
11122 | swig_obj[0] = args; | |
11123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11124 | if (!SWIG_IsOK(res1)) { | |
11125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11126 | } | |
11127 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11128 | result = (wxRect *)& ((arg1)->rect); | |
11129 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
11130 | return resultobj; | |
11131 | fail: | |
11132 | return NULL; | |
11133 | } | |
11134 | ||
11135 | ||
11136 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11137 | PyObject *resultobj = 0; | |
11138 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11139 | bool arg2 ; | |
11140 | void *argp1 = 0 ; | |
11141 | int res1 = 0 ; | |
11142 | bool val2 ; | |
11143 | int ecode2 = 0 ; | |
11144 | PyObject *swig_obj[2] ; | |
11145 | ||
11146 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; | |
11147 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11148 | if (!SWIG_IsOK(res1)) { | |
11149 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11150 | } | |
11151 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11152 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
11153 | if (!SWIG_IsOK(ecode2)) { | |
11154 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); | |
11155 | } | |
11156 | arg2 = static_cast< bool >(val2); | |
11157 | if (arg1) (arg1)->active = arg2; | |
11158 | ||
11159 | resultobj = SWIG_Py_Void(); | |
11160 | return resultobj; | |
11161 | fail: | |
11162 | return NULL; | |
11163 | } | |
11164 | ||
11165 | ||
11166 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11167 | PyObject *resultobj = 0; | |
11168 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11169 | bool 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_wxAuiNotebookPage, 0 | 0 ); | |
11177 | if (!SWIG_IsOK(res1)) { | |
11178 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11179 | } | |
11180 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11181 | result = (bool) ((arg1)->active); | |
11182 | { | |
11183 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11184 | } | |
11185 | return resultobj; | |
11186 | fail: | |
11187 | return NULL; | |
11188 | } | |
11189 | ||
11190 | ||
11191 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11192 | PyObject *obj; | |
11193 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11194 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
11195 | return SWIG_Py_Void(); | |
11196 | } | |
11197 | ||
11198 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11199 | PyObject *resultobj = 0; | |
11200 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11201 | int arg2 ; | |
11202 | void *argp1 = 0 ; | |
11203 | int res1 = 0 ; | |
11204 | int val2 ; | |
11205 | int ecode2 = 0 ; | |
11206 | PyObject *swig_obj[2] ; | |
11207 | ||
11208 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; | |
11209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11210 | if (!SWIG_IsOK(res1)) { | |
11211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11212 | } | |
11213 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11214 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11215 | if (!SWIG_IsOK(ecode2)) { | |
11216 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); | |
11217 | } | |
11218 | arg2 = static_cast< int >(val2); | |
11219 | if (arg1) (arg1)->id = arg2; | |
11220 | ||
11221 | resultobj = SWIG_Py_Void(); | |
11222 | return resultobj; | |
11223 | fail: | |
11224 | return NULL; | |
11225 | } | |
11226 | ||
11227 | ||
11228 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11229 | PyObject *resultobj = 0; | |
11230 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11231 | int result; | |
11232 | void *argp1 = 0 ; | |
11233 | int res1 = 0 ; | |
11234 | PyObject *swig_obj[1] ; | |
11235 | ||
11236 | if (!args) SWIG_fail; | |
11237 | swig_obj[0] = args; | |
11238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11239 | if (!SWIG_IsOK(res1)) { | |
11240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11241 | } | |
11242 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11243 | result = (int) ((arg1)->id); | |
11244 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11245 | return resultobj; | |
11246 | fail: | |
11247 | return NULL; | |
11248 | } | |
11249 | ||
11250 | ||
11251 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11252 | PyObject *resultobj = 0; | |
11253 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11254 | int arg2 ; | |
11255 | void *argp1 = 0 ; | |
11256 | int res1 = 0 ; | |
11257 | int val2 ; | |
11258 | int ecode2 = 0 ; | |
11259 | PyObject *swig_obj[2] ; | |
11260 | ||
11261 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; | |
11262 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11263 | if (!SWIG_IsOK(res1)) { | |
11264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11265 | } | |
11266 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11267 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11268 | if (!SWIG_IsOK(ecode2)) { | |
11269 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
11270 | } | |
11271 | arg2 = static_cast< int >(val2); | |
11272 | if (arg1) (arg1)->cur_state = arg2; | |
11273 | ||
11274 | resultobj = SWIG_Py_Void(); | |
11275 | return resultobj; | |
11276 | fail: | |
11277 | return NULL; | |
11278 | } | |
11279 | ||
11280 | ||
11281 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11282 | PyObject *resultobj = 0; | |
11283 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11284 | int result; | |
11285 | void *argp1 = 0 ; | |
11286 | int res1 = 0 ; | |
11287 | PyObject *swig_obj[1] ; | |
11288 | ||
11289 | if (!args) SWIG_fail; | |
11290 | swig_obj[0] = args; | |
11291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11292 | if (!SWIG_IsOK(res1)) { | |
11293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11294 | } | |
11295 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11296 | result = (int) ((arg1)->cur_state); | |
11297 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11298 | return resultobj; | |
11299 | fail: | |
11300 | return NULL; | |
11301 | } | |
11302 | ||
11303 | ||
11304 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11305 | PyObject *resultobj = 0; | |
11306 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11307 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
11308 | void *argp1 = 0 ; | |
11309 | int res1 = 0 ; | |
11310 | void *argp2 = 0 ; | |
11311 | int res2 = 0 ; | |
11312 | PyObject *swig_obj[2] ; | |
11313 | ||
11314 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
11315 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11316 | if (!SWIG_IsOK(res1)) { | |
11317 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11318 | } | |
11319 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11320 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11321 | if (!SWIG_IsOK(res2)) { | |
11322 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
11323 | } | |
11324 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
11325 | if (arg1) (arg1)->bitmap = *arg2; | |
11326 | ||
11327 | resultobj = SWIG_Py_Void(); | |
11328 | return resultobj; | |
11329 | fail: | |
11330 | return NULL; | |
11331 | } | |
11332 | ||
11333 | ||
11334 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11335 | PyObject *resultobj = 0; | |
11336 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11337 | wxBitmap *result = 0 ; | |
11338 | void *argp1 = 0 ; | |
11339 | int res1 = 0 ; | |
11340 | PyObject *swig_obj[1] ; | |
11341 | ||
11342 | if (!args) SWIG_fail; | |
11343 | swig_obj[0] = args; | |
11344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11345 | if (!SWIG_IsOK(res1)) { | |
11346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11347 | } | |
11348 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11349 | result = (wxBitmap *)& ((arg1)->bitmap); | |
11350 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11351 | return resultobj; | |
11352 | fail: | |
11353 | return NULL; | |
11354 | } | |
11355 | ||
11356 | ||
11357 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11358 | PyObject *resultobj = 0; | |
11359 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11360 | wxRect *arg2 = (wxRect *) 0 ; | |
11361 | void *argp1 = 0 ; | |
11362 | int res1 = 0 ; | |
11363 | void *argp2 = 0 ; | |
11364 | int res2 = 0 ; | |
11365 | PyObject *swig_obj[2] ; | |
11366 | ||
11367 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; | |
11368 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11369 | if (!SWIG_IsOK(res1)) { | |
11370 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11371 | } | |
11372 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11373 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11374 | if (!SWIG_IsOK(res2)) { | |
11375 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
11376 | } | |
11377 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
11378 | if (arg1) (arg1)->rect = *arg2; | |
11379 | ||
11380 | resultobj = SWIG_Py_Void(); | |
11381 | return resultobj; | |
11382 | fail: | |
11383 | return NULL; | |
11384 | } | |
11385 | ||
11386 | ||
11387 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11388 | PyObject *resultobj = 0; | |
11389 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11390 | wxRect *result = 0 ; | |
11391 | void *argp1 = 0 ; | |
11392 | int res1 = 0 ; | |
11393 | PyObject *swig_obj[1] ; | |
11394 | ||
11395 | if (!args) SWIG_fail; | |
11396 | swig_obj[0] = args; | |
11397 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11398 | if (!SWIG_IsOK(res1)) { | |
11399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11400 | } | |
11401 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11402 | result = (wxRect *)& ((arg1)->rect); | |
11403 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
11404 | return resultobj; | |
11405 | fail: | |
11406 | return NULL; | |
11407 | } | |
11408 | ||
11409 | ||
11410 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11411 | PyObject *obj; | |
11412 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11413 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
11414 | return SWIG_Py_Void(); | |
11415 | } | |
11416 | ||
11417 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11418 | PyObject *resultobj = 0; | |
11419 | wxAuiTabContainer *result = 0 ; | |
11420 | ||
11421 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
11422 | { | |
11423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11424 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
11425 | wxPyEndAllowThreads(__tstate); | |
11426 | if (PyErr_Occurred()) SWIG_fail; | |
11427 | } | |
11428 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
11429 | return resultobj; | |
11430 | fail: | |
11431 | return NULL; | |
11432 | } | |
11433 | ||
11434 | ||
11435 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11436 | PyObject *resultobj = 0; | |
11437 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11438 | void *argp1 = 0 ; | |
11439 | int res1 = 0 ; | |
11440 | PyObject *swig_obj[1] ; | |
11441 | ||
11442 | if (!args) SWIG_fail; | |
11443 | swig_obj[0] = args; | |
11444 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
11445 | if (!SWIG_IsOK(res1)) { | |
11446 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11447 | } | |
11448 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11449 | { | |
11450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11451 | delete arg1; | |
11452 | ||
11453 | wxPyEndAllowThreads(__tstate); | |
11454 | if (PyErr_Occurred()) SWIG_fail; | |
11455 | } | |
11456 | resultobj = SWIG_Py_Void(); | |
11457 | return resultobj; | |
11458 | fail: | |
11459 | return NULL; | |
11460 | } | |
11461 | ||
11462 | ||
11463 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11464 | PyObject *resultobj = 0; | |
11465 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11466 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11467 | wxAuiNotebookPage *arg3 = 0 ; | |
11468 | bool result; | |
11469 | void *argp1 = 0 ; | |
11470 | int res1 = 0 ; | |
11471 | void *argp2 = 0 ; | |
11472 | int res2 = 0 ; | |
11473 | void *argp3 = 0 ; | |
11474 | int res3 = 0 ; | |
11475 | PyObject * obj0 = 0 ; | |
11476 | PyObject * obj1 = 0 ; | |
11477 | PyObject * obj2 = 0 ; | |
11478 | char * kwnames[] = { | |
11479 | (char *) "self",(char *) "page",(char *) "info", NULL | |
11480 | }; | |
11481 | ||
11482 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11483 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11484 | if (!SWIG_IsOK(res1)) { | |
11485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11486 | } | |
11487 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11488 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11489 | if (!SWIG_IsOK(res2)) { | |
11490 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11491 | } | |
11492 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11493 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
11494 | if (!SWIG_IsOK(res3)) { | |
11495 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11496 | } | |
11497 | if (!argp3) { | |
11498 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11499 | } | |
11500 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
11501 | { | |
11502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11503 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
11504 | wxPyEndAllowThreads(__tstate); | |
11505 | if (PyErr_Occurred()) SWIG_fail; | |
11506 | } | |
11507 | { | |
11508 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11509 | } | |
11510 | return resultobj; | |
11511 | fail: | |
11512 | return NULL; | |
11513 | } | |
11514 | ||
11515 | ||
11516 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11517 | PyObject *resultobj = 0; | |
11518 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11519 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11520 | wxAuiNotebookPage *arg3 = 0 ; | |
11521 | size_t arg4 ; | |
11522 | bool result; | |
11523 | void *argp1 = 0 ; | |
11524 | int res1 = 0 ; | |
11525 | void *argp2 = 0 ; | |
11526 | int res2 = 0 ; | |
11527 | void *argp3 = 0 ; | |
11528 | int res3 = 0 ; | |
11529 | size_t val4 ; | |
11530 | int ecode4 = 0 ; | |
11531 | PyObject * obj0 = 0 ; | |
11532 | PyObject * obj1 = 0 ; | |
11533 | PyObject * obj2 = 0 ; | |
11534 | PyObject * obj3 = 0 ; | |
11535 | char * kwnames[] = { | |
11536 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
11537 | }; | |
11538 | ||
11539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11541 | if (!SWIG_IsOK(res1)) { | |
11542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11543 | } | |
11544 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11545 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11546 | if (!SWIG_IsOK(res2)) { | |
11547 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11548 | } | |
11549 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11550 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
11551 | if (!SWIG_IsOK(res3)) { | |
11552 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11553 | } | |
11554 | if (!argp3) { | |
11555 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11556 | } | |
11557 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
11558 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
11559 | if (!SWIG_IsOK(ecode4)) { | |
11560 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
11561 | } | |
11562 | arg4 = static_cast< size_t >(val4); | |
11563 | { | |
11564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11565 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
11566 | wxPyEndAllowThreads(__tstate); | |
11567 | if (PyErr_Occurred()) SWIG_fail; | |
11568 | } | |
11569 | { | |
11570 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11571 | } | |
11572 | return resultobj; | |
11573 | fail: | |
11574 | return NULL; | |
11575 | } | |
11576 | ||
11577 | ||
11578 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11579 | PyObject *resultobj = 0; | |
11580 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11581 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11582 | bool result; | |
11583 | void *argp1 = 0 ; | |
11584 | int res1 = 0 ; | |
11585 | void *argp2 = 0 ; | |
11586 | int res2 = 0 ; | |
11587 | PyObject * obj0 = 0 ; | |
11588 | PyObject * obj1 = 0 ; | |
11589 | char * kwnames[] = { | |
11590 | (char *) "self",(char *) "page", NULL | |
11591 | }; | |
11592 | ||
11593 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
11594 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11595 | if (!SWIG_IsOK(res1)) { | |
11596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11597 | } | |
11598 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11599 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11600 | if (!SWIG_IsOK(res2)) { | |
11601 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11602 | } | |
11603 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11604 | { | |
11605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11606 | result = (bool)(arg1)->RemovePage(arg2); | |
11607 | wxPyEndAllowThreads(__tstate); | |
11608 | if (PyErr_Occurred()) SWIG_fail; | |
11609 | } | |
11610 | { | |
11611 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11612 | } | |
11613 | return resultobj; | |
11614 | fail: | |
11615 | return NULL; | |
11616 | } | |
11617 | ||
11618 | ||
11619 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
11620 | PyObject *resultobj = 0; | |
11621 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11622 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11623 | bool result; | |
11624 | void *argp1 = 0 ; | |
11625 | int res1 = 0 ; | |
11626 | void *argp2 = 0 ; | |
11627 | int res2 = 0 ; | |
11628 | ||
11629 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
11630 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11631 | if (!SWIG_IsOK(res1)) { | |
11632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11633 | } | |
11634 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11635 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11636 | if (!SWIG_IsOK(res2)) { | |
11637 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11638 | } | |
11639 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11640 | { | |
11641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11642 | result = (bool)(arg1)->SetActivePage(arg2); | |
11643 | wxPyEndAllowThreads(__tstate); | |
11644 | if (PyErr_Occurred()) SWIG_fail; | |
11645 | } | |
11646 | { | |
11647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11648 | } | |
11649 | return resultobj; | |
11650 | fail: | |
11651 | return NULL; | |
11652 | } | |
11653 | ||
11654 | ||
11655 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
11656 | PyObject *resultobj = 0; | |
11657 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11658 | size_t arg2 ; | |
11659 | bool result; | |
11660 | void *argp1 = 0 ; | |
11661 | int res1 = 0 ; | |
11662 | size_t val2 ; | |
11663 | int ecode2 = 0 ; | |
11664 | ||
11665 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
11666 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11667 | if (!SWIG_IsOK(res1)) { | |
11668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11669 | } | |
11670 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11671 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
11672 | if (!SWIG_IsOK(ecode2)) { | |
11673 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
11674 | } | |
11675 | arg2 = static_cast< size_t >(val2); | |
11676 | { | |
11677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11678 | result = (bool)(arg1)->SetActivePage(arg2); | |
11679 | wxPyEndAllowThreads(__tstate); | |
11680 | if (PyErr_Occurred()) SWIG_fail; | |
11681 | } | |
11682 | { | |
11683 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11684 | } | |
11685 | return resultobj; | |
11686 | fail: | |
11687 | return NULL; | |
11688 | } | |
11689 | ||
11690 | ||
11691 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
11692 | int argc; | |
11693 | PyObject *argv[3]; | |
11694 | ||
11695 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
11696 | --argc; | |
11697 | if (argc == 2) { | |
11698 | int _v = 0; | |
11699 | { | |
11700 | void *vptr = 0; | |
11701 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
11702 | _v = SWIG_CheckState(res); | |
11703 | } | |
11704 | if (!_v) goto check_1; | |
11705 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
11706 | } | |
11707 | check_1: | |
11708 | ||
11709 | if (argc == 2) { | |
11710 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
11711 | } | |
11712 | ||
11713 | fail: | |
11714 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
11715 | return NULL; | |
11716 | } | |
11717 | ||
11718 | ||
11719 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11720 | PyObject *resultobj = 0; | |
11721 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11722 | void *argp1 = 0 ; | |
11723 | int res1 = 0 ; | |
11724 | PyObject *swig_obj[1] ; | |
11725 | ||
11726 | if (!args) SWIG_fail; | |
11727 | swig_obj[0] = args; | |
11728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11729 | if (!SWIG_IsOK(res1)) { | |
11730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11731 | } | |
11732 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11733 | { | |
11734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11735 | (arg1)->SetNoneActive(); | |
11736 | wxPyEndAllowThreads(__tstate); | |
11737 | if (PyErr_Occurred()) SWIG_fail; | |
11738 | } | |
11739 | resultobj = SWIG_Py_Void(); | |
11740 | return resultobj; | |
11741 | fail: | |
11742 | return NULL; | |
11743 | } | |
11744 | ||
11745 | ||
11746 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11747 | PyObject *resultobj = 0; | |
11748 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11749 | int result; | |
11750 | void *argp1 = 0 ; | |
11751 | int res1 = 0 ; | |
11752 | PyObject *swig_obj[1] ; | |
11753 | ||
11754 | if (!args) SWIG_fail; | |
11755 | swig_obj[0] = args; | |
11756 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11757 | if (!SWIG_IsOK(res1)) { | |
11758 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
11759 | } | |
11760 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11761 | { | |
11762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11763 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
11764 | wxPyEndAllowThreads(__tstate); | |
11765 | if (PyErr_Occurred()) SWIG_fail; | |
11766 | } | |
11767 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11768 | return resultobj; | |
11769 | fail: | |
11770 | return NULL; | |
11771 | } | |
11772 | ||
11773 | ||
11774 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11775 | PyObject *resultobj = 0; | |
11776 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11777 | int arg2 ; | |
11778 | int arg3 ; | |
11779 | wxWindow **arg4 = (wxWindow **) 0 ; | |
11780 | bool result; | |
11781 | void *argp1 = 0 ; | |
11782 | int res1 = 0 ; | |
11783 | int val2 ; | |
11784 | int ecode2 = 0 ; | |
11785 | int val3 ; | |
11786 | int ecode3 = 0 ; | |
11787 | void *argp4 = 0 ; | |
11788 | int res4 = 0 ; | |
11789 | PyObject * obj0 = 0 ; | |
11790 | PyObject * obj1 = 0 ; | |
11791 | PyObject * obj2 = 0 ; | |
11792 | PyObject * obj3 = 0 ; | |
11793 | char * kwnames[] = { | |
11794 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
11795 | }; | |
11796 | ||
11797 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11798 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11799 | if (!SWIG_IsOK(res1)) { | |
11800 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
11801 | } | |
11802 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11803 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11804 | if (!SWIG_IsOK(ecode2)) { | |
11805 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
11806 | } | |
11807 | arg2 = static_cast< int >(val2); | |
11808 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11809 | if (!SWIG_IsOK(ecode3)) { | |
11810 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
11811 | } | |
11812 | arg3 = static_cast< int >(val3); | |
11813 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
11814 | if (!SWIG_IsOK(res4)) { | |
11815 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
11816 | } | |
11817 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
11818 | { | |
11819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11820 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
11821 | wxPyEndAllowThreads(__tstate); | |
11822 | if (PyErr_Occurred()) SWIG_fail; | |
11823 | } | |
11824 | { | |
11825 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11826 | } | |
11827 | return resultobj; | |
11828 | fail: | |
11829 | return NULL; | |
11830 | } | |
11831 | ||
11832 | ||
11833 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11834 | PyObject *resultobj = 0; | |
11835 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11836 | int arg2 ; | |
11837 | int arg3 ; | |
11838 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
11839 | bool result; | |
11840 | void *argp1 = 0 ; | |
11841 | int res1 = 0 ; | |
11842 | int val2 ; | |
11843 | int ecode2 = 0 ; | |
11844 | int val3 ; | |
11845 | int ecode3 = 0 ; | |
11846 | void *argp4 = 0 ; | |
11847 | int res4 = 0 ; | |
11848 | PyObject * obj0 = 0 ; | |
11849 | PyObject * obj1 = 0 ; | |
11850 | PyObject * obj2 = 0 ; | |
11851 | PyObject * obj3 = 0 ; | |
11852 | char * kwnames[] = { | |
11853 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
11854 | }; | |
11855 | ||
11856 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11857 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11858 | if (!SWIG_IsOK(res1)) { | |
11859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
11860 | } | |
11861 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11862 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11863 | if (!SWIG_IsOK(ecode2)) { | |
11864 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
11865 | } | |
11866 | arg2 = static_cast< int >(val2); | |
11867 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
11868 | if (!SWIG_IsOK(ecode3)) { | |
11869 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
11870 | } | |
11871 | arg3 = static_cast< int >(val3); | |
11872 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
11873 | if (!SWIG_IsOK(res4)) { | |
11874 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
11875 | } | |
11876 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
11877 | { | |
11878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11879 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
11880 | wxPyEndAllowThreads(__tstate); | |
11881 | if (PyErr_Occurred()) SWIG_fail; | |
11882 | } | |
11883 | { | |
11884 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11885 | } | |
11886 | return resultobj; | |
11887 | fail: | |
11888 | return NULL; | |
11889 | } | |
11890 | ||
11891 | ||
11892 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11893 | PyObject *resultobj = 0; | |
11894 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11895 | size_t arg2 ; | |
11896 | wxWindow *result = 0 ; | |
11897 | void *argp1 = 0 ; | |
11898 | int res1 = 0 ; | |
11899 | size_t val2 ; | |
11900 | int ecode2 = 0 ; | |
11901 | PyObject * obj0 = 0 ; | |
11902 | PyObject * obj1 = 0 ; | |
11903 | char * kwnames[] = { | |
11904 | (char *) "self",(char *) "idx", NULL | |
11905 | }; | |
11906 | ||
11907 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
11908 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11909 | if (!SWIG_IsOK(res1)) { | |
11910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
11911 | } | |
11912 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11913 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
11914 | if (!SWIG_IsOK(ecode2)) { | |
11915 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
11916 | } | |
11917 | arg2 = static_cast< size_t >(val2); | |
11918 | { | |
11919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11920 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
11921 | wxPyEndAllowThreads(__tstate); | |
11922 | if (PyErr_Occurred()) SWIG_fail; | |
11923 | } | |
11924 | { | |
11925 | resultobj = wxPyMake_wxObject(result, 0); | |
11926 | } | |
11927 | return resultobj; | |
11928 | fail: | |
11929 | return NULL; | |
11930 | } | |
11931 | ||
11932 | ||
11933 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11934 | PyObject *resultobj = 0; | |
11935 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11936 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11937 | int result; | |
11938 | void *argp1 = 0 ; | |
11939 | int res1 = 0 ; | |
11940 | void *argp2 = 0 ; | |
11941 | int res2 = 0 ; | |
11942 | PyObject * obj0 = 0 ; | |
11943 | PyObject * obj1 = 0 ; | |
11944 | char * kwnames[] = { | |
11945 | (char *) "self",(char *) "page", NULL | |
11946 | }; | |
11947 | ||
11948 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
11949 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11950 | if (!SWIG_IsOK(res1)) { | |
11951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
11952 | } | |
11953 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11954 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11955 | if (!SWIG_IsOK(res2)) { | |
11956 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11957 | } | |
11958 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11959 | { | |
11960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11961 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
11962 | wxPyEndAllowThreads(__tstate); | |
11963 | if (PyErr_Occurred()) SWIG_fail; | |
11964 | } | |
11965 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11966 | return resultobj; | |
11967 | fail: | |
11968 | return NULL; | |
11969 | } | |
11970 | ||
11971 | ||
11972 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11973 | PyObject *resultobj = 0; | |
11974 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11975 | size_t result; | |
11976 | void *argp1 = 0 ; | |
11977 | int res1 = 0 ; | |
11978 | PyObject *swig_obj[1] ; | |
11979 | ||
11980 | if (!args) SWIG_fail; | |
11981 | swig_obj[0] = args; | |
11982 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11983 | if (!SWIG_IsOK(res1)) { | |
11984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
11985 | } | |
11986 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11987 | { | |
11988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11989 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
11990 | wxPyEndAllowThreads(__tstate); | |
11991 | if (PyErr_Occurred()) SWIG_fail; | |
11992 | } | |
11993 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
11994 | return resultobj; | |
11995 | fail: | |
11996 | return NULL; | |
11997 | } | |
11998 | ||
11999 | ||
12000 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12001 | PyObject *resultobj = 0; | |
12002 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12003 | size_t arg2 ; | |
12004 | wxAuiNotebookPage *result = 0 ; | |
12005 | void *argp1 = 0 ; | |
12006 | int res1 = 0 ; | |
12007 | size_t val2 ; | |
12008 | int ecode2 = 0 ; | |
12009 | PyObject * obj0 = 0 ; | |
12010 | PyObject * obj1 = 0 ; | |
12011 | char * kwnames[] = { | |
12012 | (char *) "self",(char *) "idx", NULL | |
12013 | }; | |
12014 | ||
12015 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
12016 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12017 | if (!SWIG_IsOK(res1)) { | |
12018 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12019 | } | |
12020 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12021 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12022 | if (!SWIG_IsOK(ecode2)) { | |
12023 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
12024 | } | |
12025 | arg2 = static_cast< size_t >(val2); | |
12026 | { | |
12027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12028 | { | |
12029 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
12030 | result = (wxAuiNotebookPage *) &_result_ref; | |
12031 | } | |
12032 | wxPyEndAllowThreads(__tstate); | |
12033 | if (PyErr_Occurred()) SWIG_fail; | |
12034 | } | |
12035 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12036 | return resultobj; | |
12037 | fail: | |
12038 | return NULL; | |
12039 | } | |
12040 | ||
12041 | ||
12042 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12043 | PyObject *resultobj = 0; | |
12044 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12045 | wxAuiNotebookPageArray *result = 0 ; | |
12046 | void *argp1 = 0 ; | |
12047 | int res1 = 0 ; | |
12048 | PyObject *swig_obj[1] ; | |
12049 | ||
12050 | if (!args) SWIG_fail; | |
12051 | swig_obj[0] = args; | |
12052 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12053 | if (!SWIG_IsOK(res1)) { | |
12054 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12055 | } | |
12056 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12057 | { | |
12058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12059 | { | |
12060 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
12061 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
12062 | } | |
12063 | wxPyEndAllowThreads(__tstate); | |
12064 | if (PyErr_Occurred()) SWIG_fail; | |
12065 | } | |
12066 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
12067 | return resultobj; | |
12068 | fail: | |
12069 | return NULL; | |
12070 | } | |
12071 | ||
12072 | ||
12073 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12074 | PyObject *resultobj = 0; | |
12075 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12076 | wxFont *arg2 = 0 ; | |
12077 | void *argp1 = 0 ; | |
12078 | int res1 = 0 ; | |
12079 | void *argp2 = 0 ; | |
12080 | int res2 = 0 ; | |
12081 | PyObject * obj0 = 0 ; | |
12082 | PyObject * obj1 = 0 ; | |
12083 | char * kwnames[] = { | |
12084 | (char *) "self",(char *) "normal_font", NULL | |
12085 | }; | |
12086 | ||
12087 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12088 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12089 | if (!SWIG_IsOK(res1)) { | |
12090 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12091 | } | |
12092 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12093 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12094 | if (!SWIG_IsOK(res2)) { | |
12095 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12096 | } | |
12097 | if (!argp2) { | |
12098 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12099 | } | |
12100 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12101 | { | |
12102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12103 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12104 | wxPyEndAllowThreads(__tstate); | |
12105 | if (PyErr_Occurred()) SWIG_fail; | |
12106 | } | |
12107 | resultobj = SWIG_Py_Void(); | |
12108 | return resultobj; | |
12109 | fail: | |
12110 | return NULL; | |
12111 | } | |
12112 | ||
12113 | ||
12114 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12115 | PyObject *resultobj = 0; | |
12116 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12117 | wxFont *arg2 = 0 ; | |
12118 | void *argp1 = 0 ; | |
12119 | int res1 = 0 ; | |
12120 | void *argp2 = 0 ; | |
12121 | int res2 = 0 ; | |
12122 | PyObject * obj0 = 0 ; | |
12123 | PyObject * obj1 = 0 ; | |
12124 | char * kwnames[] = { | |
12125 | (char *) "self",(char *) "selected_font", NULL | |
12126 | }; | |
12127 | ||
12128 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12129 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12130 | if (!SWIG_IsOK(res1)) { | |
12131 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12132 | } | |
12133 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12134 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12135 | if (!SWIG_IsOK(res2)) { | |
12136 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12137 | } | |
12138 | if (!argp2) { | |
12139 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12140 | } | |
12141 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12142 | { | |
12143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12144 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12145 | wxPyEndAllowThreads(__tstate); | |
12146 | if (PyErr_Occurred()) SWIG_fail; | |
12147 | } | |
12148 | resultobj = SWIG_Py_Void(); | |
12149 | return resultobj; | |
12150 | fail: | |
12151 | return NULL; | |
12152 | } | |
12153 | ||
12154 | ||
12155 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12156 | PyObject *resultobj = 0; | |
12157 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12158 | wxFont *arg2 = 0 ; | |
12159 | void *argp1 = 0 ; | |
12160 | int res1 = 0 ; | |
12161 | void *argp2 = 0 ; | |
12162 | int res2 = 0 ; | |
12163 | PyObject * obj0 = 0 ; | |
12164 | PyObject * obj1 = 0 ; | |
12165 | char * kwnames[] = { | |
12166 | (char *) "self",(char *) "measuring_font", NULL | |
12167 | }; | |
12168 | ||
12169 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12170 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12171 | if (!SWIG_IsOK(res1)) { | |
12172 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12173 | } | |
12174 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12175 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12176 | if (!SWIG_IsOK(res2)) { | |
12177 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12178 | } | |
12179 | if (!argp2) { | |
12180 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12181 | } | |
12182 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12183 | { | |
12184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12185 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
12186 | wxPyEndAllowThreads(__tstate); | |
12187 | if (PyErr_Occurred()) SWIG_fail; | |
12188 | } | |
12189 | resultobj = SWIG_Py_Void(); | |
12190 | return resultobj; | |
12191 | fail: | |
12192 | return NULL; | |
12193 | } | |
12194 | ||
12195 | ||
12196 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12197 | PyObject *resultobj = 0; | |
12198 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12199 | void *argp1 = 0 ; | |
12200 | int res1 = 0 ; | |
12201 | PyObject *swig_obj[1] ; | |
12202 | ||
12203 | if (!args) SWIG_fail; | |
12204 | swig_obj[0] = args; | |
12205 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12206 | if (!SWIG_IsOK(res1)) { | |
12207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12208 | } | |
12209 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12210 | { | |
12211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12212 | (arg1)->DoShowHide(); | |
12213 | wxPyEndAllowThreads(__tstate); | |
12214 | if (PyErr_Occurred()) SWIG_fail; | |
12215 | } | |
12216 | resultobj = SWIG_Py_Void(); | |
12217 | return resultobj; | |
12218 | fail: | |
12219 | return NULL; | |
12220 | } | |
12221 | ||
12222 | ||
12223 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12224 | PyObject *resultobj = 0; | |
12225 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12226 | wxRect *arg2 = 0 ; | |
12227 | void *argp1 = 0 ; | |
12228 | int res1 = 0 ; | |
12229 | wxRect temp2 ; | |
12230 | PyObject * obj0 = 0 ; | |
12231 | PyObject * obj1 = 0 ; | |
12232 | char * kwnames[] = { | |
12233 | (char *) "self",(char *) "rect", NULL | |
12234 | }; | |
12235 | ||
12236 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
12237 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12238 | if (!SWIG_IsOK(res1)) { | |
12239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12240 | } | |
12241 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12242 | { | |
12243 | arg2 = &temp2; | |
12244 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
12245 | } | |
12246 | { | |
12247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12248 | (arg1)->SetRect((wxRect const &)*arg2); | |
12249 | wxPyEndAllowThreads(__tstate); | |
12250 | if (PyErr_Occurred()) SWIG_fail; | |
12251 | } | |
12252 | resultobj = SWIG_Py_Void(); | |
12253 | return resultobj; | |
12254 | fail: | |
12255 | return NULL; | |
12256 | } | |
12257 | ||
12258 | ||
12259 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12260 | PyObject *resultobj = 0; | |
12261 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12262 | int arg2 ; | |
12263 | wxBitmap *arg3 = 0 ; | |
12264 | void *argp1 = 0 ; | |
12265 | int res1 = 0 ; | |
12266 | int val2 ; | |
12267 | int ecode2 = 0 ; | |
12268 | void *argp3 = 0 ; | |
12269 | int res3 = 0 ; | |
12270 | PyObject * obj0 = 0 ; | |
12271 | PyObject * obj1 = 0 ; | |
12272 | PyObject * obj2 = 0 ; | |
12273 | char * kwnames[] = { | |
12274 | (char *) "self",(char *) "id",(char *) "bmp", NULL | |
12275 | }; | |
12276 | ||
12277 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12278 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12279 | if (!SWIG_IsOK(res1)) { | |
12280 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12281 | } | |
12282 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12283 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12284 | if (!SWIG_IsOK(ecode2)) { | |
12285 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
12286 | } | |
12287 | arg2 = static_cast< int >(val2); | |
12288 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
12289 | if (!SWIG_IsOK(res3)) { | |
12290 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
12291 | } | |
12292 | if (!argp3) { | |
12293 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
12294 | } | |
12295 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
12296 | { | |
12297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12298 | (arg1)->AddButton(arg2,(wxBitmap const &)*arg3); | |
12299 | wxPyEndAllowThreads(__tstate); | |
12300 | if (PyErr_Occurred()) SWIG_fail; | |
12301 | } | |
12302 | resultobj = SWIG_Py_Void(); | |
12303 | return resultobj; | |
12304 | fail: | |
12305 | return NULL; | |
12306 | } | |
12307 | ||
12308 | ||
12309 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12310 | PyObject *obj; | |
12311 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12312 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
12313 | return SWIG_Py_Void(); | |
12314 | } | |
12315 | ||
12316 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12317 | return SWIG_Python_InitShadowInstance(args); | |
12318 | } | |
12319 | ||
12320 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12321 | PyObject *resultobj = 0; | |
12322 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12323 | int arg2 = (int) wxID_ANY ; | |
12324 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12325 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12326 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12327 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12328 | long arg5 = (long) 0 ; | |
12329 | wxAuiTabCtrl *result = 0 ; | |
12330 | void *argp1 = 0 ; | |
12331 | int res1 = 0 ; | |
12332 | int val2 ; | |
12333 | int ecode2 = 0 ; | |
12334 | wxPoint temp3 ; | |
12335 | wxSize temp4 ; | |
12336 | long val5 ; | |
12337 | int ecode5 = 0 ; | |
12338 | PyObject * obj0 = 0 ; | |
12339 | PyObject * obj1 = 0 ; | |
12340 | PyObject * obj2 = 0 ; | |
12341 | PyObject * obj3 = 0 ; | |
12342 | PyObject * obj4 = 0 ; | |
12343 | char * kwnames[] = { | |
12344 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
12345 | }; | |
12346 | ||
12347 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
12348 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12349 | if (!SWIG_IsOK(res1)) { | |
12350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
12351 | } | |
12352 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
12353 | if (obj1) { | |
12354 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12355 | if (!SWIG_IsOK(ecode2)) { | |
12356 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
12357 | } | |
12358 | arg2 = static_cast< int >(val2); | |
12359 | } | |
12360 | if (obj2) { | |
12361 | { | |
12362 | arg3 = &temp3; | |
12363 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12364 | } | |
12365 | } | |
12366 | if (obj3) { | |
12367 | { | |
12368 | arg4 = &temp4; | |
12369 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12370 | } | |
12371 | } | |
12372 | if (obj4) { | |
12373 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
12374 | if (!SWIG_IsOK(ecode5)) { | |
12375 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
12376 | } | |
12377 | arg5 = static_cast< long >(val5); | |
12378 | } | |
12379 | { | |
12380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12381 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
12382 | wxPyEndAllowThreads(__tstate); | |
12383 | if (PyErr_Occurred()) SWIG_fail; | |
12384 | } | |
12385 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
12386 | return resultobj; | |
12387 | fail: | |
12388 | return NULL; | |
12389 | } | |
12390 | ||
12391 | ||
12392 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12393 | PyObject *obj; | |
12394 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12395 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
12396 | return SWIG_Py_Void(); | |
12397 | } | |
12398 | ||
12399 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12400 | return SWIG_Python_InitShadowInstance(args); | |
12401 | } | |
12402 | ||
12403 | SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12404 | PyObject *resultobj = 0; | |
12405 | wxAuiMultiNotebook *result = 0 ; | |
12406 | ||
12407 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail; | |
12408 | { | |
12409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12410 | result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(); | |
12411 | wxPyEndAllowThreads(__tstate); | |
12412 | if (PyErr_Occurred()) SWIG_fail; | |
12413 | } | |
12414 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 ); | |
12415 | return resultobj; | |
12416 | fail: | |
12417 | return NULL; | |
12418 | } | |
12419 | ||
12420 | ||
12421 | SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12422 | PyObject *resultobj = 0; | |
12423 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12424 | int arg2 = (int) wxID_ANY ; | |
12425 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12426 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12427 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12428 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12429 | long arg5 = (long) 0 ; | |
12430 | wxAuiMultiNotebook *result = 0 ; | |
12431 | void *argp1 = 0 ; | |
12432 | int res1 = 0 ; | |
12433 | int val2 ; | |
12434 | int ecode2 = 0 ; | |
12435 | wxPoint temp3 ; | |
12436 | wxSize temp4 ; | |
12437 | long val5 ; | |
12438 | int ecode5 = 0 ; | |
12439 | PyObject * obj0 = 0 ; | |
12440 | PyObject * obj1 = 0 ; | |
12441 | PyObject * obj2 = 0 ; | |
12442 | PyObject * obj3 = 0 ; | |
12443 | PyObject * obj4 = 0 ; | |
12444 | char * kwnames[] = { | |
12445 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
12446 | }; | |
12447 | ||
12448 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
12449 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12450 | if (!SWIG_IsOK(res1)) { | |
12451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
12452 | } | |
12453 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
12454 | if (obj1) { | |
12455 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12456 | if (!SWIG_IsOK(ecode2)) { | |
12457 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'"); | |
12458 | } | |
12459 | arg2 = static_cast< int >(val2); | |
12460 | } | |
12461 | if (obj2) { | |
12462 | { | |
12463 | arg3 = &temp3; | |
12464 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12465 | } | |
12466 | } | |
12467 | if (obj3) { | |
12468 | { | |
12469 | arg4 = &temp4; | |
12470 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12471 | } | |
12472 | } | |
12473 | if (obj4) { | |
12474 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
12475 | if (!SWIG_IsOK(ecode5)) { | |
12476 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'"); | |
12477 | } | |
12478 | arg5 = static_cast< long >(val5); | |
12479 | } | |
12480 | { | |
12481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12482 | result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
12483 | wxPyEndAllowThreads(__tstate); | |
12484 | if (PyErr_Occurred()) SWIG_fail; | |
12485 | } | |
12486 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 ); | |
12487 | return resultobj; | |
12488 | fail: | |
12489 | return NULL; | |
12490 | } | |
12491 | ||
12492 | ||
12493 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12494 | PyObject *resultobj = 0; | |
12495 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12496 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12497 | int arg3 = (int) wxID_ANY ; | |
12498 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12499 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12500 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12501 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12502 | long arg6 = (long) 0 ; | |
12503 | bool result; | |
12504 | void *argp1 = 0 ; | |
12505 | int res1 = 0 ; | |
12506 | void *argp2 = 0 ; | |
12507 | int res2 = 0 ; | |
12508 | int val3 ; | |
12509 | int ecode3 = 0 ; | |
12510 | wxPoint temp4 ; | |
12511 | wxSize temp5 ; | |
12512 | long val6 ; | |
12513 | int ecode6 = 0 ; | |
12514 | PyObject * obj0 = 0 ; | |
12515 | PyObject * obj1 = 0 ; | |
12516 | PyObject * obj2 = 0 ; | |
12517 | PyObject * obj3 = 0 ; | |
12518 | PyObject * obj4 = 0 ; | |
12519 | PyObject * obj5 = 0 ; | |
12520 | char * kwnames[] = { | |
12521 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
12522 | }; | |
12523 | ||
12524 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12525 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12526 | if (!SWIG_IsOK(res1)) { | |
12527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12528 | } | |
12529 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12530 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12531 | if (!SWIG_IsOK(res2)) { | |
12532 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12533 | } | |
12534 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12535 | if (obj2) { | |
12536 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12537 | if (!SWIG_IsOK(ecode3)) { | |
12538 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); | |
12539 | } | |
12540 | arg3 = static_cast< int >(val3); | |
12541 | } | |
12542 | if (obj3) { | |
12543 | { | |
12544 | arg4 = &temp4; | |
12545 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12546 | } | |
12547 | } | |
12548 | if (obj4) { | |
12549 | { | |
12550 | arg5 = &temp5; | |
12551 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12552 | } | |
12553 | } | |
12554 | if (obj5) { | |
12555 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
12556 | if (!SWIG_IsOK(ecode6)) { | |
12557 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); | |
12558 | } | |
12559 | arg6 = static_cast< long >(val6); | |
12560 | } | |
12561 | { | |
12562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12563 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
12564 | wxPyEndAllowThreads(__tstate); | |
12565 | if (PyErr_Occurred()) SWIG_fail; | |
12566 | } | |
12567 | { | |
12568 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12569 | } | |
12570 | return resultobj; | |
12571 | fail: | |
12572 | return NULL; | |
12573 | } | |
12574 | ||
12575 | ||
12576 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12577 | PyObject *resultobj = 0; | |
12578 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12579 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12580 | wxString *arg3 = 0 ; | |
12581 | bool arg4 = (bool) false ; | |
12582 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
12583 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
12584 | bool result; | |
12585 | void *argp1 = 0 ; | |
12586 | int res1 = 0 ; | |
12587 | void *argp2 = 0 ; | |
12588 | int res2 = 0 ; | |
12589 | bool temp3 = false ; | |
12590 | bool val4 ; | |
12591 | int ecode4 = 0 ; | |
12592 | void *argp5 = 0 ; | |
12593 | int res5 = 0 ; | |
12594 | PyObject * obj0 = 0 ; | |
12595 | PyObject * obj1 = 0 ; | |
12596 | PyObject * obj2 = 0 ; | |
12597 | PyObject * obj3 = 0 ; | |
12598 | PyObject * obj4 = 0 ; | |
12599 | char * kwnames[] = { | |
12600 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
12601 | }; | |
12602 | ||
12603 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
12604 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12605 | if (!SWIG_IsOK(res1)) { | |
12606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12607 | } | |
12608 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12609 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12610 | if (!SWIG_IsOK(res2)) { | |
12611 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12612 | } | |
12613 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12614 | { | |
12615 | arg3 = wxString_in_helper(obj2); | |
12616 | if (arg3 == NULL) SWIG_fail; | |
12617 | temp3 = true; | |
12618 | } | |
12619 | if (obj3) { | |
12620 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
12621 | if (!SWIG_IsOK(ecode4)) { | |
12622 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); | |
12623 | } | |
12624 | arg4 = static_cast< bool >(val4); | |
12625 | } | |
12626 | if (obj4) { | |
12627 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
12628 | if (!SWIG_IsOK(res5)) { | |
12629 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
12630 | } | |
12631 | if (!argp5) { | |
12632 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
12633 | } | |
12634 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
12635 | } | |
12636 | { | |
12637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12638 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
12639 | wxPyEndAllowThreads(__tstate); | |
12640 | if (PyErr_Occurred()) SWIG_fail; | |
12641 | } | |
12642 | { | |
12643 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12644 | } | |
12645 | { | |
12646 | if (temp3) | |
12647 | delete arg3; | |
12648 | } | |
12649 | return resultobj; | |
12650 | fail: | |
12651 | { | |
12652 | if (temp3) | |
12653 | delete arg3; | |
12654 | } | |
12655 | return NULL; | |
12656 | } | |
12657 | ||
12658 | ||
12659 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12660 | PyObject *resultobj = 0; | |
12661 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12662 | size_t arg2 ; | |
12663 | wxWindow *arg3 = (wxWindow *) 0 ; | |
12664 | wxString *arg4 = 0 ; | |
12665 | bool arg5 = (bool) false ; | |
12666 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
12667 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
12668 | bool result; | |
12669 | void *argp1 = 0 ; | |
12670 | int res1 = 0 ; | |
12671 | size_t val2 ; | |
12672 | int ecode2 = 0 ; | |
12673 | void *argp3 = 0 ; | |
12674 | int res3 = 0 ; | |
12675 | bool temp4 = false ; | |
12676 | bool val5 ; | |
12677 | int ecode5 = 0 ; | |
12678 | void *argp6 = 0 ; | |
12679 | int res6 = 0 ; | |
12680 | PyObject * obj0 = 0 ; | |
12681 | PyObject * obj1 = 0 ; | |
12682 | PyObject * obj2 = 0 ; | |
12683 | PyObject * obj3 = 0 ; | |
12684 | PyObject * obj4 = 0 ; | |
12685 | PyObject * obj5 = 0 ; | |
12686 | char * kwnames[] = { | |
12687 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
12688 | }; | |
12689 | ||
12690 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12691 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12692 | if (!SWIG_IsOK(res1)) { | |
12693 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12694 | } | |
12695 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12696 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12697 | if (!SWIG_IsOK(ecode2)) { | |
12698 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); | |
12699 | } | |
12700 | arg2 = static_cast< size_t >(val2); | |
12701 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12702 | if (!SWIG_IsOK(res3)) { | |
12703 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
12704 | } | |
12705 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
12706 | { | |
12707 | arg4 = wxString_in_helper(obj3); | |
12708 | if (arg4 == NULL) SWIG_fail; | |
12709 | temp4 = true; | |
12710 | } | |
12711 | if (obj4) { | |
12712 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
12713 | if (!SWIG_IsOK(ecode5)) { | |
12714 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); | |
12715 | } | |
12716 | arg5 = static_cast< bool >(val5); | |
12717 | } | |
12718 | if (obj5) { | |
12719 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
12720 | if (!SWIG_IsOK(res6)) { | |
12721 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
12722 | } | |
12723 | if (!argp6) { | |
12724 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
12725 | } | |
12726 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
12727 | } | |
12728 | { | |
12729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12730 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
12731 | wxPyEndAllowThreads(__tstate); | |
12732 | if (PyErr_Occurred()) SWIG_fail; | |
12733 | } | |
12734 | { | |
12735 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12736 | } | |
12737 | { | |
12738 | if (temp4) | |
12739 | delete arg4; | |
12740 | } | |
12741 | return resultobj; | |
12742 | fail: | |
12743 | { | |
12744 | if (temp4) | |
12745 | delete arg4; | |
12746 | } | |
12747 | return NULL; | |
12748 | } | |
12749 | ||
12750 | ||
12751 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12752 | PyObject *resultobj = 0; | |
12753 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12754 | size_t arg2 ; | |
12755 | bool result; | |
12756 | void *argp1 = 0 ; | |
12757 | int res1 = 0 ; | |
12758 | size_t val2 ; | |
12759 | int ecode2 = 0 ; | |
12760 | PyObject * obj0 = 0 ; | |
12761 | PyObject * obj1 = 0 ; | |
12762 | char * kwnames[] = { | |
12763 | (char *) "self",(char *) "page", NULL | |
12764 | }; | |
12765 | ||
12766 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
12767 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12768 | if (!SWIG_IsOK(res1)) { | |
12769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12770 | } | |
12771 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12772 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12773 | if (!SWIG_IsOK(ecode2)) { | |
12774 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); | |
12775 | } | |
12776 | arg2 = static_cast< size_t >(val2); | |
12777 | { | |
12778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12779 | result = (bool)(arg1)->DeletePage(arg2); | |
12780 | wxPyEndAllowThreads(__tstate); | |
12781 | if (PyErr_Occurred()) SWIG_fail; | |
12782 | } | |
12783 | { | |
12784 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12785 | } | |
12786 | return resultobj; | |
12787 | fail: | |
12788 | return NULL; | |
12789 | } | |
12790 | ||
12791 | ||
12792 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12793 | PyObject *resultobj = 0; | |
12794 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12795 | size_t arg2 ; | |
12796 | bool result; | |
12797 | void *argp1 = 0 ; | |
12798 | int res1 = 0 ; | |
12799 | size_t val2 ; | |
12800 | int ecode2 = 0 ; | |
12801 | PyObject * obj0 = 0 ; | |
12802 | PyObject * obj1 = 0 ; | |
12803 | char * kwnames[] = { | |
12804 | (char *) "self",(char *) "page", NULL | |
12805 | }; | |
12806 | ||
12807 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
12808 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12809 | if (!SWIG_IsOK(res1)) { | |
12810 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12811 | } | |
12812 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12813 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12814 | if (!SWIG_IsOK(ecode2)) { | |
12815 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); | |
12816 | } | |
12817 | arg2 = static_cast< size_t >(val2); | |
12818 | { | |
12819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12820 | result = (bool)(arg1)->RemovePage(arg2); | |
12821 | wxPyEndAllowThreads(__tstate); | |
12822 | if (PyErr_Occurred()) SWIG_fail; | |
12823 | } | |
12824 | { | |
12825 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12826 | } | |
12827 | return resultobj; | |
12828 | fail: | |
12829 | return NULL; | |
12830 | } | |
12831 | ||
12832 | ||
12833 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12834 | PyObject *resultobj = 0; | |
12835 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12836 | size_t arg2 ; | |
12837 | wxString *arg3 = 0 ; | |
12838 | bool result; | |
12839 | void *argp1 = 0 ; | |
12840 | int res1 = 0 ; | |
12841 | size_t val2 ; | |
12842 | int ecode2 = 0 ; | |
12843 | bool temp3 = false ; | |
12844 | PyObject * obj0 = 0 ; | |
12845 | PyObject * obj1 = 0 ; | |
12846 | PyObject * obj2 = 0 ; | |
12847 | char * kwnames[] = { | |
12848 | (char *) "self",(char *) "page",(char *) "text", NULL | |
12849 | }; | |
12850 | ||
12851 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12852 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12853 | if (!SWIG_IsOK(res1)) { | |
12854 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12855 | } | |
12856 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12857 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12858 | if (!SWIG_IsOK(ecode2)) { | |
12859 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
12860 | } | |
12861 | arg2 = static_cast< size_t >(val2); | |
12862 | { | |
12863 | arg3 = wxString_in_helper(obj2); | |
12864 | if (arg3 == NULL) SWIG_fail; | |
12865 | temp3 = true; | |
12866 | } | |
12867 | { | |
12868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12869 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
12870 | wxPyEndAllowThreads(__tstate); | |
12871 | if (PyErr_Occurred()) SWIG_fail; | |
12872 | } | |
12873 | { | |
12874 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12875 | } | |
12876 | { | |
12877 | if (temp3) | |
12878 | delete arg3; | |
12879 | } | |
12880 | return resultobj; | |
12881 | fail: | |
12882 | { | |
12883 | if (temp3) | |
12884 | delete arg3; | |
12885 | } | |
12886 | return NULL; | |
12887 | } | |
12888 | ||
12889 | ||
12890 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12891 | PyObject *resultobj = 0; | |
12892 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12893 | size_t arg2 ; | |
12894 | size_t result; | |
12895 | void *argp1 = 0 ; | |
12896 | int res1 = 0 ; | |
12897 | size_t val2 ; | |
12898 | int ecode2 = 0 ; | |
12899 | PyObject * obj0 = 0 ; | |
12900 | PyObject * obj1 = 0 ; | |
12901 | char * kwnames[] = { | |
12902 | (char *) "self",(char *) "new_page", NULL | |
12903 | }; | |
12904 | ||
12905 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
12906 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12907 | if (!SWIG_IsOK(res1)) { | |
12908 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12909 | } | |
12910 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12911 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12912 | if (!SWIG_IsOK(ecode2)) { | |
12913 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
12914 | } | |
12915 | arg2 = static_cast< size_t >(val2); | |
12916 | { | |
12917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12918 | result = (size_t)(arg1)->SetSelection(arg2); | |
12919 | wxPyEndAllowThreads(__tstate); | |
12920 | if (PyErr_Occurred()) SWIG_fail; | |
12921 | } | |
12922 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
12923 | return resultobj; | |
12924 | fail: | |
12925 | return NULL; | |
12926 | } | |
12927 | ||
12928 | ||
12929 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12930 | PyObject *resultobj = 0; | |
12931 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12932 | int result; | |
12933 | void *argp1 = 0 ; | |
12934 | int res1 = 0 ; | |
12935 | PyObject *swig_obj[1] ; | |
12936 | ||
12937 | if (!args) SWIG_fail; | |
12938 | swig_obj[0] = args; | |
12939 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12940 | if (!SWIG_IsOK(res1)) { | |
12941 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
12942 | } | |
12943 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12944 | { | |
12945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12946 | result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection(); | |
12947 | wxPyEndAllowThreads(__tstate); | |
12948 | if (PyErr_Occurred()) SWIG_fail; | |
12949 | } | |
12950 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12951 | return resultobj; | |
12952 | fail: | |
12953 | return NULL; | |
12954 | } | |
12955 | ||
12956 | ||
12957 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12958 | PyObject *resultobj = 0; | |
12959 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12960 | size_t result; | |
12961 | void *argp1 = 0 ; | |
12962 | int res1 = 0 ; | |
12963 | PyObject *swig_obj[1] ; | |
12964 | ||
12965 | if (!args) SWIG_fail; | |
12966 | swig_obj[0] = args; | |
12967 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12968 | if (!SWIG_IsOK(res1)) { | |
12969 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
12970 | } | |
12971 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12972 | { | |
12973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12974 | result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount(); | |
12975 | wxPyEndAllowThreads(__tstate); | |
12976 | if (PyErr_Occurred()) SWIG_fail; | |
12977 | } | |
12978 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
12979 | return resultobj; | |
12980 | fail: | |
12981 | return NULL; | |
12982 | } | |
12983 | ||
12984 | ||
12985 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12986 | PyObject *resultobj = 0; | |
12987 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12988 | size_t arg2 ; | |
12989 | wxWindow *result = 0 ; | |
12990 | void *argp1 = 0 ; | |
12991 | int res1 = 0 ; | |
12992 | size_t val2 ; | |
12993 | int ecode2 = 0 ; | |
12994 | PyObject * obj0 = 0 ; | |
12995 | PyObject * obj1 = 0 ; | |
12996 | char * kwnames[] = { | |
12997 | (char *) "self",(char *) "page_idx", NULL | |
12998 | }; | |
12999 | ||
13000 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13001 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13002 | if (!SWIG_IsOK(res1)) { | |
13003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
13004 | } | |
13005 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13006 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13007 | if (!SWIG_IsOK(ecode2)) { | |
13008 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
13009 | } | |
13010 | arg2 = static_cast< size_t >(val2); | |
13011 | { | |
13012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13013 | result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2); | |
13014 | wxPyEndAllowThreads(__tstate); | |
13015 | if (PyErr_Occurred()) SWIG_fail; | |
13016 | } | |
13017 | { | |
13018 | resultobj = wxPyMake_wxObject(result, 0); | |
13019 | } | |
13020 | return resultobj; | |
13021 | fail: | |
13022 | return NULL; | |
13023 | } | |
13024 | ||
13025 | ||
13026 | SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13027 | PyObject *obj; | |
13028 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13029 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj)); | |
13030 | return SWIG_Py_Void(); | |
13031 | } | |
13032 | ||
13033 | SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13034 | return SWIG_Python_InitShadowInstance(args); | |
13035 | } | |
13036 | ||
13037 | SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13038 | PyObject *obj; | |
13039 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13040 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj)); | |
13041 | return SWIG_Py_Void(); | |
13042 | } | |
13043 | ||
13044 | static PyMethodDef SwigMethods[] = { | |
13045 | { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL}, | |
13046 | { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL}, | |
13047 | { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13048 | { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL}, | |
13049 | { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL}, | |
13050 | { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL}, | |
13051 | { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL}, | |
13052 | { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL}, | |
13053 | { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL}, | |
13054 | { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL}, | |
13055 | { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL}, | |
13056 | { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL}, | |
13057 | { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL}, | |
13058 | { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL}, | |
13059 | { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL}, | |
13060 | { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL}, | |
13061 | { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL}, | |
13062 | { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL}, | |
13063 | { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL}, | |
13064 | { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL}, | |
13065 | { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL}, | |
13066 | { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL}, | |
13067 | { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL}, | |
13068 | { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL}, | |
13069 | { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13070 | { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13071 | { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13072 | { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL}, | |
13073 | { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL}, | |
13074 | { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL}, | |
13075 | { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL}, | |
13076 | { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL}, | |
13077 | { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL}, | |
13078 | { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13079 | { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13080 | { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13081 | { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13082 | { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13083 | { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13084 | { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13085 | { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13086 | { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13087 | { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL}, | |
13088 | { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13089 | { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL}, | |
13090 | { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL}, | |
13091 | { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL}, | |
13092 | { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13093 | { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13094 | { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13095 | { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13096 | { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13097 | { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13098 | { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13099 | { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13100 | { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13101 | { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13102 | { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13103 | { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13104 | { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13105 | { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13106 | { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13107 | { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13108 | { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13109 | { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL}, | |
13110 | { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL}, | |
13111 | { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL}, | |
13112 | { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL}, | |
13113 | { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13114 | { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13115 | { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL}, | |
13116 | { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL}, | |
13117 | { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL}, | |
13118 | { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL}, | |
13119 | { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL}, | |
13120 | { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL}, | |
13121 | { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL}, | |
13122 | { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL}, | |
13123 | { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL}, | |
13124 | { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL}, | |
13125 | { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
13126 | { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL}, | |
13127 | { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
13128 | { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL}, | |
13129 | { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
13130 | { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL}, | |
13131 | { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
13132 | { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL}, | |
13133 | { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL}, | |
13134 | { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL}, | |
13135 | { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL}, | |
13136 | { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL}, | |
13137 | { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL}, | |
13138 | { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL}, | |
13139 | { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
13140 | { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL}, | |
13141 | { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
13142 | { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL}, | |
13143 | { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
13144 | { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL}, | |
13145 | { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL}, | |
13146 | { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL}, | |
13147 | { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL}, | |
13148 | { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL}, | |
13149 | { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL}, | |
13150 | { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL}, | |
13151 | { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13152 | { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL}, | |
13153 | { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL}, | |
13154 | { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13155 | { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL}, | |
13156 | { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13157 | { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL}, | |
13158 | { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13159 | { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL}, | |
13160 | { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13161 | { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13162 | { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL}, | |
13163 | { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13164 | { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13165 | { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13166 | { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13167 | { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13168 | { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13169 | { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13170 | { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL}, | |
13171 | { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13172 | { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL}, | |
13173 | { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13174 | { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13175 | { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL}, | |
13176 | { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13177 | { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13178 | { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL}, | |
13179 | { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL}, | |
27e45892 RD |
13180 | { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
13181 | { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL}, | |
13182 | { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13183 | { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
81f5836b | 13184 | { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
27e45892 RD |
13185 | { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL}, |
13186 | { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL}, | |
81f5836b | 13187 | { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL}, |
27e45892 RD |
13188 | { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, |
13189 | { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL}, | |
13190 | { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13191 | { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL}, | |
13192 | { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL}, | |
13193 | { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL}, | |
13194 | { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL}, | |
13195 | { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL}, | |
13196 | { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
13197 | { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL}, | |
13198 | { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
13199 | { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL}, | |
81f5836b RD |
13200 | { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL}, |
13201 | { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL}, | |
27e45892 RD |
13202 | { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL}, |
13203 | { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL}, | |
13204 | { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL}, | |
13205 | { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL}, | |
13206 | { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL}, | |
13207 | { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL}, | |
13208 | { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL}, | |
13209 | { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL}, | |
13210 | { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL}, | |
13211 | { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL}, | |
13212 | { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
13213 | { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL}, | |
13214 | { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
13215 | { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL}, | |
13216 | { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL}, | |
13217 | { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL}, | |
13218 | { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL}, | |
13219 | { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL}, | |
13220 | { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL}, | |
13221 | { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL}, | |
13222 | { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL}, | |
13223 | { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL}, | |
13224 | { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL}, | |
13225 | { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL}, | |
13226 | { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL}, | |
13227 | { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL}, | |
13228 | { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL}, | |
13229 | { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL}, | |
13230 | { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL}, | |
13231 | { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL}, | |
13232 | { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL}, | |
13233 | { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL}, | |
13234 | { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL}, | |
13235 | { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL}, | |
13236 | { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL}, | |
13237 | { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL}, | |
13238 | { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL}, | |
13239 | { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL}, | |
13240 | { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
13241 | { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL}, | |
13242 | { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
13243 | { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL}, | |
13244 | { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL}, | |
13245 | { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL}, | |
13246 | { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL}, | |
13247 | { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL}, | |
13248 | { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL}, | |
13249 | { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL}, | |
13250 | { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL}, | |
13251 | { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13252 | { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13253 | { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13254 | { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13255 | { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13256 | { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13257 | { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13258 | { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13259 | { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13260 | { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13261 | { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13262 | { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13263 | { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13264 | { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13265 | { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL}, | |
13266 | { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL}, | |
13267 | { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
13268 | { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
13269 | { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13270 | { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL}, | |
13271 | { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13272 | { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL}, | |
13273 | { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
13274 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
13275 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13276 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13277 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
13278 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
13279 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
13280 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
13281 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
13282 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
13283 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
13284 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
13285 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
13286 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
13287 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
13288 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
13289 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
13290 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
13291 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
13292 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
13293 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
13294 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
13295 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
13296 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
13297 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
13298 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
13299 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
13300 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, | |
13301 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
13302 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, | |
13303 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
13304 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
13305 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
13306 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
13307 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13308 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13309 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13310 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
13311 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
13312 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
13313 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13314 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13315 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13316 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13317 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
13318 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13319 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
13320 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13321 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13322 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13323 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
13324 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13325 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13326 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, | |
13327 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
13328 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13329 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, | |
13330 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
13331 | { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL}, | |
13332 | { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13333 | { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13334 | { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13335 | { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13336 | { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13337 | { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13338 | { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13339 | { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13340 | { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL}, | |
13341 | { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL}, | |
13342 | { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13343 | { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL}, | |
13344 | { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL}, | |
27e45892 RD |
13345 | { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL}, |
13346 | { NULL, NULL, 0, NULL } | |
13347 | }; | |
13348 | ||
13349 | ||
13350 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
13351 | ||
13352 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
13353 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
13354 | } | |
13355 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
13356 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
13357 | } | |
13358 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
13359 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
13360 | } | |
13361 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
13362 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
13363 | } | |
13364 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
13365 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
13366 | } | |
13367 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
13368 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
13369 | } | |
13370 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
13371 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
13372 | } | |
10044bf1 RD |
13373 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
13374 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
13375 | } | |
13376 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
13377 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
13378 | } | |
27e45892 RD |
13379 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
13380 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
13381 | } | |
13382 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
13383 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
13384 | } | |
13385 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
13386 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
13387 | } | |
13388 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
13389 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
13390 | } | |
13391 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
13392 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
13393 | } | |
13394 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
13395 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
13396 | } | |
13397 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
13398 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
13399 | } | |
13400 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
13401 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
13402 | } | |
13403 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
13404 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
13405 | } | |
13406 | static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) { | |
13407 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxFloatingPane *) x)); | |
13408 | } | |
13409 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
13410 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
13411 | } | |
13412 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
13413 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
13414 | } | |
13415 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
13416 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
13417 | } | |
13418 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
13419 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
13420 | } | |
13421 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
13422 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
13423 | } | |
13424 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
13425 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
13426 | } | |
13427 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
13428 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
13429 | } | |
13430 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
13431 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
13432 | } | |
13433 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
13434 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
13435 | } | |
13436 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
13437 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
13438 | } | |
13439 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
13440 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
13441 | } | |
13442 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
13443 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
13444 | } | |
13445 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
13446 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
13447 | } | |
13448 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
13449 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
13450 | } | |
13451 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
13452 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
13453 | } | |
13454 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
13455 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
13456 | } | |
13457 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
13458 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
13459 | } | |
13460 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
13461 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
13462 | } | |
13463 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
13464 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
13465 | } | |
13466 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
13467 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
13468 | } | |
13469 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
13470 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
13471 | } | |
13472 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
13473 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
13474 | } | |
13475 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
13476 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
13477 | } | |
13478 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
13479 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
13480 | } | |
13481 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
13482 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
13483 | } | |
13484 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
13485 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
13486 | } | |
13487 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
13488 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
13489 | } | |
13490 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
13491 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
13492 | } | |
13493 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
13494 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
13495 | } | |
13496 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
13497 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
13498 | } | |
13499 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
13500 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
13501 | } | |
13502 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
13503 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
13504 | } | |
13505 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
13506 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
13507 | } | |
13508 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
13509 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
13510 | } | |
13511 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
13512 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
13513 | } | |
13514 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
13515 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
13516 | } | |
13517 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
13518 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
13519 | } | |
13520 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
13521 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
13522 | } | |
13523 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
13524 | return (void *)((wxWindow *) ((wxControl *) x)); | |
13525 | } | |
13526 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
13527 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
13528 | } | |
13529 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
13530 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
13531 | } | |
13532 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
13533 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
13534 | } | |
13535 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
13536 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
13537 | } | |
13538 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
13539 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
13540 | } | |
13541 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
13542 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
13543 | } | |
13544 | static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) { | |
13545 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxFloatingPane *) x)); | |
13546 | } | |
13547 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
13548 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
13549 | } | |
13550 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
13551 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
13552 | } | |
10044bf1 RD |
13553 | static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) { |
13554 | return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x)); | |
13555 | } | |
27e45892 RD |
13556 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
13557 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
13558 | } | |
13559 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
13560 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
13561 | } | |
10044bf1 RD |
13562 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
13563 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
13564 | } | |
27e45892 RD |
13565 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
13566 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
13567 | } | |
13568 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
13569 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
13570 | } | |
13571 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
13572 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
13573 | } | |
13574 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
13575 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
13576 | } | |
13577 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
13578 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
13579 | } | |
13580 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
13581 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
13582 | } | |
10044bf1 RD |
13583 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
13584 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
13585 | } | |
13586 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
13587 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
13588 | } | |
13589 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
13590 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
13591 | } | |
13592 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
13593 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
13594 | } | |
13595 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
13596 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
13597 | } | |
13598 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
13599 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
13600 | } | |
13601 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
13602 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
13603 | } | |
13604 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
13605 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
13606 | } | |
13607 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
13608 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
13609 | } | |
13610 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
13611 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
13612 | } | |
13613 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
13614 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
13615 | } | |
13616 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
13617 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
13618 | } | |
13619 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
13620 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
13621 | } | |
13622 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
13623 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
13624 | } | |
13625 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
13626 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
13627 | } | |
13628 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
13629 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
13630 | } | |
13631 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
13632 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
13633 | } | |
13634 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
13635 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
13636 | } | |
13637 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
13638 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
13639 | } | |
13640 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
13641 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
13642 | } | |
13643 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
13644 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
13645 | } | |
13646 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
13647 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
13648 | } | |
13649 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
13650 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
13651 | } | |
13652 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
13653 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
13654 | } | |
13655 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
13656 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
13657 | } | |
13658 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
13659 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
13660 | } | |
13661 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
13662 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
13663 | } | |
13664 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
13665 | return (void *)((wxWindow **) ((wxControl **) x)); | |
13666 | } | |
13667 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
13668 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
13669 | } | |
13670 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
13671 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
13672 | } | |
13673 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
13674 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
13675 | } | |
13676 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
13677 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
13678 | } | |
13679 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
13680 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
13681 | } | |
13682 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
13683 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
13684 | } | |
13685 | static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) { | |
13686 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxFloatingPane **) x)); | |
13687 | } | |
13688 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { | |
13689 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
13690 | } | |
13691 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
13692 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
13693 | } | |
13694 | static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) { | |
13695 | return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x)); | |
13696 | } | |
13697 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
13698 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
13699 | } | |
13700 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
13701 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
13702 | } | |
13703 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
13704 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
13705 | } | |
13706 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
13707 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
13708 | } | |
13709 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
13710 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
13711 | } | |
13712 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
13713 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
13714 | } | |
13715 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
13716 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
13717 | } | |
13718 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
13719 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
13720 | } | |
13721 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { | |
13722 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
13723 | } | |
13724 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
13725 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
13726 | } | |
13727 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
13728 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
13729 | } | |
13730 | static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) { | |
13731 | return (void *)((wxControl *) ((wxAuiMultiNotebook *) x)); | |
13732 | } | |
27e45892 RD |
13733 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
13734 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
13735 | } | |
13736 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
13737 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
13738 | } | |
13739 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
13740 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
13741 | } | |
13742 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
13743 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
13744 | } | |
13745 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
13746 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
13747 | } | |
13748 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
13749 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
13750 | } | |
13751 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
13752 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
13753 | } | |
13754 | static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) { | |
13755 | return (void *)((wxEvent *) ((wxFrameManagerEvent *) x)); | |
13756 | } | |
13757 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
13758 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
13759 | } | |
13760 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
13761 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
13762 | } | |
13763 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
13764 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
13765 | } | |
13766 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
13767 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
13768 | } | |
34e0a3bb RD |
13769 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
13770 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
13771 | } | |
27e45892 RD |
13772 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
13773 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
13774 | } | |
13775 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
13776 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
13777 | } | |
10044bf1 RD |
13778 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
13779 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
13780 | } | |
27e45892 RD |
13781 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
13782 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
13783 | } | |
13784 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
13785 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
13786 | } | |
13787 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
13788 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
13789 | } | |
13790 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
13791 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
13792 | } | |
13793 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
13794 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
13795 | } | |
13796 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
13797 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
13798 | } | |
13799 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
13800 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
13801 | } | |
13802 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
13803 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
13804 | } | |
13805 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
13806 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
13807 | } | |
27e45892 RD |
13808 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
13809 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
13810 | } | |
13811 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
13812 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
13813 | } | |
34e0a3bb RD |
13814 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
13815 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
13816 | } | |
27e45892 RD |
13817 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
13818 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
13819 | } | |
13820 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
13821 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
13822 | } | |
13823 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
13824 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
13825 | } | |
13826 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
13827 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
13828 | } | |
13829 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
13830 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
13831 | } | |
13832 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
13833 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
13834 | } | |
13835 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
13836 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
13837 | } | |
13838 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
13839 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
13840 | } | |
13841 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
13842 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
13843 | } | |
13844 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
13845 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
13846 | } | |
13847 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
13848 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
13849 | } | |
13850 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
13851 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
13852 | } | |
13853 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
13854 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
13855 | } | |
13856 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
13857 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
13858 | } | |
13859 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
13860 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
13861 | } | |
13862 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
13863 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
13864 | } | |
13865 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
13866 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
13867 | } | |
13868 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
13869 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
13870 | } | |
13871 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
13872 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
13873 | } | |
13874 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
13875 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
13876 | } | |
13877 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
13878 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
13879 | } | |
13880 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
13881 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
13882 | } | |
27e45892 RD |
13883 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
13884 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
13885 | } | |
34e0a3bb RD |
13886 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
13887 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
13888 | } | |
27e45892 RD |
13889 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
13890 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
13891 | } | |
13892 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
13893 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
13894 | } | |
13895 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
13896 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
13897 | } | |
13898 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
13899 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
13900 | } | |
13901 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
13902 | return (void *)((wxObject *) ((wxSizer *) x)); | |
13903 | } | |
13904 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
13905 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
13906 | } | |
13907 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
13908 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
13909 | } | |
13910 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
13911 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
13912 | } | |
13913 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
13914 | return (void *)((wxObject *) ((wxEvent *) x)); | |
13915 | } | |
13916 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
13917 | return (void *)((wxObject *) ((wxFontData *) x)); | |
13918 | } | |
13919 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
13920 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
13921 | } | |
13922 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
13923 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
13924 | } | |
13925 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
13926 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
13927 | } | |
13928 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
13929 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
13930 | } | |
13931 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
13932 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
13933 | } | |
13934 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
13935 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
13936 | } | |
13937 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
13938 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
13939 | } | |
10044bf1 RD |
13940 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
13941 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
13942 | } | |
27e45892 RD |
13943 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
13944 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
13945 | } | |
13946 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
13947 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
13948 | } | |
13949 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
13950 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
13951 | } | |
13952 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
13953 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
13954 | } | |
13955 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
13956 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
13957 | } | |
13958 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
13959 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
13960 | } | |
13961 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
13962 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
13963 | } | |
13964 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
13965 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
13966 | } | |
13967 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
13968 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
13969 | } | |
13970 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
13971 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
13972 | } | |
13973 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
13974 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
13975 | } | |
13976 | static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) { | |
13977 | return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x)); | |
13978 | } | |
13979 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
13980 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
13981 | } | |
13982 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
13983 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
13984 | } | |
13985 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
13986 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
13987 | } | |
13988 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
13989 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
13990 | } | |
10044bf1 RD |
13991 | static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) { |
13992 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x)); | |
13993 | } | |
27e45892 RD |
13994 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
13995 | return (void *)((wxObject *) ((wxColourData *) x)); | |
13996 | } | |
13997 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
13998 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
13999 | } | |
14000 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
14001 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
14002 | } | |
14003 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
14004 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
14005 | } | |
14006 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
14007 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
14008 | } | |
14009 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
14010 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
14011 | } | |
14012 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
14013 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14014 | } | |
14015 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
14016 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14017 | } | |
14018 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
14019 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
14020 | } | |
14021 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
14022 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14023 | } | |
14024 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
14025 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
14026 | } | |
14027 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
14028 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
14029 | } | |
14030 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
14031 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
14032 | } | |
14033 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
14034 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
14035 | } | |
14036 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
14037 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
14038 | } | |
14039 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
14040 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
14041 | } | |
14042 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
14043 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
14044 | } | |
14045 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
14046 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
14047 | } | |
14048 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
14049 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
14050 | } | |
14051 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
14052 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
14053 | } | |
14054 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
14055 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
14056 | } | |
14057 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
14058 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
14059 | } | |
14060 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
14061 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
14062 | } | |
14063 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
14064 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
14065 | } | |
14066 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
14067 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
14068 | } | |
14069 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
14070 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
14071 | } | |
14072 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
14073 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
14074 | } | |
14075 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
14076 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
14077 | } | |
14078 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
14079 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
14080 | } | |
14081 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
14082 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
14083 | } | |
14084 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
14085 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
14086 | } | |
14087 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
14088 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
14089 | } | |
14090 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
14091 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
14092 | } | |
14093 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
14094 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
14095 | } | |
14096 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
14097 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
14098 | } | |
14099 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
14100 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
14101 | } | |
14102 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
14103 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
14104 | } | |
14105 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
14106 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
14107 | } | |
14108 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
14109 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
14110 | } | |
14111 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
14112 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
14113 | } | |
34e0a3bb RD |
14114 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
14115 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
14116 | } | |
27e45892 RD |
14117 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
14118 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
14119 | } | |
14120 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
14121 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
14122 | } | |
14123 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
14124 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
14125 | } | |
14126 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { | |
14127 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
14128 | } | |
14129 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
14130 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
14131 | } | |
14132 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
14133 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
14134 | } | |
14135 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
14136 | return (void *)((wxObject *) ((wxImage *) x)); | |
14137 | } | |
14138 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
14139 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
14140 | } | |
14141 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
14142 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
14143 | } | |
14144 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
14145 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
14146 | } | |
14147 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
14148 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
14149 | } | |
14150 | static void *_p_wxFloatingPaneTo_p_wxObject(void *x) { | |
14151 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxFloatingPane *) x)); | |
14152 | } | |
14153 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
14154 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
14155 | } | |
14156 | static void *_p_wxFrameManagerTo_p_wxObject(void *x) { | |
14157 | return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x)); | |
14158 | } | |
14159 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
14160 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
14161 | } | |
10044bf1 RD |
14162 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
14163 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
14164 | } | |
27e45892 RD |
14165 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
14166 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
14167 | } | |
14168 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
14169 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
14170 | } | |
14171 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
14172 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
14173 | } | |
14174 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
14175 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
14176 | } | |
14177 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
14178 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
14179 | } | |
14180 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
14181 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
14182 | } | |
14183 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
14184 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
14185 | } | |
14186 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
14187 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
14188 | } | |
14189 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
14190 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
14191 | } | |
14192 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
14193 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
14194 | } | |
14195 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
14196 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
14197 | } | |
14198 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
14199 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
14200 | } | |
14201 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
14202 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
14203 | } | |
14204 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
14205 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
14206 | } | |
14207 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
14208 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
14209 | } | |
14210 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
14211 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
14212 | } | |
14213 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
14214 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
14215 | } | |
14216 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
14217 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
14218 | } | |
14219 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
14220 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
14221 | } | |
14222 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
14223 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
14224 | } | |
14225 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
14226 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
14227 | } | |
14228 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
14229 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
14230 | } | |
14231 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
14232 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
14233 | } | |
14234 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
14235 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
14236 | } | |
14237 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
14238 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
14239 | } | |
14240 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
14241 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
14242 | } | |
14243 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
14244 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
14245 | } | |
14246 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
14247 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
14248 | } | |
14249 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
14250 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
14251 | } | |
14252 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
14253 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
14254 | } | |
14255 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
14256 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
14257 | } | |
14258 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
14259 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
14260 | } | |
14261 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
14262 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
14263 | } | |
14264 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
14265 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
14266 | } | |
14267 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
14268 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
14269 | } | |
14270 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
14271 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
14272 | } | |
14273 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
14274 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
14275 | } | |
14276 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
14277 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
14278 | } | |
14279 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
14280 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
14281 | } | |
14282 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
14283 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
14284 | } | |
14285 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
14286 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
14287 | } | |
14288 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
14289 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
14290 | } | |
14291 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
14292 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
14293 | } | |
14294 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
14295 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
14296 | } | |
14297 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
14298 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
14299 | } | |
14300 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
14301 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
14302 | } | |
14303 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
14304 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
14305 | } | |
14306 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
14307 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
14308 | } | |
14309 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
14310 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
14311 | } | |
14312 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
14313 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
14314 | } | |
14315 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
14316 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
14317 | } | |
14318 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
14319 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
14320 | } | |
14321 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
14322 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
14323 | } | |
14324 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
14325 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
14326 | } | |
14327 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
14328 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14329 | } | |
14330 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
14331 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
14332 | } | |
14333 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
14334 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14335 | } | |
14336 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
14337 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14338 | } | |
14339 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
14340 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
14341 | } | |
14342 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
14343 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
14344 | } | |
14345 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
14346 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
14347 | } | |
14348 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
14349 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
14350 | } | |
14351 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
14352 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
14353 | } | |
14354 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
14355 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
14356 | } | |
14357 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
14358 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
14359 | } | |
14360 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14361 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
14362 | } | |
14363 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
14364 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
14365 | } | |
14366 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
14367 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
14368 | } | |
14369 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
14370 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
14371 | } | |
14372 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
14373 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
14374 | } | |
14375 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
14376 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
14377 | } | |
14378 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
14379 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
14380 | } | |
14381 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
14382 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
14383 | } | |
14384 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
14385 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
14386 | } | |
14387 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14388 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
14389 | } | |
14390 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
14391 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
14392 | } | |
14393 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
14394 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
14395 | } | |
14396 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14397 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
14398 | } | |
14399 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
14400 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
14401 | } | |
14402 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
14403 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
14404 | } | |
14405 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
14406 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14407 | } | |
14408 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
14409 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
14410 | } | |
14411 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
14412 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
14413 | } | |
14414 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
14415 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
14416 | } | |
14417 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
14418 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
14419 | } | |
14420 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
14421 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
14422 | } | |
14423 | static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) { | |
14424 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxFloatingPane *) x)); | |
14425 | } | |
14426 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
14427 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
14428 | } | |
14429 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
14430 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
14431 | } | |
10044bf1 RD |
14432 | static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) { |
14433 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x)); | |
14434 | } | |
27e45892 RD |
14435 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
14436 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
14437 | } | |
14438 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
14439 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
14440 | } | |
14441 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
14442 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
14443 | } | |
10044bf1 RD |
14444 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
14445 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
14446 | } | |
27e45892 RD |
14447 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
14448 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
14449 | } | |
14450 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
14451 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
14452 | } | |
14453 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
14454 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
14455 | } | |
14456 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
14457 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
14458 | } | |
14459 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
14460 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
14461 | } | |
14462 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
14463 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
14464 | } | |
14465 | static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) { | |
14466 | return (void *)((wxEvtHandler *) ((wxFrameManager *) x)); | |
14467 | } | |
10044bf1 RD |
14468 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
14469 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
14470 | } | |
27e45892 RD |
14471 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
14472 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
14473 | } | |
14474 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
14475 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
14476 | } | |
14477 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
14478 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
14479 | } | |
14480 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
14481 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
14482 | } | |
14483 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
14484 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14485 | } | |
14486 | static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) { | |
14487 | return (void *)((wxFrame *) ((wxFloatingPane *) x)); | |
14488 | } | |
14489 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
14490 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
14491 | } | |
14492 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
14493 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
14494 | } | |
14495 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
14496 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
14497 | } | |
10044bf1 RD |
14498 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
14499 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
14500 | } | |
14501 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
14502 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
14503 | } | |
14504 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
14505 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
14506 | } | |
14507 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
14508 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
14509 | } | |
14510 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
14511 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
14512 | } | |
14513 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
14514 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
14515 | } | |
14516 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
14517 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
14518 | } | |
14519 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
14520 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
14521 | } | |
14522 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
14523 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
14524 | } | |
14525 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
14526 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
14527 | } | |
14528 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
14529 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
14530 | } | |
14531 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
14532 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
14533 | } | |
14534 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
14535 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
14536 | } | |
14537 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
14538 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
14539 | } | |
27e45892 RD |
14540 | static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) { |
14541 | return (void *)((wxDockArt *) ((wxDefaultDockArt *) x)); | |
14542 | } | |
14543 | static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) { | |
14544 | return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x)); | |
14545 | } | |
14546 | static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) { | |
14547 | return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x)); | |
14548 | } | |
14549 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
14550 | 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}; | |
14551 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
14552 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
14553 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
14554 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
14555 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
14556 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
14557 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
14558 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
14559 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
14560 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
14561 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
14562 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
14563 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
14564 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
14565 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
14566 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
14567 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
14568 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
14569 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
14570 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
14571 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
14572 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
14573 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
14574 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
14575 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
14576 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
14577 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
14578 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
14579 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
14580 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
14581 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
14582 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
14583 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
14584 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
14585 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
14586 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
14587 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
14588 | static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0}; | |
14589 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
14590 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
14591 | static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0}; | |
14592 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
14593 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
14594 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
14595 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
14596 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
14597 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
14598 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
14599 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
14600 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14601 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
14602 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
14603 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
14604 | static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0}; |
14605 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; | |
14606 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
14607 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
14608 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; | |
14609 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
14610 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
14611 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
14612 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
14613 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
14614 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
14615 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
14616 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
14617 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
14618 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
14619 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
14620 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
14621 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
14622 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
14623 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
14624 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
14625 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
14626 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
14627 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
14628 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14629 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
14630 | static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0}; | |
14631 | static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0}; | |
14632 | static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0}; | |
14633 | static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0}; | |
14634 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
14635 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
14636 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
14637 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
14638 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
14639 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
14640 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 14641 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 14642 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
34e0a3bb | 14643 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
14644 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
14645 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14646 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
14647 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
14648 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
14649 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
14650 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
14651 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14652 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
14653 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14654 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
14655 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
14656 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
14657 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
14658 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
14659 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14660 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
14661 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14662 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
14663 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
14664 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
14665 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
14666 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
14667 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
14668 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
14669 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
14670 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
14671 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
14672 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
14673 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
14674 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
14675 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
14676 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
14677 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
14678 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
14679 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
14680 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
14681 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
14682 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; | |
14683 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
14684 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
14685 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
14686 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
14687 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
14688 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
14689 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
14690 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
14691 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
14692 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
14693 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
14694 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
14695 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
14696 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14697 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
14698 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14699 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
14700 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
14701 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
14702 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
14703 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
14704 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
14705 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
14706 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
14707 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
14708 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
14709 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
14710 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
14711 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
14712 | static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0}; | |
14713 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
14714 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
14715 | static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0}; | |
14716 | static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0}; | |
10044bf1 | 14717 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
14718 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
14719 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
14720 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
14721 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
14722 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
14723 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
14724 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
14725 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
14726 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
14727 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
14728 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
14729 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
14730 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
14731 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
14732 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
14733 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
14734 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
14735 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14736 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
14737 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
14738 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
14739 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
14740 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
14741 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
10044bf1 RD |
14742 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
14743 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14744 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
14745 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
14746 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
14747 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
14748 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
14749 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
14750 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
14751 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
14752 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
14753 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
14754 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
14755 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
14756 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
14757 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
14758 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
14759 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
14760 | static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0}; | |
14761 | static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0}; | |
14762 | static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0}; | |
14763 | static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
14764 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
14765 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
14766 | static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0}; | |
14767 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; | |
14768 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
14769 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
14770 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
14771 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
14772 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
14773 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
14774 | ||
14775 | static swig_type_info *swig_type_initial[] = { | |
14776 | &_swigt__p_char, | |
14777 | &_swigt__p_form_ops_t, | |
14778 | &_swigt__p_int, | |
10044bf1 RD |
14779 | &_swigt__p_p_wxAuiMultiNotebook, |
14780 | &_swigt__p_p_wxAuiTabContainerButton, | |
14781 | &_swigt__p_p_wxAuiTabCtrl, | |
14782 | &_swigt__p_p_wxColourDialog, | |
14783 | &_swigt__p_p_wxControl, | |
14784 | &_swigt__p_p_wxControlWithItems, | |
14785 | &_swigt__p_p_wxDialog, | |
14786 | &_swigt__p_p_wxDirDialog, | |
14787 | &_swigt__p_p_wxFileDialog, | |
14788 | &_swigt__p_p_wxFindReplaceDialog, | |
14789 | &_swigt__p_p_wxFloatingPane, | |
14790 | &_swigt__p_p_wxFontDialog, | |
14791 | &_swigt__p_p_wxFrame, | |
14792 | &_swigt__p_p_wxMDIChildFrame, | |
14793 | &_swigt__p_p_wxMDIClientWindow, | |
14794 | &_swigt__p_p_wxMDIParentFrame, | |
14795 | &_swigt__p_p_wxMenuBar, | |
14796 | &_swigt__p_p_wxMessageDialog, | |
14797 | &_swigt__p_p_wxMiniFrame, | |
14798 | &_swigt__p_p_wxMultiChoiceDialog, | |
14799 | &_swigt__p_p_wxNumberEntryDialog, | |
14800 | &_swigt__p_p_wxPanel, | |
14801 | &_swigt__p_p_wxPasswordEntryDialog, | |
14802 | &_swigt__p_p_wxPopupWindow, | |
14803 | &_swigt__p_p_wxPreviewCanvas, | |
14804 | &_swigt__p_p_wxPreviewControlBar, | |
14805 | &_swigt__p_p_wxPreviewFrame, | |
14806 | &_swigt__p_p_wxProgressDialog, | |
14807 | &_swigt__p_p_wxPyHtmlListBox, | |
14808 | &_swigt__p_p_wxPyPanel, | |
14809 | &_swigt__p_p_wxPyPopupTransientWindow, | |
14810 | &_swigt__p_p_wxPyPreviewControlBar, | |
14811 | &_swigt__p_p_wxPyPreviewFrame, | |
14812 | &_swigt__p_p_wxPyScrolledWindow, | |
14813 | &_swigt__p_p_wxPyVListBox, | |
14814 | &_swigt__p_p_wxPyVScrolledWindow, | |
14815 | &_swigt__p_p_wxPyWindow, | |
14816 | &_swigt__p_p_wxSashLayoutWindow, | |
14817 | &_swigt__p_p_wxSashWindow, | |
14818 | &_swigt__p_p_wxScrolledWindow, | |
14819 | &_swigt__p_p_wxSingleChoiceDialog, | |
14820 | &_swigt__p_p_wxSplashScreen, | |
14821 | &_swigt__p_p_wxSplashScreenWindow, | |
14822 | &_swigt__p_p_wxSplitterWindow, | |
14823 | &_swigt__p_p_wxStatusBar, | |
14824 | &_swigt__p_p_wxTextEntryDialog, | |
14825 | &_swigt__p_p_wxTipWindow, | |
14826 | &_swigt__p_p_wxTopLevelWindow, | |
14827 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
14828 | &_swigt__p_unsigned_char, |
14829 | &_swigt__p_unsigned_int, | |
14830 | &_swigt__p_unsigned_long, | |
14831 | &_swigt__p_wxANIHandler, | |
14832 | &_swigt__p_wxAcceleratorTable, | |
14833 | &_swigt__p_wxActivateEvent, | |
10044bf1 RD |
14834 | &_swigt__p_wxAuiMultiNotebook, |
14835 | &_swigt__p_wxAuiNotebookEvent, | |
14836 | &_swigt__p_wxAuiNotebookPage, | |
14837 | &_swigt__p_wxAuiNotebookPageArray, | |
14838 | &_swigt__p_wxAuiTabContainer, | |
14839 | &_swigt__p_wxAuiTabContainerButton, | |
14840 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 14841 | &_swigt__p_wxBMPHandler, |
10044bf1 | 14842 | &_swigt__p_wxBitmap, |
27e45892 RD |
14843 | &_swigt__p_wxBoxSizer, |
14844 | &_swigt__p_wxCURHandler, | |
14845 | &_swigt__p_wxCalculateLayoutEvent, | |
14846 | &_swigt__p_wxChildFocusEvent, | |
14847 | &_swigt__p_wxClipboardTextEvent, | |
14848 | &_swigt__p_wxCloseEvent, | |
14849 | &_swigt__p_wxColor, | |
14850 | &_swigt__p_wxColour, | |
14851 | &_swigt__p_wxColourData, | |
14852 | &_swigt__p_wxColourDialog, | |
14853 | &_swigt__p_wxCommandEvent, | |
14854 | &_swigt__p_wxContextMenuEvent, | |
14855 | &_swigt__p_wxControl, | |
14856 | &_swigt__p_wxControlWithItems, | |
14857 | &_swigt__p_wxDC, | |
14858 | &_swigt__p_wxDateEvent, | |
14859 | &_swigt__p_wxDefaultDockArt, | |
14860 | &_swigt__p_wxDialog, | |
14861 | &_swigt__p_wxDirDialog, | |
14862 | &_swigt__p_wxDisplayChangedEvent, | |
14863 | &_swigt__p_wxDockArt, | |
14864 | &_swigt__p_wxDockInfo, | |
14865 | &_swigt__p_wxDockUIPart, | |
14866 | &_swigt__p_wxDropFilesEvent, | |
14867 | &_swigt__p_wxDuplexMode, | |
14868 | &_swigt__p_wxEraseEvent, | |
14869 | &_swigt__p_wxEvent, | |
14870 | &_swigt__p_wxEvtHandler, | |
14871 | &_swigt__p_wxFSFile, | |
14872 | &_swigt__p_wxFileDialog, | |
14873 | &_swigt__p_wxFileSystem, | |
14874 | &_swigt__p_wxFindDialogEvent, | |
14875 | &_swigt__p_wxFindReplaceData, | |
14876 | &_swigt__p_wxFindReplaceDialog, | |
14877 | &_swigt__p_wxFlexGridSizer, | |
14878 | &_swigt__p_wxFloatingPane, | |
14879 | &_swigt__p_wxFocusEvent, | |
14880 | &_swigt__p_wxFont, | |
14881 | &_swigt__p_wxFontData, | |
14882 | &_swigt__p_wxFontDialog, | |
14883 | &_swigt__p_wxFrame, | |
14884 | &_swigt__p_wxFrameManager, | |
14885 | &_swigt__p_wxFrameManagerEvent, | |
14886 | &_swigt__p_wxGBSizerItem, | |
14887 | &_swigt__p_wxGIFHandler, | |
14888 | &_swigt__p_wxGridBagSizer, | |
14889 | &_swigt__p_wxGridSizer, | |
14890 | &_swigt__p_wxICOHandler, | |
14891 | &_swigt__p_wxIconizeEvent, | |
14892 | &_swigt__p_wxIdleEvent, | |
14893 | &_swigt__p_wxImage, | |
14894 | &_swigt__p_wxImageHandler, | |
14895 | &_swigt__p_wxIndividualLayoutConstraint, | |
14896 | &_swigt__p_wxInitDialogEvent, | |
14897 | &_swigt__p_wxJPEGHandler, | |
14898 | &_swigt__p_wxKeyEvent, | |
14899 | &_swigt__p_wxLayoutAlgorithm, | |
14900 | &_swigt__p_wxLayoutConstraints, | |
14901 | &_swigt__p_wxMDIChildFrame, | |
14902 | &_swigt__p_wxMDIClientWindow, | |
14903 | &_swigt__p_wxMDIParentFrame, | |
14904 | &_swigt__p_wxMaximizeEvent, | |
14905 | &_swigt__p_wxMenu, | |
14906 | &_swigt__p_wxMenuBar, | |
14907 | &_swigt__p_wxMenuEvent, | |
14908 | &_swigt__p_wxMenuItem, | |
14909 | &_swigt__p_wxMessageDialog, | |
14910 | &_swigt__p_wxMiniFrame, | |
14911 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 14912 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
14913 | &_swigt__p_wxMouseEvent, |
14914 | &_swigt__p_wxMoveEvent, | |
14915 | &_swigt__p_wxMultiChoiceDialog, | |
14916 | &_swigt__p_wxNavigationKeyEvent, | |
14917 | &_swigt__p_wxNcPaintEvent, | |
14918 | &_swigt__p_wxNotifyEvent, | |
14919 | &_swigt__p_wxNumberEntryDialog, | |
14920 | &_swigt__p_wxObject, | |
14921 | &_swigt__p_wxPCXHandler, | |
14922 | &_swigt__p_wxPNGHandler, | |
14923 | &_swigt__p_wxPNMHandler, | |
14924 | &_swigt__p_wxPageSetupDialog, | |
14925 | &_swigt__p_wxPageSetupDialogData, | |
14926 | &_swigt__p_wxPaintEvent, | |
14927 | &_swigt__p_wxPaletteChangedEvent, | |
14928 | &_swigt__p_wxPaneButton, | |
14929 | &_swigt__p_wxPaneButtonArray, | |
14930 | &_swigt__p_wxPaneInfo, | |
14931 | &_swigt__p_wxPaneInfoPtrArray, | |
14932 | &_swigt__p_wxPanel, | |
14933 | &_swigt__p_wxPaperSize, | |
14934 | &_swigt__p_wxPasswordEntryDialog, | |
14935 | &_swigt__p_wxPoint, | |
14936 | &_swigt__p_wxPopupWindow, | |
14937 | &_swigt__p_wxPreviewCanvas, | |
14938 | &_swigt__p_wxPreviewControlBar, | |
14939 | &_swigt__p_wxPreviewFrame, | |
14940 | &_swigt__p_wxPrintData, | |
14941 | &_swigt__p_wxPrintDialog, | |
14942 | &_swigt__p_wxPrintDialogData, | |
14943 | &_swigt__p_wxPrintPreview, | |
14944 | &_swigt__p_wxPrinter, | |
14945 | &_swigt__p_wxProgressDialog, | |
14946 | &_swigt__p_wxPyApp, | |
14947 | &_swigt__p_wxPyCommandEvent, | |
14948 | &_swigt__p_wxPyDockArt, | |
14949 | &_swigt__p_wxPyEvent, | |
14950 | &_swigt__p_wxPyHtmlListBox, | |
14951 | &_swigt__p_wxPyImageHandler, | |
14952 | &_swigt__p_wxPyPanel, | |
14953 | &_swigt__p_wxPyPopupTransientWindow, | |
14954 | &_swigt__p_wxPyPreviewControlBar, | |
14955 | &_swigt__p_wxPyPreviewFrame, | |
14956 | &_swigt__p_wxPyPrintPreview, | |
14957 | &_swigt__p_wxPyPrintout, | |
14958 | &_swigt__p_wxPyScrolledWindow, | |
14959 | &_swigt__p_wxPySizer, | |
14960 | &_swigt__p_wxPyTaskBarIcon, | |
14961 | &_swigt__p_wxPyVListBox, | |
14962 | &_swigt__p_wxPyVScrolledWindow, | |
14963 | &_swigt__p_wxPyValidator, | |
14964 | &_swigt__p_wxPyWindow, | |
14965 | &_swigt__p_wxQueryLayoutInfoEvent, | |
14966 | &_swigt__p_wxQueryNewPaletteEvent, | |
14967 | &_swigt__p_wxRect, | |
14968 | &_swigt__p_wxSashEvent, | |
14969 | &_swigt__p_wxSashLayoutWindow, | |
14970 | &_swigt__p_wxSashWindow, | |
14971 | &_swigt__p_wxScrollEvent, | |
14972 | &_swigt__p_wxScrollWinEvent, | |
14973 | &_swigt__p_wxScrolledWindow, | |
14974 | &_swigt__p_wxSetCursorEvent, | |
14975 | &_swigt__p_wxShowEvent, | |
14976 | &_swigt__p_wxSingleChoiceDialog, | |
14977 | &_swigt__p_wxSize, | |
14978 | &_swigt__p_wxSizeEvent, | |
14979 | &_swigt__p_wxSizer, | |
14980 | &_swigt__p_wxSizerItem, | |
14981 | &_swigt__p_wxSplashScreen, | |
14982 | &_swigt__p_wxSplashScreenWindow, | |
14983 | &_swigt__p_wxSplitterEvent, | |
14984 | &_swigt__p_wxSplitterWindow, | |
14985 | &_swigt__p_wxStaticBoxSizer, | |
14986 | &_swigt__p_wxStatusBar, | |
14987 | &_swigt__p_wxStdDialogButtonSizer, | |
14988 | &_swigt__p_wxString, | |
14989 | &_swigt__p_wxSysColourChangedEvent, | |
14990 | &_swigt__p_wxTIFFHandler, | |
14991 | &_swigt__p_wxTaskBarIconEvent, | |
14992 | &_swigt__p_wxTextEntryDialog, | |
14993 | &_swigt__p_wxTipWindow, | |
14994 | &_swigt__p_wxTopLevelWindow, | |
14995 | &_swigt__p_wxUpdateUIEvent, | |
14996 | &_swigt__p_wxValidator, | |
14997 | &_swigt__p_wxWindow, | |
14998 | &_swigt__p_wxWindowCreateEvent, | |
14999 | &_swigt__p_wxWindowDestroyEvent, | |
15000 | &_swigt__p_wxXPMHandler, | |
15001 | }; | |
15002 | ||
15003 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
15004 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
15005 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
15006 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
15007 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
15008 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15009 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15010 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15011 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15012 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15013 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15014 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15015 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15016 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15017 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15018 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15019 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15020 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15021 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15022 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15023 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15024 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15025 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15026 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15027 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15028 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15029 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15030 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15031 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15032 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15033 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15034 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15035 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15036 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
15037 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15038 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
15039 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15040 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
15041 | static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}}; | |
15042 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15043 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15044 | static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
15045 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15046 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15047 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
15048 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15049 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15050 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15051 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15052 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15053 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15054 | static swig_cast_info _swigc__p_p_wxWindow[] = { {&_swigt__p_p_wxSplashScreen, _p_p_wxSplashScreenTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMiniFrame, _p_p_wxMiniFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPanel, _p_p_wxPyPanelTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMenuBar, _p_p_wxMenuBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFindReplaceDialog, _p_p_wxFindReplaceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxProgressDialog, _p_p_wxProgressDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMessageDialog, _p_p_wxMessageDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxNumberEntryDialog, _p_p_wxNumberEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPasswordEntryDialog, _p_p_wxPasswordEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTextEntryDialog, _p_p_wxTextEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSingleChoiceDialog, _p_p_wxSingleChoiceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMultiChoiceDialog, _p_p_wxMultiChoiceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFileDialog, _p_p_wxFileDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPanel, _p_p_wxPanelTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxStatusBar, _p_p_wxStatusBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVScrolledWindow, _p_p_wxPyVScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTipWindow, _p_p_wxTipWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPopupTransientWindow, _p_p_wxPyPopupTransientWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPopupWindow, _p_p_wxPopupWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSashLayoutWindow, _p_p_wxSashLayoutWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxScrolledWindow, _p_p_wxScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTopLevelWindow, _p_p_wxTopLevelWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSplashScreenWindow, _p_p_wxSplashScreenWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSplitterWindow, _p_p_wxSplitterWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSashWindow, _p_p_wxSashWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIClientWindow, _p_p_wxMDIClientWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyScrolledWindow, _p_p_wxPyScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxWindow, 0, 0, 0}, {&_swigt__p_p_wxPreviewFrame, _p_p_wxPreviewFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPreviewFrame, _p_p_wxPyPreviewFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxControl, _p_p_wxControlTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIChildFrame, _p_p_wxMDIChildFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxControlWithItems, _p_p_wxControlWithItemsTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyWindow, _p_p_wxPyWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPreviewCanvas, _p_p_wxPreviewCanvasTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFloatingPane, _p_p_wxFloatingPaneTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyHtmlListBox, _p_p_wxPyHtmlListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVListBox, _p_p_wxPyVListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiMultiNotebook, _p_p_wxAuiMultiNotebookTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPreviewControlBar, _p_p_wxPreviewControlBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPreviewControlBar, _p_p_wxPyPreviewControlBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiTabCtrl, _p_p_wxAuiTabCtrlTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFrame, _p_p_wxFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFontDialog, _p_p_wxFontDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxDirDialog, _p_p_wxDirDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxColourDialog, _p_p_wxColourDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxDialog, _p_p_wxDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIParentFrame, _p_p_wxMDIParentFrameTo_p_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15055 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
15056 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
15057 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
15058 | static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
15059 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15060 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
15061 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
15062 | static swig_cast_info _swigc__p_wxAuiTabContainer[] = { {&_swigt__p_wxAuiTabContainer, 0, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxAuiTabContainer, 0, 0},{0, 0, 0, 0}}; | |
15063 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
15064 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
15065 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15066 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
15067 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
15068 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15069 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15070 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15071 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15072 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15073 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15074 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15075 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15076 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15077 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15078 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15079 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15080 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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}}; | |
15081 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
15082 | static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15083 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
15084 | static swig_cast_info _swigc__p_wxDefaultDockArt[] = { {&_swigt__p_wxDefaultDockArt, 0, 0, 0}, {&_swigt__p_wxPyDockArt, _p_wxPyDockArtTo_p_wxDefaultDockArt, 0, 0},{0, 0, 0, 0}}; | |
15085 | static swig_cast_info _swigc__p_wxDockArt[] = { {&_swigt__p_wxDockArt, 0, 0, 0}, {&_swigt__p_wxDefaultDockArt, _p_wxDefaultDockArtTo_p_wxDockArt, 0, 0}, {&_swigt__p_wxPyDockArt, _p_wxPyDockArtTo_p_wxDockArt, 0, 0},{0, 0, 0, 0}}; | |
15086 | static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
15087 | static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
15088 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15089 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15090 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15091 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15092 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15093 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 15094 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 15095 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 15096 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15097 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15098 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15099 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15100 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15101 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15102 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15103 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15104 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15105 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15106 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15107 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15108 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15109 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15110 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15111 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15112 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15113 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15114 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15115 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15116 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15117 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15118 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 15119 | 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_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFrameManagerEvent, _p_wxFrameManagerEventTo_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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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_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_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15120 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
15121 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15122 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15123 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15124 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
15125 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
15126 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15127 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15128 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15129 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15130 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15131 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15132 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15133 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15134 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15135 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15136 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15137 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15138 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15139 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15140 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15141 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15142 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15143 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15144 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15145 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15146 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15147 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15148 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15149 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15150 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
15151 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15152 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
15153 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
15154 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15155 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15156 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15157 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15158 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
15159 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15160 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15161 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15162 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15163 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
15164 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 | 15165 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15166 | static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}}; |
15167 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
15168 | static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}}; | |
15169 | static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}}; | |
15170 | static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 | 15171 | static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15172 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
15173 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
15174 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
15175 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15176 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15177 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15178 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
15179 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
15180 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15181 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15182 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
15183 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
15184 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
15185 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15186 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
15187 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
15188 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15189 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
15190 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15191 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15192 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15193 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15194 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
15195 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
15196 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15197 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
15198 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15199 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15200 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15201 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15202 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15203 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
15204 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
15205 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
15206 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
15207 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
15208 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15209 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15210 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
15211 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
15212 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 15213 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_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_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrameManagerEvent, _p_wxFrameManagerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_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_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_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_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_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_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15214 | static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
15215 | static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
15216 | static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
15217 | static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
15218 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
15219 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
15220 | static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}}; | |
15221 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; | |
15222 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
15223 | static swig_cast_info _swigc__p_wxSizer[] = { {&_swigt__p_wxSizer, 0, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxSizer, 0, 0},{0, 0, 0, 0}}; | |
15224 | static swig_cast_info _swigc__p_wxSizerItem[] = { {&_swigt__p_wxSizerItem, 0, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0},{0, 0, 0, 0}}; | |
15225 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
15226 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 | 15227 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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_wxWindow, 0, 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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15228 | |
15229 | static swig_cast_info *swig_cast_initial[] = { | |
15230 | _swigc__p_char, | |
15231 | _swigc__p_form_ops_t, | |
15232 | _swigc__p_int, | |
10044bf1 RD |
15233 | _swigc__p_p_wxAuiMultiNotebook, |
15234 | _swigc__p_p_wxAuiTabContainerButton, | |
15235 | _swigc__p_p_wxAuiTabCtrl, | |
15236 | _swigc__p_p_wxColourDialog, | |
15237 | _swigc__p_p_wxControl, | |
15238 | _swigc__p_p_wxControlWithItems, | |
15239 | _swigc__p_p_wxDialog, | |
15240 | _swigc__p_p_wxDirDialog, | |
15241 | _swigc__p_p_wxFileDialog, | |
15242 | _swigc__p_p_wxFindReplaceDialog, | |
15243 | _swigc__p_p_wxFloatingPane, | |
15244 | _swigc__p_p_wxFontDialog, | |
15245 | _swigc__p_p_wxFrame, | |
15246 | _swigc__p_p_wxMDIChildFrame, | |
15247 | _swigc__p_p_wxMDIClientWindow, | |
15248 | _swigc__p_p_wxMDIParentFrame, | |
15249 | _swigc__p_p_wxMenuBar, | |
15250 | _swigc__p_p_wxMessageDialog, | |
15251 | _swigc__p_p_wxMiniFrame, | |
15252 | _swigc__p_p_wxMultiChoiceDialog, | |
15253 | _swigc__p_p_wxNumberEntryDialog, | |
15254 | _swigc__p_p_wxPanel, | |
15255 | _swigc__p_p_wxPasswordEntryDialog, | |
15256 | _swigc__p_p_wxPopupWindow, | |
15257 | _swigc__p_p_wxPreviewCanvas, | |
15258 | _swigc__p_p_wxPreviewControlBar, | |
15259 | _swigc__p_p_wxPreviewFrame, | |
15260 | _swigc__p_p_wxProgressDialog, | |
15261 | _swigc__p_p_wxPyHtmlListBox, | |
15262 | _swigc__p_p_wxPyPanel, | |
15263 | _swigc__p_p_wxPyPopupTransientWindow, | |
15264 | _swigc__p_p_wxPyPreviewControlBar, | |
15265 | _swigc__p_p_wxPyPreviewFrame, | |
15266 | _swigc__p_p_wxPyScrolledWindow, | |
15267 | _swigc__p_p_wxPyVListBox, | |
15268 | _swigc__p_p_wxPyVScrolledWindow, | |
15269 | _swigc__p_p_wxPyWindow, | |
15270 | _swigc__p_p_wxSashLayoutWindow, | |
15271 | _swigc__p_p_wxSashWindow, | |
15272 | _swigc__p_p_wxScrolledWindow, | |
15273 | _swigc__p_p_wxSingleChoiceDialog, | |
15274 | _swigc__p_p_wxSplashScreen, | |
15275 | _swigc__p_p_wxSplashScreenWindow, | |
15276 | _swigc__p_p_wxSplitterWindow, | |
15277 | _swigc__p_p_wxStatusBar, | |
15278 | _swigc__p_p_wxTextEntryDialog, | |
15279 | _swigc__p_p_wxTipWindow, | |
15280 | _swigc__p_p_wxTopLevelWindow, | |
15281 | _swigc__p_p_wxWindow, | |
27e45892 RD |
15282 | _swigc__p_unsigned_char, |
15283 | _swigc__p_unsigned_int, | |
15284 | _swigc__p_unsigned_long, | |
15285 | _swigc__p_wxANIHandler, | |
15286 | _swigc__p_wxAcceleratorTable, | |
15287 | _swigc__p_wxActivateEvent, | |
10044bf1 RD |
15288 | _swigc__p_wxAuiMultiNotebook, |
15289 | _swigc__p_wxAuiNotebookEvent, | |
15290 | _swigc__p_wxAuiNotebookPage, | |
15291 | _swigc__p_wxAuiNotebookPageArray, | |
15292 | _swigc__p_wxAuiTabContainer, | |
15293 | _swigc__p_wxAuiTabContainerButton, | |
15294 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 15295 | _swigc__p_wxBMPHandler, |
10044bf1 | 15296 | _swigc__p_wxBitmap, |
27e45892 RD |
15297 | _swigc__p_wxBoxSizer, |
15298 | _swigc__p_wxCURHandler, | |
15299 | _swigc__p_wxCalculateLayoutEvent, | |
15300 | _swigc__p_wxChildFocusEvent, | |
15301 | _swigc__p_wxClipboardTextEvent, | |
15302 | _swigc__p_wxCloseEvent, | |
15303 | _swigc__p_wxColor, | |
15304 | _swigc__p_wxColour, | |
15305 | _swigc__p_wxColourData, | |
15306 | _swigc__p_wxColourDialog, | |
15307 | _swigc__p_wxCommandEvent, | |
15308 | _swigc__p_wxContextMenuEvent, | |
15309 | _swigc__p_wxControl, | |
15310 | _swigc__p_wxControlWithItems, | |
15311 | _swigc__p_wxDC, | |
15312 | _swigc__p_wxDateEvent, | |
15313 | _swigc__p_wxDefaultDockArt, | |
15314 | _swigc__p_wxDialog, | |
15315 | _swigc__p_wxDirDialog, | |
15316 | _swigc__p_wxDisplayChangedEvent, | |
15317 | _swigc__p_wxDockArt, | |
15318 | _swigc__p_wxDockInfo, | |
15319 | _swigc__p_wxDockUIPart, | |
15320 | _swigc__p_wxDropFilesEvent, | |
15321 | _swigc__p_wxDuplexMode, | |
15322 | _swigc__p_wxEraseEvent, | |
15323 | _swigc__p_wxEvent, | |
15324 | _swigc__p_wxEvtHandler, | |
15325 | _swigc__p_wxFSFile, | |
15326 | _swigc__p_wxFileDialog, | |
15327 | _swigc__p_wxFileSystem, | |
15328 | _swigc__p_wxFindDialogEvent, | |
15329 | _swigc__p_wxFindReplaceData, | |
15330 | _swigc__p_wxFindReplaceDialog, | |
15331 | _swigc__p_wxFlexGridSizer, | |
15332 | _swigc__p_wxFloatingPane, | |
15333 | _swigc__p_wxFocusEvent, | |
15334 | _swigc__p_wxFont, | |
15335 | _swigc__p_wxFontData, | |
15336 | _swigc__p_wxFontDialog, | |
15337 | _swigc__p_wxFrame, | |
15338 | _swigc__p_wxFrameManager, | |
15339 | _swigc__p_wxFrameManagerEvent, | |
15340 | _swigc__p_wxGBSizerItem, | |
15341 | _swigc__p_wxGIFHandler, | |
15342 | _swigc__p_wxGridBagSizer, | |
15343 | _swigc__p_wxGridSizer, | |
15344 | _swigc__p_wxICOHandler, | |
15345 | _swigc__p_wxIconizeEvent, | |
15346 | _swigc__p_wxIdleEvent, | |
15347 | _swigc__p_wxImage, | |
15348 | _swigc__p_wxImageHandler, | |
15349 | _swigc__p_wxIndividualLayoutConstraint, | |
15350 | _swigc__p_wxInitDialogEvent, | |
15351 | _swigc__p_wxJPEGHandler, | |
15352 | _swigc__p_wxKeyEvent, | |
15353 | _swigc__p_wxLayoutAlgorithm, | |
15354 | _swigc__p_wxLayoutConstraints, | |
15355 | _swigc__p_wxMDIChildFrame, | |
15356 | _swigc__p_wxMDIClientWindow, | |
15357 | _swigc__p_wxMDIParentFrame, | |
15358 | _swigc__p_wxMaximizeEvent, | |
15359 | _swigc__p_wxMenu, | |
15360 | _swigc__p_wxMenuBar, | |
15361 | _swigc__p_wxMenuEvent, | |
15362 | _swigc__p_wxMenuItem, | |
15363 | _swigc__p_wxMessageDialog, | |
15364 | _swigc__p_wxMiniFrame, | |
15365 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 15366 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
15367 | _swigc__p_wxMouseEvent, |
15368 | _swigc__p_wxMoveEvent, | |
15369 | _swigc__p_wxMultiChoiceDialog, | |
15370 | _swigc__p_wxNavigationKeyEvent, | |
15371 | _swigc__p_wxNcPaintEvent, | |
15372 | _swigc__p_wxNotifyEvent, | |
15373 | _swigc__p_wxNumberEntryDialog, | |
15374 | _swigc__p_wxObject, | |
15375 | _swigc__p_wxPCXHandler, | |
15376 | _swigc__p_wxPNGHandler, | |
15377 | _swigc__p_wxPNMHandler, | |
15378 | _swigc__p_wxPageSetupDialog, | |
15379 | _swigc__p_wxPageSetupDialogData, | |
15380 | _swigc__p_wxPaintEvent, | |
15381 | _swigc__p_wxPaletteChangedEvent, | |
15382 | _swigc__p_wxPaneButton, | |
15383 | _swigc__p_wxPaneButtonArray, | |
15384 | _swigc__p_wxPaneInfo, | |
15385 | _swigc__p_wxPaneInfoPtrArray, | |
15386 | _swigc__p_wxPanel, | |
15387 | _swigc__p_wxPaperSize, | |
15388 | _swigc__p_wxPasswordEntryDialog, | |
15389 | _swigc__p_wxPoint, | |
15390 | _swigc__p_wxPopupWindow, | |
15391 | _swigc__p_wxPreviewCanvas, | |
15392 | _swigc__p_wxPreviewControlBar, | |
15393 | _swigc__p_wxPreviewFrame, | |
15394 | _swigc__p_wxPrintData, | |
15395 | _swigc__p_wxPrintDialog, | |
15396 | _swigc__p_wxPrintDialogData, | |
15397 | _swigc__p_wxPrintPreview, | |
15398 | _swigc__p_wxPrinter, | |
15399 | _swigc__p_wxProgressDialog, | |
15400 | _swigc__p_wxPyApp, | |
15401 | _swigc__p_wxPyCommandEvent, | |
15402 | _swigc__p_wxPyDockArt, | |
15403 | _swigc__p_wxPyEvent, | |
15404 | _swigc__p_wxPyHtmlListBox, | |
15405 | _swigc__p_wxPyImageHandler, | |
15406 | _swigc__p_wxPyPanel, | |
15407 | _swigc__p_wxPyPopupTransientWindow, | |
15408 | _swigc__p_wxPyPreviewControlBar, | |
15409 | _swigc__p_wxPyPreviewFrame, | |
15410 | _swigc__p_wxPyPrintPreview, | |
15411 | _swigc__p_wxPyPrintout, | |
15412 | _swigc__p_wxPyScrolledWindow, | |
15413 | _swigc__p_wxPySizer, | |
15414 | _swigc__p_wxPyTaskBarIcon, | |
15415 | _swigc__p_wxPyVListBox, | |
15416 | _swigc__p_wxPyVScrolledWindow, | |
15417 | _swigc__p_wxPyValidator, | |
15418 | _swigc__p_wxPyWindow, | |
15419 | _swigc__p_wxQueryLayoutInfoEvent, | |
15420 | _swigc__p_wxQueryNewPaletteEvent, | |
15421 | _swigc__p_wxRect, | |
15422 | _swigc__p_wxSashEvent, | |
15423 | _swigc__p_wxSashLayoutWindow, | |
15424 | _swigc__p_wxSashWindow, | |
15425 | _swigc__p_wxScrollEvent, | |
15426 | _swigc__p_wxScrollWinEvent, | |
15427 | _swigc__p_wxScrolledWindow, | |
15428 | _swigc__p_wxSetCursorEvent, | |
15429 | _swigc__p_wxShowEvent, | |
15430 | _swigc__p_wxSingleChoiceDialog, | |
15431 | _swigc__p_wxSize, | |
15432 | _swigc__p_wxSizeEvent, | |
15433 | _swigc__p_wxSizer, | |
15434 | _swigc__p_wxSizerItem, | |
15435 | _swigc__p_wxSplashScreen, | |
15436 | _swigc__p_wxSplashScreenWindow, | |
15437 | _swigc__p_wxSplitterEvent, | |
15438 | _swigc__p_wxSplitterWindow, | |
15439 | _swigc__p_wxStaticBoxSizer, | |
15440 | _swigc__p_wxStatusBar, | |
15441 | _swigc__p_wxStdDialogButtonSizer, | |
15442 | _swigc__p_wxString, | |
15443 | _swigc__p_wxSysColourChangedEvent, | |
15444 | _swigc__p_wxTIFFHandler, | |
15445 | _swigc__p_wxTaskBarIconEvent, | |
15446 | _swigc__p_wxTextEntryDialog, | |
15447 | _swigc__p_wxTipWindow, | |
15448 | _swigc__p_wxTopLevelWindow, | |
15449 | _swigc__p_wxUpdateUIEvent, | |
15450 | _swigc__p_wxValidator, | |
15451 | _swigc__p_wxWindow, | |
15452 | _swigc__p_wxWindowCreateEvent, | |
15453 | _swigc__p_wxWindowDestroyEvent, | |
15454 | _swigc__p_wxXPMHandler, | |
15455 | }; | |
15456 | ||
15457 | ||
15458 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
15459 | ||
15460 | static swig_const_info swig_const_table[] = { | |
15461 | {0, 0, 0, 0.0, 0, 0}}; | |
15462 | ||
15463 | #ifdef __cplusplus | |
15464 | } | |
15465 | #endif | |
15466 | /* ----------------------------------------------------------------------------- | |
15467 | * Type initialization: | |
15468 | * This problem is tough by the requirement that no dynamic | |
15469 | * memory is used. Also, since swig_type_info structures store pointers to | |
15470 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
15471 | * to swig_type_info structures, we need some lookup code at initialization. | |
15472 | * The idea is that swig generates all the structures that are needed. | |
15473 | * The runtime then collects these partially filled structures. | |
15474 | * The SWIG_InitializeModule function takes these initial arrays out of | |
15475 | * swig_module, and does all the lookup, filling in the swig_module.types | |
15476 | * array with the correct data and linking the correct swig_cast_info | |
15477 | * structures together. | |
15478 | * | |
15479 | * The generated swig_type_info structures are assigned staticly to an initial | |
15480 | * array. We just loop though that array, and handle each type individually. | |
15481 | * First we lookup if this type has been already loaded, and if so, use the | |
15482 | * loaded structure instead of the generated one. Then we have to fill in the | |
15483 | * cast linked list. The cast data is initially stored in something like a | |
15484 | * two-dimensional array. Each row corresponds to a type (there are the same | |
15485 | * number of rows as there are in the swig_type_initial array). Each entry in | |
15486 | * a column is one of the swig_cast_info structures for that type. | |
15487 | * The cast_initial array is actually an array of arrays, because each row has | |
15488 | * a variable number of columns. So to actually build the cast linked list, | |
15489 | * we find the array of casts associated with the type, and loop through it | |
15490 | * adding the casts to the list. The one last trick we need to do is making | |
15491 | * sure the type pointer in the swig_cast_info struct is correct. | |
15492 | * | |
15493 | * First off, we lookup the cast->type name to see if it is already loaded. | |
15494 | * There are three cases to handle: | |
15495 | * 1) If the cast->type has already been loaded AND the type we are adding | |
15496 | * casting info to has not been loaded (it is in this module), THEN we | |
15497 | * replace the cast->type pointer with the type pointer that has already | |
15498 | * been loaded. | |
15499 | * 2) If BOTH types (the one we are adding casting info to, and the | |
15500 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
15501 | * the previous module so we just ignore it. | |
15502 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
15503 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
15504 | * be correct. | |
15505 | * ----------------------------------------------------------------------------- */ | |
15506 | ||
15507 | #ifdef __cplusplus | |
15508 | extern "C" { | |
15509 | #if 0 | |
15510 | } /* c-mode */ | |
15511 | #endif | |
15512 | #endif | |
15513 | ||
15514 | #if 0 | |
15515 | #define SWIGRUNTIME_DEBUG | |
15516 | #endif | |
15517 | ||
15518 | SWIGRUNTIME void | |
15519 | SWIG_InitializeModule(void *clientdata) { | |
15520 | size_t i; | |
15521 | swig_module_info *module_head; | |
15522 | static int init_run = 0; | |
15523 | ||
15524 | clientdata = clientdata; | |
15525 | ||
15526 | if (init_run) return; | |
15527 | init_run = 1; | |
15528 | ||
15529 | /* Initialize the swig_module */ | |
15530 | swig_module.type_initial = swig_type_initial; | |
15531 | swig_module.cast_initial = swig_cast_initial; | |
15532 | ||
15533 | /* Try and load any already created modules */ | |
15534 | module_head = SWIG_GetModule(clientdata); | |
15535 | if (module_head) { | |
15536 | swig_module.next = module_head->next; | |
15537 | module_head->next = &swig_module; | |
15538 | } else { | |
15539 | /* This is the first module loaded */ | |
15540 | swig_module.next = &swig_module; | |
15541 | SWIG_SetModule(clientdata, &swig_module); | |
15542 | } | |
15543 | ||
15544 | /* Now work on filling in swig_module.types */ | |
15545 | #ifdef SWIGRUNTIME_DEBUG | |
15546 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
15547 | #endif | |
15548 | for (i = 0; i < swig_module.size; ++i) { | |
15549 | swig_type_info *type = 0; | |
15550 | swig_type_info *ret; | |
15551 | swig_cast_info *cast; | |
15552 | ||
15553 | #ifdef SWIGRUNTIME_DEBUG | |
15554 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
15555 | #endif | |
15556 | ||
15557 | /* if there is another module already loaded */ | |
15558 | if (swig_module.next != &swig_module) { | |
15559 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
15560 | } | |
15561 | if (type) { | |
15562 | /* Overwrite clientdata field */ | |
15563 | #ifdef SWIGRUNTIME_DEBUG | |
15564 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
15565 | #endif | |
15566 | if (swig_module.type_initial[i]->clientdata) { | |
15567 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
15568 | #ifdef SWIGRUNTIME_DEBUG | |
15569 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
15570 | #endif | |
15571 | } | |
15572 | } else { | |
15573 | type = swig_module.type_initial[i]; | |
15574 | } | |
15575 | ||
15576 | /* Insert casting types */ | |
15577 | cast = swig_module.cast_initial[i]; | |
15578 | while (cast->type) { | |
15579 | /* Don't need to add information already in the list */ | |
15580 | ret = 0; | |
15581 | #ifdef SWIGRUNTIME_DEBUG | |
15582 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
15583 | #endif | |
15584 | if (swig_module.next != &swig_module) { | |
15585 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
15586 | #ifdef SWIGRUNTIME_DEBUG | |
15587 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
15588 | #endif | |
15589 | } | |
15590 | if (ret) { | |
15591 | if (type == swig_module.type_initial[i]) { | |
15592 | #ifdef SWIGRUNTIME_DEBUG | |
15593 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
15594 | #endif | |
15595 | cast->type = ret; | |
15596 | ret = 0; | |
15597 | } else { | |
15598 | /* Check for casting already in the list */ | |
15599 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
15600 | #ifdef SWIGRUNTIME_DEBUG | |
15601 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
15602 | #endif | |
15603 | if (!ocast) ret = 0; | |
15604 | } | |
15605 | } | |
15606 | ||
15607 | if (!ret) { | |
15608 | #ifdef SWIGRUNTIME_DEBUG | |
15609 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
15610 | #endif | |
15611 | if (type->cast) { | |
15612 | type->cast->prev = cast; | |
15613 | cast->next = type->cast; | |
15614 | } | |
15615 | type->cast = cast; | |
15616 | } | |
15617 | cast++; | |
15618 | } | |
15619 | /* Set entry in modules->types array equal to the type */ | |
15620 | swig_module.types[i] = type; | |
15621 | } | |
15622 | swig_module.types[i] = 0; | |
15623 | ||
15624 | #ifdef SWIGRUNTIME_DEBUG | |
15625 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
15626 | for (i = 0; i < swig_module.size; ++i) { | |
15627 | int j = 0; | |
15628 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
15629 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
15630 | while (cast->type) { | |
15631 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
15632 | cast++; | |
15633 | ++j; | |
15634 | } | |
15635 | printf("---- Total casts: %d\n",j); | |
15636 | } | |
15637 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
15638 | #endif | |
15639 | } | |
15640 | ||
15641 | /* This function will propagate the clientdata field of type to | |
15642 | * any new swig_type_info structures that have been added into the list | |
15643 | * of equivalent types. It is like calling | |
15644 | * SWIG_TypeClientData(type, clientdata) a second time. | |
15645 | */ | |
15646 | SWIGRUNTIME void | |
15647 | SWIG_PropagateClientData(void) { | |
15648 | size_t i; | |
15649 | swig_cast_info *equiv; | |
15650 | static int init_run = 0; | |
15651 | ||
15652 | if (init_run) return; | |
15653 | init_run = 1; | |
15654 | ||
15655 | for (i = 0; i < swig_module.size; i++) { | |
15656 | if (swig_module.types[i]->clientdata) { | |
15657 | equiv = swig_module.types[i]->cast; | |
15658 | while (equiv) { | |
15659 | if (!equiv->converter) { | |
15660 | if (equiv->type && !equiv->type->clientdata) | |
15661 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
15662 | } | |
15663 | equiv = equiv->next; | |
15664 | } | |
15665 | } | |
15666 | } | |
15667 | } | |
15668 | ||
15669 | #ifdef __cplusplus | |
15670 | #if 0 | |
15671 | { | |
15672 | /* c-mode */ | |
15673 | #endif | |
15674 | } | |
15675 | #endif | |
15676 | ||
15677 | ||
15678 | ||
15679 | #ifdef __cplusplus | |
15680 | extern "C" { | |
15681 | #endif | |
15682 | ||
15683 | /* Python-specific SWIG API */ | |
15684 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
15685 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
15686 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
15687 | ||
15688 | /* ----------------------------------------------------------------------------- | |
15689 | * global variable support code. | |
15690 | * ----------------------------------------------------------------------------- */ | |
15691 | ||
15692 | typedef struct swig_globalvar { | |
15693 | char *name; /* Name of global variable */ | |
15694 | PyObject *(*get_attr)(void); /* Return the current value */ | |
15695 | int (*set_attr)(PyObject *); /* Set the value */ | |
15696 | struct swig_globalvar *next; | |
15697 | } swig_globalvar; | |
15698 | ||
15699 | typedef struct swig_varlinkobject { | |
15700 | PyObject_HEAD | |
15701 | swig_globalvar *vars; | |
15702 | } swig_varlinkobject; | |
15703 | ||
15704 | SWIGINTERN PyObject * | |
15705 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
15706 | return PyString_FromString("<Swig global variables>"); | |
15707 | } | |
15708 | ||
15709 | SWIGINTERN PyObject * | |
15710 | swig_varlink_str(swig_varlinkobject *v) { | |
15711 | PyObject *str = PyString_FromString("("); | |
15712 | swig_globalvar *var; | |
15713 | for (var = v->vars; var; var=var->next) { | |
15714 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
15715 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
15716 | } | |
15717 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
15718 | return str; | |
15719 | } | |
15720 | ||
15721 | SWIGINTERN int | |
15722 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
15723 | PyObject *str = swig_varlink_str(v); | |
15724 | fprintf(fp,"Swig global variables "); | |
15725 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
15726 | Py_DECREF(str); | |
15727 | return 0; | |
15728 | } | |
15729 | ||
15730 | SWIGINTERN void | |
15731 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
15732 | swig_globalvar *var = v->vars; | |
15733 | while (var) { | |
15734 | swig_globalvar *n = var->next; | |
15735 | free(var->name); | |
15736 | free(var); | |
15737 | var = n; | |
15738 | } | |
15739 | } | |
15740 | ||
15741 | SWIGINTERN PyObject * | |
15742 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
15743 | PyObject *res = NULL; | |
15744 | swig_globalvar *var = v->vars; | |
15745 | while (var) { | |
15746 | if (strcmp(var->name,n) == 0) { | |
15747 | res = (*var->get_attr)(); | |
15748 | break; | |
15749 | } | |
15750 | var = var->next; | |
15751 | } | |
15752 | if (res == NULL && !PyErr_Occurred()) { | |
15753 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
15754 | } | |
15755 | return res; | |
15756 | } | |
15757 | ||
15758 | SWIGINTERN int | |
15759 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
15760 | int res = 1; | |
15761 | swig_globalvar *var = v->vars; | |
15762 | while (var) { | |
15763 | if (strcmp(var->name,n) == 0) { | |
15764 | res = (*var->set_attr)(p); | |
15765 | break; | |
15766 | } | |
15767 | var = var->next; | |
15768 | } | |
15769 | if (res == 1 && !PyErr_Occurred()) { | |
15770 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
15771 | } | |
15772 | return res; | |
15773 | } | |
15774 | ||
15775 | SWIGINTERN PyTypeObject* | |
15776 | swig_varlink_type(void) { | |
15777 | static char varlink__doc__[] = "Swig var link object"; | |
15778 | static PyTypeObject varlink_type; | |
15779 | static int type_init = 0; | |
15780 | if (!type_init) { | |
15781 | const PyTypeObject tmp | |
15782 | = { | |
15783 | PyObject_HEAD_INIT(NULL) | |
15784 | 0, /* Number of items in variable part (ob_size) */ | |
15785 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
15786 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
15787 | 0, /* Itemsize (tp_itemsize) */ | |
15788 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
15789 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
15790 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
15791 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
15792 | 0, /* tp_compare */ | |
15793 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
15794 | 0, /* tp_as_number */ | |
15795 | 0, /* tp_as_sequence */ | |
15796 | 0, /* tp_as_mapping */ | |
15797 | 0, /* tp_hash */ | |
15798 | 0, /* tp_call */ | |
15799 | (reprfunc)swig_varlink_str, /* tp_str */ | |
15800 | 0, /* tp_getattro */ | |
15801 | 0, /* tp_setattro */ | |
15802 | 0, /* tp_as_buffer */ | |
15803 | 0, /* tp_flags */ | |
15804 | varlink__doc__, /* tp_doc */ | |
15805 | 0, /* tp_traverse */ | |
15806 | 0, /* tp_clear */ | |
15807 | 0, /* tp_richcompare */ | |
15808 | 0, /* tp_weaklistoffset */ | |
15809 | #if PY_VERSION_HEX >= 0x02020000 | |
15810 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
15811 | #endif | |
15812 | #if PY_VERSION_HEX >= 0x02030000 | |
15813 | 0, /* tp_del */ | |
15814 | #endif | |
15815 | #ifdef COUNT_ALLOCS | |
15816 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
15817 | #endif | |
15818 | }; | |
15819 | varlink_type = tmp; | |
15820 | varlink_type.ob_type = &PyType_Type; | |
15821 | type_init = 1; | |
15822 | } | |
15823 | return &varlink_type; | |
15824 | } | |
15825 | ||
15826 | /* Create a variable linking object for use later */ | |
15827 | SWIGINTERN PyObject * | |
15828 | SWIG_Python_newvarlink(void) { | |
15829 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
15830 | if (result) { | |
15831 | result->vars = 0; | |
15832 | } | |
15833 | return ((PyObject*) result); | |
15834 | } | |
15835 | ||
15836 | SWIGINTERN void | |
15837 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
15838 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
15839 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
15840 | if (gv) { | |
15841 | size_t size = strlen(name)+1; | |
15842 | gv->name = (char *)malloc(size); | |
15843 | if (gv->name) { | |
15844 | strncpy(gv->name,name,size); | |
15845 | gv->get_attr = get_attr; | |
15846 | gv->set_attr = set_attr; | |
15847 | gv->next = v->vars; | |
15848 | } | |
15849 | } | |
15850 | v->vars = gv; | |
15851 | } | |
15852 | ||
15853 | SWIGINTERN PyObject * | |
15854 | SWIG_globals() { | |
15855 | static PyObject *_SWIG_globals = 0; | |
15856 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
15857 | return _SWIG_globals; | |
15858 | } | |
15859 | ||
15860 | /* ----------------------------------------------------------------------------- | |
15861 | * constants/methods manipulation | |
15862 | * ----------------------------------------------------------------------------- */ | |
15863 | ||
15864 | /* Install Constants */ | |
15865 | SWIGINTERN void | |
15866 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
15867 | PyObject *obj = 0; | |
15868 | size_t i; | |
15869 | for (i = 0; constants[i].type; ++i) { | |
15870 | switch(constants[i].type) { | |
15871 | case SWIG_PY_POINTER: | |
15872 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
15873 | break; | |
15874 | case SWIG_PY_BINARY: | |
15875 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
15876 | break; | |
15877 | default: | |
15878 | obj = 0; | |
15879 | break; | |
15880 | } | |
15881 | if (obj) { | |
15882 | PyDict_SetItemString(d, constants[i].name, obj); | |
15883 | Py_DECREF(obj); | |
15884 | } | |
15885 | } | |
15886 | } | |
15887 | ||
15888 | /* -----------------------------------------------------------------------------*/ | |
15889 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
15890 | /* -----------------------------------------------------------------------------*/ | |
15891 | ||
15892 | SWIGINTERN void | |
15893 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
15894 | swig_const_info *const_table, | |
15895 | swig_type_info **types, | |
15896 | swig_type_info **types_initial) { | |
15897 | size_t i; | |
15898 | for (i = 0; methods[i].ml_name; ++i) { | |
15899 | const char *c = methods[i].ml_doc; | |
15900 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
15901 | int j; | |
15902 | swig_const_info *ci = 0; | |
15903 | const char *name = c + 10; | |
15904 | for (j = 0; const_table[j].type; ++j) { | |
15905 | if (strncmp(const_table[j].name, name, | |
15906 | strlen(const_table[j].name)) == 0) { | |
15907 | ci = &(const_table[j]); | |
15908 | break; | |
15909 | } | |
15910 | } | |
15911 | if (ci) { | |
15912 | size_t shift = (ci->ptype) - types; | |
15913 | swig_type_info *ty = types_initial[shift]; | |
15914 | size_t ldoc = (c - methods[i].ml_doc); | |
15915 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
15916 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
15917 | if (ndoc) { | |
15918 | char *buff = ndoc; | |
15919 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
15920 | if (ptr) { | |
15921 | strncpy(buff, methods[i].ml_doc, ldoc); | |
15922 | buff += ldoc; | |
15923 | strncpy(buff, "swig_ptr: ", 10); | |
15924 | buff += 10; | |
15925 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
15926 | methods[i].ml_doc = ndoc; | |
15927 | } | |
15928 | } | |
15929 | } | |
15930 | } | |
15931 | } | |
15932 | } | |
15933 | ||
15934 | #ifdef __cplusplus | |
15935 | } | |
15936 | #endif | |
15937 | ||
15938 | /* -----------------------------------------------------------------------------* | |
15939 | * Partial Init method | |
15940 | * -----------------------------------------------------------------------------*/ | |
15941 | ||
15942 | #ifdef __cplusplus | |
15943 | extern "C" | |
15944 | #endif | |
15945 | SWIGEXPORT void SWIG_init(void) { | |
15946 | PyObject *m, *d; | |
15947 | ||
15948 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
15949 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
15950 | ||
15951 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
15952 | d = PyModule_GetDict(m); | |
15953 | ||
15954 | SWIG_InitializeModule(0); | |
15955 | SWIG_InstallConstants(d,swig_const_table); | |
15956 | ||
15957 | ||
15958 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
15959 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
15960 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
15961 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
15962 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
15963 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
15964 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
15965 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
15966 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
15967 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
15968 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
15969 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
15970 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE))); | |
10044bf1 RD |
15971 | SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS))); |
15972 | SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
15973 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
15974 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
15975 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
15976 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
15977 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
15978 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
15979 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
15980 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
15981 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
15982 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
15983 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
15984 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
15985 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
15986 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
15987 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
15988 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
15989 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
15990 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
15991 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
15992 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
15993 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
15994 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
15995 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
15996 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
15997 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); | |
15998 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
15999 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
16000 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
16001 | SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set); | |
16002 | SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set); | |
16003 | SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating))); | |
16004 | SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden))); | |
16005 | SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable))); | |
16006 | SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable))); | |
16007 | SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable))); | |
16008 | SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable))); | |
16009 | SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable))); | |
16010 | SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable))); | |
16011 | SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable))); | |
16012 | SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder))); | |
16013 | SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption))); | |
16014 | SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper))); | |
16015 | SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose))); | |
16016 | SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar))); | |
16017 | SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive))); | |
16018 | SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop))); | |
16019 | SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose))); | |
16020 | SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize))); | |
16021 | SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize))); | |
16022 | SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin))); | |
16023 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1))); | |
16024 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2))); | |
16025 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3))); | |
16026 | SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane))); | |
16027 | SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption))); | |
16028 | SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper))); | |
16029 | SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock))); | |
16030 | SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer))); | |
16031 | SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane))); | |
16032 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer))); | |
16033 | SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground))); | |
16034 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder))); | |
16035 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton))); | |
16036 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); | |
16037 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
81f5836b | 16038 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
10044bf1 RD |
16039 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
16040 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
16041 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
16042 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
16043 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
16044 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
27e45892 RD |
16045 | } |
16046 |