]>
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] | |
1eeb270e 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 | ||
72ef6efb RD |
2861 | SWIGINTERN void delete_wxDockInfo(wxDockInfo *self){} |
2862 | SWIGINTERN void delete_wxDockUIPart(wxDockUIPart *self){} | |
2863 | SWIGINTERN void delete_wxPaneButton(wxPaneButton *self){} | |
27e45892 | 2864 | |
1eeb270e RD |
2865 | SWIGINTERN int |
2866 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2867 | { | |
2868 | long v = 0; | |
2869 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2870 | return SWIG_TypeError; | |
2871 | } | |
2872 | else if (val) | |
2873 | *val = (unsigned long)v; | |
2874 | return SWIG_OK; | |
2875 | } | |
2876 | ||
2877 | ||
2878 | SWIGINTERNINLINE int | |
2879 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2880 | { | |
2881 | unsigned long v; | |
2882 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2883 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2884 | return res; | |
2885 | } | |
2886 | ||
2887 | ||
2888 | SWIGINTERNINLINE PyObject* | |
2889 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2890 | { | |
2891 | return (value > LONG_MAX) ? | |
2892 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2893 | } | |
2894 | ||
2895 | ||
2896 | SWIGINTERNINLINE PyObject * | |
2897 | SWIG_From_size_t (size_t value) | |
2898 | { | |
2899 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2900 | } | |
2901 | ||
2902 | ||
777e547f | 2903 | // A wxDocArt class that knows how to forward virtuals to Python methods |
27e45892 RD |
2904 | class wxPyDockArt : public wxDefaultDockArt |
2905 | { | |
2906 | wxPyDockArt() : wxDefaultDockArt() {} | |
2907 | ||
2908 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2909 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2910 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2911 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2912 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2913 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2914 | ||
2915 | virtual void DrawSash(wxDC& dc, | |
ac5d357a | 2916 | wxWindow* window, |
27e45892 RD |
2917 | int orientation, |
2918 | const wxRect& rect) | |
2919 | { | |
2920 | bool found; | |
2921 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2922 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2923 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2924 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2925 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
ac5d357a RD |
2926 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2927 | odc, owin, orientation, orect)); | |
27e45892 RD |
2928 | Py_DECREF(odc); |
2929 | Py_DECREF(orect); | |
2930 | } | |
2931 | wxPyEndBlockThreads(blocked); | |
2932 | if (! found) | |
ac5d357a | 2933 | wxDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2934 | } |
2935 | ||
2936 | virtual void DrawBackground(wxDC& dc, | |
ac5d357a | 2937 | wxWindow* window, |
27e45892 RD |
2938 | int orientation, |
2939 | const wxRect& rect) | |
2940 | { | |
2941 | bool found; | |
2942 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2943 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2944 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2945 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2946 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
ac5d357a RD |
2947 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2948 | odc, owin, orientation, orect)); | |
27e45892 RD |
2949 | Py_DECREF(odc); |
2950 | Py_DECREF(orect); | |
2951 | } | |
2952 | wxPyEndBlockThreads(blocked); | |
2953 | if (! found) | |
ac5d357a | 2954 | wxDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2955 | } |
2956 | ||
2957 | virtual void DrawCaption(wxDC& dc, | |
ac5d357a | 2958 | wxWindow* window, |
27e45892 RD |
2959 | const wxString& text, |
2960 | const wxRect& rect, | |
2961 | wxPaneInfo& pane) | |
2962 | { | |
2963 | bool found; | |
2964 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2965 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2966 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2967 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2968 | PyObject* otext = wx2PyString(text); |
2969 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
2970 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
ac5d357a RD |
2971 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2972 | odc, owin, otext, orect, opane)); | |
27e45892 RD |
2973 | Py_DECREF(odc); |
2974 | Py_DECREF(otext); | |
2975 | Py_DECREF(orect); | |
2976 | Py_DECREF(opane); | |
2977 | } | |
2978 | wxPyEndBlockThreads(blocked); | |
2979 | if (! found) | |
ac5d357a | 2980 | wxDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
2981 | } |
2982 | ||
2983 | virtual void DrawGripper(wxDC& dc, | |
ac5d357a | 2984 | wxWindow* window, |
27e45892 RD |
2985 | const wxRect& rect, |
2986 | wxPaneInfo& pane) | |
2987 | { | |
2988 | bool found; | |
2989 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2990 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
2991 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2992 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2993 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
2994 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
ac5d357a | 2995 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
2996 | Py_DECREF(odc); |
2997 | Py_DECREF(orect); | |
2998 | Py_DECREF(opane); | |
2999 | } | |
3000 | wxPyEndBlockThreads(blocked); | |
3001 | if (! found) | |
ac5d357a | 3002 | wxDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3003 | } |
3004 | ||
3005 | virtual void DrawBorder(wxDC& dc, | |
ac5d357a | 3006 | wxWindow* window, |
27e45892 RD |
3007 | const wxRect& rect, |
3008 | wxPaneInfo& pane) | |
3009 | { | |
3010 | bool found; | |
3011 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3012 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3013 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3014 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
3015 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
3016 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
3017 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); | |
3018 | Py_DECREF(odc); | |
3019 | Py_DECREF(orect); | |
3020 | Py_DECREF(opane); | |
3021 | } | |
3022 | wxPyEndBlockThreads(blocked); | |
3023 | if (! found) | |
ac5d357a | 3024 | wxDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3025 | } |
3026 | ||
3027 | virtual void DrawPaneButton(wxDC& dc, | |
ac5d357a | 3028 | wxWindow* window, |
27e45892 RD |
3029 | int button, |
3030 | int button_state, | |
3031 | const wxRect& rect, | |
3032 | wxPaneInfo& pane) | |
3033 | { | |
3034 | bool found; | |
3035 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3036 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3037 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3038 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
3039 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
3040 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
ac5d357a RD |
3041 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3042 | odc, owin, button, button_state, | |
27e45892 RD |
3043 | orect, opane)); |
3044 | Py_DECREF(odc); | |
3045 | Py_DECREF(orect); | |
3046 | Py_DECREF(opane); | |
3047 | } | |
3048 | wxPyEndBlockThreads(blocked); | |
3049 | if (! found) | |
ac5d357a | 3050 | wxDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3051 | } |
3052 | ||
3053 | PYPRIVATE; | |
3054 | ||
3055 | }; | |
3056 | ||
3057 | IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric); | |
3058 | IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric); | |
3059 | IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont); | |
3060 | IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont); | |
3061 | IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour); | |
3062 | IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour); | |
3063 | ||
3064 | ||
3065 | #ifdef __cplusplus | |
3066 | extern "C" { | |
3067 | #endif | |
3068 | SWIGINTERN int NullDockInfo_set(PyObject *_val) { | |
3069 | { | |
3070 | void *argp = 0; | |
3071 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0); | |
3072 | if (!SWIG_IsOK(res)) { | |
3073 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'"); | |
3074 | } | |
3075 | if (!argp) { | |
3076 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'"); | |
3077 | } else { | |
3078 | wxDockInfo * temp; | |
3079 | temp = reinterpret_cast< wxDockInfo * >(argp); | |
3080 | wxNullDockInfo = *temp; | |
3081 | if (SWIG_IsNewObj(res)) delete temp; | |
3082 | } | |
3083 | } | |
3084 | return 0; | |
3085 | fail: | |
3086 | return 1; | |
3087 | } | |
3088 | ||
3089 | ||
3090 | SWIGINTERN PyObject *NullDockInfo_get(void) { | |
3091 | PyObject *pyobj = 0; | |
3092 | ||
3093 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 ); | |
3094 | return pyobj; | |
3095 | } | |
3096 | ||
3097 | ||
3098 | SWIGINTERN int NullPaneInfo_set(PyObject *_val) { | |
3099 | { | |
3100 | void *argp = 0; | |
3101 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
3102 | if (!SWIG_IsOK(res)) { | |
3103 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'"); | |
3104 | } | |
3105 | if (!argp) { | |
3106 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'"); | |
3107 | } else { | |
3108 | wxPaneInfo * temp; | |
3109 | temp = reinterpret_cast< wxPaneInfo * >(argp); | |
3110 | wxNullPaneInfo = *temp; | |
3111 | if (SWIG_IsNewObj(res)) delete temp; | |
3112 | } | |
3113 | } | |
3114 | return 0; | |
3115 | fail: | |
3116 | return 1; | |
3117 | } | |
3118 | ||
3119 | ||
3120 | SWIGINTERN PyObject *NullPaneInfo_get(void) { | |
3121 | PyObject *pyobj = 0; | |
3122 | ||
3123 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 ); | |
3124 | return pyobj; | |
3125 | } | |
3126 | ||
3127 | ||
3128 | SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3129 | PyObject *resultobj = 0; | |
3130 | wxPaneInfo *result = 0 ; | |
3131 | ||
3132 | if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail; | |
3133 | { | |
3134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3135 | result = (wxPaneInfo *)new wxPaneInfo(); | |
3136 | wxPyEndAllowThreads(__tstate); | |
3137 | if (PyErr_Occurred()) SWIG_fail; | |
3138 | } | |
3139 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 ); | |
3140 | return resultobj; | |
3141 | fail: | |
3142 | return NULL; | |
3143 | } | |
3144 | ||
3145 | ||
3146 | SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3147 | PyObject *resultobj = 0; | |
3148 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3149 | void *argp1 = 0 ; | |
3150 | int res1 = 0 ; | |
3151 | PyObject *swig_obj[1] ; | |
3152 | ||
3153 | if (!args) SWIG_fail; | |
3154 | swig_obj[0] = args; | |
3155 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
3156 | if (!SWIG_IsOK(res1)) { | |
3157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3158 | } | |
3159 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3160 | { | |
3161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3162 | delete arg1; | |
3163 | ||
3164 | wxPyEndAllowThreads(__tstate); | |
3165 | if (PyErr_Occurred()) SWIG_fail; | |
3166 | } | |
3167 | resultobj = SWIG_Py_Void(); | |
3168 | return resultobj; | |
3169 | fail: | |
3170 | return NULL; | |
3171 | } | |
3172 | ||
3173 | ||
1eeb270e RD |
3174 | SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3175 | PyObject *resultobj = 0; | |
3176 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3177 | wxPaneInfo arg2 ; | |
3178 | void *argp1 = 0 ; | |
3179 | int res1 = 0 ; | |
3180 | void *argp2 ; | |
3181 | int res2 = 0 ; | |
3182 | PyObject * obj0 = 0 ; | |
3183 | PyObject * obj1 = 0 ; | |
3184 | char * kwnames[] = { | |
3185 | (char *) "self",(char *) "source", NULL | |
3186 | }; | |
3187 | ||
3188 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; | |
3189 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3190 | if (!SWIG_IsOK(res1)) { | |
3191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3192 | } | |
3193 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3194 | { | |
3195 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
3196 | if (!SWIG_IsOK(res2)) { | |
3197 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'"); | |
3198 | } | |
3199 | if (!argp2) { | |
3200 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'"); | |
3201 | } else { | |
3202 | wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2); | |
3203 | arg2 = *temp; | |
3204 | if (SWIG_IsNewObj(res2)) delete temp; | |
3205 | } | |
3206 | } | |
3207 | { | |
3208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3209 | (arg1)->SafeSet(arg2); | |
3210 | wxPyEndAllowThreads(__tstate); | |
3211 | if (PyErr_Occurred()) SWIG_fail; | |
3212 | } | |
3213 | resultobj = SWIG_Py_Void(); | |
3214 | return resultobj; | |
3215 | fail: | |
3216 | return NULL; | |
3217 | } | |
3218 | ||
3219 | ||
27e45892 RD |
3220 | SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3221 | PyObject *resultobj = 0; | |
3222 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3223 | bool result; | |
3224 | void *argp1 = 0 ; | |
3225 | int res1 = 0 ; | |
3226 | PyObject *swig_obj[1] ; | |
3227 | ||
3228 | if (!args) SWIG_fail; | |
3229 | swig_obj[0] = args; | |
3230 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3231 | if (!SWIG_IsOK(res1)) { | |
3232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3233 | } | |
3234 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3235 | { | |
3236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3237 | result = (bool)((wxPaneInfo const *)arg1)->IsOk(); | |
3238 | wxPyEndAllowThreads(__tstate); | |
3239 | if (PyErr_Occurred()) SWIG_fail; | |
3240 | } | |
3241 | { | |
3242 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3243 | } | |
3244 | return resultobj; | |
3245 | fail: | |
3246 | return NULL; | |
3247 | } | |
3248 | ||
3249 | ||
3250 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3251 | PyObject *resultobj = 0; | |
3252 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3253 | bool result; | |
3254 | void *argp1 = 0 ; | |
3255 | int res1 = 0 ; | |
3256 | PyObject *swig_obj[1] ; | |
3257 | ||
3258 | if (!args) SWIG_fail; | |
3259 | swig_obj[0] = args; | |
3260 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3261 | if (!SWIG_IsOK(res1)) { | |
3262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3263 | } | |
3264 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3265 | { | |
3266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3267 | result = (bool)((wxPaneInfo const *)arg1)->IsFixed(); | |
3268 | wxPyEndAllowThreads(__tstate); | |
3269 | if (PyErr_Occurred()) SWIG_fail; | |
3270 | } | |
3271 | { | |
3272 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3273 | } | |
3274 | return resultobj; | |
3275 | fail: | |
3276 | return NULL; | |
3277 | } | |
3278 | ||
3279 | ||
3280 | SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3281 | PyObject *resultobj = 0; | |
3282 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3283 | bool result; | |
3284 | void *argp1 = 0 ; | |
3285 | int res1 = 0 ; | |
3286 | PyObject *swig_obj[1] ; | |
3287 | ||
3288 | if (!args) SWIG_fail; | |
3289 | swig_obj[0] = args; | |
3290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3291 | if (!SWIG_IsOK(res1)) { | |
3292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3293 | } | |
3294 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3295 | { | |
3296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3297 | result = (bool)((wxPaneInfo const *)arg1)->IsResizable(); | |
3298 | wxPyEndAllowThreads(__tstate); | |
3299 | if (PyErr_Occurred()) SWIG_fail; | |
3300 | } | |
3301 | { | |
3302 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3303 | } | |
3304 | return resultobj; | |
3305 | fail: | |
3306 | return NULL; | |
3307 | } | |
3308 | ||
3309 | ||
3310 | SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3311 | PyObject *resultobj = 0; | |
3312 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3313 | bool result; | |
3314 | void *argp1 = 0 ; | |
3315 | int res1 = 0 ; | |
3316 | PyObject *swig_obj[1] ; | |
3317 | ||
3318 | if (!args) SWIG_fail; | |
3319 | swig_obj[0] = args; | |
3320 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3321 | if (!SWIG_IsOK(res1)) { | |
3322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3323 | } | |
3324 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3325 | { | |
3326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3327 | result = (bool)((wxPaneInfo const *)arg1)->IsShown(); | |
3328 | wxPyEndAllowThreads(__tstate); | |
3329 | if (PyErr_Occurred()) SWIG_fail; | |
3330 | } | |
3331 | { | |
3332 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3333 | } | |
3334 | return resultobj; | |
3335 | fail: | |
3336 | return NULL; | |
3337 | } | |
3338 | ||
3339 | ||
3340 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3341 | PyObject *resultobj = 0; | |
3342 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3343 | bool result; | |
3344 | void *argp1 = 0 ; | |
3345 | int res1 = 0 ; | |
3346 | PyObject *swig_obj[1] ; | |
3347 | ||
3348 | if (!args) SWIG_fail; | |
3349 | swig_obj[0] = args; | |
3350 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3351 | if (!SWIG_IsOK(res1)) { | |
3352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3353 | } | |
3354 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3355 | { | |
3356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3357 | result = (bool)((wxPaneInfo const *)arg1)->IsFloating(); | |
3358 | wxPyEndAllowThreads(__tstate); | |
3359 | if (PyErr_Occurred()) SWIG_fail; | |
3360 | } | |
3361 | { | |
3362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3363 | } | |
3364 | return resultobj; | |
3365 | fail: | |
3366 | return NULL; | |
3367 | } | |
3368 | ||
3369 | ||
3370 | SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3371 | PyObject *resultobj = 0; | |
3372 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3373 | bool result; | |
3374 | void *argp1 = 0 ; | |
3375 | int res1 = 0 ; | |
3376 | PyObject *swig_obj[1] ; | |
3377 | ||
3378 | if (!args) SWIG_fail; | |
3379 | swig_obj[0] = args; | |
3380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3381 | if (!SWIG_IsOK(res1)) { | |
3382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3383 | } | |
3384 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3385 | { | |
3386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3387 | result = (bool)((wxPaneInfo const *)arg1)->IsDocked(); | |
3388 | wxPyEndAllowThreads(__tstate); | |
3389 | if (PyErr_Occurred()) SWIG_fail; | |
3390 | } | |
3391 | { | |
3392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3393 | } | |
3394 | return resultobj; | |
3395 | fail: | |
3396 | return NULL; | |
3397 | } | |
3398 | ||
3399 | ||
3400 | SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3401 | PyObject *resultobj = 0; | |
3402 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3403 | bool result; | |
3404 | void *argp1 = 0 ; | |
3405 | int res1 = 0 ; | |
3406 | PyObject *swig_obj[1] ; | |
3407 | ||
3408 | if (!args) SWIG_fail; | |
3409 | swig_obj[0] = args; | |
3410 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3411 | if (!SWIG_IsOK(res1)) { | |
3412 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3413 | } | |
3414 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3415 | { | |
3416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3417 | result = (bool)((wxPaneInfo const *)arg1)->IsToolbar(); | |
3418 | wxPyEndAllowThreads(__tstate); | |
3419 | if (PyErr_Occurred()) SWIG_fail; | |
3420 | } | |
3421 | { | |
3422 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3423 | } | |
3424 | return resultobj; | |
3425 | fail: | |
3426 | return NULL; | |
3427 | } | |
3428 | ||
3429 | ||
3430 | SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3431 | PyObject *resultobj = 0; | |
3432 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3433 | bool result; | |
3434 | void *argp1 = 0 ; | |
3435 | int res1 = 0 ; | |
3436 | PyObject *swig_obj[1] ; | |
3437 | ||
3438 | if (!args) SWIG_fail; | |
3439 | swig_obj[0] = args; | |
3440 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3441 | if (!SWIG_IsOK(res1)) { | |
3442 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3443 | } | |
3444 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3445 | { | |
3446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3447 | result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable(); | |
3448 | wxPyEndAllowThreads(__tstate); | |
3449 | if (PyErr_Occurred()) SWIG_fail; | |
3450 | } | |
3451 | { | |
3452 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3453 | } | |
3454 | return resultobj; | |
3455 | fail: | |
3456 | return NULL; | |
3457 | } | |
3458 | ||
3459 | ||
3460 | SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3461 | PyObject *resultobj = 0; | |
3462 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3463 | bool result; | |
3464 | void *argp1 = 0 ; | |
3465 | int res1 = 0 ; | |
3466 | PyObject *swig_obj[1] ; | |
3467 | ||
3468 | if (!args) SWIG_fail; | |
3469 | swig_obj[0] = args; | |
3470 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3471 | if (!SWIG_IsOK(res1)) { | |
3472 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3473 | } | |
3474 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3475 | { | |
3476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3477 | result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable(); | |
3478 | wxPyEndAllowThreads(__tstate); | |
3479 | if (PyErr_Occurred()) SWIG_fail; | |
3480 | } | |
3481 | { | |
3482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3483 | } | |
3484 | return resultobj; | |
3485 | fail: | |
3486 | return NULL; | |
3487 | } | |
3488 | ||
3489 | ||
3490 | SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3491 | PyObject *resultobj = 0; | |
3492 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3493 | bool result; | |
3494 | void *argp1 = 0 ; | |
3495 | int res1 = 0 ; | |
3496 | PyObject *swig_obj[1] ; | |
3497 | ||
3498 | if (!args) SWIG_fail; | |
3499 | swig_obj[0] = args; | |
3500 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3501 | if (!SWIG_IsOK(res1)) { | |
3502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3503 | } | |
3504 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3505 | { | |
3506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3507 | result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable(); | |
3508 | wxPyEndAllowThreads(__tstate); | |
3509 | if (PyErr_Occurred()) SWIG_fail; | |
3510 | } | |
3511 | { | |
3512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3513 | } | |
3514 | return resultobj; | |
3515 | fail: | |
3516 | return NULL; | |
3517 | } | |
3518 | ||
3519 | ||
3520 | SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3521 | PyObject *resultobj = 0; | |
3522 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3523 | bool result; | |
3524 | void *argp1 = 0 ; | |
3525 | int res1 = 0 ; | |
3526 | PyObject *swig_obj[1] ; | |
3527 | ||
3528 | if (!args) SWIG_fail; | |
3529 | swig_obj[0] = args; | |
3530 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3531 | if (!SWIG_IsOK(res1)) { | |
3532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3533 | } | |
3534 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3535 | { | |
3536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3537 | result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable(); | |
3538 | wxPyEndAllowThreads(__tstate); | |
3539 | if (PyErr_Occurred()) SWIG_fail; | |
3540 | } | |
3541 | { | |
3542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3543 | } | |
3544 | return resultobj; | |
3545 | fail: | |
3546 | return NULL; | |
3547 | } | |
3548 | ||
3549 | ||
3550 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3551 | PyObject *resultobj = 0; | |
3552 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3553 | bool result; | |
3554 | void *argp1 = 0 ; | |
3555 | int res1 = 0 ; | |
3556 | PyObject *swig_obj[1] ; | |
3557 | ||
3558 | if (!args) SWIG_fail; | |
3559 | swig_obj[0] = args; | |
3560 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3561 | if (!SWIG_IsOK(res1)) { | |
3562 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3563 | } | |
3564 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3565 | { | |
3566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3567 | result = (bool)((wxPaneInfo const *)arg1)->IsFloatable(); | |
3568 | wxPyEndAllowThreads(__tstate); | |
3569 | if (PyErr_Occurred()) SWIG_fail; | |
3570 | } | |
3571 | { | |
3572 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3573 | } | |
3574 | return resultobj; | |
3575 | fail: | |
3576 | return NULL; | |
3577 | } | |
3578 | ||
3579 | ||
3580 | SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3581 | PyObject *resultobj = 0; | |
3582 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3583 | bool result; | |
3584 | void *argp1 = 0 ; | |
3585 | int res1 = 0 ; | |
3586 | PyObject *swig_obj[1] ; | |
3587 | ||
3588 | if (!args) SWIG_fail; | |
3589 | swig_obj[0] = args; | |
3590 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3591 | if (!SWIG_IsOK(res1)) { | |
3592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3593 | } | |
3594 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3595 | { | |
3596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3597 | result = (bool)((wxPaneInfo const *)arg1)->IsMovable(); | |
3598 | wxPyEndAllowThreads(__tstate); | |
3599 | if (PyErr_Occurred()) SWIG_fail; | |
3600 | } | |
3601 | { | |
3602 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3603 | } | |
3604 | return resultobj; | |
3605 | fail: | |
3606 | return NULL; | |
3607 | } | |
3608 | ||
3609 | ||
9b940138 RD |
3610 | SWIGINTERN PyObject *_wrap_PaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3611 | PyObject *resultobj = 0; | |
3612 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3613 | bool result; | |
3614 | void *argp1 = 0 ; | |
3615 | int res1 = 0 ; | |
3616 | PyObject *swig_obj[1] ; | |
3617 | ||
3618 | if (!args) SWIG_fail; | |
3619 | swig_obj[0] = args; | |
3620 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3621 | if (!SWIG_IsOK(res1)) { | |
3622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3623 | } | |
3624 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3625 | { | |
3626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3627 | result = (bool)((wxPaneInfo const *)arg1)->IsDestroyOnClose(); | |
3628 | wxPyEndAllowThreads(__tstate); | |
3629 | if (PyErr_Occurred()) SWIG_fail; | |
3630 | } | |
3631 | { | |
3632 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3633 | } | |
3634 | return resultobj; | |
3635 | fail: | |
3636 | return NULL; | |
3637 | } | |
3638 | ||
3639 | ||
27e45892 RD |
3640 | SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3641 | PyObject *resultobj = 0; | |
3642 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3643 | bool result; | |
3644 | void *argp1 = 0 ; | |
3645 | int res1 = 0 ; | |
3646 | PyObject *swig_obj[1] ; | |
3647 | ||
3648 | if (!args) SWIG_fail; | |
3649 | swig_obj[0] = args; | |
3650 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3651 | if (!SWIG_IsOK(res1)) { | |
3652 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3653 | } | |
3654 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3655 | { | |
3656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3657 | result = (bool)((wxPaneInfo const *)arg1)->HasCaption(); | |
3658 | wxPyEndAllowThreads(__tstate); | |
3659 | if (PyErr_Occurred()) SWIG_fail; | |
3660 | } | |
3661 | { | |
3662 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3663 | } | |
3664 | return resultobj; | |
3665 | fail: | |
3666 | return NULL; | |
3667 | } | |
3668 | ||
3669 | ||
3670 | SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3671 | PyObject *resultobj = 0; | |
3672 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3673 | bool result; | |
3674 | void *argp1 = 0 ; | |
3675 | int res1 = 0 ; | |
3676 | PyObject *swig_obj[1] ; | |
3677 | ||
3678 | if (!args) SWIG_fail; | |
3679 | swig_obj[0] = args; | |
3680 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3681 | if (!SWIG_IsOK(res1)) { | |
3682 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3683 | } | |
3684 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3685 | { | |
3686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3687 | result = (bool)((wxPaneInfo const *)arg1)->HasGripper(); | |
3688 | wxPyEndAllowThreads(__tstate); | |
3689 | if (PyErr_Occurred()) SWIG_fail; | |
3690 | } | |
3691 | { | |
3692 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3693 | } | |
3694 | return resultobj; | |
3695 | fail: | |
3696 | return NULL; | |
3697 | } | |
3698 | ||
3699 | ||
3700 | SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3701 | PyObject *resultobj = 0; | |
3702 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3703 | bool result; | |
3704 | void *argp1 = 0 ; | |
3705 | int res1 = 0 ; | |
3706 | PyObject *swig_obj[1] ; | |
3707 | ||
3708 | if (!args) SWIG_fail; | |
3709 | swig_obj[0] = args; | |
3710 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3711 | if (!SWIG_IsOK(res1)) { | |
3712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3713 | } | |
3714 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3715 | { | |
3716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3717 | result = (bool)((wxPaneInfo const *)arg1)->HasBorder(); | |
3718 | wxPyEndAllowThreads(__tstate); | |
3719 | if (PyErr_Occurred()) SWIG_fail; | |
3720 | } | |
3721 | { | |
3722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3723 | } | |
3724 | return resultobj; | |
3725 | fail: | |
3726 | return NULL; | |
3727 | } | |
3728 | ||
3729 | ||
3730 | SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3731 | PyObject *resultobj = 0; | |
3732 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3733 | bool result; | |
3734 | void *argp1 = 0 ; | |
3735 | int res1 = 0 ; | |
3736 | PyObject *swig_obj[1] ; | |
3737 | ||
3738 | if (!args) SWIG_fail; | |
3739 | swig_obj[0] = args; | |
3740 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3741 | if (!SWIG_IsOK(res1)) { | |
3742 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3743 | } | |
3744 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3745 | { | |
3746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3747 | result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton(); | |
3748 | wxPyEndAllowThreads(__tstate); | |
3749 | if (PyErr_Occurred()) SWIG_fail; | |
3750 | } | |
3751 | { | |
3752 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3753 | } | |
3754 | return resultobj; | |
3755 | fail: | |
3756 | return NULL; | |
3757 | } | |
3758 | ||
3759 | ||
3760 | SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3761 | PyObject *resultobj = 0; | |
3762 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3763 | bool result; | |
3764 | void *argp1 = 0 ; | |
3765 | int res1 = 0 ; | |
3766 | PyObject *swig_obj[1] ; | |
3767 | ||
3768 | if (!args) SWIG_fail; | |
3769 | swig_obj[0] = args; | |
3770 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3771 | if (!SWIG_IsOK(res1)) { | |
3772 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3773 | } | |
3774 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3775 | { | |
3776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3777 | result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton(); | |
3778 | wxPyEndAllowThreads(__tstate); | |
3779 | if (PyErr_Occurred()) SWIG_fail; | |
3780 | } | |
3781 | { | |
3782 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3783 | } | |
3784 | return resultobj; | |
3785 | fail: | |
3786 | return NULL; | |
3787 | } | |
3788 | ||
3789 | ||
3790 | SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3791 | PyObject *resultobj = 0; | |
3792 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3793 | bool result; | |
3794 | void *argp1 = 0 ; | |
3795 | int res1 = 0 ; | |
3796 | PyObject *swig_obj[1] ; | |
3797 | ||
3798 | if (!args) SWIG_fail; | |
3799 | swig_obj[0] = args; | |
3800 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3801 | if (!SWIG_IsOK(res1)) { | |
3802 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3803 | } | |
3804 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3805 | { | |
3806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3807 | result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton(); | |
3808 | wxPyEndAllowThreads(__tstate); | |
3809 | if (PyErr_Occurred()) SWIG_fail; | |
3810 | } | |
3811 | { | |
3812 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3813 | } | |
3814 | return resultobj; | |
3815 | fail: | |
3816 | return NULL; | |
3817 | } | |
3818 | ||
3819 | ||
3820 | SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3821 | PyObject *resultobj = 0; | |
3822 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3823 | bool result; | |
3824 | void *argp1 = 0 ; | |
3825 | int res1 = 0 ; | |
3826 | PyObject *swig_obj[1] ; | |
3827 | ||
3828 | if (!args) SWIG_fail; | |
3829 | swig_obj[0] = args; | |
3830 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3831 | if (!SWIG_IsOK(res1)) { | |
3832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3833 | } | |
3834 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3835 | { | |
3836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3837 | result = (bool)((wxPaneInfo const *)arg1)->HasPinButton(); | |
3838 | wxPyEndAllowThreads(__tstate); | |
3839 | if (PyErr_Occurred()) SWIG_fail; | |
3840 | } | |
3841 | { | |
3842 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3843 | } | |
3844 | return resultobj; | |
3845 | fail: | |
3846 | return NULL; | |
3847 | } | |
3848 | ||
3849 | ||
3850 | SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3851 | PyObject *resultobj = 0; | |
3852 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3853 | bool result; | |
3854 | void *argp1 = 0 ; | |
3855 | int res1 = 0 ; | |
3856 | PyObject *swig_obj[1] ; | |
3857 | ||
3858 | if (!args) SWIG_fail; | |
3859 | swig_obj[0] = args; | |
3860 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3861 | if (!SWIG_IsOK(res1)) { | |
3862 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3863 | } | |
3864 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3865 | { | |
3866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3867 | result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop(); | |
3868 | wxPyEndAllowThreads(__tstate); | |
3869 | if (PyErr_Occurred()) SWIG_fail; | |
3870 | } | |
3871 | { | |
3872 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3873 | } | |
3874 | return resultobj; | |
3875 | fail: | |
3876 | return NULL; | |
3877 | } | |
3878 | ||
3879 | ||
3880 | SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3881 | PyObject *resultobj = 0; | |
3882 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3883 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3884 | wxPaneInfo *result = 0 ; | |
3885 | void *argp1 = 0 ; | |
3886 | int res1 = 0 ; | |
3887 | void *argp2 = 0 ; | |
3888 | int res2 = 0 ; | |
3889 | PyObject * obj0 = 0 ; | |
3890 | PyObject * obj1 = 0 ; | |
3891 | char * kwnames[] = { | |
3892 | (char *) "self",(char *) "w", NULL | |
3893 | }; | |
3894 | ||
3895 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; | |
3896 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3897 | if (!SWIG_IsOK(res1)) { | |
3898 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3899 | } | |
3900 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3901 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3902 | if (!SWIG_IsOK(res2)) { | |
3903 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
3904 | } | |
3905 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
3906 | { | |
3907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3908 | { | |
3909 | wxPaneInfo &_result_ref = (arg1)->Window(arg2); | |
3910 | result = (wxPaneInfo *) &_result_ref; | |
3911 | } | |
3912 | wxPyEndAllowThreads(__tstate); | |
3913 | if (PyErr_Occurred()) SWIG_fail; | |
3914 | } | |
3915 | { | |
3916 | resultobj = obj0; Py_INCREF(resultobj); | |
3917 | } | |
3918 | return resultobj; | |
3919 | fail: | |
3920 | return NULL; | |
3921 | } | |
3922 | ||
3923 | ||
3924 | SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3925 | PyObject *resultobj = 0; | |
3926 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3927 | wxString *arg2 = 0 ; | |
3928 | wxPaneInfo *result = 0 ; | |
3929 | void *argp1 = 0 ; | |
3930 | int res1 = 0 ; | |
3931 | bool temp2 = false ; | |
3932 | PyObject * obj0 = 0 ; | |
3933 | PyObject * obj1 = 0 ; | |
3934 | char * kwnames[] = { | |
3935 | (char *) "self",(char *) "n", NULL | |
3936 | }; | |
3937 | ||
3938 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; | |
3939 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3940 | if (!SWIG_IsOK(res1)) { | |
3941 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3942 | } | |
3943 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3944 | { | |
3945 | arg2 = wxString_in_helper(obj1); | |
3946 | if (arg2 == NULL) SWIG_fail; | |
3947 | temp2 = true; | |
3948 | } | |
3949 | { | |
3950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3951 | { | |
3952 | wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); | |
3953 | result = (wxPaneInfo *) &_result_ref; | |
3954 | } | |
3955 | wxPyEndAllowThreads(__tstate); | |
3956 | if (PyErr_Occurred()) SWIG_fail; | |
3957 | } | |
3958 | { | |
3959 | resultobj = obj0; Py_INCREF(resultobj); | |
3960 | } | |
3961 | { | |
3962 | if (temp2) | |
3963 | delete arg2; | |
3964 | } | |
3965 | return resultobj; | |
3966 | fail: | |
3967 | { | |
3968 | if (temp2) | |
3969 | delete arg2; | |
3970 | } | |
3971 | return NULL; | |
3972 | } | |
3973 | ||
3974 | ||
3975 | SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3976 | PyObject *resultobj = 0; | |
3977 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3978 | wxString *arg2 = 0 ; | |
3979 | wxPaneInfo *result = 0 ; | |
3980 | void *argp1 = 0 ; | |
3981 | int res1 = 0 ; | |
3982 | bool temp2 = false ; | |
3983 | PyObject * obj0 = 0 ; | |
3984 | PyObject * obj1 = 0 ; | |
3985 | char * kwnames[] = { | |
3986 | (char *) "self",(char *) "c", NULL | |
3987 | }; | |
3988 | ||
3989 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; | |
3990 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3991 | if (!SWIG_IsOK(res1)) { | |
3992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3993 | } | |
3994 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3995 | { | |
3996 | arg2 = wxString_in_helper(obj1); | |
3997 | if (arg2 == NULL) SWIG_fail; | |
3998 | temp2 = true; | |
3999 | } | |
4000 | { | |
4001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4002 | { | |
4003 | wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); | |
4004 | result = (wxPaneInfo *) &_result_ref; | |
4005 | } | |
4006 | wxPyEndAllowThreads(__tstate); | |
4007 | if (PyErr_Occurred()) SWIG_fail; | |
4008 | } | |
4009 | { | |
4010 | resultobj = obj0; Py_INCREF(resultobj); | |
4011 | } | |
4012 | { | |
4013 | if (temp2) | |
4014 | delete arg2; | |
4015 | } | |
4016 | return resultobj; | |
4017 | fail: | |
4018 | { | |
4019 | if (temp2) | |
4020 | delete arg2; | |
4021 | } | |
4022 | return NULL; | |
4023 | } | |
4024 | ||
4025 | ||
4026 | SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4027 | PyObject *resultobj = 0; | |
4028 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4029 | wxPaneInfo *result = 0 ; | |
4030 | void *argp1 = 0 ; | |
4031 | int res1 = 0 ; | |
4032 | PyObject *swig_obj[1] ; | |
4033 | ||
4034 | if (!args) SWIG_fail; | |
4035 | swig_obj[0] = args; | |
4036 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4037 | if (!SWIG_IsOK(res1)) { | |
4038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4039 | } | |
4040 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4041 | { | |
4042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4043 | { | |
4044 | wxPaneInfo &_result_ref = (arg1)->Left(); | |
4045 | result = (wxPaneInfo *) &_result_ref; | |
4046 | } | |
4047 | wxPyEndAllowThreads(__tstate); | |
4048 | if (PyErr_Occurred()) SWIG_fail; | |
4049 | } | |
4050 | { | |
4051 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4052 | } | |
4053 | return resultobj; | |
4054 | fail: | |
4055 | return NULL; | |
4056 | } | |
4057 | ||
4058 | ||
4059 | SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4060 | PyObject *resultobj = 0; | |
4061 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4062 | wxPaneInfo *result = 0 ; | |
4063 | void *argp1 = 0 ; | |
4064 | int res1 = 0 ; | |
4065 | PyObject *swig_obj[1] ; | |
4066 | ||
4067 | if (!args) SWIG_fail; | |
4068 | swig_obj[0] = args; | |
4069 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4070 | if (!SWIG_IsOK(res1)) { | |
4071 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4072 | } | |
4073 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4074 | { | |
4075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4076 | { | |
4077 | wxPaneInfo &_result_ref = (arg1)->Right(); | |
4078 | result = (wxPaneInfo *) &_result_ref; | |
4079 | } | |
4080 | wxPyEndAllowThreads(__tstate); | |
4081 | if (PyErr_Occurred()) SWIG_fail; | |
4082 | } | |
4083 | { | |
4084 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4085 | } | |
4086 | return resultobj; | |
4087 | fail: | |
4088 | return NULL; | |
4089 | } | |
4090 | ||
4091 | ||
4092 | SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4093 | PyObject *resultobj = 0; | |
4094 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4095 | wxPaneInfo *result = 0 ; | |
4096 | void *argp1 = 0 ; | |
4097 | int res1 = 0 ; | |
4098 | PyObject *swig_obj[1] ; | |
4099 | ||
4100 | if (!args) SWIG_fail; | |
4101 | swig_obj[0] = args; | |
4102 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4103 | if (!SWIG_IsOK(res1)) { | |
4104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4105 | } | |
4106 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4107 | { | |
4108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4109 | { | |
4110 | wxPaneInfo &_result_ref = (arg1)->Top(); | |
4111 | result = (wxPaneInfo *) &_result_ref; | |
4112 | } | |
4113 | wxPyEndAllowThreads(__tstate); | |
4114 | if (PyErr_Occurred()) SWIG_fail; | |
4115 | } | |
4116 | { | |
4117 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4118 | } | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | return NULL; | |
4122 | } | |
4123 | ||
4124 | ||
4125 | SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4126 | PyObject *resultobj = 0; | |
4127 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4128 | wxPaneInfo *result = 0 ; | |
4129 | void *argp1 = 0 ; | |
4130 | int res1 = 0 ; | |
4131 | PyObject *swig_obj[1] ; | |
4132 | ||
4133 | if (!args) SWIG_fail; | |
4134 | swig_obj[0] = args; | |
4135 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4136 | if (!SWIG_IsOK(res1)) { | |
4137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4138 | } | |
4139 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4140 | { | |
4141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4142 | { | |
4143 | wxPaneInfo &_result_ref = (arg1)->Bottom(); | |
4144 | result = (wxPaneInfo *) &_result_ref; | |
4145 | } | |
4146 | wxPyEndAllowThreads(__tstate); | |
4147 | if (PyErr_Occurred()) SWIG_fail; | |
4148 | } | |
4149 | { | |
4150 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4151 | } | |
4152 | return resultobj; | |
4153 | fail: | |
4154 | return NULL; | |
4155 | } | |
4156 | ||
4157 | ||
4158 | SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4159 | PyObject *resultobj = 0; | |
4160 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4161 | wxPaneInfo *result = 0 ; | |
4162 | void *argp1 = 0 ; | |
4163 | int res1 = 0 ; | |
4164 | PyObject *swig_obj[1] ; | |
4165 | ||
4166 | if (!args) SWIG_fail; | |
4167 | swig_obj[0] = args; | |
4168 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4169 | if (!SWIG_IsOK(res1)) { | |
4170 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4171 | } | |
4172 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4173 | { | |
4174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4175 | { | |
4176 | wxPaneInfo &_result_ref = (arg1)->Center(); | |
4177 | result = (wxPaneInfo *) &_result_ref; | |
4178 | } | |
4179 | wxPyEndAllowThreads(__tstate); | |
4180 | if (PyErr_Occurred()) SWIG_fail; | |
4181 | } | |
4182 | { | |
4183 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4184 | } | |
4185 | return resultobj; | |
4186 | fail: | |
4187 | return NULL; | |
4188 | } | |
4189 | ||
4190 | ||
4191 | SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4192 | PyObject *resultobj = 0; | |
4193 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4194 | wxPaneInfo *result = 0 ; | |
4195 | void *argp1 = 0 ; | |
4196 | int res1 = 0 ; | |
4197 | PyObject *swig_obj[1] ; | |
4198 | ||
4199 | if (!args) SWIG_fail; | |
4200 | swig_obj[0] = args; | |
4201 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4202 | if (!SWIG_IsOK(res1)) { | |
4203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4204 | } | |
4205 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4206 | { | |
4207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4208 | { | |
4209 | wxPaneInfo &_result_ref = (arg1)->Centre(); | |
4210 | result = (wxPaneInfo *) &_result_ref; | |
4211 | } | |
4212 | wxPyEndAllowThreads(__tstate); | |
4213 | if (PyErr_Occurred()) SWIG_fail; | |
4214 | } | |
4215 | { | |
4216 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4217 | } | |
4218 | return resultobj; | |
4219 | fail: | |
4220 | return NULL; | |
4221 | } | |
4222 | ||
4223 | ||
4224 | SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4225 | PyObject *resultobj = 0; | |
4226 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4227 | int arg2 ; | |
4228 | wxPaneInfo *result = 0 ; | |
4229 | void *argp1 = 0 ; | |
4230 | int res1 = 0 ; | |
4231 | int val2 ; | |
4232 | int ecode2 = 0 ; | |
4233 | PyObject * obj0 = 0 ; | |
4234 | PyObject * obj1 = 0 ; | |
4235 | char * kwnames[] = { | |
4236 | (char *) "self",(char *) "direction", NULL | |
4237 | }; | |
4238 | ||
4239 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; | |
4240 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4241 | if (!SWIG_IsOK(res1)) { | |
4242 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4243 | } | |
4244 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4245 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4246 | if (!SWIG_IsOK(ecode2)) { | |
4247 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); | |
4248 | } | |
4249 | arg2 = static_cast< int >(val2); | |
4250 | { | |
4251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4252 | { | |
4253 | wxPaneInfo &_result_ref = (arg1)->Direction(arg2); | |
4254 | result = (wxPaneInfo *) &_result_ref; | |
4255 | } | |
4256 | wxPyEndAllowThreads(__tstate); | |
4257 | if (PyErr_Occurred()) SWIG_fail; | |
4258 | } | |
4259 | { | |
4260 | resultobj = obj0; Py_INCREF(resultobj); | |
4261 | } | |
4262 | return resultobj; | |
4263 | fail: | |
4264 | return NULL; | |
4265 | } | |
4266 | ||
4267 | ||
4268 | SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4269 | PyObject *resultobj = 0; | |
4270 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4271 | int arg2 ; | |
4272 | wxPaneInfo *result = 0 ; | |
4273 | void *argp1 = 0 ; | |
4274 | int res1 = 0 ; | |
4275 | int val2 ; | |
4276 | int ecode2 = 0 ; | |
4277 | PyObject * obj0 = 0 ; | |
4278 | PyObject * obj1 = 0 ; | |
4279 | char * kwnames[] = { | |
4280 | (char *) "self",(char *) "layer", NULL | |
4281 | }; | |
4282 | ||
4283 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; | |
4284 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4285 | if (!SWIG_IsOK(res1)) { | |
4286 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4287 | } | |
4288 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4289 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4290 | if (!SWIG_IsOK(ecode2)) { | |
4291 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); | |
4292 | } | |
4293 | arg2 = static_cast< int >(val2); | |
4294 | { | |
4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4296 | { | |
4297 | wxPaneInfo &_result_ref = (arg1)->Layer(arg2); | |
4298 | result = (wxPaneInfo *) &_result_ref; | |
4299 | } | |
4300 | wxPyEndAllowThreads(__tstate); | |
4301 | if (PyErr_Occurred()) SWIG_fail; | |
4302 | } | |
4303 | { | |
4304 | resultobj = obj0; Py_INCREF(resultobj); | |
4305 | } | |
4306 | return resultobj; | |
4307 | fail: | |
4308 | return NULL; | |
4309 | } | |
4310 | ||
4311 | ||
4312 | SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4313 | PyObject *resultobj = 0; | |
4314 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4315 | int arg2 ; | |
4316 | wxPaneInfo *result = 0 ; | |
4317 | void *argp1 = 0 ; | |
4318 | int res1 = 0 ; | |
4319 | int val2 ; | |
4320 | int ecode2 = 0 ; | |
4321 | PyObject * obj0 = 0 ; | |
4322 | PyObject * obj1 = 0 ; | |
4323 | char * kwnames[] = { | |
4324 | (char *) "self",(char *) "row", NULL | |
4325 | }; | |
4326 | ||
4327 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; | |
4328 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4329 | if (!SWIG_IsOK(res1)) { | |
4330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4331 | } | |
4332 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4333 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4334 | if (!SWIG_IsOK(ecode2)) { | |
4335 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); | |
4336 | } | |
4337 | arg2 = static_cast< int >(val2); | |
4338 | { | |
4339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4340 | { | |
4341 | wxPaneInfo &_result_ref = (arg1)->Row(arg2); | |
4342 | result = (wxPaneInfo *) &_result_ref; | |
4343 | } | |
4344 | wxPyEndAllowThreads(__tstate); | |
4345 | if (PyErr_Occurred()) SWIG_fail; | |
4346 | } | |
4347 | { | |
4348 | resultobj = obj0; Py_INCREF(resultobj); | |
4349 | } | |
4350 | return resultobj; | |
4351 | fail: | |
4352 | return NULL; | |
4353 | } | |
4354 | ||
4355 | ||
4356 | SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4357 | PyObject *resultobj = 0; | |
4358 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4359 | int arg2 ; | |
4360 | wxPaneInfo *result = 0 ; | |
4361 | void *argp1 = 0 ; | |
4362 | int res1 = 0 ; | |
4363 | int val2 ; | |
4364 | int ecode2 = 0 ; | |
4365 | PyObject * obj0 = 0 ; | |
4366 | PyObject * obj1 = 0 ; | |
4367 | char * kwnames[] = { | |
4368 | (char *) "self",(char *) "pos", NULL | |
4369 | }; | |
4370 | ||
4371 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; | |
4372 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4373 | if (!SWIG_IsOK(res1)) { | |
4374 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4375 | } | |
4376 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4377 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4378 | if (!SWIG_IsOK(ecode2)) { | |
4379 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); | |
4380 | } | |
4381 | arg2 = static_cast< int >(val2); | |
4382 | { | |
4383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4384 | { | |
4385 | wxPaneInfo &_result_ref = (arg1)->Position(arg2); | |
4386 | result = (wxPaneInfo *) &_result_ref; | |
4387 | } | |
4388 | wxPyEndAllowThreads(__tstate); | |
4389 | if (PyErr_Occurred()) SWIG_fail; | |
4390 | } | |
4391 | { | |
4392 | resultobj = obj0; Py_INCREF(resultobj); | |
4393 | } | |
4394 | return resultobj; | |
4395 | fail: | |
4396 | return NULL; | |
4397 | } | |
4398 | ||
4399 | ||
4400 | SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4401 | PyObject *resultobj = 0; | |
4402 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4403 | wxSize *arg2 = 0 ; | |
4404 | wxPaneInfo *result = 0 ; | |
4405 | void *argp1 = 0 ; | |
4406 | int res1 = 0 ; | |
4407 | wxSize temp2 ; | |
4408 | PyObject * obj0 = 0 ; | |
4409 | PyObject * obj1 = 0 ; | |
4410 | char * kwnames[] = { | |
4411 | (char *) "self",(char *) "size", NULL | |
4412 | }; | |
4413 | ||
4414 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4415 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4416 | if (!SWIG_IsOK(res1)) { | |
4417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4418 | } | |
4419 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4420 | { | |
4421 | arg2 = &temp2; | |
4422 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4423 | } | |
4424 | { | |
4425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4426 | { | |
4427 | wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); | |
4428 | result = (wxPaneInfo *) &_result_ref; | |
4429 | } | |
4430 | wxPyEndAllowThreads(__tstate); | |
4431 | if (PyErr_Occurred()) SWIG_fail; | |
4432 | } | |
4433 | { | |
4434 | resultobj = obj0; Py_INCREF(resultobj); | |
4435 | } | |
4436 | return resultobj; | |
4437 | fail: | |
4438 | return NULL; | |
4439 | } | |
4440 | ||
4441 | ||
4442 | SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4443 | PyObject *resultobj = 0; | |
4444 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4445 | wxSize *arg2 = 0 ; | |
4446 | wxPaneInfo *result = 0 ; | |
4447 | void *argp1 = 0 ; | |
4448 | int res1 = 0 ; | |
4449 | wxSize temp2 ; | |
4450 | PyObject * obj0 = 0 ; | |
4451 | PyObject * obj1 = 0 ; | |
4452 | char * kwnames[] = { | |
4453 | (char *) "self",(char *) "size", NULL | |
4454 | }; | |
4455 | ||
4456 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4457 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4458 | if (!SWIG_IsOK(res1)) { | |
4459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4460 | } | |
4461 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4462 | { | |
4463 | arg2 = &temp2; | |
4464 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4465 | } | |
4466 | { | |
4467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4468 | { | |
4469 | wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); | |
4470 | result = (wxPaneInfo *) &_result_ref; | |
4471 | } | |
4472 | wxPyEndAllowThreads(__tstate); | |
4473 | if (PyErr_Occurred()) SWIG_fail; | |
4474 | } | |
4475 | { | |
4476 | resultobj = obj0; Py_INCREF(resultobj); | |
4477 | } | |
4478 | return resultobj; | |
4479 | fail: | |
4480 | return NULL; | |
4481 | } | |
4482 | ||
4483 | ||
4484 | SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4485 | PyObject *resultobj = 0; | |
4486 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4487 | wxSize *arg2 = 0 ; | |
4488 | wxPaneInfo *result = 0 ; | |
4489 | void *argp1 = 0 ; | |
4490 | int res1 = 0 ; | |
4491 | wxSize temp2 ; | |
4492 | PyObject * obj0 = 0 ; | |
4493 | PyObject * obj1 = 0 ; | |
4494 | char * kwnames[] = { | |
4495 | (char *) "self",(char *) "size", NULL | |
4496 | }; | |
4497 | ||
4498 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4499 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4500 | if (!SWIG_IsOK(res1)) { | |
4501 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4502 | } | |
4503 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4504 | { | |
4505 | arg2 = &temp2; | |
4506 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4507 | } | |
4508 | { | |
4509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4510 | { | |
4511 | wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); | |
4512 | result = (wxPaneInfo *) &_result_ref; | |
4513 | } | |
4514 | wxPyEndAllowThreads(__tstate); | |
4515 | if (PyErr_Occurred()) SWIG_fail; | |
4516 | } | |
4517 | { | |
4518 | resultobj = obj0; Py_INCREF(resultobj); | |
4519 | } | |
4520 | return resultobj; | |
4521 | fail: | |
4522 | return NULL; | |
4523 | } | |
4524 | ||
4525 | ||
4526 | SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4527 | PyObject *resultobj = 0; | |
4528 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4529 | wxPoint *arg2 = 0 ; | |
4530 | wxPaneInfo *result = 0 ; | |
4531 | void *argp1 = 0 ; | |
4532 | int res1 = 0 ; | |
4533 | wxPoint temp2 ; | |
4534 | PyObject * obj0 = 0 ; | |
4535 | PyObject * obj1 = 0 ; | |
4536 | char * kwnames[] = { | |
4537 | (char *) "self",(char *) "pos", NULL | |
4538 | }; | |
4539 | ||
4540 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; | |
4541 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4542 | if (!SWIG_IsOK(res1)) { | |
4543 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4544 | } | |
4545 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4546 | { | |
4547 | arg2 = &temp2; | |
4548 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4549 | } | |
4550 | { | |
4551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4552 | { | |
4553 | wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); | |
4554 | result = (wxPaneInfo *) &_result_ref; | |
4555 | } | |
4556 | wxPyEndAllowThreads(__tstate); | |
4557 | if (PyErr_Occurred()) SWIG_fail; | |
4558 | } | |
4559 | { | |
4560 | resultobj = obj0; Py_INCREF(resultobj); | |
4561 | } | |
4562 | return resultobj; | |
4563 | fail: | |
4564 | return NULL; | |
4565 | } | |
4566 | ||
4567 | ||
4568 | SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4569 | PyObject *resultobj = 0; | |
4570 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4571 | wxSize *arg2 = 0 ; | |
4572 | wxPaneInfo *result = 0 ; | |
4573 | void *argp1 = 0 ; | |
4574 | int res1 = 0 ; | |
4575 | wxSize temp2 ; | |
4576 | PyObject * obj0 = 0 ; | |
4577 | PyObject * obj1 = 0 ; | |
4578 | char * kwnames[] = { | |
4579 | (char *) "self",(char *) "size", NULL | |
4580 | }; | |
4581 | ||
4582 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4583 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4584 | if (!SWIG_IsOK(res1)) { | |
4585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4586 | } | |
4587 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4588 | { | |
4589 | arg2 = &temp2; | |
4590 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4591 | } | |
4592 | { | |
4593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4594 | { | |
4595 | wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); | |
4596 | result = (wxPaneInfo *) &_result_ref; | |
4597 | } | |
4598 | wxPyEndAllowThreads(__tstate); | |
4599 | if (PyErr_Occurred()) SWIG_fail; | |
4600 | } | |
4601 | { | |
4602 | resultobj = obj0; Py_INCREF(resultobj); | |
4603 | } | |
4604 | return resultobj; | |
4605 | fail: | |
4606 | return NULL; | |
4607 | } | |
4608 | ||
4609 | ||
4610 | SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4611 | PyObject *resultobj = 0; | |
4612 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4613 | wxPaneInfo *result = 0 ; | |
4614 | void *argp1 = 0 ; | |
4615 | int res1 = 0 ; | |
4616 | PyObject *swig_obj[1] ; | |
4617 | ||
4618 | if (!args) SWIG_fail; | |
4619 | swig_obj[0] = args; | |
4620 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4621 | if (!SWIG_IsOK(res1)) { | |
4622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4623 | } | |
4624 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4625 | { | |
4626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4627 | { | |
4628 | wxPaneInfo &_result_ref = (arg1)->Fixed(); | |
4629 | result = (wxPaneInfo *) &_result_ref; | |
4630 | } | |
4631 | wxPyEndAllowThreads(__tstate); | |
4632 | if (PyErr_Occurred()) SWIG_fail; | |
4633 | } | |
4634 | { | |
4635 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4636 | } | |
4637 | return resultobj; | |
4638 | fail: | |
4639 | return NULL; | |
4640 | } | |
4641 | ||
4642 | ||
4643 | SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4644 | PyObject *resultobj = 0; | |
4645 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4646 | bool arg2 = (bool) true ; | |
4647 | wxPaneInfo *result = 0 ; | |
4648 | void *argp1 = 0 ; | |
4649 | int res1 = 0 ; | |
4650 | bool val2 ; | |
4651 | int ecode2 = 0 ; | |
4652 | PyObject * obj0 = 0 ; | |
4653 | PyObject * obj1 = 0 ; | |
4654 | char * kwnames[] = { | |
4655 | (char *) "self",(char *) "resizable", NULL | |
4656 | }; | |
4657 | ||
4658 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; | |
4659 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4660 | if (!SWIG_IsOK(res1)) { | |
4661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4662 | } | |
4663 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4664 | if (obj1) { | |
4665 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4666 | if (!SWIG_IsOK(ecode2)) { | |
4667 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); | |
4668 | } | |
4669 | arg2 = static_cast< bool >(val2); | |
4670 | } | |
4671 | { | |
4672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4673 | { | |
4674 | wxPaneInfo &_result_ref = (arg1)->Resizable(arg2); | |
4675 | result = (wxPaneInfo *) &_result_ref; | |
4676 | } | |
4677 | wxPyEndAllowThreads(__tstate); | |
4678 | if (PyErr_Occurred()) SWIG_fail; | |
4679 | } | |
4680 | { | |
4681 | resultobj = obj0; Py_INCREF(resultobj); | |
4682 | } | |
4683 | return resultobj; | |
4684 | fail: | |
4685 | return NULL; | |
4686 | } | |
4687 | ||
4688 | ||
4689 | SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4690 | PyObject *resultobj = 0; | |
4691 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4692 | wxPaneInfo *result = 0 ; | |
4693 | void *argp1 = 0 ; | |
4694 | int res1 = 0 ; | |
4695 | PyObject *swig_obj[1] ; | |
4696 | ||
4697 | if (!args) SWIG_fail; | |
4698 | swig_obj[0] = args; | |
4699 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4700 | if (!SWIG_IsOK(res1)) { | |
4701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4702 | } | |
4703 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4704 | { | |
4705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4706 | { | |
4707 | wxPaneInfo &_result_ref = (arg1)->Dock(); | |
4708 | result = (wxPaneInfo *) &_result_ref; | |
4709 | } | |
4710 | wxPyEndAllowThreads(__tstate); | |
4711 | if (PyErr_Occurred()) SWIG_fail; | |
4712 | } | |
4713 | { | |
4714 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4715 | } | |
4716 | return resultobj; | |
4717 | fail: | |
4718 | return NULL; | |
4719 | } | |
4720 | ||
4721 | ||
4722 | SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4723 | PyObject *resultobj = 0; | |
4724 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4725 | wxPaneInfo *result = 0 ; | |
4726 | void *argp1 = 0 ; | |
4727 | int res1 = 0 ; | |
4728 | PyObject *swig_obj[1] ; | |
4729 | ||
4730 | if (!args) SWIG_fail; | |
4731 | swig_obj[0] = args; | |
4732 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4733 | if (!SWIG_IsOK(res1)) { | |
4734 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4735 | } | |
4736 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4737 | { | |
4738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4739 | { | |
4740 | wxPaneInfo &_result_ref = (arg1)->Float(); | |
4741 | result = (wxPaneInfo *) &_result_ref; | |
4742 | } | |
4743 | wxPyEndAllowThreads(__tstate); | |
4744 | if (PyErr_Occurred()) SWIG_fail; | |
4745 | } | |
4746 | { | |
4747 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4748 | } | |
4749 | return resultobj; | |
4750 | fail: | |
4751 | return NULL; | |
4752 | } | |
4753 | ||
4754 | ||
4755 | SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4756 | PyObject *resultobj = 0; | |
4757 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4758 | wxPaneInfo *result = 0 ; | |
4759 | void *argp1 = 0 ; | |
4760 | int res1 = 0 ; | |
4761 | PyObject *swig_obj[1] ; | |
4762 | ||
4763 | if (!args) SWIG_fail; | |
4764 | swig_obj[0] = args; | |
4765 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4766 | if (!SWIG_IsOK(res1)) { | |
4767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4768 | } | |
4769 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4770 | { | |
4771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4772 | { | |
4773 | wxPaneInfo &_result_ref = (arg1)->Hide(); | |
4774 | result = (wxPaneInfo *) &_result_ref; | |
4775 | } | |
4776 | wxPyEndAllowThreads(__tstate); | |
4777 | if (PyErr_Occurred()) SWIG_fail; | |
4778 | } | |
4779 | { | |
4780 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4781 | } | |
4782 | return resultobj; | |
4783 | fail: | |
4784 | return NULL; | |
4785 | } | |
4786 | ||
4787 | ||
4788 | SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4789 | PyObject *resultobj = 0; | |
4790 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4791 | bool arg2 = (bool) true ; | |
4792 | wxPaneInfo *result = 0 ; | |
4793 | void *argp1 = 0 ; | |
4794 | int res1 = 0 ; | |
4795 | bool val2 ; | |
4796 | int ecode2 = 0 ; | |
4797 | PyObject * obj0 = 0 ; | |
4798 | PyObject * obj1 = 0 ; | |
4799 | char * kwnames[] = { | |
4800 | (char *) "self",(char *) "show", NULL | |
4801 | }; | |
4802 | ||
4803 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; | |
4804 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4805 | if (!SWIG_IsOK(res1)) { | |
4806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4807 | } | |
4808 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4809 | if (obj1) { | |
4810 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4811 | if (!SWIG_IsOK(ecode2)) { | |
4812 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); | |
4813 | } | |
4814 | arg2 = static_cast< bool >(val2); | |
4815 | } | |
4816 | { | |
4817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4818 | { | |
4819 | wxPaneInfo &_result_ref = (arg1)->Show(arg2); | |
4820 | result = (wxPaneInfo *) &_result_ref; | |
4821 | } | |
4822 | wxPyEndAllowThreads(__tstate); | |
4823 | if (PyErr_Occurred()) SWIG_fail; | |
4824 | } | |
4825 | { | |
4826 | resultobj = obj0; Py_INCREF(resultobj); | |
4827 | } | |
4828 | return resultobj; | |
4829 | fail: | |
4830 | return NULL; | |
4831 | } | |
4832 | ||
4833 | ||
4834 | SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4835 | PyObject *resultobj = 0; | |
4836 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4837 | bool arg2 = (bool) true ; | |
4838 | wxPaneInfo *result = 0 ; | |
4839 | void *argp1 = 0 ; | |
4840 | int res1 = 0 ; | |
4841 | bool val2 ; | |
4842 | int ecode2 = 0 ; | |
4843 | PyObject * obj0 = 0 ; | |
4844 | PyObject * obj1 = 0 ; | |
4845 | char * kwnames[] = { | |
4846 | (char *) "self",(char *) "visible", NULL | |
4847 | }; | |
4848 | ||
4849 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; | |
4850 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4851 | if (!SWIG_IsOK(res1)) { | |
4852 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4853 | } | |
4854 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4855 | if (obj1) { | |
4856 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4857 | if (!SWIG_IsOK(ecode2)) { | |
4858 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); | |
4859 | } | |
4860 | arg2 = static_cast< bool >(val2); | |
4861 | } | |
4862 | { | |
4863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4864 | { | |
4865 | wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); | |
4866 | result = (wxPaneInfo *) &_result_ref; | |
4867 | } | |
4868 | wxPyEndAllowThreads(__tstate); | |
4869 | if (PyErr_Occurred()) SWIG_fail; | |
4870 | } | |
4871 | { | |
4872 | resultobj = obj0; Py_INCREF(resultobj); | |
4873 | } | |
4874 | return resultobj; | |
4875 | fail: | |
4876 | return NULL; | |
4877 | } | |
4878 | ||
4879 | ||
4880 | SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4881 | PyObject *resultobj = 0; | |
4882 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4883 | bool arg2 = (bool) true ; | |
4884 | wxPaneInfo *result = 0 ; | |
4885 | void *argp1 = 0 ; | |
4886 | int res1 = 0 ; | |
4887 | bool val2 ; | |
4888 | int ecode2 = 0 ; | |
4889 | PyObject * obj0 = 0 ; | |
4890 | PyObject * obj1 = 0 ; | |
4891 | char * kwnames[] = { | |
4892 | (char *) "self",(char *) "visible", NULL | |
4893 | }; | |
4894 | ||
4895 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; | |
4896 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4897 | if (!SWIG_IsOK(res1)) { | |
4898 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4899 | } | |
4900 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4901 | if (obj1) { | |
4902 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4903 | if (!SWIG_IsOK(ecode2)) { | |
4904 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); | |
4905 | } | |
4906 | arg2 = static_cast< bool >(val2); | |
4907 | } | |
4908 | { | |
4909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4910 | { | |
4911 | wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); | |
4912 | result = (wxPaneInfo *) &_result_ref; | |
4913 | } | |
4914 | wxPyEndAllowThreads(__tstate); | |
4915 | if (PyErr_Occurred()) SWIG_fail; | |
4916 | } | |
4917 | { | |
4918 | resultobj = obj0; Py_INCREF(resultobj); | |
4919 | } | |
4920 | return resultobj; | |
4921 | fail: | |
4922 | return NULL; | |
4923 | } | |
4924 | ||
4925 | ||
4926 | SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4927 | PyObject *resultobj = 0; | |
4928 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4929 | bool arg2 = (bool) true ; | |
4930 | wxPaneInfo *result = 0 ; | |
4931 | void *argp1 = 0 ; | |
4932 | int res1 = 0 ; | |
4933 | bool val2 ; | |
4934 | int ecode2 = 0 ; | |
4935 | PyObject * obj0 = 0 ; | |
4936 | PyObject * obj1 = 0 ; | |
4937 | char * kwnames[] = { | |
4938 | (char *) "self",(char *) "visible", NULL | |
4939 | }; | |
4940 | ||
4941 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; | |
4942 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4943 | if (!SWIG_IsOK(res1)) { | |
4944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4945 | } | |
4946 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4947 | if (obj1) { | |
4948 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4949 | if (!SWIG_IsOK(ecode2)) { | |
4950 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); | |
4951 | } | |
4952 | arg2 = static_cast< bool >(val2); | |
4953 | } | |
4954 | { | |
4955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4956 | { | |
4957 | wxPaneInfo &_result_ref = (arg1)->Gripper(arg2); | |
4958 | result = (wxPaneInfo *) &_result_ref; | |
4959 | } | |
4960 | wxPyEndAllowThreads(__tstate); | |
4961 | if (PyErr_Occurred()) SWIG_fail; | |
4962 | } | |
4963 | { | |
4964 | resultobj = obj0; Py_INCREF(resultobj); | |
4965 | } | |
4966 | return resultobj; | |
4967 | fail: | |
4968 | return NULL; | |
4969 | } | |
4970 | ||
4971 | ||
4972 | SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4973 | PyObject *resultobj = 0; | |
4974 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4975 | bool arg2 = (bool) true ; | |
4976 | wxPaneInfo *result = 0 ; | |
4977 | void *argp1 = 0 ; | |
4978 | int res1 = 0 ; | |
4979 | bool val2 ; | |
4980 | int ecode2 = 0 ; | |
4981 | PyObject * obj0 = 0 ; | |
4982 | PyObject * obj1 = 0 ; | |
4983 | char * kwnames[] = { | |
4984 | (char *) "self",(char *) "attop", NULL | |
4985 | }; | |
4986 | ||
4987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; | |
4988 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4989 | if (!SWIG_IsOK(res1)) { | |
4990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4991 | } | |
4992 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4993 | if (obj1) { | |
4994 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4995 | if (!SWIG_IsOK(ecode2)) { | |
4996 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); | |
4997 | } | |
4998 | arg2 = static_cast< bool >(val2); | |
4999 | } | |
5000 | { | |
5001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5002 | { | |
5003 | wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2); | |
5004 | result = (wxPaneInfo *) &_result_ref; | |
5005 | } | |
5006 | wxPyEndAllowThreads(__tstate); | |
5007 | if (PyErr_Occurred()) SWIG_fail; | |
5008 | } | |
5009 | { | |
5010 | resultobj = obj0; Py_INCREF(resultobj); | |
5011 | } | |
5012 | return resultobj; | |
5013 | fail: | |
5014 | return NULL; | |
5015 | } | |
5016 | ||
5017 | ||
5018 | SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5019 | PyObject *resultobj = 0; | |
5020 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5021 | bool arg2 = (bool) true ; | |
5022 | wxPaneInfo *result = 0 ; | |
5023 | void *argp1 = 0 ; | |
5024 | int res1 = 0 ; | |
5025 | bool val2 ; | |
5026 | int ecode2 = 0 ; | |
5027 | PyObject * obj0 = 0 ; | |
5028 | PyObject * obj1 = 0 ; | |
5029 | char * kwnames[] = { | |
5030 | (char *) "self",(char *) "visible", NULL | |
5031 | }; | |
5032 | ||
5033 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5034 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5035 | if (!SWIG_IsOK(res1)) { | |
5036 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5037 | } | |
5038 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5039 | if (obj1) { | |
5040 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5041 | if (!SWIG_IsOK(ecode2)) { | |
5042 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); | |
5043 | } | |
5044 | arg2 = static_cast< bool >(val2); | |
5045 | } | |
5046 | { | |
5047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5048 | { | |
5049 | wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2); | |
5050 | result = (wxPaneInfo *) &_result_ref; | |
5051 | } | |
5052 | wxPyEndAllowThreads(__tstate); | |
5053 | if (PyErr_Occurred()) SWIG_fail; | |
5054 | } | |
5055 | { | |
5056 | resultobj = obj0; Py_INCREF(resultobj); | |
5057 | } | |
5058 | return resultobj; | |
5059 | fail: | |
5060 | return NULL; | |
5061 | } | |
5062 | ||
5063 | ||
5064 | SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5065 | PyObject *resultobj = 0; | |
5066 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5067 | bool arg2 = (bool) true ; | |
5068 | wxPaneInfo *result = 0 ; | |
5069 | void *argp1 = 0 ; | |
5070 | int res1 = 0 ; | |
5071 | bool val2 ; | |
5072 | int ecode2 = 0 ; | |
5073 | PyObject * obj0 = 0 ; | |
5074 | PyObject * obj1 = 0 ; | |
5075 | char * kwnames[] = { | |
5076 | (char *) "self",(char *) "visible", NULL | |
5077 | }; | |
5078 | ||
5079 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5080 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5081 | if (!SWIG_IsOK(res1)) { | |
5082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5083 | } | |
5084 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5085 | if (obj1) { | |
5086 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5087 | if (!SWIG_IsOK(ecode2)) { | |
5088 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); | |
5089 | } | |
5090 | arg2 = static_cast< bool >(val2); | |
5091 | } | |
5092 | { | |
5093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5094 | { | |
5095 | wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); | |
5096 | result = (wxPaneInfo *) &_result_ref; | |
5097 | } | |
5098 | wxPyEndAllowThreads(__tstate); | |
5099 | if (PyErr_Occurred()) SWIG_fail; | |
5100 | } | |
5101 | { | |
5102 | resultobj = obj0; Py_INCREF(resultobj); | |
5103 | } | |
5104 | return resultobj; | |
5105 | fail: | |
5106 | return NULL; | |
5107 | } | |
5108 | ||
5109 | ||
5110 | SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5111 | PyObject *resultobj = 0; | |
5112 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5113 | bool arg2 = (bool) true ; | |
5114 | wxPaneInfo *result = 0 ; | |
5115 | void *argp1 = 0 ; | |
5116 | int res1 = 0 ; | |
5117 | bool val2 ; | |
5118 | int ecode2 = 0 ; | |
5119 | PyObject * obj0 = 0 ; | |
5120 | PyObject * obj1 = 0 ; | |
5121 | char * kwnames[] = { | |
5122 | (char *) "self",(char *) "visible", NULL | |
5123 | }; | |
5124 | ||
5125 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5126 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5127 | if (!SWIG_IsOK(res1)) { | |
5128 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5129 | } | |
5130 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5131 | if (obj1) { | |
5132 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5133 | if (!SWIG_IsOK(ecode2)) { | |
5134 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); | |
5135 | } | |
5136 | arg2 = static_cast< bool >(val2); | |
5137 | } | |
5138 | { | |
5139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5140 | { | |
5141 | wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); | |
5142 | result = (wxPaneInfo *) &_result_ref; | |
5143 | } | |
5144 | wxPyEndAllowThreads(__tstate); | |
5145 | if (PyErr_Occurred()) SWIG_fail; | |
5146 | } | |
5147 | { | |
5148 | resultobj = obj0; Py_INCREF(resultobj); | |
5149 | } | |
5150 | return resultobj; | |
5151 | fail: | |
5152 | return NULL; | |
5153 | } | |
5154 | ||
5155 | ||
5156 | SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5157 | PyObject *resultobj = 0; | |
5158 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5159 | bool arg2 = (bool) true ; | |
5160 | wxPaneInfo *result = 0 ; | |
5161 | void *argp1 = 0 ; | |
5162 | int res1 = 0 ; | |
5163 | bool val2 ; | |
5164 | int ecode2 = 0 ; | |
5165 | PyObject * obj0 = 0 ; | |
5166 | PyObject * obj1 = 0 ; | |
5167 | char * kwnames[] = { | |
5168 | (char *) "self",(char *) "visible", NULL | |
5169 | }; | |
5170 | ||
5171 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5172 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5173 | if (!SWIG_IsOK(res1)) { | |
5174 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5175 | } | |
5176 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5177 | if (obj1) { | |
5178 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5179 | if (!SWIG_IsOK(ecode2)) { | |
5180 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); | |
5181 | } | |
5182 | arg2 = static_cast< bool >(val2); | |
5183 | } | |
5184 | { | |
5185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5186 | { | |
5187 | wxPaneInfo &_result_ref = (arg1)->PinButton(arg2); | |
5188 | result = (wxPaneInfo *) &_result_ref; | |
5189 | } | |
5190 | wxPyEndAllowThreads(__tstate); | |
5191 | if (PyErr_Occurred()) SWIG_fail; | |
5192 | } | |
5193 | { | |
5194 | resultobj = obj0; Py_INCREF(resultobj); | |
5195 | } | |
5196 | return resultobj; | |
5197 | fail: | |
5198 | return NULL; | |
5199 | } | |
5200 | ||
5201 | ||
5202 | SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5203 | PyObject *resultobj = 0; | |
5204 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5205 | bool arg2 = (bool) true ; | |
5206 | wxPaneInfo *result = 0 ; | |
5207 | void *argp1 = 0 ; | |
5208 | int res1 = 0 ; | |
5209 | bool val2 ; | |
5210 | int ecode2 = 0 ; | |
5211 | PyObject * obj0 = 0 ; | |
5212 | PyObject * obj1 = 0 ; | |
5213 | char * kwnames[] = { | |
5214 | (char *) "self",(char *) "b", NULL | |
5215 | }; | |
5216 | ||
5217 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; | |
5218 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5219 | if (!SWIG_IsOK(res1)) { | |
5220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5221 | } | |
5222 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5223 | if (obj1) { | |
5224 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5225 | if (!SWIG_IsOK(ecode2)) { | |
5226 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); | |
5227 | } | |
5228 | arg2 = static_cast< bool >(val2); | |
5229 | } | |
5230 | { | |
5231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5232 | { | |
5233 | wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); | |
5234 | result = (wxPaneInfo *) &_result_ref; | |
5235 | } | |
5236 | wxPyEndAllowThreads(__tstate); | |
5237 | if (PyErr_Occurred()) SWIG_fail; | |
5238 | } | |
5239 | { | |
5240 | resultobj = obj0; Py_INCREF(resultobj); | |
5241 | } | |
5242 | return resultobj; | |
5243 | fail: | |
5244 | return NULL; | |
5245 | } | |
5246 | ||
5247 | ||
5248 | SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5249 | PyObject *resultobj = 0; | |
5250 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5251 | bool arg2 = (bool) true ; | |
5252 | wxPaneInfo *result = 0 ; | |
5253 | void *argp1 = 0 ; | |
5254 | int res1 = 0 ; | |
5255 | bool val2 ; | |
5256 | int ecode2 = 0 ; | |
5257 | PyObject * obj0 = 0 ; | |
5258 | PyObject * obj1 = 0 ; | |
5259 | char * kwnames[] = { | |
5260 | (char *) "self",(char *) "b", NULL | |
5261 | }; | |
5262 | ||
5263 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5264 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5265 | if (!SWIG_IsOK(res1)) { | |
5266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5267 | } | |
5268 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5269 | if (obj1) { | |
5270 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5271 | if (!SWIG_IsOK(ecode2)) { | |
5272 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5273 | } | |
5274 | arg2 = static_cast< bool >(val2); | |
5275 | } | |
5276 | { | |
5277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5278 | { | |
5279 | wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2); | |
5280 | result = (wxPaneInfo *) &_result_ref; | |
5281 | } | |
5282 | wxPyEndAllowThreads(__tstate); | |
5283 | if (PyErr_Occurred()) SWIG_fail; | |
5284 | } | |
5285 | { | |
5286 | resultobj = obj0; Py_INCREF(resultobj); | |
5287 | } | |
5288 | return resultobj; | |
5289 | fail: | |
5290 | return NULL; | |
5291 | } | |
5292 | ||
5293 | ||
5294 | SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5295 | PyObject *resultobj = 0; | |
5296 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5297 | bool arg2 = (bool) true ; | |
5298 | wxPaneInfo *result = 0 ; | |
5299 | void *argp1 = 0 ; | |
5300 | int res1 = 0 ; | |
5301 | bool val2 ; | |
5302 | int ecode2 = 0 ; | |
5303 | PyObject * obj0 = 0 ; | |
5304 | PyObject * obj1 = 0 ; | |
5305 | char * kwnames[] = { | |
5306 | (char *) "self",(char *) "b", NULL | |
5307 | }; | |
5308 | ||
5309 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5310 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5311 | if (!SWIG_IsOK(res1)) { | |
5312 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5313 | } | |
5314 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5315 | if (obj1) { | |
5316 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5317 | if (!SWIG_IsOK(ecode2)) { | |
5318 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5319 | } | |
5320 | arg2 = static_cast< bool >(val2); | |
5321 | } | |
5322 | { | |
5323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5324 | { | |
5325 | wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); | |
5326 | result = (wxPaneInfo *) &_result_ref; | |
5327 | } | |
5328 | wxPyEndAllowThreads(__tstate); | |
5329 | if (PyErr_Occurred()) SWIG_fail; | |
5330 | } | |
5331 | { | |
5332 | resultobj = obj0; Py_INCREF(resultobj); | |
5333 | } | |
5334 | return resultobj; | |
5335 | fail: | |
5336 | return NULL; | |
5337 | } | |
5338 | ||
5339 | ||
5340 | SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5341 | PyObject *resultobj = 0; | |
5342 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5343 | bool arg2 = (bool) true ; | |
5344 | wxPaneInfo *result = 0 ; | |
5345 | void *argp1 = 0 ; | |
5346 | int res1 = 0 ; | |
5347 | bool val2 ; | |
5348 | int ecode2 = 0 ; | |
5349 | PyObject * obj0 = 0 ; | |
5350 | PyObject * obj1 = 0 ; | |
5351 | char * kwnames[] = { | |
5352 | (char *) "self",(char *) "b", NULL | |
5353 | }; | |
5354 | ||
5355 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5356 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5357 | if (!SWIG_IsOK(res1)) { | |
5358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5359 | } | |
5360 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5361 | if (obj1) { | |
5362 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5363 | if (!SWIG_IsOK(ecode2)) { | |
5364 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5365 | } | |
5366 | arg2 = static_cast< bool >(val2); | |
5367 | } | |
5368 | { | |
5369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5370 | { | |
5371 | wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); | |
5372 | result = (wxPaneInfo *) &_result_ref; | |
5373 | } | |
5374 | wxPyEndAllowThreads(__tstate); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
5377 | { | |
5378 | resultobj = obj0; Py_INCREF(resultobj); | |
5379 | } | |
5380 | return resultobj; | |
5381 | fail: | |
5382 | return NULL; | |
5383 | } | |
5384 | ||
5385 | ||
5386 | SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5387 | PyObject *resultobj = 0; | |
5388 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5389 | bool arg2 = (bool) true ; | |
5390 | wxPaneInfo *result = 0 ; | |
5391 | void *argp1 = 0 ; | |
5392 | int res1 = 0 ; | |
5393 | bool val2 ; | |
5394 | int ecode2 = 0 ; | |
5395 | PyObject * obj0 = 0 ; | |
5396 | PyObject * obj1 = 0 ; | |
5397 | char * kwnames[] = { | |
5398 | (char *) "self",(char *) "b", NULL | |
5399 | }; | |
5400 | ||
5401 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5402 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5403 | if (!SWIG_IsOK(res1)) { | |
5404 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5405 | } | |
5406 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5407 | if (obj1) { | |
5408 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5409 | if (!SWIG_IsOK(ecode2)) { | |
5410 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5411 | } | |
5412 | arg2 = static_cast< bool >(val2); | |
5413 | } | |
5414 | { | |
5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5416 | { | |
5417 | wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2); | |
5418 | result = (wxPaneInfo *) &_result_ref; | |
5419 | } | |
5420 | wxPyEndAllowThreads(__tstate); | |
5421 | if (PyErr_Occurred()) SWIG_fail; | |
5422 | } | |
5423 | { | |
5424 | resultobj = obj0; Py_INCREF(resultobj); | |
5425 | } | |
5426 | return resultobj; | |
5427 | fail: | |
5428 | return NULL; | |
5429 | } | |
5430 | ||
5431 | ||
5432 | SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5433 | PyObject *resultobj = 0; | |
5434 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5435 | bool arg2 = (bool) true ; | |
5436 | wxPaneInfo *result = 0 ; | |
5437 | void *argp1 = 0 ; | |
5438 | int res1 = 0 ; | |
5439 | bool val2 ; | |
5440 | int ecode2 = 0 ; | |
5441 | PyObject * obj0 = 0 ; | |
5442 | PyObject * obj1 = 0 ; | |
5443 | char * kwnames[] = { | |
5444 | (char *) "self",(char *) "b", NULL | |
5445 | }; | |
5446 | ||
5447 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5448 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5449 | if (!SWIG_IsOK(res1)) { | |
5450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5451 | } | |
5452 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5453 | if (obj1) { | |
5454 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5455 | if (!SWIG_IsOK(ecode2)) { | |
5456 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); | |
5457 | } | |
5458 | arg2 = static_cast< bool >(val2); | |
5459 | } | |
5460 | { | |
5461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5462 | { | |
5463 | wxPaneInfo &_result_ref = (arg1)->Floatable(arg2); | |
5464 | result = (wxPaneInfo *) &_result_ref; | |
5465 | } | |
5466 | wxPyEndAllowThreads(__tstate); | |
5467 | if (PyErr_Occurred()) SWIG_fail; | |
5468 | } | |
5469 | { | |
5470 | resultobj = obj0; Py_INCREF(resultobj); | |
5471 | } | |
5472 | return resultobj; | |
5473 | fail: | |
5474 | return NULL; | |
5475 | } | |
5476 | ||
5477 | ||
5478 | SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5479 | PyObject *resultobj = 0; | |
5480 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5481 | bool arg2 = (bool) true ; | |
5482 | wxPaneInfo *result = 0 ; | |
5483 | void *argp1 = 0 ; | |
5484 | int res1 = 0 ; | |
5485 | bool val2 ; | |
5486 | int ecode2 = 0 ; | |
5487 | PyObject * obj0 = 0 ; | |
5488 | PyObject * obj1 = 0 ; | |
5489 | char * kwnames[] = { | |
5490 | (char *) "self",(char *) "b", NULL | |
5491 | }; | |
5492 | ||
5493 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5494 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5495 | if (!SWIG_IsOK(res1)) { | |
5496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5497 | } | |
5498 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5499 | if (obj1) { | |
5500 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5501 | if (!SWIG_IsOK(ecode2)) { | |
5502 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); | |
5503 | } | |
5504 | arg2 = static_cast< bool >(val2); | |
5505 | } | |
5506 | { | |
5507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5508 | { | |
5509 | wxPaneInfo &_result_ref = (arg1)->Movable(arg2); | |
5510 | result = (wxPaneInfo *) &_result_ref; | |
5511 | } | |
5512 | wxPyEndAllowThreads(__tstate); | |
5513 | if (PyErr_Occurred()) SWIG_fail; | |
5514 | } | |
5515 | { | |
5516 | resultobj = obj0; Py_INCREF(resultobj); | |
5517 | } | |
5518 | return resultobj; | |
5519 | fail: | |
5520 | return NULL; | |
5521 | } | |
5522 | ||
5523 | ||
5524 | SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5525 | PyObject *resultobj = 0; | |
5526 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5527 | bool arg2 = (bool) true ; | |
5528 | wxPaneInfo *result = 0 ; | |
5529 | void *argp1 = 0 ; | |
5530 | int res1 = 0 ; | |
5531 | bool val2 ; | |
5532 | int ecode2 = 0 ; | |
5533 | PyObject * obj0 = 0 ; | |
5534 | PyObject * obj1 = 0 ; | |
5535 | char * kwnames[] = { | |
5536 | (char *) "self",(char *) "b", NULL | |
5537 | }; | |
5538 | ||
5539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5541 | if (!SWIG_IsOK(res1)) { | |
5542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5543 | } | |
5544 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5545 | if (obj1) { | |
5546 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5547 | if (!SWIG_IsOK(ecode2)) { | |
5548 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); | |
5549 | } | |
5550 | arg2 = static_cast< bool >(val2); | |
5551 | } | |
5552 | { | |
5553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5554 | { | |
5555 | wxPaneInfo &_result_ref = (arg1)->Dockable(arg2); | |
5556 | result = (wxPaneInfo *) &_result_ref; | |
5557 | } | |
5558 | wxPyEndAllowThreads(__tstate); | |
5559 | if (PyErr_Occurred()) SWIG_fail; | |
5560 | } | |
5561 | { | |
5562 | resultobj = obj0; Py_INCREF(resultobj); | |
5563 | } | |
5564 | return resultobj; | |
5565 | fail: | |
5566 | return NULL; | |
5567 | } | |
5568 | ||
5569 | ||
5570 | SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5571 | PyObject *resultobj = 0; | |
5572 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5573 | wxPaneInfo *result = 0 ; | |
5574 | void *argp1 = 0 ; | |
5575 | int res1 = 0 ; | |
5576 | PyObject *swig_obj[1] ; | |
5577 | ||
5578 | if (!args) SWIG_fail; | |
5579 | swig_obj[0] = args; | |
5580 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5581 | if (!SWIG_IsOK(res1)) { | |
5582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5583 | } | |
5584 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5585 | { | |
5586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5587 | { | |
5588 | wxPaneInfo &_result_ref = (arg1)->DefaultPane(); | |
5589 | result = (wxPaneInfo *) &_result_ref; | |
5590 | } | |
5591 | wxPyEndAllowThreads(__tstate); | |
5592 | if (PyErr_Occurred()) SWIG_fail; | |
5593 | } | |
5594 | { | |
5595 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5596 | } | |
5597 | return resultobj; | |
5598 | fail: | |
5599 | return NULL; | |
5600 | } | |
5601 | ||
5602 | ||
5603 | SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5604 | PyObject *resultobj = 0; | |
5605 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5606 | wxPaneInfo *result = 0 ; | |
5607 | void *argp1 = 0 ; | |
5608 | int res1 = 0 ; | |
5609 | PyObject *swig_obj[1] ; | |
5610 | ||
5611 | if (!args) SWIG_fail; | |
5612 | swig_obj[0] = args; | |
5613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5614 | if (!SWIG_IsOK(res1)) { | |
5615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5616 | } | |
5617 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5618 | { | |
5619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5620 | { | |
5621 | wxPaneInfo &_result_ref = (arg1)->CentrePane(); | |
5622 | result = (wxPaneInfo *) &_result_ref; | |
5623 | } | |
5624 | wxPyEndAllowThreads(__tstate); | |
5625 | if (PyErr_Occurred()) SWIG_fail; | |
5626 | } | |
5627 | { | |
5628 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5629 | } | |
5630 | return resultobj; | |
5631 | fail: | |
5632 | return NULL; | |
5633 | } | |
5634 | ||
5635 | ||
5636 | SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5637 | PyObject *resultobj = 0; | |
5638 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5639 | wxPaneInfo *result = 0 ; | |
5640 | void *argp1 = 0 ; | |
5641 | int res1 = 0 ; | |
5642 | PyObject *swig_obj[1] ; | |
5643 | ||
5644 | if (!args) SWIG_fail; | |
5645 | swig_obj[0] = args; | |
5646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5647 | if (!SWIG_IsOK(res1)) { | |
5648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5649 | } | |
5650 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5651 | { | |
5652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5653 | { | |
5654 | wxPaneInfo &_result_ref = (arg1)->CenterPane(); | |
5655 | result = (wxPaneInfo *) &_result_ref; | |
5656 | } | |
5657 | wxPyEndAllowThreads(__tstate); | |
5658 | if (PyErr_Occurred()) SWIG_fail; | |
5659 | } | |
5660 | { | |
5661 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5662 | } | |
5663 | return resultobj; | |
5664 | fail: | |
5665 | return NULL; | |
5666 | } | |
5667 | ||
5668 | ||
5669 | SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5670 | PyObject *resultobj = 0; | |
5671 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5672 | wxPaneInfo *result = 0 ; | |
5673 | void *argp1 = 0 ; | |
5674 | int res1 = 0 ; | |
5675 | PyObject *swig_obj[1] ; | |
5676 | ||
5677 | if (!args) SWIG_fail; | |
5678 | swig_obj[0] = args; | |
5679 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5680 | if (!SWIG_IsOK(res1)) { | |
5681 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5682 | } | |
5683 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5684 | { | |
5685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5686 | { | |
5687 | wxPaneInfo &_result_ref = (arg1)->ToolbarPane(); | |
5688 | result = (wxPaneInfo *) &_result_ref; | |
5689 | } | |
5690 | wxPyEndAllowThreads(__tstate); | |
5691 | if (PyErr_Occurred()) SWIG_fail; | |
5692 | } | |
5693 | { | |
5694 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5695 | } | |
5696 | return resultobj; | |
5697 | fail: | |
5698 | return NULL; | |
5699 | } | |
5700 | ||
5701 | ||
5702 | SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5703 | PyObject *resultobj = 0; | |
5704 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5705 | int arg2 ; | |
5706 | bool arg3 ; | |
5707 | wxPaneInfo *result = 0 ; | |
5708 | void *argp1 = 0 ; | |
5709 | int res1 = 0 ; | |
5710 | int val2 ; | |
5711 | int ecode2 = 0 ; | |
5712 | bool val3 ; | |
5713 | int ecode3 = 0 ; | |
5714 | PyObject * obj0 = 0 ; | |
5715 | PyObject * obj1 = 0 ; | |
5716 | PyObject * obj2 = 0 ; | |
5717 | char * kwnames[] = { | |
5718 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
5719 | }; | |
5720 | ||
5721 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5722 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5723 | if (!SWIG_IsOK(res1)) { | |
5724 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5725 | } | |
5726 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5727 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5728 | if (!SWIG_IsOK(ecode2)) { | |
5729 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); | |
5730 | } | |
5731 | arg2 = static_cast< int >(val2); | |
5732 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
5733 | if (!SWIG_IsOK(ecode3)) { | |
5734 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); | |
5735 | } | |
5736 | arg3 = static_cast< bool >(val3); | |
5737 | { | |
5738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5739 | { | |
5740 | wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); | |
5741 | result = (wxPaneInfo *) &_result_ref; | |
5742 | } | |
5743 | wxPyEndAllowThreads(__tstate); | |
5744 | if (PyErr_Occurred()) SWIG_fail; | |
5745 | } | |
5746 | { | |
5747 | resultobj = obj0; Py_INCREF(resultobj); | |
5748 | } | |
5749 | return resultobj; | |
5750 | fail: | |
5751 | return NULL; | |
5752 | } | |
5753 | ||
5754 | ||
5755 | SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5756 | PyObject *resultobj = 0; | |
5757 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5758 | int arg2 ; | |
5759 | bool result; | |
5760 | void *argp1 = 0 ; | |
5761 | int res1 = 0 ; | |
5762 | int val2 ; | |
5763 | int ecode2 = 0 ; | |
5764 | PyObject * obj0 = 0 ; | |
5765 | PyObject * obj1 = 0 ; | |
5766 | char * kwnames[] = { | |
5767 | (char *) "self",(char *) "flag", NULL | |
5768 | }; | |
5769 | ||
5770 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; | |
5771 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5772 | if (!SWIG_IsOK(res1)) { | |
5773 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
5774 | } | |
5775 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5776 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5777 | if (!SWIG_IsOK(ecode2)) { | |
5778 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); | |
5779 | } | |
5780 | arg2 = static_cast< int >(val2); | |
5781 | { | |
5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5783 | result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2); | |
5784 | wxPyEndAllowThreads(__tstate); | |
5785 | if (PyErr_Occurred()) SWIG_fail; | |
5786 | } | |
5787 | { | |
5788 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5789 | } | |
5790 | return resultobj; | |
5791 | fail: | |
5792 | return NULL; | |
5793 | } | |
5794 | ||
5795 | ||
5796 | SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5797 | PyObject *resultobj = 0; | |
5798 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5799 | wxString *arg2 = (wxString *) 0 ; | |
5800 | void *argp1 = 0 ; | |
5801 | int res1 = 0 ; | |
5802 | bool temp2 = false ; | |
5803 | PyObject *swig_obj[2] ; | |
5804 | ||
5805 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail; | |
5806 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5807 | if (!SWIG_IsOK(res1)) { | |
5808 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5809 | } | |
5810 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5811 | { | |
5812 | arg2 = wxString_in_helper(swig_obj[1]); | |
5813 | if (arg2 == NULL) SWIG_fail; | |
5814 | temp2 = true; | |
5815 | } | |
5816 | if (arg1) (arg1)->name = *arg2; | |
5817 | ||
5818 | resultobj = SWIG_Py_Void(); | |
5819 | { | |
5820 | if (temp2) | |
5821 | delete arg2; | |
5822 | } | |
5823 | return resultobj; | |
5824 | fail: | |
5825 | { | |
5826 | if (temp2) | |
5827 | delete arg2; | |
5828 | } | |
5829 | return NULL; | |
5830 | } | |
5831 | ||
5832 | ||
5833 | SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5834 | PyObject *resultobj = 0; | |
5835 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5836 | wxString *result = 0 ; | |
5837 | void *argp1 = 0 ; | |
5838 | int res1 = 0 ; | |
5839 | PyObject *swig_obj[1] ; | |
5840 | ||
5841 | if (!args) SWIG_fail; | |
5842 | swig_obj[0] = args; | |
5843 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5844 | if (!SWIG_IsOK(res1)) { | |
5845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5846 | } | |
5847 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5848 | result = (wxString *)& ((arg1)->name); | |
5849 | { | |
5850 | #if wxUSE_UNICODE | |
5851 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5852 | #else | |
5853 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5854 | #endif | |
5855 | } | |
5856 | return resultobj; | |
5857 | fail: | |
5858 | return NULL; | |
5859 | } | |
5860 | ||
5861 | ||
5862 | SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5863 | PyObject *resultobj = 0; | |
5864 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5865 | wxString *arg2 = (wxString *) 0 ; | |
5866 | void *argp1 = 0 ; | |
5867 | int res1 = 0 ; | |
5868 | bool temp2 = false ; | |
5869 | PyObject *swig_obj[2] ; | |
5870 | ||
5871 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; | |
5872 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5873 | if (!SWIG_IsOK(res1)) { | |
5874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5875 | } | |
5876 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5877 | { | |
5878 | arg2 = wxString_in_helper(swig_obj[1]); | |
5879 | if (arg2 == NULL) SWIG_fail; | |
5880 | temp2 = true; | |
5881 | } | |
5882 | if (arg1) (arg1)->caption = *arg2; | |
5883 | ||
5884 | resultobj = SWIG_Py_Void(); | |
5885 | { | |
5886 | if (temp2) | |
5887 | delete arg2; | |
5888 | } | |
5889 | return resultobj; | |
5890 | fail: | |
5891 | { | |
5892 | if (temp2) | |
5893 | delete arg2; | |
5894 | } | |
5895 | return NULL; | |
5896 | } | |
5897 | ||
5898 | ||
5899 | SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5900 | PyObject *resultobj = 0; | |
5901 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5902 | wxString *result = 0 ; | |
5903 | void *argp1 = 0 ; | |
5904 | int res1 = 0 ; | |
5905 | PyObject *swig_obj[1] ; | |
5906 | ||
5907 | if (!args) SWIG_fail; | |
5908 | swig_obj[0] = args; | |
5909 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5910 | if (!SWIG_IsOK(res1)) { | |
5911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5912 | } | |
5913 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5914 | result = (wxString *)& ((arg1)->caption); | |
5915 | { | |
5916 | #if wxUSE_UNICODE | |
5917 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
5918 | #else | |
5919 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
5920 | #endif | |
5921 | } | |
5922 | return resultobj; | |
5923 | fail: | |
5924 | return NULL; | |
5925 | } | |
5926 | ||
5927 | ||
5928 | SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5929 | PyObject *resultobj = 0; | |
5930 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5931 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5932 | void *argp1 = 0 ; | |
5933 | int res1 = 0 ; | |
5934 | void *argp2 = 0 ; | |
5935 | int res2 = 0 ; | |
5936 | PyObject *swig_obj[2] ; | |
5937 | ||
5938 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail; | |
5939 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5940 | if (!SWIG_IsOK(res1)) { | |
5941 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5942 | } | |
5943 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5944 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
5945 | if (!SWIG_IsOK(res2)) { | |
5946 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5947 | } | |
5948 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5949 | if (arg1) (arg1)->window = arg2; | |
5950 | ||
5951 | resultobj = SWIG_Py_Void(); | |
5952 | return resultobj; | |
5953 | fail: | |
5954 | return NULL; | |
5955 | } | |
5956 | ||
5957 | ||
5958 | SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5959 | PyObject *resultobj = 0; | |
5960 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5961 | wxWindow *result = 0 ; | |
5962 | void *argp1 = 0 ; | |
5963 | int res1 = 0 ; | |
5964 | PyObject *swig_obj[1] ; | |
5965 | ||
5966 | if (!args) SWIG_fail; | |
5967 | swig_obj[0] = args; | |
5968 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5969 | if (!SWIG_IsOK(res1)) { | |
5970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5971 | } | |
5972 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5973 | result = (wxWindow *) ((arg1)->window); | |
5974 | { | |
5975 | resultobj = wxPyMake_wxObject(result, 0); | |
5976 | } | |
5977 | return resultobj; | |
5978 | fail: | |
5979 | return NULL; | |
5980 | } | |
5981 | ||
5982 | ||
5983 | SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5984 | PyObject *resultobj = 0; | |
5985 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
10044bf1 | 5986 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
5987 | void *argp1 = 0 ; |
5988 | int res1 = 0 ; | |
5989 | void *argp2 = 0 ; | |
5990 | int res2 = 0 ; | |
5991 | PyObject *swig_obj[2] ; | |
5992 | ||
5993 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; | |
5994 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5995 | if (!SWIG_IsOK(res1)) { | |
5996 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5997 | } | |
5998 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
10044bf1 | 5999 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6000 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 6001 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6002 | } |
10044bf1 | 6003 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6004 | if (arg1) (arg1)->frame = arg2; |
6005 | ||
6006 | resultobj = SWIG_Py_Void(); | |
6007 | return resultobj; | |
6008 | fail: | |
6009 | return NULL; | |
6010 | } | |
6011 | ||
6012 | ||
6013 | SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6014 | PyObject *resultobj = 0; | |
6015 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
10044bf1 | 6016 | wxFrame *result = 0 ; |
27e45892 RD |
6017 | void *argp1 = 0 ; |
6018 | int res1 = 0 ; | |
6019 | PyObject *swig_obj[1] ; | |
6020 | ||
6021 | if (!args) SWIG_fail; | |
6022 | swig_obj[0] = args; | |
6023 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6024 | if (!SWIG_IsOK(res1)) { | |
6025 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6026 | } | |
6027 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
10044bf1 | 6028 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6029 | { |
6030 | resultobj = wxPyMake_wxObject(result, 0); | |
6031 | } | |
6032 | return resultobj; | |
6033 | fail: | |
6034 | return NULL; | |
6035 | } | |
6036 | ||
6037 | ||
6038 | SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6039 | PyObject *resultobj = 0; | |
6040 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6041 | int arg2 ; | |
6042 | void *argp1 = 0 ; | |
6043 | int res1 = 0 ; | |
6044 | int val2 ; | |
6045 | int ecode2 = 0 ; | |
6046 | PyObject *swig_obj[2] ; | |
6047 | ||
6048 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail; | |
6049 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6050 | if (!SWIG_IsOK(res1)) { | |
6051 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6052 | } | |
6053 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6054 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6055 | if (!SWIG_IsOK(ecode2)) { | |
6056 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); | |
6057 | } | |
6058 | arg2 = static_cast< int >(val2); | |
6059 | if (arg1) (arg1)->state = arg2; | |
6060 | ||
6061 | resultobj = SWIG_Py_Void(); | |
6062 | return resultobj; | |
6063 | fail: | |
6064 | return NULL; | |
6065 | } | |
6066 | ||
6067 | ||
6068 | SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6069 | PyObject *resultobj = 0; | |
6070 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6071 | int result; | |
6072 | void *argp1 = 0 ; | |
6073 | int res1 = 0 ; | |
6074 | PyObject *swig_obj[1] ; | |
6075 | ||
6076 | if (!args) SWIG_fail; | |
6077 | swig_obj[0] = args; | |
6078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6079 | if (!SWIG_IsOK(res1)) { | |
6080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6081 | } | |
6082 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6083 | result = (int) ((arg1)->state); | |
6084 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6085 | return resultobj; | |
6086 | fail: | |
6087 | return NULL; | |
6088 | } | |
6089 | ||
6090 | ||
6091 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6092 | PyObject *resultobj = 0; | |
6093 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6094 | int arg2 ; | |
6095 | void *argp1 = 0 ; | |
6096 | int res1 = 0 ; | |
6097 | int val2 ; | |
6098 | int ecode2 = 0 ; | |
6099 | PyObject *swig_obj[2] ; | |
6100 | ||
6101 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; | |
6102 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6103 | if (!SWIG_IsOK(res1)) { | |
6104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6105 | } | |
6106 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6107 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6108 | if (!SWIG_IsOK(ecode2)) { | |
6109 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); | |
6110 | } | |
6111 | arg2 = static_cast< int >(val2); | |
6112 | if (arg1) (arg1)->dock_direction = arg2; | |
6113 | ||
6114 | resultobj = SWIG_Py_Void(); | |
6115 | return resultobj; | |
6116 | fail: | |
6117 | return NULL; | |
6118 | } | |
6119 | ||
6120 | ||
6121 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6122 | PyObject *resultobj = 0; | |
6123 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6124 | int result; | |
6125 | void *argp1 = 0 ; | |
6126 | int res1 = 0 ; | |
6127 | PyObject *swig_obj[1] ; | |
6128 | ||
6129 | if (!args) SWIG_fail; | |
6130 | swig_obj[0] = args; | |
6131 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6132 | if (!SWIG_IsOK(res1)) { | |
6133 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6134 | } | |
6135 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6136 | result = (int) ((arg1)->dock_direction); | |
6137 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6138 | return resultobj; | |
6139 | fail: | |
6140 | return NULL; | |
6141 | } | |
6142 | ||
6143 | ||
6144 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6145 | PyObject *resultobj = 0; | |
6146 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6147 | int arg2 ; | |
6148 | void *argp1 = 0 ; | |
6149 | int res1 = 0 ; | |
6150 | int val2 ; | |
6151 | int ecode2 = 0 ; | |
6152 | PyObject *swig_obj[2] ; | |
6153 | ||
6154 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; | |
6155 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6156 | if (!SWIG_IsOK(res1)) { | |
6157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6158 | } | |
6159 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6160 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6161 | if (!SWIG_IsOK(ecode2)) { | |
6162 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); | |
6163 | } | |
6164 | arg2 = static_cast< int >(val2); | |
6165 | if (arg1) (arg1)->dock_layer = arg2; | |
6166 | ||
6167 | resultobj = SWIG_Py_Void(); | |
6168 | return resultobj; | |
6169 | fail: | |
6170 | return NULL; | |
6171 | } | |
6172 | ||
6173 | ||
6174 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6175 | PyObject *resultobj = 0; | |
6176 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6177 | int result; | |
6178 | void *argp1 = 0 ; | |
6179 | int res1 = 0 ; | |
6180 | PyObject *swig_obj[1] ; | |
6181 | ||
6182 | if (!args) SWIG_fail; | |
6183 | swig_obj[0] = args; | |
6184 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6185 | if (!SWIG_IsOK(res1)) { | |
6186 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6187 | } | |
6188 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6189 | result = (int) ((arg1)->dock_layer); | |
6190 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6191 | return resultobj; | |
6192 | fail: | |
6193 | return NULL; | |
6194 | } | |
6195 | ||
6196 | ||
6197 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6198 | PyObject *resultobj = 0; | |
6199 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6200 | int arg2 ; | |
6201 | void *argp1 = 0 ; | |
6202 | int res1 = 0 ; | |
6203 | int val2 ; | |
6204 | int ecode2 = 0 ; | |
6205 | PyObject *swig_obj[2] ; | |
6206 | ||
6207 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; | |
6208 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6209 | if (!SWIG_IsOK(res1)) { | |
6210 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6211 | } | |
6212 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6213 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6214 | if (!SWIG_IsOK(ecode2)) { | |
6215 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); | |
6216 | } | |
6217 | arg2 = static_cast< int >(val2); | |
6218 | if (arg1) (arg1)->dock_row = arg2; | |
6219 | ||
6220 | resultobj = SWIG_Py_Void(); | |
6221 | return resultobj; | |
6222 | fail: | |
6223 | return NULL; | |
6224 | } | |
6225 | ||
6226 | ||
6227 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6228 | PyObject *resultobj = 0; | |
6229 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6230 | int result; | |
6231 | void *argp1 = 0 ; | |
6232 | int res1 = 0 ; | |
6233 | PyObject *swig_obj[1] ; | |
6234 | ||
6235 | if (!args) SWIG_fail; | |
6236 | swig_obj[0] = args; | |
6237 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6238 | if (!SWIG_IsOK(res1)) { | |
6239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6240 | } | |
6241 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6242 | result = (int) ((arg1)->dock_row); | |
6243 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6244 | return resultobj; | |
6245 | fail: | |
6246 | return NULL; | |
6247 | } | |
6248 | ||
6249 | ||
6250 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6251 | PyObject *resultobj = 0; | |
6252 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6253 | int arg2 ; | |
6254 | void *argp1 = 0 ; | |
6255 | int res1 = 0 ; | |
6256 | int val2 ; | |
6257 | int ecode2 = 0 ; | |
6258 | PyObject *swig_obj[2] ; | |
6259 | ||
6260 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; | |
6261 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6262 | if (!SWIG_IsOK(res1)) { | |
6263 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6264 | } | |
6265 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6266 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6267 | if (!SWIG_IsOK(ecode2)) { | |
6268 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); | |
6269 | } | |
6270 | arg2 = static_cast< int >(val2); | |
6271 | if (arg1) (arg1)->dock_pos = arg2; | |
6272 | ||
6273 | resultobj = SWIG_Py_Void(); | |
6274 | return resultobj; | |
6275 | fail: | |
6276 | return NULL; | |
6277 | } | |
6278 | ||
6279 | ||
6280 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6281 | PyObject *resultobj = 0; | |
6282 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6283 | int result; | |
6284 | void *argp1 = 0 ; | |
6285 | int res1 = 0 ; | |
6286 | PyObject *swig_obj[1] ; | |
6287 | ||
6288 | if (!args) SWIG_fail; | |
6289 | swig_obj[0] = args; | |
6290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6291 | if (!SWIG_IsOK(res1)) { | |
6292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6293 | } | |
6294 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6295 | result = (int) ((arg1)->dock_pos); | |
6296 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6297 | return resultobj; | |
6298 | fail: | |
6299 | return NULL; | |
6300 | } | |
6301 | ||
6302 | ||
6303 | SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6304 | PyObject *resultobj = 0; | |
6305 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6306 | wxSize *arg2 = (wxSize *) 0 ; | |
6307 | void *argp1 = 0 ; | |
6308 | int res1 = 0 ; | |
6309 | void *argp2 = 0 ; | |
6310 | int res2 = 0 ; | |
6311 | PyObject *swig_obj[2] ; | |
6312 | ||
6313 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; | |
6314 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6315 | if (!SWIG_IsOK(res1)) { | |
6316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6317 | } | |
6318 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6319 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6320 | if (!SWIG_IsOK(res2)) { | |
6321 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6322 | } | |
6323 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6324 | if (arg1) (arg1)->best_size = *arg2; | |
6325 | ||
6326 | resultobj = SWIG_Py_Void(); | |
6327 | return resultobj; | |
6328 | fail: | |
6329 | return NULL; | |
6330 | } | |
6331 | ||
6332 | ||
6333 | SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6334 | PyObject *resultobj = 0; | |
6335 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6336 | wxSize *result = 0 ; | |
6337 | void *argp1 = 0 ; | |
6338 | int res1 = 0 ; | |
6339 | PyObject *swig_obj[1] ; | |
6340 | ||
6341 | if (!args) SWIG_fail; | |
6342 | swig_obj[0] = args; | |
6343 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6344 | if (!SWIG_IsOK(res1)) { | |
6345 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6346 | } | |
6347 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6348 | result = (wxSize *)& ((arg1)->best_size); | |
6349 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6350 | return resultobj; | |
6351 | fail: | |
6352 | return NULL; | |
6353 | } | |
6354 | ||
6355 | ||
6356 | SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6357 | PyObject *resultobj = 0; | |
6358 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6359 | wxSize *arg2 = (wxSize *) 0 ; | |
6360 | void *argp1 = 0 ; | |
6361 | int res1 = 0 ; | |
6362 | void *argp2 = 0 ; | |
6363 | int res2 = 0 ; | |
6364 | PyObject *swig_obj[2] ; | |
6365 | ||
6366 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; | |
6367 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6368 | if (!SWIG_IsOK(res1)) { | |
6369 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6370 | } | |
6371 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6372 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6373 | if (!SWIG_IsOK(res2)) { | |
6374 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6375 | } | |
6376 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6377 | if (arg1) (arg1)->min_size = *arg2; | |
6378 | ||
6379 | resultobj = SWIG_Py_Void(); | |
6380 | return resultobj; | |
6381 | fail: | |
6382 | return NULL; | |
6383 | } | |
6384 | ||
6385 | ||
6386 | SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6387 | PyObject *resultobj = 0; | |
6388 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6389 | wxSize *result = 0 ; | |
6390 | void *argp1 = 0 ; | |
6391 | int res1 = 0 ; | |
6392 | PyObject *swig_obj[1] ; | |
6393 | ||
6394 | if (!args) SWIG_fail; | |
6395 | swig_obj[0] = args; | |
6396 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6397 | if (!SWIG_IsOK(res1)) { | |
6398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6399 | } | |
6400 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6401 | result = (wxSize *)& ((arg1)->min_size); | |
6402 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6403 | return resultobj; | |
6404 | fail: | |
6405 | return NULL; | |
6406 | } | |
6407 | ||
6408 | ||
6409 | SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6410 | PyObject *resultobj = 0; | |
6411 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6412 | wxSize *arg2 = (wxSize *) 0 ; | |
6413 | void *argp1 = 0 ; | |
6414 | int res1 = 0 ; | |
6415 | void *argp2 = 0 ; | |
6416 | int res2 = 0 ; | |
6417 | PyObject *swig_obj[2] ; | |
6418 | ||
6419 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; | |
6420 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6421 | if (!SWIG_IsOK(res1)) { | |
6422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6423 | } | |
6424 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6425 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6426 | if (!SWIG_IsOK(res2)) { | |
6427 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6428 | } | |
6429 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6430 | if (arg1) (arg1)->max_size = *arg2; | |
6431 | ||
6432 | resultobj = SWIG_Py_Void(); | |
6433 | return resultobj; | |
6434 | fail: | |
6435 | return NULL; | |
6436 | } | |
6437 | ||
6438 | ||
6439 | SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6440 | PyObject *resultobj = 0; | |
6441 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6442 | wxSize *result = 0 ; | |
6443 | void *argp1 = 0 ; | |
6444 | int res1 = 0 ; | |
6445 | PyObject *swig_obj[1] ; | |
6446 | ||
6447 | if (!args) SWIG_fail; | |
6448 | swig_obj[0] = args; | |
6449 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6450 | if (!SWIG_IsOK(res1)) { | |
6451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6452 | } | |
6453 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6454 | result = (wxSize *)& ((arg1)->max_size); | |
6455 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6456 | return resultobj; | |
6457 | fail: | |
6458 | return NULL; | |
6459 | } | |
6460 | ||
6461 | ||
6462 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6463 | PyObject *resultobj = 0; | |
6464 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6465 | wxPoint *arg2 = (wxPoint *) 0 ; | |
6466 | void *argp1 = 0 ; | |
6467 | int res1 = 0 ; | |
6468 | void *argp2 = 0 ; | |
6469 | int res2 = 0 ; | |
6470 | PyObject *swig_obj[2] ; | |
6471 | ||
6472 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; | |
6473 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6474 | if (!SWIG_IsOK(res1)) { | |
6475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6476 | } | |
6477 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6478 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6479 | if (!SWIG_IsOK(res2)) { | |
6480 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); | |
6481 | } | |
6482 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6483 | if (arg1) (arg1)->floating_pos = *arg2; | |
6484 | ||
6485 | resultobj = SWIG_Py_Void(); | |
6486 | return resultobj; | |
6487 | fail: | |
6488 | return NULL; | |
6489 | } | |
6490 | ||
6491 | ||
6492 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6493 | PyObject *resultobj = 0; | |
6494 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6495 | wxPoint *result = 0 ; | |
6496 | void *argp1 = 0 ; | |
6497 | int res1 = 0 ; | |
6498 | PyObject *swig_obj[1] ; | |
6499 | ||
6500 | if (!args) SWIG_fail; | |
6501 | swig_obj[0] = args; | |
6502 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6503 | if (!SWIG_IsOK(res1)) { | |
6504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6505 | } | |
6506 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6507 | result = (wxPoint *)& ((arg1)->floating_pos); | |
6508 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6509 | return resultobj; | |
6510 | fail: | |
6511 | return NULL; | |
6512 | } | |
6513 | ||
6514 | ||
6515 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6516 | PyObject *resultobj = 0; | |
6517 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6518 | wxSize *arg2 = (wxSize *) 0 ; | |
6519 | void *argp1 = 0 ; | |
6520 | int res1 = 0 ; | |
6521 | void *argp2 = 0 ; | |
6522 | int res2 = 0 ; | |
6523 | PyObject *swig_obj[2] ; | |
6524 | ||
6525 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; | |
6526 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6527 | if (!SWIG_IsOK(res1)) { | |
6528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6529 | } | |
6530 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6531 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6532 | if (!SWIG_IsOK(res2)) { | |
6533 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6534 | } | |
6535 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6536 | if (arg1) (arg1)->floating_size = *arg2; | |
6537 | ||
6538 | resultobj = SWIG_Py_Void(); | |
6539 | return resultobj; | |
6540 | fail: | |
6541 | return NULL; | |
6542 | } | |
6543 | ||
6544 | ||
6545 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6546 | PyObject *resultobj = 0; | |
6547 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6548 | wxSize *result = 0 ; | |
6549 | void *argp1 = 0 ; | |
6550 | int res1 = 0 ; | |
6551 | PyObject *swig_obj[1] ; | |
6552 | ||
6553 | if (!args) SWIG_fail; | |
6554 | swig_obj[0] = args; | |
6555 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6556 | if (!SWIG_IsOK(res1)) { | |
6557 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6558 | } | |
6559 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6560 | result = (wxSize *)& ((arg1)->floating_size); | |
6561 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6562 | return resultobj; | |
6563 | fail: | |
6564 | return NULL; | |
6565 | } | |
6566 | ||
6567 | ||
6568 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6569 | PyObject *resultobj = 0; | |
6570 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6571 | int arg2 ; | |
6572 | void *argp1 = 0 ; | |
6573 | int res1 = 0 ; | |
6574 | int val2 ; | |
6575 | int ecode2 = 0 ; | |
6576 | PyObject *swig_obj[2] ; | |
6577 | ||
6578 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; | |
6579 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6580 | if (!SWIG_IsOK(res1)) { | |
6581 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6582 | } | |
6583 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6584 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6585 | if (!SWIG_IsOK(ecode2)) { | |
6586 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); | |
6587 | } | |
6588 | arg2 = static_cast< int >(val2); | |
6589 | if (arg1) (arg1)->dock_proportion = arg2; | |
6590 | ||
6591 | resultobj = SWIG_Py_Void(); | |
6592 | return resultobj; | |
6593 | fail: | |
6594 | return NULL; | |
6595 | } | |
6596 | ||
6597 | ||
6598 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6599 | PyObject *resultobj = 0; | |
6600 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6601 | int result; | |
6602 | void *argp1 = 0 ; | |
6603 | int res1 = 0 ; | |
6604 | PyObject *swig_obj[1] ; | |
6605 | ||
6606 | if (!args) SWIG_fail; | |
6607 | swig_obj[0] = args; | |
6608 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6609 | if (!SWIG_IsOK(res1)) { | |
6610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6611 | } | |
6612 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6613 | result = (int) ((arg1)->dock_proportion); | |
6614 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6615 | return resultobj; | |
6616 | fail: | |
6617 | return NULL; | |
6618 | } | |
6619 | ||
6620 | ||
6621 | SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6622 | PyObject *resultobj = 0; | |
6623 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6624 | wxPaneButtonArray arg2 ; | |
6625 | void *argp1 = 0 ; | |
6626 | int res1 = 0 ; | |
6627 | void *argp2 ; | |
6628 | int res2 = 0 ; | |
6629 | PyObject *swig_obj[2] ; | |
6630 | ||
6631 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; | |
6632 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6633 | if (!SWIG_IsOK(res1)) { | |
6634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6635 | } | |
6636 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6637 | { | |
6638 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0); | |
6639 | if (!SWIG_IsOK(res2)) { | |
6640 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'"); | |
6641 | } | |
6642 | if (!argp2) { | |
6643 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'"); | |
6644 | } else { | |
6645 | wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2); | |
6646 | arg2 = *temp; | |
6647 | if (SWIG_IsNewObj(res2)) delete temp; | |
6648 | } | |
6649 | } | |
6650 | if (arg1) (arg1)->buttons = arg2; | |
6651 | ||
6652 | resultobj = SWIG_Py_Void(); | |
6653 | return resultobj; | |
6654 | fail: | |
6655 | return NULL; | |
6656 | } | |
6657 | ||
6658 | ||
6659 | SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6660 | PyObject *resultobj = 0; | |
6661 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6662 | wxPaneButtonArray result; | |
6663 | void *argp1 = 0 ; | |
6664 | int res1 = 0 ; | |
6665 | PyObject *swig_obj[1] ; | |
6666 | ||
6667 | if (!args) SWIG_fail; | |
6668 | swig_obj[0] = args; | |
6669 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6670 | if (!SWIG_IsOK(res1)) { | |
6671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6672 | } | |
6673 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6674 | result = ((arg1)->buttons); | |
6675 | resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 ); | |
6676 | return resultobj; | |
6677 | fail: | |
6678 | return NULL; | |
6679 | } | |
6680 | ||
6681 | ||
6682 | SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6683 | PyObject *resultobj = 0; | |
6684 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6685 | wxRect *arg2 = (wxRect *) 0 ; | |
6686 | void *argp1 = 0 ; | |
6687 | int res1 = 0 ; | |
6688 | void *argp2 = 0 ; | |
6689 | int res2 = 0 ; | |
6690 | PyObject *swig_obj[2] ; | |
6691 | ||
6692 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; | |
6693 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6694 | if (!SWIG_IsOK(res1)) { | |
6695 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6696 | } | |
6697 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6698 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
6699 | if (!SWIG_IsOK(res2)) { | |
6700 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
6701 | } | |
6702 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
6703 | if (arg1) (arg1)->rect = *arg2; | |
6704 | ||
6705 | resultobj = SWIG_Py_Void(); | |
6706 | return resultobj; | |
6707 | fail: | |
6708 | return NULL; | |
6709 | } | |
6710 | ||
6711 | ||
6712 | SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6713 | PyObject *resultobj = 0; | |
6714 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6715 | wxRect *result = 0 ; | |
6716 | void *argp1 = 0 ; | |
6717 | int res1 = 0 ; | |
6718 | PyObject *swig_obj[1] ; | |
6719 | ||
6720 | if (!args) SWIG_fail; | |
6721 | swig_obj[0] = args; | |
6722 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6723 | if (!SWIG_IsOK(res1)) { | |
6724 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6725 | } | |
6726 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6727 | result = (wxRect *)& ((arg1)->rect); | |
6728 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
6729 | return resultobj; | |
6730 | fail: | |
6731 | return NULL; | |
6732 | } | |
6733 | ||
6734 | ||
6735 | SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6736 | PyObject *obj; | |
6737 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6738 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj)); | |
6739 | return SWIG_Py_Void(); | |
6740 | } | |
6741 | ||
6742 | SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6743 | return SWIG_Python_InitShadowInstance(args); | |
6744 | } | |
6745 | ||
6746 | SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6747 | PyObject *resultobj = 0; | |
10044bf1 | 6748 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 RD |
6749 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
6750 | wxFrameManager *result = 0 ; | |
6751 | void *argp1 = 0 ; | |
6752 | int res1 = 0 ; | |
6753 | int val2 ; | |
6754 | int ecode2 = 0 ; | |
6755 | PyObject * obj0 = 0 ; | |
6756 | PyObject * obj1 = 0 ; | |
6757 | char * kwnames[] = { | |
10044bf1 | 6758 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
6759 | }; |
6760 | ||
6761 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
6762 | if (obj0) { | |
10044bf1 | 6763 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 6764 | if (!SWIG_IsOK(res1)) { |
10044bf1 | 6765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 6766 | } |
10044bf1 | 6767 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
6768 | } |
6769 | if (obj1) { | |
6770 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6771 | if (!SWIG_IsOK(ecode2)) { | |
6772 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'"); | |
6773 | } | |
6774 | arg2 = static_cast< int >(val2); | |
6775 | } | |
6776 | { | |
6777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6778 | result = (wxFrameManager *)new wxFrameManager(arg1,arg2); | |
6779 | wxPyEndAllowThreads(__tstate); | |
6780 | if (PyErr_Occurred()) SWIG_fail; | |
6781 | } | |
6782 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 ); | |
6783 | return resultobj; | |
6784 | fail: | |
6785 | return NULL; | |
6786 | } | |
6787 | ||
6788 | ||
6789 | SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6790 | PyObject *resultobj = 0; | |
6791 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6792 | void *argp1 = 0 ; | |
6793 | int res1 = 0 ; | |
6794 | PyObject *swig_obj[1] ; | |
6795 | ||
6796 | if (!args) SWIG_fail; | |
6797 | swig_obj[0] = args; | |
6798 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 ); | |
6799 | if (!SWIG_IsOK(res1)) { | |
6800 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6801 | } | |
6802 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6803 | { | |
6804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6805 | delete arg1; | |
6806 | ||
6807 | wxPyEndAllowThreads(__tstate); | |
6808 | if (PyErr_Occurred()) SWIG_fail; | |
6809 | } | |
6810 | resultobj = SWIG_Py_Void(); | |
6811 | return resultobj; | |
6812 | fail: | |
6813 | return NULL; | |
6814 | } | |
6815 | ||
6816 | ||
6817 | SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6818 | PyObject *resultobj = 0; | |
6819 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6820 | void *argp1 = 0 ; | |
6821 | int res1 = 0 ; | |
6822 | PyObject *swig_obj[1] ; | |
6823 | ||
6824 | if (!args) SWIG_fail; | |
6825 | swig_obj[0] = args; | |
6826 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6827 | if (!SWIG_IsOK(res1)) { | |
6828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6829 | } | |
6830 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6831 | { | |
6832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6833 | (arg1)->UnInit(); | |
6834 | wxPyEndAllowThreads(__tstate); | |
6835 | if (PyErr_Occurred()) SWIG_fail; | |
6836 | } | |
6837 | resultobj = SWIG_Py_Void(); | |
6838 | return resultobj; | |
6839 | fail: | |
6840 | return NULL; | |
6841 | } | |
6842 | ||
6843 | ||
6844 | SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6845 | PyObject *resultobj = 0; | |
6846 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6847 | int arg2 ; | |
6848 | void *argp1 = 0 ; | |
6849 | int res1 = 0 ; | |
6850 | int val2 ; | |
6851 | int ecode2 = 0 ; | |
6852 | PyObject * obj0 = 0 ; | |
6853 | PyObject * obj1 = 0 ; | |
6854 | char * kwnames[] = { | |
6855 | (char *) "self",(char *) "flags", NULL | |
6856 | }; | |
6857 | ||
6858 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
6859 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6860 | if (!SWIG_IsOK(res1)) { | |
6861 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6862 | } | |
6863 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6864 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6865 | if (!SWIG_IsOK(ecode2)) { | |
6866 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
6867 | } | |
6868 | arg2 = static_cast< int >(val2); | |
6869 | { | |
6870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6871 | (arg1)->SetFlags(arg2); | |
6872 | wxPyEndAllowThreads(__tstate); | |
6873 | if (PyErr_Occurred()) SWIG_fail; | |
6874 | } | |
6875 | resultobj = SWIG_Py_Void(); | |
6876 | return resultobj; | |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
6882 | SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6883 | PyObject *resultobj = 0; | |
6884 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6885 | int result; | |
6886 | void *argp1 = 0 ; | |
6887 | int res1 = 0 ; | |
6888 | PyObject *swig_obj[1] ; | |
6889 | ||
6890 | if (!args) SWIG_fail; | |
6891 | swig_obj[0] = args; | |
6892 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6893 | if (!SWIG_IsOK(res1)) { | |
6894 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); | |
6895 | } | |
6896 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6897 | { | |
6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6899 | result = (int)((wxFrameManager const *)arg1)->GetFlags(); | |
6900 | wxPyEndAllowThreads(__tstate); | |
6901 | if (PyErr_Occurred()) SWIG_fail; | |
6902 | } | |
6903 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6904 | return resultobj; | |
6905 | fail: | |
6906 | return NULL; | |
6907 | } | |
6908 | ||
6909 | ||
10044bf1 | 6910 | SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
6911 | PyObject *resultobj = 0; |
6912 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
1d5ee749 | 6913 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
6914 | void *argp1 = 0 ; |
6915 | int res1 = 0 ; | |
6916 | void *argp2 = 0 ; | |
6917 | int res2 = 0 ; | |
6918 | PyObject * obj0 = 0 ; | |
6919 | PyObject * obj1 = 0 ; | |
6920 | char * kwnames[] = { | |
10044bf1 | 6921 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
6922 | }; |
6923 | ||
10044bf1 | 6924 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 RD |
6925 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
6926 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 6927 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
27e45892 RD |
6928 | } |
6929 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
1d5ee749 | 6930 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 6931 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 6932 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 6933 | } |
1d5ee749 | 6934 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
6935 | { |
6936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 6937 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
6938 | wxPyEndAllowThreads(__tstate); |
6939 | if (PyErr_Occurred()) SWIG_fail; | |
6940 | } | |
6941 | resultobj = SWIG_Py_Void(); | |
6942 | return resultobj; | |
6943 | fail: | |
6944 | return NULL; | |
6945 | } | |
6946 | ||
6947 | ||
10044bf1 | 6948 | SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
6949 | PyObject *resultobj = 0; |
6950 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
1d5ee749 | 6951 | wxWindow *result = 0 ; |
27e45892 RD |
6952 | void *argp1 = 0 ; |
6953 | int res1 = 0 ; | |
6954 | PyObject *swig_obj[1] ; | |
6955 | ||
6956 | if (!args) SWIG_fail; | |
6957 | swig_obj[0] = args; | |
6958 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6959 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 6960 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); |
27e45892 RD |
6961 | } |
6962 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6963 | { | |
6964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 6965 | result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
6966 | wxPyEndAllowThreads(__tstate); |
6967 | if (PyErr_Occurred()) SWIG_fail; | |
6968 | } | |
6969 | { | |
6970 | resultobj = wxPyMake_wxObject(result, 0); | |
6971 | } | |
6972 | return resultobj; | |
6973 | fail: | |
6974 | return NULL; | |
6975 | } | |
6976 | ||
6977 | ||
6978 | SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6979 | PyObject *resultobj = 0; | |
6980 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6981 | wxDockArt *arg2 = (wxDockArt *) 0 ; | |
6982 | void *argp1 = 0 ; | |
6983 | int res1 = 0 ; | |
6984 | int res2 = 0 ; | |
6985 | PyObject * obj0 = 0 ; | |
6986 | PyObject * obj1 = 0 ; | |
6987 | char * kwnames[] = { | |
6988 | (char *) "self",(char *) "art_provider", NULL | |
6989 | }; | |
6990 | ||
6991 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
6992 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
6993 | if (!SWIG_IsOK(res1)) { | |
6994 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6995 | } | |
6996 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6997 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 ); | |
6998 | if (!SWIG_IsOK(res2)) { | |
6999 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'"); | |
7000 | } | |
7001 | { | |
7002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7003 | (arg1)->SetArtProvider(arg2); | |
7004 | wxPyEndAllowThreads(__tstate); | |
7005 | if (PyErr_Occurred()) SWIG_fail; | |
7006 | } | |
7007 | resultobj = SWIG_Py_Void(); | |
7008 | return resultobj; | |
7009 | fail: | |
7010 | return NULL; | |
7011 | } | |
7012 | ||
7013 | ||
7014 | SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7015 | PyObject *resultobj = 0; | |
7016 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7017 | wxDockArt *result = 0 ; | |
7018 | void *argp1 = 0 ; | |
7019 | int res1 = 0 ; | |
7020 | PyObject *swig_obj[1] ; | |
7021 | ||
7022 | if (!args) SWIG_fail; | |
7023 | swig_obj[0] = args; | |
7024 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7025 | if (!SWIG_IsOK(res1)) { | |
7026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); | |
7027 | } | |
7028 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7029 | { | |
7030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7031 | result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider(); | |
7032 | wxPyEndAllowThreads(__tstate); | |
7033 | if (PyErr_Occurred()) SWIG_fail; | |
7034 | } | |
7035 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
7036 | return resultobj; | |
7037 | fail: | |
7038 | return NULL; | |
7039 | } | |
7040 | ||
7041 | ||
7042 | SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7043 | PyObject *resultobj = 0; | |
7044 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7045 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7046 | wxPaneInfo *result = 0 ; | |
7047 | void *argp1 = 0 ; | |
7048 | int res1 = 0 ; | |
7049 | void *argp2 = 0 ; | |
7050 | int res2 = 0 ; | |
7051 | PyObject * obj0 = 0 ; | |
7052 | PyObject * obj1 = 0 ; | |
7053 | char * kwnames[] = { | |
7054 | (char *) "self",(char *) "window", NULL | |
7055 | }; | |
7056 | ||
7057 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; | |
7058 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7059 | if (!SWIG_IsOK(res1)) { | |
7060 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7061 | } | |
7062 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7063 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7064 | if (!SWIG_IsOK(res2)) { | |
7065 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7066 | } | |
7067 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7068 | { | |
7069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7070 | { | |
7071 | wxPaneInfo &_result_ref = (arg1)->GetPane(arg2); | |
7072 | result = (wxPaneInfo *) &_result_ref; | |
7073 | } | |
7074 | wxPyEndAllowThreads(__tstate); | |
7075 | if (PyErr_Occurred()) SWIG_fail; | |
7076 | } | |
7077 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7078 | return resultobj; | |
7079 | fail: | |
7080 | return NULL; | |
7081 | } | |
7082 | ||
7083 | ||
7084 | SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7085 | PyObject *resultobj = 0; | |
7086 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7087 | wxString *arg2 = 0 ; | |
7088 | wxPaneInfo *result = 0 ; | |
7089 | void *argp1 = 0 ; | |
7090 | int res1 = 0 ; | |
7091 | bool temp2 = false ; | |
7092 | PyObject * obj0 = 0 ; | |
7093 | PyObject * obj1 = 0 ; | |
7094 | char * kwnames[] = { | |
7095 | (char *) "self",(char *) "name", NULL | |
7096 | }; | |
7097 | ||
7098 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
7099 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7100 | if (!SWIG_IsOK(res1)) { | |
7101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7102 | } | |
7103 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7104 | { | |
7105 | arg2 = wxString_in_helper(obj1); | |
7106 | if (arg2 == NULL) SWIG_fail; | |
7107 | temp2 = true; | |
7108 | } | |
7109 | { | |
7110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7111 | { | |
7112 | wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); | |
7113 | result = (wxPaneInfo *) &_result_ref; | |
7114 | } | |
7115 | wxPyEndAllowThreads(__tstate); | |
7116 | if (PyErr_Occurred()) SWIG_fail; | |
7117 | } | |
7118 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7119 | { | |
7120 | if (temp2) | |
7121 | delete arg2; | |
7122 | } | |
7123 | return resultobj; | |
7124 | fail: | |
7125 | { | |
7126 | if (temp2) | |
7127 | delete arg2; | |
7128 | } | |
7129 | return NULL; | |
7130 | } | |
7131 | ||
7132 | ||
7133 | SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7134 | PyObject *resultobj = 0; | |
7135 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7136 | wxPaneInfoArray *result = 0 ; | |
7137 | void *argp1 = 0 ; | |
7138 | int res1 = 0 ; | |
7139 | PyObject *swig_obj[1] ; | |
7140 | ||
7141 | if (!args) SWIG_fail; | |
7142 | swig_obj[0] = args; | |
7143 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7144 | if (!SWIG_IsOK(res1)) { | |
7145 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7146 | } | |
7147 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7148 | { | |
7149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7150 | { | |
7151 | wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); | |
7152 | result = (wxPaneInfoArray *) &_result_ref; | |
7153 | } | |
7154 | wxPyEndAllowThreads(__tstate); | |
7155 | if (PyErr_Occurred()) SWIG_fail; | |
7156 | } | |
7157 | { | |
7158 | resultobj = PyList_New(0); | |
7159 | for (size_t i=0; i < result->GetCount(); i++) { | |
7160 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0); | |
7161 | PyList_Append(resultobj, pane_obj); | |
7162 | } | |
7163 | } | |
7164 | return resultobj; | |
7165 | fail: | |
7166 | return NULL; | |
7167 | } | |
7168 | ||
7169 | ||
7170 | SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7171 | PyObject *resultobj = 0; | |
7172 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7173 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7174 | wxPaneInfo *arg3 = 0 ; | |
7175 | bool result; | |
7176 | void *argp1 = 0 ; | |
7177 | int res1 = 0 ; | |
7178 | void *argp2 = 0 ; | |
7179 | int res2 = 0 ; | |
7180 | void *argp3 = 0 ; | |
7181 | int res3 = 0 ; | |
7182 | PyObject * obj0 = 0 ; | |
7183 | PyObject * obj1 = 0 ; | |
7184 | PyObject * obj2 = 0 ; | |
7185 | char * kwnames[] = { | |
7186 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7187 | }; | |
7188 | ||
7189 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7190 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7191 | if (!SWIG_IsOK(res1)) { | |
7192 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7193 | } | |
7194 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7195 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7196 | if (!SWIG_IsOK(res2)) { | |
7197 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7198 | } | |
7199 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7200 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7201 | if (!SWIG_IsOK(res3)) { | |
7202 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7203 | } | |
7204 | if (!argp3) { | |
7205 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7206 | } | |
7207 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7208 | { | |
7209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7210 | result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3); | |
7211 | wxPyEndAllowThreads(__tstate); | |
7212 | if (PyErr_Occurred()) SWIG_fail; | |
7213 | } | |
7214 | { | |
7215 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7216 | } | |
7217 | return resultobj; | |
7218 | fail: | |
7219 | return NULL; | |
7220 | } | |
7221 | ||
7222 | ||
10044bf1 RD |
7223 | SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7224 | PyObject *resultobj = 0; | |
7225 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7226 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7227 | wxPaneInfo *arg3 = 0 ; | |
7228 | wxPoint *arg4 = 0 ; | |
7229 | bool result; | |
7230 | void *argp1 = 0 ; | |
7231 | int res1 = 0 ; | |
7232 | void *argp2 = 0 ; | |
7233 | int res2 = 0 ; | |
7234 | void *argp3 = 0 ; | |
7235 | int res3 = 0 ; | |
7236 | wxPoint temp4 ; | |
7237 | PyObject * obj0 = 0 ; | |
7238 | PyObject * obj1 = 0 ; | |
7239 | PyObject * obj2 = 0 ; | |
7240 | PyObject * obj3 = 0 ; | |
7241 | char * kwnames[] = { | |
7242 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7243 | }; | |
7244 | ||
7245 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7246 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7247 | if (!SWIG_IsOK(res1)) { | |
7248 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7249 | } | |
7250 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7251 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7252 | if (!SWIG_IsOK(res2)) { | |
7253 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7254 | } | |
7255 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7256 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7257 | if (!SWIG_IsOK(res3)) { | |
7258 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7259 | } | |
7260 | if (!argp3) { | |
7261 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7262 | } | |
7263 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7264 | { | |
7265 | arg4 = &temp4; | |
7266 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7267 | } | |
7268 | { | |
7269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7270 | result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4); | |
7271 | wxPyEndAllowThreads(__tstate); | |
7272 | if (PyErr_Occurred()) SWIG_fail; | |
7273 | } | |
7274 | { | |
7275 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7276 | } | |
7277 | return resultobj; | |
7278 | fail: | |
7279 | return NULL; | |
7280 | } | |
7281 | ||
7282 | ||
27e45892 RD |
7283 | SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7284 | PyObject *resultobj = 0; | |
7285 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7286 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7287 | int arg3 = (int) wxLEFT ; | |
7288 | wxString const &arg4_defvalue = wxEmptyString ; | |
7289 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7290 | bool result; | |
7291 | void *argp1 = 0 ; | |
7292 | int res1 = 0 ; | |
7293 | void *argp2 = 0 ; | |
7294 | int res2 = 0 ; | |
7295 | int val3 ; | |
7296 | int ecode3 = 0 ; | |
7297 | bool temp4 = false ; | |
7298 | PyObject * obj0 = 0 ; | |
7299 | PyObject * obj1 = 0 ; | |
7300 | PyObject * obj2 = 0 ; | |
7301 | PyObject * obj3 = 0 ; | |
7302 | char * kwnames[] = { | |
7303 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7304 | }; | |
7305 | ||
7306 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7307 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7308 | if (!SWIG_IsOK(res1)) { | |
7309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7310 | } | |
7311 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7312 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7313 | if (!SWIG_IsOK(res2)) { | |
7314 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7315 | } | |
7316 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7317 | if (obj2) { | |
7318 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7319 | if (!SWIG_IsOK(ecode3)) { | |
7320 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); | |
7321 | } | |
7322 | arg3 = static_cast< int >(val3); | |
7323 | } | |
7324 | if (obj3) { | |
7325 | { | |
7326 | arg4 = wxString_in_helper(obj3); | |
7327 | if (arg4 == NULL) SWIG_fail; | |
7328 | temp4 = true; | |
7329 | } | |
7330 | } | |
7331 | { | |
7332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7333 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7334 | wxPyEndAllowThreads(__tstate); | |
7335 | if (PyErr_Occurred()) SWIG_fail; | |
7336 | } | |
7337 | { | |
7338 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7339 | } | |
7340 | { | |
7341 | if (temp4) | |
7342 | delete arg4; | |
7343 | } | |
7344 | return resultobj; | |
7345 | fail: | |
7346 | { | |
7347 | if (temp4) | |
7348 | delete arg4; | |
7349 | } | |
7350 | return NULL; | |
7351 | } | |
7352 | ||
7353 | ||
7354 | SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7355 | PyObject *resultobj = 0; | |
7356 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7357 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7358 | wxPaneInfo *arg3 = 0 ; | |
7359 | int arg4 = (int) wxAUI_INSERT_PANE ; | |
7360 | bool result; | |
7361 | void *argp1 = 0 ; | |
7362 | int res1 = 0 ; | |
7363 | void *argp2 = 0 ; | |
7364 | int res2 = 0 ; | |
7365 | void *argp3 = 0 ; | |
7366 | int res3 = 0 ; | |
7367 | int val4 ; | |
7368 | int ecode4 = 0 ; | |
7369 | PyObject * obj0 = 0 ; | |
7370 | PyObject * obj1 = 0 ; | |
7371 | PyObject * obj2 = 0 ; | |
7372 | PyObject * obj3 = 0 ; | |
7373 | char * kwnames[] = { | |
7374 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7375 | }; | |
7376 | ||
7377 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7378 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7379 | if (!SWIG_IsOK(res1)) { | |
7380 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7381 | } | |
7382 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7383 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7384 | if (!SWIG_IsOK(res2)) { | |
7385 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7386 | } | |
7387 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7388 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7389 | if (!SWIG_IsOK(res3)) { | |
7390 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7391 | } | |
7392 | if (!argp3) { | |
7393 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7394 | } | |
7395 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7396 | if (obj3) { | |
7397 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7398 | if (!SWIG_IsOK(ecode4)) { | |
7399 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); | |
7400 | } | |
7401 | arg4 = static_cast< int >(val4); | |
7402 | } | |
7403 | { | |
7404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7405 | result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4); | |
7406 | wxPyEndAllowThreads(__tstate); | |
7407 | if (PyErr_Occurred()) SWIG_fail; | |
7408 | } | |
7409 | { | |
7410 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7411 | } | |
7412 | return resultobj; | |
7413 | fail: | |
7414 | return NULL; | |
7415 | } | |
7416 | ||
7417 | ||
7418 | SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7419 | PyObject *resultobj = 0; | |
7420 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7421 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7422 | bool result; | |
7423 | void *argp1 = 0 ; | |
7424 | int res1 = 0 ; | |
7425 | void *argp2 = 0 ; | |
7426 | int res2 = 0 ; | |
7427 | PyObject * obj0 = 0 ; | |
7428 | PyObject * obj1 = 0 ; | |
7429 | char * kwnames[] = { | |
7430 | (char *) "self",(char *) "window", NULL | |
7431 | }; | |
7432 | ||
7433 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7434 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7435 | if (!SWIG_IsOK(res1)) { | |
7436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7437 | } | |
7438 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7439 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7440 | if (!SWIG_IsOK(res2)) { | |
7441 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7442 | } | |
7443 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7444 | { | |
7445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7446 | result = (bool)(arg1)->DetachPane(arg2); | |
7447 | wxPyEndAllowThreads(__tstate); | |
7448 | if (PyErr_Occurred()) SWIG_fail; | |
7449 | } | |
7450 | { | |
7451 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7452 | } | |
7453 | return resultobj; | |
7454 | fail: | |
7455 | return NULL; | |
7456 | } | |
7457 | ||
7458 | ||
9b940138 RD |
7459 | SWIGINTERN PyObject *_wrap_FrameManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7460 | PyObject *resultobj = 0; | |
7461 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7462 | wxPaneInfo *arg2 = 0 ; | |
7463 | void *argp1 = 0 ; | |
7464 | int res1 = 0 ; | |
7465 | void *argp2 = 0 ; | |
7466 | int res2 = 0 ; | |
7467 | PyObject * obj0 = 0 ; | |
7468 | PyObject * obj1 = 0 ; | |
7469 | char * kwnames[] = { | |
7470 | (char *) "self",(char *) "pane_info", NULL | |
7471 | }; | |
7472 | ||
7473 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7474 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7475 | if (!SWIG_IsOK(res1)) { | |
7476 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ClosePane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7477 | } | |
7478 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7479 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7480 | if (!SWIG_IsOK(res2)) { | |
7481 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_ClosePane" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7482 | } | |
7483 | if (!argp2) { | |
7484 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_ClosePane" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7485 | } | |
7486 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
7487 | { | |
7488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7489 | (arg1)->ClosePane(*arg2); | |
7490 | wxPyEndAllowThreads(__tstate); | |
7491 | if (PyErr_Occurred()) SWIG_fail; | |
7492 | } | |
7493 | resultobj = SWIG_Py_Void(); | |
7494 | return resultobj; | |
7495 | fail: | |
7496 | return NULL; | |
7497 | } | |
7498 | ||
7499 | ||
1eeb270e RD |
7500 | SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7501 | PyObject *resultobj = 0; | |
7502 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7503 | wxPaneInfo *arg2 = 0 ; | |
7504 | wxString result; | |
7505 | void *argp1 = 0 ; | |
7506 | int res1 = 0 ; | |
7507 | void *argp2 = 0 ; | |
7508 | int res2 = 0 ; | |
7509 | PyObject * obj0 = 0 ; | |
7510 | PyObject * obj1 = 0 ; | |
7511 | char * kwnames[] = { | |
7512 | (char *) "self",(char *) "pane", NULL | |
7513 | }; | |
7514 | ||
7515 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
7516 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7517 | if (!SWIG_IsOK(res1)) { | |
7518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7519 | } | |
7520 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7521 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7522 | if (!SWIG_IsOK(res2)) { | |
7523 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7524 | } | |
7525 | if (!argp2) { | |
7526 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7527 | } | |
7528 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
7529 | { | |
7530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7531 | result = (arg1)->SavePaneInfo(*arg2); | |
7532 | wxPyEndAllowThreads(__tstate); | |
7533 | if (PyErr_Occurred()) SWIG_fail; | |
7534 | } | |
7535 | { | |
7536 | #if wxUSE_UNICODE | |
7537 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7538 | #else | |
7539 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7540 | #endif | |
7541 | } | |
7542 | return resultobj; | |
7543 | fail: | |
7544 | return NULL; | |
7545 | } | |
7546 | ||
7547 | ||
7548 | SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7549 | PyObject *resultobj = 0; | |
7550 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7551 | wxString arg2 ; | |
7552 | wxPaneInfo *arg3 = 0 ; | |
7553 | void *argp1 = 0 ; | |
7554 | int res1 = 0 ; | |
7555 | void *argp3 = 0 ; | |
7556 | int res3 = 0 ; | |
7557 | PyObject * obj0 = 0 ; | |
7558 | PyObject * obj1 = 0 ; | |
7559 | PyObject * obj2 = 0 ; | |
7560 | char * kwnames[] = { | |
7561 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7562 | }; | |
7563 | ||
7564 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7565 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7566 | if (!SWIG_IsOK(res1)) { | |
7567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7568 | } | |
7569 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7570 | { | |
7571 | wxString* sptr = wxString_in_helper(obj1); | |
7572 | if (sptr == NULL) SWIG_fail; | |
7573 | arg2 = *sptr; | |
7574 | delete sptr; | |
7575 | } | |
7576 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7577 | if (!SWIG_IsOK(res3)) { | |
7578 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'"); | |
7579 | } | |
7580 | if (!argp3) { | |
7581 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'"); | |
7582 | } | |
7583 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7584 | { | |
7585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7586 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7587 | wxPyEndAllowThreads(__tstate); | |
7588 | if (PyErr_Occurred()) SWIG_fail; | |
7589 | } | |
7590 | resultobj = SWIG_Py_Void(); | |
7591 | return resultobj; | |
7592 | fail: | |
7593 | return NULL; | |
7594 | } | |
7595 | ||
7596 | ||
27e45892 RD |
7597 | SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7598 | PyObject *resultobj = 0; | |
7599 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7600 | wxString result; | |
7601 | void *argp1 = 0 ; | |
7602 | int res1 = 0 ; | |
7603 | PyObject *swig_obj[1] ; | |
7604 | ||
7605 | if (!args) SWIG_fail; | |
7606 | swig_obj[0] = args; | |
7607 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7608 | if (!SWIG_IsOK(res1)) { | |
7609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7610 | } | |
7611 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7612 | { | |
7613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7614 | result = (arg1)->SavePerspective(); | |
7615 | wxPyEndAllowThreads(__tstate); | |
7616 | if (PyErr_Occurred()) SWIG_fail; | |
7617 | } | |
7618 | { | |
7619 | #if wxUSE_UNICODE | |
7620 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7621 | #else | |
7622 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7623 | #endif | |
7624 | } | |
7625 | return resultobj; | |
7626 | fail: | |
7627 | return NULL; | |
7628 | } | |
7629 | ||
7630 | ||
7631 | SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7632 | PyObject *resultobj = 0; | |
7633 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7634 | wxString *arg2 = 0 ; | |
7635 | bool arg3 = (bool) true ; | |
7636 | bool result; | |
7637 | void *argp1 = 0 ; | |
7638 | int res1 = 0 ; | |
7639 | bool temp2 = false ; | |
7640 | bool val3 ; | |
7641 | int ecode3 = 0 ; | |
7642 | PyObject * obj0 = 0 ; | |
7643 | PyObject * obj1 = 0 ; | |
7644 | PyObject * obj2 = 0 ; | |
7645 | char * kwnames[] = { | |
7646 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7647 | }; | |
7648 | ||
7649 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7650 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7651 | if (!SWIG_IsOK(res1)) { | |
7652 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7653 | } | |
7654 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7655 | { | |
7656 | arg2 = wxString_in_helper(obj1); | |
7657 | if (arg2 == NULL) SWIG_fail; | |
7658 | temp2 = true; | |
7659 | } | |
7660 | if (obj2) { | |
7661 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
7662 | if (!SWIG_IsOK(ecode3)) { | |
7663 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); | |
7664 | } | |
7665 | arg3 = static_cast< bool >(val3); | |
7666 | } | |
7667 | { | |
7668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7669 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
7670 | wxPyEndAllowThreads(__tstate); | |
7671 | if (PyErr_Occurred()) SWIG_fail; | |
7672 | } | |
7673 | { | |
7674 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7675 | } | |
7676 | { | |
7677 | if (temp2) | |
7678 | delete arg2; | |
7679 | } | |
7680 | return resultobj; | |
7681 | fail: | |
7682 | { | |
7683 | if (temp2) | |
7684 | delete arg2; | |
7685 | } | |
7686 | return NULL; | |
7687 | } | |
7688 | ||
7689 | ||
7690 | SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7691 | PyObject *resultobj = 0; | |
7692 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7693 | void *argp1 = 0 ; | |
7694 | int res1 = 0 ; | |
7695 | PyObject *swig_obj[1] ; | |
7696 | ||
7697 | if (!args) SWIG_fail; | |
7698 | swig_obj[0] = args; | |
7699 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7700 | if (!SWIG_IsOK(res1)) { | |
7701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7702 | } | |
7703 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7704 | { | |
7705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7706 | (arg1)->Update(); | |
7707 | wxPyEndAllowThreads(__tstate); | |
7708 | if (PyErr_Occurred()) SWIG_fail; | |
7709 | } | |
7710 | resultobj = SWIG_Py_Void(); | |
7711 | return resultobj; | |
7712 | fail: | |
7713 | return NULL; | |
7714 | } | |
7715 | ||
7716 | ||
9b940138 RD |
7717 | SWIGINTERN PyObject *_wrap_FrameManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7718 | PyObject *resultobj = 0; | |
7719 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7720 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7721 | wxPaneInfo *arg3 = 0 ; | |
7722 | wxFloatingPane *result = 0 ; | |
7723 | void *argp1 = 0 ; | |
7724 | int res1 = 0 ; | |
7725 | void *argp2 = 0 ; | |
7726 | int res2 = 0 ; | |
7727 | void *argp3 = 0 ; | |
7728 | int res3 = 0 ; | |
7729 | PyObject * obj0 = 0 ; | |
7730 | PyObject * obj1 = 0 ; | |
7731 | PyObject * obj2 = 0 ; | |
7732 | char * kwnames[] = { | |
7733 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
7734 | }; | |
7735 | ||
7736 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7737 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7738 | if (!SWIG_IsOK(res1)) { | |
7739 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7740 | } | |
7741 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7742 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7743 | if (!SWIG_IsOK(res2)) { | |
7744 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7745 | } | |
7746 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7747 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7748 | if (!SWIG_IsOK(res3)) { | |
7749 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7750 | } | |
7751 | if (!argp3) { | |
7752 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7753 | } | |
7754 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7755 | { | |
7756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7757 | result = (wxFloatingPane *)(arg1)->CreateFloatingFrame(arg2,(wxPaneInfo const &)*arg3); | |
7758 | wxPyEndAllowThreads(__tstate); | |
7759 | if (PyErr_Occurred()) SWIG_fail; | |
7760 | } | |
7761 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, 0 | 0 ); | |
7762 | return resultobj; | |
7763 | fail: | |
7764 | return NULL; | |
7765 | } | |
7766 | ||
7767 | ||
10044bf1 RD |
7768 | SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7769 | PyObject *resultobj = 0; | |
7770 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7771 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7772 | wxPoint *arg3 = 0 ; | |
7773 | wxPoint *arg4 = 0 ; | |
7774 | void *argp1 = 0 ; | |
7775 | int res1 = 0 ; | |
7776 | void *argp2 = 0 ; | |
7777 | int res2 = 0 ; | |
7778 | wxPoint temp3 ; | |
7779 | wxPoint temp4 ; | |
7780 | PyObject * obj0 = 0 ; | |
7781 | PyObject * obj1 = 0 ; | |
7782 | PyObject * obj2 = 0 ; | |
7783 | PyObject * obj3 = 0 ; | |
7784 | char * kwnames[] = { | |
7785 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
7786 | }; | |
7787 | ||
7788 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7789 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7790 | if (!SWIG_IsOK(res1)) { | |
7791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7792 | } | |
7793 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7794 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7795 | if (!SWIG_IsOK(res2)) { | |
7796 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7797 | } | |
7798 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7799 | { | |
7800 | arg3 = &temp3; | |
7801 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7802 | } | |
7803 | { | |
7804 | arg4 = &temp4; | |
7805 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7806 | } | |
7807 | { | |
7808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7809 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
7810 | wxPyEndAllowThreads(__tstate); | |
7811 | if (PyErr_Occurred()) SWIG_fail; | |
7812 | } | |
7813 | resultobj = SWIG_Py_Void(); | |
7814 | return resultobj; | |
7815 | fail: | |
7816 | return NULL; | |
7817 | } | |
7818 | ||
7819 | ||
7820 | SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7821 | PyObject *resultobj = 0; | |
7822 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7823 | wxRect *arg2 = 0 ; | |
7824 | void *argp1 = 0 ; | |
7825 | int res1 = 0 ; | |
7826 | wxRect temp2 ; | |
7827 | PyObject * obj0 = 0 ; | |
7828 | PyObject * obj1 = 0 ; | |
7829 | char * kwnames[] = { | |
7830 | (char *) "self",(char *) "rect", NULL | |
7831 | }; | |
7832 | ||
7833 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; | |
7834 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7835 | if (!SWIG_IsOK(res1)) { | |
7836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7837 | } | |
7838 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7839 | { | |
7840 | arg2 = &temp2; | |
7841 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7842 | } | |
7843 | { | |
7844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7845 | (arg1)->ShowHint((wxRect const &)*arg2); | |
7846 | wxPyEndAllowThreads(__tstate); | |
7847 | if (PyErr_Occurred()) SWIG_fail; | |
7848 | } | |
7849 | resultobj = SWIG_Py_Void(); | |
7850 | return resultobj; | |
7851 | fail: | |
7852 | return NULL; | |
7853 | } | |
7854 | ||
7855 | ||
7856 | SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7857 | PyObject *resultobj = 0; | |
7858 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7859 | void *argp1 = 0 ; | |
7860 | int res1 = 0 ; | |
7861 | PyObject *swig_obj[1] ; | |
7862 | ||
7863 | if (!args) SWIG_fail; | |
7864 | swig_obj[0] = args; | |
7865 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7866 | if (!SWIG_IsOK(res1)) { | |
7867 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7868 | } | |
7869 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7870 | { | |
7871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7872 | (arg1)->HideHint(); | |
7873 | wxPyEndAllowThreads(__tstate); | |
7874 | if (PyErr_Occurred()) SWIG_fail; | |
7875 | } | |
7876 | resultobj = SWIG_Py_Void(); | |
7877 | return resultobj; | |
7878 | fail: | |
7879 | return NULL; | |
7880 | } | |
7881 | ||
7882 | ||
1d5ee749 RD |
7883 | SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7884 | PyObject *resultobj = 0; | |
7885 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7886 | wxFrameManagerEvent *arg2 = 0 ; | |
7887 | void *argp1 = 0 ; | |
7888 | int res1 = 0 ; | |
7889 | void *argp2 = 0 ; | |
7890 | int res2 = 0 ; | |
7891 | PyObject * obj0 = 0 ; | |
7892 | PyObject * obj1 = 0 ; | |
7893 | char * kwnames[] = { | |
7894 | (char *) "self",(char *) "evt", NULL | |
7895 | }; | |
7896 | ||
7897 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; | |
7898 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7899 | if (!SWIG_IsOK(res1)) { | |
7900 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7901 | } | |
7902 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7903 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 ); | |
7904 | if (!SWIG_IsOK(res2)) { | |
7905 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7906 | } | |
7907 | if (!argp2) { | |
7908 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7909 | } | |
7910 | arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2); | |
7911 | { | |
7912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7913 | (arg1)->OnRender(*arg2); | |
7914 | wxPyEndAllowThreads(__tstate); | |
7915 | if (PyErr_Occurred()) SWIG_fail; | |
7916 | } | |
7917 | resultobj = SWIG_Py_Void(); | |
7918 | return resultobj; | |
7919 | fail: | |
7920 | return NULL; | |
7921 | } | |
7922 | ||
7923 | ||
7924 | SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7925 | PyObject *resultobj = 0; | |
7926 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7927 | wxFrameManagerEvent *arg2 = 0 ; | |
7928 | void *argp1 = 0 ; | |
7929 | int res1 = 0 ; | |
7930 | void *argp2 = 0 ; | |
7931 | int res2 = 0 ; | |
7932 | PyObject * obj0 = 0 ; | |
7933 | PyObject * obj1 = 0 ; | |
7934 | char * kwnames[] = { | |
7935 | (char *) "self",(char *) "evt", NULL | |
7936 | }; | |
7937 | ||
7938 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
7939 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7940 | if (!SWIG_IsOK(res1)) { | |
7941 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7942 | } | |
7943 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7944 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 ); | |
7945 | if (!SWIG_IsOK(res2)) { | |
7946 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7947 | } | |
7948 | if (!argp2) { | |
7949 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
7950 | } | |
7951 | arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2); | |
7952 | { | |
7953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7954 | (arg1)->OnPaneButton(*arg2); | |
7955 | wxPyEndAllowThreads(__tstate); | |
7956 | if (PyErr_Occurred()) SWIG_fail; | |
7957 | } | |
7958 | resultobj = SWIG_Py_Void(); | |
7959 | return resultobj; | |
7960 | fail: | |
7961 | return NULL; | |
7962 | } | |
7963 | ||
7964 | ||
27e45892 RD |
7965 | SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7966 | PyObject *obj; | |
7967 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
7968 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj)); | |
7969 | return SWIG_Py_Void(); | |
7970 | } | |
7971 | ||
7972 | SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7973 | return SWIG_Python_InitShadowInstance(args); | |
7974 | } | |
7975 | ||
7976 | SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7977 | PyObject *resultobj = 0; | |
7978 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
7979 | wxFrameManagerEvent *result = 0 ; | |
7980 | int val1 ; | |
7981 | int ecode1 = 0 ; | |
7982 | PyObject * obj0 = 0 ; | |
7983 | char * kwnames[] = { | |
7984 | (char *) "type", NULL | |
7985 | }; | |
7986 | ||
7987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail; | |
7988 | if (obj0) { | |
7989 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
7990 | if (!SWIG_IsOK(ecode1)) { | |
7991 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
7992 | } | |
7993 | arg1 = static_cast< wxEventType >(val1); | |
7994 | } | |
7995 | { | |
7996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7997 | result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1); | |
7998 | wxPyEndAllowThreads(__tstate); | |
7999 | if (PyErr_Occurred()) SWIG_fail; | |
8000 | } | |
8001 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 ); | |
8002 | return resultobj; | |
8003 | fail: | |
8004 | return NULL; | |
8005 | } | |
8006 | ||
8007 | ||
8008 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8009 | PyObject *resultobj = 0; | |
8010 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8011 | wxEvent *result = 0 ; | |
8012 | void *argp1 = 0 ; | |
8013 | int res1 = 0 ; | |
8014 | PyObject *swig_obj[1] ; | |
8015 | ||
8016 | if (!args) SWIG_fail; | |
8017 | swig_obj[0] = args; | |
8018 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8019 | if (!SWIG_IsOK(res1)) { | |
8020 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8021 | } | |
8022 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8023 | { | |
8024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8025 | result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone(); | |
8026 | wxPyEndAllowThreads(__tstate); | |
8027 | if (PyErr_Occurred()) SWIG_fail; | |
8028 | } | |
8029 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8030 | return resultobj; | |
8031 | fail: | |
8032 | return NULL; | |
8033 | } | |
8034 | ||
8035 | ||
8036 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8037 | PyObject *resultobj = 0; | |
8038 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8039 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
8040 | void *argp1 = 0 ; | |
8041 | int res1 = 0 ; | |
8042 | void *argp2 = 0 ; | |
8043 | int res2 = 0 ; | |
8044 | PyObject * obj0 = 0 ; | |
8045 | PyObject * obj1 = 0 ; | |
8046 | char * kwnames[] = { | |
8047 | (char *) "self",(char *) "p", NULL | |
8048 | }; | |
8049 | ||
8050 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8051 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8052 | if (!SWIG_IsOK(res1)) { | |
8053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8054 | } | |
8055 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8056 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8057 | if (!SWIG_IsOK(res2)) { | |
8058 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
8059 | } | |
8060 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
8061 | { | |
8062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8063 | (arg1)->SetPane(arg2); | |
8064 | wxPyEndAllowThreads(__tstate); | |
8065 | if (PyErr_Occurred()) SWIG_fail; | |
8066 | } | |
8067 | resultobj = SWIG_Py_Void(); | |
8068 | return resultobj; | |
8069 | fail: | |
8070 | return NULL; | |
8071 | } | |
8072 | ||
8073 | ||
8074 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8075 | PyObject *resultobj = 0; | |
8076 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8077 | int arg2 ; | |
8078 | void *argp1 = 0 ; | |
8079 | int res1 = 0 ; | |
8080 | int val2 ; | |
8081 | int ecode2 = 0 ; | |
8082 | PyObject * obj0 = 0 ; | |
8083 | PyObject * obj1 = 0 ; | |
8084 | char * kwnames[] = { | |
8085 | (char *) "self",(char *) "b", NULL | |
8086 | }; | |
8087 | ||
8088 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
8089 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8090 | if (!SWIG_IsOK(res1)) { | |
8091 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8092 | } | |
8093 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8094 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8095 | if (!SWIG_IsOK(ecode2)) { | |
8096 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); | |
8097 | } | |
8098 | arg2 = static_cast< int >(val2); | |
8099 | { | |
8100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8101 | (arg1)->SetButton(arg2); | |
8102 | wxPyEndAllowThreads(__tstate); | |
8103 | if (PyErr_Occurred()) SWIG_fail; | |
8104 | } | |
8105 | resultobj = SWIG_Py_Void(); | |
8106 | return resultobj; | |
8107 | fail: | |
8108 | return NULL; | |
8109 | } | |
8110 | ||
8111 | ||
1d5ee749 RD |
8112 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8113 | PyObject *resultobj = 0; | |
8114 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8115 | wxDC *arg2 = (wxDC *) 0 ; | |
8116 | void *argp1 = 0 ; | |
8117 | int res1 = 0 ; | |
8118 | void *argp2 = 0 ; | |
8119 | int res2 = 0 ; | |
8120 | PyObject * obj0 = 0 ; | |
8121 | PyObject * obj1 = 0 ; | |
8122 | char * kwnames[] = { | |
8123 | (char *) "self",(char *) "pdc", NULL | |
8124 | }; | |
8125 | ||
8126 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
8127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8128 | if (!SWIG_IsOK(res1)) { | |
8129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8130 | } | |
8131 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8132 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
8133 | if (!SWIG_IsOK(res2)) { | |
8134 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
8135 | } | |
8136 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8137 | { | |
8138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8139 | (arg1)->SetDC(arg2); | |
8140 | wxPyEndAllowThreads(__tstate); | |
8141 | if (PyErr_Occurred()) SWIG_fail; | |
8142 | } | |
8143 | resultobj = SWIG_Py_Void(); | |
8144 | return resultobj; | |
8145 | fail: | |
8146 | return NULL; | |
8147 | } | |
8148 | ||
8149 | ||
27e45892 RD |
8150 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8151 | PyObject *resultobj = 0; | |
8152 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8153 | wxPaneInfo *result = 0 ; | |
8154 | void *argp1 = 0 ; | |
8155 | int res1 = 0 ; | |
8156 | PyObject *swig_obj[1] ; | |
8157 | ||
8158 | if (!args) SWIG_fail; | |
8159 | swig_obj[0] = args; | |
8160 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8161 | if (!SWIG_IsOK(res1)) { | |
8162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8163 | } | |
8164 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8165 | { | |
8166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8167 | result = (wxPaneInfo *)(arg1)->GetPane(); | |
8168 | wxPyEndAllowThreads(__tstate); | |
8169 | if (PyErr_Occurred()) SWIG_fail; | |
8170 | } | |
8171 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8172 | return resultobj; | |
8173 | fail: | |
8174 | return NULL; | |
8175 | } | |
8176 | ||
8177 | ||
8178 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8179 | PyObject *resultobj = 0; | |
8180 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8181 | int result; | |
8182 | void *argp1 = 0 ; | |
8183 | int res1 = 0 ; | |
8184 | PyObject *swig_obj[1] ; | |
8185 | ||
8186 | if (!args) SWIG_fail; | |
8187 | swig_obj[0] = args; | |
8188 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8189 | if (!SWIG_IsOK(res1)) { | |
8190 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8191 | } | |
8192 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8193 | { | |
8194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8195 | result = (int)(arg1)->GetButton(); | |
8196 | wxPyEndAllowThreads(__tstate); | |
8197 | if (PyErr_Occurred()) SWIG_fail; | |
8198 | } | |
8199 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8200 | return resultobj; | |
8201 | fail: | |
8202 | return NULL; | |
8203 | } | |
8204 | ||
8205 | ||
1d5ee749 RD |
8206 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8207 | PyObject *resultobj = 0; | |
8208 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8209 | wxDC *result = 0 ; | |
8210 | void *argp1 = 0 ; | |
8211 | int res1 = 0 ; | |
8212 | PyObject *swig_obj[1] ; | |
8213 | ||
8214 | if (!args) SWIG_fail; | |
8215 | swig_obj[0] = args; | |
8216 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8217 | if (!SWIG_IsOK(res1)) { | |
8218 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8219 | } | |
8220 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8221 | { | |
8222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8223 | result = (wxDC *)(arg1)->GetDC(); | |
8224 | wxPyEndAllowThreads(__tstate); | |
8225 | if (PyErr_Occurred()) SWIG_fail; | |
8226 | } | |
8227 | { | |
8228 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8229 | } | |
8230 | return resultobj; | |
8231 | fail: | |
8232 | return NULL; | |
8233 | } | |
8234 | ||
8235 | ||
27e45892 RD |
8236 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8237 | PyObject *resultobj = 0; | |
8238 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8239 | bool arg2 = (bool) true ; | |
8240 | void *argp1 = 0 ; | |
8241 | int res1 = 0 ; | |
8242 | bool val2 ; | |
8243 | int ecode2 = 0 ; | |
8244 | PyObject * obj0 = 0 ; | |
8245 | PyObject * obj1 = 0 ; | |
8246 | char * kwnames[] = { | |
8247 | (char *) "self",(char *) "veto", NULL | |
8248 | }; | |
8249 | ||
8250 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; | |
8251 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8252 | if (!SWIG_IsOK(res1)) { | |
8253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8254 | } | |
8255 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8256 | if (obj1) { | |
8257 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8258 | if (!SWIG_IsOK(ecode2)) { | |
8259 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); | |
8260 | } | |
8261 | arg2 = static_cast< bool >(val2); | |
8262 | } | |
8263 | { | |
8264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8265 | (arg1)->Veto(arg2); | |
8266 | wxPyEndAllowThreads(__tstate); | |
8267 | if (PyErr_Occurred()) SWIG_fail; | |
8268 | } | |
8269 | resultobj = SWIG_Py_Void(); | |
8270 | return resultobj; | |
8271 | fail: | |
8272 | return NULL; | |
8273 | } | |
8274 | ||
8275 | ||
8276 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8277 | PyObject *resultobj = 0; | |
8278 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8279 | bool result; | |
8280 | void *argp1 = 0 ; | |
8281 | int res1 = 0 ; | |
8282 | PyObject *swig_obj[1] ; | |
8283 | ||
8284 | if (!args) SWIG_fail; | |
8285 | swig_obj[0] = args; | |
8286 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8287 | if (!SWIG_IsOK(res1)) { | |
8288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8289 | } | |
8290 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8291 | { | |
8292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8293 | result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto(); | |
8294 | wxPyEndAllowThreads(__tstate); | |
8295 | if (PyErr_Occurred()) SWIG_fail; | |
8296 | } | |
8297 | { | |
8298 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8299 | } | |
8300 | return resultobj; | |
8301 | fail: | |
8302 | return NULL; | |
8303 | } | |
8304 | ||
8305 | ||
8306 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8307 | PyObject *resultobj = 0; | |
8308 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8309 | bool arg2 ; | |
8310 | void *argp1 = 0 ; | |
8311 | int res1 = 0 ; | |
8312 | bool val2 ; | |
8313 | int ecode2 = 0 ; | |
8314 | PyObject * obj0 = 0 ; | |
8315 | PyObject * obj1 = 0 ; | |
8316 | char * kwnames[] = { | |
8317 | (char *) "self",(char *) "can_veto", NULL | |
8318 | }; | |
8319 | ||
8320 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; | |
8321 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8322 | if (!SWIG_IsOK(res1)) { | |
8323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8324 | } | |
8325 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8326 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8327 | if (!SWIG_IsOK(ecode2)) { | |
8328 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); | |
8329 | } | |
8330 | arg2 = static_cast< bool >(val2); | |
8331 | { | |
8332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8333 | (arg1)->SetCanVeto(arg2); | |
8334 | wxPyEndAllowThreads(__tstate); | |
8335 | if (PyErr_Occurred()) SWIG_fail; | |
8336 | } | |
8337 | resultobj = SWIG_Py_Void(); | |
8338 | return resultobj; | |
8339 | fail: | |
8340 | return NULL; | |
8341 | } | |
8342 | ||
8343 | ||
8344 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8345 | PyObject *resultobj = 0; | |
8346 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8347 | bool result; | |
8348 | void *argp1 = 0 ; | |
8349 | int res1 = 0 ; | |
8350 | PyObject *swig_obj[1] ; | |
8351 | ||
8352 | if (!args) SWIG_fail; | |
8353 | swig_obj[0] = args; | |
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_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8357 | } | |
8358 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8359 | { | |
8360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8361 | result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto(); | |
8362 | wxPyEndAllowThreads(__tstate); | |
8363 | if (PyErr_Occurred()) SWIG_fail; | |
8364 | } | |
8365 | { | |
8366 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8367 | } | |
8368 | return resultobj; | |
8369 | fail: | |
8370 | return NULL; | |
8371 | } | |
8372 | ||
8373 | ||
8374 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8375 | PyObject *resultobj = 0; | |
8376 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8377 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
8378 | void *argp1 = 0 ; | |
8379 | int res1 = 0 ; | |
8380 | void *argp2 = 0 ; | |
8381 | int res2 = 0 ; | |
8382 | PyObject *swig_obj[2] ; | |
8383 | ||
8384 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; | |
8385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8386 | if (!SWIG_IsOK(res1)) { | |
8387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8388 | } | |
8389 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8390 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
8391 | if (!SWIG_IsOK(res2)) { | |
8392 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
8393 | } | |
8394 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
8395 | if (arg1) (arg1)->pane = arg2; | |
8396 | ||
8397 | resultobj = SWIG_Py_Void(); | |
8398 | return resultobj; | |
8399 | fail: | |
8400 | return NULL; | |
8401 | } | |
8402 | ||
8403 | ||
8404 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8405 | PyObject *resultobj = 0; | |
8406 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8407 | wxPaneInfo *result = 0 ; | |
8408 | void *argp1 = 0 ; | |
8409 | int res1 = 0 ; | |
8410 | PyObject *swig_obj[1] ; | |
8411 | ||
8412 | if (!args) SWIG_fail; | |
8413 | swig_obj[0] = args; | |
8414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8415 | if (!SWIG_IsOK(res1)) { | |
8416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8417 | } | |
8418 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8419 | result = (wxPaneInfo *) ((arg1)->pane); | |
8420 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8421 | return resultobj; | |
8422 | fail: | |
8423 | return NULL; | |
8424 | } | |
8425 | ||
8426 | ||
8427 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8428 | PyObject *resultobj = 0; | |
8429 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8430 | int arg2 ; | |
8431 | void *argp1 = 0 ; | |
8432 | int res1 = 0 ; | |
8433 | int val2 ; | |
8434 | int ecode2 = 0 ; | |
8435 | PyObject *swig_obj[2] ; | |
8436 | ||
8437 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; | |
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_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8441 | } | |
8442 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8443 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8444 | if (!SWIG_IsOK(ecode2)) { | |
8445 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); | |
8446 | } | |
8447 | arg2 = static_cast< int >(val2); | |
8448 | if (arg1) (arg1)->button = arg2; | |
8449 | ||
8450 | resultobj = SWIG_Py_Void(); | |
8451 | return resultobj; | |
8452 | fail: | |
8453 | return NULL; | |
8454 | } | |
8455 | ||
8456 | ||
8457 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8458 | PyObject *resultobj = 0; | |
8459 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8460 | int result; | |
8461 | void *argp1 = 0 ; | |
8462 | int res1 = 0 ; | |
8463 | PyObject *swig_obj[1] ; | |
8464 | ||
8465 | if (!args) SWIG_fail; | |
8466 | swig_obj[0] = args; | |
8467 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8468 | if (!SWIG_IsOK(res1)) { | |
8469 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8470 | } | |
8471 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8472 | result = (int) ((arg1)->button); | |
8473 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8474 | return resultobj; | |
8475 | fail: | |
8476 | return NULL; | |
8477 | } | |
8478 | ||
8479 | ||
8480 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8481 | PyObject *resultobj = 0; | |
8482 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8483 | bool arg2 ; | |
8484 | void *argp1 = 0 ; | |
8485 | int res1 = 0 ; | |
8486 | bool val2 ; | |
8487 | int ecode2 = 0 ; | |
8488 | PyObject *swig_obj[2] ; | |
8489 | ||
8490 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; | |
8491 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8492 | if (!SWIG_IsOK(res1)) { | |
8493 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8494 | } | |
8495 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8496 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
8497 | if (!SWIG_IsOK(ecode2)) { | |
8498 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); | |
8499 | } | |
8500 | arg2 = static_cast< bool >(val2); | |
8501 | if (arg1) (arg1)->veto_flag = arg2; | |
8502 | ||
8503 | resultobj = SWIG_Py_Void(); | |
8504 | return resultobj; | |
8505 | fail: | |
8506 | return NULL; | |
8507 | } | |
8508 | ||
8509 | ||
8510 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8511 | PyObject *resultobj = 0; | |
8512 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8513 | bool result; | |
8514 | void *argp1 = 0 ; | |
8515 | int res1 = 0 ; | |
8516 | PyObject *swig_obj[1] ; | |
8517 | ||
8518 | if (!args) SWIG_fail; | |
8519 | swig_obj[0] = args; | |
8520 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8521 | if (!SWIG_IsOK(res1)) { | |
8522 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8523 | } | |
8524 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8525 | result = (bool) ((arg1)->veto_flag); | |
8526 | { | |
8527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8528 | } | |
8529 | return resultobj; | |
8530 | fail: | |
8531 | return NULL; | |
8532 | } | |
8533 | ||
8534 | ||
8535 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8536 | PyObject *resultobj = 0; | |
8537 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8538 | bool arg2 ; | |
8539 | void *argp1 = 0 ; | |
8540 | int res1 = 0 ; | |
8541 | bool val2 ; | |
8542 | int ecode2 = 0 ; | |
8543 | PyObject *swig_obj[2] ; | |
8544 | ||
8545 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; | |
8546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8547 | if (!SWIG_IsOK(res1)) { | |
8548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8549 | } | |
8550 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8551 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
8552 | if (!SWIG_IsOK(ecode2)) { | |
8553 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); | |
8554 | } | |
8555 | arg2 = static_cast< bool >(val2); | |
8556 | if (arg1) (arg1)->canveto_flag = arg2; | |
8557 | ||
8558 | resultobj = SWIG_Py_Void(); | |
8559 | return resultobj; | |
8560 | fail: | |
8561 | return NULL; | |
8562 | } | |
8563 | ||
8564 | ||
8565 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8566 | PyObject *resultobj = 0; | |
8567 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8568 | bool result; | |
8569 | void *argp1 = 0 ; | |
8570 | int res1 = 0 ; | |
8571 | PyObject *swig_obj[1] ; | |
8572 | ||
8573 | if (!args) SWIG_fail; | |
8574 | swig_obj[0] = args; | |
8575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8576 | if (!SWIG_IsOK(res1)) { | |
8577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8578 | } | |
8579 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8580 | result = (bool) ((arg1)->canveto_flag); | |
8581 | { | |
8582 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8583 | } | |
8584 | return resultobj; | |
8585 | fail: | |
8586 | return NULL; | |
8587 | } | |
8588 | ||
8589 | ||
1d5ee749 RD |
8590 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8591 | PyObject *resultobj = 0; | |
8592 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8593 | wxDC *arg2 = (wxDC *) 0 ; | |
8594 | void *argp1 = 0 ; | |
8595 | int res1 = 0 ; | |
8596 | void *argp2 = 0 ; | |
8597 | int res2 = 0 ; | |
8598 | PyObject *swig_obj[2] ; | |
8599 | ||
8600 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; | |
8601 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8602 | if (!SWIG_IsOK(res1)) { | |
8603 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8604 | } | |
8605 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8606 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); | |
8607 | if (!SWIG_IsOK(res2)) { | |
8608 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); | |
8609 | } | |
8610 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8611 | if (arg1) (arg1)->dc = arg2; | |
8612 | ||
8613 | resultobj = SWIG_Py_Void(); | |
8614 | return resultobj; | |
8615 | fail: | |
8616 | return NULL; | |
8617 | } | |
8618 | ||
8619 | ||
8620 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8621 | PyObject *resultobj = 0; | |
8622 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8623 | wxDC *result = 0 ; | |
8624 | void *argp1 = 0 ; | |
8625 | int res1 = 0 ; | |
8626 | PyObject *swig_obj[1] ; | |
8627 | ||
8628 | if (!args) SWIG_fail; | |
8629 | swig_obj[0] = args; | |
8630 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8631 | if (!SWIG_IsOK(res1)) { | |
8632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8633 | } | |
8634 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8635 | result = (wxDC *) ((arg1)->dc); | |
8636 | { | |
8637 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8638 | } | |
8639 | return resultobj; | |
8640 | fail: | |
8641 | return NULL; | |
8642 | } | |
8643 | ||
8644 | ||
27e45892 RD |
8645 | SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8646 | PyObject *obj; | |
8647 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8648 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj)); | |
8649 | return SWIG_Py_Void(); | |
8650 | } | |
8651 | ||
8652 | SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8653 | return SWIG_Python_InitShadowInstance(args); | |
8654 | } | |
8655 | ||
8656 | SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8657 | PyObject *resultobj = 0; | |
8658 | wxDockInfo *result = 0 ; | |
8659 | ||
8660 | if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail; | |
8661 | { | |
8662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8663 | result = (wxDockInfo *)new wxDockInfo(); | |
8664 | wxPyEndAllowThreads(__tstate); | |
8665 | if (PyErr_Occurred()) SWIG_fail; | |
8666 | } | |
8667 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 ); | |
8668 | return resultobj; | |
8669 | fail: | |
8670 | return NULL; | |
8671 | } | |
8672 | ||
8673 | ||
8674 | SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8675 | PyObject *resultobj = 0; | |
8676 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8677 | bool result; | |
8678 | void *argp1 = 0 ; | |
8679 | int res1 = 0 ; | |
8680 | PyObject *swig_obj[1] ; | |
8681 | ||
8682 | if (!args) SWIG_fail; | |
8683 | swig_obj[0] = args; | |
8684 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8685 | if (!SWIG_IsOK(res1)) { | |
8686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8687 | } | |
8688 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8689 | { | |
8690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8691 | result = (bool)((wxDockInfo const *)arg1)->IsOk(); | |
8692 | wxPyEndAllowThreads(__tstate); | |
8693 | if (PyErr_Occurred()) SWIG_fail; | |
8694 | } | |
8695 | { | |
8696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8697 | } | |
8698 | return resultobj; | |
8699 | fail: | |
8700 | return NULL; | |
8701 | } | |
8702 | ||
8703 | ||
8704 | SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8705 | PyObject *resultobj = 0; | |
8706 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8707 | bool result; | |
8708 | void *argp1 = 0 ; | |
8709 | int res1 = 0 ; | |
8710 | PyObject *swig_obj[1] ; | |
8711 | ||
8712 | if (!args) SWIG_fail; | |
8713 | swig_obj[0] = args; | |
8714 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8715 | if (!SWIG_IsOK(res1)) { | |
8716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8717 | } | |
8718 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8719 | { | |
8720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8721 | result = (bool)((wxDockInfo const *)arg1)->IsHorizontal(); | |
8722 | wxPyEndAllowThreads(__tstate); | |
8723 | if (PyErr_Occurred()) SWIG_fail; | |
8724 | } | |
8725 | { | |
8726 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8727 | } | |
8728 | return resultobj; | |
8729 | fail: | |
8730 | return NULL; | |
8731 | } | |
8732 | ||
8733 | ||
8734 | SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8735 | PyObject *resultobj = 0; | |
8736 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8737 | bool result; | |
8738 | void *argp1 = 0 ; | |
8739 | int res1 = 0 ; | |
8740 | PyObject *swig_obj[1] ; | |
8741 | ||
8742 | if (!args) SWIG_fail; | |
8743 | swig_obj[0] = args; | |
8744 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8745 | if (!SWIG_IsOK(res1)) { | |
8746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8747 | } | |
8748 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8749 | { | |
8750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8751 | result = (bool)((wxDockInfo const *)arg1)->IsVertical(); | |
8752 | wxPyEndAllowThreads(__tstate); | |
8753 | if (PyErr_Occurred()) SWIG_fail; | |
8754 | } | |
8755 | { | |
8756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8757 | } | |
8758 | return resultobj; | |
8759 | fail: | |
8760 | return NULL; | |
8761 | } | |
8762 | ||
8763 | ||
8764 | SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8765 | PyObject *resultobj = 0; | |
8766 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8767 | wxPaneInfoPtrArray arg2 ; | |
8768 | void *argp1 = 0 ; | |
8769 | int res1 = 0 ; | |
8770 | void *argp2 ; | |
8771 | int res2 = 0 ; | |
8772 | PyObject *swig_obj[2] ; | |
8773 | ||
8774 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail; | |
8775 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8776 | if (!SWIG_IsOK(res1)) { | |
8777 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8778 | } | |
8779 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8780 | { | |
8781 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0); | |
8782 | if (!SWIG_IsOK(res2)) { | |
8783 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'"); | |
8784 | } | |
8785 | if (!argp2) { | |
8786 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'"); | |
8787 | } else { | |
8788 | wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2); | |
8789 | arg2 = *temp; | |
8790 | if (SWIG_IsNewObj(res2)) delete temp; | |
8791 | } | |
8792 | } | |
8793 | if (arg1) (arg1)->panes = arg2; | |
8794 | ||
8795 | resultobj = SWIG_Py_Void(); | |
8796 | return resultobj; | |
8797 | fail: | |
8798 | return NULL; | |
8799 | } | |
8800 | ||
8801 | ||
8802 | SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8803 | PyObject *resultobj = 0; | |
8804 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8805 | wxPaneInfoPtrArray result; | |
8806 | void *argp1 = 0 ; | |
8807 | int res1 = 0 ; | |
8808 | PyObject *swig_obj[1] ; | |
8809 | ||
8810 | if (!args) SWIG_fail; | |
8811 | swig_obj[0] = args; | |
8812 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8813 | if (!SWIG_IsOK(res1)) { | |
8814 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8815 | } | |
8816 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8817 | result = ((arg1)->panes); | |
8818 | resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); | |
8819 | return resultobj; | |
8820 | fail: | |
8821 | return NULL; | |
8822 | } | |
8823 | ||
8824 | ||
8825 | SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8826 | PyObject *resultobj = 0; | |
8827 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8828 | wxRect *arg2 = (wxRect *) 0 ; | |
8829 | void *argp1 = 0 ; | |
8830 | int res1 = 0 ; | |
8831 | void *argp2 = 0 ; | |
8832 | int res2 = 0 ; | |
8833 | PyObject *swig_obj[2] ; | |
8834 | ||
8835 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail; | |
8836 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8837 | if (!SWIG_IsOK(res1)) { | |
8838 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8839 | } | |
8840 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8841 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
8842 | if (!SWIG_IsOK(res2)) { | |
8843 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
8844 | } | |
8845 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
8846 | if (arg1) (arg1)->rect = *arg2; | |
8847 | ||
8848 | resultobj = SWIG_Py_Void(); | |
8849 | return resultobj; | |
8850 | fail: | |
8851 | return NULL; | |
8852 | } | |
8853 | ||
8854 | ||
8855 | SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8856 | PyObject *resultobj = 0; | |
8857 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8858 | wxRect *result = 0 ; | |
8859 | void *argp1 = 0 ; | |
8860 | int res1 = 0 ; | |
8861 | PyObject *swig_obj[1] ; | |
8862 | ||
8863 | if (!args) SWIG_fail; | |
8864 | swig_obj[0] = args; | |
8865 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8866 | if (!SWIG_IsOK(res1)) { | |
8867 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8868 | } | |
8869 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8870 | result = (wxRect *)& ((arg1)->rect); | |
8871 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
8872 | return resultobj; | |
8873 | fail: | |
8874 | return NULL; | |
8875 | } | |
8876 | ||
8877 | ||
8878 | SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8879 | PyObject *resultobj = 0; | |
8880 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8881 | int arg2 ; | |
8882 | void *argp1 = 0 ; | |
8883 | int res1 = 0 ; | |
8884 | int val2 ; | |
8885 | int ecode2 = 0 ; | |
8886 | PyObject *swig_obj[2] ; | |
8887 | ||
8888 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; | |
8889 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8890 | if (!SWIG_IsOK(res1)) { | |
8891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8892 | } | |
8893 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8894 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8895 | if (!SWIG_IsOK(ecode2)) { | |
8896 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); | |
8897 | } | |
8898 | arg2 = static_cast< int >(val2); | |
8899 | if (arg1) (arg1)->dock_direction = arg2; | |
8900 | ||
8901 | resultobj = SWIG_Py_Void(); | |
8902 | return resultobj; | |
8903 | fail: | |
8904 | return NULL; | |
8905 | } | |
8906 | ||
8907 | ||
8908 | SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8909 | PyObject *resultobj = 0; | |
8910 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8911 | int result; | |
8912 | void *argp1 = 0 ; | |
8913 | int res1 = 0 ; | |
8914 | PyObject *swig_obj[1] ; | |
8915 | ||
8916 | if (!args) SWIG_fail; | |
8917 | swig_obj[0] = args; | |
8918 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8919 | if (!SWIG_IsOK(res1)) { | |
8920 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8921 | } | |
8922 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8923 | result = (int) ((arg1)->dock_direction); | |
8924 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8925 | return resultobj; | |
8926 | fail: | |
8927 | return NULL; | |
8928 | } | |
8929 | ||
8930 | ||
8931 | SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8932 | PyObject *resultobj = 0; | |
8933 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8934 | int arg2 ; | |
8935 | void *argp1 = 0 ; | |
8936 | int res1 = 0 ; | |
8937 | int val2 ; | |
8938 | int ecode2 = 0 ; | |
8939 | PyObject *swig_obj[2] ; | |
8940 | ||
8941 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; | |
8942 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8943 | if (!SWIG_IsOK(res1)) { | |
8944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8945 | } | |
8946 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8947 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8948 | if (!SWIG_IsOK(ecode2)) { | |
8949 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); | |
8950 | } | |
8951 | arg2 = static_cast< int >(val2); | |
8952 | if (arg1) (arg1)->dock_layer = arg2; | |
8953 | ||
8954 | resultobj = SWIG_Py_Void(); | |
8955 | return resultobj; | |
8956 | fail: | |
8957 | return NULL; | |
8958 | } | |
8959 | ||
8960 | ||
8961 | SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8962 | PyObject *resultobj = 0; | |
8963 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8964 | int result; | |
8965 | void *argp1 = 0 ; | |
8966 | int res1 = 0 ; | |
8967 | PyObject *swig_obj[1] ; | |
8968 | ||
8969 | if (!args) SWIG_fail; | |
8970 | swig_obj[0] = args; | |
8971 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8972 | if (!SWIG_IsOK(res1)) { | |
8973 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8974 | } | |
8975 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8976 | result = (int) ((arg1)->dock_layer); | |
8977 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8978 | return resultobj; | |
8979 | fail: | |
8980 | return NULL; | |
8981 | } | |
8982 | ||
8983 | ||
8984 | SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8985 | PyObject *resultobj = 0; | |
8986 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8987 | int arg2 ; | |
8988 | void *argp1 = 0 ; | |
8989 | int res1 = 0 ; | |
8990 | int val2 ; | |
8991 | int ecode2 = 0 ; | |
8992 | PyObject *swig_obj[2] ; | |
8993 | ||
8994 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; | |
8995 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8996 | if (!SWIG_IsOK(res1)) { | |
8997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8998 | } | |
8999 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9000 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9001 | if (!SWIG_IsOK(ecode2)) { | |
9002 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); | |
9003 | } | |
9004 | arg2 = static_cast< int >(val2); | |
9005 | if (arg1) (arg1)->dock_row = arg2; | |
9006 | ||
9007 | resultobj = SWIG_Py_Void(); | |
9008 | return resultobj; | |
9009 | fail: | |
9010 | return NULL; | |
9011 | } | |
9012 | ||
9013 | ||
9014 | SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9015 | PyObject *resultobj = 0; | |
9016 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9017 | int result; | |
9018 | void *argp1 = 0 ; | |
9019 | int res1 = 0 ; | |
9020 | PyObject *swig_obj[1] ; | |
9021 | ||
9022 | if (!args) SWIG_fail; | |
9023 | swig_obj[0] = args; | |
9024 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9025 | if (!SWIG_IsOK(res1)) { | |
9026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9027 | } | |
9028 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9029 | result = (int) ((arg1)->dock_row); | |
9030 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9031 | return resultobj; | |
9032 | fail: | |
9033 | return NULL; | |
9034 | } | |
9035 | ||
9036 | ||
9037 | SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9038 | PyObject *resultobj = 0; | |
9039 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9040 | int arg2 ; | |
9041 | void *argp1 = 0 ; | |
9042 | int res1 = 0 ; | |
9043 | int val2 ; | |
9044 | int ecode2 = 0 ; | |
9045 | PyObject *swig_obj[2] ; | |
9046 | ||
9047 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail; | |
9048 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9049 | if (!SWIG_IsOK(res1)) { | |
9050 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9051 | } | |
9052 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9053 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9054 | if (!SWIG_IsOK(ecode2)) { | |
9055 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); | |
9056 | } | |
9057 | arg2 = static_cast< int >(val2); | |
9058 | if (arg1) (arg1)->size = arg2; | |
9059 | ||
9060 | resultobj = SWIG_Py_Void(); | |
9061 | return resultobj; | |
9062 | fail: | |
9063 | return NULL; | |
9064 | } | |
9065 | ||
9066 | ||
9067 | SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9068 | PyObject *resultobj = 0; | |
9069 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9070 | int result; | |
9071 | void *argp1 = 0 ; | |
9072 | int res1 = 0 ; | |
9073 | PyObject *swig_obj[1] ; | |
9074 | ||
9075 | if (!args) SWIG_fail; | |
9076 | swig_obj[0] = args; | |
9077 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9078 | if (!SWIG_IsOK(res1)) { | |
9079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9080 | } | |
9081 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9082 | result = (int) ((arg1)->size); | |
9083 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9084 | return resultobj; | |
9085 | fail: | |
9086 | return NULL; | |
9087 | } | |
9088 | ||
9089 | ||
9090 | SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9091 | PyObject *resultobj = 0; | |
9092 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9093 | int arg2 ; | |
9094 | void *argp1 = 0 ; | |
9095 | int res1 = 0 ; | |
9096 | int val2 ; | |
9097 | int ecode2 = 0 ; | |
9098 | PyObject *swig_obj[2] ; | |
9099 | ||
9100 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; | |
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_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9104 | } | |
9105 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9106 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9107 | if (!SWIG_IsOK(ecode2)) { | |
9108 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); | |
9109 | } | |
9110 | arg2 = static_cast< int >(val2); | |
9111 | if (arg1) (arg1)->min_size = arg2; | |
9112 | ||
9113 | resultobj = SWIG_Py_Void(); | |
9114 | return resultobj; | |
9115 | fail: | |
9116 | return NULL; | |
9117 | } | |
9118 | ||
9119 | ||
9120 | SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9121 | PyObject *resultobj = 0; | |
9122 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9123 | int result; | |
9124 | void *argp1 = 0 ; | |
9125 | int res1 = 0 ; | |
9126 | PyObject *swig_obj[1] ; | |
9127 | ||
9128 | if (!args) SWIG_fail; | |
9129 | swig_obj[0] = args; | |
9130 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9131 | if (!SWIG_IsOK(res1)) { | |
9132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9133 | } | |
9134 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9135 | result = (int) ((arg1)->min_size); | |
9136 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9137 | return resultobj; | |
9138 | fail: | |
9139 | return NULL; | |
9140 | } | |
9141 | ||
9142 | ||
9143 | SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9144 | PyObject *resultobj = 0; | |
9145 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9146 | bool arg2 ; | |
9147 | void *argp1 = 0 ; | |
9148 | int res1 = 0 ; | |
9149 | bool val2 ; | |
9150 | int ecode2 = 0 ; | |
9151 | PyObject *swig_obj[2] ; | |
9152 | ||
9153 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; | |
9154 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9155 | if (!SWIG_IsOK(res1)) { | |
9156 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9157 | } | |
9158 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9159 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9160 | if (!SWIG_IsOK(ecode2)) { | |
9161 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); | |
9162 | } | |
9163 | arg2 = static_cast< bool >(val2); | |
9164 | if (arg1) (arg1)->resizable = arg2; | |
9165 | ||
9166 | resultobj = SWIG_Py_Void(); | |
9167 | return resultobj; | |
9168 | fail: | |
9169 | return NULL; | |
9170 | } | |
9171 | ||
9172 | ||
9173 | SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9174 | PyObject *resultobj = 0; | |
9175 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9176 | bool result; | |
9177 | void *argp1 = 0 ; | |
9178 | int res1 = 0 ; | |
9179 | PyObject *swig_obj[1] ; | |
9180 | ||
9181 | if (!args) SWIG_fail; | |
9182 | swig_obj[0] = args; | |
9183 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9184 | if (!SWIG_IsOK(res1)) { | |
9185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9186 | } | |
9187 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9188 | result = (bool) ((arg1)->resizable); | |
9189 | { | |
9190 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9191 | } | |
9192 | return resultobj; | |
9193 | fail: | |
9194 | return NULL; | |
9195 | } | |
9196 | ||
9197 | ||
9198 | SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9199 | PyObject *resultobj = 0; | |
9200 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9201 | bool arg2 ; | |
9202 | void *argp1 = 0 ; | |
9203 | int res1 = 0 ; | |
9204 | bool val2 ; | |
9205 | int ecode2 = 0 ; | |
9206 | PyObject *swig_obj[2] ; | |
9207 | ||
9208 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; | |
9209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9210 | if (!SWIG_IsOK(res1)) { | |
9211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9212 | } | |
9213 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9214 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9215 | if (!SWIG_IsOK(ecode2)) { | |
9216 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); | |
9217 | } | |
9218 | arg2 = static_cast< bool >(val2); | |
9219 | if (arg1) (arg1)->toolbar = arg2; | |
9220 | ||
9221 | resultobj = SWIG_Py_Void(); | |
9222 | return resultobj; | |
9223 | fail: | |
9224 | return NULL; | |
9225 | } | |
9226 | ||
9227 | ||
9228 | SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9229 | PyObject *resultobj = 0; | |
9230 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9231 | bool result; | |
9232 | void *argp1 = 0 ; | |
9233 | int res1 = 0 ; | |
9234 | PyObject *swig_obj[1] ; | |
9235 | ||
9236 | if (!args) SWIG_fail; | |
9237 | swig_obj[0] = args; | |
9238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9239 | if (!SWIG_IsOK(res1)) { | |
9240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9241 | } | |
9242 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9243 | result = (bool) ((arg1)->toolbar); | |
9244 | { | |
9245 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9246 | } | |
9247 | return resultobj; | |
9248 | fail: | |
9249 | return NULL; | |
9250 | } | |
9251 | ||
9252 | ||
9253 | SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9254 | PyObject *resultobj = 0; | |
9255 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9256 | bool arg2 ; | |
9257 | void *argp1 = 0 ; | |
9258 | int res1 = 0 ; | |
9259 | bool val2 ; | |
9260 | int ecode2 = 0 ; | |
9261 | PyObject *swig_obj[2] ; | |
9262 | ||
9263 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; | |
9264 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9265 | if (!SWIG_IsOK(res1)) { | |
9266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9267 | } | |
9268 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9269 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9270 | if (!SWIG_IsOK(ecode2)) { | |
9271 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); | |
9272 | } | |
9273 | arg2 = static_cast< bool >(val2); | |
9274 | if (arg1) (arg1)->fixed = arg2; | |
9275 | ||
9276 | resultobj = SWIG_Py_Void(); | |
9277 | return resultobj; | |
9278 | fail: | |
9279 | return NULL; | |
9280 | } | |
9281 | ||
9282 | ||
9283 | SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9284 | PyObject *resultobj = 0; | |
9285 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9286 | bool result; | |
9287 | void *argp1 = 0 ; | |
9288 | int res1 = 0 ; | |
9289 | PyObject *swig_obj[1] ; | |
9290 | ||
9291 | if (!args) SWIG_fail; | |
9292 | swig_obj[0] = args; | |
9293 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9294 | if (!SWIG_IsOK(res1)) { | |
9295 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9296 | } | |
9297 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9298 | result = (bool) ((arg1)->fixed); | |
9299 | { | |
9300 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9301 | } | |
9302 | return resultobj; | |
9303 | fail: | |
9304 | return NULL; | |
9305 | } | |
9306 | ||
9307 | ||
72ef6efb RD |
9308 | SWIGINTERN PyObject *_wrap_delete_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9309 | PyObject *resultobj = 0; | |
9310 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9311 | void *argp1 = 0 ; | |
9312 | int res1 = 0 ; | |
9313 | PyObject *swig_obj[1] ; | |
9314 | ||
9315 | if (!args) SWIG_fail; | |
9316 | swig_obj[0] = args; | |
9317 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
9318 | if (!SWIG_IsOK(res1)) { | |
9319 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockInfo" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9320 | } | |
9321 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9322 | { | |
9323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9324 | delete_wxDockInfo(arg1); | |
9325 | ||
9326 | wxPyEndAllowThreads(__tstate); | |
9327 | if (PyErr_Occurred()) SWIG_fail; | |
9328 | } | |
9329 | resultobj = SWIG_Py_Void(); | |
9330 | return resultobj; | |
9331 | fail: | |
9332 | return NULL; | |
9333 | } | |
9334 | ||
9335 | ||
27e45892 RD |
9336 | SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9337 | PyObject *obj; | |
9338 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9339 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj)); | |
9340 | return SWIG_Py_Void(); | |
9341 | } | |
9342 | ||
9343 | SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9344 | return SWIG_Python_InitShadowInstance(args); | |
9345 | } | |
9346 | ||
9347 | SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9348 | PyObject *resultobj = 0; | |
9349 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9350 | int arg2 ; | |
9351 | void *argp1 = 0 ; | |
9352 | int res1 = 0 ; | |
9353 | int val2 ; | |
9354 | int ecode2 = 0 ; | |
9355 | PyObject *swig_obj[2] ; | |
9356 | ||
9357 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail; | |
9358 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9359 | if (!SWIG_IsOK(res1)) { | |
9360 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9361 | } | |
9362 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9363 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9364 | if (!SWIG_IsOK(ecode2)) { | |
9365 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); | |
9366 | } | |
9367 | arg2 = static_cast< int >(val2); | |
9368 | if (arg1) (arg1)->type = arg2; | |
9369 | ||
9370 | resultobj = SWIG_Py_Void(); | |
9371 | return resultobj; | |
9372 | fail: | |
9373 | return NULL; | |
9374 | } | |
9375 | ||
9376 | ||
9377 | SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9378 | PyObject *resultobj = 0; | |
9379 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9380 | int result; | |
9381 | void *argp1 = 0 ; | |
9382 | int res1 = 0 ; | |
9383 | PyObject *swig_obj[1] ; | |
9384 | ||
9385 | if (!args) SWIG_fail; | |
9386 | swig_obj[0] = args; | |
9387 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9388 | if (!SWIG_IsOK(res1)) { | |
9389 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9390 | } | |
9391 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9392 | result = (int) ((arg1)->type); | |
9393 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9394 | return resultobj; | |
9395 | fail: | |
9396 | return NULL; | |
9397 | } | |
9398 | ||
9399 | ||
9400 | SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9401 | PyObject *resultobj = 0; | |
9402 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9403 | int arg2 ; | |
9404 | void *argp1 = 0 ; | |
9405 | int res1 = 0 ; | |
9406 | int val2 ; | |
9407 | int ecode2 = 0 ; | |
9408 | PyObject *swig_obj[2] ; | |
9409 | ||
9410 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; | |
9411 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9412 | if (!SWIG_IsOK(res1)) { | |
9413 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9414 | } | |
9415 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9416 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9417 | if (!SWIG_IsOK(ecode2)) { | |
9418 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); | |
9419 | } | |
9420 | arg2 = static_cast< int >(val2); | |
9421 | if (arg1) (arg1)->orientation = arg2; | |
9422 | ||
9423 | resultobj = SWIG_Py_Void(); | |
9424 | return resultobj; | |
9425 | fail: | |
9426 | return NULL; | |
9427 | } | |
9428 | ||
9429 | ||
9430 | SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9431 | PyObject *resultobj = 0; | |
9432 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9433 | int result; | |
9434 | void *argp1 = 0 ; | |
9435 | int res1 = 0 ; | |
9436 | PyObject *swig_obj[1] ; | |
9437 | ||
9438 | if (!args) SWIG_fail; | |
9439 | swig_obj[0] = args; | |
9440 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9441 | if (!SWIG_IsOK(res1)) { | |
9442 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9443 | } | |
9444 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9445 | result = (int) ((arg1)->orientation); | |
9446 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9447 | return resultobj; | |
9448 | fail: | |
9449 | return NULL; | |
9450 | } | |
9451 | ||
9452 | ||
9453 | SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9454 | PyObject *resultobj = 0; | |
9455 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9456 | wxDockInfo *arg2 = (wxDockInfo *) 0 ; | |
9457 | void *argp1 = 0 ; | |
9458 | int res1 = 0 ; | |
9459 | void *argp2 = 0 ; | |
9460 | int res2 = 0 ; | |
9461 | PyObject *swig_obj[2] ; | |
9462 | ||
9463 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; | |
9464 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9465 | if (!SWIG_IsOK(res1)) { | |
9466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9467 | } | |
9468 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9469 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
9470 | if (!SWIG_IsOK(res2)) { | |
9471 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'"); | |
9472 | } | |
9473 | arg2 = reinterpret_cast< wxDockInfo * >(argp2); | |
9474 | if (arg1) (arg1)->dock = arg2; | |
9475 | ||
9476 | resultobj = SWIG_Py_Void(); | |
9477 | return resultobj; | |
9478 | fail: | |
9479 | return NULL; | |
9480 | } | |
9481 | ||
9482 | ||
9483 | SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9484 | PyObject *resultobj = 0; | |
9485 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9486 | wxDockInfo *result = 0 ; | |
9487 | void *argp1 = 0 ; | |
9488 | int res1 = 0 ; | |
9489 | PyObject *swig_obj[1] ; | |
9490 | ||
9491 | if (!args) SWIG_fail; | |
9492 | swig_obj[0] = args; | |
9493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9494 | if (!SWIG_IsOK(res1)) { | |
9495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9496 | } | |
9497 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9498 | result = (wxDockInfo *) ((arg1)->dock); | |
9499 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9500 | return resultobj; | |
9501 | fail: | |
9502 | return NULL; | |
9503 | } | |
9504 | ||
9505 | ||
9506 | SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9507 | PyObject *resultobj = 0; | |
9508 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9509 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
9510 | void *argp1 = 0 ; | |
9511 | int res1 = 0 ; | |
9512 | void *argp2 = 0 ; | |
9513 | int res2 = 0 ; | |
9514 | PyObject *swig_obj[2] ; | |
9515 | ||
9516 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; | |
9517 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9518 | if (!SWIG_IsOK(res1)) { | |
9519 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9520 | } | |
9521 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9522 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
9523 | if (!SWIG_IsOK(res2)) { | |
9524 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
9525 | } | |
9526 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
9527 | if (arg1) (arg1)->pane = arg2; | |
9528 | ||
9529 | resultobj = SWIG_Py_Void(); | |
9530 | return resultobj; | |
9531 | fail: | |
9532 | return NULL; | |
9533 | } | |
9534 | ||
9535 | ||
9536 | SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9537 | PyObject *resultobj = 0; | |
9538 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9539 | wxPaneInfo *result = 0 ; | |
9540 | void *argp1 = 0 ; | |
9541 | int res1 = 0 ; | |
9542 | PyObject *swig_obj[1] ; | |
9543 | ||
9544 | if (!args) SWIG_fail; | |
9545 | swig_obj[0] = args; | |
9546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9547 | if (!SWIG_IsOK(res1)) { | |
9548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9549 | } | |
9550 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9551 | result = (wxPaneInfo *) ((arg1)->pane); | |
9552 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
9553 | return resultobj; | |
9554 | fail: | |
9555 | return NULL; | |
9556 | } | |
9557 | ||
9558 | ||
9559 | SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9560 | PyObject *resultobj = 0; | |
9561 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9562 | wxPaneButton *arg2 = (wxPaneButton *) 0 ; | |
9563 | void *argp1 = 0 ; | |
9564 | int res1 = 0 ; | |
9565 | void *argp2 = 0 ; | |
9566 | int res2 = 0 ; | |
9567 | PyObject *swig_obj[2] ; | |
9568 | ||
9569 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail; | |
9570 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9571 | if (!SWIG_IsOK(res1)) { | |
9572 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9573 | } | |
9574 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9575 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
9576 | if (!SWIG_IsOK(res2)) { | |
9577 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'"); | |
9578 | } | |
9579 | arg2 = reinterpret_cast< wxPaneButton * >(argp2); | |
9580 | if (arg1) (arg1)->button = arg2; | |
9581 | ||
9582 | resultobj = SWIG_Py_Void(); | |
9583 | return resultobj; | |
9584 | fail: | |
9585 | return NULL; | |
9586 | } | |
9587 | ||
9588 | ||
9589 | SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9590 | PyObject *resultobj = 0; | |
9591 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9592 | wxPaneButton *result = 0 ; | |
9593 | void *argp1 = 0 ; | |
9594 | int res1 = 0 ; | |
9595 | PyObject *swig_obj[1] ; | |
9596 | ||
9597 | if (!args) SWIG_fail; | |
9598 | swig_obj[0] = args; | |
9599 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9600 | if (!SWIG_IsOK(res1)) { | |
9601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9602 | } | |
9603 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9604 | result = (wxPaneButton *) ((arg1)->button); | |
9605 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9606 | return resultobj; | |
9607 | fail: | |
9608 | return NULL; | |
9609 | } | |
9610 | ||
9611 | ||
9612 | SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9613 | PyObject *resultobj = 0; | |
9614 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9615 | wxSizer *arg2 = (wxSizer *) 0 ; | |
9616 | void *argp1 = 0 ; | |
9617 | int res1 = 0 ; | |
9618 | void *argp2 = 0 ; | |
9619 | int res2 = 0 ; | |
9620 | PyObject *swig_obj[2] ; | |
9621 | ||
9622 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; | |
9623 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9624 | if (!SWIG_IsOK(res1)) { | |
9625 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9626 | } | |
9627 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9628 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); | |
9629 | if (!SWIG_IsOK(res2)) { | |
9630 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); | |
9631 | } | |
9632 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
9633 | if (arg1) (arg1)->cont_sizer = arg2; | |
9634 | ||
9635 | resultobj = SWIG_Py_Void(); | |
9636 | return resultobj; | |
9637 | fail: | |
9638 | return NULL; | |
9639 | } | |
9640 | ||
9641 | ||
9642 | SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9643 | PyObject *resultobj = 0; | |
9644 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9645 | wxSizer *result = 0 ; | |
9646 | void *argp1 = 0 ; | |
9647 | int res1 = 0 ; | |
9648 | PyObject *swig_obj[1] ; | |
9649 | ||
9650 | if (!args) SWIG_fail; | |
9651 | swig_obj[0] = args; | |
9652 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9653 | if (!SWIG_IsOK(res1)) { | |
9654 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9655 | } | |
9656 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9657 | result = (wxSizer *) ((arg1)->cont_sizer); | |
9658 | { | |
9659 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9660 | } | |
9661 | return resultobj; | |
9662 | fail: | |
9663 | return NULL; | |
9664 | } | |
9665 | ||
9666 | ||
9667 | SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9668 | PyObject *resultobj = 0; | |
9669 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9670 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; | |
9671 | void *argp1 = 0 ; | |
9672 | int res1 = 0 ; | |
9673 | void *argp2 = 0 ; | |
9674 | int res2 = 0 ; | |
9675 | PyObject *swig_obj[2] ; | |
9676 | ||
9677 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; | |
9678 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9679 | if (!SWIG_IsOK(res1)) { | |
9680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9681 | } | |
9682 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9683 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); | |
9684 | if (!SWIG_IsOK(res2)) { | |
9685 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); | |
9686 | } | |
9687 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
9688 | if (arg1) (arg1)->sizer_item = arg2; | |
9689 | ||
9690 | resultobj = SWIG_Py_Void(); | |
9691 | return resultobj; | |
9692 | fail: | |
9693 | return NULL; | |
9694 | } | |
9695 | ||
9696 | ||
9697 | SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9698 | PyObject *resultobj = 0; | |
9699 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9700 | wxSizerItem *result = 0 ; | |
9701 | void *argp1 = 0 ; | |
9702 | int res1 = 0 ; | |
9703 | PyObject *swig_obj[1] ; | |
9704 | ||
9705 | if (!args) SWIG_fail; | |
9706 | swig_obj[0] = args; | |
9707 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9708 | if (!SWIG_IsOK(res1)) { | |
9709 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9710 | } | |
9711 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9712 | result = (wxSizerItem *) ((arg1)->sizer_item); | |
9713 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
9714 | return resultobj; | |
9715 | fail: | |
9716 | return NULL; | |
9717 | } | |
9718 | ||
9719 | ||
9720 | SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9721 | PyObject *resultobj = 0; | |
9722 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9723 | wxRect *arg2 = (wxRect *) 0 ; | |
9724 | void *argp1 = 0 ; | |
9725 | int res1 = 0 ; | |
9726 | void *argp2 = 0 ; | |
9727 | int res2 = 0 ; | |
9728 | PyObject *swig_obj[2] ; | |
9729 | ||
9730 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; | |
9731 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9732 | if (!SWIG_IsOK(res1)) { | |
9733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9734 | } | |
9735 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9736 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
9737 | if (!SWIG_IsOK(res2)) { | |
9738 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
9739 | } | |
9740 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9741 | if (arg1) (arg1)->rect = *arg2; | |
9742 | ||
9743 | resultobj = SWIG_Py_Void(); | |
9744 | return resultobj; | |
9745 | fail: | |
9746 | return NULL; | |
9747 | } | |
9748 | ||
9749 | ||
9750 | SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9751 | PyObject *resultobj = 0; | |
9752 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9753 | wxRect *result = 0 ; | |
9754 | void *argp1 = 0 ; | |
9755 | int res1 = 0 ; | |
9756 | PyObject *swig_obj[1] ; | |
9757 | ||
9758 | if (!args) SWIG_fail; | |
9759 | swig_obj[0] = args; | |
9760 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9761 | if (!SWIG_IsOK(res1)) { | |
9762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9763 | } | |
9764 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9765 | result = (wxRect *)& ((arg1)->rect); | |
9766 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9767 | return resultobj; | |
9768 | fail: | |
9769 | return NULL; | |
9770 | } | |
9771 | ||
9772 | ||
72ef6efb RD |
9773 | SWIGINTERN PyObject *_wrap_delete_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9774 | PyObject *resultobj = 0; | |
9775 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9776 | void *argp1 = 0 ; | |
9777 | int res1 = 0 ; | |
9778 | PyObject *swig_obj[1] ; | |
9779 | ||
9780 | if (!args) SWIG_fail; | |
9781 | swig_obj[0] = args; | |
9782 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_DISOWN | 0 ); | |
9783 | if (!SWIG_IsOK(res1)) { | |
9784 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockUIPart" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9785 | } | |
9786 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9787 | { | |
9788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9789 | delete_wxDockUIPart(arg1); | |
9790 | ||
9791 | wxPyEndAllowThreads(__tstate); | |
9792 | if (PyErr_Occurred()) SWIG_fail; | |
9793 | } | |
9794 | resultobj = SWIG_Py_Void(); | |
9795 | return resultobj; | |
9796 | fail: | |
9797 | return NULL; | |
9798 | } | |
9799 | ||
9800 | ||
27e45892 RD |
9801 | SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9802 | PyObject *obj; | |
9803 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9804 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj)); | |
9805 | return SWIG_Py_Void(); | |
9806 | } | |
9807 | ||
9808 | SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9809 | PyObject *resultobj = 0; | |
9810 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
9811 | int arg2 ; | |
9812 | void *argp1 = 0 ; | |
9813 | int res1 = 0 ; | |
9814 | int val2 ; | |
9815 | int ecode2 = 0 ; | |
9816 | PyObject *swig_obj[2] ; | |
9817 | ||
9818 | if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; | |
9819 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9820 | if (!SWIG_IsOK(res1)) { | |
9821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
9822 | } | |
9823 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
9824 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9825 | if (!SWIG_IsOK(ecode2)) { | |
9826 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); | |
9827 | } | |
9828 | arg2 = static_cast< int >(val2); | |
9829 | if (arg1) (arg1)->button_id = arg2; | |
9830 | ||
9831 | resultobj = SWIG_Py_Void(); | |
9832 | return resultobj; | |
9833 | fail: | |
9834 | return NULL; | |
9835 | } | |
9836 | ||
9837 | ||
9838 | SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9839 | PyObject *resultobj = 0; | |
9840 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
9841 | int result; | |
9842 | void *argp1 = 0 ; | |
9843 | int res1 = 0 ; | |
9844 | PyObject *swig_obj[1] ; | |
9845 | ||
9846 | if (!args) SWIG_fail; | |
9847 | swig_obj[0] = args; | |
9848 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9849 | if (!SWIG_IsOK(res1)) { | |
9850 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
9851 | } | |
9852 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
9853 | result = (int) ((arg1)->button_id); | |
9854 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9855 | return resultobj; | |
9856 | fail: | |
9857 | return NULL; | |
9858 | } | |
9859 | ||
9860 | ||
72ef6efb RD |
9861 | SWIGINTERN PyObject *_wrap_delete_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9862 | PyObject *resultobj = 0; | |
9863 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
9864 | void *argp1 = 0 ; | |
9865 | int res1 = 0 ; | |
9866 | PyObject *swig_obj[1] ; | |
9867 | ||
9868 | if (!args) SWIG_fail; | |
9869 | swig_obj[0] = args; | |
9870 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
9871 | if (!SWIG_IsOK(res1)) { | |
9872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneButton" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
9873 | } | |
9874 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
9875 | { | |
9876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9877 | delete_wxPaneButton(arg1); | |
9878 | ||
9879 | wxPyEndAllowThreads(__tstate); | |
9880 | if (PyErr_Occurred()) SWIG_fail; | |
9881 | } | |
9882 | resultobj = SWIG_Py_Void(); | |
9883 | return resultobj; | |
9884 | fail: | |
9885 | return NULL; | |
9886 | } | |
9887 | ||
9888 | ||
27e45892 RD |
9889 | SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9890 | PyObject *obj; | |
9891 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9892 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj)); | |
9893 | return SWIG_Py_Void(); | |
9894 | } | |
9895 | ||
9896 | SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9897 | PyObject *resultobj = 0; | |
9898 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9899 | void *argp1 = 0 ; | |
9900 | int res1 = 0 ; | |
9901 | PyObject *swig_obj[1] ; | |
9902 | ||
9903 | if (!args) SWIG_fail; | |
9904 | swig_obj[0] = args; | |
9905 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 ); | |
9906 | if (!SWIG_IsOK(res1)) { | |
9907 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9908 | } | |
9909 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9910 | { | |
9911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9912 | delete arg1; | |
9913 | ||
9914 | wxPyEndAllowThreads(__tstate); | |
9915 | if (PyErr_Occurred()) SWIG_fail; | |
9916 | } | |
9917 | resultobj = SWIG_Py_Void(); | |
9918 | return resultobj; | |
9919 | fail: | |
9920 | return NULL; | |
9921 | } | |
9922 | ||
9923 | ||
9924 | SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9925 | PyObject *resultobj = 0; | |
9926 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9927 | int arg2 ; | |
9928 | int result; | |
9929 | void *argp1 = 0 ; | |
9930 | int res1 = 0 ; | |
9931 | int val2 ; | |
9932 | int ecode2 = 0 ; | |
9933 | PyObject * obj0 = 0 ; | |
9934 | PyObject * obj1 = 0 ; | |
9935 | char * kwnames[] = { | |
9936 | (char *) "self",(char *) "id", NULL | |
9937 | }; | |
9938 | ||
9939 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; | |
9940 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9941 | if (!SWIG_IsOK(res1)) { | |
9942 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9943 | } | |
9944 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9945 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9946 | if (!SWIG_IsOK(ecode2)) { | |
9947 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); | |
9948 | } | |
9949 | arg2 = static_cast< int >(val2); | |
9950 | { | |
9951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9952 | result = (int)(arg1)->GetMetric(arg2); | |
9953 | wxPyEndAllowThreads(__tstate); | |
9954 | if (PyErr_Occurred()) SWIG_fail; | |
9955 | } | |
9956 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9957 | return resultobj; | |
9958 | fail: | |
9959 | return NULL; | |
9960 | } | |
9961 | ||
9962 | ||
9963 | SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9964 | PyObject *resultobj = 0; | |
9965 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
9966 | int arg2 ; | |
9967 | int arg3 ; | |
9968 | void *argp1 = 0 ; | |
9969 | int res1 = 0 ; | |
9970 | int val2 ; | |
9971 | int ecode2 = 0 ; | |
9972 | int val3 ; | |
9973 | int ecode3 = 0 ; | |
9974 | PyObject * obj0 = 0 ; | |
9975 | PyObject * obj1 = 0 ; | |
9976 | PyObject * obj2 = 0 ; | |
9977 | char * kwnames[] = { | |
9978 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
9979 | }; | |
9980 | ||
9981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
9982 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
9983 | if (!SWIG_IsOK(res1)) { | |
9984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
9985 | } | |
9986 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
9987 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
9988 | if (!SWIG_IsOK(ecode2)) { | |
9989 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); | |
9990 | } | |
9991 | arg2 = static_cast< int >(val2); | |
9992 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9993 | if (!SWIG_IsOK(ecode3)) { | |
9994 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); | |
9995 | } | |
9996 | arg3 = static_cast< int >(val3); | |
9997 | { | |
9998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9999 | (arg1)->SetMetric(arg2,arg3); | |
10000 | wxPyEndAllowThreads(__tstate); | |
10001 | if (PyErr_Occurred()) SWIG_fail; | |
10002 | } | |
10003 | resultobj = SWIG_Py_Void(); | |
10004 | return resultobj; | |
10005 | fail: | |
10006 | return NULL; | |
10007 | } | |
10008 | ||
10009 | ||
10010 | SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10011 | PyObject *resultobj = 0; | |
10012 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10013 | int arg2 ; | |
10014 | wxFont *arg3 = 0 ; | |
10015 | void *argp1 = 0 ; | |
10016 | int res1 = 0 ; | |
10017 | int val2 ; | |
10018 | int ecode2 = 0 ; | |
10019 | void *argp3 = 0 ; | |
10020 | int res3 = 0 ; | |
10021 | PyObject * obj0 = 0 ; | |
10022 | PyObject * obj1 = 0 ; | |
10023 | PyObject * obj2 = 0 ; | |
10024 | char * kwnames[] = { | |
10025 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10026 | }; | |
10027 | ||
10028 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10029 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10030 | if (!SWIG_IsOK(res1)) { | |
10031 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10032 | } | |
10033 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10034 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10035 | if (!SWIG_IsOK(ecode2)) { | |
10036 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); | |
10037 | } | |
10038 | arg2 = static_cast< int >(val2); | |
10039 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10040 | if (!SWIG_IsOK(res3)) { | |
10041 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
10042 | } | |
10043 | if (!argp3) { | |
10044 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
10045 | } | |
10046 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10047 | { | |
10048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10049 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10050 | wxPyEndAllowThreads(__tstate); | |
10051 | if (PyErr_Occurred()) SWIG_fail; | |
10052 | } | |
10053 | resultobj = SWIG_Py_Void(); | |
10054 | return resultobj; | |
10055 | fail: | |
10056 | return NULL; | |
10057 | } | |
10058 | ||
10059 | ||
10060 | SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10061 | PyObject *resultobj = 0; | |
10062 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10063 | int arg2 ; | |
10064 | wxFont result; | |
10065 | void *argp1 = 0 ; | |
10066 | int res1 = 0 ; | |
10067 | int val2 ; | |
10068 | int ecode2 = 0 ; | |
10069 | PyObject * obj0 = 0 ; | |
10070 | PyObject * obj1 = 0 ; | |
10071 | char * kwnames[] = { | |
10072 | (char *) "self",(char *) "id", NULL | |
10073 | }; | |
10074 | ||
10075 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
10076 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10077 | if (!SWIG_IsOK(res1)) { | |
10078 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10079 | } | |
10080 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10081 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10082 | if (!SWIG_IsOK(ecode2)) { | |
10083 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); | |
10084 | } | |
10085 | arg2 = static_cast< int >(val2); | |
10086 | { | |
10087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10088 | result = (arg1)->GetFont(arg2); | |
10089 | wxPyEndAllowThreads(__tstate); | |
10090 | if (PyErr_Occurred()) SWIG_fail; | |
10091 | } | |
10092 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10093 | return resultobj; | |
10094 | fail: | |
10095 | return NULL; | |
10096 | } | |
10097 | ||
10098 | ||
10099 | SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10100 | PyObject *resultobj = 0; | |
10101 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10102 | int arg2 ; | |
10103 | wxColour result; | |
10104 | void *argp1 = 0 ; | |
10105 | int res1 = 0 ; | |
10106 | int val2 ; | |
10107 | int ecode2 = 0 ; | |
10108 | PyObject * obj0 = 0 ; | |
10109 | PyObject * obj1 = 0 ; | |
10110 | char * kwnames[] = { | |
10111 | (char *) "self",(char *) "id", NULL | |
10112 | }; | |
10113 | ||
10114 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
10115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10116 | if (!SWIG_IsOK(res1)) { | |
10117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10118 | } | |
10119 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10120 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10121 | if (!SWIG_IsOK(ecode2)) { | |
10122 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); | |
10123 | } | |
10124 | arg2 = static_cast< int >(val2); | |
10125 | { | |
10126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10127 | result = (arg1)->GetColour(arg2); | |
10128 | wxPyEndAllowThreads(__tstate); | |
10129 | if (PyErr_Occurred()) SWIG_fail; | |
10130 | } | |
10131 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10132 | return resultobj; | |
10133 | fail: | |
10134 | return NULL; | |
10135 | } | |
10136 | ||
10137 | ||
10138 | SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10139 | PyObject *resultobj = 0; | |
10140 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10141 | int arg2 ; | |
10142 | wxColor *arg3 = 0 ; | |
10143 | void *argp1 = 0 ; | |
10144 | int res1 = 0 ; | |
10145 | int val2 ; | |
10146 | int ecode2 = 0 ; | |
10147 | void *argp3 = 0 ; | |
10148 | int res3 = 0 ; | |
10149 | PyObject * obj0 = 0 ; | |
10150 | PyObject * obj1 = 0 ; | |
10151 | PyObject * obj2 = 0 ; | |
10152 | char * kwnames[] = { | |
10153 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10154 | }; | |
10155 | ||
10156 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10157 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10158 | if (!SWIG_IsOK(res1)) { | |
10159 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10160 | } | |
10161 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10162 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10163 | if (!SWIG_IsOK(ecode2)) { | |
10164 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); | |
10165 | } | |
10166 | arg2 = static_cast< int >(val2); | |
10167 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10168 | if (!SWIG_IsOK(res3)) { | |
10169 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); | |
10170 | } | |
10171 | if (!argp3) { | |
10172 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); | |
10173 | } | |
10174 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
10175 | { | |
10176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10177 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
10178 | wxPyEndAllowThreads(__tstate); | |
10179 | if (PyErr_Occurred()) SWIG_fail; | |
10180 | } | |
10181 | resultobj = SWIG_Py_Void(); | |
10182 | return resultobj; | |
10183 | fail: | |
10184 | return NULL; | |
10185 | } | |
10186 | ||
10187 | ||
10188 | SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10189 | PyObject *resultobj = 0; | |
10190 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10191 | int arg2 ; | |
10192 | wxColour result; | |
10193 | void *argp1 = 0 ; | |
10194 | int res1 = 0 ; | |
10195 | int val2 ; | |
10196 | int ecode2 = 0 ; | |
10197 | PyObject * obj0 = 0 ; | |
10198 | PyObject * obj1 = 0 ; | |
10199 | char * kwnames[] = { | |
10200 | (char *) "self",(char *) "id", NULL | |
10201 | }; | |
10202 | ||
10203 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10204 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10205 | if (!SWIG_IsOK(res1)) { | |
10206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10207 | } | |
10208 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10209 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10210 | if (!SWIG_IsOK(ecode2)) { | |
10211 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); | |
10212 | } | |
10213 | arg2 = static_cast< int >(val2); | |
10214 | { | |
10215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10216 | result = (arg1)->GetColor(arg2); | |
10217 | wxPyEndAllowThreads(__tstate); | |
10218 | if (PyErr_Occurred()) SWIG_fail; | |
10219 | } | |
10220 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10221 | return resultobj; | |
10222 | fail: | |
10223 | return NULL; | |
10224 | } | |
10225 | ||
10226 | ||
10227 | SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10228 | PyObject *resultobj = 0; | |
10229 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10230 | int arg2 ; | |
10231 | wxColour *arg3 = 0 ; | |
10232 | void *argp1 = 0 ; | |
10233 | int res1 = 0 ; | |
10234 | int val2 ; | |
10235 | int ecode2 = 0 ; | |
10236 | wxColour temp3 ; | |
10237 | PyObject * obj0 = 0 ; | |
10238 | PyObject * obj1 = 0 ; | |
10239 | PyObject * obj2 = 0 ; | |
10240 | char * kwnames[] = { | |
10241 | (char *) "self",(char *) "id",(char *) "color", NULL | |
10242 | }; | |
10243 | ||
10244 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10245 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10246 | if (!SWIG_IsOK(res1)) { | |
10247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10248 | } | |
10249 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10250 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10251 | if (!SWIG_IsOK(ecode2)) { | |
10252 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); | |
10253 | } | |
10254 | arg2 = static_cast< int >(val2); | |
10255 | { | |
10256 | arg3 = &temp3; | |
10257 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10258 | } | |
10259 | { | |
10260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10261 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
10262 | wxPyEndAllowThreads(__tstate); | |
10263 | if (PyErr_Occurred()) SWIG_fail; | |
10264 | } | |
10265 | resultobj = SWIG_Py_Void(); | |
10266 | return resultobj; | |
10267 | fail: | |
10268 | return NULL; | |
10269 | } | |
10270 | ||
10271 | ||
10272 | SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10273 | PyObject *resultobj = 0; | |
10274 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10275 | wxDC *arg2 = 0 ; | |
ac5d357a RD |
10276 | wxWindow *arg3 = (wxWindow *) 0 ; |
10277 | int arg4 ; | |
10278 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10279 | void *argp1 = 0 ; |
10280 | int res1 = 0 ; | |
10281 | void *argp2 = 0 ; | |
10282 | int res2 = 0 ; | |
ac5d357a RD |
10283 | void *argp3 = 0 ; |
10284 | int res3 = 0 ; | |
10285 | int val4 ; | |
10286 | int ecode4 = 0 ; | |
10287 | wxRect temp5 ; | |
27e45892 RD |
10288 | PyObject * obj0 = 0 ; |
10289 | PyObject * obj1 = 0 ; | |
10290 | PyObject * obj2 = 0 ; | |
10291 | PyObject * obj3 = 0 ; | |
ac5d357a | 10292 | PyObject * obj4 = 0 ; |
27e45892 | 10293 | char * kwnames[] = { |
ac5d357a | 10294 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10295 | }; |
10296 | ||
ac5d357a | 10297 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10298 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10299 | if (!SWIG_IsOK(res1)) { | |
10300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10301 | } | |
10302 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10303 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10304 | if (!SWIG_IsOK(res2)) { | |
10305 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10306 | } | |
10307 | if (!argp2) { | |
10308 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10309 | } | |
10310 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10311 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10312 | if (!SWIG_IsOK(res3)) { | |
10313 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10314 | } | |
10315 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10316 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10317 | if (!SWIG_IsOK(ecode4)) { | |
10318 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); | |
27e45892 | 10319 | } |
ac5d357a | 10320 | arg4 = static_cast< int >(val4); |
27e45892 | 10321 | { |
ac5d357a RD |
10322 | arg5 = &temp5; |
10323 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10324 | } |
10325 | { | |
10326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10327 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10328 | wxPyEndAllowThreads(__tstate); |
10329 | if (PyErr_Occurred()) SWIG_fail; | |
10330 | } | |
10331 | resultobj = SWIG_Py_Void(); | |
10332 | return resultobj; | |
10333 | fail: | |
10334 | return NULL; | |
10335 | } | |
10336 | ||
10337 | ||
10338 | SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10339 | PyObject *resultobj = 0; | |
10340 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10341 | wxDC *arg2 = 0 ; | |
ac5d357a RD |
10342 | wxWindow *arg3 = (wxWindow *) 0 ; |
10343 | int arg4 ; | |
10344 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10345 | void *argp1 = 0 ; |
10346 | int res1 = 0 ; | |
10347 | void *argp2 = 0 ; | |
10348 | int res2 = 0 ; | |
ac5d357a RD |
10349 | void *argp3 = 0 ; |
10350 | int res3 = 0 ; | |
10351 | int val4 ; | |
10352 | int ecode4 = 0 ; | |
10353 | wxRect temp5 ; | |
27e45892 RD |
10354 | PyObject * obj0 = 0 ; |
10355 | PyObject * obj1 = 0 ; | |
10356 | PyObject * obj2 = 0 ; | |
10357 | PyObject * obj3 = 0 ; | |
ac5d357a | 10358 | PyObject * obj4 = 0 ; |
27e45892 | 10359 | char * kwnames[] = { |
ac5d357a | 10360 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10361 | }; |
10362 | ||
ac5d357a | 10363 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10364 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10365 | if (!SWIG_IsOK(res1)) { | |
10366 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10367 | } | |
10368 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10369 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10370 | if (!SWIG_IsOK(res2)) { | |
10371 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10372 | } | |
10373 | if (!argp2) { | |
10374 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10375 | } | |
10376 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10377 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10378 | if (!SWIG_IsOK(res3)) { | |
10379 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10380 | } | |
10381 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10382 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10383 | if (!SWIG_IsOK(ecode4)) { | |
10384 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); | |
27e45892 | 10385 | } |
ac5d357a | 10386 | arg4 = static_cast< int >(val4); |
27e45892 | 10387 | { |
ac5d357a RD |
10388 | arg5 = &temp5; |
10389 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10390 | } |
10391 | { | |
10392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10393 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10394 | wxPyEndAllowThreads(__tstate); |
10395 | if (PyErr_Occurred()) SWIG_fail; | |
10396 | } | |
10397 | resultobj = SWIG_Py_Void(); | |
10398 | return resultobj; | |
10399 | fail: | |
10400 | return NULL; | |
10401 | } | |
10402 | ||
10403 | ||
10404 | SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10405 | PyObject *resultobj = 0; | |
10406 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10407 | wxDC *arg2 = 0 ; | |
ac5d357a RD |
10408 | wxWindow *arg3 = (wxWindow *) 0 ; |
10409 | wxString *arg4 = 0 ; | |
10410 | wxRect *arg5 = 0 ; | |
10411 | wxPaneInfo *arg6 = 0 ; | |
27e45892 RD |
10412 | void *argp1 = 0 ; |
10413 | int res1 = 0 ; | |
10414 | void *argp2 = 0 ; | |
10415 | int res2 = 0 ; | |
ac5d357a RD |
10416 | void *argp3 = 0 ; |
10417 | int res3 = 0 ; | |
10418 | bool temp4 = false ; | |
10419 | wxRect temp5 ; | |
10420 | void *argp6 = 0 ; | |
10421 | int res6 = 0 ; | |
27e45892 RD |
10422 | PyObject * obj0 = 0 ; |
10423 | PyObject * obj1 = 0 ; | |
10424 | PyObject * obj2 = 0 ; | |
10425 | PyObject * obj3 = 0 ; | |
10426 | PyObject * obj4 = 0 ; | |
ac5d357a | 10427 | PyObject * obj5 = 0 ; |
27e45892 | 10428 | char * kwnames[] = { |
ac5d357a | 10429 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10430 | }; |
10431 | ||
ac5d357a | 10432 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
27e45892 RD |
10433 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10434 | if (!SWIG_IsOK(res1)) { | |
10435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10436 | } | |
10437 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10438 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10439 | if (!SWIG_IsOK(res2)) { | |
10440 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10441 | } | |
10442 | if (!argp2) { | |
10443 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10444 | } | |
10445 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10446 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10447 | if (!SWIG_IsOK(res3)) { | |
10448 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10449 | } | |
10450 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10451 | { |
ac5d357a RD |
10452 | arg4 = wxString_in_helper(obj3); |
10453 | if (arg4 == NULL) SWIG_fail; | |
10454 | temp4 = true; | |
27e45892 RD |
10455 | } |
10456 | { | |
ac5d357a RD |
10457 | arg5 = &temp5; |
10458 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 10459 | } |
ac5d357a RD |
10460 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 ); |
10461 | if (!SWIG_IsOK(res6)) { | |
10462 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10463 | } |
ac5d357a RD |
10464 | if (!argp6) { |
10465 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10466 | } |
ac5d357a | 10467 | arg6 = reinterpret_cast< wxPaneInfo * >(argp6); |
27e45892 RD |
10468 | { |
10469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10470 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
10471 | wxPyEndAllowThreads(__tstate); |
10472 | if (PyErr_Occurred()) SWIG_fail; | |
10473 | } | |
10474 | resultobj = SWIG_Py_Void(); | |
10475 | { | |
ac5d357a RD |
10476 | if (temp4) |
10477 | delete arg4; | |
27e45892 RD |
10478 | } |
10479 | return resultobj; | |
10480 | fail: | |
10481 | { | |
ac5d357a RD |
10482 | if (temp4) |
10483 | delete arg4; | |
27e45892 RD |
10484 | } |
10485 | return NULL; | |
10486 | } | |
10487 | ||
10488 | ||
10489 | SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10490 | PyObject *resultobj = 0; | |
10491 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10492 | wxDC *arg2 = 0 ; | |
ac5d357a RD |
10493 | wxWindow *arg3 = (wxWindow *) 0 ; |
10494 | wxRect *arg4 = 0 ; | |
10495 | wxPaneInfo *arg5 = 0 ; | |
27e45892 RD |
10496 | void *argp1 = 0 ; |
10497 | int res1 = 0 ; | |
10498 | void *argp2 = 0 ; | |
10499 | int res2 = 0 ; | |
ac5d357a RD |
10500 | void *argp3 = 0 ; |
10501 | int res3 = 0 ; | |
10502 | wxRect temp4 ; | |
10503 | void *argp5 = 0 ; | |
10504 | int res5 = 0 ; | |
27e45892 RD |
10505 | PyObject * obj0 = 0 ; |
10506 | PyObject * obj1 = 0 ; | |
10507 | PyObject * obj2 = 0 ; | |
10508 | PyObject * obj3 = 0 ; | |
ac5d357a | 10509 | PyObject * obj4 = 0 ; |
27e45892 | 10510 | char * kwnames[] = { |
ac5d357a | 10511 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10512 | }; |
10513 | ||
ac5d357a | 10514 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10515 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10516 | if (!SWIG_IsOK(res1)) { | |
10517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10518 | } | |
10519 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10520 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10521 | if (!SWIG_IsOK(res2)) { | |
10522 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10523 | } | |
10524 | if (!argp2) { | |
10525 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10526 | } | |
10527 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10528 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10529 | if (!SWIG_IsOK(res3)) { | |
10530 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10531 | } | |
10532 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10533 | { |
ac5d357a RD |
10534 | arg4 = &temp4; |
10535 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 10536 | } |
ac5d357a RD |
10537 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 ); |
10538 | if (!SWIG_IsOK(res5)) { | |
10539 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10540 | } |
ac5d357a RD |
10541 | if (!argp5) { |
10542 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10543 | } |
ac5d357a | 10544 | arg5 = reinterpret_cast< wxPaneInfo * >(argp5); |
27e45892 RD |
10545 | { |
10546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10547 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
10548 | wxPyEndAllowThreads(__tstate); |
10549 | if (PyErr_Occurred()) SWIG_fail; | |
10550 | } | |
10551 | resultobj = SWIG_Py_Void(); | |
10552 | return resultobj; | |
10553 | fail: | |
10554 | return NULL; | |
10555 | } | |
10556 | ||
10557 | ||
10558 | SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10559 | PyObject *resultobj = 0; | |
10560 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10561 | wxDC *arg2 = 0 ; | |
ac5d357a RD |
10562 | wxWindow *arg3 = (wxWindow *) 0 ; |
10563 | wxRect *arg4 = 0 ; | |
10564 | wxPaneInfo *arg5 = 0 ; | |
27e45892 RD |
10565 | void *argp1 = 0 ; |
10566 | int res1 = 0 ; | |
10567 | void *argp2 = 0 ; | |
10568 | int res2 = 0 ; | |
ac5d357a RD |
10569 | void *argp3 = 0 ; |
10570 | int res3 = 0 ; | |
10571 | wxRect temp4 ; | |
10572 | void *argp5 = 0 ; | |
10573 | int res5 = 0 ; | |
27e45892 RD |
10574 | PyObject * obj0 = 0 ; |
10575 | PyObject * obj1 = 0 ; | |
10576 | PyObject * obj2 = 0 ; | |
10577 | PyObject * obj3 = 0 ; | |
ac5d357a | 10578 | PyObject * obj4 = 0 ; |
27e45892 | 10579 | char * kwnames[] = { |
ac5d357a | 10580 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10581 | }; |
10582 | ||
ac5d357a | 10583 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10584 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10585 | if (!SWIG_IsOK(res1)) { | |
10586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10587 | } | |
10588 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10589 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10590 | if (!SWIG_IsOK(res2)) { | |
10591 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10592 | } | |
10593 | if (!argp2) { | |
10594 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10595 | } | |
10596 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10597 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10598 | if (!SWIG_IsOK(res3)) { | |
10599 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10600 | } | |
10601 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10602 | { |
ac5d357a RD |
10603 | arg4 = &temp4; |
10604 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 10605 | } |
ac5d357a RD |
10606 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 ); |
10607 | if (!SWIG_IsOK(res5)) { | |
10608 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10609 | } |
ac5d357a RD |
10610 | if (!argp5) { |
10611 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10612 | } |
ac5d357a | 10613 | arg5 = reinterpret_cast< wxPaneInfo * >(argp5); |
27e45892 RD |
10614 | { |
10615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10616 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
10617 | wxPyEndAllowThreads(__tstate); |
10618 | if (PyErr_Occurred()) SWIG_fail; | |
10619 | } | |
10620 | resultobj = SWIG_Py_Void(); | |
10621 | return resultobj; | |
10622 | fail: | |
10623 | return NULL; | |
10624 | } | |
10625 | ||
10626 | ||
10627 | SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10628 | PyObject *resultobj = 0; | |
10629 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10630 | wxDC *arg2 = 0 ; | |
ac5d357a | 10631 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 10632 | int arg4 ; |
ac5d357a RD |
10633 | int arg5 ; |
10634 | wxRect *arg6 = 0 ; | |
10635 | wxPaneInfo *arg7 = 0 ; | |
27e45892 RD |
10636 | void *argp1 = 0 ; |
10637 | int res1 = 0 ; | |
10638 | void *argp2 = 0 ; | |
10639 | int res2 = 0 ; | |
ac5d357a RD |
10640 | void *argp3 = 0 ; |
10641 | int res3 = 0 ; | |
27e45892 RD |
10642 | int val4 ; |
10643 | int ecode4 = 0 ; | |
ac5d357a RD |
10644 | int val5 ; |
10645 | int ecode5 = 0 ; | |
10646 | wxRect temp6 ; | |
10647 | void *argp7 = 0 ; | |
10648 | int res7 = 0 ; | |
27e45892 RD |
10649 | PyObject * obj0 = 0 ; |
10650 | PyObject * obj1 = 0 ; | |
10651 | PyObject * obj2 = 0 ; | |
10652 | PyObject * obj3 = 0 ; | |
10653 | PyObject * obj4 = 0 ; | |
10654 | PyObject * obj5 = 0 ; | |
ac5d357a | 10655 | PyObject * obj6 = 0 ; |
27e45892 | 10656 | char * kwnames[] = { |
ac5d357a | 10657 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10658 | }; |
10659 | ||
ac5d357a | 10660 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
27e45892 RD |
10661 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10662 | if (!SWIG_IsOK(res1)) { | |
10663 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10664 | } | |
10665 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10666 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10667 | if (!SWIG_IsOK(res2)) { | |
10668 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10669 | } | |
10670 | if (!argp2) { | |
10671 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10672 | } | |
10673 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10674 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10675 | if (!SWIG_IsOK(res3)) { | |
10676 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10677 | } | |
10678 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
10679 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
10680 | if (!SWIG_IsOK(ecode4)) { | |
10681 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); | |
10682 | } | |
10683 | arg4 = static_cast< int >(val4); | |
ac5d357a RD |
10684 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
10685 | if (!SWIG_IsOK(ecode5)) { | |
10686 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); | |
10687 | } | |
10688 | arg5 = static_cast< int >(val5); | |
27e45892 | 10689 | { |
ac5d357a RD |
10690 | arg6 = &temp6; |
10691 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 10692 | } |
ac5d357a RD |
10693 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxPaneInfo, 0 ); |
10694 | if (!SWIG_IsOK(res7)) { | |
10695 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10696 | } |
ac5d357a RD |
10697 | if (!argp7) { |
10698 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10699 | } |
ac5d357a | 10700 | arg7 = reinterpret_cast< wxPaneInfo * >(argp7); |
27e45892 RD |
10701 | { |
10702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10703 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
10704 | wxPyEndAllowThreads(__tstate); |
10705 | if (PyErr_Occurred()) SWIG_fail; | |
10706 | } | |
10707 | resultobj = SWIG_Py_Void(); | |
10708 | return resultobj; | |
10709 | fail: | |
10710 | return NULL; | |
10711 | } | |
10712 | ||
10713 | ||
10714 | SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10715 | PyObject *obj; | |
10716 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10717 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj)); | |
10718 | return SWIG_Py_Void(); | |
10719 | } | |
10720 | ||
10721 | SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10722 | PyObject *resultobj = 0; | |
10723 | wxDefaultDockArt *result = 0 ; | |
10724 | ||
10725 | if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail; | |
10726 | { | |
10727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10728 | result = (wxDefaultDockArt *)new wxDefaultDockArt(); | |
10729 | wxPyEndAllowThreads(__tstate); | |
10730 | if (PyErr_Occurred()) SWIG_fail; | |
10731 | } | |
10732 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 ); | |
10733 | return resultobj; | |
10734 | fail: | |
10735 | return NULL; | |
10736 | } | |
10737 | ||
10738 | ||
10739 | SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10740 | PyObject *obj; | |
10741 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10742 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj)); | |
10743 | return SWIG_Py_Void(); | |
10744 | } | |
10745 | ||
10746 | SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10747 | return SWIG_Python_InitShadowInstance(args); | |
10748 | } | |
10749 | ||
10750 | SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10751 | PyObject *resultobj = 0; | |
10752 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10753 | wxFrameManager *arg2 = (wxFrameManager *) 0 ; | |
10754 | wxPaneInfo *arg3 = 0 ; | |
10755 | int arg4 = (int) wxID_ANY ; | |
9b940138 | 10756 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
27e45892 RD |
10757 | wxFloatingPane *result = 0 ; |
10758 | void *argp1 = 0 ; | |
10759 | int res1 = 0 ; | |
10760 | void *argp2 = 0 ; | |
10761 | int res2 = 0 ; | |
10762 | void *argp3 = 0 ; | |
10763 | int res3 = 0 ; | |
10764 | int val4 ; | |
10765 | int ecode4 = 0 ; | |
9b940138 RD |
10766 | long val5 ; |
10767 | int ecode5 = 0 ; | |
27e45892 RD |
10768 | PyObject * obj0 = 0 ; |
10769 | PyObject * obj1 = 0 ; | |
10770 | PyObject * obj2 = 0 ; | |
10771 | PyObject * obj3 = 0 ; | |
9b940138 | 10772 | PyObject * obj4 = 0 ; |
27e45892 | 10773 | char * kwnames[] = { |
9b940138 | 10774 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
10775 | }; |
10776 | ||
9b940138 | 10777 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10778 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10779 | if (!SWIG_IsOK(res1)) { | |
10780 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
10781 | } | |
10782 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
10783 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
10784 | if (!SWIG_IsOK(res2)) { | |
10785 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'"); | |
10786 | } | |
10787 | arg2 = reinterpret_cast< wxFrameManager * >(argp2); | |
10788 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
10789 | if (!SWIG_IsOK(res3)) { | |
10790 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
10791 | } | |
10792 | if (!argp3) { | |
10793 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
10794 | } | |
10795 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
10796 | if (obj3) { | |
10797 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10798 | if (!SWIG_IsOK(ecode4)) { | |
10799 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'"); | |
10800 | } | |
10801 | arg4 = static_cast< int >(val4); | |
10802 | } | |
9b940138 RD |
10803 | if (obj4) { |
10804 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
10805 | if (!SWIG_IsOK(ecode5)) { | |
10806 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatingPane" "', expected argument " "5"" of type '" "long""'"); | |
10807 | } | |
10808 | arg5 = static_cast< long >(val5); | |
10809 | } | |
27e45892 RD |
10810 | { |
10811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9b940138 | 10812 | result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
10813 | wxPyEndAllowThreads(__tstate); |
10814 | if (PyErr_Occurred()) SWIG_fail; | |
10815 | } | |
10816 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 ); | |
10817 | return resultobj; | |
10818 | fail: | |
10819 | return NULL; | |
10820 | } | |
10821 | ||
10822 | ||
10823 | SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10824 | PyObject *resultobj = 0; | |
10825 | wxFloatingPane *arg1 = (wxFloatingPane *) 0 ; | |
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_wxFloatingPane, SWIG_POINTER_DISOWN | 0 ); | |
10833 | if (!SWIG_IsOK(res1)) { | |
10834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'"); | |
10835 | } | |
10836 | arg1 = reinterpret_cast< wxFloatingPane * >(argp1); | |
10837 | { | |
10838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10839 | delete arg1; | |
10840 | ||
10841 | wxPyEndAllowThreads(__tstate); | |
10842 | if (PyErr_Occurred()) SWIG_fail; | |
10843 | } | |
10844 | resultobj = SWIG_Py_Void(); | |
10845 | return resultobj; | |
10846 | fail: | |
10847 | return NULL; | |
10848 | } | |
10849 | ||
10850 | ||
10851 | SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10852 | PyObject *resultobj = 0; | |
10853 | wxFloatingPane *arg1 = (wxFloatingPane *) 0 ; | |
10854 | wxPaneInfo *arg2 = 0 ; | |
10855 | void *argp1 = 0 ; | |
10856 | int res1 = 0 ; | |
10857 | void *argp2 = 0 ; | |
10858 | int res2 = 0 ; | |
10859 | PyObject * obj0 = 0 ; | |
10860 | PyObject * obj1 = 0 ; | |
10861 | char * kwnames[] = { | |
10862 | (char *) "self",(char *) "pane", NULL | |
10863 | }; | |
10864 | ||
10865 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
10866 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 ); | |
10867 | if (!SWIG_IsOK(res1)) { | |
10868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'"); | |
10869 | } | |
10870 | arg1 = reinterpret_cast< wxFloatingPane * >(argp1); | |
10871 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
10872 | if (!SWIG_IsOK(res2)) { | |
10873 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'"); | |
10874 | } | |
10875 | if (!argp2) { | |
10876 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'"); | |
10877 | } | |
10878 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
10879 | { | |
10880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10881 | (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2); | |
10882 | wxPyEndAllowThreads(__tstate); | |
10883 | if (PyErr_Occurred()) SWIG_fail; | |
10884 | } | |
10885 | resultobj = SWIG_Py_Void(); | |
10886 | return resultobj; | |
10887 | fail: | |
10888 | return NULL; | |
10889 | } | |
10890 | ||
10891 | ||
10892 | SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10893 | PyObject *obj; | |
10894 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10895 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj)); | |
10896 | return SWIG_Py_Void(); | |
10897 | } | |
10898 | ||
10899 | SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10900 | return SWIG_Python_InitShadowInstance(args); | |
10901 | } | |
10902 | ||
1eeb270e RD |
10903 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10904 | PyObject *resultobj = 0; | |
10905 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
10906 | int arg2 = (int) 0 ; | |
10907 | wxAuiNotebookEvent *result = 0 ; | |
10908 | int val1 ; | |
10909 | int ecode1 = 0 ; | |
10910 | int val2 ; | |
10911 | int ecode2 = 0 ; | |
10912 | PyObject * obj0 = 0 ; | |
10913 | PyObject * obj1 = 0 ; | |
10914 | char * kwnames[] = { | |
10915 | (char *) "command_type",(char *) "win_id", NULL | |
10916 | }; | |
10917 | ||
10918 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
10919 | if (obj0) { | |
10920 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
10921 | if (!SWIG_IsOK(ecode1)) { | |
10922 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
10923 | } | |
10924 | arg1 = static_cast< wxEventType >(val1); | |
10925 | } | |
10926 | if (obj1) { | |
10927 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10928 | if (!SWIG_IsOK(ecode2)) { | |
10929 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
10930 | } | |
10931 | arg2 = static_cast< int >(val2); | |
10932 | } | |
10933 | { | |
10934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10935 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); | |
10936 | wxPyEndAllowThreads(__tstate); | |
10937 | if (PyErr_Occurred()) SWIG_fail; | |
10938 | } | |
10939 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); | |
10940 | return resultobj; | |
10941 | fail: | |
10942 | return NULL; | |
27e45892 RD |
10943 | } |
10944 | ||
1eeb270e RD |
10945 | |
10946 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10947 | PyObject *resultobj = 0; | |
10948 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10949 | int arg2 ; | |
10950 | void *argp1 = 0 ; | |
10951 | int res1 = 0 ; | |
10952 | int val2 ; | |
10953 | int ecode2 = 0 ; | |
10954 | PyObject * obj0 = 0 ; | |
10955 | PyObject * obj1 = 0 ; | |
10956 | char * kwnames[] = { | |
10957 | (char *) "self",(char *) "s", NULL | |
10958 | }; | |
10959 | ||
10960 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
10961 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
10962 | if (!SWIG_IsOK(res1)) { | |
10963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
10964 | } | |
10965 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
10966 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10967 | if (!SWIG_IsOK(ecode2)) { | |
10968 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
10969 | } | |
10970 | arg2 = static_cast< int >(val2); | |
10971 | { | |
10972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10973 | (arg1)->SetSelection(arg2); | |
10974 | wxPyEndAllowThreads(__tstate); | |
10975 | if (PyErr_Occurred()) SWIG_fail; | |
10976 | } | |
10977 | resultobj = SWIG_Py_Void(); | |
10978 | return resultobj; | |
10979 | fail: | |
10980 | return NULL; | |
10981 | } | |
10982 | ||
10983 | ||
10984 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10985 | PyObject *resultobj = 0; | |
10986 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
10987 | int arg2 ; | |
10988 | void *argp1 = 0 ; | |
10989 | int res1 = 0 ; | |
10990 | int val2 ; | |
10991 | int ecode2 = 0 ; | |
10992 | PyObject * obj0 = 0 ; | |
10993 | PyObject * obj1 = 0 ; | |
10994 | char * kwnames[] = { | |
10995 | (char *) "self",(char *) "s", NULL | |
10996 | }; | |
10997 | ||
10998 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
10999 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11000 | if (!SWIG_IsOK(res1)) { | |
11001 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11002 | } | |
11003 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11004 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11005 | if (!SWIG_IsOK(ecode2)) { | |
11006 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11007 | } | |
11008 | arg2 = static_cast< int >(val2); | |
11009 | { | |
11010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11011 | (arg1)->SetOldSelection(arg2); | |
11012 | wxPyEndAllowThreads(__tstate); | |
11013 | if (PyErr_Occurred()) SWIG_fail; | |
11014 | } | |
11015 | resultobj = SWIG_Py_Void(); | |
11016 | return resultobj; | |
11017 | fail: | |
11018 | return NULL; | |
11019 | } | |
11020 | ||
11021 | ||
11022 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11023 | PyObject *resultobj = 0; | |
11024 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11025 | int result; | |
11026 | void *argp1 = 0 ; | |
11027 | int res1 = 0 ; | |
11028 | PyObject *swig_obj[1] ; | |
11029 | ||
11030 | if (!args) SWIG_fail; | |
11031 | swig_obj[0] = args; | |
11032 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11033 | if (!SWIG_IsOK(res1)) { | |
11034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
11035 | } | |
11036 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11037 | { | |
11038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11039 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); | |
11040 | wxPyEndAllowThreads(__tstate); | |
11041 | if (PyErr_Occurred()) SWIG_fail; | |
11042 | } | |
11043 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11044 | return resultobj; | |
11045 | fail: | |
11046 | return NULL; | |
11047 | } | |
11048 | ||
11049 | ||
11050 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11051 | PyObject *resultobj = 0; | |
11052 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11053 | int result; | |
11054 | void *argp1 = 0 ; | |
11055 | int res1 = 0 ; | |
11056 | PyObject *swig_obj[1] ; | |
11057 | ||
11058 | if (!args) SWIG_fail; | |
11059 | swig_obj[0] = args; | |
11060 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11061 | if (!SWIG_IsOK(res1)) { | |
11062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
11063 | } | |
11064 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11065 | { | |
11066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11067 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); | |
11068 | wxPyEndAllowThreads(__tstate); | |
11069 | if (PyErr_Occurred()) SWIG_fail; | |
11070 | } | |
11071 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11072 | return resultobj; | |
11073 | fail: | |
11074 | return NULL; | |
11075 | } | |
11076 | ||
11077 | ||
11078 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11079 | PyObject *resultobj = 0; | |
11080 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11081 | int arg2 ; | |
11082 | void *argp1 = 0 ; | |
11083 | int res1 = 0 ; | |
11084 | int val2 ; | |
11085 | int ecode2 = 0 ; | |
11086 | PyObject *swig_obj[2] ; | |
11087 | ||
11088 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; | |
11089 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11090 | if (!SWIG_IsOK(res1)) { | |
11091 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11092 | } | |
11093 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11094 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11095 | if (!SWIG_IsOK(ecode2)) { | |
11096 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
11097 | } | |
11098 | arg2 = static_cast< int >(val2); | |
11099 | if (arg1) (arg1)->old_selection = arg2; | |
11100 | ||
11101 | resultobj = SWIG_Py_Void(); | |
11102 | return resultobj; | |
11103 | fail: | |
11104 | return NULL; | |
11105 | } | |
11106 | ||
11107 | ||
11108 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11109 | PyObject *resultobj = 0; | |
11110 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11111 | int result; | |
11112 | void *argp1 = 0 ; | |
11113 | int res1 = 0 ; | |
11114 | PyObject *swig_obj[1] ; | |
11115 | ||
11116 | if (!args) SWIG_fail; | |
11117 | swig_obj[0] = args; | |
11118 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11119 | if (!SWIG_IsOK(res1)) { | |
11120 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11121 | } | |
11122 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11123 | result = (int) ((arg1)->old_selection); | |
11124 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11125 | return resultobj; | |
11126 | fail: | |
11127 | return NULL; | |
11128 | } | |
11129 | ||
11130 | ||
11131 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11132 | PyObject *resultobj = 0; | |
11133 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11134 | int arg2 ; | |
11135 | void *argp1 = 0 ; | |
11136 | int res1 = 0 ; | |
11137 | int val2 ; | |
11138 | int ecode2 = 0 ; | |
11139 | PyObject *swig_obj[2] ; | |
11140 | ||
11141 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
11142 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11143 | if (!SWIG_IsOK(res1)) { | |
11144 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11145 | } | |
11146 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11147 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11148 | if (!SWIG_IsOK(ecode2)) { | |
11149 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
11150 | } | |
11151 | arg2 = static_cast< int >(val2); | |
11152 | if (arg1) (arg1)->selection = arg2; | |
11153 | ||
11154 | resultobj = SWIG_Py_Void(); | |
11155 | return resultobj; | |
11156 | fail: | |
11157 | return NULL; | |
11158 | } | |
11159 | ||
11160 | ||
11161 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11162 | PyObject *resultobj = 0; | |
11163 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11164 | int result; | |
11165 | void *argp1 = 0 ; | |
11166 | int res1 = 0 ; | |
11167 | PyObject *swig_obj[1] ; | |
11168 | ||
11169 | if (!args) SWIG_fail; | |
11170 | swig_obj[0] = args; | |
11171 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11172 | if (!SWIG_IsOK(res1)) { | |
11173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11174 | } | |
11175 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11176 | result = (int) ((arg1)->selection); | |
11177 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11178 | return resultobj; | |
11179 | fail: | |
11180 | return NULL; | |
11181 | } | |
11182 | ||
11183 | ||
11184 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11185 | PyObject *obj; | |
11186 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11187 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
11188 | return SWIG_Py_Void(); | |
11189 | } | |
11190 | ||
11191 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11192 | return SWIG_Python_InitShadowInstance(args); | |
11193 | } | |
11194 | ||
11195 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11196 | PyObject *resultobj = 0; | |
11197 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11198 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11199 | void *argp1 = 0 ; | |
11200 | int res1 = 0 ; | |
11201 | void *argp2 = 0 ; | |
11202 | int res2 = 0 ; | |
11203 | PyObject *swig_obj[2] ; | |
11204 | ||
11205 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; | |
11206 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11207 | if (!SWIG_IsOK(res1)) { | |
11208 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11209 | } | |
11210 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11211 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
11212 | if (!SWIG_IsOK(res2)) { | |
11213 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11214 | } | |
11215 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11216 | if (arg1) (arg1)->window = arg2; | |
11217 | ||
11218 | resultobj = SWIG_Py_Void(); | |
11219 | return resultobj; | |
11220 | fail: | |
11221 | return NULL; | |
11222 | } | |
11223 | ||
11224 | ||
11225 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11226 | PyObject *resultobj = 0; | |
11227 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11228 | wxWindow *result = 0 ; | |
11229 | void *argp1 = 0 ; | |
11230 | int res1 = 0 ; | |
11231 | PyObject *swig_obj[1] ; | |
11232 | ||
11233 | if (!args) SWIG_fail; | |
11234 | swig_obj[0] = args; | |
11235 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11236 | if (!SWIG_IsOK(res1)) { | |
11237 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11238 | } | |
11239 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11240 | result = (wxWindow *) ((arg1)->window); | |
11241 | { | |
11242 | resultobj = wxPyMake_wxObject(result, 0); | |
11243 | } | |
11244 | return resultobj; | |
11245 | fail: | |
11246 | return NULL; | |
11247 | } | |
11248 | ||
11249 | ||
11250 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11251 | PyObject *resultobj = 0; | |
11252 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11253 | wxString *arg2 = (wxString *) 0 ; | |
11254 | void *argp1 = 0 ; | |
11255 | int res1 = 0 ; | |
11256 | bool temp2 = false ; | |
11257 | PyObject *swig_obj[2] ; | |
11258 | ||
11259 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; | |
11260 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11261 | if (!SWIG_IsOK(res1)) { | |
11262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11263 | } | |
11264 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11265 | { | |
11266 | arg2 = wxString_in_helper(swig_obj[1]); | |
11267 | if (arg2 == NULL) SWIG_fail; | |
11268 | temp2 = true; | |
11269 | } | |
11270 | if (arg1) (arg1)->caption = *arg2; | |
11271 | ||
11272 | resultobj = SWIG_Py_Void(); | |
11273 | { | |
11274 | if (temp2) | |
11275 | delete arg2; | |
11276 | } | |
11277 | return resultobj; | |
11278 | fail: | |
11279 | { | |
11280 | if (temp2) | |
11281 | delete arg2; | |
11282 | } | |
11283 | return NULL; | |
11284 | } | |
11285 | ||
11286 | ||
11287 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11288 | PyObject *resultobj = 0; | |
11289 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11290 | wxString *result = 0 ; | |
11291 | void *argp1 = 0 ; | |
11292 | int res1 = 0 ; | |
11293 | PyObject *swig_obj[1] ; | |
11294 | ||
11295 | if (!args) SWIG_fail; | |
11296 | swig_obj[0] = args; | |
11297 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11298 | if (!SWIG_IsOK(res1)) { | |
11299 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11300 | } | |
11301 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11302 | result = (wxString *)& ((arg1)->caption); | |
11303 | { | |
11304 | #if wxUSE_UNICODE | |
11305 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
11306 | #else | |
11307 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
11308 | #endif | |
11309 | } | |
11310 | return resultobj; | |
11311 | fail: | |
11312 | return NULL; | |
11313 | } | |
11314 | ||
11315 | ||
11316 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11317 | PyObject *resultobj = 0; | |
11318 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11319 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
11320 | void *argp1 = 0 ; | |
11321 | int res1 = 0 ; | |
11322 | void *argp2 = 0 ; | |
11323 | int res2 = 0 ; | |
11324 | PyObject *swig_obj[2] ; | |
11325 | ||
11326 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
11327 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11328 | if (!SWIG_IsOK(res1)) { | |
11329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11330 | } | |
11331 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11332 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11333 | if (!SWIG_IsOK(res2)) { | |
11334 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
11335 | } | |
11336 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
11337 | if (arg1) (arg1)->bitmap = *arg2; | |
11338 | ||
11339 | resultobj = SWIG_Py_Void(); | |
11340 | return resultobj; | |
11341 | fail: | |
11342 | return NULL; | |
11343 | } | |
11344 | ||
11345 | ||
11346 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11347 | PyObject *resultobj = 0; | |
11348 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11349 | wxBitmap *result = 0 ; | |
11350 | void *argp1 = 0 ; | |
11351 | int res1 = 0 ; | |
11352 | PyObject *swig_obj[1] ; | |
11353 | ||
11354 | if (!args) SWIG_fail; | |
11355 | swig_obj[0] = args; | |
11356 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11357 | if (!SWIG_IsOK(res1)) { | |
11358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11359 | } | |
11360 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11361 | result = (wxBitmap *)& ((arg1)->bitmap); | |
11362 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11363 | return resultobj; | |
11364 | fail: | |
11365 | return NULL; | |
11366 | } | |
11367 | ||
11368 | ||
11369 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11370 | PyObject *resultobj = 0; | |
11371 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11372 | wxRect *arg2 = (wxRect *) 0 ; | |
11373 | void *argp1 = 0 ; | |
11374 | int res1 = 0 ; | |
11375 | void *argp2 = 0 ; | |
11376 | int res2 = 0 ; | |
11377 | PyObject *swig_obj[2] ; | |
11378 | ||
11379 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; | |
11380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11381 | if (!SWIG_IsOK(res1)) { | |
11382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11383 | } | |
11384 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11385 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11386 | if (!SWIG_IsOK(res2)) { | |
11387 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
11388 | } | |
11389 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
11390 | if (arg1) (arg1)->rect = *arg2; | |
11391 | ||
11392 | resultobj = SWIG_Py_Void(); | |
11393 | return resultobj; | |
11394 | fail: | |
11395 | return NULL; | |
11396 | } | |
11397 | ||
11398 | ||
11399 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11400 | PyObject *resultobj = 0; | |
11401 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11402 | wxRect *result = 0 ; | |
11403 | void *argp1 = 0 ; | |
11404 | int res1 = 0 ; | |
11405 | PyObject *swig_obj[1] ; | |
11406 | ||
11407 | if (!args) SWIG_fail; | |
11408 | swig_obj[0] = args; | |
11409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11410 | if (!SWIG_IsOK(res1)) { | |
11411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11412 | } | |
11413 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11414 | result = (wxRect *)& ((arg1)->rect); | |
11415 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
11416 | return resultobj; | |
11417 | fail: | |
11418 | return NULL; | |
11419 | } | |
11420 | ||
11421 | ||
11422 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11423 | PyObject *resultobj = 0; | |
11424 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11425 | bool arg2 ; | |
11426 | void *argp1 = 0 ; | |
11427 | int res1 = 0 ; | |
11428 | bool val2 ; | |
11429 | int ecode2 = 0 ; | |
11430 | PyObject *swig_obj[2] ; | |
11431 | ||
11432 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; | |
11433 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11434 | if (!SWIG_IsOK(res1)) { | |
11435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11436 | } | |
11437 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11438 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
11439 | if (!SWIG_IsOK(ecode2)) { | |
11440 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); | |
11441 | } | |
11442 | arg2 = static_cast< bool >(val2); | |
11443 | if (arg1) (arg1)->active = arg2; | |
11444 | ||
11445 | resultobj = SWIG_Py_Void(); | |
11446 | return resultobj; | |
11447 | fail: | |
11448 | return NULL; | |
11449 | } | |
11450 | ||
11451 | ||
11452 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11453 | PyObject *resultobj = 0; | |
11454 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11455 | bool result; | |
11456 | void *argp1 = 0 ; | |
11457 | int res1 = 0 ; | |
11458 | PyObject *swig_obj[1] ; | |
11459 | ||
11460 | if (!args) SWIG_fail; | |
11461 | swig_obj[0] = args; | |
11462 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11463 | if (!SWIG_IsOK(res1)) { | |
11464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11465 | } | |
11466 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11467 | result = (bool) ((arg1)->active); | |
11468 | { | |
11469 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11470 | } | |
11471 | return resultobj; | |
11472 | fail: | |
11473 | return NULL; | |
11474 | } | |
11475 | ||
11476 | ||
11477 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11478 | PyObject *obj; | |
11479 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11480 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
11481 | return SWIG_Py_Void(); | |
11482 | } | |
11483 | ||
11484 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11485 | PyObject *resultobj = 0; | |
11486 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11487 | int arg2 ; | |
11488 | void *argp1 = 0 ; | |
11489 | int res1 = 0 ; | |
11490 | int val2 ; | |
11491 | int ecode2 = 0 ; | |
11492 | PyObject *swig_obj[2] ; | |
11493 | ||
11494 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; | |
11495 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11496 | if (!SWIG_IsOK(res1)) { | |
11497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11498 | } | |
11499 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11500 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11501 | if (!SWIG_IsOK(ecode2)) { | |
11502 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); | |
11503 | } | |
11504 | arg2 = static_cast< int >(val2); | |
11505 | if (arg1) (arg1)->id = arg2; | |
11506 | ||
11507 | resultobj = SWIG_Py_Void(); | |
11508 | return resultobj; | |
11509 | fail: | |
11510 | return NULL; | |
11511 | } | |
11512 | ||
11513 | ||
11514 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11515 | PyObject *resultobj = 0; | |
11516 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11517 | int result; | |
11518 | void *argp1 = 0 ; | |
11519 | int res1 = 0 ; | |
11520 | PyObject *swig_obj[1] ; | |
11521 | ||
11522 | if (!args) SWIG_fail; | |
11523 | swig_obj[0] = args; | |
11524 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11525 | if (!SWIG_IsOK(res1)) { | |
11526 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11527 | } | |
11528 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11529 | result = (int) ((arg1)->id); | |
11530 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11531 | return resultobj; | |
11532 | fail: | |
11533 | return NULL; | |
11534 | } | |
11535 | ||
11536 | ||
11537 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11538 | PyObject *resultobj = 0; | |
11539 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11540 | int arg2 ; | |
11541 | void *argp1 = 0 ; | |
11542 | int res1 = 0 ; | |
11543 | int val2 ; | |
11544 | int ecode2 = 0 ; | |
11545 | PyObject *swig_obj[2] ; | |
11546 | ||
11547 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; | |
11548 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11549 | if (!SWIG_IsOK(res1)) { | |
11550 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11551 | } | |
11552 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11553 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11554 | if (!SWIG_IsOK(ecode2)) { | |
11555 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
11556 | } | |
11557 | arg2 = static_cast< int >(val2); | |
11558 | if (arg1) (arg1)->cur_state = arg2; | |
11559 | ||
11560 | resultobj = SWIG_Py_Void(); | |
11561 | return resultobj; | |
11562 | fail: | |
11563 | return NULL; | |
11564 | } | |
11565 | ||
11566 | ||
11567 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11568 | PyObject *resultobj = 0; | |
11569 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11570 | int result; | |
11571 | void *argp1 = 0 ; | |
11572 | int res1 = 0 ; | |
11573 | PyObject *swig_obj[1] ; | |
11574 | ||
11575 | if (!args) SWIG_fail; | |
11576 | swig_obj[0] = args; | |
11577 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11578 | if (!SWIG_IsOK(res1)) { | |
11579 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11580 | } | |
11581 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11582 | result = (int) ((arg1)->cur_state); | |
11583 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11584 | return resultobj; | |
11585 | fail: | |
11586 | return NULL; | |
11587 | } | |
11588 | ||
11589 | ||
11590 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11591 | PyObject *resultobj = 0; | |
11592 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11593 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
11594 | void *argp1 = 0 ; | |
11595 | int res1 = 0 ; | |
11596 | void *argp2 = 0 ; | |
11597 | int res2 = 0 ; | |
11598 | PyObject *swig_obj[2] ; | |
11599 | ||
11600 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
11601 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11602 | if (!SWIG_IsOK(res1)) { | |
11603 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11604 | } | |
11605 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11606 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11607 | if (!SWIG_IsOK(res2)) { | |
11608 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
11609 | } | |
11610 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
11611 | if (arg1) (arg1)->bitmap = *arg2; | |
11612 | ||
11613 | resultobj = SWIG_Py_Void(); | |
11614 | return resultobj; | |
11615 | fail: | |
11616 | return NULL; | |
11617 | } | |
11618 | ||
11619 | ||
11620 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11621 | PyObject *resultobj = 0; | |
11622 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11623 | wxBitmap *result = 0 ; | |
11624 | void *argp1 = 0 ; | |
11625 | int res1 = 0 ; | |
11626 | PyObject *swig_obj[1] ; | |
11627 | ||
11628 | if (!args) SWIG_fail; | |
11629 | swig_obj[0] = args; | |
11630 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11631 | if (!SWIG_IsOK(res1)) { | |
11632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11633 | } | |
11634 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11635 | result = (wxBitmap *)& ((arg1)->bitmap); | |
11636 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11637 | return resultobj; | |
11638 | fail: | |
11639 | return NULL; | |
11640 | } | |
11641 | ||
11642 | ||
11643 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11644 | PyObject *resultobj = 0; | |
11645 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11646 | wxRect *arg2 = (wxRect *) 0 ; | |
11647 | void *argp1 = 0 ; | |
11648 | int res1 = 0 ; | |
11649 | void *argp2 = 0 ; | |
11650 | int res2 = 0 ; | |
11651 | PyObject *swig_obj[2] ; | |
11652 | ||
11653 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; | |
11654 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11655 | if (!SWIG_IsOK(res1)) { | |
11656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11657 | } | |
11658 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11659 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11660 | if (!SWIG_IsOK(res2)) { | |
11661 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
11662 | } | |
11663 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
11664 | if (arg1) (arg1)->rect = *arg2; | |
11665 | ||
11666 | resultobj = SWIG_Py_Void(); | |
11667 | return resultobj; | |
11668 | fail: | |
11669 | return NULL; | |
11670 | } | |
11671 | ||
11672 | ||
11673 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11674 | PyObject *resultobj = 0; | |
11675 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
11676 | wxRect *result = 0 ; | |
11677 | void *argp1 = 0 ; | |
11678 | int res1 = 0 ; | |
11679 | PyObject *swig_obj[1] ; | |
11680 | ||
11681 | if (!args) SWIG_fail; | |
11682 | swig_obj[0] = args; | |
11683 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
11684 | if (!SWIG_IsOK(res1)) { | |
11685 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
11686 | } | |
11687 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
11688 | result = (wxRect *)& ((arg1)->rect); | |
11689 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
11690 | return resultobj; | |
11691 | fail: | |
11692 | return NULL; | |
11693 | } | |
11694 | ||
11695 | ||
11696 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11697 | PyObject *obj; | |
11698 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11699 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
11700 | return SWIG_Py_Void(); | |
11701 | } | |
11702 | ||
11703 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11704 | PyObject *resultobj = 0; | |
11705 | wxAuiTabContainer *result = 0 ; | |
11706 | ||
11707 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
11708 | { | |
11709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11710 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
11711 | wxPyEndAllowThreads(__tstate); | |
11712 | if (PyErr_Occurred()) SWIG_fail; | |
11713 | } | |
11714 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
11715 | return resultobj; | |
11716 | fail: | |
11717 | return NULL; | |
11718 | } | |
11719 | ||
11720 | ||
11721 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11722 | PyObject *resultobj = 0; | |
11723 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11724 | void *argp1 = 0 ; | |
11725 | int res1 = 0 ; | |
11726 | PyObject *swig_obj[1] ; | |
11727 | ||
11728 | if (!args) SWIG_fail; | |
11729 | swig_obj[0] = args; | |
11730 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
11731 | if (!SWIG_IsOK(res1)) { | |
11732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11733 | } | |
11734 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11735 | { | |
11736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11737 | delete arg1; | |
11738 | ||
11739 | wxPyEndAllowThreads(__tstate); | |
11740 | if (PyErr_Occurred()) SWIG_fail; | |
11741 | } | |
11742 | resultobj = SWIG_Py_Void(); | |
11743 | return resultobj; | |
11744 | fail: | |
11745 | return NULL; | |
11746 | } | |
11747 | ||
11748 | ||
11749 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11750 | PyObject *resultobj = 0; | |
11751 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11752 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11753 | wxAuiNotebookPage *arg3 = 0 ; | |
11754 | bool result; | |
11755 | void *argp1 = 0 ; | |
11756 | int res1 = 0 ; | |
11757 | void *argp2 = 0 ; | |
11758 | int res2 = 0 ; | |
11759 | void *argp3 = 0 ; | |
11760 | int res3 = 0 ; | |
11761 | PyObject * obj0 = 0 ; | |
11762 | PyObject * obj1 = 0 ; | |
11763 | PyObject * obj2 = 0 ; | |
11764 | char * kwnames[] = { | |
11765 | (char *) "self",(char *) "page",(char *) "info", NULL | |
11766 | }; | |
11767 | ||
11768 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11769 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11770 | if (!SWIG_IsOK(res1)) { | |
11771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11772 | } | |
11773 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11774 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11775 | if (!SWIG_IsOK(res2)) { | |
11776 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11777 | } | |
11778 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11779 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
11780 | if (!SWIG_IsOK(res3)) { | |
11781 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11782 | } | |
11783 | if (!argp3) { | |
11784 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11785 | } | |
11786 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
11787 | { | |
11788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11789 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
11790 | wxPyEndAllowThreads(__tstate); | |
11791 | if (PyErr_Occurred()) SWIG_fail; | |
11792 | } | |
11793 | { | |
11794 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11795 | } | |
11796 | return resultobj; | |
11797 | fail: | |
11798 | return NULL; | |
11799 | } | |
11800 | ||
11801 | ||
11802 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11803 | PyObject *resultobj = 0; | |
11804 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11805 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11806 | wxAuiNotebookPage *arg3 = 0 ; | |
11807 | size_t arg4 ; | |
11808 | bool result; | |
11809 | void *argp1 = 0 ; | |
11810 | int res1 = 0 ; | |
11811 | void *argp2 = 0 ; | |
11812 | int res2 = 0 ; | |
11813 | void *argp3 = 0 ; | |
11814 | int res3 = 0 ; | |
11815 | size_t val4 ; | |
11816 | int ecode4 = 0 ; | |
11817 | PyObject * obj0 = 0 ; | |
11818 | PyObject * obj1 = 0 ; | |
11819 | PyObject * obj2 = 0 ; | |
11820 | PyObject * obj3 = 0 ; | |
11821 | char * kwnames[] = { | |
11822 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
11823 | }; | |
11824 | ||
11825 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11826 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11827 | if (!SWIG_IsOK(res1)) { | |
11828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11829 | } | |
11830 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11831 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11832 | if (!SWIG_IsOK(res2)) { | |
11833 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11834 | } | |
11835 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11836 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
11837 | if (!SWIG_IsOK(res3)) { | |
11838 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11839 | } | |
11840 | if (!argp3) { | |
11841 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
11842 | } | |
11843 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
11844 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
11845 | if (!SWIG_IsOK(ecode4)) { | |
11846 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
11847 | } | |
11848 | arg4 = static_cast< size_t >(val4); | |
11849 | { | |
11850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11851 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
11852 | wxPyEndAllowThreads(__tstate); | |
11853 | if (PyErr_Occurred()) SWIG_fail; | |
11854 | } | |
11855 | { | |
11856 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11857 | } | |
11858 | return resultobj; | |
11859 | fail: | |
11860 | return NULL; | |
11861 | } | |
11862 | ||
11863 | ||
11864 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11865 | PyObject *resultobj = 0; | |
11866 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11867 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11868 | bool result; | |
11869 | void *argp1 = 0 ; | |
11870 | int res1 = 0 ; | |
11871 | void *argp2 = 0 ; | |
11872 | int res2 = 0 ; | |
11873 | PyObject * obj0 = 0 ; | |
11874 | PyObject * obj1 = 0 ; | |
11875 | char * kwnames[] = { | |
11876 | (char *) "self",(char *) "page", NULL | |
11877 | }; | |
11878 | ||
11879 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
11880 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11881 | if (!SWIG_IsOK(res1)) { | |
11882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11883 | } | |
11884 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11885 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11886 | if (!SWIG_IsOK(res2)) { | |
11887 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11888 | } | |
11889 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11890 | { | |
11891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11892 | result = (bool)(arg1)->RemovePage(arg2); | |
11893 | wxPyEndAllowThreads(__tstate); | |
11894 | if (PyErr_Occurred()) SWIG_fail; | |
11895 | } | |
11896 | { | |
11897 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11898 | } | |
11899 | return resultobj; | |
11900 | fail: | |
11901 | return NULL; | |
11902 | } | |
11903 | ||
11904 | ||
11905 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
11906 | PyObject *resultobj = 0; | |
11907 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11908 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11909 | bool result; | |
11910 | void *argp1 = 0 ; | |
11911 | int res1 = 0 ; | |
11912 | void *argp2 = 0 ; | |
11913 | int res2 = 0 ; | |
11914 | ||
11915 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
11916 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11917 | if (!SWIG_IsOK(res1)) { | |
11918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11919 | } | |
11920 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11921 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11922 | if (!SWIG_IsOK(res2)) { | |
11923 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11924 | } | |
11925 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11926 | { | |
11927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11928 | result = (bool)(arg1)->SetActivePage(arg2); | |
11929 | wxPyEndAllowThreads(__tstate); | |
11930 | if (PyErr_Occurred()) SWIG_fail; | |
11931 | } | |
11932 | { | |
11933 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11934 | } | |
11935 | return resultobj; | |
11936 | fail: | |
11937 | return NULL; | |
11938 | } | |
11939 | ||
11940 | ||
11941 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
11942 | PyObject *resultobj = 0; | |
11943 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
11944 | size_t arg2 ; | |
11945 | bool result; | |
11946 | void *argp1 = 0 ; | |
11947 | int res1 = 0 ; | |
11948 | size_t val2 ; | |
11949 | int ecode2 = 0 ; | |
11950 | ||
11951 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
11952 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
11953 | if (!SWIG_IsOK(res1)) { | |
11954 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
11955 | } | |
11956 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
11957 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
11958 | if (!SWIG_IsOK(ecode2)) { | |
11959 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
11960 | } | |
11961 | arg2 = static_cast< size_t >(val2); | |
11962 | { | |
11963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11964 | result = (bool)(arg1)->SetActivePage(arg2); | |
11965 | wxPyEndAllowThreads(__tstate); | |
11966 | if (PyErr_Occurred()) SWIG_fail; | |
11967 | } | |
11968 | { | |
11969 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11970 | } | |
11971 | return resultobj; | |
11972 | fail: | |
11973 | return NULL; | |
11974 | } | |
11975 | ||
11976 | ||
11977 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
11978 | int argc; | |
11979 | PyObject *argv[3]; | |
11980 | ||
11981 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
11982 | --argc; | |
11983 | if (argc == 2) { | |
11984 | int _v = 0; | |
11985 | { | |
11986 | void *vptr = 0; | |
11987 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
11988 | _v = SWIG_CheckState(res); | |
11989 | } | |
11990 | if (!_v) goto check_1; | |
11991 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
11992 | } | |
11993 | check_1: | |
11994 | ||
11995 | if (argc == 2) { | |
11996 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
11997 | } | |
11998 | ||
11999 | fail: | |
12000 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
12001 | return NULL; | |
12002 | } | |
12003 | ||
12004 | ||
12005 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12006 | PyObject *resultobj = 0; | |
12007 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12008 | void *argp1 = 0 ; | |
12009 | int res1 = 0 ; | |
12010 | PyObject *swig_obj[1] ; | |
12011 | ||
12012 | if (!args) SWIG_fail; | |
12013 | swig_obj[0] = args; | |
12014 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12015 | if (!SWIG_IsOK(res1)) { | |
12016 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12017 | } | |
12018 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12019 | { | |
12020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12021 | (arg1)->SetNoneActive(); | |
12022 | wxPyEndAllowThreads(__tstate); | |
12023 | if (PyErr_Occurred()) SWIG_fail; | |
12024 | } | |
12025 | resultobj = SWIG_Py_Void(); | |
12026 | return resultobj; | |
12027 | fail: | |
12028 | return NULL; | |
12029 | } | |
12030 | ||
12031 | ||
12032 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12033 | PyObject *resultobj = 0; | |
12034 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12035 | int result; | |
12036 | void *argp1 = 0 ; | |
12037 | int res1 = 0 ; | |
12038 | PyObject *swig_obj[1] ; | |
12039 | ||
12040 | if (!args) SWIG_fail; | |
12041 | swig_obj[0] = args; | |
12042 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12043 | if (!SWIG_IsOK(res1)) { | |
12044 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12045 | } | |
12046 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12047 | { | |
12048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12049 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
12050 | wxPyEndAllowThreads(__tstate); | |
12051 | if (PyErr_Occurred()) SWIG_fail; | |
12052 | } | |
12053 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12054 | return resultobj; | |
12055 | fail: | |
12056 | return NULL; | |
12057 | } | |
12058 | ||
12059 | ||
12060 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12061 | PyObject *resultobj = 0; | |
12062 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12063 | int arg2 ; | |
12064 | int arg3 ; | |
12065 | wxWindow **arg4 = (wxWindow **) 0 ; | |
12066 | bool result; | |
12067 | void *argp1 = 0 ; | |
12068 | int res1 = 0 ; | |
12069 | int val2 ; | |
12070 | int ecode2 = 0 ; | |
12071 | int val3 ; | |
12072 | int ecode3 = 0 ; | |
12073 | void *argp4 = 0 ; | |
12074 | int res4 = 0 ; | |
12075 | PyObject * obj0 = 0 ; | |
12076 | PyObject * obj1 = 0 ; | |
12077 | PyObject * obj2 = 0 ; | |
12078 | PyObject * obj3 = 0 ; | |
12079 | char * kwnames[] = { | |
12080 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
12081 | }; | |
12082 | ||
12083 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12084 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12085 | if (!SWIG_IsOK(res1)) { | |
12086 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12087 | } | |
12088 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12089 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12090 | if (!SWIG_IsOK(ecode2)) { | |
12091 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
12092 | } | |
12093 | arg2 = static_cast< int >(val2); | |
12094 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12095 | if (!SWIG_IsOK(ecode3)) { | |
12096 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
12097 | } | |
12098 | arg3 = static_cast< int >(val3); | |
12099 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
12100 | if (!SWIG_IsOK(res4)) { | |
12101 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
12102 | } | |
12103 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
12104 | { | |
12105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12106 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
12107 | wxPyEndAllowThreads(__tstate); | |
12108 | if (PyErr_Occurred()) SWIG_fail; | |
12109 | } | |
12110 | { | |
12111 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12112 | } | |
12113 | return resultobj; | |
12114 | fail: | |
12115 | return NULL; | |
12116 | } | |
12117 | ||
12118 | ||
12119 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12120 | PyObject *resultobj = 0; | |
12121 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12122 | int arg2 ; | |
12123 | int arg3 ; | |
12124 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
12125 | bool result; | |
12126 | void *argp1 = 0 ; | |
12127 | int res1 = 0 ; | |
12128 | int val2 ; | |
12129 | int ecode2 = 0 ; | |
12130 | int val3 ; | |
12131 | int ecode3 = 0 ; | |
12132 | void *argp4 = 0 ; | |
12133 | int res4 = 0 ; | |
12134 | PyObject * obj0 = 0 ; | |
12135 | PyObject * obj1 = 0 ; | |
12136 | PyObject * obj2 = 0 ; | |
12137 | PyObject * obj3 = 0 ; | |
12138 | char * kwnames[] = { | |
12139 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
12140 | }; | |
12141 | ||
12142 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12143 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12144 | if (!SWIG_IsOK(res1)) { | |
12145 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12146 | } | |
12147 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12148 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12149 | if (!SWIG_IsOK(ecode2)) { | |
12150 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
12151 | } | |
12152 | arg2 = static_cast< int >(val2); | |
12153 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12154 | if (!SWIG_IsOK(ecode3)) { | |
12155 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
12156 | } | |
12157 | arg3 = static_cast< int >(val3); | |
12158 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
12159 | if (!SWIG_IsOK(res4)) { | |
12160 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
12161 | } | |
12162 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
12163 | { | |
12164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12165 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
12166 | wxPyEndAllowThreads(__tstate); | |
12167 | if (PyErr_Occurred()) SWIG_fail; | |
12168 | } | |
12169 | { | |
12170 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12171 | } | |
12172 | return resultobj; | |
12173 | fail: | |
12174 | return NULL; | |
12175 | } | |
12176 | ||
12177 | ||
12178 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12179 | PyObject *resultobj = 0; | |
12180 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12181 | size_t arg2 ; | |
12182 | wxWindow *result = 0 ; | |
12183 | void *argp1 = 0 ; | |
12184 | int res1 = 0 ; | |
12185 | size_t val2 ; | |
12186 | int ecode2 = 0 ; | |
12187 | PyObject * obj0 = 0 ; | |
12188 | PyObject * obj1 = 0 ; | |
12189 | char * kwnames[] = { | |
12190 | (char *) "self",(char *) "idx", NULL | |
12191 | }; | |
12192 | ||
12193 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
12194 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12195 | if (!SWIG_IsOK(res1)) { | |
12196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12197 | } | |
12198 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12199 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12200 | if (!SWIG_IsOK(ecode2)) { | |
12201 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
12202 | } | |
12203 | arg2 = static_cast< size_t >(val2); | |
12204 | { | |
12205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12206 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
12207 | wxPyEndAllowThreads(__tstate); | |
12208 | if (PyErr_Occurred()) SWIG_fail; | |
12209 | } | |
12210 | { | |
12211 | resultobj = wxPyMake_wxObject(result, 0); | |
12212 | } | |
12213 | return resultobj; | |
12214 | fail: | |
12215 | return NULL; | |
12216 | } | |
12217 | ||
12218 | ||
12219 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12220 | PyObject *resultobj = 0; | |
12221 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12222 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12223 | int result; | |
12224 | void *argp1 = 0 ; | |
12225 | int res1 = 0 ; | |
12226 | void *argp2 = 0 ; | |
12227 | int res2 = 0 ; | |
12228 | PyObject * obj0 = 0 ; | |
12229 | PyObject * obj1 = 0 ; | |
12230 | char * kwnames[] = { | |
12231 | (char *) "self",(char *) "page", NULL | |
12232 | }; | |
12233 | ||
12234 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
12235 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12236 | if (!SWIG_IsOK(res1)) { | |
12237 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12238 | } | |
12239 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12240 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12241 | if (!SWIG_IsOK(res2)) { | |
12242 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12243 | } | |
12244 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12245 | { | |
12246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12247 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
12248 | wxPyEndAllowThreads(__tstate); | |
12249 | if (PyErr_Occurred()) SWIG_fail; | |
12250 | } | |
12251 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12252 | return resultobj; | |
12253 | fail: | |
12254 | return NULL; | |
12255 | } | |
12256 | ||
12257 | ||
12258 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12259 | PyObject *resultobj = 0; | |
12260 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12261 | size_t result; | |
12262 | void *argp1 = 0 ; | |
12263 | int res1 = 0 ; | |
12264 | PyObject *swig_obj[1] ; | |
12265 | ||
12266 | if (!args) SWIG_fail; | |
12267 | swig_obj[0] = args; | |
12268 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12269 | if (!SWIG_IsOK(res1)) { | |
12270 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12271 | } | |
12272 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12273 | { | |
12274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12275 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
12276 | wxPyEndAllowThreads(__tstate); | |
12277 | if (PyErr_Occurred()) SWIG_fail; | |
12278 | } | |
12279 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
12280 | return resultobj; | |
12281 | fail: | |
12282 | return NULL; | |
12283 | } | |
12284 | ||
12285 | ||
12286 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12287 | PyObject *resultobj = 0; | |
12288 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12289 | size_t arg2 ; | |
12290 | wxAuiNotebookPage *result = 0 ; | |
12291 | void *argp1 = 0 ; | |
12292 | int res1 = 0 ; | |
12293 | size_t val2 ; | |
12294 | int ecode2 = 0 ; | |
12295 | PyObject * obj0 = 0 ; | |
12296 | PyObject * obj1 = 0 ; | |
12297 | char * kwnames[] = { | |
12298 | (char *) "self",(char *) "idx", NULL | |
12299 | }; | |
12300 | ||
12301 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
12302 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12303 | if (!SWIG_IsOK(res1)) { | |
12304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12305 | } | |
12306 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12307 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12308 | if (!SWIG_IsOK(ecode2)) { | |
12309 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
12310 | } | |
12311 | arg2 = static_cast< size_t >(val2); | |
12312 | { | |
12313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12314 | { | |
12315 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
12316 | result = (wxAuiNotebookPage *) &_result_ref; | |
12317 | } | |
12318 | wxPyEndAllowThreads(__tstate); | |
12319 | if (PyErr_Occurred()) SWIG_fail; | |
12320 | } | |
12321 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12322 | return resultobj; | |
12323 | fail: | |
12324 | return NULL; | |
12325 | } | |
12326 | ||
12327 | ||
12328 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12329 | PyObject *resultobj = 0; | |
12330 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12331 | wxAuiNotebookPageArray *result = 0 ; | |
12332 | void *argp1 = 0 ; | |
12333 | int res1 = 0 ; | |
12334 | PyObject *swig_obj[1] ; | |
12335 | ||
12336 | if (!args) SWIG_fail; | |
12337 | swig_obj[0] = args; | |
12338 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12339 | if (!SWIG_IsOK(res1)) { | |
12340 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12341 | } | |
12342 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12343 | { | |
12344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12345 | { | |
12346 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
12347 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
12348 | } | |
12349 | wxPyEndAllowThreads(__tstate); | |
12350 | if (PyErr_Occurred()) SWIG_fail; | |
12351 | } | |
12352 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
12353 | return resultobj; | |
12354 | fail: | |
12355 | return NULL; | |
12356 | } | |
12357 | ||
12358 | ||
12359 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12360 | PyObject *resultobj = 0; | |
12361 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12362 | wxFont *arg2 = 0 ; | |
12363 | void *argp1 = 0 ; | |
12364 | int res1 = 0 ; | |
12365 | void *argp2 = 0 ; | |
12366 | int res2 = 0 ; | |
12367 | PyObject * obj0 = 0 ; | |
12368 | PyObject * obj1 = 0 ; | |
12369 | char * kwnames[] = { | |
12370 | (char *) "self",(char *) "normal_font", NULL | |
12371 | }; | |
12372 | ||
12373 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12374 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12375 | if (!SWIG_IsOK(res1)) { | |
12376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12377 | } | |
12378 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12379 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12380 | if (!SWIG_IsOK(res2)) { | |
12381 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12382 | } | |
12383 | if (!argp2) { | |
12384 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12385 | } | |
12386 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12387 | { | |
12388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12389 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12390 | wxPyEndAllowThreads(__tstate); | |
12391 | if (PyErr_Occurred()) SWIG_fail; | |
12392 | } | |
12393 | resultobj = SWIG_Py_Void(); | |
12394 | return resultobj; | |
12395 | fail: | |
12396 | return NULL; | |
12397 | } | |
12398 | ||
12399 | ||
12400 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12401 | PyObject *resultobj = 0; | |
12402 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12403 | wxFont *arg2 = 0 ; | |
12404 | void *argp1 = 0 ; | |
12405 | int res1 = 0 ; | |
12406 | void *argp2 = 0 ; | |
12407 | int res2 = 0 ; | |
12408 | PyObject * obj0 = 0 ; | |
12409 | PyObject * obj1 = 0 ; | |
12410 | char * kwnames[] = { | |
12411 | (char *) "self",(char *) "selected_font", NULL | |
12412 | }; | |
12413 | ||
12414 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12415 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12416 | if (!SWIG_IsOK(res1)) { | |
12417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12418 | } | |
12419 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12420 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12421 | if (!SWIG_IsOK(res2)) { | |
12422 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12423 | } | |
12424 | if (!argp2) { | |
12425 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12426 | } | |
12427 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12428 | { | |
12429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12430 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12431 | wxPyEndAllowThreads(__tstate); | |
12432 | if (PyErr_Occurred()) SWIG_fail; | |
12433 | } | |
12434 | resultobj = SWIG_Py_Void(); | |
12435 | return resultobj; | |
12436 | fail: | |
12437 | return NULL; | |
12438 | } | |
12439 | ||
12440 | ||
12441 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12442 | PyObject *resultobj = 0; | |
12443 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12444 | wxFont *arg2 = 0 ; | |
12445 | void *argp1 = 0 ; | |
12446 | int res1 = 0 ; | |
12447 | void *argp2 = 0 ; | |
12448 | int res2 = 0 ; | |
12449 | PyObject * obj0 = 0 ; | |
12450 | PyObject * obj1 = 0 ; | |
12451 | char * kwnames[] = { | |
12452 | (char *) "self",(char *) "measuring_font", NULL | |
12453 | }; | |
12454 | ||
12455 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12456 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12457 | if (!SWIG_IsOK(res1)) { | |
12458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12459 | } | |
12460 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12461 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12462 | if (!SWIG_IsOK(res2)) { | |
12463 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12464 | } | |
12465 | if (!argp2) { | |
12466 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12467 | } | |
12468 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12469 | { | |
12470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12471 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
12472 | wxPyEndAllowThreads(__tstate); | |
12473 | if (PyErr_Occurred()) SWIG_fail; | |
12474 | } | |
12475 | resultobj = SWIG_Py_Void(); | |
12476 | return resultobj; | |
12477 | fail: | |
12478 | return NULL; | |
12479 | } | |
12480 | ||
12481 | ||
12482 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12483 | PyObject *resultobj = 0; | |
12484 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12485 | void *argp1 = 0 ; | |
12486 | int res1 = 0 ; | |
12487 | PyObject *swig_obj[1] ; | |
12488 | ||
12489 | if (!args) SWIG_fail; | |
12490 | swig_obj[0] = args; | |
12491 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12492 | if (!SWIG_IsOK(res1)) { | |
12493 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12494 | } | |
12495 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12496 | { | |
12497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12498 | (arg1)->DoShowHide(); | |
12499 | wxPyEndAllowThreads(__tstate); | |
12500 | if (PyErr_Occurred()) SWIG_fail; | |
12501 | } | |
12502 | resultobj = SWIG_Py_Void(); | |
12503 | return resultobj; | |
12504 | fail: | |
12505 | return NULL; | |
12506 | } | |
12507 | ||
12508 | ||
12509 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12510 | PyObject *resultobj = 0; | |
12511 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12512 | wxRect *arg2 = 0 ; | |
12513 | void *argp1 = 0 ; | |
12514 | int res1 = 0 ; | |
12515 | wxRect temp2 ; | |
12516 | PyObject * obj0 = 0 ; | |
12517 | PyObject * obj1 = 0 ; | |
12518 | char * kwnames[] = { | |
12519 | (char *) "self",(char *) "rect", NULL | |
12520 | }; | |
12521 | ||
12522 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
12523 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12524 | if (!SWIG_IsOK(res1)) { | |
12525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12526 | } | |
12527 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12528 | { | |
12529 | arg2 = &temp2; | |
12530 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
12531 | } | |
12532 | { | |
12533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12534 | (arg1)->SetRect((wxRect const &)*arg2); | |
12535 | wxPyEndAllowThreads(__tstate); | |
12536 | if (PyErr_Occurred()) SWIG_fail; | |
12537 | } | |
12538 | resultobj = SWIG_Py_Void(); | |
12539 | return resultobj; | |
12540 | fail: | |
12541 | return NULL; | |
12542 | } | |
12543 | ||
12544 | ||
12545 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12546 | PyObject *resultobj = 0; | |
12547 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12548 | int arg2 ; | |
12549 | wxBitmap *arg3 = 0 ; | |
12550 | void *argp1 = 0 ; | |
12551 | int res1 = 0 ; | |
12552 | int val2 ; | |
12553 | int ecode2 = 0 ; | |
12554 | void *argp3 = 0 ; | |
12555 | int res3 = 0 ; | |
12556 | PyObject * obj0 = 0 ; | |
12557 | PyObject * obj1 = 0 ; | |
12558 | PyObject * obj2 = 0 ; | |
12559 | char * kwnames[] = { | |
12560 | (char *) "self",(char *) "id",(char *) "bmp", NULL | |
12561 | }; | |
12562 | ||
12563 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12564 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12565 | if (!SWIG_IsOK(res1)) { | |
12566 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12567 | } | |
12568 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12569 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12570 | if (!SWIG_IsOK(ecode2)) { | |
12571 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
12572 | } | |
12573 | arg2 = static_cast< int >(val2); | |
12574 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
12575 | if (!SWIG_IsOK(res3)) { | |
12576 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
12577 | } | |
12578 | if (!argp3) { | |
12579 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
12580 | } | |
12581 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
12582 | { | |
12583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12584 | (arg1)->AddButton(arg2,(wxBitmap const &)*arg3); | |
12585 | wxPyEndAllowThreads(__tstate); | |
12586 | if (PyErr_Occurred()) SWIG_fail; | |
12587 | } | |
12588 | resultobj = SWIG_Py_Void(); | |
12589 | return resultobj; | |
12590 | fail: | |
12591 | return NULL; | |
12592 | } | |
12593 | ||
12594 | ||
12595 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12596 | PyObject *obj; | |
12597 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12598 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
12599 | return SWIG_Py_Void(); | |
12600 | } | |
12601 | ||
12602 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12603 | return SWIG_Python_InitShadowInstance(args); | |
12604 | } | |
12605 | ||
12606 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12607 | PyObject *resultobj = 0; | |
12608 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12609 | int arg2 = (int) wxID_ANY ; | |
12610 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12611 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12612 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12613 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12614 | long arg5 = (long) 0 ; | |
12615 | wxAuiTabCtrl *result = 0 ; | |
12616 | void *argp1 = 0 ; | |
12617 | int res1 = 0 ; | |
12618 | int val2 ; | |
12619 | int ecode2 = 0 ; | |
12620 | wxPoint temp3 ; | |
12621 | wxSize temp4 ; | |
12622 | long val5 ; | |
12623 | int ecode5 = 0 ; | |
12624 | PyObject * obj0 = 0 ; | |
12625 | PyObject * obj1 = 0 ; | |
12626 | PyObject * obj2 = 0 ; | |
12627 | PyObject * obj3 = 0 ; | |
12628 | PyObject * obj4 = 0 ; | |
12629 | char * kwnames[] = { | |
12630 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
12631 | }; | |
12632 | ||
12633 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
12634 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12635 | if (!SWIG_IsOK(res1)) { | |
12636 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
12637 | } | |
12638 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
12639 | if (obj1) { | |
12640 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12641 | if (!SWIG_IsOK(ecode2)) { | |
12642 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
12643 | } | |
12644 | arg2 = static_cast< int >(val2); | |
12645 | } | |
12646 | if (obj2) { | |
12647 | { | |
12648 | arg3 = &temp3; | |
12649 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12650 | } | |
12651 | } | |
12652 | if (obj3) { | |
12653 | { | |
12654 | arg4 = &temp4; | |
12655 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12656 | } | |
12657 | } | |
12658 | if (obj4) { | |
12659 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
12660 | if (!SWIG_IsOK(ecode5)) { | |
12661 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
12662 | } | |
12663 | arg5 = static_cast< long >(val5); | |
12664 | } | |
12665 | { | |
12666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12667 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
12668 | wxPyEndAllowThreads(__tstate); | |
12669 | if (PyErr_Occurred()) SWIG_fail; | |
12670 | } | |
12671 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
12672 | return resultobj; | |
12673 | fail: | |
12674 | return NULL; | |
12675 | } | |
12676 | ||
12677 | ||
12678 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12679 | PyObject *obj; | |
12680 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12681 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
12682 | return SWIG_Py_Void(); | |
12683 | } | |
12684 | ||
12685 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12686 | return SWIG_Python_InitShadowInstance(args); | |
12687 | } | |
12688 | ||
12689 | SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12690 | PyObject *resultobj = 0; | |
12691 | wxAuiMultiNotebook *result = 0 ; | |
12692 | ||
12693 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail; | |
12694 | { | |
12695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12696 | result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(); | |
12697 | wxPyEndAllowThreads(__tstate); | |
12698 | if (PyErr_Occurred()) SWIG_fail; | |
12699 | } | |
12700 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 ); | |
12701 | return resultobj; | |
12702 | fail: | |
12703 | return NULL; | |
12704 | } | |
12705 | ||
12706 | ||
12707 | SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12708 | PyObject *resultobj = 0; | |
12709 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12710 | int arg2 = (int) wxID_ANY ; | |
12711 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
12712 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
12713 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
12714 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
12715 | long arg5 = (long) 0 ; | |
12716 | wxAuiMultiNotebook *result = 0 ; | |
12717 | void *argp1 = 0 ; | |
12718 | int res1 = 0 ; | |
12719 | int val2 ; | |
12720 | int ecode2 = 0 ; | |
12721 | wxPoint temp3 ; | |
12722 | wxSize temp4 ; | |
12723 | long val5 ; | |
12724 | int ecode5 = 0 ; | |
12725 | PyObject * obj0 = 0 ; | |
12726 | PyObject * obj1 = 0 ; | |
12727 | PyObject * obj2 = 0 ; | |
12728 | PyObject * obj3 = 0 ; | |
12729 | PyObject * obj4 = 0 ; | |
12730 | char * kwnames[] = { | |
12731 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
12732 | }; | |
12733 | ||
12734 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
12735 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12736 | if (!SWIG_IsOK(res1)) { | |
12737 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
12738 | } | |
12739 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
12740 | if (obj1) { | |
12741 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12742 | if (!SWIG_IsOK(ecode2)) { | |
12743 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'"); | |
12744 | } | |
12745 | arg2 = static_cast< int >(val2); | |
12746 | } | |
12747 | if (obj2) { | |
12748 | { | |
12749 | arg3 = &temp3; | |
12750 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
12751 | } | |
12752 | } | |
12753 | if (obj3) { | |
12754 | { | |
12755 | arg4 = &temp4; | |
12756 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
12757 | } | |
12758 | } | |
12759 | if (obj4) { | |
12760 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
12761 | if (!SWIG_IsOK(ecode5)) { | |
12762 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'"); | |
12763 | } | |
12764 | arg5 = static_cast< long >(val5); | |
12765 | } | |
12766 | { | |
12767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12768 | result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
12769 | wxPyEndAllowThreads(__tstate); | |
12770 | if (PyErr_Occurred()) SWIG_fail; | |
12771 | } | |
12772 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 ); | |
12773 | return resultobj; | |
12774 | fail: | |
12775 | return NULL; | |
12776 | } | |
12777 | ||
12778 | ||
12779 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12780 | PyObject *resultobj = 0; | |
12781 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12782 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12783 | int arg3 = (int) wxID_ANY ; | |
12784 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12785 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12786 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12787 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12788 | long arg6 = (long) 0 ; | |
12789 | bool result; | |
12790 | void *argp1 = 0 ; | |
12791 | int res1 = 0 ; | |
12792 | void *argp2 = 0 ; | |
12793 | int res2 = 0 ; | |
12794 | int val3 ; | |
12795 | int ecode3 = 0 ; | |
12796 | wxPoint temp4 ; | |
12797 | wxSize temp5 ; | |
12798 | long val6 ; | |
12799 | int ecode6 = 0 ; | |
12800 | PyObject * obj0 = 0 ; | |
12801 | PyObject * obj1 = 0 ; | |
12802 | PyObject * obj2 = 0 ; | |
12803 | PyObject * obj3 = 0 ; | |
12804 | PyObject * obj4 = 0 ; | |
12805 | PyObject * obj5 = 0 ; | |
12806 | char * kwnames[] = { | |
12807 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
12808 | }; | |
12809 | ||
12810 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12811 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12812 | if (!SWIG_IsOK(res1)) { | |
12813 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12814 | } | |
12815 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12816 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12817 | if (!SWIG_IsOK(res2)) { | |
12818 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12819 | } | |
12820 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12821 | if (obj2) { | |
12822 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
12823 | if (!SWIG_IsOK(ecode3)) { | |
12824 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); | |
12825 | } | |
12826 | arg3 = static_cast< int >(val3); | |
12827 | } | |
12828 | if (obj3) { | |
12829 | { | |
12830 | arg4 = &temp4; | |
12831 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12832 | } | |
12833 | } | |
12834 | if (obj4) { | |
12835 | { | |
12836 | arg5 = &temp5; | |
12837 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12838 | } | |
12839 | } | |
12840 | if (obj5) { | |
12841 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
12842 | if (!SWIG_IsOK(ecode6)) { | |
12843 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); | |
12844 | } | |
12845 | arg6 = static_cast< long >(val6); | |
12846 | } | |
12847 | { | |
12848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12849 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
12850 | wxPyEndAllowThreads(__tstate); | |
12851 | if (PyErr_Occurred()) SWIG_fail; | |
12852 | } | |
12853 | { | |
12854 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12855 | } | |
12856 | return resultobj; | |
12857 | fail: | |
12858 | return NULL; | |
12859 | } | |
12860 | ||
12861 | ||
12862 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12863 | PyObject *resultobj = 0; | |
12864 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12865 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12866 | wxString *arg3 = 0 ; | |
12867 | bool arg4 = (bool) false ; | |
12868 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
12869 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
12870 | bool result; | |
12871 | void *argp1 = 0 ; | |
12872 | int res1 = 0 ; | |
12873 | void *argp2 = 0 ; | |
12874 | int res2 = 0 ; | |
12875 | bool temp3 = false ; | |
12876 | bool val4 ; | |
12877 | int ecode4 = 0 ; | |
12878 | void *argp5 = 0 ; | |
12879 | int res5 = 0 ; | |
12880 | PyObject * obj0 = 0 ; | |
12881 | PyObject * obj1 = 0 ; | |
12882 | PyObject * obj2 = 0 ; | |
12883 | PyObject * obj3 = 0 ; | |
12884 | PyObject * obj4 = 0 ; | |
12885 | char * kwnames[] = { | |
12886 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
12887 | }; | |
12888 | ||
12889 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
12890 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12891 | if (!SWIG_IsOK(res1)) { | |
12892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12893 | } | |
12894 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12895 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12896 | if (!SWIG_IsOK(res2)) { | |
12897 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12898 | } | |
12899 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12900 | { | |
12901 | arg3 = wxString_in_helper(obj2); | |
12902 | if (arg3 == NULL) SWIG_fail; | |
12903 | temp3 = true; | |
12904 | } | |
12905 | if (obj3) { | |
12906 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
12907 | if (!SWIG_IsOK(ecode4)) { | |
12908 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); | |
12909 | } | |
12910 | arg4 = static_cast< bool >(val4); | |
12911 | } | |
12912 | if (obj4) { | |
12913 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
12914 | if (!SWIG_IsOK(res5)) { | |
12915 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
12916 | } | |
12917 | if (!argp5) { | |
12918 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
12919 | } | |
12920 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
12921 | } | |
12922 | { | |
12923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12924 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
12925 | wxPyEndAllowThreads(__tstate); | |
12926 | if (PyErr_Occurred()) SWIG_fail; | |
12927 | } | |
12928 | { | |
12929 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12930 | } | |
12931 | { | |
12932 | if (temp3) | |
12933 | delete arg3; | |
12934 | } | |
12935 | return resultobj; | |
12936 | fail: | |
12937 | { | |
12938 | if (temp3) | |
12939 | delete arg3; | |
12940 | } | |
12941 | return NULL; | |
12942 | } | |
12943 | ||
12944 | ||
12945 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12946 | PyObject *resultobj = 0; | |
12947 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
12948 | size_t arg2 ; | |
12949 | wxWindow *arg3 = (wxWindow *) 0 ; | |
12950 | wxString *arg4 = 0 ; | |
12951 | bool arg5 = (bool) false ; | |
12952 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
12953 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
12954 | bool result; | |
12955 | void *argp1 = 0 ; | |
12956 | int res1 = 0 ; | |
12957 | size_t val2 ; | |
12958 | int ecode2 = 0 ; | |
12959 | void *argp3 = 0 ; | |
12960 | int res3 = 0 ; | |
12961 | bool temp4 = false ; | |
12962 | bool val5 ; | |
12963 | int ecode5 = 0 ; | |
12964 | void *argp6 = 0 ; | |
12965 | int res6 = 0 ; | |
12966 | PyObject * obj0 = 0 ; | |
12967 | PyObject * obj1 = 0 ; | |
12968 | PyObject * obj2 = 0 ; | |
12969 | PyObject * obj3 = 0 ; | |
12970 | PyObject * obj4 = 0 ; | |
12971 | PyObject * obj5 = 0 ; | |
12972 | char * kwnames[] = { | |
12973 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
12974 | }; | |
12975 | ||
12976 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
12977 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
12978 | if (!SWIG_IsOK(res1)) { | |
12979 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
12980 | } | |
12981 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
12982 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
12983 | if (!SWIG_IsOK(ecode2)) { | |
12984 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); | |
12985 | } | |
12986 | arg2 = static_cast< size_t >(val2); | |
12987 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12988 | if (!SWIG_IsOK(res3)) { | |
12989 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
12990 | } | |
12991 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
12992 | { | |
12993 | arg4 = wxString_in_helper(obj3); | |
12994 | if (arg4 == NULL) SWIG_fail; | |
12995 | temp4 = true; | |
12996 | } | |
12997 | if (obj4) { | |
12998 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
12999 | if (!SWIG_IsOK(ecode5)) { | |
13000 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); | |
13001 | } | |
13002 | arg5 = static_cast< bool >(val5); | |
13003 | } | |
13004 | if (obj5) { | |
13005 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13006 | if (!SWIG_IsOK(res6)) { | |
13007 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
13008 | } | |
13009 | if (!argp6) { | |
13010 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
13011 | } | |
13012 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
13013 | } | |
13014 | { | |
13015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13016 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
13017 | wxPyEndAllowThreads(__tstate); | |
13018 | if (PyErr_Occurred()) SWIG_fail; | |
13019 | } | |
13020 | { | |
13021 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13022 | } | |
13023 | { | |
13024 | if (temp4) | |
13025 | delete arg4; | |
13026 | } | |
13027 | return resultobj; | |
13028 | fail: | |
13029 | { | |
13030 | if (temp4) | |
13031 | delete arg4; | |
13032 | } | |
13033 | return NULL; | |
13034 | } | |
13035 | ||
13036 | ||
13037 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13038 | PyObject *resultobj = 0; | |
13039 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13040 | size_t arg2 ; | |
13041 | bool result; | |
13042 | void *argp1 = 0 ; | |
13043 | int res1 = 0 ; | |
13044 | size_t val2 ; | |
13045 | int ecode2 = 0 ; | |
13046 | PyObject * obj0 = 0 ; | |
13047 | PyObject * obj1 = 0 ; | |
13048 | char * kwnames[] = { | |
13049 | (char *) "self",(char *) "page", NULL | |
13050 | }; | |
13051 | ||
13052 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13053 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13054 | if (!SWIG_IsOK(res1)) { | |
13055 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
13056 | } | |
13057 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13058 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13059 | if (!SWIG_IsOK(ecode2)) { | |
13060 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); | |
13061 | } | |
13062 | arg2 = static_cast< size_t >(val2); | |
13063 | { | |
13064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13065 | result = (bool)(arg1)->DeletePage(arg2); | |
13066 | wxPyEndAllowThreads(__tstate); | |
13067 | if (PyErr_Occurred()) SWIG_fail; | |
13068 | } | |
13069 | { | |
13070 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13071 | } | |
13072 | return resultobj; | |
13073 | fail: | |
13074 | return NULL; | |
13075 | } | |
13076 | ||
13077 | ||
13078 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13079 | PyObject *resultobj = 0; | |
13080 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13081 | size_t arg2 ; | |
13082 | bool result; | |
13083 | void *argp1 = 0 ; | |
13084 | int res1 = 0 ; | |
13085 | size_t val2 ; | |
13086 | int ecode2 = 0 ; | |
13087 | PyObject * obj0 = 0 ; | |
13088 | PyObject * obj1 = 0 ; | |
13089 | char * kwnames[] = { | |
13090 | (char *) "self",(char *) "page", NULL | |
13091 | }; | |
13092 | ||
13093 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13094 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13095 | if (!SWIG_IsOK(res1)) { | |
13096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
13097 | } | |
13098 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13099 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13100 | if (!SWIG_IsOK(ecode2)) { | |
13101 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); | |
13102 | } | |
13103 | arg2 = static_cast< size_t >(val2); | |
13104 | { | |
13105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13106 | result = (bool)(arg1)->RemovePage(arg2); | |
13107 | wxPyEndAllowThreads(__tstate); | |
13108 | if (PyErr_Occurred()) SWIG_fail; | |
13109 | } | |
13110 | { | |
13111 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13112 | } | |
13113 | return resultobj; | |
13114 | fail: | |
13115 | return NULL; | |
13116 | } | |
13117 | ||
13118 | ||
13119 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13120 | PyObject *resultobj = 0; | |
13121 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13122 | size_t arg2 ; | |
13123 | wxString *arg3 = 0 ; | |
13124 | bool result; | |
13125 | void *argp1 = 0 ; | |
13126 | int res1 = 0 ; | |
13127 | size_t val2 ; | |
13128 | int ecode2 = 0 ; | |
13129 | bool temp3 = false ; | |
13130 | PyObject * obj0 = 0 ; | |
13131 | PyObject * obj1 = 0 ; | |
13132 | PyObject * obj2 = 0 ; | |
13133 | char * kwnames[] = { | |
13134 | (char *) "self",(char *) "page",(char *) "text", NULL | |
13135 | }; | |
13136 | ||
13137 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13138 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13139 | if (!SWIG_IsOK(res1)) { | |
13140 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
13141 | } | |
13142 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13143 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13144 | if (!SWIG_IsOK(ecode2)) { | |
13145 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
13146 | } | |
13147 | arg2 = static_cast< size_t >(val2); | |
13148 | { | |
13149 | arg3 = wxString_in_helper(obj2); | |
13150 | if (arg3 == NULL) SWIG_fail; | |
13151 | temp3 = true; | |
13152 | } | |
13153 | { | |
13154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13155 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
13156 | wxPyEndAllowThreads(__tstate); | |
13157 | if (PyErr_Occurred()) SWIG_fail; | |
13158 | } | |
13159 | { | |
13160 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13161 | } | |
13162 | { | |
13163 | if (temp3) | |
13164 | delete arg3; | |
13165 | } | |
13166 | return resultobj; | |
13167 | fail: | |
13168 | { | |
13169 | if (temp3) | |
13170 | delete arg3; | |
13171 | } | |
13172 | return NULL; | |
13173 | } | |
13174 | ||
13175 | ||
13176 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13177 | PyObject *resultobj = 0; | |
13178 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13179 | size_t arg2 ; | |
13180 | size_t result; | |
13181 | void *argp1 = 0 ; | |
13182 | int res1 = 0 ; | |
13183 | size_t val2 ; | |
13184 | int ecode2 = 0 ; | |
13185 | PyObject * obj0 = 0 ; | |
13186 | PyObject * obj1 = 0 ; | |
13187 | char * kwnames[] = { | |
13188 | (char *) "self",(char *) "new_page", NULL | |
13189 | }; | |
13190 | ||
13191 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
13192 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13193 | if (!SWIG_IsOK(res1)) { | |
13194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
13195 | } | |
13196 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13197 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13198 | if (!SWIG_IsOK(ecode2)) { | |
13199 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
13200 | } | |
13201 | arg2 = static_cast< size_t >(val2); | |
13202 | { | |
13203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13204 | result = (size_t)(arg1)->SetSelection(arg2); | |
13205 | wxPyEndAllowThreads(__tstate); | |
13206 | if (PyErr_Occurred()) SWIG_fail; | |
13207 | } | |
13208 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13209 | return resultobj; | |
13210 | fail: | |
13211 | return NULL; | |
13212 | } | |
13213 | ||
13214 | ||
13215 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13216 | PyObject *resultobj = 0; | |
13217 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13218 | int result; | |
13219 | void *argp1 = 0 ; | |
13220 | int res1 = 0 ; | |
13221 | PyObject *swig_obj[1] ; | |
13222 | ||
13223 | if (!args) SWIG_fail; | |
13224 | swig_obj[0] = args; | |
13225 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13226 | if (!SWIG_IsOK(res1)) { | |
13227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
13228 | } | |
13229 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13230 | { | |
13231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13232 | result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection(); | |
13233 | wxPyEndAllowThreads(__tstate); | |
13234 | if (PyErr_Occurred()) SWIG_fail; | |
13235 | } | |
13236 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13237 | return resultobj; | |
13238 | fail: | |
13239 | return NULL; | |
13240 | } | |
13241 | ||
13242 | ||
13243 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13244 | PyObject *resultobj = 0; | |
13245 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13246 | size_t result; | |
13247 | void *argp1 = 0 ; | |
13248 | int res1 = 0 ; | |
13249 | PyObject *swig_obj[1] ; | |
13250 | ||
13251 | if (!args) SWIG_fail; | |
13252 | swig_obj[0] = args; | |
13253 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13254 | if (!SWIG_IsOK(res1)) { | |
13255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
13256 | } | |
13257 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13258 | { | |
13259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13260 | result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount(); | |
13261 | wxPyEndAllowThreads(__tstate); | |
13262 | if (PyErr_Occurred()) SWIG_fail; | |
13263 | } | |
13264 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13265 | return resultobj; | |
13266 | fail: | |
13267 | return NULL; | |
13268 | } | |
13269 | ||
13270 | ||
13271 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13272 | PyObject *resultobj = 0; | |
13273 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13274 | size_t arg2 ; | |
13275 | wxWindow *result = 0 ; | |
13276 | void *argp1 = 0 ; | |
13277 | int res1 = 0 ; | |
13278 | size_t val2 ; | |
13279 | int ecode2 = 0 ; | |
13280 | PyObject * obj0 = 0 ; | |
13281 | PyObject * obj1 = 0 ; | |
13282 | char * kwnames[] = { | |
13283 | (char *) "self",(char *) "page_idx", NULL | |
13284 | }; | |
13285 | ||
13286 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13287 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13288 | if (!SWIG_IsOK(res1)) { | |
13289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
13290 | } | |
13291 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13292 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13293 | if (!SWIG_IsOK(ecode2)) { | |
13294 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
13295 | } | |
13296 | arg2 = static_cast< size_t >(val2); | |
13297 | { | |
13298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13299 | result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2); | |
13300 | wxPyEndAllowThreads(__tstate); | |
13301 | if (PyErr_Occurred()) SWIG_fail; | |
13302 | } | |
13303 | { | |
13304 | resultobj = wxPyMake_wxObject(result, 0); | |
13305 | } | |
13306 | return resultobj; | |
13307 | fail: | |
13308 | return NULL; | |
13309 | } | |
13310 | ||
13311 | ||
13312 | SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13313 | PyObject *obj; | |
13314 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13315 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj)); | |
13316 | return SWIG_Py_Void(); | |
13317 | } | |
13318 | ||
13319 | SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13320 | return SWIG_Python_InitShadowInstance(args); | |
13321 | } | |
13322 | ||
13323 | SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13324 | PyObject *obj; | |
13325 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13326 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj)); | |
13327 | return SWIG_Py_Void(); | |
13328 | } | |
13329 | ||
13330 | static PyMethodDef SwigMethods[] = { | |
13331 | { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL}, | |
13332 | { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL}, | |
13333 | { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13334 | { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL}, | |
13335 | { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL}, | |
13336 | { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL}, | |
13337 | { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL}, | |
13338 | { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL}, | |
13339 | { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL}, | |
13340 | { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL}, | |
13341 | { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL}, | |
13342 | { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL}, | |
13343 | { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL}, | |
13344 | { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL}, | |
13345 | { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL}, | |
13346 | { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL}, | |
9b940138 | 13347 | { (char *)"PaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_PaneInfo_IsDestroyOnClose, METH_O, NULL}, |
1eeb270e RD |
13348 | { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL}, |
13349 | { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL}, | |
13350 | { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL}, | |
13351 | { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL}, | |
13352 | { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL}, | |
13353 | { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL}, | |
13354 | { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL}, | |
13355 | { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL}, | |
13356 | { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13357 | { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13358 | { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13359 | { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL}, | |
13360 | { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL}, | |
13361 | { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL}, | |
13362 | { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL}, | |
13363 | { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL}, | |
13364 | { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL}, | |
13365 | { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13366 | { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13367 | { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13368 | { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13369 | { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13370 | { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13371 | { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13372 | { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13373 | { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13374 | { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL}, | |
13375 | { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13376 | { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL}, | |
13377 | { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL}, | |
13378 | { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL}, | |
13379 | { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13380 | { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13381 | { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13382 | { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13383 | { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13384 | { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13385 | { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13386 | { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13387 | { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13388 | { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13389 | { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13390 | { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13391 | { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13392 | { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13393 | { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13394 | { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13395 | { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13396 | { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL}, | |
13397 | { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL}, | |
13398 | { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL}, | |
13399 | { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL}, | |
13400 | { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13401 | { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13402 | { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL}, | |
13403 | { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL}, | |
13404 | { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL}, | |
13405 | { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL}, | |
13406 | { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL}, | |
13407 | { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL}, | |
13408 | { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL}, | |
13409 | { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL}, | |
13410 | { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL}, | |
13411 | { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL}, | |
13412 | { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
13413 | { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL}, | |
13414 | { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
13415 | { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL}, | |
13416 | { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
13417 | { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL}, | |
27e45892 RD |
13418 | { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL}, |
13419 | { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL}, | |
13420 | { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL}, | |
13421 | { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL}, | |
13422 | { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL}, | |
13423 | { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL}, | |
13424 | { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL}, | |
13425 | { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL}, | |
13426 | { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
13427 | { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL}, | |
13428 | { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
13429 | { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL}, | |
13430 | { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
13431 | { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL}, | |
13432 | { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL}, | |
13433 | { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL}, | |
13434 | { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL}, | |
13435 | { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL}, | |
13436 | { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL}, | |
13437 | { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL}, | |
13438 | { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13439 | { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL}, | |
13440 | { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL}, | |
13441 | { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13442 | { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL}, | |
10044bf1 RD |
13443 | { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
13444 | { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL}, | |
27e45892 RD |
13445 | { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
13446 | { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL}, | |
13447 | { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13448 | { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13449 | { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL}, | |
13450 | { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 | 13451 | { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL}, |
27e45892 RD |
13452 | { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
13453 | { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13454 | { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9b940138 | 13455 | { (char *)"FrameManager_ClosePane", (PyCFunction) _wrap_FrameManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, |
1eeb270e RD |
13456 | { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
13457 | { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27e45892 RD |
13458 | { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL}, |
13459 | { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13460 | { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL}, | |
9b940138 | 13461 | { (char *)"FrameManager_CreateFloatingFrame", (PyCFunction) _wrap_FrameManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
13462 | { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
13463 | { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13464 | { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL}, | |
1d5ee749 RD |
13465 | { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, |
13466 | { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
27e45892 RD |
13467 | { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL}, |
13468 | { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL}, | |
13469 | { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13470 | { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL}, | |
13471 | { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13472 | { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
1d5ee749 | 13473 | { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
27e45892 RD |
13474 | { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL}, |
13475 | { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL}, | |
1d5ee749 | 13476 | { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL}, |
27e45892 RD |
13477 | { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, |
13478 | { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL}, | |
13479 | { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13480 | { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL}, | |
13481 | { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL}, | |
13482 | { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL}, | |
13483 | { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL}, | |
13484 | { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL}, | |
13485 | { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
13486 | { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL}, | |
13487 | { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
13488 | { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL}, | |
1d5ee749 RD |
13489 | { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL}, |
13490 | { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL}, | |
27e45892 RD |
13491 | { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL}, |
13492 | { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL}, | |
13493 | { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL}, | |
13494 | { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL}, | |
13495 | { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL}, | |
13496 | { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL}, | |
13497 | { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL}, | |
13498 | { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL}, | |
13499 | { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL}, | |
13500 | { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL}, | |
13501 | { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
13502 | { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL}, | |
13503 | { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
13504 | { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL}, | |
13505 | { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL}, | |
13506 | { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL}, | |
13507 | { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL}, | |
13508 | { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL}, | |
13509 | { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL}, | |
13510 | { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL}, | |
13511 | { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL}, | |
13512 | { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL}, | |
13513 | { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL}, | |
13514 | { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL}, | |
13515 | { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL}, | |
13516 | { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL}, | |
72ef6efb | 13517 | { (char *)"delete_DockInfo", (PyCFunction)_wrap_delete_DockInfo, METH_O, NULL}, |
27e45892 RD |
13518 | { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL}, |
13519 | { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL}, | |
13520 | { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL}, | |
13521 | { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL}, | |
13522 | { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL}, | |
13523 | { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL}, | |
13524 | { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL}, | |
13525 | { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL}, | |
13526 | { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL}, | |
13527 | { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL}, | |
13528 | { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL}, | |
13529 | { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL}, | |
13530 | { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
13531 | { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL}, | |
13532 | { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
13533 | { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL}, | |
13534 | { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL}, | |
13535 | { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL}, | |
72ef6efb | 13536 | { (char *)"delete_DockUIPart", (PyCFunction)_wrap_delete_DockUIPart, METH_O, NULL}, |
27e45892 RD |
13537 | { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL}, |
13538 | { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL}, | |
13539 | { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL}, | |
72ef6efb | 13540 | { (char *)"delete_PaneButton", (PyCFunction)_wrap_delete_PaneButton, METH_O, NULL}, |
27e45892 RD |
13541 | { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL}, |
13542 | { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL}, | |
13543 | { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13544 | { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13545 | { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13546 | { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13547 | { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13548 | { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13549 | { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13550 | { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13551 | { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13552 | { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13553 | { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13554 | { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13555 | { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13556 | { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13557 | { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL}, | |
13558 | { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL}, | |
13559 | { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
13560 | { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
13561 | { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13562 | { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL}, | |
13563 | { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13564 | { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL}, | |
13565 | { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL}, | |
1eeb270e RD |
13566 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
13567 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13568 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13569 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
13570 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
13571 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
13572 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
13573 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
13574 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
13575 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
13576 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
13577 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
13578 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
13579 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
13580 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
13581 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
13582 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
13583 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
13584 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
13585 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
13586 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
13587 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
13588 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
13589 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
13590 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
13591 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
13592 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, | |
13593 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
13594 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, | |
13595 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
13596 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
13597 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
13598 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
13599 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13600 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13601 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13602 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
13603 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
13604 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
13605 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13606 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13607 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13608 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13609 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
13610 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13611 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
13612 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13613 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13614 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13615 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
13616 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13617 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13618 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, | |
13619 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
13620 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13621 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, | |
13622 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
13623 | { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL}, | |
13624 | { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13625 | { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13626 | { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13627 | { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13628 | { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13629 | { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13630 | { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13631 | { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13632 | { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL}, | |
13633 | { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL}, | |
13634 | { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
13635 | { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL}, | |
13636 | { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL}, | |
27e45892 RD |
13637 | { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL}, |
13638 | { NULL, NULL, 0, NULL } | |
13639 | }; | |
13640 | ||
13641 | ||
13642 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
13643 | ||
13644 | static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) { | |
13645 | return (void *)((wxMiniFrame *) ((wxFloatingPane *) x)); | |
13646 | } | |
13647 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
13648 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
13649 | } | |
13650 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
13651 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
13652 | } | |
13653 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
13654 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
13655 | } | |
13656 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
13657 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
13658 | } | |
13659 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
13660 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
13661 | } | |
13662 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
13663 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
13664 | } | |
13665 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
13666 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
13667 | } | |
1eeb270e RD |
13668 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
13669 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
13670 | } | |
13671 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
13672 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
13673 | } | |
27e45892 RD |
13674 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
13675 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
13676 | } | |
13677 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
13678 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
13679 | } | |
13680 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
13681 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
13682 | } | |
13683 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
13684 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
13685 | } | |
13686 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
13687 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
13688 | } | |
13689 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
13690 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
13691 | } | |
13692 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
13693 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
13694 | } | |
13695 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
13696 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
13697 | } | |
13698 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
13699 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
13700 | } | |
13701 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
13702 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
13703 | } | |
13704 | static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) { | |
13705 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); | |
13706 | } | |
13707 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
13708 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
13709 | } | |
13710 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
13711 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
13712 | } | |
13713 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
13714 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
13715 | } | |
13716 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
13717 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
13718 | } | |
13719 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
13720 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
13721 | } | |
13722 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
13723 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
13724 | } | |
13725 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
13726 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
13727 | } | |
13728 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
13729 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
13730 | } | |
13731 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
13732 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
13733 | } | |
13734 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
13735 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
13736 | } | |
13737 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
13738 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
13739 | } | |
13740 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
13741 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
13742 | } | |
13743 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
13744 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
13745 | } | |
13746 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
13747 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
13748 | } | |
13749 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
13750 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
13751 | } | |
13752 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
13753 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
13754 | } | |
13755 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
13756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
13757 | } | |
13758 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
13759 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
13760 | } | |
13761 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
13762 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
13763 | } | |
13764 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
13765 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
13766 | } | |
13767 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
13768 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
13769 | } | |
13770 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
13771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
13772 | } | |
13773 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
13774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
13775 | } | |
13776 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
13777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
13778 | } | |
13779 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
13780 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
13781 | } | |
13782 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
13783 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
13784 | } | |
13785 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
13786 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
13787 | } | |
13788 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
13789 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
13790 | } | |
13791 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
13792 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
13793 | } | |
13794 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
13795 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
13796 | } | |
13797 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
13798 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
13799 | } | |
13800 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
13801 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
13802 | } | |
13803 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
13804 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
13805 | } | |
13806 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
13807 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
13808 | } | |
13809 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
13810 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
13811 | } | |
13812 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
13813 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
13814 | } | |
13815 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
13816 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
13817 | } | |
13818 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
13819 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
13820 | } | |
13821 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
13822 | return (void *)((wxWindow *) ((wxControl *) x)); | |
13823 | } | |
13824 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
13825 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
13826 | } | |
13827 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
13828 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
13829 | } | |
13830 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
13831 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
13832 | } | |
13833 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
13834 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
13835 | } | |
13836 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
13837 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
13838 | } | |
13839 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
13840 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
13841 | } | |
13842 | static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) { | |
13843 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); | |
13844 | } | |
13845 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
13846 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
13847 | } | |
13848 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
13849 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
13850 | } | |
1eeb270e RD |
13851 | static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) { |
13852 | return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x)); | |
13853 | } | |
27e45892 RD |
13854 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
13855 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
13856 | } | |
13857 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
13858 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
13859 | } | |
1eeb270e RD |
13860 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
13861 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
13862 | } | |
27e45892 RD |
13863 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
13864 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
13865 | } | |
13866 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
13867 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
13868 | } | |
13869 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
13870 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
13871 | } | |
13872 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
13873 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
13874 | } | |
13875 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
13876 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
13877 | } | |
13878 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
13879 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
13880 | } | |
1eeb270e RD |
13881 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
13882 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
13883 | } | |
13884 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
13885 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
13886 | } | |
13887 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
13888 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
13889 | } | |
13890 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
13891 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
13892 | } | |
13893 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
13894 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
13895 | } | |
13896 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
13897 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
13898 | } | |
13899 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
13900 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
13901 | } | |
13902 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
13903 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
13904 | } | |
13905 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
13906 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
13907 | } | |
13908 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
13909 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
13910 | } | |
13911 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
13912 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
13913 | } | |
13914 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
13915 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
13916 | } | |
13917 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
13918 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
13919 | } | |
13920 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
13921 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
13922 | } | |
13923 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
13924 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
13925 | } | |
13926 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
13927 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
13928 | } | |
13929 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
13930 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow **) x)); | |
13931 | } | |
13932 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
13933 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
13934 | } | |
13935 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
13936 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
13937 | } | |
13938 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
13939 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
13940 | } | |
13941 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
13942 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
13943 | } | |
13944 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
13945 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
13946 | } | |
13947 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
13948 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
13949 | } | |
13950 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
13951 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
13952 | } | |
13953 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
13954 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
13955 | } | |
13956 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
13957 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
13958 | } | |
13959 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
13960 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
13961 | } | |
13962 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
13963 | return (void *)((wxWindow **) ((wxControl **) x)); | |
13964 | } | |
13965 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
13966 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
13967 | } | |
13968 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
13969 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
13970 | } | |
13971 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
13972 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
13973 | } | |
13974 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
13975 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
13976 | } | |
13977 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
13978 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
13979 | } | |
13980 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
13981 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
13982 | } | |
13983 | static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) { | |
13984 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane **) x)); | |
13985 | } | |
13986 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { | |
13987 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
13988 | } | |
13989 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
13990 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
13991 | } | |
13992 | static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) { | |
13993 | return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x)); | |
13994 | } | |
13995 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
13996 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
13997 | } | |
13998 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
13999 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
14000 | } | |
14001 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
14002 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
14003 | } | |
14004 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
14005 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
14006 | } | |
14007 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
14008 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
14009 | } | |
14010 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
14011 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
14012 | } | |
14013 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
14014 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
14015 | } | |
14016 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
14017 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
14018 | } | |
14019 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { | |
14020 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
14021 | } | |
14022 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
14023 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
14024 | } | |
14025 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
14026 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
14027 | } | |
14028 | static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) { | |
14029 | return (void *)((wxControl *) ((wxAuiMultiNotebook *) x)); | |
14030 | } | |
27e45892 RD |
14031 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
14032 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
14033 | } | |
14034 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
14035 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
14036 | } | |
14037 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
14038 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
14039 | } | |
14040 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
14041 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
14042 | } | |
14043 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
14044 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
14045 | } | |
14046 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
14047 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
14048 | } | |
14049 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
14050 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
14051 | } | |
14052 | static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) { | |
14053 | return (void *)((wxEvent *) ((wxFrameManagerEvent *) x)); | |
14054 | } | |
14055 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
14056 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
14057 | } | |
14058 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
14059 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
14060 | } | |
14061 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
14062 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
14063 | } | |
14064 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
14065 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
14066 | } | |
34e0a3bb RD |
14067 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
14068 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
14069 | } | |
27e45892 RD |
14070 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
14071 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
14072 | } | |
14073 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
14074 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
14075 | } | |
1eeb270e RD |
14076 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
14077 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
14078 | } | |
27e45892 RD |
14079 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
14080 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
14081 | } | |
14082 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
14083 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
14084 | } | |
14085 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
14086 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
14087 | } | |
14088 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
14089 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
14090 | } | |
14091 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
14092 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
14093 | } | |
14094 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
14095 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
14096 | } | |
14097 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
14098 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
14099 | } | |
14100 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
14101 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
14102 | } | |
14103 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
14104 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
14105 | } | |
27e45892 RD |
14106 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
14107 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
14108 | } | |
14109 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
14110 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
14111 | } | |
34e0a3bb RD |
14112 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
14113 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
14114 | } | |
27e45892 RD |
14115 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
14116 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
14117 | } | |
14118 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
14119 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
14120 | } | |
14121 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
14122 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
14123 | } | |
14124 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
14125 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
14126 | } | |
14127 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
14128 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
14129 | } | |
14130 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
14131 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
14132 | } | |
14133 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
14134 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
14135 | } | |
14136 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
14137 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
14138 | } | |
14139 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
14140 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
14141 | } | |
14142 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
14143 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
14144 | } | |
14145 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
14146 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
14147 | } | |
14148 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
14149 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
14150 | } | |
14151 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
14152 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
14153 | } | |
14154 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
14155 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
14156 | } | |
14157 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
14158 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
14159 | } | |
14160 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
14161 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
14162 | } | |
14163 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
14164 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
14165 | } | |
14166 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
14167 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
14168 | } | |
14169 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
14170 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
14171 | } | |
14172 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
14173 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
14174 | } | |
14175 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
14176 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
14177 | } | |
14178 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
14179 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14180 | } | |
27e45892 RD |
14181 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
14182 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
14183 | } | |
34e0a3bb RD |
14184 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
14185 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
14186 | } | |
27e45892 RD |
14187 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
14188 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
14189 | } | |
14190 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
14191 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
14192 | } | |
14193 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
14194 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
14195 | } | |
14196 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
14197 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
14198 | } | |
14199 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
14200 | return (void *)((wxObject *) ((wxSizer *) x)); | |
14201 | } | |
14202 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
14203 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
14204 | } | |
14205 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
14206 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
14207 | } | |
14208 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
14209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
14210 | } | |
14211 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
14212 | return (void *)((wxObject *) ((wxEvent *) x)); | |
14213 | } | |
14214 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
14215 | return (void *)((wxObject *) ((wxFontData *) x)); | |
14216 | } | |
14217 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
14218 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
14219 | } | |
14220 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
14221 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
14222 | } | |
14223 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
14224 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
14225 | } | |
14226 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
14227 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
14228 | } | |
14229 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
14230 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
14231 | } | |
14232 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
14233 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
14234 | } | |
14235 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
14236 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
14237 | } | |
1eeb270e RD |
14238 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
14239 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
14240 | } | |
27e45892 RD |
14241 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
14242 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
14243 | } | |
14244 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
14245 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
14246 | } | |
14247 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
14248 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
14249 | } | |
14250 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
14251 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
14252 | } | |
14253 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
14254 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
14255 | } | |
14256 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
14257 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
14258 | } | |
14259 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
14260 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
14261 | } | |
14262 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
14263 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
14264 | } | |
14265 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
14266 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
14267 | } | |
14268 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
14269 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
14270 | } | |
14271 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
14272 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
14273 | } | |
14274 | static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) { | |
14275 | return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x)); | |
14276 | } | |
14277 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
14278 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
14279 | } | |
14280 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
14281 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
14282 | } | |
14283 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
14284 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
14285 | } | |
14286 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
14287 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
14288 | } | |
1eeb270e RD |
14289 | static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) { |
14290 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x)); | |
14291 | } | |
27e45892 RD |
14292 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
14293 | return (void *)((wxObject *) ((wxColourData *) x)); | |
14294 | } | |
14295 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
14296 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
14297 | } | |
14298 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
14299 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
14300 | } | |
14301 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
14302 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
14303 | } | |
14304 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
14305 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
14306 | } | |
14307 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
14308 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
14309 | } | |
14310 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
14311 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14312 | } | |
14313 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
14314 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14315 | } | |
14316 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
14317 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
14318 | } | |
14319 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
14320 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14321 | } | |
14322 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
14323 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
14324 | } | |
14325 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
14326 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
14327 | } | |
14328 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
14329 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
14330 | } | |
14331 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
14332 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
14333 | } | |
14334 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
14335 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
14336 | } | |
14337 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
14338 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
14339 | } | |
14340 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
14341 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
14342 | } | |
14343 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
14344 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
14345 | } | |
14346 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
14347 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
14348 | } | |
14349 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
14350 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
14351 | } | |
14352 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
14353 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
14354 | } | |
14355 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
14356 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
14357 | } | |
14358 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
14359 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
14360 | } | |
14361 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
14362 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
14363 | } | |
14364 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
14365 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
14366 | } | |
14367 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
14368 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
14369 | } | |
14370 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
14371 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
14372 | } | |
14373 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
14374 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
14375 | } | |
14376 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
14377 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
14378 | } | |
14379 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
14380 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
14381 | } | |
14382 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
14383 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
14384 | } | |
14385 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
14386 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
14387 | } | |
14388 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
14389 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
14390 | } | |
14391 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
14392 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
14393 | } | |
14394 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
14395 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
14396 | } | |
14397 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
14398 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
14399 | } | |
14400 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
14401 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
14402 | } | |
14403 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
14404 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
14405 | } | |
14406 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
14407 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
14408 | } | |
14409 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
14410 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
14411 | } | |
34e0a3bb RD |
14412 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
14413 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
14414 | } | |
27e45892 RD |
14415 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
14416 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
14417 | } | |
14418 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
14419 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
14420 | } | |
14421 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
14422 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
14423 | } | |
14424 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { | |
14425 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
14426 | } | |
14427 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
14428 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
14429 | } | |
14430 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
14431 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
14432 | } | |
14433 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
14434 | return (void *)((wxObject *) ((wxImage *) x)); | |
14435 | } | |
14436 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
14437 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
14438 | } | |
14439 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
14440 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
14441 | } | |
14442 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
14443 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
14444 | } | |
14445 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
14446 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
14447 | } | |
14448 | static void *_p_wxFloatingPaneTo_p_wxObject(void *x) { | |
14449 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); | |
14450 | } | |
14451 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
14452 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
14453 | } | |
14454 | static void *_p_wxFrameManagerTo_p_wxObject(void *x) { | |
14455 | return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x)); | |
14456 | } | |
14457 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
14458 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
14459 | } | |
1eeb270e RD |
14460 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
14461 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
14462 | } | |
27e45892 RD |
14463 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
14464 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
14465 | } | |
14466 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
14467 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
14468 | } | |
14469 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
14470 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
14471 | } | |
14472 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
14473 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
14474 | } | |
14475 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
14476 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
14477 | } | |
14478 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
14479 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
14480 | } | |
14481 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
14482 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
14483 | } | |
14484 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
14485 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
14486 | } | |
14487 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
14488 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
14489 | } | |
14490 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
14491 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
14492 | } | |
14493 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
14494 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
14495 | } | |
14496 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
14497 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
14498 | } | |
14499 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
14500 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
14501 | } | |
14502 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
14503 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
14504 | } | |
14505 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
14506 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
14507 | } | |
14508 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
14509 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
14510 | } | |
14511 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
14512 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
14513 | } | |
14514 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
14515 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
14516 | } | |
14517 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
14518 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
14519 | } | |
14520 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
14521 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
14522 | } | |
14523 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
14524 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
14525 | } | |
14526 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
14527 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
14528 | } | |
14529 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
14530 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
14531 | } | |
14532 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
14533 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
14534 | } | |
14535 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
14536 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
14537 | } | |
14538 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
14539 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
14540 | } | |
14541 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
14542 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
14543 | } | |
14544 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
14545 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
14546 | } | |
14547 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
14548 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
14549 | } | |
14550 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
14551 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
14552 | } | |
14553 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
14554 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
14555 | } | |
14556 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
14557 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
14558 | } | |
14559 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
14560 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
14561 | } | |
14562 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
14563 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
14564 | } | |
14565 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
14566 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
14567 | } | |
14568 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
14569 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
14570 | } | |
14571 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
14572 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
14573 | } | |
14574 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
14575 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
14576 | } | |
14577 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
14578 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
14579 | } | |
14580 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
14581 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
14582 | } | |
14583 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
14584 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
14585 | } | |
14586 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
14587 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
14588 | } | |
14589 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
14590 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
14591 | } | |
14592 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
14593 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
14594 | } | |
14595 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
14596 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
14597 | } | |
14598 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
14599 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
14600 | } | |
14601 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
14602 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
14603 | } | |
14604 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
14605 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
14606 | } | |
14607 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
14608 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
14609 | } | |
14610 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
14611 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
14612 | } | |
14613 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
14614 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
14615 | } | |
14616 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
14617 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
14618 | } | |
14619 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
14620 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
14621 | } | |
14622 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
14623 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
14624 | } | |
14625 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
14626 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14627 | } | |
14628 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
14629 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
14630 | } | |
14631 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
14632 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14633 | } | |
14634 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
14635 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14636 | } | |
14637 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
14638 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
14639 | } | |
14640 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
14641 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
14642 | } | |
14643 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
14644 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
14645 | } | |
14646 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
14647 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
14648 | } | |
14649 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
14650 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
14651 | } | |
14652 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
14653 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
14654 | } | |
14655 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
14656 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
14657 | } | |
14658 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14659 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
14660 | } | |
14661 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
14662 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
14663 | } | |
14664 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
14665 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
14666 | } | |
14667 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
14668 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
14669 | } | |
14670 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
14671 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
14672 | } | |
14673 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
14674 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
14675 | } | |
14676 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
14677 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
14678 | } | |
14679 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
14680 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
14681 | } | |
14682 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
14683 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
14684 | } | |
14685 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14686 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
14687 | } | |
14688 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
14689 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
14690 | } | |
14691 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
14692 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
14693 | } | |
14694 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
14695 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
14696 | } | |
14697 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
14698 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
14699 | } | |
14700 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
14701 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
14702 | } | |
14703 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
14704 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14705 | } | |
14706 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
14707 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
14708 | } | |
14709 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
14710 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
14711 | } | |
14712 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
14713 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
14714 | } | |
14715 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
14716 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
14717 | } | |
14718 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
14719 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
14720 | } | |
14721 | static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) { | |
14722 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); | |
14723 | } | |
14724 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
14725 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
14726 | } | |
14727 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
14728 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
14729 | } | |
1eeb270e RD |
14730 | static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) { |
14731 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x)); | |
14732 | } | |
27e45892 RD |
14733 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
14734 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
14735 | } | |
14736 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
14737 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
14738 | } | |
14739 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
14740 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
14741 | } | |
1eeb270e RD |
14742 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
14743 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
14744 | } | |
27e45892 RD |
14745 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
14746 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
14747 | } | |
14748 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
14749 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
14750 | } | |
14751 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
14752 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
14753 | } | |
14754 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
14755 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
14756 | } | |
14757 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
14758 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
14759 | } | |
14760 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
14761 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
14762 | } | |
14763 | static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) { | |
14764 | return (void *)((wxEvtHandler *) ((wxFrameManager *) x)); | |
14765 | } | |
1eeb270e RD |
14766 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
14767 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
14768 | } | |
27e45892 RD |
14769 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
14770 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
14771 | } | |
14772 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
14773 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
14774 | } | |
14775 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
14776 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
14777 | } | |
14778 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
14779 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
14780 | } | |
14781 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
14782 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
14783 | } | |
14784 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
14785 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14786 | } | |
14787 | static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) { | |
14788 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x)); | |
14789 | } | |
14790 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
14791 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
14792 | } | |
14793 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
14794 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
14795 | } | |
14796 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
14797 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
14798 | } | |
1eeb270e RD |
14799 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
14800 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
14801 | } | |
14802 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
14803 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
14804 | } | |
14805 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
14806 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
14807 | } | |
14808 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
14809 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
14810 | } | |
14811 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
14812 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
14813 | } | |
14814 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
14815 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
14816 | } | |
14817 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
14818 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
14819 | } | |
14820 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
14821 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
14822 | } | |
14823 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
14824 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
14825 | } | |
14826 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
14827 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
14828 | } | |
14829 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
14830 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
14831 | } | |
14832 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
14833 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
14834 | } | |
14835 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
14836 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
14837 | } | |
14838 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
14839 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
14840 | } | |
27e45892 RD |
14841 | static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) { |
14842 | return (void *)((wxDockArt *) ((wxDefaultDockArt *) x)); | |
14843 | } | |
14844 | static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) { | |
14845 | return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x)); | |
14846 | } | |
14847 | static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) { | |
14848 | return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x)); | |
14849 | } | |
14850 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; | |
14851 | 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}; | |
14852 | static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
14853 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
14854 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
14855 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
14856 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
14857 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
14858 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
14859 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
14860 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
14861 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
14862 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
14863 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
14864 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
14865 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
14866 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
14867 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
14868 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
14869 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
14870 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
14871 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
14872 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
14873 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
14874 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
14875 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
14876 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
14877 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
14878 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
14879 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
14880 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
14881 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
14882 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
14883 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
14884 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
14885 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
14886 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
14887 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
14888 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
14889 | static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0}; | |
14890 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
14891 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
14892 | static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0}; | |
14893 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
14894 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
14895 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
14896 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
14897 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
14898 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
14899 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
14900 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
14901 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14902 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
14903 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
14904 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
14905 | static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0}; |
14906 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; | |
14907 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
14908 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
14909 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; | |
14910 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
14911 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
14912 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
14913 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
14914 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
14915 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
14916 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
14917 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
14918 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
14919 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
14920 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
14921 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
14922 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
14923 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
14924 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
14925 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
14926 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
14927 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
14928 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
14929 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14930 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
14931 | static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0}; | |
14932 | static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0}; | |
14933 | static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0}; | |
14934 | static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0}; | |
14935 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
14936 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
14937 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
14938 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
14939 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
14940 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
14941 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 14942 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 14943 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
34e0a3bb | 14944 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
14945 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
14946 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14947 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
14948 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
14949 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
14950 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
14951 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
14952 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14953 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
14954 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14955 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
14956 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
14957 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
14958 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
14959 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
14960 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14961 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
14962 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14963 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
14964 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
14965 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
14966 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
14967 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
14968 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
14969 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
14970 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
14971 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
14972 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
14973 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
14974 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
14975 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
14976 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
14977 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
14978 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
14979 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
14980 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
14981 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
14982 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; | |
14983 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
14984 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
14985 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
14986 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
14987 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
14988 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
14989 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
14990 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
14991 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
14992 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
14993 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
14994 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
14995 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
14996 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14997 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
14998 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
14999 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
15000 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
15001 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
15002 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
15003 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
15004 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
15005 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
15006 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
15007 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
15008 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
15009 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
15010 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
15011 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
15012 | static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0}; | |
15013 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
15014 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
15015 | static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0}; | |
15016 | static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0}; | |
15017 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; | |
1eeb270e | 15018 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
15019 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
15020 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
15021 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
15022 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
15023 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
15024 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
15025 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
15026 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
15027 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
15028 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
15029 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
15030 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
15031 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
15032 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
15033 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
15034 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
15035 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
15036 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
15037 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
15038 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
15039 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
15040 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
15041 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
15042 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
1eeb270e RD |
15043 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
15044 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
15045 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
15046 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
15047 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
15048 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
15049 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
15050 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
15051 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
15052 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
15053 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
15054 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
15055 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
15056 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
15057 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
15058 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
15059 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
15060 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
15061 | static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0}; | |
15062 | static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0}; | |
15063 | static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0}; | |
15064 | static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
15065 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
15066 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
15067 | static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0}; | |
15068 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; | |
15069 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
15070 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
15071 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
15072 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
15073 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
15074 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
15075 | ||
15076 | static swig_type_info *swig_type_initial[] = { | |
15077 | &_swigt__p_char, | |
15078 | &_swigt__p_form_ops_t, | |
15079 | &_swigt__p_int, | |
1eeb270e RD |
15080 | &_swigt__p_p_wxAuiMultiNotebook, |
15081 | &_swigt__p_p_wxAuiTabContainerButton, | |
15082 | &_swigt__p_p_wxAuiTabCtrl, | |
15083 | &_swigt__p_p_wxColourDialog, | |
15084 | &_swigt__p_p_wxControl, | |
15085 | &_swigt__p_p_wxControlWithItems, | |
15086 | &_swigt__p_p_wxDialog, | |
15087 | &_swigt__p_p_wxDirDialog, | |
15088 | &_swigt__p_p_wxFileDialog, | |
15089 | &_swigt__p_p_wxFindReplaceDialog, | |
15090 | &_swigt__p_p_wxFloatingPane, | |
15091 | &_swigt__p_p_wxFontDialog, | |
15092 | &_swigt__p_p_wxFrame, | |
15093 | &_swigt__p_p_wxMDIChildFrame, | |
15094 | &_swigt__p_p_wxMDIClientWindow, | |
15095 | &_swigt__p_p_wxMDIParentFrame, | |
15096 | &_swigt__p_p_wxMenuBar, | |
15097 | &_swigt__p_p_wxMessageDialog, | |
15098 | &_swigt__p_p_wxMiniFrame, | |
15099 | &_swigt__p_p_wxMultiChoiceDialog, | |
15100 | &_swigt__p_p_wxNumberEntryDialog, | |
15101 | &_swigt__p_p_wxPanel, | |
15102 | &_swigt__p_p_wxPasswordEntryDialog, | |
15103 | &_swigt__p_p_wxPopupWindow, | |
15104 | &_swigt__p_p_wxPreviewCanvas, | |
15105 | &_swigt__p_p_wxPreviewControlBar, | |
15106 | &_swigt__p_p_wxPreviewFrame, | |
15107 | &_swigt__p_p_wxProgressDialog, | |
15108 | &_swigt__p_p_wxPyHtmlListBox, | |
15109 | &_swigt__p_p_wxPyPanel, | |
15110 | &_swigt__p_p_wxPyPopupTransientWindow, | |
15111 | &_swigt__p_p_wxPyPreviewControlBar, | |
15112 | &_swigt__p_p_wxPyPreviewFrame, | |
15113 | &_swigt__p_p_wxPyScrolledWindow, | |
15114 | &_swigt__p_p_wxPyVListBox, | |
15115 | &_swigt__p_p_wxPyVScrolledWindow, | |
15116 | &_swigt__p_p_wxPyWindow, | |
15117 | &_swigt__p_p_wxSashLayoutWindow, | |
15118 | &_swigt__p_p_wxSashWindow, | |
15119 | &_swigt__p_p_wxScrolledWindow, | |
15120 | &_swigt__p_p_wxSingleChoiceDialog, | |
15121 | &_swigt__p_p_wxSplashScreen, | |
15122 | &_swigt__p_p_wxSplashScreenWindow, | |
15123 | &_swigt__p_p_wxSplitterWindow, | |
15124 | &_swigt__p_p_wxStatusBar, | |
15125 | &_swigt__p_p_wxTextEntryDialog, | |
15126 | &_swigt__p_p_wxTipWindow, | |
15127 | &_swigt__p_p_wxTopLevelWindow, | |
15128 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
15129 | &_swigt__p_unsigned_char, |
15130 | &_swigt__p_unsigned_int, | |
15131 | &_swigt__p_unsigned_long, | |
15132 | &_swigt__p_wxANIHandler, | |
15133 | &_swigt__p_wxAcceleratorTable, | |
15134 | &_swigt__p_wxActivateEvent, | |
1eeb270e RD |
15135 | &_swigt__p_wxAuiMultiNotebook, |
15136 | &_swigt__p_wxAuiNotebookEvent, | |
15137 | &_swigt__p_wxAuiNotebookPage, | |
15138 | &_swigt__p_wxAuiNotebookPageArray, | |
15139 | &_swigt__p_wxAuiTabContainer, | |
15140 | &_swigt__p_wxAuiTabContainerButton, | |
15141 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 15142 | &_swigt__p_wxBMPHandler, |
1eeb270e | 15143 | &_swigt__p_wxBitmap, |
27e45892 RD |
15144 | &_swigt__p_wxBoxSizer, |
15145 | &_swigt__p_wxCURHandler, | |
15146 | &_swigt__p_wxCalculateLayoutEvent, | |
15147 | &_swigt__p_wxChildFocusEvent, | |
15148 | &_swigt__p_wxClipboardTextEvent, | |
15149 | &_swigt__p_wxCloseEvent, | |
15150 | &_swigt__p_wxColor, | |
15151 | &_swigt__p_wxColour, | |
15152 | &_swigt__p_wxColourData, | |
15153 | &_swigt__p_wxColourDialog, | |
15154 | &_swigt__p_wxCommandEvent, | |
15155 | &_swigt__p_wxContextMenuEvent, | |
15156 | &_swigt__p_wxControl, | |
15157 | &_swigt__p_wxControlWithItems, | |
15158 | &_swigt__p_wxDC, | |
15159 | &_swigt__p_wxDateEvent, | |
15160 | &_swigt__p_wxDefaultDockArt, | |
15161 | &_swigt__p_wxDialog, | |
15162 | &_swigt__p_wxDirDialog, | |
15163 | &_swigt__p_wxDisplayChangedEvent, | |
15164 | &_swigt__p_wxDockArt, | |
15165 | &_swigt__p_wxDockInfo, | |
15166 | &_swigt__p_wxDockUIPart, | |
15167 | &_swigt__p_wxDropFilesEvent, | |
15168 | &_swigt__p_wxDuplexMode, | |
15169 | &_swigt__p_wxEraseEvent, | |
15170 | &_swigt__p_wxEvent, | |
15171 | &_swigt__p_wxEvtHandler, | |
15172 | &_swigt__p_wxFSFile, | |
15173 | &_swigt__p_wxFileDialog, | |
15174 | &_swigt__p_wxFileSystem, | |
15175 | &_swigt__p_wxFindDialogEvent, | |
15176 | &_swigt__p_wxFindReplaceData, | |
15177 | &_swigt__p_wxFindReplaceDialog, | |
15178 | &_swigt__p_wxFlexGridSizer, | |
15179 | &_swigt__p_wxFloatingPane, | |
15180 | &_swigt__p_wxFocusEvent, | |
15181 | &_swigt__p_wxFont, | |
15182 | &_swigt__p_wxFontData, | |
15183 | &_swigt__p_wxFontDialog, | |
15184 | &_swigt__p_wxFrame, | |
15185 | &_swigt__p_wxFrameManager, | |
15186 | &_swigt__p_wxFrameManagerEvent, | |
15187 | &_swigt__p_wxGBSizerItem, | |
15188 | &_swigt__p_wxGIFHandler, | |
15189 | &_swigt__p_wxGridBagSizer, | |
15190 | &_swigt__p_wxGridSizer, | |
15191 | &_swigt__p_wxICOHandler, | |
15192 | &_swigt__p_wxIconizeEvent, | |
15193 | &_swigt__p_wxIdleEvent, | |
15194 | &_swigt__p_wxImage, | |
15195 | &_swigt__p_wxImageHandler, | |
15196 | &_swigt__p_wxIndividualLayoutConstraint, | |
15197 | &_swigt__p_wxInitDialogEvent, | |
15198 | &_swigt__p_wxJPEGHandler, | |
15199 | &_swigt__p_wxKeyEvent, | |
15200 | &_swigt__p_wxLayoutAlgorithm, | |
15201 | &_swigt__p_wxLayoutConstraints, | |
15202 | &_swigt__p_wxMDIChildFrame, | |
15203 | &_swigt__p_wxMDIClientWindow, | |
15204 | &_swigt__p_wxMDIParentFrame, | |
15205 | &_swigt__p_wxMaximizeEvent, | |
15206 | &_swigt__p_wxMenu, | |
15207 | &_swigt__p_wxMenuBar, | |
15208 | &_swigt__p_wxMenuEvent, | |
15209 | &_swigt__p_wxMenuItem, | |
15210 | &_swigt__p_wxMessageDialog, | |
15211 | &_swigt__p_wxMiniFrame, | |
15212 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 15213 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
15214 | &_swigt__p_wxMouseEvent, |
15215 | &_swigt__p_wxMoveEvent, | |
15216 | &_swigt__p_wxMultiChoiceDialog, | |
15217 | &_swigt__p_wxNavigationKeyEvent, | |
15218 | &_swigt__p_wxNcPaintEvent, | |
15219 | &_swigt__p_wxNotifyEvent, | |
15220 | &_swigt__p_wxNumberEntryDialog, | |
15221 | &_swigt__p_wxObject, | |
15222 | &_swigt__p_wxPCXHandler, | |
15223 | &_swigt__p_wxPNGHandler, | |
15224 | &_swigt__p_wxPNMHandler, | |
15225 | &_swigt__p_wxPageSetupDialog, | |
15226 | &_swigt__p_wxPageSetupDialogData, | |
15227 | &_swigt__p_wxPaintEvent, | |
15228 | &_swigt__p_wxPaletteChangedEvent, | |
15229 | &_swigt__p_wxPaneButton, | |
15230 | &_swigt__p_wxPaneButtonArray, | |
15231 | &_swigt__p_wxPaneInfo, | |
15232 | &_swigt__p_wxPaneInfoPtrArray, | |
15233 | &_swigt__p_wxPanel, | |
15234 | &_swigt__p_wxPaperSize, | |
15235 | &_swigt__p_wxPasswordEntryDialog, | |
15236 | &_swigt__p_wxPoint, | |
15237 | &_swigt__p_wxPopupWindow, | |
15238 | &_swigt__p_wxPreviewCanvas, | |
15239 | &_swigt__p_wxPreviewControlBar, | |
15240 | &_swigt__p_wxPreviewFrame, | |
15241 | &_swigt__p_wxPrintData, | |
15242 | &_swigt__p_wxPrintDialog, | |
15243 | &_swigt__p_wxPrintDialogData, | |
15244 | &_swigt__p_wxPrintPreview, | |
15245 | &_swigt__p_wxPrinter, | |
15246 | &_swigt__p_wxProgressDialog, | |
15247 | &_swigt__p_wxPyApp, | |
15248 | &_swigt__p_wxPyCommandEvent, | |
15249 | &_swigt__p_wxPyDockArt, | |
15250 | &_swigt__p_wxPyEvent, | |
15251 | &_swigt__p_wxPyHtmlListBox, | |
15252 | &_swigt__p_wxPyImageHandler, | |
15253 | &_swigt__p_wxPyPanel, | |
15254 | &_swigt__p_wxPyPopupTransientWindow, | |
15255 | &_swigt__p_wxPyPreviewControlBar, | |
15256 | &_swigt__p_wxPyPreviewFrame, | |
15257 | &_swigt__p_wxPyPrintPreview, | |
15258 | &_swigt__p_wxPyPrintout, | |
15259 | &_swigt__p_wxPyScrolledWindow, | |
15260 | &_swigt__p_wxPySizer, | |
15261 | &_swigt__p_wxPyTaskBarIcon, | |
15262 | &_swigt__p_wxPyVListBox, | |
15263 | &_swigt__p_wxPyVScrolledWindow, | |
15264 | &_swigt__p_wxPyValidator, | |
15265 | &_swigt__p_wxPyWindow, | |
15266 | &_swigt__p_wxQueryLayoutInfoEvent, | |
15267 | &_swigt__p_wxQueryNewPaletteEvent, | |
15268 | &_swigt__p_wxRect, | |
15269 | &_swigt__p_wxSashEvent, | |
15270 | &_swigt__p_wxSashLayoutWindow, | |
15271 | &_swigt__p_wxSashWindow, | |
15272 | &_swigt__p_wxScrollEvent, | |
15273 | &_swigt__p_wxScrollWinEvent, | |
15274 | &_swigt__p_wxScrolledWindow, | |
15275 | &_swigt__p_wxSetCursorEvent, | |
15276 | &_swigt__p_wxShowEvent, | |
15277 | &_swigt__p_wxSingleChoiceDialog, | |
15278 | &_swigt__p_wxSize, | |
15279 | &_swigt__p_wxSizeEvent, | |
15280 | &_swigt__p_wxSizer, | |
15281 | &_swigt__p_wxSizerItem, | |
15282 | &_swigt__p_wxSplashScreen, | |
15283 | &_swigt__p_wxSplashScreenWindow, | |
15284 | &_swigt__p_wxSplitterEvent, | |
15285 | &_swigt__p_wxSplitterWindow, | |
15286 | &_swigt__p_wxStaticBoxSizer, | |
15287 | &_swigt__p_wxStatusBar, | |
15288 | &_swigt__p_wxStdDialogButtonSizer, | |
15289 | &_swigt__p_wxString, | |
15290 | &_swigt__p_wxSysColourChangedEvent, | |
15291 | &_swigt__p_wxTIFFHandler, | |
15292 | &_swigt__p_wxTaskBarIconEvent, | |
15293 | &_swigt__p_wxTextEntryDialog, | |
15294 | &_swigt__p_wxTipWindow, | |
15295 | &_swigt__p_wxTopLevelWindow, | |
15296 | &_swigt__p_wxUpdateUIEvent, | |
15297 | &_swigt__p_wxValidator, | |
15298 | &_swigt__p_wxWindow, | |
15299 | &_swigt__p_wxWindowCreateEvent, | |
15300 | &_swigt__p_wxWindowDestroyEvent, | |
15301 | &_swigt__p_wxXPMHandler, | |
15302 | }; | |
15303 | ||
15304 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
15305 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
15306 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
15307 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
15308 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
15309 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15310 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15311 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15312 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15313 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15314 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15315 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15316 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15317 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15318 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15319 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15320 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15321 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15322 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15323 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15324 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15325 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15326 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15327 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15328 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15329 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15330 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15331 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15332 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15333 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15334 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15335 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15336 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15337 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
15338 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15339 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
15340 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15341 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
15342 | static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}}; | |
15343 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15344 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15345 | static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
15346 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15347 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15348 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
15349 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15350 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15351 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15352 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15353 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15354 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15355 | 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 |
15356 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
15357 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
15358 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
15359 | static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
15360 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15361 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
15362 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
15363 | 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}}; | |
15364 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
15365 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
15366 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15367 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
15368 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
15369 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15370 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15371 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15372 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15373 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15374 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15375 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15376 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15377 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15378 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15379 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15380 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15381 | 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}}; | |
15382 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
15383 | 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 |
15384 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
15385 | 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}}; | |
15386 | 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}}; | |
15387 | static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
15388 | static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
15389 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15390 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15391 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15392 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15393 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15394 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 15395 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 15396 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 15397 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
15398 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15399 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15400 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15401 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15402 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15403 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15404 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15405 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15406 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15407 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15408 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15409 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15410 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15411 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15412 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15413 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15414 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15415 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15416 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
15417 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15418 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15419 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 15420 | 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 |
15421 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
15422 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15423 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15424 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
15425 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
15426 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15427 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15428 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15429 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15430 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15431 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15432 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15433 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15434 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15435 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
15436 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15437 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15438 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15439 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15440 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15441 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15442 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15443 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15444 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15445 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15446 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15447 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
15448 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
15449 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15450 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
15451 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15452 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
15453 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
15454 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15455 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
15456 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15457 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
15458 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
15459 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15460 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15461 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15462 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15463 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
15464 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e | 15465 | 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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashWindow, _p_wxSashWindowTo_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_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 |
15466 | static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}}; |
15467 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
15468 | 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_wxTipWindow, _p_wxTipWindowTo_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}}; | |
15469 | static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}}; | |
15470 | static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
15471 | static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxMiniFrame, 0, 0}, {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e | 15472 | 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 |
15473 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
15474 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
15475 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
15476 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15477 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15478 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15479 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
15480 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
15481 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15482 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15483 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
15484 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
15485 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
15486 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15487 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
15488 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
15489 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15490 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
15491 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15492 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15493 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15494 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15495 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
15496 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
15497 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
15498 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
15499 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15500 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15501 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15502 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
15503 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
15504 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
15505 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
15506 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
15507 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
15508 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
15509 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15510 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
15511 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
15512 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
15513 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 15514 | 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_wxTipWindow, _p_wxTipWindowTo_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_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 |
15515 | static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
15516 | static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
15517 | static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
15518 | static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
15519 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
15520 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
15521 | static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}}; | |
15522 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; | |
15523 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
15524 | 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}}; | |
15525 | 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}}; | |
15526 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
15527 | 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_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_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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_wxMessageDialog, _p_wxMessageDialogTo_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}}; | |
1eeb270e | 15528 | 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_wxFileDialog, _p_wxFileDialogTo_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_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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 |
15529 | |
15530 | static swig_cast_info *swig_cast_initial[] = { | |
15531 | _swigc__p_char, | |
15532 | _swigc__p_form_ops_t, | |
15533 | _swigc__p_int, | |
1eeb270e RD |
15534 | _swigc__p_p_wxAuiMultiNotebook, |
15535 | _swigc__p_p_wxAuiTabContainerButton, | |
15536 | _swigc__p_p_wxAuiTabCtrl, | |
15537 | _swigc__p_p_wxColourDialog, | |
15538 | _swigc__p_p_wxControl, | |
15539 | _swigc__p_p_wxControlWithItems, | |
15540 | _swigc__p_p_wxDialog, | |
15541 | _swigc__p_p_wxDirDialog, | |
15542 | _swigc__p_p_wxFileDialog, | |
15543 | _swigc__p_p_wxFindReplaceDialog, | |
15544 | _swigc__p_p_wxFloatingPane, | |
15545 | _swigc__p_p_wxFontDialog, | |
15546 | _swigc__p_p_wxFrame, | |
15547 | _swigc__p_p_wxMDIChildFrame, | |
15548 | _swigc__p_p_wxMDIClientWindow, | |
15549 | _swigc__p_p_wxMDIParentFrame, | |
15550 | _swigc__p_p_wxMenuBar, | |
15551 | _swigc__p_p_wxMessageDialog, | |
15552 | _swigc__p_p_wxMiniFrame, | |
15553 | _swigc__p_p_wxMultiChoiceDialog, | |
15554 | _swigc__p_p_wxNumberEntryDialog, | |
15555 | _swigc__p_p_wxPanel, | |
15556 | _swigc__p_p_wxPasswordEntryDialog, | |
15557 | _swigc__p_p_wxPopupWindow, | |
15558 | _swigc__p_p_wxPreviewCanvas, | |
15559 | _swigc__p_p_wxPreviewControlBar, | |
15560 | _swigc__p_p_wxPreviewFrame, | |
15561 | _swigc__p_p_wxProgressDialog, | |
15562 | _swigc__p_p_wxPyHtmlListBox, | |
15563 | _swigc__p_p_wxPyPanel, | |
15564 | _swigc__p_p_wxPyPopupTransientWindow, | |
15565 | _swigc__p_p_wxPyPreviewControlBar, | |
15566 | _swigc__p_p_wxPyPreviewFrame, | |
15567 | _swigc__p_p_wxPyScrolledWindow, | |
15568 | _swigc__p_p_wxPyVListBox, | |
15569 | _swigc__p_p_wxPyVScrolledWindow, | |
15570 | _swigc__p_p_wxPyWindow, | |
15571 | _swigc__p_p_wxSashLayoutWindow, | |
15572 | _swigc__p_p_wxSashWindow, | |
15573 | _swigc__p_p_wxScrolledWindow, | |
15574 | _swigc__p_p_wxSingleChoiceDialog, | |
15575 | _swigc__p_p_wxSplashScreen, | |
15576 | _swigc__p_p_wxSplashScreenWindow, | |
15577 | _swigc__p_p_wxSplitterWindow, | |
15578 | _swigc__p_p_wxStatusBar, | |
15579 | _swigc__p_p_wxTextEntryDialog, | |
15580 | _swigc__p_p_wxTipWindow, | |
15581 | _swigc__p_p_wxTopLevelWindow, | |
15582 | _swigc__p_p_wxWindow, | |
27e45892 RD |
15583 | _swigc__p_unsigned_char, |
15584 | _swigc__p_unsigned_int, | |
15585 | _swigc__p_unsigned_long, | |
15586 | _swigc__p_wxANIHandler, | |
15587 | _swigc__p_wxAcceleratorTable, | |
15588 | _swigc__p_wxActivateEvent, | |
1eeb270e RD |
15589 | _swigc__p_wxAuiMultiNotebook, |
15590 | _swigc__p_wxAuiNotebookEvent, | |
15591 | _swigc__p_wxAuiNotebookPage, | |
15592 | _swigc__p_wxAuiNotebookPageArray, | |
15593 | _swigc__p_wxAuiTabContainer, | |
15594 | _swigc__p_wxAuiTabContainerButton, | |
15595 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 15596 | _swigc__p_wxBMPHandler, |
1eeb270e | 15597 | _swigc__p_wxBitmap, |
27e45892 RD |
15598 | _swigc__p_wxBoxSizer, |
15599 | _swigc__p_wxCURHandler, | |
15600 | _swigc__p_wxCalculateLayoutEvent, | |
15601 | _swigc__p_wxChildFocusEvent, | |
15602 | _swigc__p_wxClipboardTextEvent, | |
15603 | _swigc__p_wxCloseEvent, | |
15604 | _swigc__p_wxColor, | |
15605 | _swigc__p_wxColour, | |
15606 | _swigc__p_wxColourData, | |
15607 | _swigc__p_wxColourDialog, | |
15608 | _swigc__p_wxCommandEvent, | |
15609 | _swigc__p_wxContextMenuEvent, | |
15610 | _swigc__p_wxControl, | |
15611 | _swigc__p_wxControlWithItems, | |
15612 | _swigc__p_wxDC, | |
15613 | _swigc__p_wxDateEvent, | |
15614 | _swigc__p_wxDefaultDockArt, | |
15615 | _swigc__p_wxDialog, | |
15616 | _swigc__p_wxDirDialog, | |
15617 | _swigc__p_wxDisplayChangedEvent, | |
15618 | _swigc__p_wxDockArt, | |
15619 | _swigc__p_wxDockInfo, | |
15620 | _swigc__p_wxDockUIPart, | |
15621 | _swigc__p_wxDropFilesEvent, | |
15622 | _swigc__p_wxDuplexMode, | |
15623 | _swigc__p_wxEraseEvent, | |
15624 | _swigc__p_wxEvent, | |
15625 | _swigc__p_wxEvtHandler, | |
15626 | _swigc__p_wxFSFile, | |
15627 | _swigc__p_wxFileDialog, | |
15628 | _swigc__p_wxFileSystem, | |
15629 | _swigc__p_wxFindDialogEvent, | |
15630 | _swigc__p_wxFindReplaceData, | |
15631 | _swigc__p_wxFindReplaceDialog, | |
15632 | _swigc__p_wxFlexGridSizer, | |
15633 | _swigc__p_wxFloatingPane, | |
15634 | _swigc__p_wxFocusEvent, | |
15635 | _swigc__p_wxFont, | |
15636 | _swigc__p_wxFontData, | |
15637 | _swigc__p_wxFontDialog, | |
15638 | _swigc__p_wxFrame, | |
15639 | _swigc__p_wxFrameManager, | |
15640 | _swigc__p_wxFrameManagerEvent, | |
15641 | _swigc__p_wxGBSizerItem, | |
15642 | _swigc__p_wxGIFHandler, | |
15643 | _swigc__p_wxGridBagSizer, | |
15644 | _swigc__p_wxGridSizer, | |
15645 | _swigc__p_wxICOHandler, | |
15646 | _swigc__p_wxIconizeEvent, | |
15647 | _swigc__p_wxIdleEvent, | |
15648 | _swigc__p_wxImage, | |
15649 | _swigc__p_wxImageHandler, | |
15650 | _swigc__p_wxIndividualLayoutConstraint, | |
15651 | _swigc__p_wxInitDialogEvent, | |
15652 | _swigc__p_wxJPEGHandler, | |
15653 | _swigc__p_wxKeyEvent, | |
15654 | _swigc__p_wxLayoutAlgorithm, | |
15655 | _swigc__p_wxLayoutConstraints, | |
15656 | _swigc__p_wxMDIChildFrame, | |
15657 | _swigc__p_wxMDIClientWindow, | |
15658 | _swigc__p_wxMDIParentFrame, | |
15659 | _swigc__p_wxMaximizeEvent, | |
15660 | _swigc__p_wxMenu, | |
15661 | _swigc__p_wxMenuBar, | |
15662 | _swigc__p_wxMenuEvent, | |
15663 | _swigc__p_wxMenuItem, | |
15664 | _swigc__p_wxMessageDialog, | |
15665 | _swigc__p_wxMiniFrame, | |
15666 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 15667 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
15668 | _swigc__p_wxMouseEvent, |
15669 | _swigc__p_wxMoveEvent, | |
15670 | _swigc__p_wxMultiChoiceDialog, | |
15671 | _swigc__p_wxNavigationKeyEvent, | |
15672 | _swigc__p_wxNcPaintEvent, | |
15673 | _swigc__p_wxNotifyEvent, | |
15674 | _swigc__p_wxNumberEntryDialog, | |
15675 | _swigc__p_wxObject, | |
15676 | _swigc__p_wxPCXHandler, | |
15677 | _swigc__p_wxPNGHandler, | |
15678 | _swigc__p_wxPNMHandler, | |
15679 | _swigc__p_wxPageSetupDialog, | |
15680 | _swigc__p_wxPageSetupDialogData, | |
15681 | _swigc__p_wxPaintEvent, | |
15682 | _swigc__p_wxPaletteChangedEvent, | |
15683 | _swigc__p_wxPaneButton, | |
15684 | _swigc__p_wxPaneButtonArray, | |
15685 | _swigc__p_wxPaneInfo, | |
15686 | _swigc__p_wxPaneInfoPtrArray, | |
15687 | _swigc__p_wxPanel, | |
15688 | _swigc__p_wxPaperSize, | |
15689 | _swigc__p_wxPasswordEntryDialog, | |
15690 | _swigc__p_wxPoint, | |
15691 | _swigc__p_wxPopupWindow, | |
15692 | _swigc__p_wxPreviewCanvas, | |
15693 | _swigc__p_wxPreviewControlBar, | |
15694 | _swigc__p_wxPreviewFrame, | |
15695 | _swigc__p_wxPrintData, | |
15696 | _swigc__p_wxPrintDialog, | |
15697 | _swigc__p_wxPrintDialogData, | |
15698 | _swigc__p_wxPrintPreview, | |
15699 | _swigc__p_wxPrinter, | |
15700 | _swigc__p_wxProgressDialog, | |
15701 | _swigc__p_wxPyApp, | |
15702 | _swigc__p_wxPyCommandEvent, | |
15703 | _swigc__p_wxPyDockArt, | |
15704 | _swigc__p_wxPyEvent, | |
15705 | _swigc__p_wxPyHtmlListBox, | |
15706 | _swigc__p_wxPyImageHandler, | |
15707 | _swigc__p_wxPyPanel, | |
15708 | _swigc__p_wxPyPopupTransientWindow, | |
15709 | _swigc__p_wxPyPreviewControlBar, | |
15710 | _swigc__p_wxPyPreviewFrame, | |
15711 | _swigc__p_wxPyPrintPreview, | |
15712 | _swigc__p_wxPyPrintout, | |
15713 | _swigc__p_wxPyScrolledWindow, | |
15714 | _swigc__p_wxPySizer, | |
15715 | _swigc__p_wxPyTaskBarIcon, | |
15716 | _swigc__p_wxPyVListBox, | |
15717 | _swigc__p_wxPyVScrolledWindow, | |
15718 | _swigc__p_wxPyValidator, | |
15719 | _swigc__p_wxPyWindow, | |
15720 | _swigc__p_wxQueryLayoutInfoEvent, | |
15721 | _swigc__p_wxQueryNewPaletteEvent, | |
15722 | _swigc__p_wxRect, | |
15723 | _swigc__p_wxSashEvent, | |
15724 | _swigc__p_wxSashLayoutWindow, | |
15725 | _swigc__p_wxSashWindow, | |
15726 | _swigc__p_wxScrollEvent, | |
15727 | _swigc__p_wxScrollWinEvent, | |
15728 | _swigc__p_wxScrolledWindow, | |
15729 | _swigc__p_wxSetCursorEvent, | |
15730 | _swigc__p_wxShowEvent, | |
15731 | _swigc__p_wxSingleChoiceDialog, | |
15732 | _swigc__p_wxSize, | |
15733 | _swigc__p_wxSizeEvent, | |
15734 | _swigc__p_wxSizer, | |
15735 | _swigc__p_wxSizerItem, | |
15736 | _swigc__p_wxSplashScreen, | |
15737 | _swigc__p_wxSplashScreenWindow, | |
15738 | _swigc__p_wxSplitterEvent, | |
15739 | _swigc__p_wxSplitterWindow, | |
15740 | _swigc__p_wxStaticBoxSizer, | |
15741 | _swigc__p_wxStatusBar, | |
15742 | _swigc__p_wxStdDialogButtonSizer, | |
15743 | _swigc__p_wxString, | |
15744 | _swigc__p_wxSysColourChangedEvent, | |
15745 | _swigc__p_wxTIFFHandler, | |
15746 | _swigc__p_wxTaskBarIconEvent, | |
15747 | _swigc__p_wxTextEntryDialog, | |
15748 | _swigc__p_wxTipWindow, | |
15749 | _swigc__p_wxTopLevelWindow, | |
15750 | _swigc__p_wxUpdateUIEvent, | |
15751 | _swigc__p_wxValidator, | |
15752 | _swigc__p_wxWindow, | |
15753 | _swigc__p_wxWindowCreateEvent, | |
15754 | _swigc__p_wxWindowDestroyEvent, | |
15755 | _swigc__p_wxXPMHandler, | |
15756 | }; | |
15757 | ||
15758 | ||
15759 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
15760 | ||
15761 | static swig_const_info swig_const_table[] = { | |
15762 | {0, 0, 0, 0.0, 0, 0}}; | |
15763 | ||
15764 | #ifdef __cplusplus | |
15765 | } | |
15766 | #endif | |
15767 | /* ----------------------------------------------------------------------------- | |
15768 | * Type initialization: | |
15769 | * This problem is tough by the requirement that no dynamic | |
15770 | * memory is used. Also, since swig_type_info structures store pointers to | |
15771 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
15772 | * to swig_type_info structures, we need some lookup code at initialization. | |
15773 | * The idea is that swig generates all the structures that are needed. | |
15774 | * The runtime then collects these partially filled structures. | |
15775 | * The SWIG_InitializeModule function takes these initial arrays out of | |
15776 | * swig_module, and does all the lookup, filling in the swig_module.types | |
15777 | * array with the correct data and linking the correct swig_cast_info | |
15778 | * structures together. | |
15779 | * | |
15780 | * The generated swig_type_info structures are assigned staticly to an initial | |
15781 | * array. We just loop though that array, and handle each type individually. | |
15782 | * First we lookup if this type has been already loaded, and if so, use the | |
15783 | * loaded structure instead of the generated one. Then we have to fill in the | |
15784 | * cast linked list. The cast data is initially stored in something like a | |
15785 | * two-dimensional array. Each row corresponds to a type (there are the same | |
15786 | * number of rows as there are in the swig_type_initial array). Each entry in | |
15787 | * a column is one of the swig_cast_info structures for that type. | |
15788 | * The cast_initial array is actually an array of arrays, because each row has | |
15789 | * a variable number of columns. So to actually build the cast linked list, | |
15790 | * we find the array of casts associated with the type, and loop through it | |
15791 | * adding the casts to the list. The one last trick we need to do is making | |
15792 | * sure the type pointer in the swig_cast_info struct is correct. | |
15793 | * | |
15794 | * First off, we lookup the cast->type name to see if it is already loaded. | |
15795 | * There are three cases to handle: | |
15796 | * 1) If the cast->type has already been loaded AND the type we are adding | |
15797 | * casting info to has not been loaded (it is in this module), THEN we | |
15798 | * replace the cast->type pointer with the type pointer that has already | |
15799 | * been loaded. | |
15800 | * 2) If BOTH types (the one we are adding casting info to, and the | |
15801 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
15802 | * the previous module so we just ignore it. | |
15803 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
15804 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
15805 | * be correct. | |
15806 | * ----------------------------------------------------------------------------- */ | |
15807 | ||
15808 | #ifdef __cplusplus | |
15809 | extern "C" { | |
15810 | #if 0 | |
15811 | } /* c-mode */ | |
15812 | #endif | |
15813 | #endif | |
15814 | ||
15815 | #if 0 | |
15816 | #define SWIGRUNTIME_DEBUG | |
15817 | #endif | |
15818 | ||
15819 | SWIGRUNTIME void | |
15820 | SWIG_InitializeModule(void *clientdata) { | |
15821 | size_t i; | |
15822 | swig_module_info *module_head; | |
15823 | static int init_run = 0; | |
15824 | ||
15825 | clientdata = clientdata; | |
15826 | ||
15827 | if (init_run) return; | |
15828 | init_run = 1; | |
15829 | ||
15830 | /* Initialize the swig_module */ | |
15831 | swig_module.type_initial = swig_type_initial; | |
15832 | swig_module.cast_initial = swig_cast_initial; | |
15833 | ||
15834 | /* Try and load any already created modules */ | |
15835 | module_head = SWIG_GetModule(clientdata); | |
15836 | if (module_head) { | |
15837 | swig_module.next = module_head->next; | |
15838 | module_head->next = &swig_module; | |
15839 | } else { | |
15840 | /* This is the first module loaded */ | |
15841 | swig_module.next = &swig_module; | |
15842 | SWIG_SetModule(clientdata, &swig_module); | |
15843 | } | |
15844 | ||
15845 | /* Now work on filling in swig_module.types */ | |
15846 | #ifdef SWIGRUNTIME_DEBUG | |
15847 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
15848 | #endif | |
15849 | for (i = 0; i < swig_module.size; ++i) { | |
15850 | swig_type_info *type = 0; | |
15851 | swig_type_info *ret; | |
15852 | swig_cast_info *cast; | |
15853 | ||
15854 | #ifdef SWIGRUNTIME_DEBUG | |
15855 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
15856 | #endif | |
15857 | ||
15858 | /* if there is another module already loaded */ | |
15859 | if (swig_module.next != &swig_module) { | |
15860 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
15861 | } | |
15862 | if (type) { | |
15863 | /* Overwrite clientdata field */ | |
15864 | #ifdef SWIGRUNTIME_DEBUG | |
15865 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
15866 | #endif | |
15867 | if (swig_module.type_initial[i]->clientdata) { | |
15868 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
15869 | #ifdef SWIGRUNTIME_DEBUG | |
15870 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
15871 | #endif | |
15872 | } | |
15873 | } else { | |
15874 | type = swig_module.type_initial[i]; | |
15875 | } | |
15876 | ||
15877 | /* Insert casting types */ | |
15878 | cast = swig_module.cast_initial[i]; | |
15879 | while (cast->type) { | |
15880 | /* Don't need to add information already in the list */ | |
15881 | ret = 0; | |
15882 | #ifdef SWIGRUNTIME_DEBUG | |
15883 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
15884 | #endif | |
15885 | if (swig_module.next != &swig_module) { | |
15886 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
15887 | #ifdef SWIGRUNTIME_DEBUG | |
15888 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
15889 | #endif | |
15890 | } | |
15891 | if (ret) { | |
15892 | if (type == swig_module.type_initial[i]) { | |
15893 | #ifdef SWIGRUNTIME_DEBUG | |
15894 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
15895 | #endif | |
15896 | cast->type = ret; | |
15897 | ret = 0; | |
15898 | } else { | |
15899 | /* Check for casting already in the list */ | |
15900 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
15901 | #ifdef SWIGRUNTIME_DEBUG | |
15902 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
15903 | #endif | |
15904 | if (!ocast) ret = 0; | |
15905 | } | |
15906 | } | |
15907 | ||
15908 | if (!ret) { | |
15909 | #ifdef SWIGRUNTIME_DEBUG | |
15910 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
15911 | #endif | |
15912 | if (type->cast) { | |
15913 | type->cast->prev = cast; | |
15914 | cast->next = type->cast; | |
15915 | } | |
15916 | type->cast = cast; | |
15917 | } | |
15918 | cast++; | |
15919 | } | |
15920 | /* Set entry in modules->types array equal to the type */ | |
15921 | swig_module.types[i] = type; | |
15922 | } | |
15923 | swig_module.types[i] = 0; | |
15924 | ||
15925 | #ifdef SWIGRUNTIME_DEBUG | |
15926 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
15927 | for (i = 0; i < swig_module.size; ++i) { | |
15928 | int j = 0; | |
15929 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
15930 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
15931 | while (cast->type) { | |
15932 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
15933 | cast++; | |
15934 | ++j; | |
15935 | } | |
15936 | printf("---- Total casts: %d\n",j); | |
15937 | } | |
15938 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
15939 | #endif | |
15940 | } | |
15941 | ||
15942 | /* This function will propagate the clientdata field of type to | |
15943 | * any new swig_type_info structures that have been added into the list | |
15944 | * of equivalent types. It is like calling | |
15945 | * SWIG_TypeClientData(type, clientdata) a second time. | |
15946 | */ | |
15947 | SWIGRUNTIME void | |
15948 | SWIG_PropagateClientData(void) { | |
15949 | size_t i; | |
15950 | swig_cast_info *equiv; | |
15951 | static int init_run = 0; | |
15952 | ||
15953 | if (init_run) return; | |
15954 | init_run = 1; | |
15955 | ||
15956 | for (i = 0; i < swig_module.size; i++) { | |
15957 | if (swig_module.types[i]->clientdata) { | |
15958 | equiv = swig_module.types[i]->cast; | |
15959 | while (equiv) { | |
15960 | if (!equiv->converter) { | |
15961 | if (equiv->type && !equiv->type->clientdata) | |
15962 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
15963 | } | |
15964 | equiv = equiv->next; | |
15965 | } | |
15966 | } | |
15967 | } | |
15968 | } | |
15969 | ||
15970 | #ifdef __cplusplus | |
15971 | #if 0 | |
15972 | { | |
15973 | /* c-mode */ | |
15974 | #endif | |
15975 | } | |
15976 | #endif | |
15977 | ||
15978 | ||
15979 | ||
15980 | #ifdef __cplusplus | |
15981 | extern "C" { | |
15982 | #endif | |
15983 | ||
15984 | /* Python-specific SWIG API */ | |
15985 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
15986 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
15987 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
15988 | ||
15989 | /* ----------------------------------------------------------------------------- | |
15990 | * global variable support code. | |
15991 | * ----------------------------------------------------------------------------- */ | |
15992 | ||
15993 | typedef struct swig_globalvar { | |
15994 | char *name; /* Name of global variable */ | |
15995 | PyObject *(*get_attr)(void); /* Return the current value */ | |
15996 | int (*set_attr)(PyObject *); /* Set the value */ | |
15997 | struct swig_globalvar *next; | |
15998 | } swig_globalvar; | |
15999 | ||
16000 | typedef struct swig_varlinkobject { | |
16001 | PyObject_HEAD | |
16002 | swig_globalvar *vars; | |
16003 | } swig_varlinkobject; | |
16004 | ||
16005 | SWIGINTERN PyObject * | |
16006 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
16007 | return PyString_FromString("<Swig global variables>"); | |
16008 | } | |
16009 | ||
16010 | SWIGINTERN PyObject * | |
16011 | swig_varlink_str(swig_varlinkobject *v) { | |
16012 | PyObject *str = PyString_FromString("("); | |
16013 | swig_globalvar *var; | |
16014 | for (var = v->vars; var; var=var->next) { | |
16015 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
16016 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
16017 | } | |
16018 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
16019 | return str; | |
16020 | } | |
16021 | ||
16022 | SWIGINTERN int | |
16023 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
16024 | PyObject *str = swig_varlink_str(v); | |
16025 | fprintf(fp,"Swig global variables "); | |
16026 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
16027 | Py_DECREF(str); | |
16028 | return 0; | |
16029 | } | |
16030 | ||
16031 | SWIGINTERN void | |
16032 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
16033 | swig_globalvar *var = v->vars; | |
16034 | while (var) { | |
16035 | swig_globalvar *n = var->next; | |
16036 | free(var->name); | |
16037 | free(var); | |
16038 | var = n; | |
16039 | } | |
16040 | } | |
16041 | ||
16042 | SWIGINTERN PyObject * | |
16043 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
16044 | PyObject *res = NULL; | |
16045 | swig_globalvar *var = v->vars; | |
16046 | while (var) { | |
16047 | if (strcmp(var->name,n) == 0) { | |
16048 | res = (*var->get_attr)(); | |
16049 | break; | |
16050 | } | |
16051 | var = var->next; | |
16052 | } | |
16053 | if (res == NULL && !PyErr_Occurred()) { | |
16054 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
16055 | } | |
16056 | return res; | |
16057 | } | |
16058 | ||
16059 | SWIGINTERN int | |
16060 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
16061 | int res = 1; | |
16062 | swig_globalvar *var = v->vars; | |
16063 | while (var) { | |
16064 | if (strcmp(var->name,n) == 0) { | |
16065 | res = (*var->set_attr)(p); | |
16066 | break; | |
16067 | } | |
16068 | var = var->next; | |
16069 | } | |
16070 | if (res == 1 && !PyErr_Occurred()) { | |
16071 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
16072 | } | |
16073 | return res; | |
16074 | } | |
16075 | ||
16076 | SWIGINTERN PyTypeObject* | |
16077 | swig_varlink_type(void) { | |
16078 | static char varlink__doc__[] = "Swig var link object"; | |
16079 | static PyTypeObject varlink_type; | |
16080 | static int type_init = 0; | |
16081 | if (!type_init) { | |
16082 | const PyTypeObject tmp | |
16083 | = { | |
16084 | PyObject_HEAD_INIT(NULL) | |
16085 | 0, /* Number of items in variable part (ob_size) */ | |
16086 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
16087 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
16088 | 0, /* Itemsize (tp_itemsize) */ | |
16089 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
16090 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
16091 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
16092 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
16093 | 0, /* tp_compare */ | |
16094 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
16095 | 0, /* tp_as_number */ | |
16096 | 0, /* tp_as_sequence */ | |
16097 | 0, /* tp_as_mapping */ | |
16098 | 0, /* tp_hash */ | |
16099 | 0, /* tp_call */ | |
16100 | (reprfunc)swig_varlink_str, /* tp_str */ | |
16101 | 0, /* tp_getattro */ | |
16102 | 0, /* tp_setattro */ | |
16103 | 0, /* tp_as_buffer */ | |
16104 | 0, /* tp_flags */ | |
16105 | varlink__doc__, /* tp_doc */ | |
16106 | 0, /* tp_traverse */ | |
16107 | 0, /* tp_clear */ | |
16108 | 0, /* tp_richcompare */ | |
16109 | 0, /* tp_weaklistoffset */ | |
16110 | #if PY_VERSION_HEX >= 0x02020000 | |
16111 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
16112 | #endif | |
16113 | #if PY_VERSION_HEX >= 0x02030000 | |
16114 | 0, /* tp_del */ | |
16115 | #endif | |
16116 | #ifdef COUNT_ALLOCS | |
16117 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
16118 | #endif | |
16119 | }; | |
16120 | varlink_type = tmp; | |
16121 | varlink_type.ob_type = &PyType_Type; | |
16122 | type_init = 1; | |
16123 | } | |
16124 | return &varlink_type; | |
16125 | } | |
16126 | ||
16127 | /* Create a variable linking object for use later */ | |
16128 | SWIGINTERN PyObject * | |
16129 | SWIG_Python_newvarlink(void) { | |
16130 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
16131 | if (result) { | |
16132 | result->vars = 0; | |
16133 | } | |
16134 | return ((PyObject*) result); | |
16135 | } | |
16136 | ||
16137 | SWIGINTERN void | |
16138 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
16139 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
16140 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
16141 | if (gv) { | |
16142 | size_t size = strlen(name)+1; | |
16143 | gv->name = (char *)malloc(size); | |
16144 | if (gv->name) { | |
16145 | strncpy(gv->name,name,size); | |
16146 | gv->get_attr = get_attr; | |
16147 | gv->set_attr = set_attr; | |
16148 | gv->next = v->vars; | |
16149 | } | |
16150 | } | |
16151 | v->vars = gv; | |
16152 | } | |
16153 | ||
16154 | SWIGINTERN PyObject * | |
16155 | SWIG_globals() { | |
16156 | static PyObject *_SWIG_globals = 0; | |
16157 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
16158 | return _SWIG_globals; | |
16159 | } | |
16160 | ||
16161 | /* ----------------------------------------------------------------------------- | |
16162 | * constants/methods manipulation | |
16163 | * ----------------------------------------------------------------------------- */ | |
16164 | ||
16165 | /* Install Constants */ | |
16166 | SWIGINTERN void | |
16167 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
16168 | PyObject *obj = 0; | |
16169 | size_t i; | |
16170 | for (i = 0; constants[i].type; ++i) { | |
16171 | switch(constants[i].type) { | |
16172 | case SWIG_PY_POINTER: | |
16173 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
16174 | break; | |
16175 | case SWIG_PY_BINARY: | |
16176 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
16177 | break; | |
16178 | default: | |
16179 | obj = 0; | |
16180 | break; | |
16181 | } | |
16182 | if (obj) { | |
16183 | PyDict_SetItemString(d, constants[i].name, obj); | |
16184 | Py_DECREF(obj); | |
16185 | } | |
16186 | } | |
16187 | } | |
16188 | ||
16189 | /* -----------------------------------------------------------------------------*/ | |
16190 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
16191 | /* -----------------------------------------------------------------------------*/ | |
16192 | ||
16193 | SWIGINTERN void | |
16194 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
16195 | swig_const_info *const_table, | |
16196 | swig_type_info **types, | |
16197 | swig_type_info **types_initial) { | |
16198 | size_t i; | |
16199 | for (i = 0; methods[i].ml_name; ++i) { | |
16200 | const char *c = methods[i].ml_doc; | |
16201 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
16202 | int j; | |
16203 | swig_const_info *ci = 0; | |
16204 | const char *name = c + 10; | |
16205 | for (j = 0; const_table[j].type; ++j) { | |
16206 | if (strncmp(const_table[j].name, name, | |
16207 | strlen(const_table[j].name)) == 0) { | |
16208 | ci = &(const_table[j]); | |
16209 | break; | |
16210 | } | |
16211 | } | |
16212 | if (ci) { | |
16213 | size_t shift = (ci->ptype) - types; | |
16214 | swig_type_info *ty = types_initial[shift]; | |
16215 | size_t ldoc = (c - methods[i].ml_doc); | |
16216 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
16217 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
16218 | if (ndoc) { | |
16219 | char *buff = ndoc; | |
16220 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
16221 | if (ptr) { | |
16222 | strncpy(buff, methods[i].ml_doc, ldoc); | |
16223 | buff += ldoc; | |
16224 | strncpy(buff, "swig_ptr: ", 10); | |
16225 | buff += 10; | |
16226 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
16227 | methods[i].ml_doc = ndoc; | |
16228 | } | |
16229 | } | |
16230 | } | |
16231 | } | |
16232 | } | |
16233 | } | |
16234 | ||
16235 | #ifdef __cplusplus | |
16236 | } | |
16237 | #endif | |
16238 | ||
16239 | /* -----------------------------------------------------------------------------* | |
16240 | * Partial Init method | |
16241 | * -----------------------------------------------------------------------------*/ | |
16242 | ||
16243 | #ifdef __cplusplus | |
16244 | extern "C" | |
16245 | #endif | |
16246 | SWIGEXPORT void SWIG_init(void) { | |
16247 | PyObject *m, *d; | |
16248 | ||
16249 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
16250 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
16251 | ||
16252 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
16253 | d = PyModule_GetDict(m); | |
16254 | ||
16255 | SWIG_InitializeModule(0); | |
16256 | SWIG_InstallConstants(d,swig_const_table); | |
16257 | ||
16258 | ||
16259 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
16260 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
16261 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
16262 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
16263 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
16264 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
16265 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
16266 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
16267 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
16268 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
16269 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
16270 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
16271 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE))); | |
1eeb270e RD |
16272 | SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS))); |
16273 | SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
16274 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
16275 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
16276 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
16277 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
16278 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
16279 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
16280 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
16281 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
16282 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
16283 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
16284 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
16285 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
16286 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
16287 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
16288 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
16289 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
16290 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
16291 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
16292 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
16293 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
16294 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
16295 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
16296 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
16297 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
16298 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); | |
16299 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
16300 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
16301 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
16302 | SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set); | |
16303 | SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set); | |
16304 | SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating))); | |
16305 | SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden))); | |
16306 | SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable))); | |
16307 | SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable))); | |
16308 | SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable))); | |
16309 | SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable))); | |
16310 | SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable))); | |
16311 | SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable))); | |
16312 | SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable))); | |
16313 | SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder))); | |
16314 | SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption))); | |
16315 | SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper))); | |
16316 | SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose))); | |
16317 | SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar))); | |
16318 | SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive))); | |
16319 | SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop))); | |
16320 | SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose))); | |
16321 | SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize))); | |
16322 | SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize))); | |
16323 | SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin))); | |
16324 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1))); | |
16325 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2))); | |
16326 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3))); | |
16327 | SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane))); | |
16328 | SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption))); | |
16329 | SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper))); | |
16330 | SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock))); | |
16331 | SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer))); | |
16332 | SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane))); | |
16333 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer))); | |
16334 | SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground))); | |
16335 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder))); | |
16336 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton))); | |
16337 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); | |
16338 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
1d5ee749 | 16339 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
1eeb270e RD |
16340 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
16341 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
16342 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
16343 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
16344 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
16345 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
27e45892 RD |
16346 | } |
16347 |