]>
Commit | Line | Data |
---|---|---|
27e45892 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.29 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | /* ----------------------------------------------------------------------------- | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * ----------------------------------------------------------------------------- */ | |
34 | ||
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ | |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
37 | # if defined(__SUNPRO_CC) | |
38 | # if (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | # else | |
44 | # define SWIGTEMPLATEDISAMBIGUATOR | |
45 | # endif | |
46 | #endif | |
47 | ||
48 | /* inline attribute */ | |
49 | #ifndef SWIGINLINE | |
50 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
51 | # define SWIGINLINE inline | |
52 | # else | |
53 | # define SWIGINLINE | |
54 | # endif | |
55 | #endif | |
56 | ||
57 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
58 | #ifndef SWIGUNUSED | |
59 | # if defined(__GNUC__) | |
60 | # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) | |
61 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
62 | # else | |
63 | # define SWIGUNUSED | |
64 | # endif | |
65 | # elif defined(__ICC) | |
66 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
67 | # else | |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
72 | #ifndef SWIGUNUSEDPARM | |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
80 | /* internal SWIG method */ | |
81 | #ifndef SWIGINTERN | |
82 | # define SWIGINTERN static SWIGUNUSED | |
83 | #endif | |
84 | ||
85 | /* internal inline SWIG method */ | |
86 | #ifndef SWIGINTERNINLINE | |
87 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
88 | #endif | |
89 | ||
90 | /* exporting methods */ | |
91 | #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | |
92 | # ifndef GCC_HASCLASSVISIBILITY | |
93 | # define GCC_HASCLASSVISIBILITY | |
94 | # endif | |
95 | #endif | |
96 | ||
97 | #ifndef SWIGEXPORT | |
98 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
99 | # if defined(STATIC_LINKED) | |
100 | # define SWIGEXPORT | |
101 | # else | |
102 | # define SWIGEXPORT __declspec(dllexport) | |
103 | # endif | |
104 | # else | |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) | |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
110 | # endif | |
111 | #endif | |
112 | ||
113 | /* calling conventions for Windows */ | |
114 | #ifndef SWIGSTDCALL | |
115 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
116 | # define SWIGSTDCALL __stdcall | |
117 | # else | |
118 | # define SWIGSTDCALL | |
119 | # endif | |
120 | #endif | |
121 | ||
122 | /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ | |
123 | #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) | |
124 | # define _CRT_SECURE_NO_DEPRECATE | |
125 | #endif | |
126 | ||
127 | ||
128 | /* Python.h has to appear first */ | |
129 | #include <Python.h> | |
130 | ||
131 | /* ----------------------------------------------------------------------------- | |
132 | * swigrun.swg | |
133 | * | |
134 | * This file contains generic CAPI SWIG runtime support for pointer | |
135 | * type checking. | |
136 | * ----------------------------------------------------------------------------- */ | |
137 | ||
138 | /* This should only be incremented when either the layout of swig_type_info changes, | |
139 | or for whatever reason, the runtime changes incompatibly */ | |
140 | #define SWIG_RUNTIME_VERSION "2" | |
141 | ||
142 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ | |
143 | #ifdef SWIG_TYPE_TABLE | |
144 | # define SWIG_QUOTE_STRING(x) #x | |
145 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
146 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
147 | #else | |
148 | # define SWIG_TYPE_TABLE_NAME | |
149 | #endif | |
150 | ||
151 | /* | |
152 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
153 | creating a static or dynamic library from the swig runtime code. | |
154 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
155 | ||
156 | But only do this if is strictly necessary, ie, if you have problems | |
157 | with your compiler or so. | |
158 | */ | |
159 | ||
160 | #ifndef SWIGRUNTIME | |
161 | # define SWIGRUNTIME SWIGINTERN | |
162 | #endif | |
163 | ||
164 | #ifndef SWIGRUNTIMEINLINE | |
165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
166 | #endif | |
167 | ||
168 | /* Generic buffer size */ | |
169 | #ifndef SWIG_BUFFER_SIZE | |
170 | # define SWIG_BUFFER_SIZE 1024 | |
171 | #endif | |
172 | ||
173 | /* Flags for pointer conversions */ | |
174 | #define SWIG_POINTER_DISOWN 0x1 | |
175 | ||
176 | /* Flags for new pointer objects */ | |
177 | #define SWIG_POINTER_OWN 0x1 | |
178 | ||
179 | ||
180 | /* | |
181 | Flags/methods for returning states. | |
182 | ||
183 | The swig conversion methods, as ConvertPtr, return and integer | |
184 | that tells if the conversion was successful or not. And if not, | |
185 | an error code can be returned (see swigerrors.swg for the codes). | |
186 | ||
187 | Use the following macros/flags to set or process the returning | |
188 | states. | |
189 | ||
190 | In old swig versions, you usually write code as: | |
191 | ||
192 | if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { | |
193 | // success code | |
194 | } else { | |
195 | //fail code | |
196 | } | |
197 | ||
198 | Now you can be more explicit as: | |
199 | ||
200 | int res = SWIG_ConvertPtr(obj,vptr,ty.flags); | |
201 | if (SWIG_IsOK(res)) { | |
202 | // success code | |
203 | } else { | |
204 | // fail code | |
205 | } | |
206 | ||
207 | that seems to be the same, but now you can also do | |
208 | ||
209 | Type *ptr; | |
210 | int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); | |
211 | if (SWIG_IsOK(res)) { | |
212 | // success code | |
213 | if (SWIG_IsNewObj(res) { | |
214 | ... | |
215 | delete *ptr; | |
216 | } else { | |
217 | ... | |
218 | } | |
219 | } else { | |
220 | // fail code | |
221 | } | |
222 | ||
223 | I.e., now SWIG_ConvertPtr can return new objects and you can | |
224 | identify the case and take care of the deallocation. Of course that | |
225 | requires also to SWIG_ConvertPtr to return new result values, as | |
226 | ||
227 | int SWIG_ConvertPtr(obj, ptr,...) { | |
228 | if (<obj is ok>) { | |
229 | if (<need new object>) { | |
230 | *ptr = <ptr to new allocated object>; | |
231 | return SWIG_NEWOBJ; | |
232 | } else { | |
233 | *ptr = <ptr to old object>; | |
234 | return SWIG_OLDOBJ; | |
235 | } | |
236 | } else { | |
237 | return SWIG_BADOBJ; | |
238 | } | |
239 | } | |
240 | ||
241 | Of course, returning the plain '0(success)/-1(fail)' still works, but you can be | |
242 | more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the | |
243 | swig errors code. | |
244 | ||
245 | Finally, if the SWIG_CASTRANK_MODE is enabled, the result code | |
246 | allows to return the 'cast rank', for example, if you have this | |
247 | ||
248 | int food(double) | |
249 | int fooi(int); | |
250 | ||
251 | and you call | |
252 | ||
253 | food(1) // cast rank '1' (1 -> 1.0) | |
254 | fooi(1) // cast rank '0' | |
255 | ||
256 | just use the SWIG_AddCast()/SWIG_CheckState() | |
257 | ||
258 | ||
259 | */ | |
260 | #define SWIG_OK (0) | |
261 | #define SWIG_ERROR (-1) | |
262 | #define SWIG_IsOK(r) (r >= 0) | |
263 | #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) | |
264 | ||
265 | /* The CastRankLimit says how many bits are used for the cast rank */ | |
266 | #define SWIG_CASTRANKLIMIT (1 << 8) | |
267 | /* The NewMask denotes the object was created (using new/malloc) */ | |
268 | #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) | |
269 | /* The TmpMask is for in/out typemaps that use temporal objects */ | |
270 | #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) | |
271 | /* Simple returning values */ | |
272 | #define SWIG_BADOBJ (SWIG_ERROR) | |
273 | #define SWIG_OLDOBJ (SWIG_OK) | |
274 | #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) | |
275 | #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) | |
276 | /* Check, add and del mask methods */ | |
277 | #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) | |
278 | #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) | |
279 | #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) | |
280 | #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) | |
281 | #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) | |
282 | #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) | |
283 | ||
284 | ||
285 | /* Cast-Rank Mode */ | |
286 | #if defined(SWIG_CASTRANK_MODE) | |
287 | # ifndef SWIG_TypeRank | |
288 | # define SWIG_TypeRank unsigned long | |
289 | # endif | |
290 | # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ | |
291 | # define SWIG_MAXCASTRANK (2) | |
292 | # endif | |
293 | # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) | |
294 | # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) | |
295 | SWIGINTERNINLINE int SWIG_AddCast(int r) { | |
296 | return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; | |
297 | } | |
298 | SWIGINTERNINLINE int SWIG_CheckState(int r) { | |
299 | return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; | |
300 | } | |
301 | #else /* no cast-rank mode */ | |
302 | # define SWIG_AddCast | |
303 | # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) | |
304 | #endif | |
305 | ||
306 | ||
307 | ||
308 | ||
309 | #include <string.h> | |
310 | ||
311 | #ifdef __cplusplus | |
312 | extern "C" { | |
313 | #endif | |
314 | ||
315 | typedef void *(*swig_converter_func)(void *); | |
316 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
317 | ||
318 | /* Structure to store inforomation on one type */ | |
319 | typedef struct swig_type_info { | |
320 | const char *name; /* mangled name of this type */ | |
321 | const char *str; /* human readable name of this type */ | |
322 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
323 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
324 | void *clientdata; /* language specific type data */ | |
325 | int owndata; /* flag if the structure owns the clientdata */ | |
326 | } swig_type_info; | |
327 | ||
328 | /* Structure to store a type and conversion function used for casting */ | |
329 | typedef struct swig_cast_info { | |
330 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
331 | swig_converter_func converter; /* function to cast the void pointers */ | |
332 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
333 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
334 | } swig_cast_info; | |
335 | ||
336 | /* Structure used to store module information | |
337 | * Each module generates one structure like this, and the runtime collects | |
338 | * all of these structures and stores them in a circularly linked list.*/ | |
339 | typedef struct swig_module_info { | |
340 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
341 | size_t size; /* Number of types in this module */ | |
342 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
343 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
344 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
345 | void *clientdata; /* Language specific module data */ | |
346 | } swig_module_info; | |
347 | ||
348 | /* | |
349 | Compare two type names skipping the space characters, therefore | |
350 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
351 | ||
352 | Return 0 when the two name types are equivalent, as in | |
353 | strncmp, but skipping ' '. | |
354 | */ | |
355 | SWIGRUNTIME int | |
356 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
357 | const char *f2, const char *l2) { | |
358 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
359 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
360 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
361 | if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; | |
362 | } | |
363 | return (l1 - f1) - (l2 - f2); | |
364 | } | |
365 | ||
366 | /* | |
367 | Check type equivalence in a name list like <name1>|<name2>|... | |
368 | Return 0 if not equal, 1 if equal | |
369 | */ | |
370 | SWIGRUNTIME int | |
371 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
372 | int equiv = 0; | |
373 | const char* te = tb + strlen(tb); | |
374 | const char* ne = nb; | |
375 | while (!equiv && *ne) { | |
376 | for (nb = ne; *ne; ++ne) { | |
377 | if (*ne == '|') break; | |
378 | } | |
379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
380 | if (*ne) ++ne; | |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
386 | Check type equivalence in a name list like <name1>|<name2>|... | |
387 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
388 | */ | |
389 | SWIGRUNTIME int | |
390 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
391 | int equiv = 0; | |
392 | const char* te = tb + strlen(tb); | |
393 | const char* ne = nb; | |
394 | while (!equiv && *ne) { | |
395 | for (nb = ne; *ne; ++ne) { | |
396 | if (*ne == '|') break; | |
397 | } | |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
399 | if (*ne) ++ne; | |
400 | } | |
401 | return equiv; | |
402 | } | |
403 | ||
404 | ||
405 | /* think of this as a c++ template<> or a scheme macro */ | |
406 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
407 | if (ty) { \ | |
408 | swig_cast_info *iter = ty->cast; \ | |
409 | while (iter) { \ | |
410 | if (comparison) { \ | |
411 | if (iter == ty->cast) return iter; \ | |
412 | /* Move iter to the top of the linked list */ \ | |
413 | iter->prev->next = iter->next; \ | |
414 | if (iter->next) \ | |
415 | iter->next->prev = iter->prev; \ | |
416 | iter->next = ty->cast; \ | |
417 | iter->prev = 0; \ | |
418 | if (ty->cast) ty->cast->prev = iter; \ | |
419 | ty->cast = iter; \ | |
420 | return iter; \ | |
421 | } \ | |
422 | iter = iter->next; \ | |
423 | } \ | |
424 | } \ | |
425 | return 0 | |
426 | ||
427 | /* | |
428 | Check the typename | |
429 | */ | |
430 | SWIGRUNTIME swig_cast_info * | |
431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
432 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); | |
433 | } | |
434 | ||
435 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
436 | SWIGRUNTIME swig_cast_info * | |
437 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
438 | SWIG_TypeCheck_Template(iter->type == from, into); | |
439 | } | |
440 | ||
441 | /* | |
442 | Cast a pointer up an inheritance hierarchy | |
443 | */ | |
444 | SWIGRUNTIMEINLINE void * | |
445 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { | |
446 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
447 | } | |
448 | ||
449 | /* | |
450 | Dynamic pointer casting. Down an inheritance hierarchy | |
451 | */ | |
452 | SWIGRUNTIME swig_type_info * | |
453 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
454 | swig_type_info *lastty = ty; | |
455 | if (!ty || !ty->dcast) return ty; | |
456 | while (ty && (ty->dcast)) { | |
457 | ty = (*ty->dcast)(ptr); | |
458 | if (ty) lastty = ty; | |
459 | } | |
460 | return lastty; | |
461 | } | |
462 | ||
463 | /* | |
464 | Return the name associated with this type | |
465 | */ | |
466 | SWIGRUNTIMEINLINE const char * | |
467 | SWIG_TypeName(const swig_type_info *ty) { | |
468 | return ty->name; | |
469 | } | |
470 | ||
471 | /* | |
472 | Return the pretty name associated with this type, | |
473 | that is an unmangled type name in a form presentable to the user. | |
474 | */ | |
475 | SWIGRUNTIME const char * | |
476 | SWIG_TypePrettyName(const swig_type_info *type) { | |
477 | /* The "str" field contains the equivalent pretty names of the | |
478 | type, separated by vertical-bar characters. We choose | |
479 | to print the last name, as it is often (?) the most | |
480 | specific. */ | |
481 | if (!type) return NULL; | |
482 | if (type->str != NULL) { | |
483 | const char *last_name = type->str; | |
484 | const char *s; | |
485 | for (s = type->str; *s; s++) | |
486 | if (*s == '|') last_name = s+1; | |
487 | return last_name; | |
488 | } | |
489 | else | |
490 | return type->name; | |
491 | } | |
492 | ||
493 | /* | |
494 | Set the clientdata field for a type | |
495 | */ | |
496 | SWIGRUNTIME void | |
497 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
498 | swig_cast_info *cast = ti->cast; | |
499 | /* if (ti->clientdata == clientdata) return; */ | |
500 | ti->clientdata = clientdata; | |
501 | ||
502 | while (cast) { | |
503 | if (!cast->converter) { | |
504 | swig_type_info *tc = cast->type; | |
505 | if (!tc->clientdata) { | |
506 | SWIG_TypeClientData(tc, clientdata); | |
507 | } | |
508 | } | |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
512 | SWIGRUNTIME void | |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
518 | /* | |
519 | Search for a swig_type_info structure only by mangled name | |
520 | Search is a O(log #types) | |
521 | ||
522 | We start searching at module start, and finish searching when start == end. | |
523 | Note: if start == end at the beginning of the function, we go all the way around | |
524 | the circular list. | |
525 | */ | |
526 | SWIGRUNTIME swig_type_info * | |
527 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
528 | swig_module_info *end, | |
529 | const char *name) { | |
530 | swig_module_info *iter = start; | |
531 | do { | |
532 | if (iter->size) { | |
533 | register size_t l = 0; | |
534 | register size_t r = iter->size - 1; | |
535 | do { | |
536 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
537 | register size_t i = (l + r) >> 1; | |
538 | const char *iname = iter->types[i]->name; | |
539 | if (iname) { | |
540 | register int compare = strcmp(name, iname); | |
541 | if (compare == 0) { | |
542 | return iter->types[i]; | |
543 | } else if (compare < 0) { | |
544 | if (i) { | |
545 | r = i - 1; | |
546 | } else { | |
547 | break; | |
548 | } | |
549 | } else if (compare > 0) { | |
550 | l = i + 1; | |
551 | } | |
552 | } else { | |
553 | break; /* should never happen */ | |
554 | } | |
555 | } while (l <= r); | |
556 | } | |
557 | iter = iter->next; | |
558 | } while (iter != end); | |
559 | return 0; | |
560 | } | |
561 | ||
562 | /* | |
563 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
564 | It first searches the mangled names of the types, which is a O(log #types) | |
565 | If a type is not found it then searches the human readable names, which is O(#types). | |
566 | ||
567 | We start searching at module start, and finish searching when start == end. | |
568 | Note: if start == end at the beginning of the function, we go all the way around | |
569 | the circular list. | |
570 | */ | |
571 | SWIGRUNTIME swig_type_info * | |
572 | SWIG_TypeQueryModule(swig_module_info *start, | |
573 | swig_module_info *end, | |
574 | const char *name) { | |
575 | /* STEP 1: Search the name field using binary search */ | |
576 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
577 | if (ret) { | |
578 | return ret; | |
579 | } else { | |
580 | /* STEP 2: If the type hasn't been found, do a complete search | |
581 | of the str field (the human readable name) */ | |
582 | swig_module_info *iter = start; | |
583 | do { | |
584 | register size_t i = 0; | |
585 | for (; i < iter->size; ++i) { | |
586 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
587 | return iter->types[i]; | |
588 | } | |
589 | iter = iter->next; | |
590 | } while (iter != end); | |
591 | } | |
592 | ||
593 | /* neither found a match */ | |
594 | return 0; | |
595 | } | |
596 | ||
597 | /* | |
598 | Pack binary data into a string | |
599 | */ | |
600 | SWIGRUNTIME char * | |
601 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
602 | static const char hex[17] = "0123456789abcdef"; | |
603 | register const unsigned char *u = (unsigned char *) ptr; | |
604 | register const unsigned char *eu = u + sz; | |
605 | for (; u != eu; ++u) { | |
606 | register unsigned char uu = *u; | |
607 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
608 | *(c++) = hex[uu & 0xf]; | |
609 | } | |
610 | return c; | |
611 | } | |
612 | ||
613 | /* | |
614 | Unpack binary data from a string | |
615 | */ | |
616 | SWIGRUNTIME const char * | |
617 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
618 | register unsigned char *u = (unsigned char *) ptr; | |
619 | register const unsigned char *eu = u + sz; | |
620 | for (; u != eu; ++u) { | |
621 | register char d = *(c++); | |
622 | register unsigned char uu; | |
623 | if ((d >= '0') && (d <= '9')) | |
624 | uu = ((d - '0') << 4); | |
625 | else if ((d >= 'a') && (d <= 'f')) | |
626 | uu = ((d - ('a'-10)) << 4); | |
627 | else | |
628 | return (char *) 0; | |
629 | d = *(c++); | |
630 | if ((d >= '0') && (d <= '9')) | |
631 | uu |= (d - '0'); | |
632 | else if ((d >= 'a') && (d <= 'f')) | |
633 | uu |= (d - ('a'-10)); | |
634 | else | |
635 | return (char *) 0; | |
636 | *u = uu; | |
637 | } | |
638 | return c; | |
639 | } | |
640 | ||
641 | /* | |
642 | Pack 'void *' into a string buffer. | |
643 | */ | |
644 | SWIGRUNTIME char * | |
645 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
646 | char *r = buff; | |
647 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
648 | *(r++) = '_'; | |
649 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
650 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
651 | strcpy(r,name); | |
652 | return buff; | |
653 | } | |
654 | ||
655 | SWIGRUNTIME const char * | |
656 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
657 | if (*c != '_') { | |
658 | if (strcmp(c,"NULL") == 0) { | |
659 | *ptr = (void *) 0; | |
660 | return name; | |
661 | } else { | |
662 | return 0; | |
663 | } | |
664 | } | |
665 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
666 | } | |
667 | ||
668 | SWIGRUNTIME char * | |
669 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
670 | char *r = buff; | |
671 | size_t lname = (name ? strlen(name) : 0); | |
672 | if ((2*sz + 2 + lname) > bsz) return 0; | |
673 | *(r++) = '_'; | |
674 | r = SWIG_PackData(r,ptr,sz); | |
675 | if (lname) { | |
676 | strncpy(r,name,lname+1); | |
677 | } else { | |
678 | *r = 0; | |
679 | } | |
680 | return buff; | |
681 | } | |
682 | ||
683 | SWIGRUNTIME const char * | |
684 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
685 | if (*c != '_') { | |
686 | if (strcmp(c,"NULL") == 0) { | |
687 | memset(ptr,0,sz); | |
688 | return name; | |
689 | } else { | |
690 | return 0; | |
691 | } | |
692 | } | |
693 | return SWIG_UnpackData(++c,ptr,sz); | |
694 | } | |
695 | ||
696 | #ifdef __cplusplus | |
697 | } | |
698 | #endif | |
699 | ||
700 | /* Errors in SWIG */ | |
701 | #define SWIG_UnknownError -1 | |
702 | #define SWIG_IOError -2 | |
703 | #define SWIG_RuntimeError -3 | |
704 | #define SWIG_IndexError -4 | |
705 | #define SWIG_TypeError -5 | |
706 | #define SWIG_DivisionByZero -6 | |
707 | #define SWIG_OverflowError -7 | |
708 | #define SWIG_SyntaxError -8 | |
709 | #define SWIG_ValueError -9 | |
710 | #define SWIG_SystemError -10 | |
711 | #define SWIG_AttributeError -11 | |
712 | #define SWIG_MemoryError -12 | |
713 | #define SWIG_NullReferenceError -13 | |
714 | ||
715 | ||
716 | ||
717 | /* Python.h has to appear first */ | |
718 | #include <Python.h> | |
719 | ||
720 | /* Add PyOS_snprintf for old Pythons */ | |
721 | #if PY_VERSION_HEX < 0x02020000 | |
722 | # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) | |
723 | # define PyOS_snprintf _snprintf | |
724 | # else | |
725 | # define PyOS_snprintf snprintf | |
726 | # endif | |
727 | #endif | |
728 | ||
729 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
730 | #if PY_VERSION_HEX < 0x02020000 | |
731 | ||
732 | #ifndef SWIG_PYBUFFER_SIZE | |
733 | # define SWIG_PYBUFFER_SIZE 1024 | |
734 | #endif | |
735 | ||
736 | static PyObject * | |
737 | PyString_FromFormat(const char *fmt, ...) { | |
738 | va_list ap; | |
739 | char buf[SWIG_PYBUFFER_SIZE * 2]; | |
740 | int res; | |
741 | va_start(ap, fmt); | |
742 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
743 | va_end(ap); | |
744 | return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); | |
745 | } | |
746 | #endif | |
747 | ||
748 | /* Add PyObject_Del for old Pythons */ | |
749 | #if PY_VERSION_HEX < 0x01060000 | |
750 | # define PyObject_Del(op) PyMem_DEL((op)) | |
751 | #endif | |
752 | #ifndef PyObject_DEL | |
753 | # define PyObject_DEL PyObject_Del | |
754 | #endif | |
755 | ||
756 | /* A crude PyExc_StopIteration exception for old Pythons */ | |
757 | #if PY_VERSION_HEX < 0x02020000 | |
758 | # ifndef PyExc_StopIteration | |
759 | # define PyExc_StopIteration PyExc_RuntimeError | |
760 | # endif | |
761 | # ifndef PyObject_GenericGetAttr | |
762 | # define PyObject_GenericGetAttr 0 | |
763 | # endif | |
764 | #endif | |
765 | /* Py_NotImplemented is defined in 2.1 and up. */ | |
766 | #if PY_VERSION_HEX < 0x02010000 | |
767 | # ifndef Py_NotImplemented | |
768 | # define Py_NotImplemented PyExc_RuntimeError | |
769 | # endif | |
770 | #endif | |
771 | ||
772 | ||
773 | /* A crude PyString_AsStringAndSize implementation for old Pythons */ | |
774 | #if PY_VERSION_HEX < 0x02010000 | |
775 | # ifndef PyString_AsStringAndSize | |
776 | # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} | |
777 | # endif | |
778 | #endif | |
779 | ||
780 | /* PySequence_Size for old Pythons */ | |
781 | #if PY_VERSION_HEX < 0x02000000 | |
782 | # ifndef PySequence_Size | |
783 | # define PySequence_Size PySequence_Length | |
784 | # endif | |
785 | #endif | |
786 | ||
787 | ||
788 | /* PyBool_FromLong for old Pythons */ | |
789 | #if PY_VERSION_HEX < 0x02030000 | |
790 | static | |
791 | PyObject *PyBool_FromLong(long ok) | |
792 | { | |
793 | PyObject *result = ok ? Py_True : Py_False; | |
794 | Py_INCREF(result); | |
795 | return result; | |
796 | } | |
797 | #endif | |
798 | ||
799 | ||
800 | /* ----------------------------------------------------------------------------- | |
801 | * error manipulation | |
802 | * ----------------------------------------------------------------------------- */ | |
803 | ||
804 | SWIGRUNTIME PyObject* | |
805 | SWIG_Python_ErrorType(int code) { | |
806 | PyObject* type = 0; | |
807 | switch(code) { | |
808 | case SWIG_MemoryError: | |
809 | type = PyExc_MemoryError; | |
810 | break; | |
811 | case SWIG_IOError: | |
812 | type = PyExc_IOError; | |
813 | break; | |
814 | case SWIG_RuntimeError: | |
815 | type = PyExc_RuntimeError; | |
816 | break; | |
817 | case SWIG_IndexError: | |
818 | type = PyExc_IndexError; | |
819 | break; | |
820 | case SWIG_TypeError: | |
821 | type = PyExc_TypeError; | |
822 | break; | |
823 | case SWIG_DivisionByZero: | |
824 | type = PyExc_ZeroDivisionError; | |
825 | break; | |
826 | case SWIG_OverflowError: | |
827 | type = PyExc_OverflowError; | |
828 | break; | |
829 | case SWIG_SyntaxError: | |
830 | type = PyExc_SyntaxError; | |
831 | break; | |
832 | case SWIG_ValueError: | |
833 | type = PyExc_ValueError; | |
834 | break; | |
835 | case SWIG_SystemError: | |
836 | type = PyExc_SystemError; | |
837 | break; | |
838 | case SWIG_AttributeError: | |
839 | type = PyExc_AttributeError; | |
840 | break; | |
841 | default: | |
842 | type = PyExc_RuntimeError; | |
843 | } | |
844 | return type; | |
845 | } | |
846 | ||
847 | ||
848 | SWIGRUNTIME void | |
849 | SWIG_Python_AddErrorMsg(const char* mesg) | |
850 | { | |
851 | PyObject *type = 0; | |
852 | PyObject *value = 0; | |
853 | PyObject *traceback = 0; | |
854 | ||
855 | if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); | |
856 | if (value) { | |
857 | PyObject *old_str = PyObject_Str(value); | |
858 | PyErr_Clear(); | |
859 | Py_XINCREF(type); | |
860 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
861 | Py_DECREF(old_str); | |
862 | Py_DECREF(value); | |
863 | } else { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
935 | #endif | |
936 | ||
937 | /* ----------------------------------------------------------------------------- | |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
940 | ||
941 | #ifdef __cplusplus | |
942 | extern "C" { | |
943 | #if 0 | |
944 | } /* cc-mode */ | |
945 | #endif | |
946 | #endif | |
947 | ||
948 | /* ----------------------------------------------------------------------------- | |
949 | * Constant declarations | |
950 | * ----------------------------------------------------------------------------- */ | |
951 | ||
952 | /* Constant Types */ | |
953 | #define SWIG_PY_POINTER 4 | |
954 | #define SWIG_PY_BINARY 5 | |
955 | ||
956 | /* Constant information structure */ | |
957 | typedef struct swig_const_info { | |
958 | int type; | |
959 | char *name; | |
960 | long lvalue; | |
961 | double dvalue; | |
962 | void *pvalue; | |
963 | swig_type_info **ptype; | |
964 | } swig_const_info; | |
965 | ||
966 | #ifdef __cplusplus | |
967 | #if 0 | |
968 | { /* cc-mode */ | |
969 | #endif | |
970 | } | |
971 | #endif | |
972 | ||
973 | ||
974 | /* ----------------------------------------------------------------------------- | |
975 | * See the LICENSE file for information on copyright, usage and redistribution | |
976 | * of SWIG, and the README file for authors - http://www.swig.org/release.html. | |
977 | * | |
978 | * pyrun.swg | |
979 | * | |
980 | * This file contains the runtime support for Python modules | |
981 | * and includes code for managing global variables and pointer | |
982 | * type checking. | |
983 | * | |
984 | * ----------------------------------------------------------------------------- */ | |
985 | ||
986 | /* Common SWIG API */ | |
987 | ||
988 | #if PY_VERSION_HEX < 0x02050000 | |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
992 | /* for raw pointers */ | |
993 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
994 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
995 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
996 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
997 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
998 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
999 | #define swig_owntype int | |
1000 | ||
1001 | /* for raw packed data */ | |
1002 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1003 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1004 | ||
1005 | /* for class or struct pointers */ | |
1006 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1007 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
1008 | ||
1009 | /* for C or C++ function pointers */ | |
1010 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1011 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
1012 | ||
1013 | /* for C++ member pointers, ie, member methods */ | |
1014 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1015 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1016 | ||
1017 | ||
1018 | /* Runtime API */ | |
1019 | ||
1020 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
1021 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1022 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
1023 | ||
1024 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj | |
1025 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1026 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1027 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1028 | #define SWIG_fail goto fail | |
1029 | ||
1030 | ||
1031 | /* Runtime API implementation */ | |
1032 | ||
1033 | /* Error manipulation */ | |
1034 | ||
1035 | SWIGINTERN void | |
1036 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1037 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1038 | PyErr_SetObject(errtype, obj); | |
1039 | Py_DECREF(obj); | |
1040 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1041 | } | |
1042 | ||
1043 | SWIGINTERN void | |
1044 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1045 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1046 | PyErr_SetString(errtype, (char *) msg); | |
1047 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1048 | } | |
1049 | ||
1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) | |
1051 | ||
1052 | /* Set a constant value */ | |
1053 | ||
1054 | SWIGINTERN void | |
1055 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1056 | PyDict_SetItemString(d, (char*) name, obj); | |
1057 | Py_DECREF(obj); | |
1058 | } | |
1059 | ||
1060 | /* Append a value to the result obj */ | |
1061 | ||
1062 | SWIGINTERN PyObject* | |
1063 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1064 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1065 | if (!result) { | |
1066 | result = obj; | |
1067 | } else if (result == Py_None) { | |
1068 | Py_DECREF(result); | |
1069 | result = obj; | |
1070 | } else { | |
1071 | if (!PyList_Check(result)) { | |
1072 | PyObject *o2 = result; | |
1073 | result = PyList_New(1); | |
1074 | PyList_SetItem(result, 0, o2); | |
1075 | } | |
1076 | PyList_Append(result,obj); | |
1077 | Py_DECREF(obj); | |
1078 | } | |
1079 | return result; | |
1080 | #else | |
1081 | PyObject* o2; | |
1082 | PyObject* o3; | |
1083 | if (!result) { | |
1084 | result = obj; | |
1085 | } else if (result == Py_None) { | |
1086 | Py_DECREF(result); | |
1087 | result = obj; | |
1088 | } else { | |
1089 | if (!PyTuple_Check(result)) { | |
1090 | o2 = result; | |
1091 | result = PyTuple_New(1); | |
1092 | PyTuple_SET_ITEM(result, 0, o2); | |
1093 | } | |
1094 | o3 = PyTuple_New(1); | |
1095 | PyTuple_SET_ITEM(o3, 0, obj); | |
1096 | o2 = result; | |
1097 | result = PySequence_Concat(o2, o3); | |
1098 | Py_DECREF(o2); | |
1099 | Py_DECREF(o3); | |
1100 | } | |
1101 | return result; | |
1102 | #endif | |
1103 | } | |
1104 | ||
1105 | /* Unpack the argument tuple */ | |
1106 | ||
1107 | SWIGINTERN int | |
1108 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1109 | { | |
1110 | if (!args) { | |
1111 | if (!min && !max) { | |
1112 | return 1; | |
1113 | } else { | |
1114 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1115 | name, (min == max ? "" : "at least "), min); | |
1116 | return 0; | |
1117 | } | |
1118 | } | |
1119 | if (!PyTuple_Check(args)) { | |
1120 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1121 | return 0; | |
1122 | } else { | |
1123 | register int l = PyTuple_GET_SIZE(args); | |
1124 | if (l < min) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at least "), min, l); | |
1127 | return 0; | |
1128 | } else if (l > max) { | |
1129 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1130 | name, (min == max ? "" : "at most "), max, l); | |
1131 | return 0; | |
1132 | } else { | |
1133 | register int i; | |
1134 | for (i = 0; i < l; ++i) { | |
1135 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1136 | } | |
1137 | for (; l < max; ++l) { | |
1138 | objs[l] = 0; | |
1139 | } | |
1140 | return i + 1; | |
1141 | } | |
1142 | } | |
1143 | } | |
1144 | ||
1145 | /* A functor is a function object with one single object argument */ | |
1146 | #if PY_VERSION_HEX >= 0x02020000 | |
1147 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1148 | #else | |
1149 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1150 | #endif | |
1151 | ||
1152 | /* | |
1153 | Helper for static pointer initialization for both C and C++ code, for example | |
1154 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1155 | */ | |
1156 | #ifdef __cplusplus | |
1157 | #define SWIG_STATIC_POINTER(var) var | |
1158 | #else | |
1159 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1160 | #endif | |
1161 | ||
1162 | /* ----------------------------------------------------------------------------- | |
1163 | * Pointer declarations | |
1164 | * ----------------------------------------------------------------------------- */ | |
1165 | ||
1166 | /* Flags for new pointer objects */ | |
1167 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1168 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1169 | ||
1170 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1171 | ||
1172 | #ifdef __cplusplus | |
1173 | extern "C" { | |
1174 | #if 0 | |
1175 | } /* cc-mode */ | |
1176 | #endif | |
1177 | #endif | |
1178 | ||
1179 | /* How to access Py_None */ | |
1180 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1181 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1182 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1183 | # define SWIG_PYTHON_BUILD_NONE | |
1184 | # endif | |
1185 | # endif | |
1186 | #endif | |
1187 | ||
1188 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1189 | # ifdef Py_None | |
1190 | # undef Py_None | |
1191 | # define Py_None SWIG_Py_None() | |
1192 | # endif | |
1193 | SWIGRUNTIMEINLINE PyObject * | |
1194 | _SWIG_Py_None(void) | |
1195 | { | |
1196 | PyObject *none = Py_BuildValue(""); | |
1197 | Py_DECREF(none); | |
1198 | return none; | |
1199 | } | |
1200 | SWIGRUNTIME PyObject * | |
1201 | SWIG_Py_None(void) | |
1202 | { | |
1203 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1204 | return none; | |
1205 | } | |
1206 | #endif | |
1207 | ||
1208 | /* The python void return value */ | |
1209 | ||
1210 | SWIGRUNTIMEINLINE PyObject * | |
1211 | SWIG_Py_Void(void) | |
1212 | { | |
1213 | PyObject *none = Py_None; | |
1214 | Py_INCREF(none); | |
1215 | return none; | |
1216 | } | |
1217 | ||
1218 | /* PySwigClientData */ | |
1219 | ||
1220 | typedef struct { | |
1221 | PyObject *klass; | |
1222 | PyObject *newraw; | |
1223 | PyObject *newargs; | |
1224 | PyObject *destroy; | |
1225 | int delargs; | |
1226 | int implicitconv; | |
1227 | } PySwigClientData; | |
1228 | ||
1229 | SWIGRUNTIMEINLINE int | |
1230 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1231 | { | |
1232 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1233 | return data ? data->implicitconv : 0; | |
1234 | } | |
1235 | ||
1236 | SWIGRUNTIMEINLINE PyObject * | |
1237 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1238 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1239 | PyObject *klass = data ? data->klass : 0; | |
1240 | return (klass ? klass : PyExc_RuntimeError); | |
1241 | } | |
1242 | ||
1243 | ||
1244 | SWIGRUNTIME PySwigClientData * | |
1245 | PySwigClientData_New(PyObject* obj) | |
1246 | { | |
1247 | if (!obj) { | |
1248 | return 0; | |
1249 | } else { | |
1250 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1251 | /* the klass element */ | |
1252 | data->klass = obj; | |
1253 | Py_INCREF(data->klass); | |
1254 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1255 | if (PyClass_Check(obj)) { | |
1256 | data->newraw = 0; | |
1257 | data->newargs = obj; | |
1258 | Py_INCREF(obj); | |
1259 | } else { | |
1260 | #if (PY_VERSION_HEX < 0x02020000) | |
1261 | data->newraw = 0; | |
1262 | #else | |
1263 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1264 | #endif | |
1265 | if (data->newraw) { | |
1266 | Py_INCREF(data->newraw); | |
1267 | data->newargs = PyTuple_New(1); | |
1268 | PyTuple_SetItem(data->newargs, 0, obj); | |
1269 | } else { | |
1270 | data->newargs = obj; | |
1271 | } | |
1272 | Py_INCREF(data->newargs); | |
1273 | } | |
1274 | /* the destroy method, aka as the C++ delete method */ | |
1275 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1276 | if (PyErr_Occurred()) { | |
1277 | PyErr_Clear(); | |
1278 | data->destroy = 0; | |
1279 | } | |
1280 | if (data->destroy) { | |
1281 | int flags; | |
1282 | Py_INCREF(data->destroy); | |
1283 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1284 | #ifdef METH_O | |
1285 | data->delargs = !(flags & (METH_O)); | |
1286 | #else | |
1287 | data->delargs = 0; | |
1288 | #endif | |
1289 | } else { | |
1290 | data->delargs = 0; | |
1291 | } | |
1292 | data->implicitconv = 0; | |
1293 | return data; | |
1294 | } | |
1295 | } | |
1296 | ||
1297 | SWIGRUNTIME void | |
1298 | PySwigClientData_Del(PySwigClientData* data) | |
1299 | { | |
1300 | Py_XDECREF(data->newraw); | |
1301 | Py_XDECREF(data->newargs); | |
1302 | Py_XDECREF(data->destroy); | |
1303 | } | |
1304 | ||
1305 | /* =============== PySwigObject =====================*/ | |
1306 | ||
1307 | typedef struct { | |
1308 | PyObject_HEAD | |
1309 | void *ptr; | |
1310 | swig_type_info *ty; | |
1311 | int own; | |
1312 | PyObject *next; | |
1313 | } PySwigObject; | |
1314 | ||
1315 | SWIGRUNTIME PyObject * | |
1316 | PySwigObject_long(PySwigObject *v) | |
1317 | { | |
1318 | return PyLong_FromVoidPtr(v->ptr); | |
1319 | } | |
1320 | ||
1321 | SWIGRUNTIME PyObject * | |
1322 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1323 | { | |
1324 | PyObject *res = NULL; | |
1325 | PyObject *args = PyTuple_New(1); | |
1326 | if (args) { | |
1327 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1328 | PyObject *ofmt = PyString_FromString(fmt); | |
1329 | if (ofmt) { | |
1330 | res = PyString_Format(ofmt,args); | |
1331 | Py_DECREF(ofmt); | |
1332 | } | |
1333 | Py_DECREF(args); | |
1334 | } | |
1335 | } | |
1336 | return res; | |
1337 | } | |
1338 | ||
1339 | SWIGRUNTIME PyObject * | |
1340 | PySwigObject_oct(PySwigObject *v) | |
1341 | { | |
1342 | return PySwigObject_format("%o",v); | |
1343 | } | |
1344 | ||
1345 | SWIGRUNTIME PyObject * | |
1346 | PySwigObject_hex(PySwigObject *v) | |
1347 | { | |
1348 | return PySwigObject_format("%x",v); | |
1349 | } | |
1350 | ||
1351 | SWIGRUNTIME PyObject * | |
1352 | #ifdef METH_NOARGS | |
1353 | PySwigObject_repr(PySwigObject *v) | |
1354 | #else | |
1355 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1356 | #endif | |
1357 | { | |
1358 | const char *name = SWIG_TypePrettyName(v->ty); | |
1359 | PyObject *hex = PySwigObject_hex(v); | |
1360 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1361 | Py_DECREF(hex); | |
1362 | if (v->next) { | |
1363 | #ifdef METH_NOARGS | |
1364 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1365 | #else | |
1366 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1367 | #endif | |
1368 | PyString_ConcatAndDel(&repr,nrep); | |
1369 | } | |
1370 | return repr; | |
1371 | } | |
1372 | ||
1373 | SWIGRUNTIME int | |
1374 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1375 | { | |
1376 | #ifdef METH_NOARGS | |
1377 | PyObject *repr = PySwigObject_repr(v); | |
1378 | #else | |
1379 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1380 | #endif | |
1381 | if (repr) { | |
1382 | fputs(PyString_AsString(repr), fp); | |
1383 | Py_DECREF(repr); | |
1384 | return 0; | |
1385 | } else { | |
1386 | return 1; | |
1387 | } | |
1388 | } | |
1389 | ||
1390 | SWIGRUNTIME PyObject * | |
1391 | PySwigObject_str(PySwigObject *v) | |
1392 | { | |
1393 | char result[SWIG_BUFFER_SIZE]; | |
1394 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1395 | PyString_FromString(result) : 0; | |
1396 | } | |
1397 | ||
1398 | SWIGRUNTIME int | |
1399 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1400 | { | |
1401 | void *i = v->ptr; | |
1402 | void *j = w->ptr; | |
1403 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1404 | } | |
1405 | ||
1406 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1407 | ||
1408 | SWIGRUNTIME PyTypeObject* | |
1409 | PySwigObject_type(void) { | |
1410 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1411 | return type; | |
1412 | } | |
1413 | ||
1414 | SWIGRUNTIMEINLINE int | |
1415 | PySwigObject_Check(PyObject *op) { | |
1416 | return ((op)->ob_type == PySwigObject_type()) | |
1417 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1418 | } | |
1419 | ||
1420 | SWIGRUNTIME PyObject * | |
1421 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1422 | ||
1423 | SWIGRUNTIME void | |
1424 | PySwigObject_dealloc(PyObject *v) | |
1425 | { | |
1426 | PySwigObject *sobj = (PySwigObject *) v; | |
1427 | PyObject *next = sobj->next; | |
1428 | if (sobj->own) { | |
1429 | swig_type_info *ty = sobj->ty; | |
1430 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1431 | PyObject *destroy = data ? data->destroy : 0; | |
1432 | if (destroy) { | |
1433 | /* destroy is always a VARARGS method */ | |
1434 | PyObject *res; | |
1435 | if (data->delargs) { | |
1436 | /* we need to create a temporal object to carry the destroy operation */ | |
1437 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1438 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1439 | Py_DECREF(tmp); | |
1440 | } else { | |
1441 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1442 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1443 | res = ((*meth)(mself, v)); | |
1444 | } | |
1445 | Py_XDECREF(res); | |
1446 | } else { | |
1447 | const char *name = SWIG_TypePrettyName(ty); | |
1448 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1449 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1450 | #endif | |
1451 | } | |
1452 | } | |
1453 | Py_XDECREF(next); | |
1454 | PyObject_DEL(v); | |
1455 | } | |
1456 | ||
1457 | SWIGRUNTIME PyObject* | |
1458 | PySwigObject_append(PyObject* v, PyObject* next) | |
1459 | { | |
1460 | PySwigObject *sobj = (PySwigObject *) v; | |
1461 | #ifndef METH_O | |
1462 | PyObject *tmp = 0; | |
1463 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1464 | next = tmp; | |
1465 | #endif | |
1466 | if (!PySwigObject_Check(next)) { | |
1467 | return NULL; | |
1468 | } | |
1469 | sobj->next = next; | |
1470 | Py_INCREF(next); | |
1471 | return SWIG_Py_Void(); | |
1472 | } | |
1473 | ||
1474 | SWIGRUNTIME PyObject* | |
1475 | #ifdef METH_NOARGS | |
1476 | PySwigObject_next(PyObject* v) | |
1477 | #else | |
1478 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1479 | #endif | |
1480 | { | |
1481 | PySwigObject *sobj = (PySwigObject *) v; | |
1482 | if (sobj->next) { | |
1483 | Py_INCREF(sobj->next); | |
1484 | return sobj->next; | |
1485 | } else { | |
1486 | return SWIG_Py_Void(); | |
1487 | } | |
1488 | } | |
1489 | ||
1490 | SWIGINTERN PyObject* | |
1491 | #ifdef METH_NOARGS | |
1492 | PySwigObject_disown(PyObject *v) | |
1493 | #else | |
1494 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1495 | #endif | |
1496 | { | |
1497 | PySwigObject *sobj = (PySwigObject *)v; | |
1498 | sobj->own = 0; | |
1499 | return SWIG_Py_Void(); | |
1500 | } | |
1501 | ||
1502 | SWIGINTERN PyObject* | |
1503 | #ifdef METH_NOARGS | |
1504 | PySwigObject_acquire(PyObject *v) | |
1505 | #else | |
1506 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1507 | #endif | |
1508 | { | |
1509 | PySwigObject *sobj = (PySwigObject *)v; | |
1510 | sobj->own = SWIG_POINTER_OWN; | |
1511 | return SWIG_Py_Void(); | |
1512 | } | |
1513 | ||
1514 | SWIGINTERN PyObject* | |
1515 | PySwigObject_own(PyObject *v, PyObject *args) | |
1516 | { | |
1517 | PyObject *val = 0; | |
1518 | #if (PY_VERSION_HEX < 0x02020000) | |
1519 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1520 | #else | |
1521 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1522 | #endif | |
1523 | { | |
1524 | return NULL; | |
1525 | } | |
1526 | else | |
1527 | { | |
1528 | PySwigObject *sobj = (PySwigObject *)v; | |
1529 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1530 | if (val) { | |
1531 | #ifdef METH_NOARGS | |
1532 | if (PyObject_IsTrue(val)) { | |
1533 | PySwigObject_acquire(v); | |
1534 | } else { | |
1535 | PySwigObject_disown(v); | |
1536 | } | |
1537 | #else | |
1538 | if (PyObject_IsTrue(val)) { | |
1539 | PySwigObject_acquire(v,args); | |
1540 | } else { | |
1541 | PySwigObject_disown(v,args); | |
1542 | } | |
1543 | #endif | |
1544 | } | |
1545 | return obj; | |
1546 | } | |
1547 | } | |
1548 | ||
1549 | #ifdef METH_O | |
1550 | static PyMethodDef | |
1551 | swigobject_methods[] = { | |
1552 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1553 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1554 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1555 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1556 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1557 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1558 | {0, 0, 0, 0} | |
1559 | }; | |
1560 | #else | |
1561 | static PyMethodDef | |
1562 | swigobject_methods[] = { | |
1563 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1564 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1565 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1566 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1567 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1568 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1569 | {0, 0, 0, 0} | |
1570 | }; | |
1571 | #endif | |
1572 | ||
1573 | #if PY_VERSION_HEX < 0x02020000 | |
1574 | SWIGINTERN PyObject * | |
1575 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1576 | { | |
1577 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1578 | } | |
1579 | #endif | |
1580 | ||
1581 | SWIGRUNTIME PyTypeObject* | |
1582 | _PySwigObject_type(void) { | |
1583 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1584 | ||
1585 | static PyNumberMethods PySwigObject_as_number = { | |
1586 | (binaryfunc)0, /*nb_add*/ | |
1587 | (binaryfunc)0, /*nb_subtract*/ | |
1588 | (binaryfunc)0, /*nb_multiply*/ | |
1589 | (binaryfunc)0, /*nb_divide*/ | |
1590 | (binaryfunc)0, /*nb_remainder*/ | |
1591 | (binaryfunc)0, /*nb_divmod*/ | |
1592 | (ternaryfunc)0,/*nb_power*/ | |
1593 | (unaryfunc)0, /*nb_negative*/ | |
1594 | (unaryfunc)0, /*nb_positive*/ | |
1595 | (unaryfunc)0, /*nb_absolute*/ | |
1596 | (inquiry)0, /*nb_nonzero*/ | |
1597 | 0, /*nb_invert*/ | |
1598 | 0, /*nb_lshift*/ | |
1599 | 0, /*nb_rshift*/ | |
1600 | 0, /*nb_and*/ | |
1601 | 0, /*nb_xor*/ | |
1602 | 0, /*nb_or*/ | |
1603 | (coercion)0, /*nb_coerce*/ | |
1604 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1605 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1606 | (unaryfunc)0, /*nb_float*/ | |
1607 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1608 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
1609 | #if PY_VERSION_HEX >= 0x02020000 | |
1610 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
1611 | #elif PY_VERSION_HEX >= 0x02000000 | |
1612 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
1613 | #endif | |
1614 | }; | |
1615 | ||
1616 | static PyTypeObject pyswigobject_type; | |
1617 | static int type_init = 0; | |
1618 | if (!type_init) { | |
1619 | const PyTypeObject tmp | |
1620 | = { | |
1621 | PyObject_HEAD_INIT(NULL) | |
1622 | 0, /* ob_size */ | |
1623 | (char *)"PySwigObject", /* tp_name */ | |
1624 | sizeof(PySwigObject), /* tp_basicsize */ | |
1625 | 0, /* tp_itemsize */ | |
1626 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1627 | (printfunc)PySwigObject_print, /* tp_print */ | |
1628 | #if PY_VERSION_HEX < 0x02020000 | |
1629 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1630 | #else | |
1631 | (getattrfunc)0, /* tp_getattr */ | |
1632 | #endif | |
1633 | (setattrfunc)0, /* tp_setattr */ | |
1634 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1635 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1636 | &PySwigObject_as_number, /* tp_as_number */ | |
1637 | 0, /* tp_as_sequence */ | |
1638 | 0, /* tp_as_mapping */ | |
1639 | (hashfunc)0, /* tp_hash */ | |
1640 | (ternaryfunc)0, /* tp_call */ | |
1641 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1642 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1643 | 0, /* tp_setattro */ | |
1644 | 0, /* tp_as_buffer */ | |
1645 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1646 | swigobject_doc, /* tp_doc */ | |
1647 | 0, /* tp_traverse */ | |
1648 | 0, /* tp_clear */ | |
1649 | 0, /* tp_richcompare */ | |
1650 | 0, /* tp_weaklistoffset */ | |
1651 | #if PY_VERSION_HEX >= 0x02020000 | |
1652 | 0, /* tp_iter */ | |
1653 | 0, /* tp_iternext */ | |
1654 | swigobject_methods, /* tp_methods */ | |
1655 | 0, /* tp_members */ | |
1656 | 0, /* tp_getset */ | |
1657 | 0, /* tp_base */ | |
1658 | 0, /* tp_dict */ | |
1659 | 0, /* tp_descr_get */ | |
1660 | 0, /* tp_descr_set */ | |
1661 | 0, /* tp_dictoffset */ | |
1662 | 0, /* tp_init */ | |
1663 | 0, /* tp_alloc */ | |
1664 | 0, /* tp_new */ | |
1665 | 0, /* tp_free */ | |
1666 | 0, /* tp_is_gc */ | |
1667 | 0, /* tp_bases */ | |
1668 | 0, /* tp_mro */ | |
1669 | 0, /* tp_cache */ | |
1670 | 0, /* tp_subclasses */ | |
1671 | 0, /* tp_weaklist */ | |
1672 | #endif | |
1673 | #if PY_VERSION_HEX >= 0x02030000 | |
1674 | 0, /* tp_del */ | |
1675 | #endif | |
1676 | #ifdef COUNT_ALLOCS | |
1677 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1678 | #endif | |
1679 | }; | |
1680 | pyswigobject_type = tmp; | |
1681 | pyswigobject_type.ob_type = &PyType_Type; | |
1682 | type_init = 1; | |
1683 | } | |
1684 | return &pyswigobject_type; | |
1685 | } | |
1686 | ||
1687 | SWIGRUNTIME PyObject * | |
1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) | |
1689 | { | |
1690 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); | |
1691 | if (sobj) { | |
1692 | sobj->ptr = ptr; | |
1693 | sobj->ty = ty; | |
1694 | sobj->own = own; | |
1695 | sobj->next = 0; | |
1696 | } | |
1697 | return (PyObject *)sobj; | |
1698 | } | |
1699 | ||
1700 | /* ----------------------------------------------------------------------------- | |
1701 | * Implements a simple Swig Packed type, and use it instead of string | |
1702 | * ----------------------------------------------------------------------------- */ | |
1703 | ||
1704 | typedef struct { | |
1705 | PyObject_HEAD | |
1706 | void *pack; | |
1707 | swig_type_info *ty; | |
1708 | size_t size; | |
1709 | } PySwigPacked; | |
1710 | ||
1711 | SWIGRUNTIME int | |
1712 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1713 | { | |
1714 | char result[SWIG_BUFFER_SIZE]; | |
1715 | fputs("<Swig Packed ", fp); | |
1716 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1717 | fputs("at ", fp); | |
1718 | fputs(result, fp); | |
1719 | } | |
1720 | fputs(v->ty->name,fp); | |
1721 | fputs(">", fp); | |
1722 | return 0; | |
1723 | } | |
1724 | ||
1725 | SWIGRUNTIME PyObject * | |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); | |
1731 | } else { | |
1732 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); | |
1733 | } | |
1734 | } | |
1735 | ||
1736 | SWIGRUNTIME PyObject * | |
1737 | PySwigPacked_str(PySwigPacked *v) | |
1738 | { | |
1739 | char result[SWIG_BUFFER_SIZE]; | |
1740 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
1741 | return PyString_FromFormat("%s%s", result, v->ty->name); | |
1742 | } else { | |
1743 | return PyString_FromString(v->ty->name); | |
1744 | } | |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
1750 | size_t i = v->size; | |
1751 | size_t j = w->size; | |
1752 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1753 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
1754 | } | |
1755 | ||
1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); | |
1757 | ||
1758 | SWIGRUNTIME PyTypeObject* | |
1759 | PySwigPacked_type(void) { | |
1760 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); | |
1761 | return type; | |
1762 | } | |
1763 | ||
1764 | SWIGRUNTIMEINLINE int | |
1765 | PySwigPacked_Check(PyObject *op) { | |
1766 | return ((op)->ob_type == _PySwigPacked_type()) | |
1767 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1768 | } | |
1769 | ||
1770 | SWIGRUNTIME void | |
1771 | PySwigPacked_dealloc(PyObject *v) | |
1772 | { | |
1773 | if (PySwigPacked_Check(v)) { | |
1774 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1775 | free(sobj->pack); | |
1776 | } | |
1777 | PyObject_DEL(v); | |
1778 | } | |
1779 | ||
1780 | SWIGRUNTIME PyTypeObject* | |
1781 | _PySwigPacked_type(void) { | |
1782 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1783 | static PyTypeObject pyswigpacked_type; | |
1784 | static int type_init = 0; | |
1785 | if (!type_init) { | |
1786 | const PyTypeObject tmp | |
1787 | = { | |
1788 | PyObject_HEAD_INIT(NULL) | |
1789 | 0, /* ob_size */ | |
1790 | (char *)"PySwigPacked", /* tp_name */ | |
1791 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1792 | 0, /* tp_itemsize */ | |
1793 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1794 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1795 | (getattrfunc)0, /* tp_getattr */ | |
1796 | (setattrfunc)0, /* tp_setattr */ | |
1797 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1798 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1799 | 0, /* tp_as_number */ | |
1800 | 0, /* tp_as_sequence */ | |
1801 | 0, /* tp_as_mapping */ | |
1802 | (hashfunc)0, /* tp_hash */ | |
1803 | (ternaryfunc)0, /* tp_call */ | |
1804 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1805 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1806 | 0, /* tp_setattro */ | |
1807 | 0, /* tp_as_buffer */ | |
1808 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1809 | swigpacked_doc, /* tp_doc */ | |
1810 | 0, /* tp_traverse */ | |
1811 | 0, /* tp_clear */ | |
1812 | 0, /* tp_richcompare */ | |
1813 | 0, /* tp_weaklistoffset */ | |
1814 | #if PY_VERSION_HEX >= 0x02020000 | |
1815 | 0, /* tp_iter */ | |
1816 | 0, /* tp_iternext */ | |
1817 | 0, /* tp_methods */ | |
1818 | 0, /* tp_members */ | |
1819 | 0, /* tp_getset */ | |
1820 | 0, /* tp_base */ | |
1821 | 0, /* tp_dict */ | |
1822 | 0, /* tp_descr_get */ | |
1823 | 0, /* tp_descr_set */ | |
1824 | 0, /* tp_dictoffset */ | |
1825 | 0, /* tp_init */ | |
1826 | 0, /* tp_alloc */ | |
1827 | 0, /* tp_new */ | |
1828 | 0, /* tp_free */ | |
1829 | 0, /* tp_is_gc */ | |
1830 | 0, /* tp_bases */ | |
1831 | 0, /* tp_mro */ | |
1832 | 0, /* tp_cache */ | |
1833 | 0, /* tp_subclasses */ | |
1834 | 0, /* tp_weaklist */ | |
1835 | #endif | |
1836 | #if PY_VERSION_HEX >= 0x02030000 | |
1837 | 0, /* tp_del */ | |
1838 | #endif | |
1839 | #ifdef COUNT_ALLOCS | |
1840 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1841 | #endif | |
1842 | }; | |
1843 | pyswigpacked_type = tmp; | |
1844 | pyswigpacked_type.ob_type = &PyType_Type; | |
1845 | type_init = 1; | |
1846 | } | |
1847 | return &pyswigpacked_type; | |
1848 | } | |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) | |
1852 | { | |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); | |
1854 | if (sobj) { | |
1855 | void *pack = malloc(size); | |
1856 | if (pack) { | |
1857 | memcpy(pack, ptr, size); | |
1858 | sobj->pack = pack; | |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
1864 | } | |
1865 | } | |
1866 | return (PyObject *) sobj; | |
1867 | } | |
1868 | ||
1869 | SWIGRUNTIME swig_type_info * | |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
1871 | { | |
1872 | if (PySwigPacked_Check(obj)) { | |
1873 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1874 | if (sobj->size != size) return 0; | |
1875 | memcpy(ptr, sobj->pack, size); | |
1876 | return sobj->ty; | |
1877 | } else { | |
1878 | return 0; | |
1879 | } | |
1880 | } | |
1881 | ||
1882 | /* ----------------------------------------------------------------------------- | |
1883 | * pointers/data manipulation | |
1884 | * ----------------------------------------------------------------------------- */ | |
1885 | ||
1886 | SWIGRUNTIMEINLINE PyObject * | |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
1891 | ||
1892 | SWIGRUNTIME PyObject * | |
1893 | SWIG_This(void) | |
1894 | { | |
1895 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1896 | return swig_this; | |
1897 | } | |
1898 | ||
1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ | |
1900 | ||
1901 | SWIGRUNTIME PySwigObject * | |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
1903 | { | |
1904 | if (PySwigObject_Check(pyobj)) { | |
1905 | return (PySwigObject *) pyobj; | |
1906 | } else { | |
1907 | PyObject *obj = 0; | |
1908 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1909 | if (PyInstance_Check(pyobj)) { | |
1910 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1911 | } else { | |
1912 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1913 | if (dictptr != NULL) { | |
1914 | PyObject *dict = *dictptr; | |
1915 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1916 | } else { | |
1917 | #ifdef PyWeakref_CheckProxy | |
1918 | if (PyWeakref_CheckProxy(pyobj)) { | |
1919 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1920 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1921 | } | |
1922 | #endif | |
1923 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1924 | if (obj) { | |
1925 | Py_DECREF(obj); | |
1926 | } else { | |
1927 | if (PyErr_Occurred()) PyErr_Clear(); | |
1928 | return 0; | |
1929 | } | |
1930 | } | |
1931 | } | |
1932 | #else | |
1933 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1934 | if (obj) { | |
1935 | Py_DECREF(obj); | |
1936 | } else { | |
1937 | if (PyErr_Occurred()) PyErr_Clear(); | |
1938 | return 0; | |
1939 | } | |
1940 | #endif | |
1941 | if (obj && !PySwigObject_Check(obj)) { | |
1942 | /* a PyObject is called 'this', try to get the 'real this' | |
1943 | PySwigObject from it */ | |
1944 | return SWIG_Python_GetSwigThis(obj); | |
1945 | } | |
1946 | return (PySwigObject *)obj; | |
1947 | } | |
1948 | } | |
1949 | ||
1950 | /* Acquire a pointer value */ | |
1951 | ||
1952 | SWIGRUNTIME int | |
1953 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1954 | if (own) { | |
1955 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1956 | if (sobj) { | |
1957 | int oldown = sobj->own; | |
1958 | sobj->own = own; | |
1959 | return oldown; | |
1960 | } | |
1961 | } | |
1962 | return 0; | |
1963 | } | |
1964 | ||
1965 | /* Convert a pointer value */ | |
1966 | ||
1967 | SWIGRUNTIME int | |
1968 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { | |
1969 | if (!obj) return SWIG_ERROR; | |
1970 | if (obj == Py_None) { | |
1971 | if (ptr) *ptr = 0; | |
1972 | return SWIG_OK; | |
1973 | } else { | |
1974 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1975 | while (sobj) { | |
1976 | void *vptr = sobj->ptr; | |
1977 | if (ty) { | |
1978 | swig_type_info *to = sobj->ty; | |
1979 | if (to == ty) { | |
1980 | /* no type cast needed */ | |
1981 | if (ptr) *ptr = vptr; | |
1982 | break; | |
1983 | } else { | |
1984 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1985 | if (!tc) { | |
1986 | sobj = (PySwigObject *)sobj->next; | |
1987 | } else { | |
1988 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1989 | break; | |
1990 | } | |
1991 | } | |
1992 | } else { | |
1993 | if (ptr) *ptr = vptr; | |
1994 | break; | |
1995 | } | |
1996 | } | |
1997 | if (sobj) { | |
1998 | if (own) *own = sobj->own; | |
1999 | if (flags & SWIG_POINTER_DISOWN) { | |
2000 | sobj->own = 0; | |
2001 | } | |
2002 | return SWIG_OK; | |
2003 | } else { | |
2004 | int res = SWIG_ERROR; | |
2005 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2006 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2007 | if (data && !data->implicitconv) { | |
2008 | PyObject *klass = data->klass; | |
2009 | if (klass) { | |
2010 | PyObject *impconv; | |
2011 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2012 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2013 | data->implicitconv = 0; | |
2014 | if (PyErr_Occurred()) { | |
2015 | PyErr_Clear(); | |
2016 | impconv = 0; | |
2017 | } | |
2018 | if (impconv) { | |
2019 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2020 | if (iobj) { | |
2021 | void *vptr; | |
2022 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2023 | if (SWIG_IsOK(res)) { | |
2024 | if (ptr) { | |
2025 | *ptr = vptr; | |
2026 | /* transfer the ownership to 'ptr' */ | |
2027 | iobj->own = 0; | |
2028 | res = SWIG_AddCast(res); | |
2029 | res = SWIG_AddNewMask(res); | |
2030 | } else { | |
2031 | res = SWIG_AddCast(res); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | Py_DECREF(impconv); | |
2036 | } | |
2037 | } | |
2038 | } | |
2039 | } | |
2040 | return res; | |
2041 | } | |
2042 | } | |
2043 | } | |
2044 | ||
2045 | /* Convert a function ptr value */ | |
2046 | ||
2047 | SWIGRUNTIME int | |
2048 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { | |
2049 | if (!PyCFunction_Check(obj)) { | |
2050 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
2051 | } else { | |
2052 | void *vptr = 0; | |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
2056 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; | |
2057 | if (desc) { | |
2058 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2059 | if (!desc) return SWIG_ERROR; | |
2060 | } | |
2061 | if (ty) { | |
2062 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2063 | if (!tc) return SWIG_ERROR; | |
2064 | *ptr = SWIG_TypeCast(tc,vptr); | |
2065 | } else { | |
2066 | *ptr = vptr; | |
2067 | } | |
2068 | return SWIG_OK; | |
2069 | } | |
2070 | } | |
2071 | ||
2072 | /* Convert a packed value value */ | |
2073 | ||
2074 | SWIGRUNTIME int | |
2075 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { | |
2076 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2077 | if (!to) return SWIG_ERROR; | |
2078 | if (ty) { | |
2079 | if (to != ty) { | |
2080 | /* check type cast? */ | |
2081 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2082 | if (!tc) return SWIG_ERROR; | |
2083 | } | |
2084 | } | |
2085 | return SWIG_OK; | |
2086 | } | |
2087 | ||
2088 | /* ----------------------------------------------------------------------------- | |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
2091 | ||
2092 | /* | |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
2096 | ||
2097 | SWIGRUNTIME PyObject* | |
2098 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2099 | { | |
2100 | #if (PY_VERSION_HEX >= 0x02020000) | |
2101 | PyObject *inst = 0; | |
2102 | PyObject *newraw = data->newraw; | |
2103 | if (newraw) { | |
2104 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2105 | if (inst) { | |
2106 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2107 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2108 | if (dictptr != NULL) { | |
2109 | PyObject *dict = *dictptr; | |
2110 | if (dict == NULL) { | |
2111 | dict = PyDict_New(); | |
2112 | *dictptr = dict; | |
2113 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2114 | } | |
2115 | } | |
2116 | #else | |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
2120 | } | |
2121 | } else { | |
2122 | PyObject *dict = PyDict_New(); | |
2123 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2124 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2125 | Py_DECREF(dict); | |
2126 | } | |
2127 | return inst; | |
2128 | #else | |
2129 | #if (PY_VERSION_HEX >= 0x02010000) | |
2130 | PyObject *inst; | |
2131 | PyObject *dict = PyDict_New(); | |
2132 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2133 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2134 | Py_DECREF(dict); | |
2135 | return (PyObject *) inst; | |
2136 | #else | |
2137 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2138 | if (inst == NULL) { | |
2139 | return NULL; | |
2140 | } | |
2141 | inst->in_class = (PyClassObject *)data->newargs; | |
2142 | Py_INCREF(inst->in_class); | |
2143 | inst->in_dict = PyDict_New(); | |
2144 | if (inst->in_dict == NULL) { | |
2145 | Py_DECREF(inst); | |
2146 | return NULL; | |
2147 | } | |
2148 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS | |
2149 | inst->in_weakreflist = NULL; | |
2150 | #endif | |
2151 | #ifdef Py_TPFLAGS_GC | |
2152 | PyObject_GC_Init(inst); | |
2153 | #endif | |
2154 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2155 | return (PyObject *) inst; | |
2156 | #endif | |
2157 | #endif | |
2158 | } | |
2159 | ||
2160 | SWIGRUNTIME void | |
2161 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2162 | { | |
2163 | PyObject *dict; | |
2164 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2165 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2166 | if (dictptr != NULL) { | |
2167 | dict = *dictptr; | |
2168 | if (dict == NULL) { | |
2169 | dict = PyDict_New(); | |
2170 | *dictptr = dict; | |
2171 | } | |
2172 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2173 | return; | |
2174 | } | |
2175 | #endif | |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); | |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
2180 | ||
2181 | ||
2182 | SWIGINTERN PyObject * | |
2183 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2184 | PyObject *obj[2]; | |
2185 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2186 | return NULL; | |
2187 | } else { | |
2188 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2189 | if (sthis) { | |
2190 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
2191 | } else { | |
2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); | |
2193 | } | |
2194 | return SWIG_Py_Void(); | |
2195 | } | |
2196 | } | |
2197 | ||
2198 | /* Create a new pointer object */ | |
2199 | ||
2200 | SWIGRUNTIME PyObject * | |
2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { | |
2202 | if (!ptr) { | |
2203 | return SWIG_Py_Void(); | |
2204 | } else { | |
2205 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2206 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2207 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2208 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2209 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2210 | if (inst) { | |
2211 | Py_DECREF(robj); | |
2212 | robj = inst; | |
2213 | } | |
2214 | } | |
2215 | return robj; | |
2216 | } | |
2217 | } | |
2218 | ||
2219 | /* Create a new packed object */ | |
2220 | ||
2221 | SWIGRUNTIMEINLINE PyObject * | |
2222 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
2223 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); | |
2224 | } | |
2225 | ||
2226 | /* -----------------------------------------------------------------------------* | |
2227 | * Get type list | |
2228 | * -----------------------------------------------------------------------------*/ | |
2229 | ||
2230 | #ifdef SWIG_LINK_RUNTIME | |
2231 | void *SWIG_ReturnGlobalTypeList(void *); | |
2232 | #endif | |
2233 | ||
2234 | SWIGRUNTIME swig_module_info * | |
2235 | SWIG_Python_GetModule(void) { | |
2236 | static void *type_pointer = (void *)0; | |
2237 | /* first check if module already created */ | |
2238 | if (!type_pointer) { | |
2239 | #ifdef SWIG_LINK_RUNTIME | |
2240 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2241 | #else | |
2242 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2243 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2244 | if (PyErr_Occurred()) { | |
2245 | PyErr_Clear(); | |
2246 | type_pointer = (void *)0; | |
2247 | } | |
2248 | #endif | |
2249 | } | |
2250 | return (swig_module_info *) type_pointer; | |
2251 | } | |
2252 | ||
2253 | #if PY_MAJOR_VERSION < 2 | |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
2256 | SWIGINTERN int | |
2257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2258 | { | |
2259 | PyObject *dict; | |
2260 | if (!PyModule_Check(m)) { | |
2261 | PyErr_SetString(PyExc_TypeError, | |
2262 | "PyModule_AddObject() needs module as first arg"); | |
2263 | return SWIG_ERROR; | |
2264 | } | |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
2268 | return SWIG_ERROR; | |
2269 | } | |
2270 | ||
2271 | dict = PyModule_GetDict(m); | |
2272 | if (dict == NULL) { | |
2273 | /* Internal error -- modules must have a dict! */ | |
2274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2275 | PyModule_GetName(m)); | |
2276 | return SWIG_ERROR; | |
2277 | } | |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
2279 | return SWIG_ERROR; | |
2280 | Py_DECREF(o); | |
2281 | return SWIG_OK; | |
2282 | } | |
2283 | #endif | |
2284 | ||
2285 | SWIGRUNTIME void | |
2286 | SWIG_Python_DestroyModule(void *vptr) | |
2287 | { | |
2288 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2289 | swig_type_info **types = swig_module->types; | |
2290 | size_t i; | |
2291 | for (i =0; i < swig_module->size; ++i) { | |
2292 | swig_type_info *ty = types[i]; | |
2293 | if (ty->owndata) { | |
2294 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2295 | if (data) PySwigClientData_Del(data); | |
2296 | } | |
2297 | } | |
2298 | Py_DECREF(SWIG_This()); | |
2299 | } | |
2300 | ||
2301 | SWIGRUNTIME void | |
2302 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2303 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2304 | ||
2305 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2306 | swig_empty_runtime_method_table); | |
2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); | |
2308 | if (pointer && module) { | |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
2310 | } else { | |
2311 | Py_XDECREF(pointer); | |
2312 | } | |
2313 | } | |
2314 | ||
2315 | /* The python cached type query */ | |
2316 | SWIGRUNTIME PyObject * | |
2317 | SWIG_Python_TypeCache() { | |
2318 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2319 | return cache; | |
2320 | } | |
2321 | ||
2322 | SWIGRUNTIME swig_type_info * | |
2323 | SWIG_Python_TypeQuery(const char *type) | |
2324 | { | |
2325 | PyObject *cache = SWIG_Python_TypeCache(); | |
2326 | PyObject *key = PyString_FromString(type); | |
2327 | PyObject *obj = PyDict_GetItem(cache, key); | |
2328 | swig_type_info *descriptor; | |
2329 | if (obj) { | |
2330 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2331 | } else { | |
2332 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2333 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2334 | if (descriptor) { | |
2335 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2336 | PyDict_SetItem(cache, key, obj); | |
2337 | Py_DECREF(obj); | |
2338 | } | |
2339 | } | |
2340 | Py_DECREF(key); | |
2341 | return descriptor; | |
2342 | } | |
2343 | ||
2344 | /* | |
2345 | For backward compatibility only | |
2346 | */ | |
2347 | #define SWIG_POINTER_EXCEPTION 0 | |
2348 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2349 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2350 | ||
2351 | SWIGRUNTIME int | |
2352 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2353 | { | |
2354 | if (PyErr_Occurred()) { | |
2355 | PyObject *type = 0; | |
2356 | PyObject *value = 0; | |
2357 | PyObject *traceback = 0; | |
2358 | PyErr_Fetch(&type, &value, &traceback); | |
2359 | if (value) { | |
2360 | PyObject *old_str = PyObject_Str(value); | |
2361 | Py_XINCREF(type); | |
2362 | PyErr_Clear(); | |
2363 | if (infront) { | |
2364 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2365 | } else { | |
2366 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2367 | } | |
2368 | Py_DECREF(old_str); | |
2369 | } | |
2370 | return 1; | |
2371 | } else { | |
2372 | return 0; | |
2373 | } | |
2374 | } | |
2375 | ||
2376 | SWIGRUNTIME int | |
2377 | SWIG_Python_ArgFail(int argnum) | |
2378 | { | |
2379 | if (PyErr_Occurred()) { | |
2380 | /* add information about failing argument */ | |
2381 | char mesg[256]; | |
2382 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2383 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2384 | } else { | |
2385 | return 0; | |
2386 | } | |
2387 | } | |
2388 | ||
2389 | SWIGRUNTIMEINLINE const char * | |
2390 | PySwigObject_GetDesc(PyObject *self) | |
2391 | { | |
2392 | PySwigObject *v = (PySwigObject *)self; | |
2393 | swig_type_info *ty = v ? v->ty : 0; | |
2394 | return ty ? ty->str : (char*)""; | |
2395 | } | |
2396 | ||
2397 | SWIGRUNTIME void | |
2398 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2399 | { | |
2400 | if (type) { | |
2401 | #if defined(SWIG_COBJECT_TYPES) | |
2402 | if (obj && PySwigObject_Check(obj)) { | |
2403 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2404 | if (otype) { | |
2405 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2406 | type, otype); | |
2407 | return; | |
2408 | } | |
2409 | } else | |
2410 | #endif | |
2411 | { | |
2412 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2413 | if (otype) { | |
2414 | PyObject *str = PyObject_Str(obj); | |
2415 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2416 | if (cstr) { | |
2417 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2418 | type, otype, cstr); | |
2419 | } else { | |
2420 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2421 | type, otype); | |
2422 | } | |
2423 | Py_XDECREF(str); | |
2424 | return; | |
2425 | } | |
2426 | } | |
2427 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2428 | } else { | |
2429 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2430 | } | |
2431 | } | |
2432 | ||
2433 | ||
2434 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2435 | SWIGRUNTIME void * | |
2436 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2437 | void *result; | |
2438 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2439 | PyErr_Clear(); | |
2440 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2441 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2442 | SWIG_Python_ArgFail(argnum); | |
2443 | } | |
2444 | } | |
2445 | return result; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | #ifdef __cplusplus | |
2450 | #if 0 | |
2451 | { /* cc-mode */ | |
2452 | #endif | |
2453 | } | |
2454 | #endif | |
2455 | ||
2456 | ||
2457 | ||
2458 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2459 | ||
2460 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2461 | ||
2462 | ||
2463 | ||
2464 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2465 | ||
2466 | #define SWIGTYPE_p_char swig_types[0] | |
2467 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
2468 | #define SWIGTYPE_p_int swig_types[2] | |
10044bf1 RD |
2469 | #define SWIGTYPE_p_p_wxAuiMultiNotebook swig_types[3] |
2470 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[4] | |
2471 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[5] | |
2472 | #define SWIGTYPE_p_p_wxColourDialog swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxControl swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxDialog swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxDirDialog swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxFileDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxFloatingPane swig_types[13] | |
2480 | #define SWIGTYPE_p_p_wxFontDialog swig_types[14] | |
2481 | #define SWIGTYPE_p_p_wxFrame swig_types[15] | |
2482 | #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16] | |
2483 | #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17] | |
2484 | #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18] | |
2485 | #define SWIGTYPE_p_p_wxMenuBar swig_types[19] | |
2486 | #define SWIGTYPE_p_p_wxMessageDialog swig_types[20] | |
2487 | #define SWIGTYPE_p_p_wxMiniFrame swig_types[21] | |
2488 | #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22] | |
2489 | #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23] | |
2490 | #define SWIGTYPE_p_p_wxPanel swig_types[24] | |
2491 | #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25] | |
2492 | #define SWIGTYPE_p_p_wxPopupWindow swig_types[26] | |
2493 | #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27] | |
2494 | #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28] | |
2495 | #define SWIGTYPE_p_p_wxPreviewFrame swig_types[29] | |
2496 | #define SWIGTYPE_p_p_wxProgressDialog swig_types[30] | |
2497 | #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31] | |
2498 | #define SWIGTYPE_p_p_wxPyPanel swig_types[32] | |
2499 | #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33] | |
2500 | #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34] | |
2501 | #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35] | |
2502 | #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36] | |
2503 | #define SWIGTYPE_p_p_wxPyVListBox swig_types[37] | |
2504 | #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38] | |
2505 | #define SWIGTYPE_p_p_wxPyWindow swig_types[39] | |
2506 | #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40] | |
2507 | #define SWIGTYPE_p_p_wxSashWindow swig_types[41] | |
2508 | #define SWIGTYPE_p_p_wxScrolledWindow swig_types[42] | |
2509 | #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[43] | |
2510 | #define SWIGTYPE_p_p_wxSplashScreen swig_types[44] | |
2511 | #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[45] | |
2512 | #define SWIGTYPE_p_p_wxSplitterWindow swig_types[46] | |
2513 | #define SWIGTYPE_p_p_wxStatusBar swig_types[47] | |
2514 | #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[48] | |
2515 | #define SWIGTYPE_p_p_wxTipWindow swig_types[49] | |
2516 | #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[50] | |
2517 | #define SWIGTYPE_p_p_wxWindow swig_types[51] | |
2518 | #define SWIGTYPE_p_unsigned_char swig_types[52] | |
2519 | #define SWIGTYPE_p_unsigned_int swig_types[53] | |
2520 | #define SWIGTYPE_p_unsigned_long swig_types[54] | |
2521 | #define SWIGTYPE_p_wxANIHandler swig_types[55] | |
2522 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[56] | |
2523 | #define SWIGTYPE_p_wxActivateEvent swig_types[57] | |
2524 | #define SWIGTYPE_p_wxAuiMultiNotebook swig_types[58] | |
2525 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[59] | |
2526 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[60] | |
2527 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[64] | |
2531 | #define SWIGTYPE_p_wxBMPHandler swig_types[65] | |
2532 | #define SWIGTYPE_p_wxBitmap swig_types[66] | |
2533 | #define SWIGTYPE_p_wxBoxSizer swig_types[67] | |
2534 | #define SWIGTYPE_p_wxCURHandler swig_types[68] | |
2535 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[69] | |
2536 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[70] | |
2537 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[71] | |
2538 | #define SWIGTYPE_p_wxCloseEvent swig_types[72] | |
2539 | #define SWIGTYPE_p_wxColor swig_types[73] | |
2540 | #define SWIGTYPE_p_wxColour swig_types[74] | |
2541 | #define SWIGTYPE_p_wxColourData swig_types[75] | |
2542 | #define SWIGTYPE_p_wxColourDialog swig_types[76] | |
2543 | #define SWIGTYPE_p_wxCommandEvent swig_types[77] | |
2544 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[78] | |
2545 | #define SWIGTYPE_p_wxControl swig_types[79] | |
2546 | #define SWIGTYPE_p_wxControlWithItems swig_types[80] | |
2547 | #define SWIGTYPE_p_wxDC swig_types[81] | |
2548 | #define SWIGTYPE_p_wxDateEvent swig_types[82] | |
2549 | #define SWIGTYPE_p_wxDefaultDockArt swig_types[83] | |
5c8c7dd3 RD |
2550 | #define SWIGTYPE_p_wxDefaultTabArt swig_types[84] |
2551 | #define SWIGTYPE_p_wxDialog swig_types[85] | |
2552 | #define SWIGTYPE_p_wxDirDialog swig_types[86] | |
2553 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[87] | |
2554 | #define SWIGTYPE_p_wxDockArt swig_types[88] | |
2555 | #define SWIGTYPE_p_wxDockInfo swig_types[89] | |
2556 | #define SWIGTYPE_p_wxDockUIPart swig_types[90] | |
2557 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxDuplexMode swig_types[92] | |
2559 | #define SWIGTYPE_p_wxEraseEvent swig_types[93] | |
2560 | #define SWIGTYPE_p_wxEvent swig_types[94] | |
2561 | #define SWIGTYPE_p_wxEvtHandler swig_types[95] | |
2562 | #define SWIGTYPE_p_wxFSFile swig_types[96] | |
2563 | #define SWIGTYPE_p_wxFileDialog swig_types[97] | |
2564 | #define SWIGTYPE_p_wxFileSystem swig_types[98] | |
2565 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[99] | |
2566 | #define SWIGTYPE_p_wxFindReplaceData swig_types[100] | |
2567 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[101] | |
2568 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[102] | |
2569 | #define SWIGTYPE_p_wxFloatingPane swig_types[103] | |
2570 | #define SWIGTYPE_p_wxFocusEvent swig_types[104] | |
2571 | #define SWIGTYPE_p_wxFont swig_types[105] | |
2572 | #define SWIGTYPE_p_wxFontData swig_types[106] | |
2573 | #define SWIGTYPE_p_wxFontDialog swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFrame swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFrameManager swig_types[109] | |
2576 | #define SWIGTYPE_p_wxFrameManagerEvent swig_types[110] | |
2577 | #define SWIGTYPE_p_wxGBSizerItem swig_types[111] | |
2578 | #define SWIGTYPE_p_wxGIFHandler swig_types[112] | |
2579 | #define SWIGTYPE_p_wxGridBagSizer swig_types[113] | |
2580 | #define SWIGTYPE_p_wxGridSizer swig_types[114] | |
2581 | #define SWIGTYPE_p_wxICOHandler swig_types[115] | |
2582 | #define SWIGTYPE_p_wxIconizeEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxIdleEvent swig_types[117] | |
2584 | #define SWIGTYPE_p_wxImage swig_types[118] | |
2585 | #define SWIGTYPE_p_wxImageHandler swig_types[119] | |
2586 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[120] | |
2587 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[121] | |
2588 | #define SWIGTYPE_p_wxJPEGHandler swig_types[122] | |
2589 | #define SWIGTYPE_p_wxKeyEvent swig_types[123] | |
2590 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[124] | |
2591 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[125] | |
2592 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[126] | |
2593 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[127] | |
2594 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[128] | |
2595 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[129] | |
2596 | #define SWIGTYPE_p_wxMenu swig_types[130] | |
2597 | #define SWIGTYPE_p_wxMenuBar swig_types[131] | |
2598 | #define SWIGTYPE_p_wxMenuEvent swig_types[132] | |
2599 | #define SWIGTYPE_p_wxMenuItem swig_types[133] | |
2600 | #define SWIGTYPE_p_wxMessageDialog swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMiniFrame swig_types[135] | |
2602 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[136] | |
2603 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMouseEvent swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMoveEvent swig_types[139] | |
2606 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[140] | |
2607 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[141] | |
2608 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[142] | |
2609 | #define SWIGTYPE_p_wxNotifyEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[144] | |
2611 | #define SWIGTYPE_p_wxObject swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPCXHandler swig_types[146] | |
2613 | #define SWIGTYPE_p_wxPNGHandler swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPNMHandler swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPaintEvent swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPaneButton swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPaneButtonArray swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPaneInfo swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPaneInfoPtrArray swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPanel swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPaperSize swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPoint swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPopupWindow swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPreviewFrame swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPrintData swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPrintDialog swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPrintDialogData swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPrintPreview swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPrinter swig_types[169] | |
2636 | #define SWIGTYPE_p_wxProgressDialog swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPyApp swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPyDockArt swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPyEvent swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyImageHandler swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyPanel swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyPrintout swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPySizer swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyTabArt swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyVListBox swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyValidator swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyWindow swig_types[190] | |
2657 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[191] | |
2658 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[192] | |
2659 | #define SWIGTYPE_p_wxRect swig_types[193] | |
2660 | #define SWIGTYPE_p_wxSashEvent swig_types[194] | |
2661 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[195] | |
2662 | #define SWIGTYPE_p_wxSashWindow swig_types[196] | |
2663 | #define SWIGTYPE_p_wxScrollEvent swig_types[197] | |
2664 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[198] | |
2665 | #define SWIGTYPE_p_wxScrolledWindow swig_types[199] | |
2666 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[200] | |
2667 | #define SWIGTYPE_p_wxShowEvent swig_types[201] | |
2668 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[202] | |
2669 | #define SWIGTYPE_p_wxSize swig_types[203] | |
2670 | #define SWIGTYPE_p_wxSizeEvent swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSizer swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSizerItem swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSplashScreen swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[208] | |
2675 | #define SWIGTYPE_p_wxSplitterEvent swig_types[209] | |
2676 | #define SWIGTYPE_p_wxSplitterWindow swig_types[210] | |
2677 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[211] | |
2678 | #define SWIGTYPE_p_wxStatusBar swig_types[212] | |
2679 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[213] | |
2680 | #define SWIGTYPE_p_wxString swig_types[214] | |
2681 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[215] | |
580080c5 RD |
2682 | #define SWIGTYPE_p_wxTGAHandler swig_types[216] |
2683 | #define SWIGTYPE_p_wxTIFFHandler swig_types[217] | |
2684 | #define SWIGTYPE_p_wxTabArt swig_types[218] | |
2685 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[219] | |
2686 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[220] | |
2687 | #define SWIGTYPE_p_wxTipWindow swig_types[221] | |
2688 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[222] | |
2689 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[223] | |
2690 | #define SWIGTYPE_p_wxValidator swig_types[224] | |
2691 | #define SWIGTYPE_p_wxWindow swig_types[225] | |
2692 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[226] | |
2693 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[227] | |
2694 | #define SWIGTYPE_p_wxXPMHandler swig_types[228] | |
2695 | static swig_type_info *swig_types[230]; | |
2696 | static swig_module_info swig_module = {swig_types, 229, 0, 0, 0, 0}; | |
27e45892 RD |
2697 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2698 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2699 | ||
2700 | /* -------- TYPES TABLE (END) -------- */ | |
2701 | ||
2702 | #if (PY_VERSION_HEX <= 0x02000000) | |
2703 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2704 | # error "This python version requires to use swig with the '-classic' option" | |
2705 | # endif | |
2706 | #endif | |
2707 | #if (PY_VERSION_HEX <= 0x02020000) | |
2708 | # error "This python version requires to use swig with the '-nomodern' option" | |
2709 | #endif | |
2710 | #if (PY_VERSION_HEX <= 0x02020000) | |
2711 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2712 | #endif | |
2713 | #ifndef METH_O | |
2714 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2715 | #endif | |
2716 | ||
2717 | /*----------------------------------------------- | |
2718 | @(target):= _aui.so | |
2719 | ------------------------------------------------*/ | |
2720 | #define SWIG_init init_aui | |
2721 | ||
2722 | #define SWIG_name "_aui" | |
2723 | ||
2724 | #define SWIGVERSION 0x010329 | |
2725 | ||
2726 | ||
2727 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2728 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2729 | ||
2730 | ||
2731 | #include <stdexcept> | |
2732 | ||
2733 | ||
2734 | namespace swig { | |
2735 | class PyObject_ptr { | |
2736 | protected: | |
2737 | PyObject *_obj; | |
2738 | ||
2739 | public: | |
2740 | PyObject_ptr() :_obj(0) | |
2741 | { | |
2742 | } | |
2743 | ||
2744 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2745 | { | |
2746 | Py_XINCREF(_obj); | |
2747 | } | |
2748 | ||
2749 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2750 | { | |
2751 | if (initial_ref) Py_XINCREF(_obj); | |
2752 | } | |
2753 | ||
2754 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2755 | { | |
2756 | Py_XINCREF(item._obj); | |
2757 | Py_XDECREF(_obj); | |
2758 | _obj = item._obj; | |
2759 | return *this; | |
2760 | } | |
2761 | ||
2762 | ~PyObject_ptr() | |
2763 | { | |
2764 | Py_XDECREF(_obj); | |
2765 | } | |
2766 | ||
2767 | operator PyObject *() const | |
2768 | { | |
2769 | return _obj; | |
2770 | } | |
2771 | ||
2772 | PyObject *operator->() const | |
2773 | { | |
2774 | return _obj; | |
2775 | } | |
2776 | }; | |
2777 | } | |
2778 | ||
2779 | ||
2780 | namespace swig { | |
2781 | struct PyObject_var : PyObject_ptr { | |
2782 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2783 | ||
2784 | PyObject_var & operator = (PyObject* obj) | |
2785 | { | |
2786 | Py_XDECREF(_obj); | |
2787 | _obj = obj; | |
2788 | return *this; | |
2789 | } | |
2790 | }; | |
2791 | } | |
2792 | ||
2793 | ||
2794 | #include "wx/wxPython/wxPython.h" | |
2795 | #include "wx/wxPython/pyclasses.h" | |
2796 | #include <wx/aui/aui.h> | |
2797 | ||
2798 | ||
2799 | #define SWIG_From_long PyInt_FromLong | |
2800 | ||
2801 | ||
2802 | SWIGINTERNINLINE PyObject * | |
2803 | SWIG_From_int (int value) | |
2804 | { | |
2805 | return SWIG_From_long (value); | |
2806 | } | |
2807 | ||
2808 | ||
2809 | #include <limits.h> | |
2810 | #ifndef LLONG_MIN | |
2811 | # define LLONG_MIN LONG_LONG_MIN | |
2812 | #endif | |
2813 | #ifndef LLONG_MAX | |
2814 | # define LLONG_MAX LONG_LONG_MAX | |
2815 | #endif | |
2816 | #ifndef ULLONG_MAX | |
2817 | # define ULLONG_MAX ULONG_LONG_MAX | |
2818 | #endif | |
2819 | ||
2820 | ||
2821 | SWIGINTERN int | |
2822 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2823 | { | |
2824 | if (PyNumber_Check(obj)) { | |
2825 | if (val) *val = PyInt_AsLong(obj); | |
2826 | return SWIG_OK; | |
2827 | } | |
2828 | return SWIG_TypeError; | |
2829 | } | |
2830 | ||
2831 | ||
2832 | SWIGINTERN int | |
2833 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2834 | { | |
2835 | long v; | |
2836 | int res = SWIG_AsVal_long (obj, &v); | |
2837 | if (SWIG_IsOK(res)) { | |
2838 | if ((v < INT_MIN || v > INT_MAX)) { | |
2839 | return SWIG_OverflowError; | |
2840 | } else { | |
2841 | if (val) *val = static_cast< int >(v); | |
2842 | } | |
2843 | } | |
2844 | return res; | |
2845 | } | |
2846 | ||
2847 | ||
2848 | SWIGINTERN int | |
2849 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2850 | { | |
2851 | if (obj == Py_True) { | |
2852 | if (val) *val = true; | |
2853 | return SWIG_OK; | |
2854 | } else if (obj == Py_False) { | |
2855 | if (val) *val = false; | |
2856 | return SWIG_OK; | |
2857 | } else { | |
2858 | long v = 0; | |
2859 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2860 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2861 | return res; | |
2862 | } | |
2863 | } | |
2864 | ||
72ef6efb | 2865 | SWIGINTERN void delete_wxDockInfo(wxDockInfo *self){} |
72ef6efb | 2866 | SWIGINTERN void delete_wxDockUIPart(wxDockUIPart *self){} |
72ef6efb | 2867 | SWIGINTERN void delete_wxPaneButton(wxPaneButton *self){} |
27e45892 | 2868 | |
10044bf1 RD |
2869 | SWIGINTERN int |
2870 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2871 | { | |
2872 | long v = 0; | |
2873 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2874 | return SWIG_TypeError; | |
2875 | } | |
2876 | else if (val) | |
2877 | *val = (unsigned long)v; | |
2878 | return SWIG_OK; | |
2879 | } | |
2880 | ||
2881 | ||
2882 | SWIGINTERNINLINE int | |
2883 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2884 | { | |
2885 | unsigned long v; | |
2886 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2887 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2888 | return res; | |
2889 | } | |
2890 | ||
2891 | ||
2892 | SWIGINTERNINLINE PyObject* | |
2893 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2894 | { | |
2895 | return (value > LONG_MAX) ? | |
2896 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2897 | } | |
2898 | ||
2899 | ||
2900 | SWIGINTERNINLINE PyObject * | |
2901 | SWIG_From_size_t (size_t value) | |
2902 | { | |
2903 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2904 | } | |
2905 | ||
2906 | ||
5c8c7dd3 | 2907 | // A wxDocArt class that knows how to forward virtuals to Python methods |
27e45892 RD |
2908 | class wxPyDockArt : public wxDefaultDockArt |
2909 | { | |
2910 | wxPyDockArt() : wxDefaultDockArt() {} | |
2911 | ||
2912 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2913 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2914 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2915 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2916 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2917 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2918 | ||
2919 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2920 | wxWindow* window, |
27e45892 RD |
2921 | int orientation, |
2922 | const wxRect& rect) | |
2923 | { | |
2924 | bool found; | |
2925 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2926 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2927 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2928 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2929 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2930 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2931 | odc, owin, orientation, orect)); | |
27e45892 | 2932 | Py_DECREF(odc); |
8f514ab4 | 2933 | Py_DECREF(owin); |
27e45892 RD |
2934 | Py_DECREF(orect); |
2935 | } | |
2936 | wxPyEndBlockThreads(blocked); | |
2937 | if (! found) | |
97ab0f6a | 2938 | wxDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2939 | } |
2940 | ||
2941 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2942 | wxWindow* window, |
27e45892 RD |
2943 | int orientation, |
2944 | const wxRect& rect) | |
2945 | { | |
2946 | bool found; | |
2947 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2948 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2949 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2950 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2951 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2952 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2953 | odc, owin, orientation, orect)); | |
27e45892 | 2954 | Py_DECREF(odc); |
8f514ab4 | 2955 | Py_DECREF(owin); |
27e45892 RD |
2956 | Py_DECREF(orect); |
2957 | } | |
2958 | wxPyEndBlockThreads(blocked); | |
2959 | if (! found) | |
97ab0f6a | 2960 | wxDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2961 | } |
2962 | ||
2963 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2964 | wxWindow* window, |
27e45892 RD |
2965 | const wxString& text, |
2966 | const wxRect& rect, | |
2967 | wxPaneInfo& pane) | |
2968 | { | |
2969 | bool found; | |
2970 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2971 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2972 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2973 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2974 | PyObject* otext = wx2PyString(text); |
2975 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
2976 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
97ab0f6a RD |
2977 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2978 | odc, owin, otext, orect, opane)); | |
27e45892 | 2979 | Py_DECREF(odc); |
8f514ab4 | 2980 | Py_DECREF(owin); |
27e45892 RD |
2981 | Py_DECREF(otext); |
2982 | Py_DECREF(orect); | |
2983 | Py_DECREF(opane); | |
2984 | } | |
2985 | wxPyEndBlockThreads(blocked); | |
2986 | if (! found) | |
97ab0f6a | 2987 | wxDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
2988 | } |
2989 | ||
2990 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 2991 | wxWindow* window, |
27e45892 RD |
2992 | const wxRect& rect, |
2993 | wxPaneInfo& pane) | |
2994 | { | |
2995 | bool found; | |
2996 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2997 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
2998 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2999 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
3000 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
3001 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
97ab0f6a | 3002 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3003 | Py_DECREF(odc); |
3004 | Py_DECREF(orect); | |
3005 | Py_DECREF(opane); | |
3006 | } | |
3007 | wxPyEndBlockThreads(blocked); | |
3008 | if (! found) | |
97ab0f6a | 3009 | wxDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3010 | } |
3011 | ||
3012 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3013 | wxWindow* window, |
27e45892 RD |
3014 | const wxRect& rect, |
3015 | wxPaneInfo& pane) | |
3016 | { | |
3017 | bool found; | |
3018 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3019 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3020 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3021 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
3022 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
3023 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
3024 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); | |
3025 | Py_DECREF(odc); | |
8f514ab4 | 3026 | Py_DECREF(owin); |
27e45892 RD |
3027 | Py_DECREF(orect); |
3028 | Py_DECREF(opane); | |
3029 | } | |
3030 | wxPyEndBlockThreads(blocked); | |
3031 | if (! found) | |
97ab0f6a | 3032 | wxDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3033 | } |
3034 | ||
3035 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3036 | wxWindow* window, |
27e45892 RD |
3037 | int button, |
3038 | int button_state, | |
3039 | const wxRect& rect, | |
3040 | wxPaneInfo& pane) | |
3041 | { | |
3042 | bool found; | |
3043 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3044 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3045 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3046 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
3047 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
3048 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0); | |
97ab0f6a RD |
3049 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3050 | odc, owin, button, button_state, | |
27e45892 RD |
3051 | orect, opane)); |
3052 | Py_DECREF(odc); | |
8f514ab4 | 3053 | Py_DECREF(owin); |
27e45892 RD |
3054 | Py_DECREF(orect); |
3055 | Py_DECREF(opane); | |
3056 | } | |
3057 | wxPyEndBlockThreads(blocked); | |
3058 | if (! found) | |
97ab0f6a | 3059 | wxDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3060 | } |
3061 | ||
3062 | PYPRIVATE; | |
3063 | ||
3064 | }; | |
3065 | ||
3066 | IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric); | |
3067 | IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric); | |
3068 | IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont); | |
3069 | IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont); | |
3070 | IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour); | |
3071 | IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour); | |
3072 | ||
3073 | ||
5c8c7dd3 RD |
3074 | |
3075 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
3076 | class wxPyTabArt : public wxDefaultTabArt | |
3077 | { | |
3078 | wxPyTabArt() : wxDefaultTabArt() {} | |
3079 | ||
8f514ab4 | 3080 | |
5c8c7dd3 RD |
3081 | virtual void DrawBackground( wxDC* dc, |
3082 | const wxRect& rect ) | |
3083 | { | |
3084 | bool found; | |
3085 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3086 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
3087 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3088 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
3089 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", odc, orect)); | |
3090 | Py_DECREF(odc); | |
3091 | Py_DECREF(orect); | |
3092 | } | |
3093 | wxPyEndBlockThreads(blocked); | |
3094 | if (!found) | |
3095 | wxDefaultTabArt::DrawBackground(dc, rect); | |
3096 | } | |
3097 | ||
3098 | virtual void DrawTab( wxDC* dc, | |
3099 | const wxRect& in_rect, | |
3100 | const wxString& caption, | |
3101 | bool active, | |
3102 | wxRect* out_rect, | |
3103 | int* x_extent) | |
3104 | { | |
3105 | bool found; | |
3106 | const char* errmsg = "DrawTab should return a sequence containing (out_rect, x_extent)"; | |
3107 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3108 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
3109 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3110 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); | |
3111 | PyObject* otext = wx2PyString(caption); | |
3112 | PyObject* ro; | |
3113 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOi)", odc, orect, otext, (int)active)); | |
3114 | if (ro) { | |
3115 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3116 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3117 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3118 | if (!wxRect_helper(o1, &out_rect)) | |
3119 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3120 | else if (!PyInt_Check(o2)) | |
3121 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3122 | else | |
3123 | *x_extent = PyInt_AsLong(o2); | |
3124 | ||
3125 | Py_DECREF(o1); | |
3126 | Py_DECREF(o2); | |
3127 | } | |
3128 | else { | |
3129 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3130 | } | |
3131 | Py_DECREF(ro); | |
3132 | } | |
3133 | ||
3134 | Py_DECREF(odc); | |
3135 | Py_DECREF(orect); | |
3136 | Py_DECREF(otext); | |
3137 | } | |
3138 | wxPyEndBlockThreads(blocked); | |
3139 | if (!found) | |
3140 | wxDefaultTabArt::DrawTab(dc, in_rect, caption, active, out_rect, x_extent); | |
3141 | } | |
3142 | ||
3143 | ||
8f514ab4 RD |
3144 | virtual void DrawButton( wxDC* dc, |
3145 | const wxRect& in_rect, | |
3146 | int bitmap_id, | |
3147 | int button_state, | |
3148 | int orientation, | |
3149 | const wxBitmap& bitmap_override, | |
3150 | wxRect* out_rect) | |
3151 | { | |
3152 | bool found; | |
3153 | const char* errmsg = "DrawButton should return a wxRect"; | |
3154 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3155 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
3156 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3157 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); | |
3158 | PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0); | |
3159 | PyObject* ro; | |
3160 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOiiiO)", odc, orect, | |
3161 | bitmap_id, button_state, orientation, | |
3162 | obmp)); | |
3163 | if (ro) { | |
3164 | if (!wxRect_helper(ro, &out_rect)) | |
3165 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3166 | Py_DECREF(ro); | |
3167 | } | |
3168 | ||
3169 | Py_DECREF(odc); | |
3170 | Py_DECREF(orect); | |
3171 | Py_DECREF(obmp); | |
3172 | } | |
3173 | wxPyEndBlockThreads(blocked); | |
3174 | if (!found) | |
3175 | wxDefaultTabArt::DrawButton(dc, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect); | |
3176 | } | |
3177 | ||
3178 | ||
3179 | virtual wxSize GetTabSize( wxDC* dc, | |
3180 | const wxString& caption, | |
3181 | bool active, | |
3182 | int* x_extent) | |
3183 | { | |
3184 | bool found; | |
3185 | wxSize rv, *prv = &rv; | |
3186 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3187 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3188 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
3189 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3190 | PyObject* otext = wx2PyString(caption); | |
3191 | PyObject* ro; | |
3192 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOi)", odc, otext, (int)active)); | |
3193 | if (ro) { | |
3194 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3195 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3196 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3197 | if (!wxSize_helper(o1, &prv)) | |
3198 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3199 | else if (!PyInt_Check(o2)) | |
3200 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3201 | else | |
3202 | *x_extent = PyInt_AsLong(o2); | |
3203 | ||
3204 | Py_DECREF(o1); | |
3205 | Py_DECREF(o2); | |
3206 | } | |
3207 | else { | |
3208 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3209 | } | |
3210 | Py_DECREF(ro); | |
3211 | } | |
3212 | ||
3213 | Py_DECREF(odc); | |
3214 | Py_DECREF(otext); | |
3215 | } | |
3216 | wxPyEndBlockThreads(blocked); | |
3217 | if (!found) | |
3218 | rv = wxDefaultTabArt::GetTabSize(dc, caption, active, x_extent); | |
3219 | return rv; | |
3220 | } | |
3221 | ||
3222 | ||
3223 | ||
5c8c7dd3 RD |
3224 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3225 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3226 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
8f514ab4 | 3227 | DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3228 | |
3229 | PYPRIVATE; | |
3230 | }; | |
3231 | ||
3232 | ||
3233 | IMP_PYCALLBACK__FONT(wxPyTabArt, wxDefaultTabArt, SetNormalFont); | |
3234 | IMP_PYCALLBACK__FONT(wxPyTabArt, wxDefaultTabArt, SetSelectedFont); | |
3235 | IMP_PYCALLBACK__FONT(wxPyTabArt, wxDefaultTabArt, SetMeasuringFont); | |
8f514ab4 | 3236 | IMP_PYCALLBACK_INT_WIN(wxPyTabArt, wxDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3237 | |
27e45892 RD |
3238 | #ifdef __cplusplus |
3239 | extern "C" { | |
3240 | #endif | |
3241 | SWIGINTERN int NullDockInfo_set(PyObject *_val) { | |
3242 | { | |
3243 | void *argp = 0; | |
3244 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0); | |
3245 | if (!SWIG_IsOK(res)) { | |
3246 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'"); | |
3247 | } | |
3248 | if (!argp) { | |
3249 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'"); | |
3250 | } else { | |
3251 | wxDockInfo * temp; | |
3252 | temp = reinterpret_cast< wxDockInfo * >(argp); | |
3253 | wxNullDockInfo = *temp; | |
3254 | if (SWIG_IsNewObj(res)) delete temp; | |
3255 | } | |
3256 | } | |
3257 | return 0; | |
3258 | fail: | |
3259 | return 1; | |
3260 | } | |
3261 | ||
3262 | ||
3263 | SWIGINTERN PyObject *NullDockInfo_get(void) { | |
3264 | PyObject *pyobj = 0; | |
3265 | ||
3266 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 ); | |
3267 | return pyobj; | |
3268 | } | |
3269 | ||
3270 | ||
3271 | SWIGINTERN int NullPaneInfo_set(PyObject *_val) { | |
3272 | { | |
3273 | void *argp = 0; | |
3274 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
3275 | if (!SWIG_IsOK(res)) { | |
3276 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'"); | |
3277 | } | |
3278 | if (!argp) { | |
3279 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'"); | |
3280 | } else { | |
3281 | wxPaneInfo * temp; | |
3282 | temp = reinterpret_cast< wxPaneInfo * >(argp); | |
3283 | wxNullPaneInfo = *temp; | |
3284 | if (SWIG_IsNewObj(res)) delete temp; | |
3285 | } | |
3286 | } | |
3287 | return 0; | |
3288 | fail: | |
3289 | return 1; | |
3290 | } | |
3291 | ||
3292 | ||
3293 | SWIGINTERN PyObject *NullPaneInfo_get(void) { | |
3294 | PyObject *pyobj = 0; | |
3295 | ||
3296 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 ); | |
3297 | return pyobj; | |
3298 | } | |
3299 | ||
3300 | ||
3301 | SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3302 | PyObject *resultobj = 0; | |
3303 | wxPaneInfo *result = 0 ; | |
3304 | ||
3305 | if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail; | |
3306 | { | |
3307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3308 | result = (wxPaneInfo *)new wxPaneInfo(); | |
3309 | wxPyEndAllowThreads(__tstate); | |
3310 | if (PyErr_Occurred()) SWIG_fail; | |
3311 | } | |
3312 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 ); | |
3313 | return resultobj; | |
3314 | fail: | |
3315 | return NULL; | |
3316 | } | |
3317 | ||
3318 | ||
3319 | SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3320 | PyObject *resultobj = 0; | |
3321 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3322 | void *argp1 = 0 ; | |
3323 | int res1 = 0 ; | |
3324 | PyObject *swig_obj[1] ; | |
3325 | ||
3326 | if (!args) SWIG_fail; | |
3327 | swig_obj[0] = args; | |
3328 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
3329 | if (!SWIG_IsOK(res1)) { | |
3330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3331 | } | |
3332 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3333 | { | |
3334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3335 | delete arg1; | |
3336 | ||
3337 | wxPyEndAllowThreads(__tstate); | |
3338 | if (PyErr_Occurred()) SWIG_fail; | |
3339 | } | |
3340 | resultobj = SWIG_Py_Void(); | |
3341 | return resultobj; | |
3342 | fail: | |
3343 | return NULL; | |
3344 | } | |
3345 | ||
3346 | ||
10044bf1 RD |
3347 | SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3348 | PyObject *resultobj = 0; | |
3349 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3350 | wxPaneInfo arg2 ; | |
3351 | void *argp1 = 0 ; | |
3352 | int res1 = 0 ; | |
3353 | void *argp2 ; | |
3354 | int res2 = 0 ; | |
3355 | PyObject * obj0 = 0 ; | |
3356 | PyObject * obj1 = 0 ; | |
3357 | char * kwnames[] = { | |
3358 | (char *) "self",(char *) "source", NULL | |
3359 | }; | |
3360 | ||
3361 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; | |
3362 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3363 | if (!SWIG_IsOK(res1)) { | |
3364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
3365 | } | |
3366 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3367 | { | |
3368 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
3369 | if (!SWIG_IsOK(res2)) { | |
3370 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'"); | |
3371 | } | |
3372 | if (!argp2) { | |
3373 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'"); | |
3374 | } else { | |
3375 | wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2); | |
3376 | arg2 = *temp; | |
3377 | if (SWIG_IsNewObj(res2)) delete temp; | |
3378 | } | |
3379 | } | |
3380 | { | |
3381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3382 | (arg1)->SafeSet(arg2); | |
3383 | wxPyEndAllowThreads(__tstate); | |
3384 | if (PyErr_Occurred()) SWIG_fail; | |
3385 | } | |
3386 | resultobj = SWIG_Py_Void(); | |
3387 | return resultobj; | |
3388 | fail: | |
3389 | return NULL; | |
3390 | } | |
3391 | ||
3392 | ||
27e45892 RD |
3393 | SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3394 | PyObject *resultobj = 0; | |
3395 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3396 | bool result; | |
3397 | void *argp1 = 0 ; | |
3398 | int res1 = 0 ; | |
3399 | PyObject *swig_obj[1] ; | |
3400 | ||
3401 | if (!args) SWIG_fail; | |
3402 | swig_obj[0] = args; | |
3403 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3404 | if (!SWIG_IsOK(res1)) { | |
3405 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3406 | } | |
3407 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3408 | { | |
3409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3410 | result = (bool)((wxPaneInfo const *)arg1)->IsOk(); | |
3411 | wxPyEndAllowThreads(__tstate); | |
3412 | if (PyErr_Occurred()) SWIG_fail; | |
3413 | } | |
3414 | { | |
3415 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3416 | } | |
3417 | return resultobj; | |
3418 | fail: | |
3419 | return NULL; | |
3420 | } | |
3421 | ||
3422 | ||
3423 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3424 | PyObject *resultobj = 0; | |
3425 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3426 | bool result; | |
3427 | void *argp1 = 0 ; | |
3428 | int res1 = 0 ; | |
3429 | PyObject *swig_obj[1] ; | |
3430 | ||
3431 | if (!args) SWIG_fail; | |
3432 | swig_obj[0] = args; | |
3433 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3434 | if (!SWIG_IsOK(res1)) { | |
3435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3436 | } | |
3437 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3438 | { | |
3439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3440 | result = (bool)((wxPaneInfo const *)arg1)->IsFixed(); | |
3441 | wxPyEndAllowThreads(__tstate); | |
3442 | if (PyErr_Occurred()) SWIG_fail; | |
3443 | } | |
3444 | { | |
3445 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3446 | } | |
3447 | return resultobj; | |
3448 | fail: | |
3449 | return NULL; | |
3450 | } | |
3451 | ||
3452 | ||
3453 | SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3454 | PyObject *resultobj = 0; | |
3455 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3456 | bool result; | |
3457 | void *argp1 = 0 ; | |
3458 | int res1 = 0 ; | |
3459 | PyObject *swig_obj[1] ; | |
3460 | ||
3461 | if (!args) SWIG_fail; | |
3462 | swig_obj[0] = args; | |
3463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3464 | if (!SWIG_IsOK(res1)) { | |
3465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3466 | } | |
3467 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3468 | { | |
3469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3470 | result = (bool)((wxPaneInfo const *)arg1)->IsResizable(); | |
3471 | wxPyEndAllowThreads(__tstate); | |
3472 | if (PyErr_Occurred()) SWIG_fail; | |
3473 | } | |
3474 | { | |
3475 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3476 | } | |
3477 | return resultobj; | |
3478 | fail: | |
3479 | return NULL; | |
3480 | } | |
3481 | ||
3482 | ||
3483 | SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3484 | PyObject *resultobj = 0; | |
3485 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3486 | bool result; | |
3487 | void *argp1 = 0 ; | |
3488 | int res1 = 0 ; | |
3489 | PyObject *swig_obj[1] ; | |
3490 | ||
3491 | if (!args) SWIG_fail; | |
3492 | swig_obj[0] = args; | |
3493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3494 | if (!SWIG_IsOK(res1)) { | |
3495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3496 | } | |
3497 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3498 | { | |
3499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3500 | result = (bool)((wxPaneInfo const *)arg1)->IsShown(); | |
3501 | wxPyEndAllowThreads(__tstate); | |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
3503 | } | |
3504 | { | |
3505 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3506 | } | |
3507 | return resultobj; | |
3508 | fail: | |
3509 | return NULL; | |
3510 | } | |
3511 | ||
3512 | ||
3513 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3514 | PyObject *resultobj = 0; | |
3515 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3516 | bool result; | |
3517 | void *argp1 = 0 ; | |
3518 | int res1 = 0 ; | |
3519 | PyObject *swig_obj[1] ; | |
3520 | ||
3521 | if (!args) SWIG_fail; | |
3522 | swig_obj[0] = args; | |
3523 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3524 | if (!SWIG_IsOK(res1)) { | |
3525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3526 | } | |
3527 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3528 | { | |
3529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3530 | result = (bool)((wxPaneInfo const *)arg1)->IsFloating(); | |
3531 | wxPyEndAllowThreads(__tstate); | |
3532 | if (PyErr_Occurred()) SWIG_fail; | |
3533 | } | |
3534 | { | |
3535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3536 | } | |
3537 | return resultobj; | |
3538 | fail: | |
3539 | return NULL; | |
3540 | } | |
3541 | ||
3542 | ||
3543 | SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3544 | PyObject *resultobj = 0; | |
3545 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3546 | bool result; | |
3547 | void *argp1 = 0 ; | |
3548 | int res1 = 0 ; | |
3549 | PyObject *swig_obj[1] ; | |
3550 | ||
3551 | if (!args) SWIG_fail; | |
3552 | swig_obj[0] = args; | |
3553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3554 | if (!SWIG_IsOK(res1)) { | |
3555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3556 | } | |
3557 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3558 | { | |
3559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3560 | result = (bool)((wxPaneInfo const *)arg1)->IsDocked(); | |
3561 | wxPyEndAllowThreads(__tstate); | |
3562 | if (PyErr_Occurred()) SWIG_fail; | |
3563 | } | |
3564 | { | |
3565 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3566 | } | |
3567 | return resultobj; | |
3568 | fail: | |
3569 | return NULL; | |
3570 | } | |
3571 | ||
3572 | ||
3573 | SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3574 | PyObject *resultobj = 0; | |
3575 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3576 | bool result; | |
3577 | void *argp1 = 0 ; | |
3578 | int res1 = 0 ; | |
3579 | PyObject *swig_obj[1] ; | |
3580 | ||
3581 | if (!args) SWIG_fail; | |
3582 | swig_obj[0] = args; | |
3583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3584 | if (!SWIG_IsOK(res1)) { | |
3585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3586 | } | |
3587 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3588 | { | |
3589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3590 | result = (bool)((wxPaneInfo const *)arg1)->IsToolbar(); | |
3591 | wxPyEndAllowThreads(__tstate); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
3594 | { | |
3595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3596 | } | |
3597 | return resultobj; | |
3598 | fail: | |
3599 | return NULL; | |
3600 | } | |
3601 | ||
3602 | ||
3603 | SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3604 | PyObject *resultobj = 0; | |
3605 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3606 | bool result; | |
3607 | void *argp1 = 0 ; | |
3608 | int res1 = 0 ; | |
3609 | PyObject *swig_obj[1] ; | |
3610 | ||
3611 | if (!args) SWIG_fail; | |
3612 | swig_obj[0] = args; | |
3613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3614 | if (!SWIG_IsOK(res1)) { | |
3615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3616 | } | |
3617 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3618 | { | |
3619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3620 | result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable(); | |
3621 | wxPyEndAllowThreads(__tstate); | |
3622 | if (PyErr_Occurred()) SWIG_fail; | |
3623 | } | |
3624 | { | |
3625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3626 | } | |
3627 | return resultobj; | |
3628 | fail: | |
3629 | return NULL; | |
3630 | } | |
3631 | ||
3632 | ||
3633 | SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3634 | PyObject *resultobj = 0; | |
3635 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3636 | bool result; | |
3637 | void *argp1 = 0 ; | |
3638 | int res1 = 0 ; | |
3639 | PyObject *swig_obj[1] ; | |
3640 | ||
3641 | if (!args) SWIG_fail; | |
3642 | swig_obj[0] = args; | |
3643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3644 | if (!SWIG_IsOK(res1)) { | |
3645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3646 | } | |
3647 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3648 | { | |
3649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3650 | result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable(); | |
3651 | wxPyEndAllowThreads(__tstate); | |
3652 | if (PyErr_Occurred()) SWIG_fail; | |
3653 | } | |
3654 | { | |
3655 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3656 | } | |
3657 | return resultobj; | |
3658 | fail: | |
3659 | return NULL; | |
3660 | } | |
3661 | ||
3662 | ||
3663 | SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3664 | PyObject *resultobj = 0; | |
3665 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3666 | bool result; | |
3667 | void *argp1 = 0 ; | |
3668 | int res1 = 0 ; | |
3669 | PyObject *swig_obj[1] ; | |
3670 | ||
3671 | if (!args) SWIG_fail; | |
3672 | swig_obj[0] = args; | |
3673 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3674 | if (!SWIG_IsOK(res1)) { | |
3675 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3676 | } | |
3677 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3678 | { | |
3679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3680 | result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable(); | |
3681 | wxPyEndAllowThreads(__tstate); | |
3682 | if (PyErr_Occurred()) SWIG_fail; | |
3683 | } | |
3684 | { | |
3685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3686 | } | |
3687 | return resultobj; | |
3688 | fail: | |
3689 | return NULL; | |
3690 | } | |
3691 | ||
3692 | ||
3693 | SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3694 | PyObject *resultobj = 0; | |
3695 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3696 | bool result; | |
3697 | void *argp1 = 0 ; | |
3698 | int res1 = 0 ; | |
3699 | PyObject *swig_obj[1] ; | |
3700 | ||
3701 | if (!args) SWIG_fail; | |
3702 | swig_obj[0] = args; | |
3703 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3704 | if (!SWIG_IsOK(res1)) { | |
3705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3706 | } | |
3707 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3708 | { | |
3709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3710 | result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable(); | |
3711 | wxPyEndAllowThreads(__tstate); | |
3712 | if (PyErr_Occurred()) SWIG_fail; | |
3713 | } | |
3714 | { | |
3715 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3716 | } | |
3717 | return resultobj; | |
3718 | fail: | |
3719 | return NULL; | |
3720 | } | |
3721 | ||
3722 | ||
3723 | SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3724 | PyObject *resultobj = 0; | |
3725 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3726 | bool result; | |
3727 | void *argp1 = 0 ; | |
3728 | int res1 = 0 ; | |
3729 | PyObject *swig_obj[1] ; | |
3730 | ||
3731 | if (!args) SWIG_fail; | |
3732 | swig_obj[0] = args; | |
3733 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3734 | if (!SWIG_IsOK(res1)) { | |
3735 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3736 | } | |
3737 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3738 | { | |
3739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3740 | result = (bool)((wxPaneInfo const *)arg1)->IsFloatable(); | |
3741 | wxPyEndAllowThreads(__tstate); | |
3742 | if (PyErr_Occurred()) SWIG_fail; | |
3743 | } | |
3744 | { | |
3745 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3746 | } | |
3747 | return resultobj; | |
3748 | fail: | |
3749 | return NULL; | |
3750 | } | |
3751 | ||
3752 | ||
3753 | SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3754 | PyObject *resultobj = 0; | |
3755 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3756 | bool result; | |
3757 | void *argp1 = 0 ; | |
3758 | int res1 = 0 ; | |
3759 | PyObject *swig_obj[1] ; | |
3760 | ||
3761 | if (!args) SWIG_fail; | |
3762 | swig_obj[0] = args; | |
3763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3764 | if (!SWIG_IsOK(res1)) { | |
3765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3766 | } | |
3767 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3768 | { | |
3769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3770 | result = (bool)((wxPaneInfo const *)arg1)->IsMovable(); | |
3771 | wxPyEndAllowThreads(__tstate); | |
3772 | if (PyErr_Occurred()) SWIG_fail; | |
3773 | } | |
3774 | { | |
3775 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3776 | } | |
3777 | return resultobj; | |
3778 | fail: | |
3779 | return NULL; | |
3780 | } | |
3781 | ||
3782 | ||
9b940138 RD |
3783 | SWIGINTERN PyObject *_wrap_PaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3784 | PyObject *resultobj = 0; | |
3785 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3786 | bool result; | |
3787 | void *argp1 = 0 ; | |
3788 | int res1 = 0 ; | |
3789 | PyObject *swig_obj[1] ; | |
3790 | ||
3791 | if (!args) SWIG_fail; | |
3792 | swig_obj[0] = args; | |
3793 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3794 | if (!SWIG_IsOK(res1)) { | |
3795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3796 | } | |
3797 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3798 | { | |
3799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3800 | result = (bool)((wxPaneInfo const *)arg1)->IsDestroyOnClose(); | |
3801 | wxPyEndAllowThreads(__tstate); | |
3802 | if (PyErr_Occurred()) SWIG_fail; | |
3803 | } | |
3804 | { | |
3805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3806 | } | |
3807 | return resultobj; | |
3808 | fail: | |
3809 | return NULL; | |
3810 | } | |
3811 | ||
3812 | ||
27e45892 RD |
3813 | SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3814 | PyObject *resultobj = 0; | |
3815 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3816 | bool result; | |
3817 | void *argp1 = 0 ; | |
3818 | int res1 = 0 ; | |
3819 | PyObject *swig_obj[1] ; | |
3820 | ||
3821 | if (!args) SWIG_fail; | |
3822 | swig_obj[0] = args; | |
3823 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3824 | if (!SWIG_IsOK(res1)) { | |
3825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3826 | } | |
3827 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3828 | { | |
3829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3830 | result = (bool)((wxPaneInfo const *)arg1)->HasCaption(); | |
3831 | wxPyEndAllowThreads(__tstate); | |
3832 | if (PyErr_Occurred()) SWIG_fail; | |
3833 | } | |
3834 | { | |
3835 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3836 | } | |
3837 | return resultobj; | |
3838 | fail: | |
3839 | return NULL; | |
3840 | } | |
3841 | ||
3842 | ||
3843 | SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3844 | PyObject *resultobj = 0; | |
3845 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3846 | bool result; | |
3847 | void *argp1 = 0 ; | |
3848 | int res1 = 0 ; | |
3849 | PyObject *swig_obj[1] ; | |
3850 | ||
3851 | if (!args) SWIG_fail; | |
3852 | swig_obj[0] = args; | |
3853 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3854 | if (!SWIG_IsOK(res1)) { | |
3855 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3856 | } | |
3857 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3858 | { | |
3859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3860 | result = (bool)((wxPaneInfo const *)arg1)->HasGripper(); | |
3861 | wxPyEndAllowThreads(__tstate); | |
3862 | if (PyErr_Occurred()) SWIG_fail; | |
3863 | } | |
3864 | { | |
3865 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3866 | } | |
3867 | return resultobj; | |
3868 | fail: | |
3869 | return NULL; | |
3870 | } | |
3871 | ||
3872 | ||
3873 | SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3874 | PyObject *resultobj = 0; | |
3875 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3876 | bool result; | |
3877 | void *argp1 = 0 ; | |
3878 | int res1 = 0 ; | |
3879 | PyObject *swig_obj[1] ; | |
3880 | ||
3881 | if (!args) SWIG_fail; | |
3882 | swig_obj[0] = args; | |
3883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3884 | if (!SWIG_IsOK(res1)) { | |
3885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3886 | } | |
3887 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3888 | { | |
3889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3890 | result = (bool)((wxPaneInfo const *)arg1)->HasBorder(); | |
3891 | wxPyEndAllowThreads(__tstate); | |
3892 | if (PyErr_Occurred()) SWIG_fail; | |
3893 | } | |
3894 | { | |
3895 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3896 | } | |
3897 | return resultobj; | |
3898 | fail: | |
3899 | return NULL; | |
3900 | } | |
3901 | ||
3902 | ||
3903 | SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3904 | PyObject *resultobj = 0; | |
3905 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3906 | bool result; | |
3907 | void *argp1 = 0 ; | |
3908 | int res1 = 0 ; | |
3909 | PyObject *swig_obj[1] ; | |
3910 | ||
3911 | if (!args) SWIG_fail; | |
3912 | swig_obj[0] = args; | |
3913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3914 | if (!SWIG_IsOK(res1)) { | |
3915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3916 | } | |
3917 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3918 | { | |
3919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3920 | result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton(); | |
3921 | wxPyEndAllowThreads(__tstate); | |
3922 | if (PyErr_Occurred()) SWIG_fail; | |
3923 | } | |
3924 | { | |
3925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3926 | } | |
3927 | return resultobj; | |
3928 | fail: | |
3929 | return NULL; | |
3930 | } | |
3931 | ||
3932 | ||
3933 | SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3934 | PyObject *resultobj = 0; | |
3935 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3936 | bool result; | |
3937 | void *argp1 = 0 ; | |
3938 | int res1 = 0 ; | |
3939 | PyObject *swig_obj[1] ; | |
3940 | ||
3941 | if (!args) SWIG_fail; | |
3942 | swig_obj[0] = args; | |
3943 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3944 | if (!SWIG_IsOK(res1)) { | |
3945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3946 | } | |
3947 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3948 | { | |
3949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3950 | result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton(); | |
3951 | wxPyEndAllowThreads(__tstate); | |
3952 | if (PyErr_Occurred()) SWIG_fail; | |
3953 | } | |
3954 | { | |
3955 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3956 | } | |
3957 | return resultobj; | |
3958 | fail: | |
3959 | return NULL; | |
3960 | } | |
3961 | ||
3962 | ||
3963 | SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3964 | PyObject *resultobj = 0; | |
3965 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3966 | bool result; | |
3967 | void *argp1 = 0 ; | |
3968 | int res1 = 0 ; | |
3969 | PyObject *swig_obj[1] ; | |
3970 | ||
3971 | if (!args) SWIG_fail; | |
3972 | swig_obj[0] = args; | |
3973 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
3974 | if (!SWIG_IsOK(res1)) { | |
3975 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
3976 | } | |
3977 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
3978 | { | |
3979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3980 | result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton(); | |
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
3984 | { | |
3985 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3986 | } | |
3987 | return resultobj; | |
3988 | fail: | |
3989 | return NULL; | |
3990 | } | |
3991 | ||
3992 | ||
3993 | SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3994 | PyObject *resultobj = 0; | |
3995 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
3996 | bool result; | |
3997 | void *argp1 = 0 ; | |
3998 | int res1 = 0 ; | |
3999 | PyObject *swig_obj[1] ; | |
4000 | ||
4001 | if (!args) SWIG_fail; | |
4002 | swig_obj[0] = args; | |
4003 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4004 | if (!SWIG_IsOK(res1)) { | |
4005 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
4006 | } | |
4007 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4008 | { | |
4009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4010 | result = (bool)((wxPaneInfo const *)arg1)->HasPinButton(); | |
4011 | wxPyEndAllowThreads(__tstate); | |
4012 | if (PyErr_Occurred()) SWIG_fail; | |
4013 | } | |
4014 | { | |
4015 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4016 | } | |
4017 | return resultobj; | |
4018 | fail: | |
4019 | return NULL; | |
4020 | } | |
4021 | ||
4022 | ||
4023 | SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4024 | PyObject *resultobj = 0; | |
4025 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4026 | bool result; | |
4027 | void *argp1 = 0 ; | |
4028 | int res1 = 0 ; | |
4029 | PyObject *swig_obj[1] ; | |
4030 | ||
4031 | if (!args) SWIG_fail; | |
4032 | swig_obj[0] = args; | |
4033 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4034 | if (!SWIG_IsOK(res1)) { | |
4035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
4036 | } | |
4037 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4038 | { | |
4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4040 | result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop(); | |
4041 | wxPyEndAllowThreads(__tstate); | |
4042 | if (PyErr_Occurred()) SWIG_fail; | |
4043 | } | |
4044 | { | |
4045 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4046 | } | |
4047 | return resultobj; | |
4048 | fail: | |
4049 | return NULL; | |
4050 | } | |
4051 | ||
4052 | ||
4053 | SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4054 | PyObject *resultobj = 0; | |
4055 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4056 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4057 | wxPaneInfo *result = 0 ; | |
4058 | void *argp1 = 0 ; | |
4059 | int res1 = 0 ; | |
4060 | void *argp2 = 0 ; | |
4061 | int res2 = 0 ; | |
4062 | PyObject * obj0 = 0 ; | |
4063 | PyObject * obj1 = 0 ; | |
4064 | char * kwnames[] = { | |
4065 | (char *) "self",(char *) "w", NULL | |
4066 | }; | |
4067 | ||
4068 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; | |
4069 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4070 | if (!SWIG_IsOK(res1)) { | |
4071 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4072 | } | |
4073 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4074 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4075 | if (!SWIG_IsOK(res2)) { | |
4076 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
4077 | } | |
4078 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4079 | { | |
4080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4081 | { | |
4082 | wxPaneInfo &_result_ref = (arg1)->Window(arg2); | |
4083 | result = (wxPaneInfo *) &_result_ref; | |
4084 | } | |
4085 | wxPyEndAllowThreads(__tstate); | |
4086 | if (PyErr_Occurred()) SWIG_fail; | |
4087 | } | |
4088 | { | |
4089 | resultobj = obj0; Py_INCREF(resultobj); | |
4090 | } | |
4091 | return resultobj; | |
4092 | fail: | |
4093 | return NULL; | |
4094 | } | |
4095 | ||
4096 | ||
4097 | SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4098 | PyObject *resultobj = 0; | |
4099 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4100 | wxString *arg2 = 0 ; | |
4101 | wxPaneInfo *result = 0 ; | |
4102 | void *argp1 = 0 ; | |
4103 | int res1 = 0 ; | |
4104 | bool temp2 = false ; | |
4105 | PyObject * obj0 = 0 ; | |
4106 | PyObject * obj1 = 0 ; | |
4107 | char * kwnames[] = { | |
4108 | (char *) "self",(char *) "n", NULL | |
4109 | }; | |
4110 | ||
4111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; | |
4112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4113 | if (!SWIG_IsOK(res1)) { | |
4114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4115 | } | |
4116 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4117 | { | |
4118 | arg2 = wxString_in_helper(obj1); | |
4119 | if (arg2 == NULL) SWIG_fail; | |
4120 | temp2 = true; | |
4121 | } | |
4122 | { | |
4123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4124 | { | |
4125 | wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); | |
4126 | result = (wxPaneInfo *) &_result_ref; | |
4127 | } | |
4128 | wxPyEndAllowThreads(__tstate); | |
4129 | if (PyErr_Occurred()) SWIG_fail; | |
4130 | } | |
4131 | { | |
4132 | resultobj = obj0; Py_INCREF(resultobj); | |
4133 | } | |
4134 | { | |
4135 | if (temp2) | |
4136 | delete arg2; | |
4137 | } | |
4138 | return resultobj; | |
4139 | fail: | |
4140 | { | |
4141 | if (temp2) | |
4142 | delete arg2; | |
4143 | } | |
4144 | return NULL; | |
4145 | } | |
4146 | ||
4147 | ||
4148 | SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4149 | PyObject *resultobj = 0; | |
4150 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4151 | wxString *arg2 = 0 ; | |
4152 | wxPaneInfo *result = 0 ; | |
4153 | void *argp1 = 0 ; | |
4154 | int res1 = 0 ; | |
4155 | bool temp2 = false ; | |
4156 | PyObject * obj0 = 0 ; | |
4157 | PyObject * obj1 = 0 ; | |
4158 | char * kwnames[] = { | |
4159 | (char *) "self",(char *) "c", NULL | |
4160 | }; | |
4161 | ||
4162 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; | |
4163 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4164 | if (!SWIG_IsOK(res1)) { | |
4165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4166 | } | |
4167 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4168 | { | |
4169 | arg2 = wxString_in_helper(obj1); | |
4170 | if (arg2 == NULL) SWIG_fail; | |
4171 | temp2 = true; | |
4172 | } | |
4173 | { | |
4174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4175 | { | |
4176 | wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); | |
4177 | result = (wxPaneInfo *) &_result_ref; | |
4178 | } | |
4179 | wxPyEndAllowThreads(__tstate); | |
4180 | if (PyErr_Occurred()) SWIG_fail; | |
4181 | } | |
4182 | { | |
4183 | resultobj = obj0; Py_INCREF(resultobj); | |
4184 | } | |
4185 | { | |
4186 | if (temp2) | |
4187 | delete arg2; | |
4188 | } | |
4189 | return resultobj; | |
4190 | fail: | |
4191 | { | |
4192 | if (temp2) | |
4193 | delete arg2; | |
4194 | } | |
4195 | return NULL; | |
4196 | } | |
4197 | ||
4198 | ||
4199 | SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4200 | PyObject *resultobj = 0; | |
4201 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4202 | wxPaneInfo *result = 0 ; | |
4203 | void *argp1 = 0 ; | |
4204 | int res1 = 0 ; | |
4205 | PyObject *swig_obj[1] ; | |
4206 | ||
4207 | if (!args) SWIG_fail; | |
4208 | swig_obj[0] = args; | |
4209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4210 | if (!SWIG_IsOK(res1)) { | |
4211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4212 | } | |
4213 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4214 | { | |
4215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4216 | { | |
4217 | wxPaneInfo &_result_ref = (arg1)->Left(); | |
4218 | result = (wxPaneInfo *) &_result_ref; | |
4219 | } | |
4220 | wxPyEndAllowThreads(__tstate); | |
4221 | if (PyErr_Occurred()) SWIG_fail; | |
4222 | } | |
4223 | { | |
4224 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4225 | } | |
4226 | return resultobj; | |
4227 | fail: | |
4228 | return NULL; | |
4229 | } | |
4230 | ||
4231 | ||
4232 | SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4233 | PyObject *resultobj = 0; | |
4234 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4235 | wxPaneInfo *result = 0 ; | |
4236 | void *argp1 = 0 ; | |
4237 | int res1 = 0 ; | |
4238 | PyObject *swig_obj[1] ; | |
4239 | ||
4240 | if (!args) SWIG_fail; | |
4241 | swig_obj[0] = args; | |
4242 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4243 | if (!SWIG_IsOK(res1)) { | |
4244 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4245 | } | |
4246 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4247 | { | |
4248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4249 | { | |
4250 | wxPaneInfo &_result_ref = (arg1)->Right(); | |
4251 | result = (wxPaneInfo *) &_result_ref; | |
4252 | } | |
4253 | wxPyEndAllowThreads(__tstate); | |
4254 | if (PyErr_Occurred()) SWIG_fail; | |
4255 | } | |
4256 | { | |
4257 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4258 | } | |
4259 | return resultobj; | |
4260 | fail: | |
4261 | return NULL; | |
4262 | } | |
4263 | ||
4264 | ||
4265 | SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4266 | PyObject *resultobj = 0; | |
4267 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4268 | wxPaneInfo *result = 0 ; | |
4269 | void *argp1 = 0 ; | |
4270 | int res1 = 0 ; | |
4271 | PyObject *swig_obj[1] ; | |
4272 | ||
4273 | if (!args) SWIG_fail; | |
4274 | swig_obj[0] = args; | |
4275 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4276 | if (!SWIG_IsOK(res1)) { | |
4277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4278 | } | |
4279 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4280 | { | |
4281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4282 | { | |
4283 | wxPaneInfo &_result_ref = (arg1)->Top(); | |
4284 | result = (wxPaneInfo *) &_result_ref; | |
4285 | } | |
4286 | wxPyEndAllowThreads(__tstate); | |
4287 | if (PyErr_Occurred()) SWIG_fail; | |
4288 | } | |
4289 | { | |
4290 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4291 | } | |
4292 | return resultobj; | |
4293 | fail: | |
4294 | return NULL; | |
4295 | } | |
4296 | ||
4297 | ||
4298 | SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4299 | PyObject *resultobj = 0; | |
4300 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4301 | wxPaneInfo *result = 0 ; | |
4302 | void *argp1 = 0 ; | |
4303 | int res1 = 0 ; | |
4304 | PyObject *swig_obj[1] ; | |
4305 | ||
4306 | if (!args) SWIG_fail; | |
4307 | swig_obj[0] = args; | |
4308 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4309 | if (!SWIG_IsOK(res1)) { | |
4310 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4311 | } | |
4312 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4313 | { | |
4314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4315 | { | |
4316 | wxPaneInfo &_result_ref = (arg1)->Bottom(); | |
4317 | result = (wxPaneInfo *) &_result_ref; | |
4318 | } | |
4319 | wxPyEndAllowThreads(__tstate); | |
4320 | if (PyErr_Occurred()) SWIG_fail; | |
4321 | } | |
4322 | { | |
4323 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4324 | } | |
4325 | return resultobj; | |
4326 | fail: | |
4327 | return NULL; | |
4328 | } | |
4329 | ||
4330 | ||
4331 | SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4332 | PyObject *resultobj = 0; | |
4333 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4334 | wxPaneInfo *result = 0 ; | |
4335 | void *argp1 = 0 ; | |
4336 | int res1 = 0 ; | |
4337 | PyObject *swig_obj[1] ; | |
4338 | ||
4339 | if (!args) SWIG_fail; | |
4340 | swig_obj[0] = args; | |
4341 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4342 | if (!SWIG_IsOK(res1)) { | |
4343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4344 | } | |
4345 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4346 | { | |
4347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4348 | { | |
4349 | wxPaneInfo &_result_ref = (arg1)->Center(); | |
4350 | result = (wxPaneInfo *) &_result_ref; | |
4351 | } | |
4352 | wxPyEndAllowThreads(__tstate); | |
4353 | if (PyErr_Occurred()) SWIG_fail; | |
4354 | } | |
4355 | { | |
4356 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4357 | } | |
4358 | return resultobj; | |
4359 | fail: | |
4360 | return NULL; | |
4361 | } | |
4362 | ||
4363 | ||
4364 | SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4365 | PyObject *resultobj = 0; | |
4366 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4367 | wxPaneInfo *result = 0 ; | |
4368 | void *argp1 = 0 ; | |
4369 | int res1 = 0 ; | |
4370 | PyObject *swig_obj[1] ; | |
4371 | ||
4372 | if (!args) SWIG_fail; | |
4373 | swig_obj[0] = args; | |
4374 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4375 | if (!SWIG_IsOK(res1)) { | |
4376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4377 | } | |
4378 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4379 | { | |
4380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4381 | { | |
4382 | wxPaneInfo &_result_ref = (arg1)->Centre(); | |
4383 | result = (wxPaneInfo *) &_result_ref; | |
4384 | } | |
4385 | wxPyEndAllowThreads(__tstate); | |
4386 | if (PyErr_Occurred()) SWIG_fail; | |
4387 | } | |
4388 | { | |
4389 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4390 | } | |
4391 | return resultobj; | |
4392 | fail: | |
4393 | return NULL; | |
4394 | } | |
4395 | ||
4396 | ||
4397 | SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4398 | PyObject *resultobj = 0; | |
4399 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4400 | int arg2 ; | |
4401 | wxPaneInfo *result = 0 ; | |
4402 | void *argp1 = 0 ; | |
4403 | int res1 = 0 ; | |
4404 | int val2 ; | |
4405 | int ecode2 = 0 ; | |
4406 | PyObject * obj0 = 0 ; | |
4407 | PyObject * obj1 = 0 ; | |
4408 | char * kwnames[] = { | |
4409 | (char *) "self",(char *) "direction", NULL | |
4410 | }; | |
4411 | ||
4412 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; | |
4413 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4414 | if (!SWIG_IsOK(res1)) { | |
4415 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4416 | } | |
4417 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4418 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4419 | if (!SWIG_IsOK(ecode2)) { | |
4420 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); | |
4421 | } | |
4422 | arg2 = static_cast< int >(val2); | |
4423 | { | |
4424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4425 | { | |
4426 | wxPaneInfo &_result_ref = (arg1)->Direction(arg2); | |
4427 | result = (wxPaneInfo *) &_result_ref; | |
4428 | } | |
4429 | wxPyEndAllowThreads(__tstate); | |
4430 | if (PyErr_Occurred()) SWIG_fail; | |
4431 | } | |
4432 | { | |
4433 | resultobj = obj0; Py_INCREF(resultobj); | |
4434 | } | |
4435 | return resultobj; | |
4436 | fail: | |
4437 | return NULL; | |
4438 | } | |
4439 | ||
4440 | ||
4441 | SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4442 | PyObject *resultobj = 0; | |
4443 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4444 | int arg2 ; | |
4445 | wxPaneInfo *result = 0 ; | |
4446 | void *argp1 = 0 ; | |
4447 | int res1 = 0 ; | |
4448 | int val2 ; | |
4449 | int ecode2 = 0 ; | |
4450 | PyObject * obj0 = 0 ; | |
4451 | PyObject * obj1 = 0 ; | |
4452 | char * kwnames[] = { | |
4453 | (char *) "self",(char *) "layer", NULL | |
4454 | }; | |
4455 | ||
4456 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",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_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4460 | } | |
4461 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4462 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4463 | if (!SWIG_IsOK(ecode2)) { | |
4464 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); | |
4465 | } | |
4466 | arg2 = static_cast< int >(val2); | |
4467 | { | |
4468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4469 | { | |
4470 | wxPaneInfo &_result_ref = (arg1)->Layer(arg2); | |
4471 | result = (wxPaneInfo *) &_result_ref; | |
4472 | } | |
4473 | wxPyEndAllowThreads(__tstate); | |
4474 | if (PyErr_Occurred()) SWIG_fail; | |
4475 | } | |
4476 | { | |
4477 | resultobj = obj0; Py_INCREF(resultobj); | |
4478 | } | |
4479 | return resultobj; | |
4480 | fail: | |
4481 | return NULL; | |
4482 | } | |
4483 | ||
4484 | ||
4485 | SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4486 | PyObject *resultobj = 0; | |
4487 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4488 | int arg2 ; | |
4489 | wxPaneInfo *result = 0 ; | |
4490 | void *argp1 = 0 ; | |
4491 | int res1 = 0 ; | |
4492 | int val2 ; | |
4493 | int ecode2 = 0 ; | |
4494 | PyObject * obj0 = 0 ; | |
4495 | PyObject * obj1 = 0 ; | |
4496 | char * kwnames[] = { | |
4497 | (char *) "self",(char *) "row", NULL | |
4498 | }; | |
4499 | ||
4500 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; | |
4501 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4502 | if (!SWIG_IsOK(res1)) { | |
4503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4504 | } | |
4505 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4506 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4507 | if (!SWIG_IsOK(ecode2)) { | |
4508 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); | |
4509 | } | |
4510 | arg2 = static_cast< int >(val2); | |
4511 | { | |
4512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4513 | { | |
4514 | wxPaneInfo &_result_ref = (arg1)->Row(arg2); | |
4515 | result = (wxPaneInfo *) &_result_ref; | |
4516 | } | |
4517 | wxPyEndAllowThreads(__tstate); | |
4518 | if (PyErr_Occurred()) SWIG_fail; | |
4519 | } | |
4520 | { | |
4521 | resultobj = obj0; Py_INCREF(resultobj); | |
4522 | } | |
4523 | return resultobj; | |
4524 | fail: | |
4525 | return NULL; | |
4526 | } | |
4527 | ||
4528 | ||
4529 | SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4530 | PyObject *resultobj = 0; | |
4531 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4532 | int arg2 ; | |
4533 | wxPaneInfo *result = 0 ; | |
4534 | void *argp1 = 0 ; | |
4535 | int res1 = 0 ; | |
4536 | int val2 ; | |
4537 | int ecode2 = 0 ; | |
4538 | PyObject * obj0 = 0 ; | |
4539 | PyObject * obj1 = 0 ; | |
4540 | char * kwnames[] = { | |
4541 | (char *) "self",(char *) "pos", NULL | |
4542 | }; | |
4543 | ||
4544 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; | |
4545 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4546 | if (!SWIG_IsOK(res1)) { | |
4547 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4548 | } | |
4549 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4550 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4551 | if (!SWIG_IsOK(ecode2)) { | |
4552 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); | |
4553 | } | |
4554 | arg2 = static_cast< int >(val2); | |
4555 | { | |
4556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4557 | { | |
4558 | wxPaneInfo &_result_ref = (arg1)->Position(arg2); | |
4559 | result = (wxPaneInfo *) &_result_ref; | |
4560 | } | |
4561 | wxPyEndAllowThreads(__tstate); | |
4562 | if (PyErr_Occurred()) SWIG_fail; | |
4563 | } | |
4564 | { | |
4565 | resultobj = obj0; Py_INCREF(resultobj); | |
4566 | } | |
4567 | return resultobj; | |
4568 | fail: | |
4569 | return NULL; | |
4570 | } | |
4571 | ||
4572 | ||
4573 | SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4574 | PyObject *resultobj = 0; | |
4575 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4576 | wxSize *arg2 = 0 ; | |
4577 | wxPaneInfo *result = 0 ; | |
4578 | void *argp1 = 0 ; | |
4579 | int res1 = 0 ; | |
4580 | wxSize temp2 ; | |
4581 | PyObject * obj0 = 0 ; | |
4582 | PyObject * obj1 = 0 ; | |
4583 | char * kwnames[] = { | |
4584 | (char *) "self",(char *) "size", NULL | |
4585 | }; | |
4586 | ||
4587 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4588 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4589 | if (!SWIG_IsOK(res1)) { | |
4590 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4591 | } | |
4592 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4593 | { | |
4594 | arg2 = &temp2; | |
4595 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4596 | } | |
4597 | { | |
4598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4599 | { | |
4600 | wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); | |
4601 | result = (wxPaneInfo *) &_result_ref; | |
4602 | } | |
4603 | wxPyEndAllowThreads(__tstate); | |
4604 | if (PyErr_Occurred()) SWIG_fail; | |
4605 | } | |
4606 | { | |
4607 | resultobj = obj0; Py_INCREF(resultobj); | |
4608 | } | |
4609 | return resultobj; | |
4610 | fail: | |
4611 | return NULL; | |
4612 | } | |
4613 | ||
4614 | ||
4615 | SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4616 | PyObject *resultobj = 0; | |
4617 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4618 | wxSize *arg2 = 0 ; | |
4619 | wxPaneInfo *result = 0 ; | |
4620 | void *argp1 = 0 ; | |
4621 | int res1 = 0 ; | |
4622 | wxSize temp2 ; | |
4623 | PyObject * obj0 = 0 ; | |
4624 | PyObject * obj1 = 0 ; | |
4625 | char * kwnames[] = { | |
4626 | (char *) "self",(char *) "size", NULL | |
4627 | }; | |
4628 | ||
4629 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4630 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4631 | if (!SWIG_IsOK(res1)) { | |
4632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4633 | } | |
4634 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4635 | { | |
4636 | arg2 = &temp2; | |
4637 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4638 | } | |
4639 | { | |
4640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4641 | { | |
4642 | wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); | |
4643 | result = (wxPaneInfo *) &_result_ref; | |
4644 | } | |
4645 | wxPyEndAllowThreads(__tstate); | |
4646 | if (PyErr_Occurred()) SWIG_fail; | |
4647 | } | |
4648 | { | |
4649 | resultobj = obj0; Py_INCREF(resultobj); | |
4650 | } | |
4651 | return resultobj; | |
4652 | fail: | |
4653 | return NULL; | |
4654 | } | |
4655 | ||
4656 | ||
4657 | SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4658 | PyObject *resultobj = 0; | |
4659 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4660 | wxSize *arg2 = 0 ; | |
4661 | wxPaneInfo *result = 0 ; | |
4662 | void *argp1 = 0 ; | |
4663 | int res1 = 0 ; | |
4664 | wxSize temp2 ; | |
4665 | PyObject * obj0 = 0 ; | |
4666 | PyObject * obj1 = 0 ; | |
4667 | char * kwnames[] = { | |
4668 | (char *) "self",(char *) "size", NULL | |
4669 | }; | |
4670 | ||
4671 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4672 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4673 | if (!SWIG_IsOK(res1)) { | |
4674 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4675 | } | |
4676 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4677 | { | |
4678 | arg2 = &temp2; | |
4679 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4680 | } | |
4681 | { | |
4682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4683 | { | |
4684 | wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); | |
4685 | result = (wxPaneInfo *) &_result_ref; | |
4686 | } | |
4687 | wxPyEndAllowThreads(__tstate); | |
4688 | if (PyErr_Occurred()) SWIG_fail; | |
4689 | } | |
4690 | { | |
4691 | resultobj = obj0; Py_INCREF(resultobj); | |
4692 | } | |
4693 | return resultobj; | |
4694 | fail: | |
4695 | return NULL; | |
4696 | } | |
4697 | ||
4698 | ||
4699 | SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4700 | PyObject *resultobj = 0; | |
4701 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4702 | wxPoint *arg2 = 0 ; | |
4703 | wxPaneInfo *result = 0 ; | |
4704 | void *argp1 = 0 ; | |
4705 | int res1 = 0 ; | |
4706 | wxPoint temp2 ; | |
4707 | PyObject * obj0 = 0 ; | |
4708 | PyObject * obj1 = 0 ; | |
4709 | char * kwnames[] = { | |
4710 | (char *) "self",(char *) "pos", NULL | |
4711 | }; | |
4712 | ||
4713 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; | |
4714 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4715 | if (!SWIG_IsOK(res1)) { | |
4716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4717 | } | |
4718 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4719 | { | |
4720 | arg2 = &temp2; | |
4721 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4722 | } | |
4723 | { | |
4724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4725 | { | |
4726 | wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); | |
4727 | result = (wxPaneInfo *) &_result_ref; | |
4728 | } | |
4729 | wxPyEndAllowThreads(__tstate); | |
4730 | if (PyErr_Occurred()) SWIG_fail; | |
4731 | } | |
4732 | { | |
4733 | resultobj = obj0; Py_INCREF(resultobj); | |
4734 | } | |
4735 | return resultobj; | |
4736 | fail: | |
4737 | return NULL; | |
4738 | } | |
4739 | ||
4740 | ||
4741 | SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4742 | PyObject *resultobj = 0; | |
4743 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4744 | wxSize *arg2 = 0 ; | |
4745 | wxPaneInfo *result = 0 ; | |
4746 | void *argp1 = 0 ; | |
4747 | int res1 = 0 ; | |
4748 | wxSize temp2 ; | |
4749 | PyObject * obj0 = 0 ; | |
4750 | PyObject * obj1 = 0 ; | |
4751 | char * kwnames[] = { | |
4752 | (char *) "self",(char *) "size", NULL | |
4753 | }; | |
4754 | ||
4755 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
4756 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4757 | if (!SWIG_IsOK(res1)) { | |
4758 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4759 | } | |
4760 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4761 | { | |
4762 | arg2 = &temp2; | |
4763 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4764 | } | |
4765 | { | |
4766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4767 | { | |
4768 | wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); | |
4769 | result = (wxPaneInfo *) &_result_ref; | |
4770 | } | |
4771 | wxPyEndAllowThreads(__tstate); | |
4772 | if (PyErr_Occurred()) SWIG_fail; | |
4773 | } | |
4774 | { | |
4775 | resultobj = obj0; Py_INCREF(resultobj); | |
4776 | } | |
4777 | return resultobj; | |
4778 | fail: | |
4779 | return NULL; | |
4780 | } | |
4781 | ||
4782 | ||
4783 | SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4784 | PyObject *resultobj = 0; | |
4785 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4786 | wxPaneInfo *result = 0 ; | |
4787 | void *argp1 = 0 ; | |
4788 | int res1 = 0 ; | |
4789 | PyObject *swig_obj[1] ; | |
4790 | ||
4791 | if (!args) SWIG_fail; | |
4792 | swig_obj[0] = args; | |
4793 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4794 | if (!SWIG_IsOK(res1)) { | |
4795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4796 | } | |
4797 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4798 | { | |
4799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4800 | { | |
4801 | wxPaneInfo &_result_ref = (arg1)->Fixed(); | |
4802 | result = (wxPaneInfo *) &_result_ref; | |
4803 | } | |
4804 | wxPyEndAllowThreads(__tstate); | |
4805 | if (PyErr_Occurred()) SWIG_fail; | |
4806 | } | |
4807 | { | |
4808 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4809 | } | |
4810 | return resultobj; | |
4811 | fail: | |
4812 | return NULL; | |
4813 | } | |
4814 | ||
4815 | ||
4816 | SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4817 | PyObject *resultobj = 0; | |
4818 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4819 | bool arg2 = (bool) true ; | |
4820 | wxPaneInfo *result = 0 ; | |
4821 | void *argp1 = 0 ; | |
4822 | int res1 = 0 ; | |
4823 | bool val2 ; | |
4824 | int ecode2 = 0 ; | |
4825 | PyObject * obj0 = 0 ; | |
4826 | PyObject * obj1 = 0 ; | |
4827 | char * kwnames[] = { | |
4828 | (char *) "self",(char *) "resizable", NULL | |
4829 | }; | |
4830 | ||
4831 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; | |
4832 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4833 | if (!SWIG_IsOK(res1)) { | |
4834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4835 | } | |
4836 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4837 | if (obj1) { | |
4838 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4839 | if (!SWIG_IsOK(ecode2)) { | |
4840 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); | |
4841 | } | |
4842 | arg2 = static_cast< bool >(val2); | |
4843 | } | |
4844 | { | |
4845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4846 | { | |
4847 | wxPaneInfo &_result_ref = (arg1)->Resizable(arg2); | |
4848 | result = (wxPaneInfo *) &_result_ref; | |
4849 | } | |
4850 | wxPyEndAllowThreads(__tstate); | |
4851 | if (PyErr_Occurred()) SWIG_fail; | |
4852 | } | |
4853 | { | |
4854 | resultobj = obj0; Py_INCREF(resultobj); | |
4855 | } | |
4856 | return resultobj; | |
4857 | fail: | |
4858 | return NULL; | |
4859 | } | |
4860 | ||
4861 | ||
4862 | SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4863 | PyObject *resultobj = 0; | |
4864 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4865 | wxPaneInfo *result = 0 ; | |
4866 | void *argp1 = 0 ; | |
4867 | int res1 = 0 ; | |
4868 | PyObject *swig_obj[1] ; | |
4869 | ||
4870 | if (!args) SWIG_fail; | |
4871 | swig_obj[0] = args; | |
4872 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4873 | if (!SWIG_IsOK(res1)) { | |
4874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4875 | } | |
4876 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4877 | { | |
4878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4879 | { | |
4880 | wxPaneInfo &_result_ref = (arg1)->Dock(); | |
4881 | result = (wxPaneInfo *) &_result_ref; | |
4882 | } | |
4883 | wxPyEndAllowThreads(__tstate); | |
4884 | if (PyErr_Occurred()) SWIG_fail; | |
4885 | } | |
4886 | { | |
4887 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4888 | } | |
4889 | return resultobj; | |
4890 | fail: | |
4891 | return NULL; | |
4892 | } | |
4893 | ||
4894 | ||
4895 | SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4896 | PyObject *resultobj = 0; | |
4897 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4898 | wxPaneInfo *result = 0 ; | |
4899 | void *argp1 = 0 ; | |
4900 | int res1 = 0 ; | |
4901 | PyObject *swig_obj[1] ; | |
4902 | ||
4903 | if (!args) SWIG_fail; | |
4904 | swig_obj[0] = args; | |
4905 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4906 | if (!SWIG_IsOK(res1)) { | |
4907 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4908 | } | |
4909 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4910 | { | |
4911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4912 | { | |
4913 | wxPaneInfo &_result_ref = (arg1)->Float(); | |
4914 | result = (wxPaneInfo *) &_result_ref; | |
4915 | } | |
4916 | wxPyEndAllowThreads(__tstate); | |
4917 | if (PyErr_Occurred()) SWIG_fail; | |
4918 | } | |
4919 | { | |
4920 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4921 | } | |
4922 | return resultobj; | |
4923 | fail: | |
4924 | return NULL; | |
4925 | } | |
4926 | ||
4927 | ||
4928 | SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4929 | PyObject *resultobj = 0; | |
4930 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4931 | wxPaneInfo *result = 0 ; | |
4932 | void *argp1 = 0 ; | |
4933 | int res1 = 0 ; | |
4934 | PyObject *swig_obj[1] ; | |
4935 | ||
4936 | if (!args) SWIG_fail; | |
4937 | swig_obj[0] = args; | |
4938 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4939 | if (!SWIG_IsOK(res1)) { | |
4940 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4941 | } | |
4942 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4943 | { | |
4944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4945 | { | |
4946 | wxPaneInfo &_result_ref = (arg1)->Hide(); | |
4947 | result = (wxPaneInfo *) &_result_ref; | |
4948 | } | |
4949 | wxPyEndAllowThreads(__tstate); | |
4950 | if (PyErr_Occurred()) SWIG_fail; | |
4951 | } | |
4952 | { | |
4953 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4954 | } | |
4955 | return resultobj; | |
4956 | fail: | |
4957 | return NULL; | |
4958 | } | |
4959 | ||
4960 | ||
4961 | SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4962 | PyObject *resultobj = 0; | |
4963 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
4964 | bool arg2 = (bool) true ; | |
4965 | wxPaneInfo *result = 0 ; | |
4966 | void *argp1 = 0 ; | |
4967 | int res1 = 0 ; | |
4968 | bool val2 ; | |
4969 | int ecode2 = 0 ; | |
4970 | PyObject * obj0 = 0 ; | |
4971 | PyObject * obj1 = 0 ; | |
4972 | char * kwnames[] = { | |
4973 | (char *) "self",(char *) "show", NULL | |
4974 | }; | |
4975 | ||
4976 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; | |
4977 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
4978 | if (!SWIG_IsOK(res1)) { | |
4979 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
4980 | } | |
4981 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
4982 | if (obj1) { | |
4983 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4984 | if (!SWIG_IsOK(ecode2)) { | |
4985 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); | |
4986 | } | |
4987 | arg2 = static_cast< bool >(val2); | |
4988 | } | |
4989 | { | |
4990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4991 | { | |
4992 | wxPaneInfo &_result_ref = (arg1)->Show(arg2); | |
4993 | result = (wxPaneInfo *) &_result_ref; | |
4994 | } | |
4995 | wxPyEndAllowThreads(__tstate); | |
4996 | if (PyErr_Occurred()) SWIG_fail; | |
4997 | } | |
4998 | { | |
4999 | resultobj = obj0; Py_INCREF(resultobj); | |
5000 | } | |
5001 | return resultobj; | |
5002 | fail: | |
5003 | return NULL; | |
5004 | } | |
5005 | ||
5006 | ||
5007 | SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5008 | PyObject *resultobj = 0; | |
5009 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5010 | bool arg2 = (bool) true ; | |
5011 | wxPaneInfo *result = 0 ; | |
5012 | void *argp1 = 0 ; | |
5013 | int res1 = 0 ; | |
5014 | bool val2 ; | |
5015 | int ecode2 = 0 ; | |
5016 | PyObject * obj0 = 0 ; | |
5017 | PyObject * obj1 = 0 ; | |
5018 | char * kwnames[] = { | |
5019 | (char *) "self",(char *) "visible", NULL | |
5020 | }; | |
5021 | ||
5022 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; | |
5023 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5024 | if (!SWIG_IsOK(res1)) { | |
5025 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5026 | } | |
5027 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5028 | if (obj1) { | |
5029 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5030 | if (!SWIG_IsOK(ecode2)) { | |
5031 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); | |
5032 | } | |
5033 | arg2 = static_cast< bool >(val2); | |
5034 | } | |
5035 | { | |
5036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5037 | { | |
5038 | wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); | |
5039 | result = (wxPaneInfo *) &_result_ref; | |
5040 | } | |
5041 | wxPyEndAllowThreads(__tstate); | |
5042 | if (PyErr_Occurred()) SWIG_fail; | |
5043 | } | |
5044 | { | |
5045 | resultobj = obj0; Py_INCREF(resultobj); | |
5046 | } | |
5047 | return resultobj; | |
5048 | fail: | |
5049 | return NULL; | |
5050 | } | |
5051 | ||
5052 | ||
5053 | SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5054 | PyObject *resultobj = 0; | |
5055 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5056 | bool arg2 = (bool) true ; | |
5057 | wxPaneInfo *result = 0 ; | |
5058 | void *argp1 = 0 ; | |
5059 | int res1 = 0 ; | |
5060 | bool val2 ; | |
5061 | int ecode2 = 0 ; | |
5062 | PyObject * obj0 = 0 ; | |
5063 | PyObject * obj1 = 0 ; | |
5064 | char * kwnames[] = { | |
5065 | (char *) "self",(char *) "visible", NULL | |
5066 | }; | |
5067 | ||
5068 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; | |
5069 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5070 | if (!SWIG_IsOK(res1)) { | |
5071 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5072 | } | |
5073 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5074 | if (obj1) { | |
5075 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5076 | if (!SWIG_IsOK(ecode2)) { | |
5077 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); | |
5078 | } | |
5079 | arg2 = static_cast< bool >(val2); | |
5080 | } | |
5081 | { | |
5082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5083 | { | |
5084 | wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); | |
5085 | result = (wxPaneInfo *) &_result_ref; | |
5086 | } | |
5087 | wxPyEndAllowThreads(__tstate); | |
5088 | if (PyErr_Occurred()) SWIG_fail; | |
5089 | } | |
5090 | { | |
5091 | resultobj = obj0; Py_INCREF(resultobj); | |
5092 | } | |
5093 | return resultobj; | |
5094 | fail: | |
5095 | return NULL; | |
5096 | } | |
5097 | ||
5098 | ||
5099 | SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5100 | PyObject *resultobj = 0; | |
5101 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5102 | bool arg2 = (bool) true ; | |
5103 | wxPaneInfo *result = 0 ; | |
5104 | void *argp1 = 0 ; | |
5105 | int res1 = 0 ; | |
5106 | bool val2 ; | |
5107 | int ecode2 = 0 ; | |
5108 | PyObject * obj0 = 0 ; | |
5109 | PyObject * obj1 = 0 ; | |
5110 | char * kwnames[] = { | |
5111 | (char *) "self",(char *) "visible", NULL | |
5112 | }; | |
5113 | ||
5114 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; | |
5115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5116 | if (!SWIG_IsOK(res1)) { | |
5117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5118 | } | |
5119 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5120 | if (obj1) { | |
5121 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5122 | if (!SWIG_IsOK(ecode2)) { | |
5123 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); | |
5124 | } | |
5125 | arg2 = static_cast< bool >(val2); | |
5126 | } | |
5127 | { | |
5128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5129 | { | |
5130 | wxPaneInfo &_result_ref = (arg1)->Gripper(arg2); | |
5131 | result = (wxPaneInfo *) &_result_ref; | |
5132 | } | |
5133 | wxPyEndAllowThreads(__tstate); | |
5134 | if (PyErr_Occurred()) SWIG_fail; | |
5135 | } | |
5136 | { | |
5137 | resultobj = obj0; Py_INCREF(resultobj); | |
5138 | } | |
5139 | return resultobj; | |
5140 | fail: | |
5141 | return NULL; | |
5142 | } | |
5143 | ||
5144 | ||
5145 | SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5146 | PyObject *resultobj = 0; | |
5147 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5148 | bool arg2 = (bool) true ; | |
5149 | wxPaneInfo *result = 0 ; | |
5150 | void *argp1 = 0 ; | |
5151 | int res1 = 0 ; | |
5152 | bool val2 ; | |
5153 | int ecode2 = 0 ; | |
5154 | PyObject * obj0 = 0 ; | |
5155 | PyObject * obj1 = 0 ; | |
5156 | char * kwnames[] = { | |
5157 | (char *) "self",(char *) "attop", NULL | |
5158 | }; | |
5159 | ||
5160 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; | |
5161 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5162 | if (!SWIG_IsOK(res1)) { | |
5163 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5164 | } | |
5165 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5166 | if (obj1) { | |
5167 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5168 | if (!SWIG_IsOK(ecode2)) { | |
5169 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); | |
5170 | } | |
5171 | arg2 = static_cast< bool >(val2); | |
5172 | } | |
5173 | { | |
5174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5175 | { | |
5176 | wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2); | |
5177 | result = (wxPaneInfo *) &_result_ref; | |
5178 | } | |
5179 | wxPyEndAllowThreads(__tstate); | |
5180 | if (PyErr_Occurred()) SWIG_fail; | |
5181 | } | |
5182 | { | |
5183 | resultobj = obj0; Py_INCREF(resultobj); | |
5184 | } | |
5185 | return resultobj; | |
5186 | fail: | |
5187 | return NULL; | |
5188 | } | |
5189 | ||
5190 | ||
5191 | SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5192 | PyObject *resultobj = 0; | |
5193 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5194 | bool arg2 = (bool) true ; | |
5195 | wxPaneInfo *result = 0 ; | |
5196 | void *argp1 = 0 ; | |
5197 | int res1 = 0 ; | |
5198 | bool val2 ; | |
5199 | int ecode2 = 0 ; | |
5200 | PyObject * obj0 = 0 ; | |
5201 | PyObject * obj1 = 0 ; | |
5202 | char * kwnames[] = { | |
5203 | (char *) "self",(char *) "visible", NULL | |
5204 | }; | |
5205 | ||
5206 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5207 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5208 | if (!SWIG_IsOK(res1)) { | |
5209 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5210 | } | |
5211 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5212 | if (obj1) { | |
5213 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5214 | if (!SWIG_IsOK(ecode2)) { | |
5215 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); | |
5216 | } | |
5217 | arg2 = static_cast< bool >(val2); | |
5218 | } | |
5219 | { | |
5220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5221 | { | |
5222 | wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2); | |
5223 | result = (wxPaneInfo *) &_result_ref; | |
5224 | } | |
5225 | wxPyEndAllowThreads(__tstate); | |
5226 | if (PyErr_Occurred()) SWIG_fail; | |
5227 | } | |
5228 | { | |
5229 | resultobj = obj0; Py_INCREF(resultobj); | |
5230 | } | |
5231 | return resultobj; | |
5232 | fail: | |
5233 | return NULL; | |
5234 | } | |
5235 | ||
5236 | ||
5237 | SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5238 | PyObject *resultobj = 0; | |
5239 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5240 | bool arg2 = (bool) true ; | |
5241 | wxPaneInfo *result = 0 ; | |
5242 | void *argp1 = 0 ; | |
5243 | int res1 = 0 ; | |
5244 | bool val2 ; | |
5245 | int ecode2 = 0 ; | |
5246 | PyObject * obj0 = 0 ; | |
5247 | PyObject * obj1 = 0 ; | |
5248 | char * kwnames[] = { | |
5249 | (char *) "self",(char *) "visible", NULL | |
5250 | }; | |
5251 | ||
5252 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5253 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5254 | if (!SWIG_IsOK(res1)) { | |
5255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5256 | } | |
5257 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5258 | if (obj1) { | |
5259 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5260 | if (!SWIG_IsOK(ecode2)) { | |
5261 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); | |
5262 | } | |
5263 | arg2 = static_cast< bool >(val2); | |
5264 | } | |
5265 | { | |
5266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5267 | { | |
5268 | wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); | |
5269 | result = (wxPaneInfo *) &_result_ref; | |
5270 | } | |
5271 | wxPyEndAllowThreads(__tstate); | |
5272 | if (PyErr_Occurred()) SWIG_fail; | |
5273 | } | |
5274 | { | |
5275 | resultobj = obj0; Py_INCREF(resultobj); | |
5276 | } | |
5277 | return resultobj; | |
5278 | fail: | |
5279 | return NULL; | |
5280 | } | |
5281 | ||
5282 | ||
5283 | SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5284 | PyObject *resultobj = 0; | |
5285 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5286 | bool arg2 = (bool) true ; | |
5287 | wxPaneInfo *result = 0 ; | |
5288 | void *argp1 = 0 ; | |
5289 | int res1 = 0 ; | |
5290 | bool val2 ; | |
5291 | int ecode2 = 0 ; | |
5292 | PyObject * obj0 = 0 ; | |
5293 | PyObject * obj1 = 0 ; | |
5294 | char * kwnames[] = { | |
5295 | (char *) "self",(char *) "visible", NULL | |
5296 | }; | |
5297 | ||
5298 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5299 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5300 | if (!SWIG_IsOK(res1)) { | |
5301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5302 | } | |
5303 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5304 | if (obj1) { | |
5305 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5306 | if (!SWIG_IsOK(ecode2)) { | |
5307 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); | |
5308 | } | |
5309 | arg2 = static_cast< bool >(val2); | |
5310 | } | |
5311 | { | |
5312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5313 | { | |
5314 | wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); | |
5315 | result = (wxPaneInfo *) &_result_ref; | |
5316 | } | |
5317 | wxPyEndAllowThreads(__tstate); | |
5318 | if (PyErr_Occurred()) SWIG_fail; | |
5319 | } | |
5320 | { | |
5321 | resultobj = obj0; Py_INCREF(resultobj); | |
5322 | } | |
5323 | return resultobj; | |
5324 | fail: | |
5325 | return NULL; | |
5326 | } | |
5327 | ||
5328 | ||
5329 | SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5330 | PyObject *resultobj = 0; | |
5331 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5332 | bool arg2 = (bool) true ; | |
5333 | wxPaneInfo *result = 0 ; | |
5334 | void *argp1 = 0 ; | |
5335 | int res1 = 0 ; | |
5336 | bool val2 ; | |
5337 | int ecode2 = 0 ; | |
5338 | PyObject * obj0 = 0 ; | |
5339 | PyObject * obj1 = 0 ; | |
5340 | char * kwnames[] = { | |
5341 | (char *) "self",(char *) "visible", NULL | |
5342 | }; | |
5343 | ||
5344 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
5345 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5346 | if (!SWIG_IsOK(res1)) { | |
5347 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5348 | } | |
5349 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5350 | if (obj1) { | |
5351 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5352 | if (!SWIG_IsOK(ecode2)) { | |
5353 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); | |
5354 | } | |
5355 | arg2 = static_cast< bool >(val2); | |
5356 | } | |
5357 | { | |
5358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5359 | { | |
5360 | wxPaneInfo &_result_ref = (arg1)->PinButton(arg2); | |
5361 | result = (wxPaneInfo *) &_result_ref; | |
5362 | } | |
5363 | wxPyEndAllowThreads(__tstate); | |
5364 | if (PyErr_Occurred()) SWIG_fail; | |
5365 | } | |
5366 | { | |
5367 | resultobj = obj0; Py_INCREF(resultobj); | |
5368 | } | |
5369 | return resultobj; | |
5370 | fail: | |
5371 | return NULL; | |
5372 | } | |
5373 | ||
5374 | ||
5375 | SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5376 | PyObject *resultobj = 0; | |
5377 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5378 | bool arg2 = (bool) true ; | |
5379 | wxPaneInfo *result = 0 ; | |
5380 | void *argp1 = 0 ; | |
5381 | int res1 = 0 ; | |
5382 | bool val2 ; | |
5383 | int ecode2 = 0 ; | |
5384 | PyObject * obj0 = 0 ; | |
5385 | PyObject * obj1 = 0 ; | |
5386 | char * kwnames[] = { | |
5387 | (char *) "self",(char *) "b", NULL | |
5388 | }; | |
5389 | ||
5390 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; | |
5391 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5392 | if (!SWIG_IsOK(res1)) { | |
5393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5394 | } | |
5395 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5396 | if (obj1) { | |
5397 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5398 | if (!SWIG_IsOK(ecode2)) { | |
5399 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); | |
5400 | } | |
5401 | arg2 = static_cast< bool >(val2); | |
5402 | } | |
5403 | { | |
5404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5405 | { | |
5406 | wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); | |
5407 | result = (wxPaneInfo *) &_result_ref; | |
5408 | } | |
5409 | wxPyEndAllowThreads(__tstate); | |
5410 | if (PyErr_Occurred()) SWIG_fail; | |
5411 | } | |
5412 | { | |
5413 | resultobj = obj0; Py_INCREF(resultobj); | |
5414 | } | |
5415 | return resultobj; | |
5416 | fail: | |
5417 | return NULL; | |
5418 | } | |
5419 | ||
5420 | ||
5421 | SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5422 | PyObject *resultobj = 0; | |
5423 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5424 | bool arg2 = (bool) true ; | |
5425 | wxPaneInfo *result = 0 ; | |
5426 | void *argp1 = 0 ; | |
5427 | int res1 = 0 ; | |
5428 | bool val2 ; | |
5429 | int ecode2 = 0 ; | |
5430 | PyObject * obj0 = 0 ; | |
5431 | PyObject * obj1 = 0 ; | |
5432 | char * kwnames[] = { | |
5433 | (char *) "self",(char *) "b", NULL | |
5434 | }; | |
5435 | ||
5436 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5437 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5438 | if (!SWIG_IsOK(res1)) { | |
5439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5440 | } | |
5441 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5442 | if (obj1) { | |
5443 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5444 | if (!SWIG_IsOK(ecode2)) { | |
5445 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5446 | } | |
5447 | arg2 = static_cast< bool >(val2); | |
5448 | } | |
5449 | { | |
5450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5451 | { | |
5452 | wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2); | |
5453 | result = (wxPaneInfo *) &_result_ref; | |
5454 | } | |
5455 | wxPyEndAllowThreads(__tstate); | |
5456 | if (PyErr_Occurred()) SWIG_fail; | |
5457 | } | |
5458 | { | |
5459 | resultobj = obj0; Py_INCREF(resultobj); | |
5460 | } | |
5461 | return resultobj; | |
5462 | fail: | |
5463 | return NULL; | |
5464 | } | |
5465 | ||
5466 | ||
5467 | SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5468 | PyObject *resultobj = 0; | |
5469 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5470 | bool arg2 = (bool) true ; | |
5471 | wxPaneInfo *result = 0 ; | |
5472 | void *argp1 = 0 ; | |
5473 | int res1 = 0 ; | |
5474 | bool val2 ; | |
5475 | int ecode2 = 0 ; | |
5476 | PyObject * obj0 = 0 ; | |
5477 | PyObject * obj1 = 0 ; | |
5478 | char * kwnames[] = { | |
5479 | (char *) "self",(char *) "b", NULL | |
5480 | }; | |
5481 | ||
5482 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5483 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5484 | if (!SWIG_IsOK(res1)) { | |
5485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5486 | } | |
5487 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5488 | if (obj1) { | |
5489 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5490 | if (!SWIG_IsOK(ecode2)) { | |
5491 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5492 | } | |
5493 | arg2 = static_cast< bool >(val2); | |
5494 | } | |
5495 | { | |
5496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5497 | { | |
5498 | wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); | |
5499 | result = (wxPaneInfo *) &_result_ref; | |
5500 | } | |
5501 | wxPyEndAllowThreads(__tstate); | |
5502 | if (PyErr_Occurred()) SWIG_fail; | |
5503 | } | |
5504 | { | |
5505 | resultobj = obj0; Py_INCREF(resultobj); | |
5506 | } | |
5507 | return resultobj; | |
5508 | fail: | |
5509 | return NULL; | |
5510 | } | |
5511 | ||
5512 | ||
5513 | SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5514 | PyObject *resultobj = 0; | |
5515 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5516 | bool arg2 = (bool) true ; | |
5517 | wxPaneInfo *result = 0 ; | |
5518 | void *argp1 = 0 ; | |
5519 | int res1 = 0 ; | |
5520 | bool val2 ; | |
5521 | int ecode2 = 0 ; | |
5522 | PyObject * obj0 = 0 ; | |
5523 | PyObject * obj1 = 0 ; | |
5524 | char * kwnames[] = { | |
5525 | (char *) "self",(char *) "b", NULL | |
5526 | }; | |
5527 | ||
5528 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5529 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5530 | if (!SWIG_IsOK(res1)) { | |
5531 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5532 | } | |
5533 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5534 | if (obj1) { | |
5535 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5536 | if (!SWIG_IsOK(ecode2)) { | |
5537 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5538 | } | |
5539 | arg2 = static_cast< bool >(val2); | |
5540 | } | |
5541 | { | |
5542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5543 | { | |
5544 | wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); | |
5545 | result = (wxPaneInfo *) &_result_ref; | |
5546 | } | |
5547 | wxPyEndAllowThreads(__tstate); | |
5548 | if (PyErr_Occurred()) SWIG_fail; | |
5549 | } | |
5550 | { | |
5551 | resultobj = obj0; Py_INCREF(resultobj); | |
5552 | } | |
5553 | return resultobj; | |
5554 | fail: | |
5555 | return NULL; | |
5556 | } | |
5557 | ||
5558 | ||
5559 | SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5560 | PyObject *resultobj = 0; | |
5561 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5562 | bool arg2 = (bool) true ; | |
5563 | wxPaneInfo *result = 0 ; | |
5564 | void *argp1 = 0 ; | |
5565 | int res1 = 0 ; | |
5566 | bool val2 ; | |
5567 | int ecode2 = 0 ; | |
5568 | PyObject * obj0 = 0 ; | |
5569 | PyObject * obj1 = 0 ; | |
5570 | char * kwnames[] = { | |
5571 | (char *) "self",(char *) "b", NULL | |
5572 | }; | |
5573 | ||
5574 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5575 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5576 | if (!SWIG_IsOK(res1)) { | |
5577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5578 | } | |
5579 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5580 | if (obj1) { | |
5581 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5582 | if (!SWIG_IsOK(ecode2)) { | |
5583 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); | |
5584 | } | |
5585 | arg2 = static_cast< bool >(val2); | |
5586 | } | |
5587 | { | |
5588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5589 | { | |
5590 | wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2); | |
5591 | result = (wxPaneInfo *) &_result_ref; | |
5592 | } | |
5593 | wxPyEndAllowThreads(__tstate); | |
5594 | if (PyErr_Occurred()) SWIG_fail; | |
5595 | } | |
5596 | { | |
5597 | resultobj = obj0; Py_INCREF(resultobj); | |
5598 | } | |
5599 | return resultobj; | |
5600 | fail: | |
5601 | return NULL; | |
5602 | } | |
5603 | ||
5604 | ||
5605 | SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5606 | PyObject *resultobj = 0; | |
5607 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5608 | bool arg2 = (bool) true ; | |
5609 | wxPaneInfo *result = 0 ; | |
5610 | void *argp1 = 0 ; | |
5611 | int res1 = 0 ; | |
5612 | bool val2 ; | |
5613 | int ecode2 = 0 ; | |
5614 | PyObject * obj0 = 0 ; | |
5615 | PyObject * obj1 = 0 ; | |
5616 | char * kwnames[] = { | |
5617 | (char *) "self",(char *) "b", NULL | |
5618 | }; | |
5619 | ||
5620 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5621 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5622 | if (!SWIG_IsOK(res1)) { | |
5623 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5624 | } | |
5625 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5626 | if (obj1) { | |
5627 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5628 | if (!SWIG_IsOK(ecode2)) { | |
5629 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); | |
5630 | } | |
5631 | arg2 = static_cast< bool >(val2); | |
5632 | } | |
5633 | { | |
5634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5635 | { | |
5636 | wxPaneInfo &_result_ref = (arg1)->Floatable(arg2); | |
5637 | result = (wxPaneInfo *) &_result_ref; | |
5638 | } | |
5639 | wxPyEndAllowThreads(__tstate); | |
5640 | if (PyErr_Occurred()) SWIG_fail; | |
5641 | } | |
5642 | { | |
5643 | resultobj = obj0; Py_INCREF(resultobj); | |
5644 | } | |
5645 | return resultobj; | |
5646 | fail: | |
5647 | return NULL; | |
5648 | } | |
5649 | ||
5650 | ||
5651 | SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5652 | PyObject *resultobj = 0; | |
5653 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5654 | bool arg2 = (bool) true ; | |
5655 | wxPaneInfo *result = 0 ; | |
5656 | void *argp1 = 0 ; | |
5657 | int res1 = 0 ; | |
5658 | bool val2 ; | |
5659 | int ecode2 = 0 ; | |
5660 | PyObject * obj0 = 0 ; | |
5661 | PyObject * obj1 = 0 ; | |
5662 | char * kwnames[] = { | |
5663 | (char *) "self",(char *) "b", NULL | |
5664 | }; | |
5665 | ||
5666 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5667 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5668 | if (!SWIG_IsOK(res1)) { | |
5669 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5670 | } | |
5671 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5672 | if (obj1) { | |
5673 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5674 | if (!SWIG_IsOK(ecode2)) { | |
5675 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); | |
5676 | } | |
5677 | arg2 = static_cast< bool >(val2); | |
5678 | } | |
5679 | { | |
5680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5681 | { | |
5682 | wxPaneInfo &_result_ref = (arg1)->Movable(arg2); | |
5683 | result = (wxPaneInfo *) &_result_ref; | |
5684 | } | |
5685 | wxPyEndAllowThreads(__tstate); | |
5686 | if (PyErr_Occurred()) SWIG_fail; | |
5687 | } | |
5688 | { | |
5689 | resultobj = obj0; Py_INCREF(resultobj); | |
5690 | } | |
5691 | return resultobj; | |
5692 | fail: | |
5693 | return NULL; | |
5694 | } | |
5695 | ||
5696 | ||
5697 | SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5698 | PyObject *resultobj = 0; | |
5699 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5700 | bool arg2 = (bool) true ; | |
5701 | wxPaneInfo *result = 0 ; | |
5702 | void *argp1 = 0 ; | |
5703 | int res1 = 0 ; | |
5704 | bool val2 ; | |
5705 | int ecode2 = 0 ; | |
5706 | PyObject * obj0 = 0 ; | |
5707 | PyObject * obj1 = 0 ; | |
5708 | char * kwnames[] = { | |
5709 | (char *) "self",(char *) "b", NULL | |
5710 | }; | |
5711 | ||
5712 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; | |
5713 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5714 | if (!SWIG_IsOK(res1)) { | |
5715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5716 | } | |
5717 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5718 | if (obj1) { | |
5719 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5720 | if (!SWIG_IsOK(ecode2)) { | |
5721 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); | |
5722 | } | |
5723 | arg2 = static_cast< bool >(val2); | |
5724 | } | |
5725 | { | |
5726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5727 | { | |
5728 | wxPaneInfo &_result_ref = (arg1)->Dockable(arg2); | |
5729 | result = (wxPaneInfo *) &_result_ref; | |
5730 | } | |
5731 | wxPyEndAllowThreads(__tstate); | |
5732 | if (PyErr_Occurred()) SWIG_fail; | |
5733 | } | |
5734 | { | |
5735 | resultobj = obj0; Py_INCREF(resultobj); | |
5736 | } | |
5737 | return resultobj; | |
5738 | fail: | |
5739 | return NULL; | |
5740 | } | |
5741 | ||
5742 | ||
5743 | SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5744 | PyObject *resultobj = 0; | |
5745 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5746 | wxPaneInfo *result = 0 ; | |
5747 | void *argp1 = 0 ; | |
5748 | int res1 = 0 ; | |
5749 | PyObject *swig_obj[1] ; | |
5750 | ||
5751 | if (!args) SWIG_fail; | |
5752 | swig_obj[0] = args; | |
5753 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5754 | if (!SWIG_IsOK(res1)) { | |
5755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5756 | } | |
5757 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5758 | { | |
5759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5760 | { | |
5761 | wxPaneInfo &_result_ref = (arg1)->DefaultPane(); | |
5762 | result = (wxPaneInfo *) &_result_ref; | |
5763 | } | |
5764 | wxPyEndAllowThreads(__tstate); | |
5765 | if (PyErr_Occurred()) SWIG_fail; | |
5766 | } | |
5767 | { | |
5768 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5769 | } | |
5770 | return resultobj; | |
5771 | fail: | |
5772 | return NULL; | |
5773 | } | |
5774 | ||
5775 | ||
5776 | SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5777 | PyObject *resultobj = 0; | |
5778 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5779 | wxPaneInfo *result = 0 ; | |
5780 | void *argp1 = 0 ; | |
5781 | int res1 = 0 ; | |
5782 | PyObject *swig_obj[1] ; | |
5783 | ||
5784 | if (!args) SWIG_fail; | |
5785 | swig_obj[0] = args; | |
5786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5787 | if (!SWIG_IsOK(res1)) { | |
5788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5789 | } | |
5790 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5791 | { | |
5792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5793 | { | |
5794 | wxPaneInfo &_result_ref = (arg1)->CentrePane(); | |
5795 | result = (wxPaneInfo *) &_result_ref; | |
5796 | } | |
5797 | wxPyEndAllowThreads(__tstate); | |
5798 | if (PyErr_Occurred()) SWIG_fail; | |
5799 | } | |
5800 | { | |
5801 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5802 | } | |
5803 | return resultobj; | |
5804 | fail: | |
5805 | return NULL; | |
5806 | } | |
5807 | ||
5808 | ||
5809 | SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5810 | PyObject *resultobj = 0; | |
5811 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5812 | wxPaneInfo *result = 0 ; | |
5813 | void *argp1 = 0 ; | |
5814 | int res1 = 0 ; | |
5815 | PyObject *swig_obj[1] ; | |
5816 | ||
5817 | if (!args) SWIG_fail; | |
5818 | swig_obj[0] = args; | |
5819 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5820 | if (!SWIG_IsOK(res1)) { | |
5821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5822 | } | |
5823 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5824 | { | |
5825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5826 | { | |
5827 | wxPaneInfo &_result_ref = (arg1)->CenterPane(); | |
5828 | result = (wxPaneInfo *) &_result_ref; | |
5829 | } | |
5830 | wxPyEndAllowThreads(__tstate); | |
5831 | if (PyErr_Occurred()) SWIG_fail; | |
5832 | } | |
5833 | { | |
5834 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5835 | } | |
5836 | return resultobj; | |
5837 | fail: | |
5838 | return NULL; | |
5839 | } | |
5840 | ||
5841 | ||
5842 | SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5843 | PyObject *resultobj = 0; | |
5844 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5845 | wxPaneInfo *result = 0 ; | |
5846 | void *argp1 = 0 ; | |
5847 | int res1 = 0 ; | |
5848 | PyObject *swig_obj[1] ; | |
5849 | ||
5850 | if (!args) SWIG_fail; | |
5851 | swig_obj[0] = args; | |
5852 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5853 | if (!SWIG_IsOK(res1)) { | |
5854 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5855 | } | |
5856 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5857 | { | |
5858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5859 | { | |
5860 | wxPaneInfo &_result_ref = (arg1)->ToolbarPane(); | |
5861 | result = (wxPaneInfo *) &_result_ref; | |
5862 | } | |
5863 | wxPyEndAllowThreads(__tstate); | |
5864 | if (PyErr_Occurred()) SWIG_fail; | |
5865 | } | |
5866 | { | |
5867 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5868 | } | |
5869 | return resultobj; | |
5870 | fail: | |
5871 | return NULL; | |
5872 | } | |
5873 | ||
5874 | ||
5875 | SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5876 | PyObject *resultobj = 0; | |
5877 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5878 | int arg2 ; | |
5879 | bool arg3 ; | |
5880 | wxPaneInfo *result = 0 ; | |
5881 | void *argp1 = 0 ; | |
5882 | int res1 = 0 ; | |
5883 | int val2 ; | |
5884 | int ecode2 = 0 ; | |
5885 | bool val3 ; | |
5886 | int ecode3 = 0 ; | |
5887 | PyObject * obj0 = 0 ; | |
5888 | PyObject * obj1 = 0 ; | |
5889 | PyObject * obj2 = 0 ; | |
5890 | char * kwnames[] = { | |
5891 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
5892 | }; | |
5893 | ||
5894 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5895 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5896 | if (!SWIG_IsOK(res1)) { | |
5897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5898 | } | |
5899 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5900 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5901 | if (!SWIG_IsOK(ecode2)) { | |
5902 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); | |
5903 | } | |
5904 | arg2 = static_cast< int >(val2); | |
5905 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
5906 | if (!SWIG_IsOK(ecode3)) { | |
5907 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); | |
5908 | } | |
5909 | arg3 = static_cast< bool >(val3); | |
5910 | { | |
5911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5912 | { | |
5913 | wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); | |
5914 | result = (wxPaneInfo *) &_result_ref; | |
5915 | } | |
5916 | wxPyEndAllowThreads(__tstate); | |
5917 | if (PyErr_Occurred()) SWIG_fail; | |
5918 | } | |
5919 | { | |
5920 | resultobj = obj0; Py_INCREF(resultobj); | |
5921 | } | |
5922 | return resultobj; | |
5923 | fail: | |
5924 | return NULL; | |
5925 | } | |
5926 | ||
5927 | ||
5928 | SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5929 | PyObject *resultobj = 0; | |
5930 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5931 | int arg2 ; | |
5932 | bool result; | |
5933 | void *argp1 = 0 ; | |
5934 | int res1 = 0 ; | |
5935 | int val2 ; | |
5936 | int ecode2 = 0 ; | |
5937 | PyObject * obj0 = 0 ; | |
5938 | PyObject * obj1 = 0 ; | |
5939 | char * kwnames[] = { | |
5940 | (char *) "self",(char *) "flag", NULL | |
5941 | }; | |
5942 | ||
5943 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; | |
5944 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5945 | if (!SWIG_IsOK(res1)) { | |
5946 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'"); | |
5947 | } | |
5948 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5949 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5950 | if (!SWIG_IsOK(ecode2)) { | |
5951 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); | |
5952 | } | |
5953 | arg2 = static_cast< int >(val2); | |
5954 | { | |
5955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5956 | result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2); | |
5957 | wxPyEndAllowThreads(__tstate); | |
5958 | if (PyErr_Occurred()) SWIG_fail; | |
5959 | } | |
5960 | { | |
5961 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5962 | } | |
5963 | return resultobj; | |
5964 | fail: | |
5965 | return NULL; | |
5966 | } | |
5967 | ||
5968 | ||
5969 | SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5970 | PyObject *resultobj = 0; | |
5971 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
5972 | wxString *arg2 = (wxString *) 0 ; | |
5973 | void *argp1 = 0 ; | |
5974 | int res1 = 0 ; | |
5975 | bool temp2 = false ; | |
5976 | PyObject *swig_obj[2] ; | |
5977 | ||
5978 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail; | |
5979 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
5980 | if (!SWIG_IsOK(res1)) { | |
5981 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
5982 | } | |
5983 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
5984 | { | |
5985 | arg2 = wxString_in_helper(swig_obj[1]); | |
5986 | if (arg2 == NULL) SWIG_fail; | |
5987 | temp2 = true; | |
5988 | } | |
5989 | if (arg1) (arg1)->name = *arg2; | |
5990 | ||
5991 | resultobj = SWIG_Py_Void(); | |
5992 | { | |
5993 | if (temp2) | |
5994 | delete arg2; | |
5995 | } | |
5996 | return resultobj; | |
5997 | fail: | |
5998 | { | |
5999 | if (temp2) | |
6000 | delete arg2; | |
6001 | } | |
6002 | return NULL; | |
6003 | } | |
6004 | ||
6005 | ||
6006 | SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6007 | PyObject *resultobj = 0; | |
6008 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6009 | wxString *result = 0 ; | |
6010 | void *argp1 = 0 ; | |
6011 | int res1 = 0 ; | |
6012 | PyObject *swig_obj[1] ; | |
6013 | ||
6014 | if (!args) SWIG_fail; | |
6015 | swig_obj[0] = args; | |
6016 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6017 | if (!SWIG_IsOK(res1)) { | |
6018 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6019 | } | |
6020 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6021 | result = (wxString *)& ((arg1)->name); | |
6022 | { | |
6023 | #if wxUSE_UNICODE | |
6024 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6025 | #else | |
6026 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6027 | #endif | |
6028 | } | |
6029 | return resultobj; | |
6030 | fail: | |
6031 | return NULL; | |
6032 | } | |
6033 | ||
6034 | ||
6035 | SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6036 | PyObject *resultobj = 0; | |
6037 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6038 | wxString *arg2 = (wxString *) 0 ; | |
6039 | void *argp1 = 0 ; | |
6040 | int res1 = 0 ; | |
6041 | bool temp2 = false ; | |
6042 | PyObject *swig_obj[2] ; | |
6043 | ||
6044 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; | |
6045 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6046 | if (!SWIG_IsOK(res1)) { | |
6047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6048 | } | |
6049 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6050 | { | |
6051 | arg2 = wxString_in_helper(swig_obj[1]); | |
6052 | if (arg2 == NULL) SWIG_fail; | |
6053 | temp2 = true; | |
6054 | } | |
6055 | if (arg1) (arg1)->caption = *arg2; | |
6056 | ||
6057 | resultobj = SWIG_Py_Void(); | |
6058 | { | |
6059 | if (temp2) | |
6060 | delete arg2; | |
6061 | } | |
6062 | return resultobj; | |
6063 | fail: | |
6064 | { | |
6065 | if (temp2) | |
6066 | delete arg2; | |
6067 | } | |
6068 | return NULL; | |
6069 | } | |
6070 | ||
6071 | ||
6072 | SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6073 | PyObject *resultobj = 0; | |
6074 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6075 | wxString *result = 0 ; | |
6076 | void *argp1 = 0 ; | |
6077 | int res1 = 0 ; | |
6078 | PyObject *swig_obj[1] ; | |
6079 | ||
6080 | if (!args) SWIG_fail; | |
6081 | swig_obj[0] = args; | |
6082 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6083 | if (!SWIG_IsOK(res1)) { | |
6084 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6085 | } | |
6086 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6087 | result = (wxString *)& ((arg1)->caption); | |
6088 | { | |
6089 | #if wxUSE_UNICODE | |
6090 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6091 | #else | |
6092 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6093 | #endif | |
6094 | } | |
6095 | return resultobj; | |
6096 | fail: | |
6097 | return NULL; | |
6098 | } | |
6099 | ||
6100 | ||
6101 | SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6102 | PyObject *resultobj = 0; | |
6103 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6104 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6105 | void *argp1 = 0 ; | |
6106 | int res1 = 0 ; | |
6107 | void *argp2 = 0 ; | |
6108 | int res2 = 0 ; | |
6109 | PyObject *swig_obj[2] ; | |
6110 | ||
6111 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail; | |
6112 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6113 | if (!SWIG_IsOK(res1)) { | |
6114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6115 | } | |
6116 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6117 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
6118 | if (!SWIG_IsOK(res2)) { | |
6119 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
6120 | } | |
6121 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6122 | if (arg1) (arg1)->window = arg2; | |
6123 | ||
6124 | resultobj = SWIG_Py_Void(); | |
6125 | return resultobj; | |
6126 | fail: | |
6127 | return NULL; | |
6128 | } | |
6129 | ||
6130 | ||
6131 | SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6132 | PyObject *resultobj = 0; | |
6133 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6134 | wxWindow *result = 0 ; | |
6135 | void *argp1 = 0 ; | |
6136 | int res1 = 0 ; | |
6137 | PyObject *swig_obj[1] ; | |
6138 | ||
6139 | if (!args) SWIG_fail; | |
6140 | swig_obj[0] = args; | |
6141 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6142 | if (!SWIG_IsOK(res1)) { | |
6143 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6144 | } | |
6145 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6146 | result = (wxWindow *) ((arg1)->window); | |
6147 | { | |
6148 | resultobj = wxPyMake_wxObject(result, 0); | |
6149 | } | |
6150 | return resultobj; | |
6151 | fail: | |
6152 | return NULL; | |
6153 | } | |
6154 | ||
6155 | ||
6156 | SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6157 | PyObject *resultobj = 0; | |
6158 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
10044bf1 | 6159 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6160 | void *argp1 = 0 ; |
6161 | int res1 = 0 ; | |
6162 | void *argp2 = 0 ; | |
6163 | int res2 = 0 ; | |
6164 | PyObject *swig_obj[2] ; | |
6165 | ||
6166 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; | |
6167 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6168 | if (!SWIG_IsOK(res1)) { | |
6169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6170 | } | |
6171 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
10044bf1 | 6172 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6173 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 6174 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6175 | } |
10044bf1 | 6176 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6177 | if (arg1) (arg1)->frame = arg2; |
6178 | ||
6179 | resultobj = SWIG_Py_Void(); | |
6180 | return resultobj; | |
6181 | fail: | |
6182 | return NULL; | |
6183 | } | |
6184 | ||
6185 | ||
6186 | SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6187 | PyObject *resultobj = 0; | |
6188 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
10044bf1 | 6189 | wxFrame *result = 0 ; |
27e45892 RD |
6190 | void *argp1 = 0 ; |
6191 | int res1 = 0 ; | |
6192 | PyObject *swig_obj[1] ; | |
6193 | ||
6194 | if (!args) SWIG_fail; | |
6195 | swig_obj[0] = args; | |
6196 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6197 | if (!SWIG_IsOK(res1)) { | |
6198 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6199 | } | |
6200 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
10044bf1 | 6201 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6202 | { |
6203 | resultobj = wxPyMake_wxObject(result, 0); | |
6204 | } | |
6205 | return resultobj; | |
6206 | fail: | |
6207 | return NULL; | |
6208 | } | |
6209 | ||
6210 | ||
6211 | SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6212 | PyObject *resultobj = 0; | |
6213 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6214 | int arg2 ; | |
6215 | void *argp1 = 0 ; | |
6216 | int res1 = 0 ; | |
6217 | int val2 ; | |
6218 | int ecode2 = 0 ; | |
6219 | PyObject *swig_obj[2] ; | |
6220 | ||
6221 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail; | |
6222 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6223 | if (!SWIG_IsOK(res1)) { | |
6224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6225 | } | |
6226 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6227 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6228 | if (!SWIG_IsOK(ecode2)) { | |
6229 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); | |
6230 | } | |
6231 | arg2 = static_cast< int >(val2); | |
6232 | if (arg1) (arg1)->state = arg2; | |
6233 | ||
6234 | resultobj = SWIG_Py_Void(); | |
6235 | return resultobj; | |
6236 | fail: | |
6237 | return NULL; | |
6238 | } | |
6239 | ||
6240 | ||
6241 | SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6242 | PyObject *resultobj = 0; | |
6243 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6244 | int result; | |
6245 | void *argp1 = 0 ; | |
6246 | int res1 = 0 ; | |
6247 | PyObject *swig_obj[1] ; | |
6248 | ||
6249 | if (!args) SWIG_fail; | |
6250 | swig_obj[0] = args; | |
6251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6252 | if (!SWIG_IsOK(res1)) { | |
6253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6254 | } | |
6255 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6256 | result = (int) ((arg1)->state); | |
6257 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6258 | return resultobj; | |
6259 | fail: | |
6260 | return NULL; | |
6261 | } | |
6262 | ||
6263 | ||
6264 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6265 | PyObject *resultobj = 0; | |
6266 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6267 | int arg2 ; | |
6268 | void *argp1 = 0 ; | |
6269 | int res1 = 0 ; | |
6270 | int val2 ; | |
6271 | int ecode2 = 0 ; | |
6272 | PyObject *swig_obj[2] ; | |
6273 | ||
6274 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; | |
6275 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6276 | if (!SWIG_IsOK(res1)) { | |
6277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6278 | } | |
6279 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6280 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6281 | if (!SWIG_IsOK(ecode2)) { | |
6282 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); | |
6283 | } | |
6284 | arg2 = static_cast< int >(val2); | |
6285 | if (arg1) (arg1)->dock_direction = arg2; | |
6286 | ||
6287 | resultobj = SWIG_Py_Void(); | |
6288 | return resultobj; | |
6289 | fail: | |
6290 | return NULL; | |
6291 | } | |
6292 | ||
6293 | ||
6294 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6295 | PyObject *resultobj = 0; | |
6296 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6297 | int result; | |
6298 | void *argp1 = 0 ; | |
6299 | int res1 = 0 ; | |
6300 | PyObject *swig_obj[1] ; | |
6301 | ||
6302 | if (!args) SWIG_fail; | |
6303 | swig_obj[0] = args; | |
6304 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6305 | if (!SWIG_IsOK(res1)) { | |
6306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6307 | } | |
6308 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6309 | result = (int) ((arg1)->dock_direction); | |
6310 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6311 | return resultobj; | |
6312 | fail: | |
6313 | return NULL; | |
6314 | } | |
6315 | ||
6316 | ||
6317 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6318 | PyObject *resultobj = 0; | |
6319 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6320 | int arg2 ; | |
6321 | void *argp1 = 0 ; | |
6322 | int res1 = 0 ; | |
6323 | int val2 ; | |
6324 | int ecode2 = 0 ; | |
6325 | PyObject *swig_obj[2] ; | |
6326 | ||
6327 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; | |
6328 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6329 | if (!SWIG_IsOK(res1)) { | |
6330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6331 | } | |
6332 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6333 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6334 | if (!SWIG_IsOK(ecode2)) { | |
6335 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); | |
6336 | } | |
6337 | arg2 = static_cast< int >(val2); | |
6338 | if (arg1) (arg1)->dock_layer = arg2; | |
6339 | ||
6340 | resultobj = SWIG_Py_Void(); | |
6341 | return resultobj; | |
6342 | fail: | |
6343 | return NULL; | |
6344 | } | |
6345 | ||
6346 | ||
6347 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6348 | PyObject *resultobj = 0; | |
6349 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6350 | int result; | |
6351 | void *argp1 = 0 ; | |
6352 | int res1 = 0 ; | |
6353 | PyObject *swig_obj[1] ; | |
6354 | ||
6355 | if (!args) SWIG_fail; | |
6356 | swig_obj[0] = args; | |
6357 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6358 | if (!SWIG_IsOK(res1)) { | |
6359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6360 | } | |
6361 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6362 | result = (int) ((arg1)->dock_layer); | |
6363 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6364 | return resultobj; | |
6365 | fail: | |
6366 | return NULL; | |
6367 | } | |
6368 | ||
6369 | ||
6370 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6371 | PyObject *resultobj = 0; | |
6372 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6373 | int arg2 ; | |
6374 | void *argp1 = 0 ; | |
6375 | int res1 = 0 ; | |
6376 | int val2 ; | |
6377 | int ecode2 = 0 ; | |
6378 | PyObject *swig_obj[2] ; | |
6379 | ||
6380 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; | |
6381 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6382 | if (!SWIG_IsOK(res1)) { | |
6383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6384 | } | |
6385 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6386 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6387 | if (!SWIG_IsOK(ecode2)) { | |
6388 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); | |
6389 | } | |
6390 | arg2 = static_cast< int >(val2); | |
6391 | if (arg1) (arg1)->dock_row = arg2; | |
6392 | ||
6393 | resultobj = SWIG_Py_Void(); | |
6394 | return resultobj; | |
6395 | fail: | |
6396 | return NULL; | |
6397 | } | |
6398 | ||
6399 | ||
6400 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6401 | PyObject *resultobj = 0; | |
6402 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6403 | int result; | |
6404 | void *argp1 = 0 ; | |
6405 | int res1 = 0 ; | |
6406 | PyObject *swig_obj[1] ; | |
6407 | ||
6408 | if (!args) SWIG_fail; | |
6409 | swig_obj[0] = args; | |
6410 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6411 | if (!SWIG_IsOK(res1)) { | |
6412 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6413 | } | |
6414 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6415 | result = (int) ((arg1)->dock_row); | |
6416 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6417 | return resultobj; | |
6418 | fail: | |
6419 | return NULL; | |
6420 | } | |
6421 | ||
6422 | ||
6423 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6424 | PyObject *resultobj = 0; | |
6425 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6426 | int arg2 ; | |
6427 | void *argp1 = 0 ; | |
6428 | int res1 = 0 ; | |
6429 | int val2 ; | |
6430 | int ecode2 = 0 ; | |
6431 | PyObject *swig_obj[2] ; | |
6432 | ||
6433 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; | |
6434 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6435 | if (!SWIG_IsOK(res1)) { | |
6436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6437 | } | |
6438 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6439 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6440 | if (!SWIG_IsOK(ecode2)) { | |
6441 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); | |
6442 | } | |
6443 | arg2 = static_cast< int >(val2); | |
6444 | if (arg1) (arg1)->dock_pos = arg2; | |
6445 | ||
6446 | resultobj = SWIG_Py_Void(); | |
6447 | return resultobj; | |
6448 | fail: | |
6449 | return NULL; | |
6450 | } | |
6451 | ||
6452 | ||
6453 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6454 | PyObject *resultobj = 0; | |
6455 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6456 | int result; | |
6457 | void *argp1 = 0 ; | |
6458 | int res1 = 0 ; | |
6459 | PyObject *swig_obj[1] ; | |
6460 | ||
6461 | if (!args) SWIG_fail; | |
6462 | swig_obj[0] = args; | |
6463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6464 | if (!SWIG_IsOK(res1)) { | |
6465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6466 | } | |
6467 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6468 | result = (int) ((arg1)->dock_pos); | |
6469 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6470 | return resultobj; | |
6471 | fail: | |
6472 | return NULL; | |
6473 | } | |
6474 | ||
6475 | ||
6476 | SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6477 | PyObject *resultobj = 0; | |
6478 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6479 | wxSize *arg2 = (wxSize *) 0 ; | |
6480 | void *argp1 = 0 ; | |
6481 | int res1 = 0 ; | |
6482 | void *argp2 = 0 ; | |
6483 | int res2 = 0 ; | |
6484 | PyObject *swig_obj[2] ; | |
6485 | ||
6486 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; | |
6487 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6488 | if (!SWIG_IsOK(res1)) { | |
6489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6490 | } | |
6491 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6492 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6493 | if (!SWIG_IsOK(res2)) { | |
6494 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6495 | } | |
6496 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6497 | if (arg1) (arg1)->best_size = *arg2; | |
6498 | ||
6499 | resultobj = SWIG_Py_Void(); | |
6500 | return resultobj; | |
6501 | fail: | |
6502 | return NULL; | |
6503 | } | |
6504 | ||
6505 | ||
6506 | SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6507 | PyObject *resultobj = 0; | |
6508 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6509 | wxSize *result = 0 ; | |
6510 | void *argp1 = 0 ; | |
6511 | int res1 = 0 ; | |
6512 | PyObject *swig_obj[1] ; | |
6513 | ||
6514 | if (!args) SWIG_fail; | |
6515 | swig_obj[0] = args; | |
6516 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6517 | if (!SWIG_IsOK(res1)) { | |
6518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6519 | } | |
6520 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6521 | result = (wxSize *)& ((arg1)->best_size); | |
6522 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6523 | return resultobj; | |
6524 | fail: | |
6525 | return NULL; | |
6526 | } | |
6527 | ||
6528 | ||
6529 | SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6530 | PyObject *resultobj = 0; | |
6531 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6532 | wxSize *arg2 = (wxSize *) 0 ; | |
6533 | void *argp1 = 0 ; | |
6534 | int res1 = 0 ; | |
6535 | void *argp2 = 0 ; | |
6536 | int res2 = 0 ; | |
6537 | PyObject *swig_obj[2] ; | |
6538 | ||
6539 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; | |
6540 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6541 | if (!SWIG_IsOK(res1)) { | |
6542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6543 | } | |
6544 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6545 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6546 | if (!SWIG_IsOK(res2)) { | |
6547 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6548 | } | |
6549 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6550 | if (arg1) (arg1)->min_size = *arg2; | |
6551 | ||
6552 | resultobj = SWIG_Py_Void(); | |
6553 | return resultobj; | |
6554 | fail: | |
6555 | return NULL; | |
6556 | } | |
6557 | ||
6558 | ||
6559 | SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6560 | PyObject *resultobj = 0; | |
6561 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6562 | wxSize *result = 0 ; | |
6563 | void *argp1 = 0 ; | |
6564 | int res1 = 0 ; | |
6565 | PyObject *swig_obj[1] ; | |
6566 | ||
6567 | if (!args) SWIG_fail; | |
6568 | swig_obj[0] = args; | |
6569 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6570 | if (!SWIG_IsOK(res1)) { | |
6571 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6572 | } | |
6573 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6574 | result = (wxSize *)& ((arg1)->min_size); | |
6575 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6576 | return resultobj; | |
6577 | fail: | |
6578 | return NULL; | |
6579 | } | |
6580 | ||
6581 | ||
6582 | SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6583 | PyObject *resultobj = 0; | |
6584 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6585 | wxSize *arg2 = (wxSize *) 0 ; | |
6586 | void *argp1 = 0 ; | |
6587 | int res1 = 0 ; | |
6588 | void *argp2 = 0 ; | |
6589 | int res2 = 0 ; | |
6590 | PyObject *swig_obj[2] ; | |
6591 | ||
6592 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; | |
6593 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6594 | if (!SWIG_IsOK(res1)) { | |
6595 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6596 | } | |
6597 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6598 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6599 | if (!SWIG_IsOK(res2)) { | |
6600 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6601 | } | |
6602 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6603 | if (arg1) (arg1)->max_size = *arg2; | |
6604 | ||
6605 | resultobj = SWIG_Py_Void(); | |
6606 | return resultobj; | |
6607 | fail: | |
6608 | return NULL; | |
6609 | } | |
6610 | ||
6611 | ||
6612 | SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6613 | PyObject *resultobj = 0; | |
6614 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6615 | wxSize *result = 0 ; | |
6616 | void *argp1 = 0 ; | |
6617 | int res1 = 0 ; | |
6618 | PyObject *swig_obj[1] ; | |
6619 | ||
6620 | if (!args) SWIG_fail; | |
6621 | swig_obj[0] = args; | |
6622 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6623 | if (!SWIG_IsOK(res1)) { | |
6624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6625 | } | |
6626 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6627 | result = (wxSize *)& ((arg1)->max_size); | |
6628 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6629 | return resultobj; | |
6630 | fail: | |
6631 | return NULL; | |
6632 | } | |
6633 | ||
6634 | ||
6635 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6636 | PyObject *resultobj = 0; | |
6637 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6638 | wxPoint *arg2 = (wxPoint *) 0 ; | |
6639 | void *argp1 = 0 ; | |
6640 | int res1 = 0 ; | |
6641 | void *argp2 = 0 ; | |
6642 | int res2 = 0 ; | |
6643 | PyObject *swig_obj[2] ; | |
6644 | ||
6645 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; | |
6646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6647 | if (!SWIG_IsOK(res1)) { | |
6648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6649 | } | |
6650 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6651 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6652 | if (!SWIG_IsOK(res2)) { | |
6653 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); | |
6654 | } | |
6655 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6656 | if (arg1) (arg1)->floating_pos = *arg2; | |
6657 | ||
6658 | resultobj = SWIG_Py_Void(); | |
6659 | return resultobj; | |
6660 | fail: | |
6661 | return NULL; | |
6662 | } | |
6663 | ||
6664 | ||
6665 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6666 | PyObject *resultobj = 0; | |
6667 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6668 | wxPoint *result = 0 ; | |
6669 | void *argp1 = 0 ; | |
6670 | int res1 = 0 ; | |
6671 | PyObject *swig_obj[1] ; | |
6672 | ||
6673 | if (!args) SWIG_fail; | |
6674 | swig_obj[0] = args; | |
6675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6676 | if (!SWIG_IsOK(res1)) { | |
6677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6678 | } | |
6679 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6680 | result = (wxPoint *)& ((arg1)->floating_pos); | |
6681 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6682 | return resultobj; | |
6683 | fail: | |
6684 | return NULL; | |
6685 | } | |
6686 | ||
6687 | ||
6688 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6689 | PyObject *resultobj = 0; | |
6690 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6691 | wxSize *arg2 = (wxSize *) 0 ; | |
6692 | void *argp1 = 0 ; | |
6693 | int res1 = 0 ; | |
6694 | void *argp2 = 0 ; | |
6695 | int res2 = 0 ; | |
6696 | PyObject *swig_obj[2] ; | |
6697 | ||
6698 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; | |
6699 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6700 | if (!SWIG_IsOK(res1)) { | |
6701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6702 | } | |
6703 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6704 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); | |
6705 | if (!SWIG_IsOK(res2)) { | |
6706 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); | |
6707 | } | |
6708 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6709 | if (arg1) (arg1)->floating_size = *arg2; | |
6710 | ||
6711 | resultobj = SWIG_Py_Void(); | |
6712 | return resultobj; | |
6713 | fail: | |
6714 | return NULL; | |
6715 | } | |
6716 | ||
6717 | ||
6718 | SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6719 | PyObject *resultobj = 0; | |
6720 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6721 | wxSize *result = 0 ; | |
6722 | void *argp1 = 0 ; | |
6723 | int res1 = 0 ; | |
6724 | PyObject *swig_obj[1] ; | |
6725 | ||
6726 | if (!args) SWIG_fail; | |
6727 | swig_obj[0] = args; | |
6728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6729 | if (!SWIG_IsOK(res1)) { | |
6730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6731 | } | |
6732 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6733 | result = (wxSize *)& ((arg1)->floating_size); | |
6734 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6735 | return resultobj; | |
6736 | fail: | |
6737 | return NULL; | |
6738 | } | |
6739 | ||
6740 | ||
6741 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6742 | PyObject *resultobj = 0; | |
6743 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6744 | int arg2 ; | |
6745 | void *argp1 = 0 ; | |
6746 | int res1 = 0 ; | |
6747 | int val2 ; | |
6748 | int ecode2 = 0 ; | |
6749 | PyObject *swig_obj[2] ; | |
6750 | ||
6751 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; | |
6752 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6753 | if (!SWIG_IsOK(res1)) { | |
6754 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6755 | } | |
6756 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6757 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
6758 | if (!SWIG_IsOK(ecode2)) { | |
6759 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); | |
6760 | } | |
6761 | arg2 = static_cast< int >(val2); | |
6762 | if (arg1) (arg1)->dock_proportion = arg2; | |
6763 | ||
6764 | resultobj = SWIG_Py_Void(); | |
6765 | return resultobj; | |
6766 | fail: | |
6767 | return NULL; | |
6768 | } | |
6769 | ||
6770 | ||
6771 | SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6772 | PyObject *resultobj = 0; | |
6773 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6774 | int result; | |
6775 | void *argp1 = 0 ; | |
6776 | int res1 = 0 ; | |
6777 | PyObject *swig_obj[1] ; | |
6778 | ||
6779 | if (!args) SWIG_fail; | |
6780 | swig_obj[0] = args; | |
6781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6782 | if (!SWIG_IsOK(res1)) { | |
6783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6784 | } | |
6785 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6786 | result = (int) ((arg1)->dock_proportion); | |
6787 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6788 | return resultobj; | |
6789 | fail: | |
6790 | return NULL; | |
6791 | } | |
6792 | ||
6793 | ||
6794 | SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6795 | PyObject *resultobj = 0; | |
6796 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6797 | wxPaneButtonArray arg2 ; | |
6798 | void *argp1 = 0 ; | |
6799 | int res1 = 0 ; | |
6800 | void *argp2 ; | |
6801 | int res2 = 0 ; | |
6802 | PyObject *swig_obj[2] ; | |
6803 | ||
6804 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; | |
6805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6806 | if (!SWIG_IsOK(res1)) { | |
6807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6808 | } | |
6809 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6810 | { | |
6811 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0); | |
6812 | if (!SWIG_IsOK(res2)) { | |
6813 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'"); | |
6814 | } | |
6815 | if (!argp2) { | |
6816 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'"); | |
6817 | } else { | |
6818 | wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2); | |
6819 | arg2 = *temp; | |
6820 | if (SWIG_IsNewObj(res2)) delete temp; | |
6821 | } | |
6822 | } | |
6823 | if (arg1) (arg1)->buttons = arg2; | |
6824 | ||
6825 | resultobj = SWIG_Py_Void(); | |
6826 | return resultobj; | |
6827 | fail: | |
6828 | return NULL; | |
6829 | } | |
6830 | ||
6831 | ||
6832 | SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6833 | PyObject *resultobj = 0; | |
6834 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6835 | wxPaneButtonArray result; | |
6836 | void *argp1 = 0 ; | |
6837 | int res1 = 0 ; | |
6838 | PyObject *swig_obj[1] ; | |
6839 | ||
6840 | if (!args) SWIG_fail; | |
6841 | swig_obj[0] = args; | |
6842 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6843 | if (!SWIG_IsOK(res1)) { | |
6844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6845 | } | |
6846 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6847 | result = ((arg1)->buttons); | |
6848 | resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 ); | |
6849 | return resultobj; | |
6850 | fail: | |
6851 | return NULL; | |
6852 | } | |
6853 | ||
6854 | ||
6855 | SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6856 | PyObject *resultobj = 0; | |
6857 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6858 | wxRect *arg2 = (wxRect *) 0 ; | |
6859 | void *argp1 = 0 ; | |
6860 | int res1 = 0 ; | |
6861 | void *argp2 = 0 ; | |
6862 | int res2 = 0 ; | |
6863 | PyObject *swig_obj[2] ; | |
6864 | ||
6865 | if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; | |
6866 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6867 | if (!SWIG_IsOK(res1)) { | |
6868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6869 | } | |
6870 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6871 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
6872 | if (!SWIG_IsOK(res2)) { | |
6873 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
6874 | } | |
6875 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
6876 | if (arg1) (arg1)->rect = *arg2; | |
6877 | ||
6878 | resultobj = SWIG_Py_Void(); | |
6879 | return resultobj; | |
6880 | fail: | |
6881 | return NULL; | |
6882 | } | |
6883 | ||
6884 | ||
6885 | SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6886 | PyObject *resultobj = 0; | |
6887 | wxPaneInfo *arg1 = (wxPaneInfo *) 0 ; | |
6888 | wxRect *result = 0 ; | |
6889 | void *argp1 = 0 ; | |
6890 | int res1 = 0 ; | |
6891 | PyObject *swig_obj[1] ; | |
6892 | ||
6893 | if (!args) SWIG_fail; | |
6894 | swig_obj[0] = args; | |
6895 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
6896 | if (!SWIG_IsOK(res1)) { | |
6897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'"); | |
6898 | } | |
6899 | arg1 = reinterpret_cast< wxPaneInfo * >(argp1); | |
6900 | result = (wxRect *)& ((arg1)->rect); | |
6901 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
6902 | return resultobj; | |
6903 | fail: | |
6904 | return NULL; | |
6905 | } | |
6906 | ||
6907 | ||
6908 | SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6909 | PyObject *obj; | |
6910 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
6911 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj)); | |
6912 | return SWIG_Py_Void(); | |
6913 | } | |
6914 | ||
6915 | SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6916 | return SWIG_Python_InitShadowInstance(args); | |
6917 | } | |
6918 | ||
6919 | SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6920 | PyObject *resultobj = 0; | |
10044bf1 | 6921 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 RD |
6922 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
6923 | wxFrameManager *result = 0 ; | |
6924 | void *argp1 = 0 ; | |
6925 | int res1 = 0 ; | |
6926 | int val2 ; | |
6927 | int ecode2 = 0 ; | |
6928 | PyObject * obj0 = 0 ; | |
6929 | PyObject * obj1 = 0 ; | |
6930 | char * kwnames[] = { | |
10044bf1 | 6931 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
6932 | }; |
6933 | ||
6934 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
6935 | if (obj0) { | |
10044bf1 | 6936 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 6937 | if (!SWIG_IsOK(res1)) { |
10044bf1 | 6938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 6939 | } |
10044bf1 | 6940 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
6941 | } |
6942 | if (obj1) { | |
6943 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
6944 | if (!SWIG_IsOK(ecode2)) { | |
6945 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'"); | |
6946 | } | |
6947 | arg2 = static_cast< int >(val2); | |
6948 | } | |
6949 | { | |
6950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6951 | result = (wxFrameManager *)new wxFrameManager(arg1,arg2); | |
6952 | wxPyEndAllowThreads(__tstate); | |
6953 | if (PyErr_Occurred()) SWIG_fail; | |
6954 | } | |
6955 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 ); | |
6956 | return resultobj; | |
6957 | fail: | |
6958 | return NULL; | |
6959 | } | |
6960 | ||
6961 | ||
6962 | SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6963 | PyObject *resultobj = 0; | |
6964 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6965 | void *argp1 = 0 ; | |
6966 | int res1 = 0 ; | |
6967 | PyObject *swig_obj[1] ; | |
6968 | ||
6969 | if (!args) SWIG_fail; | |
6970 | swig_obj[0] = args; | |
6971 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 ); | |
6972 | if (!SWIG_IsOK(res1)) { | |
6973 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
6974 | } | |
6975 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
6976 | { | |
6977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6978 | delete arg1; | |
6979 | ||
6980 | wxPyEndAllowThreads(__tstate); | |
6981 | if (PyErr_Occurred()) SWIG_fail; | |
6982 | } | |
6983 | resultobj = SWIG_Py_Void(); | |
6984 | return resultobj; | |
6985 | fail: | |
6986 | return NULL; | |
6987 | } | |
6988 | ||
6989 | ||
6990 | SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
6991 | PyObject *resultobj = 0; | |
6992 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
6993 | void *argp1 = 0 ; | |
6994 | int res1 = 0 ; | |
6995 | PyObject *swig_obj[1] ; | |
6996 | ||
6997 | if (!args) SWIG_fail; | |
6998 | swig_obj[0] = args; | |
6999 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7000 | if (!SWIG_IsOK(res1)) { | |
7001 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7002 | } | |
7003 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7004 | { | |
7005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7006 | (arg1)->UnInit(); | |
7007 | wxPyEndAllowThreads(__tstate); | |
7008 | if (PyErr_Occurred()) SWIG_fail; | |
7009 | } | |
7010 | resultobj = SWIG_Py_Void(); | |
7011 | return resultobj; | |
7012 | fail: | |
7013 | return NULL; | |
7014 | } | |
7015 | ||
7016 | ||
7017 | SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7018 | PyObject *resultobj = 0; | |
7019 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7020 | int arg2 ; | |
7021 | void *argp1 = 0 ; | |
7022 | int res1 = 0 ; | |
7023 | int val2 ; | |
7024 | int ecode2 = 0 ; | |
7025 | PyObject * obj0 = 0 ; | |
7026 | PyObject * obj1 = 0 ; | |
7027 | char * kwnames[] = { | |
7028 | (char *) "self",(char *) "flags", NULL | |
7029 | }; | |
7030 | ||
7031 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
7032 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7033 | if (!SWIG_IsOK(res1)) { | |
7034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7035 | } | |
7036 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7037 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7038 | if (!SWIG_IsOK(ecode2)) { | |
7039 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
7040 | } | |
7041 | arg2 = static_cast< int >(val2); | |
7042 | { | |
7043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7044 | (arg1)->SetFlags(arg2); | |
7045 | wxPyEndAllowThreads(__tstate); | |
7046 | if (PyErr_Occurred()) SWIG_fail; | |
7047 | } | |
7048 | resultobj = SWIG_Py_Void(); | |
7049 | return resultobj; | |
7050 | fail: | |
7051 | return NULL; | |
7052 | } | |
7053 | ||
7054 | ||
7055 | SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7056 | PyObject *resultobj = 0; | |
7057 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7058 | int result; | |
7059 | void *argp1 = 0 ; | |
7060 | int res1 = 0 ; | |
7061 | PyObject *swig_obj[1] ; | |
7062 | ||
7063 | if (!args) SWIG_fail; | |
7064 | swig_obj[0] = args; | |
7065 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7066 | if (!SWIG_IsOK(res1)) { | |
7067 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); | |
7068 | } | |
7069 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7070 | { | |
7071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7072 | result = (int)((wxFrameManager const *)arg1)->GetFlags(); | |
7073 | wxPyEndAllowThreads(__tstate); | |
7074 | if (PyErr_Occurred()) SWIG_fail; | |
7075 | } | |
7076 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7077 | return resultobj; | |
7078 | fail: | |
7079 | return NULL; | |
7080 | } | |
7081 | ||
7082 | ||
10044bf1 | 7083 | SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
7084 | PyObject *resultobj = 0; |
7085 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
1d5ee749 | 7086 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7087 | void *argp1 = 0 ; |
7088 | int res1 = 0 ; | |
7089 | void *argp2 = 0 ; | |
7090 | int res2 = 0 ; | |
7091 | PyObject * obj0 = 0 ; | |
7092 | PyObject * obj1 = 0 ; | |
7093 | char * kwnames[] = { | |
10044bf1 | 7094 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7095 | }; |
7096 | ||
10044bf1 | 7097 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 RD |
7098 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
7099 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 7100 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
27e45892 RD |
7101 | } |
7102 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
1d5ee749 | 7103 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7104 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 7105 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7106 | } |
1d5ee749 | 7107 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7108 | { |
7109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7110 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7111 | wxPyEndAllowThreads(__tstate); |
7112 | if (PyErr_Occurred()) SWIG_fail; | |
7113 | } | |
7114 | resultobj = SWIG_Py_Void(); | |
7115 | return resultobj; | |
7116 | fail: | |
7117 | return NULL; | |
7118 | } | |
7119 | ||
7120 | ||
10044bf1 | 7121 | SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7122 | PyObject *resultobj = 0; |
7123 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
1d5ee749 | 7124 | wxWindow *result = 0 ; |
27e45892 RD |
7125 | void *argp1 = 0 ; |
7126 | int res1 = 0 ; | |
7127 | PyObject *swig_obj[1] ; | |
7128 | ||
7129 | if (!args) SWIG_fail; | |
7130 | swig_obj[0] = args; | |
7131 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7132 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 7133 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); |
27e45892 RD |
7134 | } |
7135 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7136 | { | |
7137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7138 | result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7139 | wxPyEndAllowThreads(__tstate); |
7140 | if (PyErr_Occurred()) SWIG_fail; | |
7141 | } | |
7142 | { | |
7143 | resultobj = wxPyMake_wxObject(result, 0); | |
7144 | } | |
7145 | return resultobj; | |
7146 | fail: | |
7147 | return NULL; | |
7148 | } | |
7149 | ||
7150 | ||
7151 | SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7152 | PyObject *resultobj = 0; | |
7153 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7154 | wxDockArt *arg2 = (wxDockArt *) 0 ; | |
7155 | void *argp1 = 0 ; | |
7156 | int res1 = 0 ; | |
7157 | int res2 = 0 ; | |
7158 | PyObject * obj0 = 0 ; | |
7159 | PyObject * obj1 = 0 ; | |
7160 | char * kwnames[] = { | |
7161 | (char *) "self",(char *) "art_provider", NULL | |
7162 | }; | |
7163 | ||
7164 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
7165 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7166 | if (!SWIG_IsOK(res1)) { | |
7167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7168 | } | |
7169 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7170 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 ); | |
7171 | if (!SWIG_IsOK(res2)) { | |
7172 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'"); | |
7173 | } | |
7174 | { | |
7175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7176 | (arg1)->SetArtProvider(arg2); | |
7177 | wxPyEndAllowThreads(__tstate); | |
7178 | if (PyErr_Occurred()) SWIG_fail; | |
7179 | } | |
7180 | resultobj = SWIG_Py_Void(); | |
7181 | return resultobj; | |
7182 | fail: | |
7183 | return NULL; | |
7184 | } | |
7185 | ||
7186 | ||
7187 | SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7188 | PyObject *resultobj = 0; | |
7189 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7190 | wxDockArt *result = 0 ; | |
7191 | void *argp1 = 0 ; | |
7192 | int res1 = 0 ; | |
7193 | PyObject *swig_obj[1] ; | |
7194 | ||
7195 | if (!args) SWIG_fail; | |
7196 | swig_obj[0] = args; | |
7197 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7198 | if (!SWIG_IsOK(res1)) { | |
7199 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'"); | |
7200 | } | |
7201 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7202 | { | |
7203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7204 | result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider(); | |
7205 | wxPyEndAllowThreads(__tstate); | |
7206 | if (PyErr_Occurred()) SWIG_fail; | |
7207 | } | |
7208 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
7209 | return resultobj; | |
7210 | fail: | |
7211 | return NULL; | |
7212 | } | |
7213 | ||
7214 | ||
7215 | SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7216 | PyObject *resultobj = 0; | |
7217 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7218 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7219 | wxPaneInfo *result = 0 ; | |
7220 | void *argp1 = 0 ; | |
7221 | int res1 = 0 ; | |
7222 | void *argp2 = 0 ; | |
7223 | int res2 = 0 ; | |
7224 | PyObject * obj0 = 0 ; | |
7225 | PyObject * obj1 = 0 ; | |
7226 | char * kwnames[] = { | |
7227 | (char *) "self",(char *) "window", NULL | |
7228 | }; | |
7229 | ||
7230 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; | |
7231 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7232 | if (!SWIG_IsOK(res1)) { | |
7233 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7234 | } | |
7235 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7236 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7237 | if (!SWIG_IsOK(res2)) { | |
7238 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7239 | } | |
7240 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7241 | { | |
7242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7243 | { | |
7244 | wxPaneInfo &_result_ref = (arg1)->GetPane(arg2); | |
7245 | result = (wxPaneInfo *) &_result_ref; | |
7246 | } | |
7247 | wxPyEndAllowThreads(__tstate); | |
7248 | if (PyErr_Occurred()) SWIG_fail; | |
7249 | } | |
7250 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7251 | return resultobj; | |
7252 | fail: | |
7253 | return NULL; | |
7254 | } | |
7255 | ||
7256 | ||
7257 | SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7258 | PyObject *resultobj = 0; | |
7259 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7260 | wxString *arg2 = 0 ; | |
7261 | wxPaneInfo *result = 0 ; | |
7262 | void *argp1 = 0 ; | |
7263 | int res1 = 0 ; | |
7264 | bool temp2 = false ; | |
7265 | PyObject * obj0 = 0 ; | |
7266 | PyObject * obj1 = 0 ; | |
7267 | char * kwnames[] = { | |
7268 | (char *) "self",(char *) "name", NULL | |
7269 | }; | |
7270 | ||
7271 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; | |
7272 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7273 | if (!SWIG_IsOK(res1)) { | |
7274 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7275 | } | |
7276 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7277 | { | |
7278 | arg2 = wxString_in_helper(obj1); | |
7279 | if (arg2 == NULL) SWIG_fail; | |
7280 | temp2 = true; | |
7281 | } | |
7282 | { | |
7283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7284 | { | |
7285 | wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); | |
7286 | result = (wxPaneInfo *) &_result_ref; | |
7287 | } | |
7288 | wxPyEndAllowThreads(__tstate); | |
7289 | if (PyErr_Occurred()) SWIG_fail; | |
7290 | } | |
7291 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
7292 | { | |
7293 | if (temp2) | |
7294 | delete arg2; | |
7295 | } | |
7296 | return resultobj; | |
7297 | fail: | |
7298 | { | |
7299 | if (temp2) | |
7300 | delete arg2; | |
7301 | } | |
7302 | return NULL; | |
7303 | } | |
7304 | ||
7305 | ||
7306 | SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7307 | PyObject *resultobj = 0; | |
7308 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7309 | wxPaneInfoArray *result = 0 ; | |
7310 | void *argp1 = 0 ; | |
7311 | int res1 = 0 ; | |
7312 | PyObject *swig_obj[1] ; | |
7313 | ||
7314 | if (!args) SWIG_fail; | |
7315 | swig_obj[0] = args; | |
7316 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7317 | if (!SWIG_IsOK(res1)) { | |
7318 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7319 | } | |
7320 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7321 | { | |
7322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7323 | { | |
7324 | wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); | |
7325 | result = (wxPaneInfoArray *) &_result_ref; | |
7326 | } | |
7327 | wxPyEndAllowThreads(__tstate); | |
7328 | if (PyErr_Occurred()) SWIG_fail; | |
7329 | } | |
7330 | { | |
7331 | resultobj = PyList_New(0); | |
7332 | for (size_t i=0; i < result->GetCount(); i++) { | |
7333 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0); | |
7334 | PyList_Append(resultobj, pane_obj); | |
7335 | } | |
7336 | } | |
7337 | return resultobj; | |
7338 | fail: | |
7339 | return NULL; | |
7340 | } | |
7341 | ||
7342 | ||
7343 | SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7344 | PyObject *resultobj = 0; | |
7345 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7346 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7347 | wxPaneInfo *arg3 = 0 ; | |
7348 | bool result; | |
7349 | void *argp1 = 0 ; | |
7350 | int res1 = 0 ; | |
7351 | void *argp2 = 0 ; | |
7352 | int res2 = 0 ; | |
7353 | void *argp3 = 0 ; | |
7354 | int res3 = 0 ; | |
7355 | PyObject * obj0 = 0 ; | |
7356 | PyObject * obj1 = 0 ; | |
7357 | PyObject * obj2 = 0 ; | |
7358 | char * kwnames[] = { | |
7359 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7360 | }; | |
7361 | ||
7362 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7363 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7364 | if (!SWIG_IsOK(res1)) { | |
7365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7366 | } | |
7367 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7368 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7369 | if (!SWIG_IsOK(res2)) { | |
7370 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7371 | } | |
7372 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7373 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7374 | if (!SWIG_IsOK(res3)) { | |
7375 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7376 | } | |
7377 | if (!argp3) { | |
7378 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7379 | } | |
7380 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7381 | { | |
7382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7383 | result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3); | |
7384 | wxPyEndAllowThreads(__tstate); | |
7385 | if (PyErr_Occurred()) SWIG_fail; | |
7386 | } | |
7387 | { | |
7388 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7389 | } | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | return NULL; | |
7393 | } | |
7394 | ||
7395 | ||
10044bf1 RD |
7396 | SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7397 | PyObject *resultobj = 0; | |
7398 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7399 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7400 | wxPaneInfo *arg3 = 0 ; | |
7401 | wxPoint *arg4 = 0 ; | |
7402 | bool result; | |
7403 | void *argp1 = 0 ; | |
7404 | int res1 = 0 ; | |
7405 | void *argp2 = 0 ; | |
7406 | int res2 = 0 ; | |
7407 | void *argp3 = 0 ; | |
7408 | int res3 = 0 ; | |
7409 | wxPoint temp4 ; | |
7410 | PyObject * obj0 = 0 ; | |
7411 | PyObject * obj1 = 0 ; | |
7412 | PyObject * obj2 = 0 ; | |
7413 | PyObject * obj3 = 0 ; | |
7414 | char * kwnames[] = { | |
7415 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7416 | }; | |
7417 | ||
7418 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7419 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7420 | if (!SWIG_IsOK(res1)) { | |
7421 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7422 | } | |
7423 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7424 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7425 | if (!SWIG_IsOK(res2)) { | |
7426 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7427 | } | |
7428 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7429 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7430 | if (!SWIG_IsOK(res3)) { | |
7431 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7432 | } | |
7433 | if (!argp3) { | |
7434 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7435 | } | |
7436 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7437 | { | |
7438 | arg4 = &temp4; | |
7439 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7440 | } | |
7441 | { | |
7442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7443 | result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4); | |
7444 | wxPyEndAllowThreads(__tstate); | |
7445 | if (PyErr_Occurred()) SWIG_fail; | |
7446 | } | |
7447 | { | |
7448 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7449 | } | |
7450 | return resultobj; | |
7451 | fail: | |
7452 | return NULL; | |
7453 | } | |
7454 | ||
7455 | ||
27e45892 RD |
7456 | SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7457 | PyObject *resultobj = 0; | |
7458 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7459 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7460 | int arg3 = (int) wxLEFT ; | |
7461 | wxString const &arg4_defvalue = wxEmptyString ; | |
7462 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7463 | bool result; | |
7464 | void *argp1 = 0 ; | |
7465 | int res1 = 0 ; | |
7466 | void *argp2 = 0 ; | |
7467 | int res2 = 0 ; | |
7468 | int val3 ; | |
7469 | int ecode3 = 0 ; | |
7470 | bool temp4 = false ; | |
7471 | PyObject * obj0 = 0 ; | |
7472 | PyObject * obj1 = 0 ; | |
7473 | PyObject * obj2 = 0 ; | |
7474 | PyObject * obj3 = 0 ; | |
7475 | char * kwnames[] = { | |
7476 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7477 | }; | |
7478 | ||
7479 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7480 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7481 | if (!SWIG_IsOK(res1)) { | |
7482 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7483 | } | |
7484 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7485 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7486 | if (!SWIG_IsOK(res2)) { | |
7487 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7488 | } | |
7489 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7490 | if (obj2) { | |
7491 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7492 | if (!SWIG_IsOK(ecode3)) { | |
7493 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); | |
7494 | } | |
7495 | arg3 = static_cast< int >(val3); | |
7496 | } | |
7497 | if (obj3) { | |
7498 | { | |
7499 | arg4 = wxString_in_helper(obj3); | |
7500 | if (arg4 == NULL) SWIG_fail; | |
7501 | temp4 = true; | |
7502 | } | |
7503 | } | |
7504 | { | |
7505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7506 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7507 | wxPyEndAllowThreads(__tstate); | |
7508 | if (PyErr_Occurred()) SWIG_fail; | |
7509 | } | |
7510 | { | |
7511 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7512 | } | |
7513 | { | |
7514 | if (temp4) | |
7515 | delete arg4; | |
7516 | } | |
7517 | return resultobj; | |
7518 | fail: | |
7519 | { | |
7520 | if (temp4) | |
7521 | delete arg4; | |
7522 | } | |
7523 | return NULL; | |
7524 | } | |
7525 | ||
7526 | ||
7527 | SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7528 | PyObject *resultobj = 0; | |
7529 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7530 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7531 | wxPaneInfo *arg3 = 0 ; | |
7532 | int arg4 = (int) wxAUI_INSERT_PANE ; | |
7533 | bool result; | |
7534 | void *argp1 = 0 ; | |
7535 | int res1 = 0 ; | |
7536 | void *argp2 = 0 ; | |
7537 | int res2 = 0 ; | |
7538 | void *argp3 = 0 ; | |
7539 | int res3 = 0 ; | |
7540 | int val4 ; | |
7541 | int ecode4 = 0 ; | |
7542 | PyObject * obj0 = 0 ; | |
7543 | PyObject * obj1 = 0 ; | |
7544 | PyObject * obj2 = 0 ; | |
7545 | PyObject * obj3 = 0 ; | |
7546 | char * kwnames[] = { | |
7547 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7548 | }; | |
7549 | ||
7550 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7551 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7552 | if (!SWIG_IsOK(res1)) { | |
7553 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7554 | } | |
7555 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7556 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7557 | if (!SWIG_IsOK(res2)) { | |
7558 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7559 | } | |
7560 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7561 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7562 | if (!SWIG_IsOK(res3)) { | |
7563 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7564 | } | |
7565 | if (!argp3) { | |
7566 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7567 | } | |
7568 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7569 | if (obj3) { | |
7570 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7571 | if (!SWIG_IsOK(ecode4)) { | |
7572 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); | |
7573 | } | |
7574 | arg4 = static_cast< int >(val4); | |
7575 | } | |
7576 | { | |
7577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7578 | result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4); | |
7579 | wxPyEndAllowThreads(__tstate); | |
7580 | if (PyErr_Occurred()) SWIG_fail; | |
7581 | } | |
7582 | { | |
7583 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7584 | } | |
7585 | return resultobj; | |
7586 | fail: | |
7587 | return NULL; | |
7588 | } | |
7589 | ||
7590 | ||
7591 | SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7592 | PyObject *resultobj = 0; | |
7593 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7594 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7595 | bool result; | |
7596 | void *argp1 = 0 ; | |
7597 | int res1 = 0 ; | |
7598 | void *argp2 = 0 ; | |
7599 | int res2 = 0 ; | |
7600 | PyObject * obj0 = 0 ; | |
7601 | PyObject * obj1 = 0 ; | |
7602 | char * kwnames[] = { | |
7603 | (char *) "self",(char *) "window", NULL | |
7604 | }; | |
7605 | ||
7606 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7607 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7608 | if (!SWIG_IsOK(res1)) { | |
7609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7610 | } | |
7611 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7612 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7613 | if (!SWIG_IsOK(res2)) { | |
7614 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7615 | } | |
7616 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7617 | { | |
7618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7619 | result = (bool)(arg1)->DetachPane(arg2); | |
7620 | wxPyEndAllowThreads(__tstate); | |
7621 | if (PyErr_Occurred()) SWIG_fail; | |
7622 | } | |
7623 | { | |
7624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7625 | } | |
7626 | return resultobj; | |
7627 | fail: | |
7628 | return NULL; | |
7629 | } | |
7630 | ||
7631 | ||
9b940138 RD |
7632 | SWIGINTERN PyObject *_wrap_FrameManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7633 | PyObject *resultobj = 0; | |
7634 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7635 | wxPaneInfo *arg2 = 0 ; | |
7636 | void *argp1 = 0 ; | |
7637 | int res1 = 0 ; | |
7638 | void *argp2 = 0 ; | |
7639 | int res2 = 0 ; | |
7640 | PyObject * obj0 = 0 ; | |
7641 | PyObject * obj1 = 0 ; | |
7642 | char * kwnames[] = { | |
7643 | (char *) "self",(char *) "pane_info", NULL | |
7644 | }; | |
7645 | ||
7646 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7647 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7648 | if (!SWIG_IsOK(res1)) { | |
7649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ClosePane" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7650 | } | |
7651 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7652 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7653 | if (!SWIG_IsOK(res2)) { | |
7654 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_ClosePane" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7655 | } | |
7656 | if (!argp2) { | |
7657 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_ClosePane" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7658 | } | |
7659 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
7660 | { | |
7661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7662 | (arg1)->ClosePane(*arg2); | |
7663 | wxPyEndAllowThreads(__tstate); | |
7664 | if (PyErr_Occurred()) SWIG_fail; | |
7665 | } | |
7666 | resultobj = SWIG_Py_Void(); | |
7667 | return resultobj; | |
7668 | fail: | |
7669 | return NULL; | |
7670 | } | |
7671 | ||
7672 | ||
10044bf1 RD |
7673 | SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7674 | PyObject *resultobj = 0; | |
7675 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7676 | wxPaneInfo *arg2 = 0 ; | |
7677 | wxString result; | |
7678 | void *argp1 = 0 ; | |
7679 | int res1 = 0 ; | |
7680 | void *argp2 = 0 ; | |
7681 | int res2 = 0 ; | |
7682 | PyObject * obj0 = 0 ; | |
7683 | PyObject * obj1 = 0 ; | |
7684 | char * kwnames[] = { | |
7685 | (char *) "self",(char *) "pane", NULL | |
7686 | }; | |
7687 | ||
7688 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
7689 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7690 | if (!SWIG_IsOK(res1)) { | |
7691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7692 | } | |
7693 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7694 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7695 | if (!SWIG_IsOK(res2)) { | |
7696 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7697 | } | |
7698 | if (!argp2) { | |
7699 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'"); | |
7700 | } | |
7701 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
7702 | { | |
7703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7704 | result = (arg1)->SavePaneInfo(*arg2); | |
7705 | wxPyEndAllowThreads(__tstate); | |
7706 | if (PyErr_Occurred()) SWIG_fail; | |
7707 | } | |
7708 | { | |
7709 | #if wxUSE_UNICODE | |
7710 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7711 | #else | |
7712 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7713 | #endif | |
7714 | } | |
7715 | return resultobj; | |
7716 | fail: | |
7717 | return NULL; | |
7718 | } | |
7719 | ||
7720 | ||
7721 | SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7722 | PyObject *resultobj = 0; | |
7723 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7724 | wxString arg2 ; | |
7725 | wxPaneInfo *arg3 = 0 ; | |
7726 | void *argp1 = 0 ; | |
7727 | int res1 = 0 ; | |
7728 | void *argp3 = 0 ; | |
7729 | int res3 = 0 ; | |
7730 | PyObject * obj0 = 0 ; | |
7731 | PyObject * obj1 = 0 ; | |
7732 | PyObject * obj2 = 0 ; | |
7733 | char * kwnames[] = { | |
7734 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7735 | }; | |
7736 | ||
7737 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7738 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7739 | if (!SWIG_IsOK(res1)) { | |
7740 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7741 | } | |
7742 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7743 | { | |
7744 | wxString* sptr = wxString_in_helper(obj1); | |
7745 | if (sptr == NULL) SWIG_fail; | |
7746 | arg2 = *sptr; | |
7747 | delete sptr; | |
7748 | } | |
7749 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 ); | |
7750 | if (!SWIG_IsOK(res3)) { | |
7751 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'"); | |
7752 | } | |
7753 | if (!argp3) { | |
7754 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'"); | |
7755 | } | |
7756 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7757 | { | |
7758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7759 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7760 | wxPyEndAllowThreads(__tstate); | |
7761 | if (PyErr_Occurred()) SWIG_fail; | |
7762 | } | |
7763 | resultobj = SWIG_Py_Void(); | |
7764 | return resultobj; | |
7765 | fail: | |
7766 | return NULL; | |
7767 | } | |
7768 | ||
7769 | ||
27e45892 RD |
7770 | SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
7771 | PyObject *resultobj = 0; | |
7772 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7773 | wxString result; | |
7774 | void *argp1 = 0 ; | |
7775 | int res1 = 0 ; | |
7776 | PyObject *swig_obj[1] ; | |
7777 | ||
7778 | if (!args) SWIG_fail; | |
7779 | swig_obj[0] = args; | |
7780 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7781 | if (!SWIG_IsOK(res1)) { | |
7782 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7783 | } | |
7784 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7785 | { | |
7786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7787 | result = (arg1)->SavePerspective(); | |
7788 | wxPyEndAllowThreads(__tstate); | |
7789 | if (PyErr_Occurred()) SWIG_fail; | |
7790 | } | |
7791 | { | |
7792 | #if wxUSE_UNICODE | |
7793 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7794 | #else | |
7795 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7796 | #endif | |
7797 | } | |
7798 | return resultobj; | |
7799 | fail: | |
7800 | return NULL; | |
7801 | } | |
7802 | ||
7803 | ||
7804 | SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7805 | PyObject *resultobj = 0; | |
7806 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7807 | wxString *arg2 = 0 ; | |
7808 | bool arg3 = (bool) true ; | |
7809 | bool result; | |
7810 | void *argp1 = 0 ; | |
7811 | int res1 = 0 ; | |
7812 | bool temp2 = false ; | |
7813 | bool val3 ; | |
7814 | int ecode3 = 0 ; | |
7815 | PyObject * obj0 = 0 ; | |
7816 | PyObject * obj1 = 0 ; | |
7817 | PyObject * obj2 = 0 ; | |
7818 | char * kwnames[] = { | |
7819 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7820 | }; | |
7821 | ||
7822 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7823 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7824 | if (!SWIG_IsOK(res1)) { | |
7825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7826 | } | |
7827 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7828 | { | |
7829 | arg2 = wxString_in_helper(obj1); | |
7830 | if (arg2 == NULL) SWIG_fail; | |
7831 | temp2 = true; | |
7832 | } | |
7833 | if (obj2) { | |
7834 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
7835 | if (!SWIG_IsOK(ecode3)) { | |
7836 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); | |
7837 | } | |
7838 | arg3 = static_cast< bool >(val3); | |
7839 | } | |
7840 | { | |
7841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7842 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
7843 | wxPyEndAllowThreads(__tstate); | |
7844 | if (PyErr_Occurred()) SWIG_fail; | |
7845 | } | |
7846 | { | |
7847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7848 | } | |
7849 | { | |
7850 | if (temp2) | |
7851 | delete arg2; | |
7852 | } | |
7853 | return resultobj; | |
7854 | fail: | |
7855 | { | |
7856 | if (temp2) | |
7857 | delete arg2; | |
7858 | } | |
7859 | return NULL; | |
7860 | } | |
7861 | ||
7862 | ||
7863 | SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7864 | PyObject *resultobj = 0; | |
7865 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7866 | void *argp1 = 0 ; | |
7867 | int res1 = 0 ; | |
7868 | PyObject *swig_obj[1] ; | |
7869 | ||
7870 | if (!args) SWIG_fail; | |
7871 | swig_obj[0] = args; | |
7872 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7873 | if (!SWIG_IsOK(res1)) { | |
7874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7875 | } | |
7876 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7877 | { | |
7878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7879 | (arg1)->Update(); | |
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
7883 | resultobj = SWIG_Py_Void(); | |
7884 | return resultobj; | |
7885 | fail: | |
7886 | return NULL; | |
7887 | } | |
7888 | ||
7889 | ||
9b940138 RD |
7890 | SWIGINTERN PyObject *_wrap_FrameManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7891 | PyObject *resultobj = 0; | |
7892 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
7893 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7894 | wxPaneInfo *arg3 = 0 ; | |
7895 | wxFloatingPane *result = 0 ; | |
7896 | void *argp1 = 0 ; | |
7897 | int res1 = 0 ; | |
7898 | void *argp2 = 0 ; | |
7899 | int res2 = 0 ; | |
7900 | void *argp3 = 0 ; | |
7901 | int res3 = 0 ; | |
7902 | PyObject * obj0 = 0 ; | |
7903 | PyObject * obj1 = 0 ; | |
7904 | PyObject * obj2 = 0 ; | |
7905 | char * kwnames[] = { | |
7906 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
7907 | }; | |
7908 | ||
7909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
7911 | if (!SWIG_IsOK(res1)) { | |
7912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
7913 | } | |
7914 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
7915 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7916 | if (!SWIG_IsOK(res2)) { | |
7917 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
7918 | } | |
7919 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7920 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
7921 | if (!SWIG_IsOK(res3)) { | |
7922 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7923 | } | |
7924 | if (!argp3) { | |
7925 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
7926 | } | |
7927 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
7928 | { | |
7929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7930 | result = (wxFloatingPane *)(arg1)->CreateFloatingFrame(arg2,(wxPaneInfo const &)*arg3); | |
7931 | wxPyEndAllowThreads(__tstate); | |
7932 | if (PyErr_Occurred()) SWIG_fail; | |
7933 | } | |
7934 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, 0 | 0 ); | |
7935 | return resultobj; | |
7936 | fail: | |
7937 | return NULL; | |
7938 | } | |
7939 | ||
7940 | ||
10044bf1 | 7941 | SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b RD |
7942 | PyObject *resultobj = 0; |
7943 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
10044bf1 RD |
7944 | wxWindow *arg2 = (wxWindow *) 0 ; |
7945 | wxPoint *arg3 = 0 ; | |
7946 | wxPoint *arg4 = 0 ; | |
81f5836b RD |
7947 | void *argp1 = 0 ; |
7948 | int res1 = 0 ; | |
7949 | void *argp2 = 0 ; | |
7950 | int res2 = 0 ; | |
10044bf1 RD |
7951 | wxPoint temp3 ; |
7952 | wxPoint temp4 ; | |
81f5836b RD |
7953 | PyObject * obj0 = 0 ; |
7954 | PyObject * obj1 = 0 ; | |
10044bf1 RD |
7955 | PyObject * obj2 = 0 ; |
7956 | PyObject * obj3 = 0 ; | |
81f5836b | 7957 | char * kwnames[] = { |
10044bf1 | 7958 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL |
81f5836b RD |
7959 | }; |
7960 | ||
10044bf1 | 7961 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
81f5836b RD |
7962 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
7963 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 7964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
81f5836b RD |
7965 | } |
7966 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
10044bf1 | 7967 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
81f5836b | 7968 | if (!SWIG_IsOK(res2)) { |
10044bf1 | 7969 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
81f5836b | 7970 | } |
10044bf1 RD |
7971 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
7972 | { | |
7973 | arg3 = &temp3; | |
7974 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7975 | } | |
7976 | { | |
7977 | arg4 = &temp4; | |
7978 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
81f5836b | 7979 | } |
81f5836b RD |
7980 | { |
7981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7982 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); |
81f5836b RD |
7983 | wxPyEndAllowThreads(__tstate); |
7984 | if (PyErr_Occurred()) SWIG_fail; | |
7985 | } | |
7986 | resultobj = SWIG_Py_Void(); | |
7987 | return resultobj; | |
7988 | fail: | |
7989 | return NULL; | |
7990 | } | |
7991 | ||
7992 | ||
10044bf1 | 7993 | SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b RD |
7994 | PyObject *resultobj = 0; |
7995 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
10044bf1 | 7996 | wxRect *arg2 = 0 ; |
81f5836b RD |
7997 | void *argp1 = 0 ; |
7998 | int res1 = 0 ; | |
10044bf1 | 7999 | wxRect temp2 ; |
81f5836b RD |
8000 | PyObject * obj0 = 0 ; |
8001 | PyObject * obj1 = 0 ; | |
8002 | char * kwnames[] = { | |
10044bf1 | 8003 | (char *) "self",(char *) "rect", NULL |
81f5836b RD |
8004 | }; |
8005 | ||
10044bf1 | 8006 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
81f5836b RD |
8007 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); |
8008 | if (!SWIG_IsOK(res1)) { | |
10044bf1 | 8009 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'"); |
81f5836b RD |
8010 | } |
8011 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
10044bf1 RD |
8012 | { |
8013 | arg2 = &temp2; | |
8014 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
81f5836b | 8015 | } |
81f5836b RD |
8016 | { |
8017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 8018 | (arg1)->ShowHint((wxRect const &)*arg2); |
81f5836b RD |
8019 | wxPyEndAllowThreads(__tstate); |
8020 | if (PyErr_Occurred()) SWIG_fail; | |
8021 | } | |
8022 | resultobj = SWIG_Py_Void(); | |
8023 | return resultobj; | |
8024 | fail: | |
8025 | return NULL; | |
8026 | } | |
8027 | ||
8028 | ||
10044bf1 RD |
8029 | SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8030 | PyObject *resultobj = 0; | |
8031 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
8032 | void *argp1 = 0 ; | |
8033 | int res1 = 0 ; | |
8034 | PyObject *swig_obj[1] ; | |
8035 | ||
8036 | if (!args) SWIG_fail; | |
8037 | swig_obj[0] = args; | |
8038 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
8039 | if (!SWIG_IsOK(res1)) { | |
8040 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
8041 | } | |
8042 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
8043 | { | |
8044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8045 | (arg1)->HideHint(); | |
8046 | wxPyEndAllowThreads(__tstate); | |
8047 | if (PyErr_Occurred()) SWIG_fail; | |
8048 | } | |
8049 | resultobj = SWIG_Py_Void(); | |
8050 | return resultobj; | |
8051 | fail: | |
8052 | return NULL; | |
27e45892 RD |
8053 | } |
8054 | ||
27e45892 | 8055 | |
10044bf1 RD |
8056 | SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8057 | PyObject *resultobj = 0; | |
8058 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
8059 | wxFrameManagerEvent *arg2 = 0 ; | |
8060 | void *argp1 = 0 ; | |
8061 | int res1 = 0 ; | |
8062 | void *argp2 = 0 ; | |
8063 | int res2 = 0 ; | |
8064 | PyObject * obj0 = 0 ; | |
8065 | PyObject * obj1 = 0 ; | |
8066 | char * kwnames[] = { | |
8067 | (char *) "self",(char *) "evt", NULL | |
8068 | }; | |
8069 | ||
8070 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; | |
8071 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
8072 | if (!SWIG_IsOK(res1)) { | |
8073 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
8074 | } | |
8075 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
8076 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 ); | |
8077 | if (!SWIG_IsOK(res2)) { | |
8078 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
8079 | } | |
8080 | if (!argp2) { | |
8081 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
8082 | } | |
8083 | arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2); | |
8084 | { | |
8085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8086 | (arg1)->OnRender(*arg2); | |
8087 | wxPyEndAllowThreads(__tstate); | |
8088 | if (PyErr_Occurred()) SWIG_fail; | |
8089 | } | |
8090 | resultobj = SWIG_Py_Void(); | |
8091 | return resultobj; | |
8092 | fail: | |
8093 | return NULL; | |
8094 | } | |
8095 | ||
8096 | ||
8097 | SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8098 | PyObject *resultobj = 0; | |
8099 | wxFrameManager *arg1 = (wxFrameManager *) 0 ; | |
8100 | wxFrameManagerEvent *arg2 = 0 ; | |
8101 | void *argp1 = 0 ; | |
8102 | int res1 = 0 ; | |
8103 | void *argp2 = 0 ; | |
8104 | int res2 = 0 ; | |
8105 | PyObject * obj0 = 0 ; | |
8106 | PyObject * obj1 = 0 ; | |
8107 | char * kwnames[] = { | |
8108 | (char *) "self",(char *) "evt", NULL | |
8109 | }; | |
8110 | ||
8111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
8112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
8113 | if (!SWIG_IsOK(res1)) { | |
8114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'"); | |
8115 | } | |
8116 | arg1 = reinterpret_cast< wxFrameManager * >(argp1); | |
8117 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 ); | |
8118 | if (!SWIG_IsOK(res2)) { | |
8119 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
8120 | } | |
8121 | if (!argp2) { | |
8122 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'"); | |
8123 | } | |
8124 | arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2); | |
8125 | { | |
8126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8127 | (arg1)->OnPaneButton(*arg2); | |
8128 | wxPyEndAllowThreads(__tstate); | |
8129 | if (PyErr_Occurred()) SWIG_fail; | |
8130 | } | |
8131 | resultobj = SWIG_Py_Void(); | |
8132 | return resultobj; | |
8133 | fail: | |
8134 | return NULL; | |
8135 | } | |
8136 | ||
8137 | ||
8138 | SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8139 | PyObject *obj; | |
8140 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8141 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj)); | |
8142 | return SWIG_Py_Void(); | |
8143 | } | |
8144 | ||
8145 | SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8146 | return SWIG_Python_InitShadowInstance(args); | |
8147 | } | |
8148 | ||
8149 | SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
27e45892 RD |
8150 | PyObject *resultobj = 0; |
8151 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
8152 | wxFrameManagerEvent *result = 0 ; | |
8153 | int val1 ; | |
8154 | int ecode1 = 0 ; | |
8155 | PyObject * obj0 = 0 ; | |
8156 | char * kwnames[] = { | |
8157 | (char *) "type", NULL | |
8158 | }; | |
8159 | ||
8160 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail; | |
8161 | if (obj0) { | |
8162 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8163 | if (!SWIG_IsOK(ecode1)) { | |
8164 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
8165 | } | |
8166 | arg1 = static_cast< wxEventType >(val1); | |
8167 | } | |
8168 | { | |
8169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8170 | result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1); | |
8171 | wxPyEndAllowThreads(__tstate); | |
8172 | if (PyErr_Occurred()) SWIG_fail; | |
8173 | } | |
8174 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 ); | |
8175 | return resultobj; | |
8176 | fail: | |
8177 | return NULL; | |
8178 | } | |
8179 | ||
8180 | ||
8181 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8182 | PyObject *resultobj = 0; | |
8183 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8184 | wxEvent *result = 0 ; | |
8185 | void *argp1 = 0 ; | |
8186 | int res1 = 0 ; | |
8187 | PyObject *swig_obj[1] ; | |
8188 | ||
8189 | if (!args) SWIG_fail; | |
8190 | swig_obj[0] = args; | |
8191 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8192 | if (!SWIG_IsOK(res1)) { | |
8193 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8194 | } | |
8195 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8196 | { | |
8197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8198 | result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone(); | |
8199 | wxPyEndAllowThreads(__tstate); | |
8200 | if (PyErr_Occurred()) SWIG_fail; | |
8201 | } | |
8202 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8203 | return resultobj; | |
8204 | fail: | |
8205 | return NULL; | |
8206 | } | |
8207 | ||
8208 | ||
8209 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8210 | PyObject *resultobj = 0; | |
8211 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8212 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
8213 | void *argp1 = 0 ; | |
8214 | int res1 = 0 ; | |
8215 | void *argp2 = 0 ; | |
8216 | int res2 = 0 ; | |
8217 | PyObject * obj0 = 0 ; | |
8218 | PyObject * obj1 = 0 ; | |
8219 | char * kwnames[] = { | |
8220 | (char *) "self",(char *) "p", NULL | |
8221 | }; | |
8222 | ||
8223 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8224 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8225 | if (!SWIG_IsOK(res1)) { | |
8226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8227 | } | |
8228 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8229 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8230 | if (!SWIG_IsOK(res2)) { | |
8231 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
8232 | } | |
8233 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
8234 | { | |
8235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8236 | (arg1)->SetPane(arg2); | |
8237 | wxPyEndAllowThreads(__tstate); | |
8238 | if (PyErr_Occurred()) SWIG_fail; | |
8239 | } | |
8240 | resultobj = SWIG_Py_Void(); | |
8241 | return resultobj; | |
8242 | fail: | |
8243 | return NULL; | |
8244 | } | |
8245 | ||
8246 | ||
8247 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8248 | PyObject *resultobj = 0; | |
8249 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8250 | int arg2 ; | |
8251 | void *argp1 = 0 ; | |
8252 | int res1 = 0 ; | |
8253 | int val2 ; | |
8254 | int ecode2 = 0 ; | |
8255 | PyObject * obj0 = 0 ; | |
8256 | PyObject * obj1 = 0 ; | |
8257 | char * kwnames[] = { | |
8258 | (char *) "self",(char *) "b", NULL | |
8259 | }; | |
8260 | ||
8261 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
8262 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8263 | if (!SWIG_IsOK(res1)) { | |
8264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8265 | } | |
8266 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8267 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
8268 | if (!SWIG_IsOK(ecode2)) { | |
8269 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); | |
8270 | } | |
8271 | arg2 = static_cast< int >(val2); | |
8272 | { | |
8273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8274 | (arg1)->SetButton(arg2); | |
8275 | wxPyEndAllowThreads(__tstate); | |
8276 | if (PyErr_Occurred()) SWIG_fail; | |
8277 | } | |
8278 | resultobj = SWIG_Py_Void(); | |
8279 | return resultobj; | |
8280 | fail: | |
8281 | return NULL; | |
8282 | } | |
8283 | ||
8284 | ||
81f5836b RD |
8285 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8286 | PyObject *resultobj = 0; | |
8287 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8288 | wxDC *arg2 = (wxDC *) 0 ; | |
8289 | void *argp1 = 0 ; | |
8290 | int res1 = 0 ; | |
8291 | void *argp2 = 0 ; | |
8292 | int res2 = 0 ; | |
8293 | PyObject * obj0 = 0 ; | |
8294 | PyObject * obj1 = 0 ; | |
8295 | char * kwnames[] = { | |
8296 | (char *) "self",(char *) "pdc", NULL | |
8297 | }; | |
8298 | ||
8299 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; | |
8300 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8301 | if (!SWIG_IsOK(res1)) { | |
8302 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8303 | } | |
8304 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8305 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
8306 | if (!SWIG_IsOK(res2)) { | |
8307 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); | |
8308 | } | |
8309 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8310 | { | |
8311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8312 | (arg1)->SetDC(arg2); | |
8313 | wxPyEndAllowThreads(__tstate); | |
8314 | if (PyErr_Occurred()) SWIG_fail; | |
8315 | } | |
8316 | resultobj = SWIG_Py_Void(); | |
8317 | return resultobj; | |
8318 | fail: | |
8319 | return NULL; | |
8320 | } | |
8321 | ||
8322 | ||
27e45892 RD |
8323 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8324 | PyObject *resultobj = 0; | |
8325 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8326 | wxPaneInfo *result = 0 ; | |
8327 | void *argp1 = 0 ; | |
8328 | int res1 = 0 ; | |
8329 | PyObject *swig_obj[1] ; | |
8330 | ||
8331 | if (!args) SWIG_fail; | |
8332 | swig_obj[0] = args; | |
8333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8334 | if (!SWIG_IsOK(res1)) { | |
8335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8336 | } | |
8337 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8338 | { | |
8339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8340 | result = (wxPaneInfo *)(arg1)->GetPane(); | |
8341 | wxPyEndAllowThreads(__tstate); | |
8342 | if (PyErr_Occurred()) SWIG_fail; | |
8343 | } | |
8344 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8345 | return resultobj; | |
8346 | fail: | |
8347 | return NULL; | |
8348 | } | |
8349 | ||
8350 | ||
8351 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8352 | PyObject *resultobj = 0; | |
8353 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8354 | int result; | |
8355 | void *argp1 = 0 ; | |
8356 | int res1 = 0 ; | |
8357 | PyObject *swig_obj[1] ; | |
8358 | ||
8359 | if (!args) SWIG_fail; | |
8360 | swig_obj[0] = args; | |
8361 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8362 | if (!SWIG_IsOK(res1)) { | |
8363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8364 | } | |
8365 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8366 | { | |
8367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8368 | result = (int)(arg1)->GetButton(); | |
8369 | wxPyEndAllowThreads(__tstate); | |
8370 | if (PyErr_Occurred()) SWIG_fail; | |
8371 | } | |
8372 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8373 | return resultobj; | |
8374 | fail: | |
8375 | return NULL; | |
8376 | } | |
8377 | ||
8378 | ||
81f5836b RD |
8379 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8380 | PyObject *resultobj = 0; | |
8381 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8382 | wxDC *result = 0 ; | |
8383 | void *argp1 = 0 ; | |
8384 | int res1 = 0 ; | |
8385 | PyObject *swig_obj[1] ; | |
8386 | ||
8387 | if (!args) SWIG_fail; | |
8388 | swig_obj[0] = args; | |
8389 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8390 | if (!SWIG_IsOK(res1)) { | |
8391 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8392 | } | |
8393 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8394 | { | |
8395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8396 | result = (wxDC *)(arg1)->GetDC(); | |
8397 | wxPyEndAllowThreads(__tstate); | |
8398 | if (PyErr_Occurred()) SWIG_fail; | |
8399 | } | |
8400 | { | |
8401 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8402 | } | |
8403 | return resultobj; | |
8404 | fail: | |
8405 | return NULL; | |
8406 | } | |
8407 | ||
8408 | ||
27e45892 RD |
8409 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8410 | PyObject *resultobj = 0; | |
8411 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8412 | bool arg2 = (bool) true ; | |
8413 | void *argp1 = 0 ; | |
8414 | int res1 = 0 ; | |
8415 | bool val2 ; | |
8416 | int ecode2 = 0 ; | |
8417 | PyObject * obj0 = 0 ; | |
8418 | PyObject * obj1 = 0 ; | |
8419 | char * kwnames[] = { | |
8420 | (char *) "self",(char *) "veto", NULL | |
8421 | }; | |
8422 | ||
8423 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; | |
8424 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8425 | if (!SWIG_IsOK(res1)) { | |
8426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8427 | } | |
8428 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8429 | if (obj1) { | |
8430 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8431 | if (!SWIG_IsOK(ecode2)) { | |
8432 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); | |
8433 | } | |
8434 | arg2 = static_cast< bool >(val2); | |
8435 | } | |
8436 | { | |
8437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8438 | (arg1)->Veto(arg2); | |
8439 | wxPyEndAllowThreads(__tstate); | |
8440 | if (PyErr_Occurred()) SWIG_fail; | |
8441 | } | |
8442 | resultobj = SWIG_Py_Void(); | |
8443 | return resultobj; | |
8444 | fail: | |
8445 | return NULL; | |
8446 | } | |
8447 | ||
8448 | ||
8449 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8450 | PyObject *resultobj = 0; | |
8451 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8452 | bool result; | |
8453 | void *argp1 = 0 ; | |
8454 | int res1 = 0 ; | |
8455 | PyObject *swig_obj[1] ; | |
8456 | ||
8457 | if (!args) SWIG_fail; | |
8458 | swig_obj[0] = args; | |
8459 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8460 | if (!SWIG_IsOK(res1)) { | |
8461 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8462 | } | |
8463 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8464 | { | |
8465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8466 | result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto(); | |
8467 | wxPyEndAllowThreads(__tstate); | |
8468 | if (PyErr_Occurred()) SWIG_fail; | |
8469 | } | |
8470 | { | |
8471 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8472 | } | |
8473 | return resultobj; | |
8474 | fail: | |
8475 | return NULL; | |
8476 | } | |
8477 | ||
8478 | ||
8479 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8480 | PyObject *resultobj = 0; | |
8481 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8482 | bool arg2 ; | |
8483 | void *argp1 = 0 ; | |
8484 | int res1 = 0 ; | |
8485 | bool val2 ; | |
8486 | int ecode2 = 0 ; | |
8487 | PyObject * obj0 = 0 ; | |
8488 | PyObject * obj1 = 0 ; | |
8489 | char * kwnames[] = { | |
8490 | (char *) "self",(char *) "can_veto", NULL | |
8491 | }; | |
8492 | ||
8493 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; | |
8494 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8495 | if (!SWIG_IsOK(res1)) { | |
8496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8497 | } | |
8498 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8499 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8500 | if (!SWIG_IsOK(ecode2)) { | |
8501 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); | |
8502 | } | |
8503 | arg2 = static_cast< bool >(val2); | |
8504 | { | |
8505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8506 | (arg1)->SetCanVeto(arg2); | |
8507 | wxPyEndAllowThreads(__tstate); | |
8508 | if (PyErr_Occurred()) SWIG_fail; | |
8509 | } | |
8510 | resultobj = SWIG_Py_Void(); | |
8511 | return resultobj; | |
8512 | fail: | |
8513 | return NULL; | |
8514 | } | |
8515 | ||
8516 | ||
8517 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8518 | PyObject *resultobj = 0; | |
8519 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8520 | bool result; | |
8521 | void *argp1 = 0 ; | |
8522 | int res1 = 0 ; | |
8523 | PyObject *swig_obj[1] ; | |
8524 | ||
8525 | if (!args) SWIG_fail; | |
8526 | swig_obj[0] = args; | |
8527 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8528 | if (!SWIG_IsOK(res1)) { | |
8529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'"); | |
8530 | } | |
8531 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8532 | { | |
8533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8534 | result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto(); | |
8535 | wxPyEndAllowThreads(__tstate); | |
8536 | if (PyErr_Occurred()) SWIG_fail; | |
8537 | } | |
8538 | { | |
8539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8540 | } | |
8541 | return resultobj; | |
8542 | fail: | |
8543 | return NULL; | |
8544 | } | |
8545 | ||
8546 | ||
8547 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8548 | PyObject *resultobj = 0; | |
8549 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8550 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
8551 | void *argp1 = 0 ; | |
8552 | int res1 = 0 ; | |
8553 | void *argp2 = 0 ; | |
8554 | int res2 = 0 ; | |
8555 | PyObject *swig_obj[2] ; | |
8556 | ||
8557 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; | |
8558 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8559 | if (!SWIG_IsOK(res1)) { | |
8560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8561 | } | |
8562 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8563 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
8564 | if (!SWIG_IsOK(res2)) { | |
8565 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
8566 | } | |
8567 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
8568 | if (arg1) (arg1)->pane = arg2; | |
8569 | ||
8570 | resultobj = SWIG_Py_Void(); | |
8571 | return resultobj; | |
8572 | fail: | |
8573 | return NULL; | |
8574 | } | |
8575 | ||
8576 | ||
8577 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8578 | PyObject *resultobj = 0; | |
8579 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8580 | wxPaneInfo *result = 0 ; | |
8581 | void *argp1 = 0 ; | |
8582 | int res1 = 0 ; | |
8583 | PyObject *swig_obj[1] ; | |
8584 | ||
8585 | if (!args) SWIG_fail; | |
8586 | swig_obj[0] = args; | |
8587 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8588 | if (!SWIG_IsOK(res1)) { | |
8589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8590 | } | |
8591 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8592 | result = (wxPaneInfo *) ((arg1)->pane); | |
8593 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
8594 | return resultobj; | |
8595 | fail: | |
8596 | return NULL; | |
8597 | } | |
8598 | ||
8599 | ||
8600 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8601 | PyObject *resultobj = 0; | |
8602 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8603 | int arg2 ; | |
8604 | void *argp1 = 0 ; | |
8605 | int res1 = 0 ; | |
8606 | int val2 ; | |
8607 | int ecode2 = 0 ; | |
8608 | PyObject *swig_obj[2] ; | |
8609 | ||
8610 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; | |
8611 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8612 | if (!SWIG_IsOK(res1)) { | |
8613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8614 | } | |
8615 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8616 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
8617 | if (!SWIG_IsOK(ecode2)) { | |
8618 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); | |
8619 | } | |
8620 | arg2 = static_cast< int >(val2); | |
8621 | if (arg1) (arg1)->button = arg2; | |
8622 | ||
8623 | resultobj = SWIG_Py_Void(); | |
8624 | return resultobj; | |
8625 | fail: | |
8626 | return NULL; | |
8627 | } | |
8628 | ||
8629 | ||
8630 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8631 | PyObject *resultobj = 0; | |
8632 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8633 | int result; | |
8634 | void *argp1 = 0 ; | |
8635 | int res1 = 0 ; | |
8636 | PyObject *swig_obj[1] ; | |
8637 | ||
8638 | if (!args) SWIG_fail; | |
8639 | swig_obj[0] = args; | |
8640 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8641 | if (!SWIG_IsOK(res1)) { | |
8642 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8643 | } | |
8644 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8645 | result = (int) ((arg1)->button); | |
8646 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8647 | return resultobj; | |
8648 | fail: | |
8649 | return NULL; | |
8650 | } | |
8651 | ||
8652 | ||
8653 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8654 | PyObject *resultobj = 0; | |
8655 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8656 | bool arg2 ; | |
8657 | void *argp1 = 0 ; | |
8658 | int res1 = 0 ; | |
8659 | bool val2 ; | |
8660 | int ecode2 = 0 ; | |
8661 | PyObject *swig_obj[2] ; | |
8662 | ||
8663 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; | |
8664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8665 | if (!SWIG_IsOK(res1)) { | |
8666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8667 | } | |
8668 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8669 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
8670 | if (!SWIG_IsOK(ecode2)) { | |
8671 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); | |
8672 | } | |
8673 | arg2 = static_cast< bool >(val2); | |
8674 | if (arg1) (arg1)->veto_flag = arg2; | |
8675 | ||
8676 | resultobj = SWIG_Py_Void(); | |
8677 | return resultobj; | |
8678 | fail: | |
8679 | return NULL; | |
8680 | } | |
8681 | ||
8682 | ||
8683 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8684 | PyObject *resultobj = 0; | |
8685 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8686 | bool result; | |
8687 | void *argp1 = 0 ; | |
8688 | int res1 = 0 ; | |
8689 | PyObject *swig_obj[1] ; | |
8690 | ||
8691 | if (!args) SWIG_fail; | |
8692 | swig_obj[0] = args; | |
8693 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8694 | if (!SWIG_IsOK(res1)) { | |
8695 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8696 | } | |
8697 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8698 | result = (bool) ((arg1)->veto_flag); | |
8699 | { | |
8700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8701 | } | |
8702 | return resultobj; | |
8703 | fail: | |
8704 | return NULL; | |
8705 | } | |
8706 | ||
8707 | ||
8708 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8709 | PyObject *resultobj = 0; | |
8710 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8711 | bool arg2 ; | |
8712 | void *argp1 = 0 ; | |
8713 | int res1 = 0 ; | |
8714 | bool val2 ; | |
8715 | int ecode2 = 0 ; | |
8716 | PyObject *swig_obj[2] ; | |
8717 | ||
8718 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; | |
8719 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8720 | if (!SWIG_IsOK(res1)) { | |
8721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8722 | } | |
8723 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8724 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
8725 | if (!SWIG_IsOK(ecode2)) { | |
8726 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); | |
8727 | } | |
8728 | arg2 = static_cast< bool >(val2); | |
8729 | if (arg1) (arg1)->canveto_flag = arg2; | |
8730 | ||
8731 | resultobj = SWIG_Py_Void(); | |
8732 | return resultobj; | |
8733 | fail: | |
8734 | return NULL; | |
8735 | } | |
8736 | ||
8737 | ||
8738 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8739 | PyObject *resultobj = 0; | |
8740 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8741 | bool result; | |
8742 | void *argp1 = 0 ; | |
8743 | int res1 = 0 ; | |
8744 | PyObject *swig_obj[1] ; | |
8745 | ||
8746 | if (!args) SWIG_fail; | |
8747 | swig_obj[0] = args; | |
8748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8749 | if (!SWIG_IsOK(res1)) { | |
8750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8751 | } | |
8752 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8753 | result = (bool) ((arg1)->canveto_flag); | |
8754 | { | |
8755 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8756 | } | |
8757 | return resultobj; | |
8758 | fail: | |
8759 | return NULL; | |
8760 | } | |
8761 | ||
8762 | ||
81f5836b RD |
8763 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8764 | PyObject *resultobj = 0; | |
8765 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8766 | wxDC *arg2 = (wxDC *) 0 ; | |
8767 | void *argp1 = 0 ; | |
8768 | int res1 = 0 ; | |
8769 | void *argp2 = 0 ; | |
8770 | int res2 = 0 ; | |
8771 | PyObject *swig_obj[2] ; | |
8772 | ||
8773 | if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; | |
8774 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8775 | if (!SWIG_IsOK(res1)) { | |
8776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8777 | } | |
8778 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8779 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); | |
8780 | if (!SWIG_IsOK(res2)) { | |
8781 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); | |
8782 | } | |
8783 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8784 | if (arg1) (arg1)->dc = arg2; | |
8785 | ||
8786 | resultobj = SWIG_Py_Void(); | |
8787 | return resultobj; | |
8788 | fail: | |
8789 | return NULL; | |
8790 | } | |
8791 | ||
8792 | ||
8793 | SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8794 | PyObject *resultobj = 0; | |
8795 | wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ; | |
8796 | wxDC *result = 0 ; | |
8797 | void *argp1 = 0 ; | |
8798 | int res1 = 0 ; | |
8799 | PyObject *swig_obj[1] ; | |
8800 | ||
8801 | if (!args) SWIG_fail; | |
8802 | swig_obj[0] = args; | |
8803 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 ); | |
8804 | if (!SWIG_IsOK(res1)) { | |
8805 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'"); | |
8806 | } | |
8807 | arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1); | |
8808 | result = (wxDC *) ((arg1)->dc); | |
8809 | { | |
8810 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8811 | } | |
8812 | return resultobj; | |
8813 | fail: | |
8814 | return NULL; | |
8815 | } | |
8816 | ||
8817 | ||
27e45892 RD |
8818 | SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8819 | PyObject *obj; | |
8820 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
8821 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj)); | |
8822 | return SWIG_Py_Void(); | |
8823 | } | |
8824 | ||
8825 | SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8826 | return SWIG_Python_InitShadowInstance(args); | |
8827 | } | |
8828 | ||
8829 | SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8830 | PyObject *resultobj = 0; | |
8831 | wxDockInfo *result = 0 ; | |
8832 | ||
8833 | if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail; | |
8834 | { | |
8835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8836 | result = (wxDockInfo *)new wxDockInfo(); | |
8837 | wxPyEndAllowThreads(__tstate); | |
8838 | if (PyErr_Occurred()) SWIG_fail; | |
8839 | } | |
8840 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 ); | |
8841 | return resultobj; | |
8842 | fail: | |
8843 | return NULL; | |
8844 | } | |
8845 | ||
8846 | ||
8847 | SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8848 | PyObject *resultobj = 0; | |
8849 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8850 | bool result; | |
8851 | void *argp1 = 0 ; | |
8852 | int res1 = 0 ; | |
8853 | PyObject *swig_obj[1] ; | |
8854 | ||
8855 | if (!args) SWIG_fail; | |
8856 | swig_obj[0] = args; | |
8857 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8858 | if (!SWIG_IsOK(res1)) { | |
8859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8860 | } | |
8861 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8862 | { | |
8863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8864 | result = (bool)((wxDockInfo const *)arg1)->IsOk(); | |
8865 | wxPyEndAllowThreads(__tstate); | |
8866 | if (PyErr_Occurred()) SWIG_fail; | |
8867 | } | |
8868 | { | |
8869 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8870 | } | |
8871 | return resultobj; | |
8872 | fail: | |
8873 | return NULL; | |
8874 | } | |
8875 | ||
8876 | ||
8877 | SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8878 | PyObject *resultobj = 0; | |
8879 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8880 | bool result; | |
8881 | void *argp1 = 0 ; | |
8882 | int res1 = 0 ; | |
8883 | PyObject *swig_obj[1] ; | |
8884 | ||
8885 | if (!args) SWIG_fail; | |
8886 | swig_obj[0] = args; | |
8887 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8888 | if (!SWIG_IsOK(res1)) { | |
8889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8890 | } | |
8891 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8892 | { | |
8893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8894 | result = (bool)((wxDockInfo const *)arg1)->IsHorizontal(); | |
8895 | wxPyEndAllowThreads(__tstate); | |
8896 | if (PyErr_Occurred()) SWIG_fail; | |
8897 | } | |
8898 | { | |
8899 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8900 | } | |
8901 | return resultobj; | |
8902 | fail: | |
8903 | return NULL; | |
8904 | } | |
8905 | ||
8906 | ||
8907 | SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8908 | PyObject *resultobj = 0; | |
8909 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8910 | bool result; | |
8911 | void *argp1 = 0 ; | |
8912 | int res1 = 0 ; | |
8913 | PyObject *swig_obj[1] ; | |
8914 | ||
8915 | if (!args) SWIG_fail; | |
8916 | swig_obj[0] = args; | |
8917 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8918 | if (!SWIG_IsOK(res1)) { | |
8919 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'"); | |
8920 | } | |
8921 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8922 | { | |
8923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8924 | result = (bool)((wxDockInfo const *)arg1)->IsVertical(); | |
8925 | wxPyEndAllowThreads(__tstate); | |
8926 | if (PyErr_Occurred()) SWIG_fail; | |
8927 | } | |
8928 | { | |
8929 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8930 | } | |
8931 | return resultobj; | |
8932 | fail: | |
8933 | return NULL; | |
8934 | } | |
8935 | ||
8936 | ||
8937 | SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8938 | PyObject *resultobj = 0; | |
8939 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8940 | wxPaneInfoPtrArray arg2 ; | |
8941 | void *argp1 = 0 ; | |
8942 | int res1 = 0 ; | |
8943 | void *argp2 ; | |
8944 | int res2 = 0 ; | |
8945 | PyObject *swig_obj[2] ; | |
8946 | ||
8947 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail; | |
8948 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8949 | if (!SWIG_IsOK(res1)) { | |
8950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8951 | } | |
8952 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8953 | { | |
8954 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0); | |
8955 | if (!SWIG_IsOK(res2)) { | |
8956 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'"); | |
8957 | } | |
8958 | if (!argp2) { | |
8959 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'"); | |
8960 | } else { | |
8961 | wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2); | |
8962 | arg2 = *temp; | |
8963 | if (SWIG_IsNewObj(res2)) delete temp; | |
8964 | } | |
8965 | } | |
8966 | if (arg1) (arg1)->panes = arg2; | |
8967 | ||
8968 | resultobj = SWIG_Py_Void(); | |
8969 | return resultobj; | |
8970 | fail: | |
8971 | return NULL; | |
8972 | } | |
8973 | ||
8974 | ||
8975 | SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8976 | PyObject *resultobj = 0; | |
8977 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
8978 | wxPaneInfoPtrArray result; | |
8979 | void *argp1 = 0 ; | |
8980 | int res1 = 0 ; | |
8981 | PyObject *swig_obj[1] ; | |
8982 | ||
8983 | if (!args) SWIG_fail; | |
8984 | swig_obj[0] = args; | |
8985 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
8986 | if (!SWIG_IsOK(res1)) { | |
8987 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
8988 | } | |
8989 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
8990 | result = ((arg1)->panes); | |
8991 | resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); | |
8992 | return resultobj; | |
8993 | fail: | |
8994 | return NULL; | |
8995 | } | |
8996 | ||
8997 | ||
8998 | SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
8999 | PyObject *resultobj = 0; | |
9000 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9001 | wxRect *arg2 = (wxRect *) 0 ; | |
9002 | void *argp1 = 0 ; | |
9003 | int res1 = 0 ; | |
9004 | void *argp2 = 0 ; | |
9005 | int res2 = 0 ; | |
9006 | PyObject *swig_obj[2] ; | |
9007 | ||
9008 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail; | |
9009 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9010 | if (!SWIG_IsOK(res1)) { | |
9011 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9012 | } | |
9013 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9014 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
9015 | if (!SWIG_IsOK(res2)) { | |
9016 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
9017 | } | |
9018 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9019 | if (arg1) (arg1)->rect = *arg2; | |
9020 | ||
9021 | resultobj = SWIG_Py_Void(); | |
9022 | return resultobj; | |
9023 | fail: | |
9024 | return NULL; | |
9025 | } | |
9026 | ||
9027 | ||
9028 | SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9029 | PyObject *resultobj = 0; | |
9030 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9031 | wxRect *result = 0 ; | |
9032 | void *argp1 = 0 ; | |
9033 | int res1 = 0 ; | |
9034 | PyObject *swig_obj[1] ; | |
9035 | ||
9036 | if (!args) SWIG_fail; | |
9037 | swig_obj[0] = args; | |
9038 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9039 | if (!SWIG_IsOK(res1)) { | |
9040 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9041 | } | |
9042 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9043 | result = (wxRect *)& ((arg1)->rect); | |
9044 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9045 | return resultobj; | |
9046 | fail: | |
9047 | return NULL; | |
9048 | } | |
9049 | ||
9050 | ||
9051 | SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9052 | PyObject *resultobj = 0; | |
9053 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9054 | int arg2 ; | |
9055 | void *argp1 = 0 ; | |
9056 | int res1 = 0 ; | |
9057 | int val2 ; | |
9058 | int ecode2 = 0 ; | |
9059 | PyObject *swig_obj[2] ; | |
9060 | ||
9061 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; | |
9062 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9063 | if (!SWIG_IsOK(res1)) { | |
9064 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9065 | } | |
9066 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9067 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9068 | if (!SWIG_IsOK(ecode2)) { | |
9069 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); | |
9070 | } | |
9071 | arg2 = static_cast< int >(val2); | |
9072 | if (arg1) (arg1)->dock_direction = arg2; | |
9073 | ||
9074 | resultobj = SWIG_Py_Void(); | |
9075 | return resultobj; | |
9076 | fail: | |
9077 | return NULL; | |
9078 | } | |
9079 | ||
9080 | ||
9081 | SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9082 | PyObject *resultobj = 0; | |
9083 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9084 | int result; | |
9085 | void *argp1 = 0 ; | |
9086 | int res1 = 0 ; | |
9087 | PyObject *swig_obj[1] ; | |
9088 | ||
9089 | if (!args) SWIG_fail; | |
9090 | swig_obj[0] = args; | |
9091 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9092 | if (!SWIG_IsOK(res1)) { | |
9093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9094 | } | |
9095 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9096 | result = (int) ((arg1)->dock_direction); | |
9097 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9098 | return resultobj; | |
9099 | fail: | |
9100 | return NULL; | |
9101 | } | |
9102 | ||
9103 | ||
9104 | SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9105 | PyObject *resultobj = 0; | |
9106 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9107 | int arg2 ; | |
9108 | void *argp1 = 0 ; | |
9109 | int res1 = 0 ; | |
9110 | int val2 ; | |
9111 | int ecode2 = 0 ; | |
9112 | PyObject *swig_obj[2] ; | |
9113 | ||
9114 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; | |
9115 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9116 | if (!SWIG_IsOK(res1)) { | |
9117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9118 | } | |
9119 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9120 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9121 | if (!SWIG_IsOK(ecode2)) { | |
9122 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); | |
9123 | } | |
9124 | arg2 = static_cast< int >(val2); | |
9125 | if (arg1) (arg1)->dock_layer = arg2; | |
9126 | ||
9127 | resultobj = SWIG_Py_Void(); | |
9128 | return resultobj; | |
9129 | fail: | |
9130 | return NULL; | |
9131 | } | |
9132 | ||
9133 | ||
9134 | SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9135 | PyObject *resultobj = 0; | |
9136 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9137 | int result; | |
9138 | void *argp1 = 0 ; | |
9139 | int res1 = 0 ; | |
9140 | PyObject *swig_obj[1] ; | |
9141 | ||
9142 | if (!args) SWIG_fail; | |
9143 | swig_obj[0] = args; | |
9144 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9145 | if (!SWIG_IsOK(res1)) { | |
9146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9147 | } | |
9148 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9149 | result = (int) ((arg1)->dock_layer); | |
9150 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9151 | return resultobj; | |
9152 | fail: | |
9153 | return NULL; | |
9154 | } | |
9155 | ||
9156 | ||
9157 | SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9158 | PyObject *resultobj = 0; | |
9159 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9160 | int arg2 ; | |
9161 | void *argp1 = 0 ; | |
9162 | int res1 = 0 ; | |
9163 | int val2 ; | |
9164 | int ecode2 = 0 ; | |
9165 | PyObject *swig_obj[2] ; | |
9166 | ||
9167 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; | |
9168 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9169 | if (!SWIG_IsOK(res1)) { | |
9170 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9171 | } | |
9172 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9173 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9174 | if (!SWIG_IsOK(ecode2)) { | |
9175 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); | |
9176 | } | |
9177 | arg2 = static_cast< int >(val2); | |
9178 | if (arg1) (arg1)->dock_row = arg2; | |
9179 | ||
9180 | resultobj = SWIG_Py_Void(); | |
9181 | return resultobj; | |
9182 | fail: | |
9183 | return NULL; | |
9184 | } | |
9185 | ||
9186 | ||
9187 | SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9188 | PyObject *resultobj = 0; | |
9189 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9190 | int result; | |
9191 | void *argp1 = 0 ; | |
9192 | int res1 = 0 ; | |
9193 | PyObject *swig_obj[1] ; | |
9194 | ||
9195 | if (!args) SWIG_fail; | |
9196 | swig_obj[0] = args; | |
9197 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9198 | if (!SWIG_IsOK(res1)) { | |
9199 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9200 | } | |
9201 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9202 | result = (int) ((arg1)->dock_row); | |
9203 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9204 | return resultobj; | |
9205 | fail: | |
9206 | return NULL; | |
9207 | } | |
9208 | ||
9209 | ||
9210 | SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9211 | PyObject *resultobj = 0; | |
9212 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9213 | int arg2 ; | |
9214 | void *argp1 = 0 ; | |
9215 | int res1 = 0 ; | |
9216 | int val2 ; | |
9217 | int ecode2 = 0 ; | |
9218 | PyObject *swig_obj[2] ; | |
9219 | ||
9220 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail; | |
9221 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9222 | if (!SWIG_IsOK(res1)) { | |
9223 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9224 | } | |
9225 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9226 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9227 | if (!SWIG_IsOK(ecode2)) { | |
9228 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); | |
9229 | } | |
9230 | arg2 = static_cast< int >(val2); | |
9231 | if (arg1) (arg1)->size = arg2; | |
9232 | ||
9233 | resultobj = SWIG_Py_Void(); | |
9234 | return resultobj; | |
9235 | fail: | |
9236 | return NULL; | |
9237 | } | |
9238 | ||
9239 | ||
9240 | SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9241 | PyObject *resultobj = 0; | |
9242 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9243 | int result; | |
9244 | void *argp1 = 0 ; | |
9245 | int res1 = 0 ; | |
9246 | PyObject *swig_obj[1] ; | |
9247 | ||
9248 | if (!args) SWIG_fail; | |
9249 | swig_obj[0] = args; | |
9250 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9251 | if (!SWIG_IsOK(res1)) { | |
9252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9253 | } | |
9254 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9255 | result = (int) ((arg1)->size); | |
9256 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9257 | return resultobj; | |
9258 | fail: | |
9259 | return NULL; | |
9260 | } | |
9261 | ||
9262 | ||
9263 | SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9264 | PyObject *resultobj = 0; | |
9265 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9266 | int arg2 ; | |
9267 | void *argp1 = 0 ; | |
9268 | int res1 = 0 ; | |
9269 | int val2 ; | |
9270 | int ecode2 = 0 ; | |
9271 | PyObject *swig_obj[2] ; | |
9272 | ||
9273 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; | |
9274 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9275 | if (!SWIG_IsOK(res1)) { | |
9276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9277 | } | |
9278 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9279 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9280 | if (!SWIG_IsOK(ecode2)) { | |
9281 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); | |
9282 | } | |
9283 | arg2 = static_cast< int >(val2); | |
9284 | if (arg1) (arg1)->min_size = arg2; | |
9285 | ||
9286 | resultobj = SWIG_Py_Void(); | |
9287 | return resultobj; | |
9288 | fail: | |
9289 | return NULL; | |
9290 | } | |
9291 | ||
9292 | ||
9293 | SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9294 | PyObject *resultobj = 0; | |
9295 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9296 | int result; | |
9297 | void *argp1 = 0 ; | |
9298 | int res1 = 0 ; | |
9299 | PyObject *swig_obj[1] ; | |
9300 | ||
9301 | if (!args) SWIG_fail; | |
9302 | swig_obj[0] = args; | |
9303 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9304 | if (!SWIG_IsOK(res1)) { | |
9305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9306 | } | |
9307 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9308 | result = (int) ((arg1)->min_size); | |
9309 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9310 | return resultobj; | |
9311 | fail: | |
9312 | return NULL; | |
9313 | } | |
9314 | ||
9315 | ||
9316 | SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9317 | PyObject *resultobj = 0; | |
9318 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9319 | bool arg2 ; | |
9320 | void *argp1 = 0 ; | |
9321 | int res1 = 0 ; | |
9322 | bool val2 ; | |
9323 | int ecode2 = 0 ; | |
9324 | PyObject *swig_obj[2] ; | |
9325 | ||
9326 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; | |
9327 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9328 | if (!SWIG_IsOK(res1)) { | |
9329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9330 | } | |
9331 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9332 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9333 | if (!SWIG_IsOK(ecode2)) { | |
9334 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); | |
9335 | } | |
9336 | arg2 = static_cast< bool >(val2); | |
9337 | if (arg1) (arg1)->resizable = arg2; | |
9338 | ||
9339 | resultobj = SWIG_Py_Void(); | |
9340 | return resultobj; | |
9341 | fail: | |
9342 | return NULL; | |
9343 | } | |
9344 | ||
9345 | ||
9346 | SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9347 | PyObject *resultobj = 0; | |
9348 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9349 | bool result; | |
9350 | void *argp1 = 0 ; | |
9351 | int res1 = 0 ; | |
9352 | PyObject *swig_obj[1] ; | |
9353 | ||
9354 | if (!args) SWIG_fail; | |
9355 | swig_obj[0] = args; | |
9356 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9357 | if (!SWIG_IsOK(res1)) { | |
9358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9359 | } | |
9360 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9361 | result = (bool) ((arg1)->resizable); | |
9362 | { | |
9363 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9364 | } | |
9365 | return resultobj; | |
9366 | fail: | |
9367 | return NULL; | |
9368 | } | |
9369 | ||
9370 | ||
9371 | SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9372 | PyObject *resultobj = 0; | |
9373 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9374 | bool arg2 ; | |
9375 | void *argp1 = 0 ; | |
9376 | int res1 = 0 ; | |
9377 | bool val2 ; | |
9378 | int ecode2 = 0 ; | |
9379 | PyObject *swig_obj[2] ; | |
9380 | ||
9381 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; | |
9382 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9383 | if (!SWIG_IsOK(res1)) { | |
9384 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9385 | } | |
9386 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9387 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9388 | if (!SWIG_IsOK(ecode2)) { | |
9389 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); | |
9390 | } | |
9391 | arg2 = static_cast< bool >(val2); | |
9392 | if (arg1) (arg1)->toolbar = arg2; | |
9393 | ||
9394 | resultobj = SWIG_Py_Void(); | |
9395 | return resultobj; | |
9396 | fail: | |
9397 | return NULL; | |
9398 | } | |
9399 | ||
9400 | ||
9401 | SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9402 | PyObject *resultobj = 0; | |
9403 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9404 | bool result; | |
9405 | void *argp1 = 0 ; | |
9406 | int res1 = 0 ; | |
9407 | PyObject *swig_obj[1] ; | |
9408 | ||
9409 | if (!args) SWIG_fail; | |
9410 | swig_obj[0] = args; | |
9411 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9412 | if (!SWIG_IsOK(res1)) { | |
9413 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9414 | } | |
9415 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9416 | result = (bool) ((arg1)->toolbar); | |
9417 | { | |
9418 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9419 | } | |
9420 | return resultobj; | |
9421 | fail: | |
9422 | return NULL; | |
9423 | } | |
9424 | ||
9425 | ||
9426 | SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9427 | PyObject *resultobj = 0; | |
9428 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9429 | bool arg2 ; | |
9430 | void *argp1 = 0 ; | |
9431 | int res1 = 0 ; | |
9432 | bool val2 ; | |
9433 | int ecode2 = 0 ; | |
9434 | PyObject *swig_obj[2] ; | |
9435 | ||
9436 | if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; | |
9437 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9438 | if (!SWIG_IsOK(res1)) { | |
9439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9440 | } | |
9441 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9442 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
9443 | if (!SWIG_IsOK(ecode2)) { | |
9444 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); | |
9445 | } | |
9446 | arg2 = static_cast< bool >(val2); | |
9447 | if (arg1) (arg1)->fixed = arg2; | |
9448 | ||
9449 | resultobj = SWIG_Py_Void(); | |
9450 | return resultobj; | |
9451 | fail: | |
9452 | return NULL; | |
9453 | } | |
9454 | ||
9455 | ||
9456 | SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9457 | PyObject *resultobj = 0; | |
9458 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9459 | bool result; | |
9460 | void *argp1 = 0 ; | |
9461 | int res1 = 0 ; | |
9462 | PyObject *swig_obj[1] ; | |
9463 | ||
9464 | if (!args) SWIG_fail; | |
9465 | swig_obj[0] = args; | |
9466 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9467 | if (!SWIG_IsOK(res1)) { | |
9468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9469 | } | |
9470 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9471 | result = (bool) ((arg1)->fixed); | |
9472 | { | |
9473 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9474 | } | |
9475 | return resultobj; | |
9476 | fail: | |
9477 | return NULL; | |
9478 | } | |
9479 | ||
9480 | ||
72ef6efb RD |
9481 | SWIGINTERN PyObject *_wrap_delete_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9482 | PyObject *resultobj = 0; | |
9483 | wxDockInfo *arg1 = (wxDockInfo *) 0 ; | |
9484 | void *argp1 = 0 ; | |
9485 | int res1 = 0 ; | |
9486 | PyObject *swig_obj[1] ; | |
9487 | ||
9488 | if (!args) SWIG_fail; | |
9489 | swig_obj[0] = args; | |
9490 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
9491 | if (!SWIG_IsOK(res1)) { | |
9492 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockInfo" "', expected argument " "1"" of type '" "wxDockInfo *""'"); | |
9493 | } | |
9494 | arg1 = reinterpret_cast< wxDockInfo * >(argp1); | |
9495 | { | |
9496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9497 | delete_wxDockInfo(arg1); | |
9498 | ||
9499 | wxPyEndAllowThreads(__tstate); | |
9500 | if (PyErr_Occurred()) SWIG_fail; | |
9501 | } | |
9502 | resultobj = SWIG_Py_Void(); | |
9503 | return resultobj; | |
9504 | fail: | |
9505 | return NULL; | |
9506 | } | |
9507 | ||
9508 | ||
27e45892 RD |
9509 | SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9510 | PyObject *obj; | |
9511 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9512 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj)); | |
9513 | return SWIG_Py_Void(); | |
9514 | } | |
9515 | ||
9516 | SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9517 | return SWIG_Python_InitShadowInstance(args); | |
9518 | } | |
9519 | ||
9520 | SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9521 | PyObject *resultobj = 0; | |
9522 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9523 | int arg2 ; | |
9524 | void *argp1 = 0 ; | |
9525 | int res1 = 0 ; | |
9526 | int val2 ; | |
9527 | int ecode2 = 0 ; | |
9528 | PyObject *swig_obj[2] ; | |
9529 | ||
9530 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail; | |
9531 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9532 | if (!SWIG_IsOK(res1)) { | |
9533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9534 | } | |
9535 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9536 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9537 | if (!SWIG_IsOK(ecode2)) { | |
9538 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); | |
9539 | } | |
9540 | arg2 = static_cast< int >(val2); | |
9541 | if (arg1) (arg1)->type = arg2; | |
9542 | ||
9543 | resultobj = SWIG_Py_Void(); | |
9544 | return resultobj; | |
9545 | fail: | |
9546 | return NULL; | |
9547 | } | |
9548 | ||
9549 | ||
9550 | SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9551 | PyObject *resultobj = 0; | |
9552 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9553 | int result; | |
9554 | void *argp1 = 0 ; | |
9555 | int res1 = 0 ; | |
9556 | PyObject *swig_obj[1] ; | |
9557 | ||
9558 | if (!args) SWIG_fail; | |
9559 | swig_obj[0] = args; | |
9560 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9561 | if (!SWIG_IsOK(res1)) { | |
9562 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9563 | } | |
9564 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9565 | result = (int) ((arg1)->type); | |
9566 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9567 | return resultobj; | |
9568 | fail: | |
9569 | return NULL; | |
9570 | } | |
9571 | ||
9572 | ||
9573 | SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9574 | PyObject *resultobj = 0; | |
9575 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9576 | int arg2 ; | |
9577 | void *argp1 = 0 ; | |
9578 | int res1 = 0 ; | |
9579 | int val2 ; | |
9580 | int ecode2 = 0 ; | |
9581 | PyObject *swig_obj[2] ; | |
9582 | ||
9583 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; | |
9584 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9585 | if (!SWIG_IsOK(res1)) { | |
9586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9587 | } | |
9588 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9589 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9590 | if (!SWIG_IsOK(ecode2)) { | |
9591 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); | |
9592 | } | |
9593 | arg2 = static_cast< int >(val2); | |
9594 | if (arg1) (arg1)->orientation = arg2; | |
9595 | ||
9596 | resultobj = SWIG_Py_Void(); | |
9597 | return resultobj; | |
9598 | fail: | |
9599 | return NULL; | |
9600 | } | |
9601 | ||
9602 | ||
9603 | SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9604 | PyObject *resultobj = 0; | |
9605 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9606 | int result; | |
9607 | void *argp1 = 0 ; | |
9608 | int res1 = 0 ; | |
9609 | PyObject *swig_obj[1] ; | |
9610 | ||
9611 | if (!args) SWIG_fail; | |
9612 | swig_obj[0] = args; | |
9613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9614 | if (!SWIG_IsOK(res1)) { | |
9615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9616 | } | |
9617 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9618 | result = (int) ((arg1)->orientation); | |
9619 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9620 | return resultobj; | |
9621 | fail: | |
9622 | return NULL; | |
9623 | } | |
9624 | ||
9625 | ||
9626 | SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9627 | PyObject *resultobj = 0; | |
9628 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9629 | wxDockInfo *arg2 = (wxDockInfo *) 0 ; | |
9630 | void *argp1 = 0 ; | |
9631 | int res1 = 0 ; | |
9632 | void *argp2 = 0 ; | |
9633 | int res2 = 0 ; | |
9634 | PyObject *swig_obj[2] ; | |
9635 | ||
9636 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; | |
9637 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9638 | if (!SWIG_IsOK(res1)) { | |
9639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9640 | } | |
9641 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9642 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
9643 | if (!SWIG_IsOK(res2)) { | |
9644 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'"); | |
9645 | } | |
9646 | arg2 = reinterpret_cast< wxDockInfo * >(argp2); | |
9647 | if (arg1) (arg1)->dock = arg2; | |
9648 | ||
9649 | resultobj = SWIG_Py_Void(); | |
9650 | return resultobj; | |
9651 | fail: | |
9652 | return NULL; | |
9653 | } | |
9654 | ||
9655 | ||
9656 | SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9657 | PyObject *resultobj = 0; | |
9658 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9659 | wxDockInfo *result = 0 ; | |
9660 | void *argp1 = 0 ; | |
9661 | int res1 = 0 ; | |
9662 | PyObject *swig_obj[1] ; | |
9663 | ||
9664 | if (!args) SWIG_fail; | |
9665 | swig_obj[0] = args; | |
9666 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9667 | if (!SWIG_IsOK(res1)) { | |
9668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9669 | } | |
9670 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9671 | result = (wxDockInfo *) ((arg1)->dock); | |
9672 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 ); | |
9673 | return resultobj; | |
9674 | fail: | |
9675 | return NULL; | |
9676 | } | |
9677 | ||
9678 | ||
9679 | SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9680 | PyObject *resultobj = 0; | |
9681 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9682 | wxPaneInfo *arg2 = (wxPaneInfo *) 0 ; | |
9683 | void *argp1 = 0 ; | |
9684 | int res1 = 0 ; | |
9685 | void *argp2 = 0 ; | |
9686 | int res2 = 0 ; | |
9687 | PyObject *swig_obj[2] ; | |
9688 | ||
9689 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; | |
9690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9691 | if (!SWIG_IsOK(res1)) { | |
9692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9693 | } | |
9694 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9695 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
9696 | if (!SWIG_IsOK(res2)) { | |
9697 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'"); | |
9698 | } | |
9699 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
9700 | if (arg1) (arg1)->pane = arg2; | |
9701 | ||
9702 | resultobj = SWIG_Py_Void(); | |
9703 | return resultobj; | |
9704 | fail: | |
9705 | return NULL; | |
9706 | } | |
9707 | ||
9708 | ||
9709 | SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9710 | PyObject *resultobj = 0; | |
9711 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9712 | wxPaneInfo *result = 0 ; | |
9713 | void *argp1 = 0 ; | |
9714 | int res1 = 0 ; | |
9715 | PyObject *swig_obj[1] ; | |
9716 | ||
9717 | if (!args) SWIG_fail; | |
9718 | swig_obj[0] = args; | |
9719 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9720 | if (!SWIG_IsOK(res1)) { | |
9721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9722 | } | |
9723 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9724 | result = (wxPaneInfo *) ((arg1)->pane); | |
9725 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 ); | |
9726 | return resultobj; | |
9727 | fail: | |
9728 | return NULL; | |
9729 | } | |
9730 | ||
9731 | ||
9732 | SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9733 | PyObject *resultobj = 0; | |
9734 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9735 | wxPaneButton *arg2 = (wxPaneButton *) 0 ; | |
9736 | void *argp1 = 0 ; | |
9737 | int res1 = 0 ; | |
9738 | void *argp2 = 0 ; | |
9739 | int res2 = 0 ; | |
9740 | PyObject *swig_obj[2] ; | |
9741 | ||
9742 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail; | |
9743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9744 | if (!SWIG_IsOK(res1)) { | |
9745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9746 | } | |
9747 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9748 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
9749 | if (!SWIG_IsOK(res2)) { | |
9750 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'"); | |
9751 | } | |
9752 | arg2 = reinterpret_cast< wxPaneButton * >(argp2); | |
9753 | if (arg1) (arg1)->button = arg2; | |
9754 | ||
9755 | resultobj = SWIG_Py_Void(); | |
9756 | return resultobj; | |
9757 | fail: | |
9758 | return NULL; | |
9759 | } | |
9760 | ||
9761 | ||
9762 | SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9763 | PyObject *resultobj = 0; | |
9764 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9765 | wxPaneButton *result = 0 ; | |
9766 | void *argp1 = 0 ; | |
9767 | int res1 = 0 ; | |
9768 | PyObject *swig_obj[1] ; | |
9769 | ||
9770 | if (!args) SWIG_fail; | |
9771 | swig_obj[0] = args; | |
9772 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9773 | if (!SWIG_IsOK(res1)) { | |
9774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9775 | } | |
9776 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9777 | result = (wxPaneButton *) ((arg1)->button); | |
9778 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9779 | return resultobj; | |
9780 | fail: | |
9781 | return NULL; | |
9782 | } | |
9783 | ||
9784 | ||
9785 | SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9786 | PyObject *resultobj = 0; | |
9787 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9788 | wxSizer *arg2 = (wxSizer *) 0 ; | |
9789 | void *argp1 = 0 ; | |
9790 | int res1 = 0 ; | |
9791 | void *argp2 = 0 ; | |
9792 | int res2 = 0 ; | |
9793 | PyObject *swig_obj[2] ; | |
9794 | ||
9795 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; | |
9796 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9797 | if (!SWIG_IsOK(res1)) { | |
9798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9799 | } | |
9800 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9801 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); | |
9802 | if (!SWIG_IsOK(res2)) { | |
9803 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); | |
9804 | } | |
9805 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
9806 | if (arg1) (arg1)->cont_sizer = arg2; | |
9807 | ||
9808 | resultobj = SWIG_Py_Void(); | |
9809 | return resultobj; | |
9810 | fail: | |
9811 | return NULL; | |
9812 | } | |
9813 | ||
9814 | ||
9815 | SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9816 | PyObject *resultobj = 0; | |
9817 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9818 | wxSizer *result = 0 ; | |
9819 | void *argp1 = 0 ; | |
9820 | int res1 = 0 ; | |
9821 | PyObject *swig_obj[1] ; | |
9822 | ||
9823 | if (!args) SWIG_fail; | |
9824 | swig_obj[0] = args; | |
9825 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9826 | if (!SWIG_IsOK(res1)) { | |
9827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9828 | } | |
9829 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9830 | result = (wxSizer *) ((arg1)->cont_sizer); | |
9831 | { | |
9832 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9833 | } | |
9834 | return resultobj; | |
9835 | fail: | |
9836 | return NULL; | |
9837 | } | |
9838 | ||
9839 | ||
9840 | SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9841 | PyObject *resultobj = 0; | |
9842 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9843 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; | |
9844 | void *argp1 = 0 ; | |
9845 | int res1 = 0 ; | |
9846 | void *argp2 = 0 ; | |
9847 | int res2 = 0 ; | |
9848 | PyObject *swig_obj[2] ; | |
9849 | ||
9850 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; | |
9851 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9852 | if (!SWIG_IsOK(res1)) { | |
9853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9854 | } | |
9855 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9856 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); | |
9857 | if (!SWIG_IsOK(res2)) { | |
9858 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); | |
9859 | } | |
9860 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
9861 | if (arg1) (arg1)->sizer_item = arg2; | |
9862 | ||
9863 | resultobj = SWIG_Py_Void(); | |
9864 | return resultobj; | |
9865 | fail: | |
9866 | return NULL; | |
9867 | } | |
9868 | ||
9869 | ||
9870 | SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9871 | PyObject *resultobj = 0; | |
9872 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9873 | wxSizerItem *result = 0 ; | |
9874 | void *argp1 = 0 ; | |
9875 | int res1 = 0 ; | |
9876 | PyObject *swig_obj[1] ; | |
9877 | ||
9878 | if (!args) SWIG_fail; | |
9879 | swig_obj[0] = args; | |
9880 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9881 | if (!SWIG_IsOK(res1)) { | |
9882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9883 | } | |
9884 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9885 | result = (wxSizerItem *) ((arg1)->sizer_item); | |
9886 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
9887 | return resultobj; | |
9888 | fail: | |
9889 | return NULL; | |
9890 | } | |
9891 | ||
9892 | ||
9893 | SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9894 | PyObject *resultobj = 0; | |
9895 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9896 | wxRect *arg2 = (wxRect *) 0 ; | |
9897 | void *argp1 = 0 ; | |
9898 | int res1 = 0 ; | |
9899 | void *argp2 = 0 ; | |
9900 | int res2 = 0 ; | |
9901 | PyObject *swig_obj[2] ; | |
9902 | ||
9903 | if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; | |
9904 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9905 | if (!SWIG_IsOK(res1)) { | |
9906 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9907 | } | |
9908 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9909 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
9910 | if (!SWIG_IsOK(res2)) { | |
9911 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
9912 | } | |
9913 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9914 | if (arg1) (arg1)->rect = *arg2; | |
9915 | ||
9916 | resultobj = SWIG_Py_Void(); | |
9917 | return resultobj; | |
9918 | fail: | |
9919 | return NULL; | |
9920 | } | |
9921 | ||
9922 | ||
9923 | SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9924 | PyObject *resultobj = 0; | |
9925 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9926 | wxRect *result = 0 ; | |
9927 | void *argp1 = 0 ; | |
9928 | int res1 = 0 ; | |
9929 | PyObject *swig_obj[1] ; | |
9930 | ||
9931 | if (!args) SWIG_fail; | |
9932 | swig_obj[0] = args; | |
9933 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 ); | |
9934 | if (!SWIG_IsOK(res1)) { | |
9935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9936 | } | |
9937 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9938 | result = (wxRect *)& ((arg1)->rect); | |
9939 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9940 | return resultobj; | |
9941 | fail: | |
9942 | return NULL; | |
9943 | } | |
9944 | ||
9945 | ||
72ef6efb RD |
9946 | SWIGINTERN PyObject *_wrap_delete_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9947 | PyObject *resultobj = 0; | |
9948 | wxDockUIPart *arg1 = (wxDockUIPart *) 0 ; | |
9949 | void *argp1 = 0 ; | |
9950 | int res1 = 0 ; | |
9951 | PyObject *swig_obj[1] ; | |
9952 | ||
9953 | if (!args) SWIG_fail; | |
9954 | swig_obj[0] = args; | |
9955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_DISOWN | 0 ); | |
9956 | if (!SWIG_IsOK(res1)) { | |
9957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockUIPart" "', expected argument " "1"" of type '" "wxDockUIPart *""'"); | |
9958 | } | |
9959 | arg1 = reinterpret_cast< wxDockUIPart * >(argp1); | |
9960 | { | |
9961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9962 | delete_wxDockUIPart(arg1); | |
9963 | ||
9964 | wxPyEndAllowThreads(__tstate); | |
9965 | if (PyErr_Occurred()) SWIG_fail; | |
9966 | } | |
9967 | resultobj = SWIG_Py_Void(); | |
9968 | return resultobj; | |
9969 | fail: | |
9970 | return NULL; | |
9971 | } | |
9972 | ||
9973 | ||
27e45892 RD |
9974 | SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9975 | PyObject *obj; | |
9976 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
9977 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj)); | |
9978 | return SWIG_Py_Void(); | |
9979 | } | |
9980 | ||
9981 | SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9982 | PyObject *resultobj = 0; | |
9983 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
9984 | int arg2 ; | |
9985 | void *argp1 = 0 ; | |
9986 | int res1 = 0 ; | |
9987 | int val2 ; | |
9988 | int ecode2 = 0 ; | |
9989 | PyObject *swig_obj[2] ; | |
9990 | ||
9991 | if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; | |
9992 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
9993 | if (!SWIG_IsOK(res1)) { | |
9994 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
9995 | } | |
9996 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
9997 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
9998 | if (!SWIG_IsOK(ecode2)) { | |
9999 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); | |
10000 | } | |
10001 | arg2 = static_cast< int >(val2); | |
10002 | if (arg1) (arg1)->button_id = arg2; | |
10003 | ||
10004 | resultobj = SWIG_Py_Void(); | |
10005 | return resultobj; | |
10006 | fail: | |
10007 | return NULL; | |
10008 | } | |
10009 | ||
10010 | ||
10011 | SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10012 | PyObject *resultobj = 0; | |
10013 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
10014 | int result; | |
10015 | void *argp1 = 0 ; | |
10016 | int res1 = 0 ; | |
10017 | PyObject *swig_obj[1] ; | |
10018 | ||
10019 | if (!args) SWIG_fail; | |
10020 | swig_obj[0] = args; | |
10021 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 ); | |
10022 | if (!SWIG_IsOK(res1)) { | |
10023 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
10024 | } | |
10025 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
10026 | result = (int) ((arg1)->button_id); | |
10027 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10028 | return resultobj; | |
10029 | fail: | |
10030 | return NULL; | |
10031 | } | |
10032 | ||
10033 | ||
72ef6efb RD |
10034 | SWIGINTERN PyObject *_wrap_delete_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10035 | PyObject *resultobj = 0; | |
10036 | wxPaneButton *arg1 = (wxPaneButton *) 0 ; | |
10037 | void *argp1 = 0 ; | |
10038 | int res1 = 0 ; | |
10039 | PyObject *swig_obj[1] ; | |
10040 | ||
10041 | if (!args) SWIG_fail; | |
10042 | swig_obj[0] = args; | |
10043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
10044 | if (!SWIG_IsOK(res1)) { | |
10045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneButton" "', expected argument " "1"" of type '" "wxPaneButton *""'"); | |
10046 | } | |
10047 | arg1 = reinterpret_cast< wxPaneButton * >(argp1); | |
10048 | { | |
10049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10050 | delete_wxPaneButton(arg1); | |
10051 | ||
10052 | wxPyEndAllowThreads(__tstate); | |
10053 | if (PyErr_Occurred()) SWIG_fail; | |
10054 | } | |
10055 | resultobj = SWIG_Py_Void(); | |
10056 | return resultobj; | |
10057 | fail: | |
10058 | return NULL; | |
10059 | } | |
10060 | ||
10061 | ||
27e45892 RD |
10062 | SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10063 | PyObject *obj; | |
10064 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10065 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj)); | |
10066 | return SWIG_Py_Void(); | |
10067 | } | |
10068 | ||
10069 | SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10070 | PyObject *resultobj = 0; | |
10071 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10072 | void *argp1 = 0 ; | |
10073 | int res1 = 0 ; | |
10074 | PyObject *swig_obj[1] ; | |
10075 | ||
10076 | if (!args) SWIG_fail; | |
10077 | swig_obj[0] = args; | |
10078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 ); | |
10079 | if (!SWIG_IsOK(res1)) { | |
10080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10081 | } | |
10082 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10083 | { | |
10084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10085 | delete arg1; | |
10086 | ||
10087 | wxPyEndAllowThreads(__tstate); | |
10088 | if (PyErr_Occurred()) SWIG_fail; | |
10089 | } | |
10090 | resultobj = SWIG_Py_Void(); | |
10091 | return resultobj; | |
10092 | fail: | |
10093 | return NULL; | |
10094 | } | |
10095 | ||
10096 | ||
10097 | SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10098 | PyObject *resultobj = 0; | |
10099 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10100 | int arg2 ; | |
10101 | int result; | |
10102 | void *argp1 = 0 ; | |
10103 | int res1 = 0 ; | |
10104 | int val2 ; | |
10105 | int ecode2 = 0 ; | |
10106 | PyObject * obj0 = 0 ; | |
10107 | PyObject * obj1 = 0 ; | |
10108 | char * kwnames[] = { | |
10109 | (char *) "self",(char *) "id", NULL | |
10110 | }; | |
10111 | ||
10112 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; | |
10113 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10114 | if (!SWIG_IsOK(res1)) { | |
10115 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10116 | } | |
10117 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10118 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10119 | if (!SWIG_IsOK(ecode2)) { | |
10120 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); | |
10121 | } | |
10122 | arg2 = static_cast< int >(val2); | |
10123 | { | |
10124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10125 | result = (int)(arg1)->GetMetric(arg2); | |
10126 | wxPyEndAllowThreads(__tstate); | |
10127 | if (PyErr_Occurred()) SWIG_fail; | |
10128 | } | |
10129 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10130 | return resultobj; | |
10131 | fail: | |
10132 | return NULL; | |
10133 | } | |
10134 | ||
10135 | ||
10136 | SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10137 | PyObject *resultobj = 0; | |
10138 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10139 | int arg2 ; | |
10140 | int arg3 ; | |
10141 | void *argp1 = 0 ; | |
10142 | int res1 = 0 ; | |
10143 | int val2 ; | |
10144 | int ecode2 = 0 ; | |
10145 | int val3 ; | |
10146 | int ecode3 = 0 ; | |
10147 | PyObject * obj0 = 0 ; | |
10148 | PyObject * obj1 = 0 ; | |
10149 | PyObject * obj2 = 0 ; | |
10150 | char * kwnames[] = { | |
10151 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10152 | }; | |
10153 | ||
10154 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10155 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10156 | if (!SWIG_IsOK(res1)) { | |
10157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10158 | } | |
10159 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10160 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10161 | if (!SWIG_IsOK(ecode2)) { | |
10162 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); | |
10163 | } | |
10164 | arg2 = static_cast< int >(val2); | |
10165 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10166 | if (!SWIG_IsOK(ecode3)) { | |
10167 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); | |
10168 | } | |
10169 | arg3 = static_cast< int >(val3); | |
10170 | { | |
10171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10172 | (arg1)->SetMetric(arg2,arg3); | |
10173 | wxPyEndAllowThreads(__tstate); | |
10174 | if (PyErr_Occurred()) SWIG_fail; | |
10175 | } | |
10176 | resultobj = SWIG_Py_Void(); | |
10177 | return resultobj; | |
10178 | fail: | |
10179 | return NULL; | |
10180 | } | |
10181 | ||
10182 | ||
10183 | SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10184 | PyObject *resultobj = 0; | |
10185 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10186 | int arg2 ; | |
10187 | wxFont *arg3 = 0 ; | |
10188 | void *argp1 = 0 ; | |
10189 | int res1 = 0 ; | |
10190 | int val2 ; | |
10191 | int ecode2 = 0 ; | |
10192 | void *argp3 = 0 ; | |
10193 | int res3 = 0 ; | |
10194 | PyObject * obj0 = 0 ; | |
10195 | PyObject * obj1 = 0 ; | |
10196 | PyObject * obj2 = 0 ; | |
10197 | char * kwnames[] = { | |
10198 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10199 | }; | |
10200 | ||
10201 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10202 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10203 | if (!SWIG_IsOK(res1)) { | |
10204 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10205 | } | |
10206 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10207 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10208 | if (!SWIG_IsOK(ecode2)) { | |
10209 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); | |
10210 | } | |
10211 | arg2 = static_cast< int >(val2); | |
10212 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10213 | if (!SWIG_IsOK(res3)) { | |
10214 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
10215 | } | |
10216 | if (!argp3) { | |
10217 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
10218 | } | |
10219 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10220 | { | |
10221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10222 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10223 | wxPyEndAllowThreads(__tstate); | |
10224 | if (PyErr_Occurred()) SWIG_fail; | |
10225 | } | |
10226 | resultobj = SWIG_Py_Void(); | |
10227 | return resultobj; | |
10228 | fail: | |
10229 | return NULL; | |
10230 | } | |
10231 | ||
10232 | ||
10233 | SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10234 | PyObject *resultobj = 0; | |
10235 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10236 | int arg2 ; | |
10237 | wxFont result; | |
10238 | void *argp1 = 0 ; | |
10239 | int res1 = 0 ; | |
10240 | int val2 ; | |
10241 | int ecode2 = 0 ; | |
10242 | PyObject * obj0 = 0 ; | |
10243 | PyObject * obj1 = 0 ; | |
10244 | char * kwnames[] = { | |
10245 | (char *) "self",(char *) "id", NULL | |
10246 | }; | |
10247 | ||
10248 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
10249 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10250 | if (!SWIG_IsOK(res1)) { | |
10251 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10252 | } | |
10253 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10254 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10255 | if (!SWIG_IsOK(ecode2)) { | |
10256 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); | |
10257 | } | |
10258 | arg2 = static_cast< int >(val2); | |
10259 | { | |
10260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10261 | result = (arg1)->GetFont(arg2); | |
10262 | wxPyEndAllowThreads(__tstate); | |
10263 | if (PyErr_Occurred()) SWIG_fail; | |
10264 | } | |
10265 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10266 | return resultobj; | |
10267 | fail: | |
10268 | return NULL; | |
10269 | } | |
10270 | ||
10271 | ||
10272 | SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10273 | PyObject *resultobj = 0; | |
10274 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10275 | int arg2 ; | |
10276 | wxColour result; | |
10277 | void *argp1 = 0 ; | |
10278 | int res1 = 0 ; | |
10279 | int val2 ; | |
10280 | int ecode2 = 0 ; | |
10281 | PyObject * obj0 = 0 ; | |
10282 | PyObject * obj1 = 0 ; | |
10283 | char * kwnames[] = { | |
10284 | (char *) "self",(char *) "id", NULL | |
10285 | }; | |
10286 | ||
10287 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; | |
10288 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10289 | if (!SWIG_IsOK(res1)) { | |
10290 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10291 | } | |
10292 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10293 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10294 | if (!SWIG_IsOK(ecode2)) { | |
10295 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); | |
10296 | } | |
10297 | arg2 = static_cast< int >(val2); | |
10298 | { | |
10299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10300 | result = (arg1)->GetColour(arg2); | |
10301 | wxPyEndAllowThreads(__tstate); | |
10302 | if (PyErr_Occurred()) SWIG_fail; | |
10303 | } | |
10304 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10305 | return resultobj; | |
10306 | fail: | |
10307 | return NULL; | |
10308 | } | |
10309 | ||
10310 | ||
10311 | SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10312 | PyObject *resultobj = 0; | |
10313 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10314 | int arg2 ; | |
10315 | wxColor *arg3 = 0 ; | |
10316 | void *argp1 = 0 ; | |
10317 | int res1 = 0 ; | |
10318 | int val2 ; | |
10319 | int ecode2 = 0 ; | |
10320 | void *argp3 = 0 ; | |
10321 | int res3 = 0 ; | |
10322 | PyObject * obj0 = 0 ; | |
10323 | PyObject * obj1 = 0 ; | |
10324 | PyObject * obj2 = 0 ; | |
10325 | char * kwnames[] = { | |
10326 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10327 | }; | |
10328 | ||
10329 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10330 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10331 | if (!SWIG_IsOK(res1)) { | |
10332 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10333 | } | |
10334 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10335 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10336 | if (!SWIG_IsOK(ecode2)) { | |
10337 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); | |
10338 | } | |
10339 | arg2 = static_cast< int >(val2); | |
10340 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10341 | if (!SWIG_IsOK(res3)) { | |
10342 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); | |
10343 | } | |
10344 | if (!argp3) { | |
10345 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); | |
10346 | } | |
10347 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
10348 | { | |
10349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10350 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
10351 | wxPyEndAllowThreads(__tstate); | |
10352 | if (PyErr_Occurred()) SWIG_fail; | |
10353 | } | |
10354 | resultobj = SWIG_Py_Void(); | |
10355 | return resultobj; | |
10356 | fail: | |
10357 | return NULL; | |
10358 | } | |
10359 | ||
10360 | ||
10361 | SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10362 | PyObject *resultobj = 0; | |
10363 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10364 | int arg2 ; | |
10365 | wxColour result; | |
10366 | void *argp1 = 0 ; | |
10367 | int res1 = 0 ; | |
10368 | int val2 ; | |
10369 | int ecode2 = 0 ; | |
10370 | PyObject * obj0 = 0 ; | |
10371 | PyObject * obj1 = 0 ; | |
10372 | char * kwnames[] = { | |
10373 | (char *) "self",(char *) "id", NULL | |
10374 | }; | |
10375 | ||
10376 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; | |
10377 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10378 | if (!SWIG_IsOK(res1)) { | |
10379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10380 | } | |
10381 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10382 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10383 | if (!SWIG_IsOK(ecode2)) { | |
10384 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); | |
10385 | } | |
10386 | arg2 = static_cast< int >(val2); | |
10387 | { | |
10388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10389 | result = (arg1)->GetColor(arg2); | |
10390 | wxPyEndAllowThreads(__tstate); | |
10391 | if (PyErr_Occurred()) SWIG_fail; | |
10392 | } | |
10393 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10394 | return resultobj; | |
10395 | fail: | |
10396 | return NULL; | |
10397 | } | |
10398 | ||
10399 | ||
10400 | SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10401 | PyObject *resultobj = 0; | |
10402 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10403 | int arg2 ; | |
10404 | wxColour *arg3 = 0 ; | |
10405 | void *argp1 = 0 ; | |
10406 | int res1 = 0 ; | |
10407 | int val2 ; | |
10408 | int ecode2 = 0 ; | |
10409 | wxColour temp3 ; | |
10410 | PyObject * obj0 = 0 ; | |
10411 | PyObject * obj1 = 0 ; | |
10412 | PyObject * obj2 = 0 ; | |
10413 | char * kwnames[] = { | |
10414 | (char *) "self",(char *) "id",(char *) "color", NULL | |
10415 | }; | |
10416 | ||
10417 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10418 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); | |
10419 | if (!SWIG_IsOK(res1)) { | |
10420 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10421 | } | |
10422 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10423 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10424 | if (!SWIG_IsOK(ecode2)) { | |
10425 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); | |
10426 | } | |
10427 | arg2 = static_cast< int >(val2); | |
10428 | { | |
10429 | arg3 = &temp3; | |
10430 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10431 | } | |
10432 | { | |
10433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10434 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
10435 | wxPyEndAllowThreads(__tstate); | |
10436 | if (PyErr_Occurred()) SWIG_fail; | |
10437 | } | |
10438 | resultobj = SWIG_Py_Void(); | |
10439 | return resultobj; | |
10440 | fail: | |
10441 | return NULL; | |
10442 | } | |
10443 | ||
10444 | ||
10445 | SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10446 | PyObject *resultobj = 0; | |
10447 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10448 | wxDC *arg2 = 0 ; | |
97ab0f6a RD |
10449 | wxWindow *arg3 = (wxWindow *) 0 ; |
10450 | int arg4 ; | |
10451 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10452 | void *argp1 = 0 ; |
10453 | int res1 = 0 ; | |
10454 | void *argp2 = 0 ; | |
10455 | int res2 = 0 ; | |
97ab0f6a RD |
10456 | void *argp3 = 0 ; |
10457 | int res3 = 0 ; | |
10458 | int val4 ; | |
10459 | int ecode4 = 0 ; | |
10460 | wxRect temp5 ; | |
27e45892 RD |
10461 | PyObject * obj0 = 0 ; |
10462 | PyObject * obj1 = 0 ; | |
10463 | PyObject * obj2 = 0 ; | |
10464 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10465 | PyObject * obj4 = 0 ; |
27e45892 | 10466 | char * kwnames[] = { |
97ab0f6a | 10467 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10468 | }; |
10469 | ||
97ab0f6a | 10470 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10471 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10472 | if (!SWIG_IsOK(res1)) { | |
10473 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10474 | } | |
10475 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10476 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10477 | if (!SWIG_IsOK(res2)) { | |
10478 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10479 | } | |
10480 | if (!argp2) { | |
10481 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10482 | } | |
10483 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10484 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10485 | if (!SWIG_IsOK(res3)) { | |
10486 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10487 | } | |
10488 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10489 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10490 | if (!SWIG_IsOK(ecode4)) { | |
10491 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); | |
27e45892 | 10492 | } |
97ab0f6a | 10493 | arg4 = static_cast< int >(val4); |
27e45892 | 10494 | { |
97ab0f6a RD |
10495 | arg5 = &temp5; |
10496 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10497 | } |
10498 | { | |
10499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10500 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10501 | wxPyEndAllowThreads(__tstate); |
10502 | if (PyErr_Occurred()) SWIG_fail; | |
10503 | } | |
10504 | resultobj = SWIG_Py_Void(); | |
10505 | return resultobj; | |
10506 | fail: | |
10507 | return NULL; | |
10508 | } | |
10509 | ||
10510 | ||
10511 | SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10512 | PyObject *resultobj = 0; | |
10513 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10514 | wxDC *arg2 = 0 ; | |
97ab0f6a RD |
10515 | wxWindow *arg3 = (wxWindow *) 0 ; |
10516 | int arg4 ; | |
10517 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10518 | void *argp1 = 0 ; |
10519 | int res1 = 0 ; | |
10520 | void *argp2 = 0 ; | |
10521 | int res2 = 0 ; | |
97ab0f6a RD |
10522 | void *argp3 = 0 ; |
10523 | int res3 = 0 ; | |
10524 | int val4 ; | |
10525 | int ecode4 = 0 ; | |
10526 | wxRect temp5 ; | |
27e45892 RD |
10527 | PyObject * obj0 = 0 ; |
10528 | PyObject * obj1 = 0 ; | |
10529 | PyObject * obj2 = 0 ; | |
10530 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10531 | PyObject * obj4 = 0 ; |
27e45892 | 10532 | char * kwnames[] = { |
97ab0f6a | 10533 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10534 | }; |
10535 | ||
97ab0f6a | 10536 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10537 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10538 | if (!SWIG_IsOK(res1)) { | |
10539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10540 | } | |
10541 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10542 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10543 | if (!SWIG_IsOK(res2)) { | |
10544 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10545 | } | |
10546 | if (!argp2) { | |
10547 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10548 | } | |
10549 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10550 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10551 | if (!SWIG_IsOK(res3)) { | |
10552 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10553 | } | |
10554 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10555 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10556 | if (!SWIG_IsOK(ecode4)) { | |
10557 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); | |
27e45892 | 10558 | } |
97ab0f6a | 10559 | arg4 = static_cast< int >(val4); |
27e45892 | 10560 | { |
97ab0f6a RD |
10561 | arg5 = &temp5; |
10562 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10563 | } |
10564 | { | |
10565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10566 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10567 | wxPyEndAllowThreads(__tstate); |
10568 | if (PyErr_Occurred()) SWIG_fail; | |
10569 | } | |
10570 | resultobj = SWIG_Py_Void(); | |
10571 | return resultobj; | |
10572 | fail: | |
10573 | return NULL; | |
10574 | } | |
10575 | ||
10576 | ||
10577 | SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10578 | PyObject *resultobj = 0; | |
10579 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10580 | wxDC *arg2 = 0 ; | |
97ab0f6a RD |
10581 | wxWindow *arg3 = (wxWindow *) 0 ; |
10582 | wxString *arg4 = 0 ; | |
10583 | wxRect *arg5 = 0 ; | |
10584 | wxPaneInfo *arg6 = 0 ; | |
27e45892 RD |
10585 | void *argp1 = 0 ; |
10586 | int res1 = 0 ; | |
10587 | void *argp2 = 0 ; | |
10588 | int res2 = 0 ; | |
97ab0f6a RD |
10589 | void *argp3 = 0 ; |
10590 | int res3 = 0 ; | |
10591 | bool temp4 = false ; | |
10592 | wxRect temp5 ; | |
10593 | void *argp6 = 0 ; | |
10594 | int res6 = 0 ; | |
27e45892 RD |
10595 | PyObject * obj0 = 0 ; |
10596 | PyObject * obj1 = 0 ; | |
10597 | PyObject * obj2 = 0 ; | |
10598 | PyObject * obj3 = 0 ; | |
10599 | PyObject * obj4 = 0 ; | |
97ab0f6a | 10600 | PyObject * obj5 = 0 ; |
27e45892 | 10601 | char * kwnames[] = { |
97ab0f6a | 10602 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10603 | }; |
10604 | ||
97ab0f6a | 10605 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
27e45892 RD |
10606 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10607 | if (!SWIG_IsOK(res1)) { | |
10608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10609 | } | |
10610 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10611 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10612 | if (!SWIG_IsOK(res2)) { | |
10613 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10614 | } | |
10615 | if (!argp2) { | |
10616 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10617 | } | |
10618 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10619 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10620 | if (!SWIG_IsOK(res3)) { | |
10621 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10622 | } | |
10623 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10624 | { |
97ab0f6a RD |
10625 | arg4 = wxString_in_helper(obj3); |
10626 | if (arg4 == NULL) SWIG_fail; | |
10627 | temp4 = true; | |
27e45892 RD |
10628 | } |
10629 | { | |
97ab0f6a RD |
10630 | arg5 = &temp5; |
10631 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 10632 | } |
97ab0f6a RD |
10633 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 ); |
10634 | if (!SWIG_IsOK(res6)) { | |
10635 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10636 | } |
97ab0f6a RD |
10637 | if (!argp6) { |
10638 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10639 | } |
97ab0f6a | 10640 | arg6 = reinterpret_cast< wxPaneInfo * >(argp6); |
27e45892 RD |
10641 | { |
10642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10643 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
10644 | wxPyEndAllowThreads(__tstate); |
10645 | if (PyErr_Occurred()) SWIG_fail; | |
10646 | } | |
10647 | resultobj = SWIG_Py_Void(); | |
10648 | { | |
97ab0f6a RD |
10649 | if (temp4) |
10650 | delete arg4; | |
27e45892 RD |
10651 | } |
10652 | return resultobj; | |
10653 | fail: | |
10654 | { | |
97ab0f6a RD |
10655 | if (temp4) |
10656 | delete arg4; | |
27e45892 RD |
10657 | } |
10658 | return NULL; | |
10659 | } | |
10660 | ||
10661 | ||
10662 | SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10663 | PyObject *resultobj = 0; | |
10664 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10665 | wxDC *arg2 = 0 ; | |
97ab0f6a RD |
10666 | wxWindow *arg3 = (wxWindow *) 0 ; |
10667 | wxRect *arg4 = 0 ; | |
10668 | wxPaneInfo *arg5 = 0 ; | |
27e45892 RD |
10669 | void *argp1 = 0 ; |
10670 | int res1 = 0 ; | |
10671 | void *argp2 = 0 ; | |
10672 | int res2 = 0 ; | |
97ab0f6a RD |
10673 | void *argp3 = 0 ; |
10674 | int res3 = 0 ; | |
10675 | wxRect temp4 ; | |
10676 | void *argp5 = 0 ; | |
10677 | int res5 = 0 ; | |
27e45892 RD |
10678 | PyObject * obj0 = 0 ; |
10679 | PyObject * obj1 = 0 ; | |
10680 | PyObject * obj2 = 0 ; | |
10681 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10682 | PyObject * obj4 = 0 ; |
27e45892 | 10683 | char * kwnames[] = { |
97ab0f6a | 10684 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10685 | }; |
10686 | ||
97ab0f6a | 10687 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10688 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10689 | if (!SWIG_IsOK(res1)) { | |
10690 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10691 | } | |
10692 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10693 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10694 | if (!SWIG_IsOK(res2)) { | |
10695 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10696 | } | |
10697 | if (!argp2) { | |
10698 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10699 | } | |
10700 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10701 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10702 | if (!SWIG_IsOK(res3)) { | |
10703 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10704 | } | |
10705 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10706 | { |
97ab0f6a RD |
10707 | arg4 = &temp4; |
10708 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 10709 | } |
97ab0f6a RD |
10710 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 ); |
10711 | if (!SWIG_IsOK(res5)) { | |
10712 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10713 | } |
97ab0f6a RD |
10714 | if (!argp5) { |
10715 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10716 | } |
97ab0f6a | 10717 | arg5 = reinterpret_cast< wxPaneInfo * >(argp5); |
27e45892 RD |
10718 | { |
10719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10720 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
10721 | wxPyEndAllowThreads(__tstate); |
10722 | if (PyErr_Occurred()) SWIG_fail; | |
10723 | } | |
10724 | resultobj = SWIG_Py_Void(); | |
10725 | return resultobj; | |
10726 | fail: | |
10727 | return NULL; | |
10728 | } | |
10729 | ||
10730 | ||
10731 | SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10732 | PyObject *resultobj = 0; | |
10733 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10734 | wxDC *arg2 = 0 ; | |
97ab0f6a RD |
10735 | wxWindow *arg3 = (wxWindow *) 0 ; |
10736 | wxRect *arg4 = 0 ; | |
10737 | wxPaneInfo *arg5 = 0 ; | |
27e45892 RD |
10738 | void *argp1 = 0 ; |
10739 | int res1 = 0 ; | |
10740 | void *argp2 = 0 ; | |
10741 | int res2 = 0 ; | |
97ab0f6a RD |
10742 | void *argp3 = 0 ; |
10743 | int res3 = 0 ; | |
10744 | wxRect temp4 ; | |
10745 | void *argp5 = 0 ; | |
10746 | int res5 = 0 ; | |
27e45892 RD |
10747 | PyObject * obj0 = 0 ; |
10748 | PyObject * obj1 = 0 ; | |
10749 | PyObject * obj2 = 0 ; | |
10750 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10751 | PyObject * obj4 = 0 ; |
27e45892 | 10752 | char * kwnames[] = { |
97ab0f6a | 10753 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10754 | }; |
10755 | ||
97ab0f6a | 10756 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10757 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10758 | if (!SWIG_IsOK(res1)) { | |
10759 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10760 | } | |
10761 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10762 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10763 | if (!SWIG_IsOK(res2)) { | |
10764 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10765 | } | |
10766 | if (!argp2) { | |
10767 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10768 | } | |
10769 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10770 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10771 | if (!SWIG_IsOK(res3)) { | |
10772 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10773 | } | |
10774 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10775 | { |
97ab0f6a RD |
10776 | arg4 = &temp4; |
10777 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 10778 | } |
97ab0f6a RD |
10779 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 ); |
10780 | if (!SWIG_IsOK(res5)) { | |
10781 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10782 | } |
97ab0f6a RD |
10783 | if (!argp5) { |
10784 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10785 | } |
97ab0f6a | 10786 | arg5 = reinterpret_cast< wxPaneInfo * >(argp5); |
27e45892 RD |
10787 | { |
10788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10789 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
10790 | wxPyEndAllowThreads(__tstate); |
10791 | if (PyErr_Occurred()) SWIG_fail; | |
10792 | } | |
10793 | resultobj = SWIG_Py_Void(); | |
10794 | return resultobj; | |
10795 | fail: | |
10796 | return NULL; | |
10797 | } | |
10798 | ||
10799 | ||
10800 | SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10801 | PyObject *resultobj = 0; | |
10802 | wxDockArt *arg1 = (wxDockArt *) 0 ; | |
10803 | wxDC *arg2 = 0 ; | |
97ab0f6a | 10804 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 10805 | int arg4 ; |
97ab0f6a RD |
10806 | int arg5 ; |
10807 | wxRect *arg6 = 0 ; | |
10808 | wxPaneInfo *arg7 = 0 ; | |
27e45892 RD |
10809 | void *argp1 = 0 ; |
10810 | int res1 = 0 ; | |
10811 | void *argp2 = 0 ; | |
10812 | int res2 = 0 ; | |
97ab0f6a RD |
10813 | void *argp3 = 0 ; |
10814 | int res3 = 0 ; | |
27e45892 RD |
10815 | int val4 ; |
10816 | int ecode4 = 0 ; | |
97ab0f6a RD |
10817 | int val5 ; |
10818 | int ecode5 = 0 ; | |
10819 | wxRect temp6 ; | |
10820 | void *argp7 = 0 ; | |
10821 | int res7 = 0 ; | |
27e45892 RD |
10822 | PyObject * obj0 = 0 ; |
10823 | PyObject * obj1 = 0 ; | |
10824 | PyObject * obj2 = 0 ; | |
10825 | PyObject * obj3 = 0 ; | |
10826 | PyObject * obj4 = 0 ; | |
10827 | PyObject * obj5 = 0 ; | |
97ab0f6a | 10828 | PyObject * obj6 = 0 ; |
27e45892 | 10829 | char * kwnames[] = { |
97ab0f6a | 10830 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10831 | }; |
10832 | ||
97ab0f6a | 10833 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
27e45892 RD |
10834 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 ); |
10835 | if (!SWIG_IsOK(res1)) { | |
10836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'"); | |
10837 | } | |
10838 | arg1 = reinterpret_cast< wxDockArt * >(argp1); | |
10839 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10840 | if (!SWIG_IsOK(res2)) { | |
10841 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10842 | } | |
10843 | if (!argp2) { | |
10844 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
10845 | } | |
10846 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10847 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10848 | if (!SWIG_IsOK(res3)) { | |
10849 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
10850 | } | |
10851 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
10852 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
10853 | if (!SWIG_IsOK(ecode4)) { | |
10854 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); | |
10855 | } | |
10856 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
10857 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
10858 | if (!SWIG_IsOK(ecode5)) { | |
10859 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); | |
10860 | } | |
10861 | arg5 = static_cast< int >(val5); | |
27e45892 | 10862 | { |
97ab0f6a RD |
10863 | arg6 = &temp6; |
10864 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 10865 | } |
97ab0f6a RD |
10866 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxPaneInfo, 0 ); |
10867 | if (!SWIG_IsOK(res7)) { | |
10868 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10869 | } |
97ab0f6a RD |
10870 | if (!argp7) { |
10871 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'"); | |
27e45892 | 10872 | } |
97ab0f6a | 10873 | arg7 = reinterpret_cast< wxPaneInfo * >(argp7); |
27e45892 RD |
10874 | { |
10875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10876 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
10877 | wxPyEndAllowThreads(__tstate); |
10878 | if (PyErr_Occurred()) SWIG_fail; | |
10879 | } | |
10880 | resultobj = SWIG_Py_Void(); | |
10881 | return resultobj; | |
10882 | fail: | |
10883 | return NULL; | |
10884 | } | |
10885 | ||
10886 | ||
10887 | SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10888 | PyObject *obj; | |
10889 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10890 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj)); | |
10891 | return SWIG_Py_Void(); | |
10892 | } | |
10893 | ||
10894 | SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10895 | PyObject *resultobj = 0; | |
10896 | wxDefaultDockArt *result = 0 ; | |
10897 | ||
10898 | if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail; | |
10899 | { | |
10900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10901 | result = (wxDefaultDockArt *)new wxDefaultDockArt(); | |
10902 | wxPyEndAllowThreads(__tstate); | |
10903 | if (PyErr_Occurred()) SWIG_fail; | |
10904 | } | |
10905 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 ); | |
10906 | return resultobj; | |
10907 | fail: | |
10908 | return NULL; | |
10909 | } | |
10910 | ||
10911 | ||
10912 | SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10913 | PyObject *obj; | |
10914 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10915 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj)); | |
10916 | return SWIG_Py_Void(); | |
10917 | } | |
10918 | ||
10919 | SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10920 | return SWIG_Python_InitShadowInstance(args); | |
10921 | } | |
10922 | ||
10923 | SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10924 | PyObject *resultobj = 0; | |
10925 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10926 | wxFrameManager *arg2 = (wxFrameManager *) 0 ; | |
10927 | wxPaneInfo *arg3 = 0 ; | |
10928 | int arg4 = (int) wxID_ANY ; | |
9b940138 | 10929 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
27e45892 RD |
10930 | wxFloatingPane *result = 0 ; |
10931 | void *argp1 = 0 ; | |
10932 | int res1 = 0 ; | |
10933 | void *argp2 = 0 ; | |
10934 | int res2 = 0 ; | |
10935 | void *argp3 = 0 ; | |
10936 | int res3 = 0 ; | |
10937 | int val4 ; | |
10938 | int ecode4 = 0 ; | |
9b940138 RD |
10939 | long val5 ; |
10940 | int ecode5 = 0 ; | |
27e45892 RD |
10941 | PyObject * obj0 = 0 ; |
10942 | PyObject * obj1 = 0 ; | |
10943 | PyObject * obj2 = 0 ; | |
10944 | PyObject * obj3 = 0 ; | |
9b940138 | 10945 | PyObject * obj4 = 0 ; |
27e45892 | 10946 | char * kwnames[] = { |
9b940138 | 10947 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
10948 | }; |
10949 | ||
9b940138 | 10950 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
10951 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10952 | if (!SWIG_IsOK(res1)) { | |
10953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
10954 | } | |
10955 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
10956 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 ); | |
10957 | if (!SWIG_IsOK(res2)) { | |
10958 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'"); | |
10959 | } | |
10960 | arg2 = reinterpret_cast< wxFrameManager * >(argp2); | |
10961 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
10962 | if (!SWIG_IsOK(res3)) { | |
10963 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
10964 | } | |
10965 | if (!argp3) { | |
10966 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'"); | |
10967 | } | |
10968 | arg3 = reinterpret_cast< wxPaneInfo * >(argp3); | |
10969 | if (obj3) { | |
10970 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10971 | if (!SWIG_IsOK(ecode4)) { | |
10972 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'"); | |
10973 | } | |
10974 | arg4 = static_cast< int >(val4); | |
10975 | } | |
9b940138 RD |
10976 | if (obj4) { |
10977 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
10978 | if (!SWIG_IsOK(ecode5)) { | |
10979 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatingPane" "', expected argument " "5"" of type '" "long""'"); | |
10980 | } | |
10981 | arg5 = static_cast< long >(val5); | |
10982 | } | |
27e45892 RD |
10983 | { |
10984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9b940138 | 10985 | result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
10986 | wxPyEndAllowThreads(__tstate); |
10987 | if (PyErr_Occurred()) SWIG_fail; | |
10988 | } | |
10989 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 ); | |
10990 | return resultobj; | |
10991 | fail: | |
10992 | return NULL; | |
10993 | } | |
10994 | ||
10995 | ||
10996 | SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10997 | PyObject *resultobj = 0; | |
10998 | wxFloatingPane *arg1 = (wxFloatingPane *) 0 ; | |
10999 | void *argp1 = 0 ; | |
11000 | int res1 = 0 ; | |
11001 | PyObject *swig_obj[1] ; | |
11002 | ||
11003 | if (!args) SWIG_fail; | |
11004 | swig_obj[0] = args; | |
11005 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 ); | |
11006 | if (!SWIG_IsOK(res1)) { | |
11007 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'"); | |
11008 | } | |
11009 | arg1 = reinterpret_cast< wxFloatingPane * >(argp1); | |
11010 | { | |
11011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11012 | delete arg1; | |
11013 | ||
11014 | wxPyEndAllowThreads(__tstate); | |
11015 | if (PyErr_Occurred()) SWIG_fail; | |
11016 | } | |
11017 | resultobj = SWIG_Py_Void(); | |
11018 | return resultobj; | |
11019 | fail: | |
11020 | return NULL; | |
11021 | } | |
11022 | ||
11023 | ||
11024 | SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11025 | PyObject *resultobj = 0; | |
11026 | wxFloatingPane *arg1 = (wxFloatingPane *) 0 ; | |
11027 | wxPaneInfo *arg2 = 0 ; | |
11028 | void *argp1 = 0 ; | |
11029 | int res1 = 0 ; | |
11030 | void *argp2 = 0 ; | |
11031 | int res2 = 0 ; | |
11032 | PyObject * obj0 = 0 ; | |
11033 | PyObject * obj1 = 0 ; | |
11034 | char * kwnames[] = { | |
11035 | (char *) "self",(char *) "pane", NULL | |
11036 | }; | |
11037 | ||
11038 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
11039 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 ); | |
11040 | if (!SWIG_IsOK(res1)) { | |
11041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'"); | |
11042 | } | |
11043 | arg1 = reinterpret_cast< wxFloatingPane * >(argp1); | |
11044 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0); | |
11045 | if (!SWIG_IsOK(res2)) { | |
11046 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'"); | |
11047 | } | |
11048 | if (!argp2) { | |
11049 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'"); | |
11050 | } | |
11051 | arg2 = reinterpret_cast< wxPaneInfo * >(argp2); | |
11052 | { | |
11053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11054 | (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2); | |
11055 | wxPyEndAllowThreads(__tstate); | |
11056 | if (PyErr_Occurred()) SWIG_fail; | |
11057 | } | |
11058 | resultobj = SWIG_Py_Void(); | |
11059 | return resultobj; | |
11060 | fail: | |
11061 | return NULL; | |
11062 | } | |
11063 | ||
11064 | ||
11065 | SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11066 | PyObject *obj; | |
11067 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11068 | SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj)); | |
11069 | return SWIG_Py_Void(); | |
11070 | } | |
11071 | ||
11072 | SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11073 | return SWIG_Python_InitShadowInstance(args); | |
11074 | } | |
11075 | ||
5c8c7dd3 RD |
11076 | SWIGINTERN PyObject *_wrap_delete_TabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11077 | PyObject *resultobj = 0; | |
11078 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
11079 | void *argp1 = 0 ; | |
11080 | int res1 = 0 ; | |
11081 | PyObject *swig_obj[1] ; | |
11082 | ||
11083 | if (!args) SWIG_fail; | |
11084 | swig_obj[0] = args; | |
11085 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTabArt, SWIG_POINTER_DISOWN | 0 ); | |
11086 | if (!SWIG_IsOK(res1)) { | |
11087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TabArt" "', expected argument " "1"" of type '" "wxTabArt *""'"); | |
11088 | } | |
11089 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
11090 | { | |
11091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11092 | delete arg1; | |
11093 | ||
11094 | wxPyEndAllowThreads(__tstate); | |
11095 | if (PyErr_Occurred()) SWIG_fail; | |
11096 | } | |
11097 | resultobj = SWIG_Py_Void(); | |
11098 | return resultobj; | |
11099 | fail: | |
11100 | return NULL; | |
11101 | } | |
11102 | ||
11103 | ||
8f514ab4 RD |
11104 | SWIGINTERN PyObject *_wrap_TabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11105 | PyObject *resultobj = 0; | |
11106 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
11107 | wxFont *arg2 = 0 ; | |
11108 | void *argp1 = 0 ; | |
11109 | int res1 = 0 ; | |
11110 | void *argp2 = 0 ; | |
11111 | int res2 = 0 ; | |
11112 | PyObject * obj0 = 0 ; | |
11113 | PyObject * obj1 = 0 ; | |
11114 | char * kwnames[] = { | |
11115 | (char *) "self",(char *) "font", NULL | |
11116 | }; | |
11117 | ||
11118 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
11119 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
11120 | if (!SWIG_IsOK(res1)) { | |
11121 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxTabArt *""'"); | |
11122 | } | |
11123 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
11124 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
11125 | if (!SWIG_IsOK(res2)) { | |
11126 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
11127 | } | |
11128 | if (!argp2) { | |
11129 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
11130 | } | |
11131 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11132 | { | |
11133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11134 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
11135 | wxPyEndAllowThreads(__tstate); | |
11136 | if (PyErr_Occurred()) SWIG_fail; | |
11137 | } | |
11138 | resultobj = SWIG_Py_Void(); | |
11139 | return resultobj; | |
11140 | fail: | |
11141 | return NULL; | |
11142 | } | |
11143 | ||
11144 | ||
11145 | SWIGINTERN PyObject *_wrap_TabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11146 | PyObject *resultobj = 0; | |
11147 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
11148 | wxFont *arg2 = 0 ; | |
11149 | void *argp1 = 0 ; | |
11150 | int res1 = 0 ; | |
11151 | void *argp2 = 0 ; | |
11152 | int res2 = 0 ; | |
11153 | PyObject * obj0 = 0 ; | |
11154 | PyObject * obj1 = 0 ; | |
11155 | char * kwnames[] = { | |
11156 | (char *) "self",(char *) "font", NULL | |
11157 | }; | |
11158 | ||
11159 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
11160 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
11161 | if (!SWIG_IsOK(res1)) { | |
11162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxTabArt *""'"); | |
11163 | } | |
11164 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
11165 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
11166 | if (!SWIG_IsOK(res2)) { | |
11167 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
11168 | } | |
11169 | if (!argp2) { | |
11170 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
11171 | } | |
11172 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11173 | { | |
11174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11175 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
11176 | wxPyEndAllowThreads(__tstate); | |
11177 | if (PyErr_Occurred()) SWIG_fail; | |
11178 | } | |
11179 | resultobj = SWIG_Py_Void(); | |
11180 | return resultobj; | |
11181 | fail: | |
11182 | return NULL; | |
11183 | } | |
11184 | ||
11185 | ||
11186 | SWIGINTERN PyObject *_wrap_TabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11187 | PyObject *resultobj = 0; | |
11188 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
11189 | wxFont *arg2 = 0 ; | |
11190 | void *argp1 = 0 ; | |
11191 | int res1 = 0 ; | |
11192 | void *argp2 = 0 ; | |
11193 | int res2 = 0 ; | |
11194 | PyObject * obj0 = 0 ; | |
11195 | PyObject * obj1 = 0 ; | |
11196 | char * kwnames[] = { | |
11197 | (char *) "self",(char *) "font", NULL | |
11198 | }; | |
11199 | ||
11200 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
11201 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
11202 | if (!SWIG_IsOK(res1)) { | |
11203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxTabArt *""'"); | |
11204 | } | |
11205 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
11206 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
11207 | if (!SWIG_IsOK(res2)) { | |
11208 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
11209 | } | |
11210 | if (!argp2) { | |
11211 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
11212 | } | |
11213 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11214 | { | |
11215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11216 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
11217 | wxPyEndAllowThreads(__tstate); | |
11218 | if (PyErr_Occurred()) SWIG_fail; | |
11219 | } | |
11220 | resultobj = SWIG_Py_Void(); | |
11221 | return resultobj; | |
11222 | fail: | |
11223 | return NULL; | |
11224 | } | |
11225 | ||
11226 | ||
5c8c7dd3 RD |
11227 | SWIGINTERN PyObject *_wrap_TabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11228 | PyObject *resultobj = 0; | |
11229 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
11230 | wxDC *arg2 = (wxDC *) 0 ; | |
11231 | wxRect *arg3 = 0 ; | |
11232 | void *argp1 = 0 ; | |
11233 | int res1 = 0 ; | |
11234 | void *argp2 = 0 ; | |
11235 | int res2 = 0 ; | |
11236 | wxRect temp3 ; | |
11237 | PyObject * obj0 = 0 ; | |
11238 | PyObject * obj1 = 0 ; | |
11239 | PyObject * obj2 = 0 ; | |
11240 | char * kwnames[] = { | |
11241 | (char *) "self",(char *) "dc",(char *) "rect", NULL | |
11242 | }; | |
11243 | ||
11244 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11245 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
11246 | if (!SWIG_IsOK(res1)) { | |
11247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_DrawBackground" "', expected argument " "1"" of type '" "wxTabArt *""'"); | |
11248 | } | |
11249 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
11250 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
11251 | if (!SWIG_IsOK(res2)) { | |
11252 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC *""'"); | |
11253 | } | |
11254 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11255 | { | |
11256 | arg3 = &temp3; | |
11257 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
11258 | } | |
11259 | { | |
11260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11261 | (arg1)->DrawBackground(arg2,(wxRect const &)*arg3); | |
11262 | wxPyEndAllowThreads(__tstate); | |
11263 | if (PyErr_Occurred()) SWIG_fail; | |
11264 | } | |
11265 | resultobj = SWIG_Py_Void(); | |
11266 | return resultobj; | |
11267 | fail: | |
11268 | return NULL; | |
11269 | } | |
11270 | ||
11271 | ||
11272 | SWIGINTERN PyObject *_wrap_TabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11273 | PyObject *resultobj = 0; | |
11274 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
11275 | wxDC *arg2 = (wxDC *) 0 ; | |
11276 | wxRect *arg3 = 0 ; | |
11277 | wxString *arg4 = 0 ; | |
11278 | bool arg5 ; | |
11279 | wxRect *arg6 = (wxRect *) 0 ; | |
11280 | int *arg7 = (int *) 0 ; | |
11281 | void *argp1 = 0 ; | |
11282 | int res1 = 0 ; | |
11283 | void *argp2 = 0 ; | |
11284 | int res2 = 0 ; | |
11285 | wxRect temp3 ; | |
11286 | bool temp4 = false ; | |
11287 | bool val5 ; | |
11288 | int ecode5 = 0 ; | |
11289 | void *argp6 = 0 ; | |
11290 | int res6 = 0 ; | |
11291 | void *argp7 = 0 ; | |
11292 | int res7 = 0 ; | |
11293 | PyObject * obj0 = 0 ; | |
11294 | PyObject * obj1 = 0 ; | |
11295 | PyObject * obj2 = 0 ; | |
11296 | PyObject * obj3 = 0 ; | |
11297 | PyObject * obj4 = 0 ; | |
11298 | PyObject * obj5 = 0 ; | |
11299 | PyObject * obj6 = 0 ; | |
11300 | char * kwnames[] = { | |
11301 | (char *) "self",(char *) "dc",(char *) "in_rect",(char *) "caption",(char *) "active",(char *) "out_rect",(char *) "x_extent", NULL | |
11302 | }; | |
11303 | ||
11304 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:TabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
11305 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
11306 | if (!SWIG_IsOK(res1)) { | |
11307 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_DrawTab" "', expected argument " "1"" of type '" "wxTabArt *""'"); | |
11308 | } | |
11309 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
11310 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); | |
11311 | if (!SWIG_IsOK(res2)) { | |
11312 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC *""'"); | |
11313 | } | |
11314 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11315 | { | |
11316 | arg3 = &temp3; | |
11317 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
11318 | } | |
11319 | { | |
11320 | arg4 = wxString_in_helper(obj3); | |
11321 | if (arg4 == NULL) SWIG_fail; | |
11322 | temp4 = true; | |
11323 | } | |
11324 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
11325 | if (!SWIG_IsOK(ecode5)) { | |
11326 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TabArt_DrawTab" "', expected argument " "5"" of type '" "bool""'"); | |
11327 | } | |
11328 | arg5 = static_cast< bool >(val5); | |
11329 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11330 | if (!SWIG_IsOK(res6)) { | |
11331 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TabArt_DrawTab" "', expected argument " "6"" of type '" "wxRect *""'"); | |
11332 | } | |
11333 | arg6 = reinterpret_cast< wxRect * >(argp6); | |
11334 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 ); | |
11335 | if (!SWIG_IsOK(res7)) { | |
11336 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TabArt_DrawTab" "', expected argument " "7"" of type '" "int *""'"); | |
11337 | } | |
11338 | arg7 = reinterpret_cast< int * >(argp7); | |
11339 | { | |
11340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11341 | (arg1)->DrawTab(arg2,(wxRect const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
11342 | wxPyEndAllowThreads(__tstate); | |
11343 | if (PyErr_Occurred()) SWIG_fail; | |
11344 | } | |
11345 | resultobj = SWIG_Py_Void(); | |
11346 | { | |
11347 | if (temp4) | |
11348 | delete arg4; | |
11349 | } | |
11350 | return resultobj; | |
11351 | fail: | |
11352 | { | |
11353 | if (temp4) | |
11354 | delete arg4; | |
11355 | } | |
11356 | return NULL; | |
11357 | } | |
11358 | ||
11359 | ||
8f514ab4 | 11360 | SWIGINTERN PyObject *_wrap_TabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 RD |
11361 | PyObject *resultobj = 0; |
11362 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
8f514ab4 RD |
11363 | wxDC *arg2 = (wxDC *) 0 ; |
11364 | wxRect *arg3 = 0 ; | |
11365 | int arg4 ; | |
11366 | int arg5 ; | |
11367 | int arg6 ; | |
11368 | wxBitmap *arg7 = 0 ; | |
11369 | wxRect *arg8 = (wxRect *) 0 ; | |
5c8c7dd3 RD |
11370 | void *argp1 = 0 ; |
11371 | int res1 = 0 ; | |
11372 | void *argp2 = 0 ; | |
11373 | int res2 = 0 ; | |
8f514ab4 RD |
11374 | wxRect temp3 ; |
11375 | int val4 ; | |
11376 | int ecode4 = 0 ; | |
11377 | int val5 ; | |
11378 | int ecode5 = 0 ; | |
11379 | int val6 ; | |
11380 | int ecode6 = 0 ; | |
11381 | void *argp7 = 0 ; | |
11382 | int res7 = 0 ; | |
11383 | void *argp8 = 0 ; | |
11384 | int res8 = 0 ; | |
5c8c7dd3 RD |
11385 | PyObject * obj0 = 0 ; |
11386 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11387 | PyObject * obj2 = 0 ; |
11388 | PyObject * obj3 = 0 ; | |
11389 | PyObject * obj4 = 0 ; | |
11390 | PyObject * obj5 = 0 ; | |
11391 | PyObject * obj6 = 0 ; | |
11392 | PyObject * obj7 = 0 ; | |
5c8c7dd3 | 11393 | char * kwnames[] = { |
8f514ab4 | 11394 | (char *) "self",(char *) "dc",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL |
5c8c7dd3 RD |
11395 | }; |
11396 | ||
8f514ab4 | 11397 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:TabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
5c8c7dd3 RD |
11398 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); |
11399 | if (!SWIG_IsOK(res1)) { | |
8f514ab4 | 11400 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_DrawButton" "', expected argument " "1"" of type '" "wxTabArt *""'"); |
5c8c7dd3 RD |
11401 | } |
11402 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
8f514ab4 | 11403 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
5c8c7dd3 | 11404 | if (!SWIG_IsOK(res2)) { |
8f514ab4 | 11405 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 | 11406 | } |
8f514ab4 RD |
11407 | arg2 = reinterpret_cast< wxDC * >(argp2); |
11408 | { | |
11409 | arg3 = &temp3; | |
11410 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
5c8c7dd3 | 11411 | } |
8f514ab4 RD |
11412 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11413 | if (!SWIG_IsOK(ecode4)) { | |
11414 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TabArt_DrawButton" "', expected argument " "4"" of type '" "int""'"); | |
11415 | } | |
11416 | arg4 = static_cast< int >(val4); | |
11417 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11418 | if (!SWIG_IsOK(ecode5)) { | |
11419 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
11420 | } | |
11421 | arg5 = static_cast< int >(val5); | |
11422 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11423 | if (!SWIG_IsOK(ecode6)) { | |
11424 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
11425 | } | |
11426 | arg6 = static_cast< int >(val6); | |
11427 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxBitmap, 0 | 0); | |
11428 | if (!SWIG_IsOK(res7)) { | |
11429 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TabArt_DrawButton" "', expected argument " "7"" of type '" "wxBitmap const &""'"); | |
11430 | } | |
11431 | if (!argp7) { | |
11432 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_DrawButton" "', expected argument " "7"" of type '" "wxBitmap const &""'"); | |
11433 | } | |
11434 | arg7 = reinterpret_cast< wxBitmap * >(argp7); | |
11435 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11436 | if (!SWIG_IsOK(res8)) { | |
11437 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); | |
11438 | } | |
11439 | arg8 = reinterpret_cast< wxRect * >(argp8); | |
5c8c7dd3 RD |
11440 | { |
11441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 11442 | (arg1)->DrawButton(arg2,(wxRect const &)*arg3,arg4,arg5,arg6,(wxBitmap const &)*arg7,arg8); |
5c8c7dd3 RD |
11443 | wxPyEndAllowThreads(__tstate); |
11444 | if (PyErr_Occurred()) SWIG_fail; | |
11445 | } | |
11446 | resultobj = SWIG_Py_Void(); | |
11447 | return resultobj; | |
11448 | fail: | |
11449 | return NULL; | |
11450 | } | |
11451 | ||
11452 | ||
8f514ab4 | 11453 | SWIGINTERN PyObject *_wrap_TabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 RD |
11454 | PyObject *resultobj = 0; |
11455 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
8f514ab4 RD |
11456 | wxDC *arg2 = (wxDC *) 0 ; |
11457 | wxString *arg3 = 0 ; | |
11458 | bool arg4 ; | |
11459 | int *arg5 = (int *) 0 ; | |
11460 | wxSize result; | |
5c8c7dd3 RD |
11461 | void *argp1 = 0 ; |
11462 | int res1 = 0 ; | |
11463 | void *argp2 = 0 ; | |
11464 | int res2 = 0 ; | |
8f514ab4 RD |
11465 | bool temp3 = false ; |
11466 | bool val4 ; | |
11467 | int ecode4 = 0 ; | |
11468 | void *argp5 = 0 ; | |
11469 | int res5 = 0 ; | |
5c8c7dd3 RD |
11470 | PyObject * obj0 = 0 ; |
11471 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11472 | PyObject * obj2 = 0 ; |
11473 | PyObject * obj3 = 0 ; | |
11474 | PyObject * obj4 = 0 ; | |
5c8c7dd3 | 11475 | char * kwnames[] = { |
8f514ab4 | 11476 | (char *) "self",(char *) "dc",(char *) "caption",(char *) "active",(char *) "x_extent", NULL |
5c8c7dd3 RD |
11477 | }; |
11478 | ||
8f514ab4 | 11479 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:TabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
5c8c7dd3 RD |
11480 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); |
11481 | if (!SWIG_IsOK(res1)) { | |
8f514ab4 | 11482 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_GetTabSize" "', expected argument " "1"" of type '" "wxTabArt *""'"); |
5c8c7dd3 RD |
11483 | } |
11484 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
8f514ab4 | 11485 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
5c8c7dd3 | 11486 | if (!SWIG_IsOK(res2)) { |
8f514ab4 | 11487 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 | 11488 | } |
8f514ab4 RD |
11489 | arg2 = reinterpret_cast< wxDC * >(argp2); |
11490 | { | |
11491 | arg3 = wxString_in_helper(obj2); | |
11492 | if (arg3 == NULL) SWIG_fail; | |
11493 | temp3 = true; | |
5c8c7dd3 | 11494 | } |
8f514ab4 RD |
11495 | ecode4 = SWIG_AsVal_bool(obj3, &val4); |
11496 | if (!SWIG_IsOK(ecode4)) { | |
11497 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TabArt_GetTabSize" "', expected argument " "4"" of type '" "bool""'"); | |
11498 | } | |
11499 | arg4 = static_cast< bool >(val4); | |
11500 | res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 ); | |
11501 | if (!SWIG_IsOK(res5)) { | |
11502 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TabArt_GetTabSize" "', expected argument " "5"" of type '" "int *""'"); | |
11503 | } | |
11504 | arg5 = reinterpret_cast< int * >(argp5); | |
5c8c7dd3 RD |
11505 | { |
11506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 11507 | result = (arg1)->GetTabSize(arg2,(wxString const &)*arg3,arg4,arg5); |
5c8c7dd3 RD |
11508 | wxPyEndAllowThreads(__tstate); |
11509 | if (PyErr_Occurred()) SWIG_fail; | |
11510 | } | |
8f514ab4 RD |
11511 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); |
11512 | { | |
11513 | if (temp3) | |
11514 | delete arg3; | |
11515 | } | |
5c8c7dd3 RD |
11516 | return resultobj; |
11517 | fail: | |
8f514ab4 RD |
11518 | { |
11519 | if (temp3) | |
11520 | delete arg3; | |
11521 | } | |
5c8c7dd3 RD |
11522 | return NULL; |
11523 | } | |
11524 | ||
11525 | ||
8f514ab4 | 11526 | SWIGINTERN PyObject *_wrap_TabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 RD |
11527 | PyObject *resultobj = 0; |
11528 | wxTabArt *arg1 = (wxTabArt *) 0 ; | |
8f514ab4 RD |
11529 | wxWindow *arg2 = (wxWindow *) 0 ; |
11530 | int result; | |
5c8c7dd3 RD |
11531 | void *argp1 = 0 ; |
11532 | int res1 = 0 ; | |
11533 | void *argp2 = 0 ; | |
11534 | int res2 = 0 ; | |
11535 | PyObject * obj0 = 0 ; | |
11536 | PyObject * obj1 = 0 ; | |
11537 | char * kwnames[] = { | |
8f514ab4 | 11538 | (char *) "self",(char *) "wnd", NULL |
5c8c7dd3 RD |
11539 | }; |
11540 | ||
8f514ab4 | 11541 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1)) SWIG_fail; |
5c8c7dd3 RD |
11542 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 ); |
11543 | if (!SWIG_IsOK(res1)) { | |
8f514ab4 | 11544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxTabArt *""'"); |
5c8c7dd3 RD |
11545 | } |
11546 | arg1 = reinterpret_cast< wxTabArt * >(argp1); | |
8f514ab4 | 11547 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
5c8c7dd3 | 11548 | if (!SWIG_IsOK(res2)) { |
8f514ab4 | 11549 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5c8c7dd3 | 11550 | } |
8f514ab4 | 11551 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
5c8c7dd3 RD |
11552 | { |
11553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 11554 | result = (int)(arg1)->GetBestTabCtrlSize(arg2); |
5c8c7dd3 RD |
11555 | wxPyEndAllowThreads(__tstate); |
11556 | if (PyErr_Occurred()) SWIG_fail; | |
11557 | } | |
8f514ab4 | 11558 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11559 | return resultobj; |
11560 | fail: | |
11561 | return NULL; | |
11562 | } | |
11563 | ||
11564 | ||
11565 | SWIGINTERN PyObject *TabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11566 | PyObject *obj; | |
11567 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11568 | SWIG_TypeNewClientData(SWIGTYPE_p_wxTabArt, SWIG_NewClientData(obj)); | |
11569 | return SWIG_Py_Void(); | |
11570 | } | |
11571 | ||
11572 | SWIGINTERN PyObject *_wrap_new_DefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11573 | PyObject *resultobj = 0; | |
11574 | wxDefaultTabArt *result = 0 ; | |
11575 | ||
11576 | if (!SWIG_Python_UnpackTuple(args,"new_DefaultTabArt",0,0,0)) SWIG_fail; | |
11577 | { | |
11578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11579 | result = (wxDefaultTabArt *)new wxDefaultTabArt(); | |
11580 | wxPyEndAllowThreads(__tstate); | |
11581 | if (PyErr_Occurred()) SWIG_fail; | |
11582 | } | |
11583 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
11584 | return resultobj; | |
11585 | fail: | |
11586 | return NULL; | |
11587 | } | |
11588 | ||
11589 | ||
11590 | SWIGINTERN PyObject *_wrap_delete_DefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11591 | PyObject *resultobj = 0; | |
11592 | wxDefaultTabArt *arg1 = (wxDefaultTabArt *) 0 ; | |
11593 | void *argp1 = 0 ; | |
11594 | int res1 = 0 ; | |
11595 | PyObject *swig_obj[1] ; | |
11596 | ||
11597 | if (!args) SWIG_fail; | |
11598 | swig_obj[0] = args; | |
11599 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); | |
11600 | if (!SWIG_IsOK(res1)) { | |
11601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DefaultTabArt" "', expected argument " "1"" of type '" "wxDefaultTabArt *""'"); | |
11602 | } | |
11603 | arg1 = reinterpret_cast< wxDefaultTabArt * >(argp1); | |
11604 | { | |
11605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11606 | delete arg1; | |
11607 | ||
11608 | wxPyEndAllowThreads(__tstate); | |
11609 | if (PyErr_Occurred()) SWIG_fail; | |
11610 | } | |
11611 | resultobj = SWIG_Py_Void(); | |
11612 | return resultobj; | |
11613 | fail: | |
11614 | return NULL; | |
11615 | } | |
11616 | ||
11617 | ||
11618 | SWIGINTERN PyObject *DefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11619 | PyObject *obj; | |
11620 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11621 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultTabArt, SWIG_NewClientData(obj)); | |
11622 | return SWIG_Py_Void(); | |
11623 | } | |
11624 | ||
11625 | SWIGINTERN PyObject *DefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11626 | return SWIG_Python_InitShadowInstance(args); | |
11627 | } | |
11628 | ||
10044bf1 RD |
11629 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11630 | PyObject *resultobj = 0; | |
11631 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
11632 | int arg2 = (int) 0 ; | |
11633 | wxAuiNotebookEvent *result = 0 ; | |
11634 | int val1 ; | |
11635 | int ecode1 = 0 ; | |
11636 | int val2 ; | |
11637 | int ecode2 = 0 ; | |
11638 | PyObject * obj0 = 0 ; | |
11639 | PyObject * obj1 = 0 ; | |
11640 | char * kwnames[] = { | |
11641 | (char *) "command_type",(char *) "win_id", NULL | |
11642 | }; | |
11643 | ||
11644 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
11645 | if (obj0) { | |
11646 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11647 | if (!SWIG_IsOK(ecode1)) { | |
11648 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11649 | } | |
11650 | arg1 = static_cast< wxEventType >(val1); | |
11651 | } | |
11652 | if (obj1) { | |
11653 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11654 | if (!SWIG_IsOK(ecode2)) { | |
11655 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11656 | } | |
11657 | arg2 = static_cast< int >(val2); | |
11658 | } | |
11659 | { | |
11660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11661 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); | |
11662 | wxPyEndAllowThreads(__tstate); | |
11663 | if (PyErr_Occurred()) SWIG_fail; | |
11664 | } | |
11665 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); | |
11666 | return resultobj; | |
11667 | fail: | |
11668 | return NULL; | |
27e45892 RD |
11669 | } |
11670 | ||
10044bf1 RD |
11671 | |
11672 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11673 | PyObject *resultobj = 0; | |
11674 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11675 | int arg2 ; | |
11676 | void *argp1 = 0 ; | |
11677 | int res1 = 0 ; | |
11678 | int val2 ; | |
11679 | int ecode2 = 0 ; | |
11680 | PyObject * obj0 = 0 ; | |
11681 | PyObject * obj1 = 0 ; | |
11682 | char * kwnames[] = { | |
11683 | (char *) "self",(char *) "s", NULL | |
11684 | }; | |
11685 | ||
11686 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
11687 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11688 | if (!SWIG_IsOK(res1)) { | |
11689 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11690 | } | |
11691 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11692 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11693 | if (!SWIG_IsOK(ecode2)) { | |
11694 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11695 | } | |
11696 | arg2 = static_cast< int >(val2); | |
11697 | { | |
11698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11699 | (arg1)->SetSelection(arg2); | |
11700 | wxPyEndAllowThreads(__tstate); | |
11701 | if (PyErr_Occurred()) SWIG_fail; | |
11702 | } | |
11703 | resultobj = SWIG_Py_Void(); | |
11704 | return resultobj; | |
11705 | fail: | |
11706 | return NULL; | |
11707 | } | |
11708 | ||
11709 | ||
11710 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11711 | PyObject *resultobj = 0; | |
11712 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11713 | int arg2 ; | |
11714 | void *argp1 = 0 ; | |
11715 | int res1 = 0 ; | |
11716 | int val2 ; | |
11717 | int ecode2 = 0 ; | |
11718 | PyObject * obj0 = 0 ; | |
11719 | PyObject * obj1 = 0 ; | |
11720 | char * kwnames[] = { | |
11721 | (char *) "self",(char *) "s", NULL | |
11722 | }; | |
11723 | ||
11724 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
11725 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11726 | if (!SWIG_IsOK(res1)) { | |
11727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11728 | } | |
11729 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11730 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11731 | if (!SWIG_IsOK(ecode2)) { | |
11732 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11733 | } | |
11734 | arg2 = static_cast< int >(val2); | |
11735 | { | |
11736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11737 | (arg1)->SetOldSelection(arg2); | |
11738 | wxPyEndAllowThreads(__tstate); | |
11739 | if (PyErr_Occurred()) SWIG_fail; | |
11740 | } | |
11741 | resultobj = SWIG_Py_Void(); | |
11742 | return resultobj; | |
11743 | fail: | |
11744 | return NULL; | |
11745 | } | |
11746 | ||
11747 | ||
11748 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11749 | PyObject *resultobj = 0; | |
11750 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11751 | int result; | |
11752 | void *argp1 = 0 ; | |
11753 | int res1 = 0 ; | |
11754 | PyObject *swig_obj[1] ; | |
11755 | ||
11756 | if (!args) SWIG_fail; | |
11757 | swig_obj[0] = args; | |
11758 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11759 | if (!SWIG_IsOK(res1)) { | |
11760 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
11761 | } | |
11762 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11763 | { | |
11764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11765 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); | |
11766 | wxPyEndAllowThreads(__tstate); | |
11767 | if (PyErr_Occurred()) SWIG_fail; | |
11768 | } | |
11769 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11770 | return resultobj; | |
11771 | fail: | |
11772 | return NULL; | |
11773 | } | |
11774 | ||
11775 | ||
11776 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11777 | PyObject *resultobj = 0; | |
11778 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11779 | int result; | |
11780 | void *argp1 = 0 ; | |
11781 | int res1 = 0 ; | |
11782 | PyObject *swig_obj[1] ; | |
11783 | ||
11784 | if (!args) SWIG_fail; | |
11785 | swig_obj[0] = args; | |
11786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11787 | if (!SWIG_IsOK(res1)) { | |
11788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
11789 | } | |
11790 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11791 | { | |
11792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11793 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); | |
11794 | wxPyEndAllowThreads(__tstate); | |
11795 | if (PyErr_Occurred()) SWIG_fail; | |
11796 | } | |
11797 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11798 | return resultobj; | |
11799 | fail: | |
11800 | return NULL; | |
11801 | } | |
11802 | ||
11803 | ||
11804 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11805 | PyObject *resultobj = 0; | |
11806 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11807 | int arg2 ; | |
11808 | void *argp1 = 0 ; | |
11809 | int res1 = 0 ; | |
11810 | int val2 ; | |
11811 | int ecode2 = 0 ; | |
11812 | PyObject *swig_obj[2] ; | |
11813 | ||
11814 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; | |
11815 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11816 | if (!SWIG_IsOK(res1)) { | |
11817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11818 | } | |
11819 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11820 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11821 | if (!SWIG_IsOK(ecode2)) { | |
11822 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
11823 | } | |
11824 | arg2 = static_cast< int >(val2); | |
11825 | if (arg1) (arg1)->old_selection = arg2; | |
11826 | ||
11827 | resultobj = SWIG_Py_Void(); | |
11828 | return resultobj; | |
11829 | fail: | |
11830 | return NULL; | |
11831 | } | |
11832 | ||
11833 | ||
11834 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11835 | PyObject *resultobj = 0; | |
11836 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11837 | int result; | |
11838 | void *argp1 = 0 ; | |
11839 | int res1 = 0 ; | |
11840 | PyObject *swig_obj[1] ; | |
11841 | ||
11842 | if (!args) SWIG_fail; | |
11843 | swig_obj[0] = args; | |
11844 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11845 | if (!SWIG_IsOK(res1)) { | |
11846 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11847 | } | |
11848 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11849 | result = (int) ((arg1)->old_selection); | |
11850 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11851 | return resultobj; | |
11852 | fail: | |
11853 | return NULL; | |
11854 | } | |
11855 | ||
11856 | ||
11857 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11858 | PyObject *resultobj = 0; | |
11859 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11860 | int arg2 ; | |
11861 | void *argp1 = 0 ; | |
11862 | int res1 = 0 ; | |
11863 | int val2 ; | |
11864 | int ecode2 = 0 ; | |
11865 | PyObject *swig_obj[2] ; | |
11866 | ||
11867 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
11868 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11869 | if (!SWIG_IsOK(res1)) { | |
11870 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11871 | } | |
11872 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11873 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11874 | if (!SWIG_IsOK(ecode2)) { | |
11875 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
11876 | } | |
11877 | arg2 = static_cast< int >(val2); | |
11878 | if (arg1) (arg1)->selection = arg2; | |
11879 | ||
11880 | resultobj = SWIG_Py_Void(); | |
11881 | return resultobj; | |
11882 | fail: | |
11883 | return NULL; | |
11884 | } | |
11885 | ||
11886 | ||
11887 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11888 | PyObject *resultobj = 0; | |
11889 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11890 | int result; | |
11891 | void *argp1 = 0 ; | |
11892 | int res1 = 0 ; | |
11893 | PyObject *swig_obj[1] ; | |
11894 | ||
11895 | if (!args) SWIG_fail; | |
11896 | swig_obj[0] = args; | |
11897 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11898 | if (!SWIG_IsOK(res1)) { | |
11899 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11900 | } | |
11901 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
11902 | result = (int) ((arg1)->selection); | |
11903 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11904 | return resultobj; | |
11905 | fail: | |
11906 | return NULL; | |
11907 | } | |
11908 | ||
11909 | ||
11910 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11911 | PyObject *obj; | |
11912 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11913 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
11914 | return SWIG_Py_Void(); | |
11915 | } | |
11916 | ||
11917 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11918 | return SWIG_Python_InitShadowInstance(args); | |
11919 | } | |
11920 | ||
11921 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11922 | PyObject *resultobj = 0; | |
11923 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11924 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11925 | void *argp1 = 0 ; | |
11926 | int res1 = 0 ; | |
11927 | void *argp2 = 0 ; | |
11928 | int res2 = 0 ; | |
11929 | PyObject *swig_obj[2] ; | |
11930 | ||
11931 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; | |
11932 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11933 | if (!SWIG_IsOK(res1)) { | |
11934 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11935 | } | |
11936 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11937 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
11938 | if (!SWIG_IsOK(res2)) { | |
11939 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11940 | } | |
11941 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11942 | if (arg1) (arg1)->window = arg2; | |
11943 | ||
11944 | resultobj = SWIG_Py_Void(); | |
11945 | return resultobj; | |
11946 | fail: | |
11947 | return NULL; | |
11948 | } | |
11949 | ||
11950 | ||
11951 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11952 | PyObject *resultobj = 0; | |
11953 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11954 | wxWindow *result = 0 ; | |
11955 | void *argp1 = 0 ; | |
11956 | int res1 = 0 ; | |
11957 | PyObject *swig_obj[1] ; | |
11958 | ||
11959 | if (!args) SWIG_fail; | |
11960 | swig_obj[0] = args; | |
11961 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11962 | if (!SWIG_IsOK(res1)) { | |
11963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11964 | } | |
11965 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11966 | result = (wxWindow *) ((arg1)->window); | |
11967 | { | |
11968 | resultobj = wxPyMake_wxObject(result, 0); | |
11969 | } | |
11970 | return resultobj; | |
11971 | fail: | |
11972 | return NULL; | |
11973 | } | |
11974 | ||
11975 | ||
11976 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11977 | PyObject *resultobj = 0; | |
11978 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
11979 | wxString *arg2 = (wxString *) 0 ; | |
11980 | void *argp1 = 0 ; | |
11981 | int res1 = 0 ; | |
11982 | bool temp2 = false ; | |
11983 | PyObject *swig_obj[2] ; | |
11984 | ||
11985 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; | |
11986 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11987 | if (!SWIG_IsOK(res1)) { | |
11988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
11989 | } | |
11990 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
11991 | { | |
11992 | arg2 = wxString_in_helper(swig_obj[1]); | |
11993 | if (arg2 == NULL) SWIG_fail; | |
11994 | temp2 = true; | |
11995 | } | |
11996 | if (arg1) (arg1)->caption = *arg2; | |
11997 | ||
11998 | resultobj = SWIG_Py_Void(); | |
11999 | { | |
12000 | if (temp2) | |
12001 | delete arg2; | |
12002 | } | |
12003 | return resultobj; | |
12004 | fail: | |
12005 | { | |
12006 | if (temp2) | |
12007 | delete arg2; | |
12008 | } | |
12009 | return NULL; | |
12010 | } | |
12011 | ||
12012 | ||
12013 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12014 | PyObject *resultobj = 0; | |
12015 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12016 | wxString *result = 0 ; | |
12017 | void *argp1 = 0 ; | |
12018 | int res1 = 0 ; | |
12019 | PyObject *swig_obj[1] ; | |
12020 | ||
12021 | if (!args) SWIG_fail; | |
12022 | swig_obj[0] = args; | |
12023 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12024 | if (!SWIG_IsOK(res1)) { | |
12025 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12026 | } | |
12027 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12028 | result = (wxString *)& ((arg1)->caption); | |
12029 | { | |
12030 | #if wxUSE_UNICODE | |
12031 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12032 | #else | |
12033 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12034 | #endif | |
12035 | } | |
12036 | return resultobj; | |
12037 | fail: | |
12038 | return NULL; | |
12039 | } | |
12040 | ||
12041 | ||
12042 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12043 | PyObject *resultobj = 0; | |
12044 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12045 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12046 | void *argp1 = 0 ; | |
12047 | int res1 = 0 ; | |
12048 | void *argp2 = 0 ; | |
12049 | int res2 = 0 ; | |
12050 | PyObject *swig_obj[2] ; | |
12051 | ||
12052 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12053 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12054 | if (!SWIG_IsOK(res1)) { | |
12055 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12056 | } | |
12057 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12058 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12059 | if (!SWIG_IsOK(res2)) { | |
12060 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12061 | } | |
12062 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12063 | if (arg1) (arg1)->bitmap = *arg2; | |
12064 | ||
12065 | resultobj = SWIG_Py_Void(); | |
12066 | return resultobj; | |
12067 | fail: | |
12068 | return NULL; | |
12069 | } | |
12070 | ||
12071 | ||
12072 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12073 | PyObject *resultobj = 0; | |
12074 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12075 | wxBitmap *result = 0 ; | |
12076 | void *argp1 = 0 ; | |
12077 | int res1 = 0 ; | |
12078 | PyObject *swig_obj[1] ; | |
12079 | ||
12080 | if (!args) SWIG_fail; | |
12081 | swig_obj[0] = args; | |
12082 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12083 | if (!SWIG_IsOK(res1)) { | |
12084 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12085 | } | |
12086 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12087 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12088 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12089 | return resultobj; | |
12090 | fail: | |
12091 | return NULL; | |
12092 | } | |
12093 | ||
12094 | ||
12095 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12096 | PyObject *resultobj = 0; | |
12097 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12098 | wxRect *arg2 = (wxRect *) 0 ; | |
12099 | void *argp1 = 0 ; | |
12100 | int res1 = 0 ; | |
12101 | void *argp2 = 0 ; | |
12102 | int res2 = 0 ; | |
12103 | PyObject *swig_obj[2] ; | |
12104 | ||
12105 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; | |
12106 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12107 | if (!SWIG_IsOK(res1)) { | |
12108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12109 | } | |
12110 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12111 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12112 | if (!SWIG_IsOK(res2)) { | |
12113 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12114 | } | |
12115 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12116 | if (arg1) (arg1)->rect = *arg2; | |
12117 | ||
12118 | resultobj = SWIG_Py_Void(); | |
12119 | return resultobj; | |
12120 | fail: | |
12121 | return NULL; | |
12122 | } | |
12123 | ||
12124 | ||
12125 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12126 | PyObject *resultobj = 0; | |
12127 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12128 | wxRect *result = 0 ; | |
12129 | void *argp1 = 0 ; | |
12130 | int res1 = 0 ; | |
12131 | PyObject *swig_obj[1] ; | |
12132 | ||
12133 | if (!args) SWIG_fail; | |
12134 | swig_obj[0] = args; | |
12135 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12136 | if (!SWIG_IsOK(res1)) { | |
12137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12138 | } | |
12139 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12140 | result = (wxRect *)& ((arg1)->rect); | |
12141 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12142 | return resultobj; | |
12143 | fail: | |
12144 | return NULL; | |
12145 | } | |
12146 | ||
12147 | ||
12148 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12149 | PyObject *resultobj = 0; | |
12150 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12151 | bool arg2 ; | |
12152 | void *argp1 = 0 ; | |
12153 | int res1 = 0 ; | |
12154 | bool val2 ; | |
12155 | int ecode2 = 0 ; | |
12156 | PyObject *swig_obj[2] ; | |
12157 | ||
12158 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; | |
12159 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12160 | if (!SWIG_IsOK(res1)) { | |
12161 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12162 | } | |
12163 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12164 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
12165 | if (!SWIG_IsOK(ecode2)) { | |
12166 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); | |
12167 | } | |
12168 | arg2 = static_cast< bool >(val2); | |
12169 | if (arg1) (arg1)->active = arg2; | |
12170 | ||
12171 | resultobj = SWIG_Py_Void(); | |
12172 | return resultobj; | |
12173 | fail: | |
12174 | return NULL; | |
12175 | } | |
12176 | ||
12177 | ||
12178 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12179 | PyObject *resultobj = 0; | |
12180 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12181 | bool result; | |
12182 | void *argp1 = 0 ; | |
12183 | int res1 = 0 ; | |
12184 | PyObject *swig_obj[1] ; | |
12185 | ||
12186 | if (!args) SWIG_fail; | |
12187 | swig_obj[0] = args; | |
12188 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12189 | if (!SWIG_IsOK(res1)) { | |
12190 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12191 | } | |
12192 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12193 | result = (bool) ((arg1)->active); | |
12194 | { | |
12195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12196 | } | |
12197 | return resultobj; | |
12198 | fail: | |
12199 | return NULL; | |
12200 | } | |
12201 | ||
12202 | ||
12203 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12204 | PyObject *obj; | |
12205 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12206 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12207 | return SWIG_Py_Void(); | |
12208 | } | |
12209 | ||
12210 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12211 | PyObject *resultobj = 0; | |
12212 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12213 | int arg2 ; | |
12214 | void *argp1 = 0 ; | |
12215 | int res1 = 0 ; | |
12216 | int val2 ; | |
12217 | int ecode2 = 0 ; | |
12218 | PyObject *swig_obj[2] ; | |
12219 | ||
12220 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; | |
12221 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12222 | if (!SWIG_IsOK(res1)) { | |
12223 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12224 | } | |
12225 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12226 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12227 | if (!SWIG_IsOK(ecode2)) { | |
12228 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); | |
12229 | } | |
12230 | arg2 = static_cast< int >(val2); | |
12231 | if (arg1) (arg1)->id = arg2; | |
12232 | ||
12233 | resultobj = SWIG_Py_Void(); | |
12234 | return resultobj; | |
12235 | fail: | |
12236 | return NULL; | |
12237 | } | |
12238 | ||
12239 | ||
12240 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12241 | PyObject *resultobj = 0; | |
12242 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12243 | int result; | |
12244 | void *argp1 = 0 ; | |
12245 | int res1 = 0 ; | |
12246 | PyObject *swig_obj[1] ; | |
12247 | ||
12248 | if (!args) SWIG_fail; | |
12249 | swig_obj[0] = args; | |
12250 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12251 | if (!SWIG_IsOK(res1)) { | |
12252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12253 | } | |
12254 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12255 | result = (int) ((arg1)->id); | |
12256 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12257 | return resultobj; | |
12258 | fail: | |
12259 | return NULL; | |
12260 | } | |
12261 | ||
12262 | ||
12263 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12264 | PyObject *resultobj = 0; | |
12265 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12266 | int arg2 ; | |
12267 | void *argp1 = 0 ; | |
12268 | int res1 = 0 ; | |
12269 | int val2 ; | |
12270 | int ecode2 = 0 ; | |
12271 | PyObject *swig_obj[2] ; | |
12272 | ||
12273 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; | |
12274 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12275 | if (!SWIG_IsOK(res1)) { | |
12276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12277 | } | |
12278 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12279 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12280 | if (!SWIG_IsOK(ecode2)) { | |
12281 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12282 | } | |
12283 | arg2 = static_cast< int >(val2); | |
12284 | if (arg1) (arg1)->cur_state = arg2; | |
12285 | ||
12286 | resultobj = SWIG_Py_Void(); | |
12287 | return resultobj; | |
12288 | fail: | |
12289 | return NULL; | |
12290 | } | |
12291 | ||
12292 | ||
12293 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12294 | PyObject *resultobj = 0; | |
12295 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12296 | int result; | |
12297 | void *argp1 = 0 ; | |
12298 | int res1 = 0 ; | |
12299 | PyObject *swig_obj[1] ; | |
12300 | ||
12301 | if (!args) SWIG_fail; | |
12302 | swig_obj[0] = args; | |
12303 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12304 | if (!SWIG_IsOK(res1)) { | |
12305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12306 | } | |
12307 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12308 | result = (int) ((arg1)->cur_state); | |
12309 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12310 | return resultobj; | |
12311 | fail: | |
12312 | return NULL; | |
12313 | } | |
12314 | ||
12315 | ||
5c8c7dd3 RD |
12316 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12317 | PyObject *resultobj = 0; | |
12318 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12319 | int arg2 ; | |
12320 | void *argp1 = 0 ; | |
12321 | int res1 = 0 ; | |
12322 | int val2 ; | |
12323 | int ecode2 = 0 ; | |
12324 | PyObject *swig_obj[2] ; | |
12325 | ||
12326 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; | |
12327 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12328 | if (!SWIG_IsOK(res1)) { | |
12329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12330 | } | |
12331 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12332 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12333 | if (!SWIG_IsOK(ecode2)) { | |
12334 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12335 | } | |
12336 | arg2 = static_cast< int >(val2); | |
12337 | if (arg1) (arg1)->location = arg2; | |
12338 | ||
12339 | resultobj = SWIG_Py_Void(); | |
12340 | return resultobj; | |
12341 | fail: | |
12342 | return NULL; | |
12343 | } | |
12344 | ||
12345 | ||
12346 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12347 | PyObject *resultobj = 0; | |
12348 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12349 | int result; | |
12350 | void *argp1 = 0 ; | |
12351 | int res1 = 0 ; | |
12352 | PyObject *swig_obj[1] ; | |
12353 | ||
12354 | if (!args) SWIG_fail; | |
12355 | swig_obj[0] = args; | |
12356 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12357 | if (!SWIG_IsOK(res1)) { | |
12358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12359 | } | |
12360 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12361 | result = (int) ((arg1)->location); | |
12362 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12363 | return resultobj; | |
12364 | fail: | |
12365 | return NULL; | |
12366 | } | |
12367 | ||
12368 | ||
10044bf1 RD |
12369 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12370 | PyObject *resultobj = 0; | |
12371 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12372 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12373 | void *argp1 = 0 ; | |
12374 | int res1 = 0 ; | |
12375 | void *argp2 = 0 ; | |
12376 | int res2 = 0 ; | |
12377 | PyObject *swig_obj[2] ; | |
12378 | ||
12379 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12381 | if (!SWIG_IsOK(res1)) { | |
12382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12383 | } | |
12384 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12385 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12386 | if (!SWIG_IsOK(res2)) { | |
12387 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12388 | } | |
12389 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12390 | if (arg1) (arg1)->bitmap = *arg2; | |
12391 | ||
12392 | resultobj = SWIG_Py_Void(); | |
12393 | return resultobj; | |
12394 | fail: | |
12395 | return NULL; | |
12396 | } | |
12397 | ||
12398 | ||
12399 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12400 | PyObject *resultobj = 0; | |
12401 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12402 | wxBitmap *result = 0 ; | |
12403 | void *argp1 = 0 ; | |
12404 | int res1 = 0 ; | |
12405 | PyObject *swig_obj[1] ; | |
12406 | ||
12407 | if (!args) SWIG_fail; | |
12408 | swig_obj[0] = args; | |
12409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12410 | if (!SWIG_IsOK(res1)) { | |
12411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12412 | } | |
12413 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12414 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12415 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12416 | return resultobj; | |
12417 | fail: | |
12418 | return NULL; | |
12419 | } | |
12420 | ||
12421 | ||
8f514ab4 RD |
12422 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12423 | PyObject *resultobj = 0; | |
12424 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12425 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12426 | void *argp1 = 0 ; | |
12427 | int res1 = 0 ; | |
12428 | void *argp2 = 0 ; | |
12429 | int res2 = 0 ; | |
12430 | PyObject *swig_obj[2] ; | |
12431 | ||
12432 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12433 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12434 | if (!SWIG_IsOK(res1)) { | |
12435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12436 | } | |
12437 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12438 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12439 | if (!SWIG_IsOK(res2)) { | |
12440 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12441 | } | |
12442 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12443 | if (arg1) (arg1)->dis_bitmap = *arg2; | |
12444 | ||
12445 | resultobj = SWIG_Py_Void(); | |
12446 | return resultobj; | |
12447 | fail: | |
12448 | return NULL; | |
12449 | } | |
12450 | ||
12451 | ||
12452 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12453 | PyObject *resultobj = 0; | |
12454 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12455 | wxBitmap *result = 0 ; | |
12456 | void *argp1 = 0 ; | |
12457 | int res1 = 0 ; | |
12458 | PyObject *swig_obj[1] ; | |
12459 | ||
12460 | if (!args) SWIG_fail; | |
12461 | swig_obj[0] = args; | |
12462 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12463 | if (!SWIG_IsOK(res1)) { | |
12464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12465 | } | |
12466 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12467 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
12468 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12469 | return resultobj; | |
12470 | fail: | |
12471 | return NULL; | |
12472 | } | |
12473 | ||
12474 | ||
10044bf1 RD |
12475 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12476 | PyObject *resultobj = 0; | |
12477 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12478 | wxRect *arg2 = (wxRect *) 0 ; | |
12479 | void *argp1 = 0 ; | |
12480 | int res1 = 0 ; | |
12481 | void *argp2 = 0 ; | |
12482 | int res2 = 0 ; | |
12483 | PyObject *swig_obj[2] ; | |
12484 | ||
12485 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; | |
12486 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12487 | if (!SWIG_IsOK(res1)) { | |
12488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12489 | } | |
12490 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12491 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12492 | if (!SWIG_IsOK(res2)) { | |
12493 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12494 | } | |
12495 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12496 | if (arg1) (arg1)->rect = *arg2; | |
12497 | ||
12498 | resultobj = SWIG_Py_Void(); | |
12499 | return resultobj; | |
12500 | fail: | |
12501 | return NULL; | |
12502 | } | |
12503 | ||
12504 | ||
12505 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12506 | PyObject *resultobj = 0; | |
12507 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12508 | wxRect *result = 0 ; | |
12509 | void *argp1 = 0 ; | |
12510 | int res1 = 0 ; | |
12511 | PyObject *swig_obj[1] ; | |
12512 | ||
12513 | if (!args) SWIG_fail; | |
12514 | swig_obj[0] = args; | |
12515 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12516 | if (!SWIG_IsOK(res1)) { | |
12517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12518 | } | |
12519 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12520 | result = (wxRect *)& ((arg1)->rect); | |
12521 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12522 | return resultobj; | |
12523 | fail: | |
12524 | return NULL; | |
12525 | } | |
12526 | ||
12527 | ||
12528 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12529 | PyObject *obj; | |
12530 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12531 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12532 | return SWIG_Py_Void(); | |
12533 | } | |
12534 | ||
12535 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12536 | PyObject *resultobj = 0; | |
12537 | wxAuiTabContainer *result = 0 ; | |
12538 | ||
12539 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
12540 | { | |
12541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12542 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
12543 | wxPyEndAllowThreads(__tstate); | |
12544 | if (PyErr_Occurred()) SWIG_fail; | |
12545 | } | |
12546 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
12547 | return resultobj; | |
12548 | fail: | |
12549 | return NULL; | |
12550 | } | |
12551 | ||
12552 | ||
12553 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12554 | PyObject *resultobj = 0; | |
12555 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12556 | void *argp1 = 0 ; | |
12557 | int res1 = 0 ; | |
12558 | PyObject *swig_obj[1] ; | |
12559 | ||
12560 | if (!args) SWIG_fail; | |
12561 | swig_obj[0] = args; | |
12562 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
12563 | if (!SWIG_IsOK(res1)) { | |
12564 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12565 | } | |
12566 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12567 | { | |
12568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12569 | delete arg1; | |
12570 | ||
12571 | wxPyEndAllowThreads(__tstate); | |
12572 | if (PyErr_Occurred()) SWIG_fail; | |
12573 | } | |
12574 | resultobj = SWIG_Py_Void(); | |
12575 | return resultobj; | |
12576 | fail: | |
12577 | return NULL; | |
12578 | } | |
12579 | ||
12580 | ||
5c8c7dd3 RD |
12581 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12582 | PyObject *resultobj = 0; | |
12583 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12584 | wxTabArt *arg2 = (wxTabArt *) 0 ; | |
12585 | void *argp1 = 0 ; | |
12586 | int res1 = 0 ; | |
12587 | void *argp2 = 0 ; | |
12588 | int res2 = 0 ; | |
12589 | PyObject * obj0 = 0 ; | |
12590 | PyObject * obj1 = 0 ; | |
12591 | char * kwnames[] = { | |
12592 | (char *) "self",(char *) "art", NULL | |
12593 | }; | |
12594 | ||
12595 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
12596 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12597 | if (!SWIG_IsOK(res1)) { | |
12598 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12599 | } | |
12600 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12601 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
12602 | if (!SWIG_IsOK(res2)) { | |
12603 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxTabArt *""'"); | |
12604 | } | |
12605 | arg2 = reinterpret_cast< wxTabArt * >(argp2); | |
12606 | { | |
12607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12608 | (arg1)->SetArtProvider(arg2); | |
12609 | wxPyEndAllowThreads(__tstate); | |
12610 | if (PyErr_Occurred()) SWIG_fail; | |
12611 | } | |
12612 | resultobj = SWIG_Py_Void(); | |
12613 | return resultobj; | |
12614 | fail: | |
12615 | return NULL; | |
12616 | } | |
12617 | ||
12618 | ||
12619 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12620 | PyObject *resultobj = 0; | |
12621 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12622 | wxTabArt *result = 0 ; | |
12623 | void *argp1 = 0 ; | |
12624 | int res1 = 0 ; | |
12625 | PyObject *swig_obj[1] ; | |
12626 | ||
12627 | if (!args) SWIG_fail; | |
12628 | swig_obj[0] = args; | |
12629 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12630 | if (!SWIG_IsOK(res1)) { | |
12631 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12632 | } | |
12633 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12634 | { | |
12635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12636 | result = (wxTabArt *)(arg1)->GetArtProvider(); | |
12637 | wxPyEndAllowThreads(__tstate); | |
12638 | if (PyErr_Occurred()) SWIG_fail; | |
12639 | } | |
12640 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
12641 | return resultobj; | |
12642 | fail: | |
12643 | return NULL; | |
12644 | } | |
12645 | ||
12646 | ||
10044bf1 RD |
12647 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12648 | PyObject *resultobj = 0; | |
12649 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12650 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12651 | wxAuiNotebookPage *arg3 = 0 ; | |
12652 | bool result; | |
12653 | void *argp1 = 0 ; | |
12654 | int res1 = 0 ; | |
12655 | void *argp2 = 0 ; | |
12656 | int res2 = 0 ; | |
12657 | void *argp3 = 0 ; | |
12658 | int res3 = 0 ; | |
12659 | PyObject * obj0 = 0 ; | |
12660 | PyObject * obj1 = 0 ; | |
12661 | PyObject * obj2 = 0 ; | |
12662 | char * kwnames[] = { | |
12663 | (char *) "self",(char *) "page",(char *) "info", NULL | |
12664 | }; | |
12665 | ||
12666 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12667 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12668 | if (!SWIG_IsOK(res1)) { | |
12669 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12670 | } | |
12671 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12672 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12673 | if (!SWIG_IsOK(res2)) { | |
12674 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12675 | } | |
12676 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12677 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
12678 | if (!SWIG_IsOK(res3)) { | |
12679 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
12680 | } | |
12681 | if (!argp3) { | |
12682 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
12683 | } | |
12684 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
12685 | { | |
12686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12687 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
12688 | wxPyEndAllowThreads(__tstate); | |
12689 | if (PyErr_Occurred()) SWIG_fail; | |
12690 | } | |
12691 | { | |
12692 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12693 | } | |
12694 | return resultobj; | |
12695 | fail: | |
12696 | return NULL; | |
12697 | } | |
12698 | ||
12699 | ||
12700 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12701 | PyObject *resultobj = 0; | |
12702 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12703 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12704 | wxAuiNotebookPage *arg3 = 0 ; | |
12705 | size_t arg4 ; | |
12706 | bool result; | |
12707 | void *argp1 = 0 ; | |
12708 | int res1 = 0 ; | |
12709 | void *argp2 = 0 ; | |
12710 | int res2 = 0 ; | |
12711 | void *argp3 = 0 ; | |
12712 | int res3 = 0 ; | |
12713 | size_t val4 ; | |
12714 | int ecode4 = 0 ; | |
12715 | PyObject * obj0 = 0 ; | |
12716 | PyObject * obj1 = 0 ; | |
12717 | PyObject * obj2 = 0 ; | |
12718 | PyObject * obj3 = 0 ; | |
12719 | char * kwnames[] = { | |
12720 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
12721 | }; | |
12722 | ||
12723 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
12724 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12725 | if (!SWIG_IsOK(res1)) { | |
12726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12727 | } | |
12728 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12729 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12730 | if (!SWIG_IsOK(res2)) { | |
12731 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12732 | } | |
12733 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12734 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
12735 | if (!SWIG_IsOK(res3)) { | |
12736 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
12737 | } | |
12738 | if (!argp3) { | |
12739 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
12740 | } | |
12741 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
12742 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
12743 | if (!SWIG_IsOK(ecode4)) { | |
12744 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
12745 | } | |
12746 | arg4 = static_cast< size_t >(val4); | |
12747 | { | |
12748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12749 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
12750 | wxPyEndAllowThreads(__tstate); | |
12751 | if (PyErr_Occurred()) SWIG_fail; | |
12752 | } | |
12753 | { | |
12754 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12755 | } | |
12756 | return resultobj; | |
12757 | fail: | |
12758 | return NULL; | |
12759 | } | |
12760 | ||
12761 | ||
580080c5 RD |
12762 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12763 | PyObject *resultobj = 0; | |
12764 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12765 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12766 | size_t arg3 ; | |
12767 | bool result; | |
12768 | void *argp1 = 0 ; | |
12769 | int res1 = 0 ; | |
12770 | void *argp2 = 0 ; | |
12771 | int res2 = 0 ; | |
12772 | size_t val3 ; | |
12773 | int ecode3 = 0 ; | |
12774 | PyObject * obj0 = 0 ; | |
12775 | PyObject * obj1 = 0 ; | |
12776 | PyObject * obj2 = 0 ; | |
12777 | char * kwnames[] = { | |
12778 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
12779 | }; | |
12780 | ||
12781 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
12782 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12783 | if (!SWIG_IsOK(res1)) { | |
12784 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12785 | } | |
12786 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12787 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12788 | if (!SWIG_IsOK(res2)) { | |
12789 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12790 | } | |
12791 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12792 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12793 | if (!SWIG_IsOK(ecode3)) { | |
12794 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
12795 | } | |
12796 | arg3 = static_cast< size_t >(val3); | |
12797 | { | |
12798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12799 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
12800 | wxPyEndAllowThreads(__tstate); | |
12801 | if (PyErr_Occurred()) SWIG_fail; | |
12802 | } | |
12803 | { | |
12804 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12805 | } | |
12806 | return resultobj; | |
12807 | fail: | |
12808 | return NULL; | |
12809 | } | |
12810 | ||
12811 | ||
10044bf1 RD |
12812 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12813 | PyObject *resultobj = 0; | |
12814 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12815 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12816 | bool result; | |
12817 | void *argp1 = 0 ; | |
12818 | int res1 = 0 ; | |
12819 | void *argp2 = 0 ; | |
12820 | int res2 = 0 ; | |
12821 | PyObject * obj0 = 0 ; | |
12822 | PyObject * obj1 = 0 ; | |
12823 | char * kwnames[] = { | |
12824 | (char *) "self",(char *) "page", NULL | |
12825 | }; | |
12826 | ||
12827 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
12828 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12829 | if (!SWIG_IsOK(res1)) { | |
12830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12831 | } | |
12832 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12833 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12834 | if (!SWIG_IsOK(res2)) { | |
12835 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12836 | } | |
12837 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12838 | { | |
12839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12840 | result = (bool)(arg1)->RemovePage(arg2); | |
12841 | wxPyEndAllowThreads(__tstate); | |
12842 | if (PyErr_Occurred()) SWIG_fail; | |
12843 | } | |
12844 | { | |
12845 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12846 | } | |
12847 | return resultobj; | |
12848 | fail: | |
12849 | return NULL; | |
12850 | } | |
12851 | ||
12852 | ||
12853 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
12854 | PyObject *resultobj = 0; | |
12855 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12856 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12857 | bool result; | |
12858 | void *argp1 = 0 ; | |
12859 | int res1 = 0 ; | |
12860 | void *argp2 = 0 ; | |
12861 | int res2 = 0 ; | |
12862 | ||
12863 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
12864 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12865 | if (!SWIG_IsOK(res1)) { | |
12866 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12867 | } | |
12868 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12869 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12870 | if (!SWIG_IsOK(res2)) { | |
12871 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12872 | } | |
12873 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12874 | { | |
12875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12876 | result = (bool)(arg1)->SetActivePage(arg2); | |
12877 | wxPyEndAllowThreads(__tstate); | |
12878 | if (PyErr_Occurred()) SWIG_fail; | |
12879 | } | |
12880 | { | |
12881 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12882 | } | |
12883 | return resultobj; | |
12884 | fail: | |
12885 | return NULL; | |
12886 | } | |
12887 | ||
12888 | ||
12889 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
12890 | PyObject *resultobj = 0; | |
12891 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12892 | size_t arg2 ; | |
12893 | bool result; | |
12894 | void *argp1 = 0 ; | |
12895 | int res1 = 0 ; | |
12896 | size_t val2 ; | |
12897 | int ecode2 = 0 ; | |
12898 | ||
12899 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
12900 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12901 | if (!SWIG_IsOK(res1)) { | |
12902 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12903 | } | |
12904 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12905 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
12906 | if (!SWIG_IsOK(ecode2)) { | |
12907 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
12908 | } | |
12909 | arg2 = static_cast< size_t >(val2); | |
12910 | { | |
12911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12912 | result = (bool)(arg1)->SetActivePage(arg2); | |
12913 | wxPyEndAllowThreads(__tstate); | |
12914 | if (PyErr_Occurred()) SWIG_fail; | |
12915 | } | |
12916 | { | |
12917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12918 | } | |
12919 | return resultobj; | |
12920 | fail: | |
12921 | return NULL; | |
12922 | } | |
12923 | ||
12924 | ||
12925 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
12926 | int argc; | |
12927 | PyObject *argv[3]; | |
12928 | ||
12929 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
12930 | --argc; | |
12931 | if (argc == 2) { | |
12932 | int _v = 0; | |
12933 | { | |
12934 | void *vptr = 0; | |
12935 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
12936 | _v = SWIG_CheckState(res); | |
12937 | } | |
12938 | if (!_v) goto check_1; | |
12939 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
12940 | } | |
12941 | check_1: | |
12942 | ||
12943 | if (argc == 2) { | |
12944 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
12945 | } | |
12946 | ||
12947 | fail: | |
12948 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
12949 | return NULL; | |
12950 | } | |
12951 | ||
12952 | ||
12953 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12954 | PyObject *resultobj = 0; | |
12955 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12956 | void *argp1 = 0 ; | |
12957 | int res1 = 0 ; | |
12958 | PyObject *swig_obj[1] ; | |
12959 | ||
12960 | if (!args) SWIG_fail; | |
12961 | swig_obj[0] = args; | |
12962 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12963 | if (!SWIG_IsOK(res1)) { | |
12964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12965 | } | |
12966 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12967 | { | |
12968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12969 | (arg1)->SetNoneActive(); | |
12970 | wxPyEndAllowThreads(__tstate); | |
12971 | if (PyErr_Occurred()) SWIG_fail; | |
12972 | } | |
12973 | resultobj = SWIG_Py_Void(); | |
12974 | return resultobj; | |
12975 | fail: | |
12976 | return NULL; | |
12977 | } | |
12978 | ||
12979 | ||
12980 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12981 | PyObject *resultobj = 0; | |
12982 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12983 | int result; | |
12984 | void *argp1 = 0 ; | |
12985 | int res1 = 0 ; | |
12986 | PyObject *swig_obj[1] ; | |
12987 | ||
12988 | if (!args) SWIG_fail; | |
12989 | swig_obj[0] = args; | |
12990 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12991 | if (!SWIG_IsOK(res1)) { | |
12992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
12993 | } | |
12994 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12995 | { | |
12996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12997 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
12998 | wxPyEndAllowThreads(__tstate); | |
12999 | if (PyErr_Occurred()) SWIG_fail; | |
13000 | } | |
13001 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13002 | return resultobj; | |
13003 | fail: | |
13004 | return NULL; | |
13005 | } | |
13006 | ||
13007 | ||
13008 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13009 | PyObject *resultobj = 0; | |
13010 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13011 | int arg2 ; | |
13012 | int arg3 ; | |
13013 | wxWindow **arg4 = (wxWindow **) 0 ; | |
13014 | bool result; | |
13015 | void *argp1 = 0 ; | |
13016 | int res1 = 0 ; | |
13017 | int val2 ; | |
13018 | int ecode2 = 0 ; | |
13019 | int val3 ; | |
13020 | int ecode3 = 0 ; | |
13021 | void *argp4 = 0 ; | |
13022 | int res4 = 0 ; | |
13023 | PyObject * obj0 = 0 ; | |
13024 | PyObject * obj1 = 0 ; | |
13025 | PyObject * obj2 = 0 ; | |
13026 | PyObject * obj3 = 0 ; | |
13027 | char * kwnames[] = { | |
13028 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13029 | }; | |
13030 | ||
13031 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13032 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13033 | if (!SWIG_IsOK(res1)) { | |
13034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13035 | } | |
13036 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13037 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13038 | if (!SWIG_IsOK(ecode2)) { | |
13039 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13040 | } | |
13041 | arg2 = static_cast< int >(val2); | |
13042 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13043 | if (!SWIG_IsOK(ecode3)) { | |
13044 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13045 | } | |
13046 | arg3 = static_cast< int >(val3); | |
13047 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
13048 | if (!SWIG_IsOK(res4)) { | |
13049 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
13050 | } | |
13051 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
13052 | { | |
13053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13054 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
13055 | wxPyEndAllowThreads(__tstate); | |
13056 | if (PyErr_Occurred()) SWIG_fail; | |
13057 | } | |
13058 | { | |
13059 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13060 | } | |
13061 | return resultobj; | |
13062 | fail: | |
13063 | return NULL; | |
13064 | } | |
13065 | ||
13066 | ||
13067 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13068 | PyObject *resultobj = 0; | |
13069 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13070 | int arg2 ; | |
13071 | int arg3 ; | |
13072 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
13073 | bool result; | |
13074 | void *argp1 = 0 ; | |
13075 | int res1 = 0 ; | |
13076 | int val2 ; | |
13077 | int ecode2 = 0 ; | |
13078 | int val3 ; | |
13079 | int ecode3 = 0 ; | |
13080 | void *argp4 = 0 ; | |
13081 | int res4 = 0 ; | |
13082 | PyObject * obj0 = 0 ; | |
13083 | PyObject * obj1 = 0 ; | |
13084 | PyObject * obj2 = 0 ; | |
13085 | PyObject * obj3 = 0 ; | |
13086 | char * kwnames[] = { | |
13087 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13088 | }; | |
13089 | ||
13090 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13091 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13092 | if (!SWIG_IsOK(res1)) { | |
13093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13094 | } | |
13095 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13096 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13097 | if (!SWIG_IsOK(ecode2)) { | |
13098 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13099 | } | |
13100 | arg2 = static_cast< int >(val2); | |
13101 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13102 | if (!SWIG_IsOK(ecode3)) { | |
13103 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13104 | } | |
13105 | arg3 = static_cast< int >(val3); | |
13106 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
13107 | if (!SWIG_IsOK(res4)) { | |
13108 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
13109 | } | |
13110 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
13111 | { | |
13112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13113 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
13114 | wxPyEndAllowThreads(__tstate); | |
13115 | if (PyErr_Occurred()) SWIG_fail; | |
13116 | } | |
13117 | { | |
13118 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13119 | } | |
13120 | return resultobj; | |
13121 | fail: | |
13122 | return NULL; | |
13123 | } | |
13124 | ||
13125 | ||
13126 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13127 | PyObject *resultobj = 0; | |
13128 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13129 | size_t arg2 ; | |
13130 | wxWindow *result = 0 ; | |
13131 | void *argp1 = 0 ; | |
13132 | int res1 = 0 ; | |
13133 | size_t val2 ; | |
13134 | int ecode2 = 0 ; | |
13135 | PyObject * obj0 = 0 ; | |
13136 | PyObject * obj1 = 0 ; | |
13137 | char * kwnames[] = { | |
13138 | (char *) "self",(char *) "idx", NULL | |
13139 | }; | |
13140 | ||
13141 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
13142 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13143 | if (!SWIG_IsOK(res1)) { | |
13144 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13145 | } | |
13146 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13147 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13148 | if (!SWIG_IsOK(ecode2)) { | |
13149 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
13150 | } | |
13151 | arg2 = static_cast< size_t >(val2); | |
13152 | { | |
13153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13154 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
13155 | wxPyEndAllowThreads(__tstate); | |
13156 | if (PyErr_Occurred()) SWIG_fail; | |
13157 | } | |
13158 | { | |
13159 | resultobj = wxPyMake_wxObject(result, 0); | |
13160 | } | |
13161 | return resultobj; | |
13162 | fail: | |
13163 | return NULL; | |
13164 | } | |
13165 | ||
13166 | ||
13167 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13168 | PyObject *resultobj = 0; | |
13169 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13170 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13171 | int result; | |
13172 | void *argp1 = 0 ; | |
13173 | int res1 = 0 ; | |
13174 | void *argp2 = 0 ; | |
13175 | int res2 = 0 ; | |
13176 | PyObject * obj0 = 0 ; | |
13177 | PyObject * obj1 = 0 ; | |
13178 | char * kwnames[] = { | |
13179 | (char *) "self",(char *) "page", NULL | |
13180 | }; | |
13181 | ||
13182 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
13183 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13184 | if (!SWIG_IsOK(res1)) { | |
13185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13186 | } | |
13187 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13188 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13189 | if (!SWIG_IsOK(res2)) { | |
13190 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13191 | } | |
13192 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13193 | { | |
13194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13195 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
13196 | wxPyEndAllowThreads(__tstate); | |
13197 | if (PyErr_Occurred()) SWIG_fail; | |
13198 | } | |
13199 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13200 | return resultobj; | |
13201 | fail: | |
13202 | return NULL; | |
13203 | } | |
13204 | ||
13205 | ||
13206 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13207 | PyObject *resultobj = 0; | |
13208 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13209 | size_t result; | |
13210 | void *argp1 = 0 ; | |
13211 | int res1 = 0 ; | |
13212 | PyObject *swig_obj[1] ; | |
13213 | ||
13214 | if (!args) SWIG_fail; | |
13215 | swig_obj[0] = args; | |
13216 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13217 | if (!SWIG_IsOK(res1)) { | |
13218 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13219 | } | |
13220 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13221 | { | |
13222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13223 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
13224 | wxPyEndAllowThreads(__tstate); | |
13225 | if (PyErr_Occurred()) SWIG_fail; | |
13226 | } | |
13227 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13228 | return resultobj; | |
13229 | fail: | |
13230 | return NULL; | |
13231 | } | |
13232 | ||
13233 | ||
13234 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13235 | PyObject *resultobj = 0; | |
13236 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13237 | size_t arg2 ; | |
13238 | wxAuiNotebookPage *result = 0 ; | |
13239 | void *argp1 = 0 ; | |
13240 | int res1 = 0 ; | |
13241 | size_t val2 ; | |
13242 | int ecode2 = 0 ; | |
13243 | PyObject * obj0 = 0 ; | |
13244 | PyObject * obj1 = 0 ; | |
13245 | char * kwnames[] = { | |
13246 | (char *) "self",(char *) "idx", NULL | |
13247 | }; | |
13248 | ||
13249 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13250 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13251 | if (!SWIG_IsOK(res1)) { | |
13252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13253 | } | |
13254 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13255 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13256 | if (!SWIG_IsOK(ecode2)) { | |
13257 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
13258 | } | |
13259 | arg2 = static_cast< size_t >(val2); | |
13260 | { | |
13261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13262 | { | |
13263 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
13264 | result = (wxAuiNotebookPage *) &_result_ref; | |
13265 | } | |
13266 | wxPyEndAllowThreads(__tstate); | |
13267 | if (PyErr_Occurred()) SWIG_fail; | |
13268 | } | |
13269 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
13270 | return resultobj; | |
13271 | fail: | |
13272 | return NULL; | |
13273 | } | |
13274 | ||
13275 | ||
13276 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13277 | PyObject *resultobj = 0; | |
13278 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13279 | wxAuiNotebookPageArray *result = 0 ; | |
13280 | void *argp1 = 0 ; | |
13281 | int res1 = 0 ; | |
13282 | PyObject *swig_obj[1] ; | |
13283 | ||
13284 | if (!args) SWIG_fail; | |
13285 | swig_obj[0] = args; | |
13286 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13287 | if (!SWIG_IsOK(res1)) { | |
13288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13289 | } | |
13290 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13291 | { | |
13292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13293 | { | |
13294 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
13295 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
13296 | } | |
13297 | wxPyEndAllowThreads(__tstate); | |
13298 | if (PyErr_Occurred()) SWIG_fail; | |
13299 | } | |
13300 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
13301 | return resultobj; | |
13302 | fail: | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
13307 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13308 | PyObject *resultobj = 0; | |
13309 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13310 | wxFont *arg2 = 0 ; | |
13311 | void *argp1 = 0 ; | |
13312 | int res1 = 0 ; | |
13313 | void *argp2 = 0 ; | |
13314 | int res2 = 0 ; | |
13315 | PyObject * obj0 = 0 ; | |
13316 | PyObject * obj1 = 0 ; | |
13317 | char * kwnames[] = { | |
13318 | (char *) "self",(char *) "normal_font", NULL | |
13319 | }; | |
13320 | ||
13321 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13322 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13323 | if (!SWIG_IsOK(res1)) { | |
13324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13325 | } | |
13326 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13327 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13328 | if (!SWIG_IsOK(res2)) { | |
13329 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13330 | } | |
13331 | if (!argp2) { | |
13332 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13333 | } | |
13334 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13335 | { | |
13336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13337 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
13338 | wxPyEndAllowThreads(__tstate); | |
13339 | if (PyErr_Occurred()) SWIG_fail; | |
13340 | } | |
13341 | resultobj = SWIG_Py_Void(); | |
13342 | return resultobj; | |
13343 | fail: | |
13344 | return NULL; | |
13345 | } | |
13346 | ||
13347 | ||
13348 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13349 | PyObject *resultobj = 0; | |
13350 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13351 | wxFont *arg2 = 0 ; | |
13352 | void *argp1 = 0 ; | |
13353 | int res1 = 0 ; | |
13354 | void *argp2 = 0 ; | |
13355 | int res2 = 0 ; | |
13356 | PyObject * obj0 = 0 ; | |
13357 | PyObject * obj1 = 0 ; | |
13358 | char * kwnames[] = { | |
13359 | (char *) "self",(char *) "selected_font", NULL | |
13360 | }; | |
13361 | ||
13362 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13363 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13364 | if (!SWIG_IsOK(res1)) { | |
13365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13366 | } | |
13367 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13368 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13369 | if (!SWIG_IsOK(res2)) { | |
13370 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13371 | } | |
13372 | if (!argp2) { | |
13373 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13374 | } | |
13375 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13376 | { | |
13377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13378 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
13379 | wxPyEndAllowThreads(__tstate); | |
13380 | if (PyErr_Occurred()) SWIG_fail; | |
13381 | } | |
13382 | resultobj = SWIG_Py_Void(); | |
13383 | return resultobj; | |
13384 | fail: | |
13385 | return NULL; | |
13386 | } | |
13387 | ||
13388 | ||
13389 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13390 | PyObject *resultobj = 0; | |
13391 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13392 | wxFont *arg2 = 0 ; | |
13393 | void *argp1 = 0 ; | |
13394 | int res1 = 0 ; | |
13395 | void *argp2 = 0 ; | |
13396 | int res2 = 0 ; | |
13397 | PyObject * obj0 = 0 ; | |
13398 | PyObject * obj1 = 0 ; | |
13399 | char * kwnames[] = { | |
13400 | (char *) "self",(char *) "measuring_font", NULL | |
13401 | }; | |
13402 | ||
13403 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13404 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13405 | if (!SWIG_IsOK(res1)) { | |
13406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13407 | } | |
13408 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13409 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13410 | if (!SWIG_IsOK(res2)) { | |
13411 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13412 | } | |
13413 | if (!argp2) { | |
13414 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13415 | } | |
13416 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13417 | { | |
13418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13419 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13420 | wxPyEndAllowThreads(__tstate); | |
13421 | if (PyErr_Occurred()) SWIG_fail; | |
13422 | } | |
13423 | resultobj = SWIG_Py_Void(); | |
13424 | return resultobj; | |
13425 | fail: | |
13426 | return NULL; | |
13427 | } | |
13428 | ||
13429 | ||
13430 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13431 | PyObject *resultobj = 0; | |
13432 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13433 | void *argp1 = 0 ; | |
13434 | int res1 = 0 ; | |
13435 | PyObject *swig_obj[1] ; | |
13436 | ||
13437 | if (!args) SWIG_fail; | |
13438 | swig_obj[0] = args; | |
13439 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13440 | if (!SWIG_IsOK(res1)) { | |
13441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13442 | } | |
13443 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13444 | { | |
13445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13446 | (arg1)->DoShowHide(); | |
13447 | wxPyEndAllowThreads(__tstate); | |
13448 | if (PyErr_Occurred()) SWIG_fail; | |
13449 | } | |
13450 | resultobj = SWIG_Py_Void(); | |
13451 | return resultobj; | |
13452 | fail: | |
13453 | return NULL; | |
13454 | } | |
13455 | ||
13456 | ||
13457 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13458 | PyObject *resultobj = 0; | |
13459 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13460 | wxRect *arg2 = 0 ; | |
13461 | void *argp1 = 0 ; | |
13462 | int res1 = 0 ; | |
13463 | wxRect temp2 ; | |
13464 | PyObject * obj0 = 0 ; | |
13465 | PyObject * obj1 = 0 ; | |
13466 | char * kwnames[] = { | |
13467 | (char *) "self",(char *) "rect", NULL | |
13468 | }; | |
13469 | ||
13470 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
13471 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13472 | if (!SWIG_IsOK(res1)) { | |
13473 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13474 | } | |
13475 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13476 | { | |
13477 | arg2 = &temp2; | |
13478 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
13479 | } | |
13480 | { | |
13481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13482 | (arg1)->SetRect((wxRect const &)*arg2); | |
13483 | wxPyEndAllowThreads(__tstate); | |
13484 | if (PyErr_Occurred()) SWIG_fail; | |
13485 | } | |
13486 | resultobj = SWIG_Py_Void(); | |
13487 | return resultobj; | |
13488 | fail: | |
13489 | return NULL; | |
13490 | } | |
13491 | ||
13492 | ||
13493 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13494 | PyObject *resultobj = 0; | |
13495 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13496 | int arg2 ; | |
5c8c7dd3 | 13497 | int arg3 ; |
8f514ab4 RD |
13498 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
13499 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
13500 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
13501 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
13502 | void *argp1 = 0 ; |
13503 | int res1 = 0 ; | |
13504 | int val2 ; | |
13505 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
13506 | int val3 ; |
13507 | int ecode3 = 0 ; | |
13508 | void *argp4 = 0 ; | |
13509 | int res4 = 0 ; | |
8f514ab4 RD |
13510 | void *argp5 = 0 ; |
13511 | int res5 = 0 ; | |
10044bf1 RD |
13512 | PyObject * obj0 = 0 ; |
13513 | PyObject * obj1 = 0 ; | |
13514 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 13515 | PyObject * obj3 = 0 ; |
8f514ab4 | 13516 | PyObject * obj4 = 0 ; |
10044bf1 | 13517 | char * kwnames[] = { |
8f514ab4 | 13518 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
13519 | }; |
13520 | ||
8f514ab4 | 13521 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
13522 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
13523 | if (!SWIG_IsOK(res1)) { | |
13524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13525 | } | |
13526 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13527 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13528 | if (!SWIG_IsOK(ecode2)) { | |
13529 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
13530 | } | |
13531 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
13532 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
13533 | if (!SWIG_IsOK(ecode3)) { | |
13534 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
13535 | } | |
13536 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
13537 | if (obj3) { |
13538 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13539 | if (!SWIG_IsOK(res4)) { | |
13540 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
13541 | } | |
13542 | if (!argp4) { | |
13543 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
13544 | } | |
13545 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 13546 | } |
8f514ab4 RD |
13547 | if (obj4) { |
13548 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13549 | if (!SWIG_IsOK(res5)) { | |
13550 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13551 | } | |
13552 | if (!argp5) { | |
13553 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13554 | } | |
13555 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 13556 | } |
10044bf1 RD |
13557 | { |
13558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
13559 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
13560 | wxPyEndAllowThreads(__tstate); | |
13561 | if (PyErr_Occurred()) SWIG_fail; | |
13562 | } | |
13563 | resultobj = SWIG_Py_Void(); | |
13564 | return resultobj; | |
13565 | fail: | |
13566 | return NULL; | |
13567 | } | |
13568 | ||
13569 | ||
13570 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13571 | PyObject *resultobj = 0; | |
13572 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13573 | size_t result; | |
13574 | void *argp1 = 0 ; | |
13575 | int res1 = 0 ; | |
13576 | PyObject *swig_obj[1] ; | |
13577 | ||
13578 | if (!args) SWIG_fail; | |
13579 | swig_obj[0] = args; | |
13580 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13581 | if (!SWIG_IsOK(res1)) { | |
13582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13583 | } | |
13584 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13585 | { | |
13586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13587 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
13588 | wxPyEndAllowThreads(__tstate); | |
13589 | if (PyErr_Occurred()) SWIG_fail; | |
13590 | } | |
13591 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13592 | return resultobj; | |
13593 | fail: | |
13594 | return NULL; | |
13595 | } | |
13596 | ||
13597 | ||
13598 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13599 | PyObject *resultobj = 0; | |
13600 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13601 | size_t arg2 ; | |
13602 | void *argp1 = 0 ; | |
13603 | int res1 = 0 ; | |
13604 | size_t val2 ; | |
13605 | int ecode2 = 0 ; | |
13606 | PyObject * obj0 = 0 ; | |
13607 | PyObject * obj1 = 0 ; | |
13608 | char * kwnames[] = { | |
13609 | (char *) "self",(char *) "offset", NULL | |
13610 | }; | |
13611 | ||
13612 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
13613 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13614 | if (!SWIG_IsOK(res1)) { | |
13615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13616 | } | |
13617 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13618 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13619 | if (!SWIG_IsOK(ecode2)) { | |
13620 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
13621 | } | |
13622 | arg2 = static_cast< size_t >(val2); | |
13623 | { | |
13624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13625 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
13626 | wxPyEndAllowThreads(__tstate); |
13627 | if (PyErr_Occurred()) SWIG_fail; | |
13628 | } | |
13629 | resultobj = SWIG_Py_Void(); | |
13630 | return resultobj; | |
13631 | fail: | |
13632 | return NULL; | |
13633 | } | |
13634 | ||
13635 | ||
13636 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13637 | PyObject *obj; | |
13638 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13639 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
13640 | return SWIG_Py_Void(); | |
13641 | } | |
13642 | ||
13643 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13644 | return SWIG_Python_InitShadowInstance(args); | |
13645 | } | |
13646 | ||
13647 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13648 | PyObject *resultobj = 0; | |
13649 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13650 | int arg2 = (int) wxID_ANY ; | |
13651 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
13652 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
13653 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
13654 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
13655 | long arg5 = (long) 0 ; | |
13656 | wxAuiTabCtrl *result = 0 ; | |
13657 | void *argp1 = 0 ; | |
13658 | int res1 = 0 ; | |
13659 | int val2 ; | |
13660 | int ecode2 = 0 ; | |
13661 | wxPoint temp3 ; | |
13662 | wxSize temp4 ; | |
13663 | long val5 ; | |
13664 | int ecode5 = 0 ; | |
13665 | PyObject * obj0 = 0 ; | |
13666 | PyObject * obj1 = 0 ; | |
13667 | PyObject * obj2 = 0 ; | |
13668 | PyObject * obj3 = 0 ; | |
13669 | PyObject * obj4 = 0 ; | |
13670 | char * kwnames[] = { | |
13671 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
13672 | }; | |
13673 | ||
13674 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
13675 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13676 | if (!SWIG_IsOK(res1)) { | |
13677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
13678 | } | |
13679 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
13680 | if (obj1) { | |
13681 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13682 | if (!SWIG_IsOK(ecode2)) { | |
13683 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
13684 | } | |
13685 | arg2 = static_cast< int >(val2); | |
13686 | } | |
13687 | if (obj2) { | |
13688 | { | |
13689 | arg3 = &temp3; | |
13690 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
13691 | } | |
13692 | } | |
13693 | if (obj3) { | |
13694 | { | |
13695 | arg4 = &temp4; | |
13696 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13697 | } | |
13698 | } | |
13699 | if (obj4) { | |
13700 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
13701 | if (!SWIG_IsOK(ecode5)) { | |
13702 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
13703 | } | |
13704 | arg5 = static_cast< long >(val5); | |
13705 | } | |
13706 | { | |
13707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13708 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
13709 | wxPyEndAllowThreads(__tstate); | |
13710 | if (PyErr_Occurred()) SWIG_fail; | |
13711 | } | |
13712 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
13713 | return resultobj; | |
13714 | fail: | |
13715 | return NULL; | |
13716 | } | |
13717 | ||
13718 | ||
580080c5 RD |
13719 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13720 | PyObject *resultobj = 0; | |
13721 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
13722 | void *argp1 = 0 ; | |
13723 | int res1 = 0 ; | |
13724 | PyObject *swig_obj[1] ; | |
13725 | ||
13726 | if (!args) SWIG_fail; | |
13727 | swig_obj[0] = args; | |
13728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
13729 | if (!SWIG_IsOK(res1)) { | |
13730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
13731 | } | |
13732 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
13733 | { | |
13734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13735 | delete arg1; | |
13736 | ||
13737 | wxPyEndAllowThreads(__tstate); | |
13738 | if (PyErr_Occurred()) SWIG_fail; | |
13739 | } | |
13740 | resultobj = SWIG_Py_Void(); | |
13741 | return resultobj; | |
13742 | fail: | |
13743 | return NULL; | |
13744 | } | |
13745 | ||
13746 | ||
10044bf1 RD |
13747 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13748 | PyObject *obj; | |
13749 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13750 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
13751 | return SWIG_Py_Void(); | |
13752 | } | |
13753 | ||
13754 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13755 | return SWIG_Python_InitShadowInstance(args); | |
13756 | } | |
13757 | ||
13758 | SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13759 | PyObject *resultobj = 0; | |
13760 | wxAuiMultiNotebook *result = 0 ; | |
13761 | ||
13762 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail; | |
13763 | { | |
13764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13765 | result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(); | |
13766 | wxPyEndAllowThreads(__tstate); | |
13767 | if (PyErr_Occurred()) SWIG_fail; | |
13768 | } | |
13769 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 ); | |
13770 | return resultobj; | |
13771 | fail: | |
13772 | return NULL; | |
13773 | } | |
13774 | ||
13775 | ||
13776 | SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13777 | PyObject *resultobj = 0; | |
13778 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13779 | int arg2 = (int) wxID_ANY ; | |
13780 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
13781 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
13782 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
13783 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
13784 | long arg5 = (long) 0 ; | |
13785 | wxAuiMultiNotebook *result = 0 ; | |
13786 | void *argp1 = 0 ; | |
13787 | int res1 = 0 ; | |
13788 | int val2 ; | |
13789 | int ecode2 = 0 ; | |
13790 | wxPoint temp3 ; | |
13791 | wxSize temp4 ; | |
13792 | long val5 ; | |
13793 | int ecode5 = 0 ; | |
13794 | PyObject * obj0 = 0 ; | |
13795 | PyObject * obj1 = 0 ; | |
13796 | PyObject * obj2 = 0 ; | |
13797 | PyObject * obj3 = 0 ; | |
13798 | PyObject * obj4 = 0 ; | |
13799 | char * kwnames[] = { | |
13800 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
13801 | }; | |
13802 | ||
13803 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
13804 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13805 | if (!SWIG_IsOK(res1)) { | |
13806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
13807 | } | |
13808 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
13809 | if (obj1) { | |
13810 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13811 | if (!SWIG_IsOK(ecode2)) { | |
13812 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'"); | |
13813 | } | |
13814 | arg2 = static_cast< int >(val2); | |
13815 | } | |
13816 | if (obj2) { | |
13817 | { | |
13818 | arg3 = &temp3; | |
13819 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
13820 | } | |
13821 | } | |
13822 | if (obj3) { | |
13823 | { | |
13824 | arg4 = &temp4; | |
13825 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13826 | } | |
13827 | } | |
13828 | if (obj4) { | |
13829 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
13830 | if (!SWIG_IsOK(ecode5)) { | |
13831 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'"); | |
13832 | } | |
13833 | arg5 = static_cast< long >(val5); | |
13834 | } | |
13835 | { | |
13836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13837 | result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
13838 | wxPyEndAllowThreads(__tstate); | |
13839 | if (PyErr_Occurred()) SWIG_fail; | |
13840 | } | |
13841 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 ); | |
13842 | return resultobj; | |
13843 | fail: | |
13844 | return NULL; | |
13845 | } | |
13846 | ||
13847 | ||
13848 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13849 | PyObject *resultobj = 0; | |
13850 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13851 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13852 | int arg3 = (int) wxID_ANY ; | |
13853 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13854 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13855 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13856 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13857 | long arg6 = (long) 0 ; | |
13858 | bool result; | |
13859 | void *argp1 = 0 ; | |
13860 | int res1 = 0 ; | |
13861 | void *argp2 = 0 ; | |
13862 | int res2 = 0 ; | |
13863 | int val3 ; | |
13864 | int ecode3 = 0 ; | |
13865 | wxPoint temp4 ; | |
13866 | wxSize temp5 ; | |
13867 | long val6 ; | |
13868 | int ecode6 = 0 ; | |
13869 | PyObject * obj0 = 0 ; | |
13870 | PyObject * obj1 = 0 ; | |
13871 | PyObject * obj2 = 0 ; | |
13872 | PyObject * obj3 = 0 ; | |
13873 | PyObject * obj4 = 0 ; | |
13874 | PyObject * obj5 = 0 ; | |
13875 | char * kwnames[] = { | |
13876 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
13877 | }; | |
13878 | ||
13879 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
13880 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13881 | if (!SWIG_IsOK(res1)) { | |
13882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
13883 | } | |
13884 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13885 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13886 | if (!SWIG_IsOK(res2)) { | |
13887 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13888 | } | |
13889 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13890 | if (obj2) { | |
13891 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13892 | if (!SWIG_IsOK(ecode3)) { | |
13893 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); | |
13894 | } | |
13895 | arg3 = static_cast< int >(val3); | |
13896 | } | |
13897 | if (obj3) { | |
13898 | { | |
13899 | arg4 = &temp4; | |
13900 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
13901 | } | |
13902 | } | |
13903 | if (obj4) { | |
13904 | { | |
13905 | arg5 = &temp5; | |
13906 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
13907 | } | |
13908 | } | |
13909 | if (obj5) { | |
13910 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
13911 | if (!SWIG_IsOK(ecode6)) { | |
13912 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); | |
13913 | } | |
13914 | arg6 = static_cast< long >(val6); | |
13915 | } | |
13916 | { | |
13917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13918 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
13919 | wxPyEndAllowThreads(__tstate); | |
13920 | if (PyErr_Occurred()) SWIG_fail; | |
13921 | } | |
13922 | { | |
13923 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13924 | } | |
13925 | return resultobj; | |
13926 | fail: | |
13927 | return NULL; | |
13928 | } | |
13929 | ||
13930 | ||
13931 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13932 | PyObject *resultobj = 0; | |
13933 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
13934 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13935 | wxString *arg3 = 0 ; | |
13936 | bool arg4 = (bool) false ; | |
13937 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
13938 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
13939 | bool result; | |
13940 | void *argp1 = 0 ; | |
13941 | int res1 = 0 ; | |
13942 | void *argp2 = 0 ; | |
13943 | int res2 = 0 ; | |
13944 | bool temp3 = false ; | |
13945 | bool val4 ; | |
13946 | int ecode4 = 0 ; | |
13947 | void *argp5 = 0 ; | |
13948 | int res5 = 0 ; | |
13949 | PyObject * obj0 = 0 ; | |
13950 | PyObject * obj1 = 0 ; | |
13951 | PyObject * obj2 = 0 ; | |
13952 | PyObject * obj3 = 0 ; | |
13953 | PyObject * obj4 = 0 ; | |
13954 | char * kwnames[] = { | |
13955 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
13956 | }; | |
13957 | ||
13958 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
13959 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
13960 | if (!SWIG_IsOK(res1)) { | |
13961 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
13962 | } | |
13963 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
13964 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13965 | if (!SWIG_IsOK(res2)) { | |
13966 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13967 | } | |
13968 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13969 | { | |
13970 | arg3 = wxString_in_helper(obj2); | |
13971 | if (arg3 == NULL) SWIG_fail; | |
13972 | temp3 = true; | |
13973 | } | |
13974 | if (obj3) { | |
13975 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
13976 | if (!SWIG_IsOK(ecode4)) { | |
13977 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); | |
13978 | } | |
13979 | arg4 = static_cast< bool >(val4); | |
13980 | } | |
13981 | if (obj4) { | |
13982 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13983 | if (!SWIG_IsOK(res5)) { | |
13984 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13985 | } | |
13986 | if (!argp5) { | |
13987 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13988 | } | |
13989 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13990 | } | |
13991 | { | |
13992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13993 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
13994 | wxPyEndAllowThreads(__tstate); | |
13995 | if (PyErr_Occurred()) SWIG_fail; | |
13996 | } | |
13997 | { | |
13998 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13999 | } | |
14000 | { | |
14001 | if (temp3) | |
14002 | delete arg3; | |
14003 | } | |
14004 | return resultobj; | |
14005 | fail: | |
14006 | { | |
14007 | if (temp3) | |
14008 | delete arg3; | |
14009 | } | |
14010 | return NULL; | |
14011 | } | |
14012 | ||
14013 | ||
14014 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14015 | PyObject *resultobj = 0; | |
14016 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14017 | size_t arg2 ; | |
14018 | wxWindow *arg3 = (wxWindow *) 0 ; | |
14019 | wxString *arg4 = 0 ; | |
14020 | bool arg5 = (bool) false ; | |
14021 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
14022 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
14023 | bool result; | |
14024 | void *argp1 = 0 ; | |
14025 | int res1 = 0 ; | |
14026 | size_t val2 ; | |
14027 | int ecode2 = 0 ; | |
14028 | void *argp3 = 0 ; | |
14029 | int res3 = 0 ; | |
14030 | bool temp4 = false ; | |
14031 | bool val5 ; | |
14032 | int ecode5 = 0 ; | |
14033 | void *argp6 = 0 ; | |
14034 | int res6 = 0 ; | |
14035 | PyObject * obj0 = 0 ; | |
14036 | PyObject * obj1 = 0 ; | |
14037 | PyObject * obj2 = 0 ; | |
14038 | PyObject * obj3 = 0 ; | |
14039 | PyObject * obj4 = 0 ; | |
14040 | PyObject * obj5 = 0 ; | |
14041 | char * kwnames[] = { | |
14042 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14043 | }; | |
14044 | ||
14045 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
14046 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14047 | if (!SWIG_IsOK(res1)) { | |
14048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14049 | } | |
14050 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14051 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14052 | if (!SWIG_IsOK(ecode2)) { | |
14053 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14054 | } | |
14055 | arg2 = static_cast< size_t >(val2); | |
14056 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14057 | if (!SWIG_IsOK(res3)) { | |
14058 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
14059 | } | |
14060 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
14061 | { | |
14062 | arg4 = wxString_in_helper(obj3); | |
14063 | if (arg4 == NULL) SWIG_fail; | |
14064 | temp4 = true; | |
14065 | } | |
14066 | if (obj4) { | |
14067 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
14068 | if (!SWIG_IsOK(ecode5)) { | |
14069 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); | |
14070 | } | |
14071 | arg5 = static_cast< bool >(val5); | |
14072 | } | |
14073 | if (obj5) { | |
14074 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14075 | if (!SWIG_IsOK(res6)) { | |
14076 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
14077 | } | |
14078 | if (!argp6) { | |
14079 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
14080 | } | |
14081 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
14082 | } | |
14083 | { | |
14084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14085 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
14086 | wxPyEndAllowThreads(__tstate); | |
14087 | if (PyErr_Occurred()) SWIG_fail; | |
14088 | } | |
14089 | { | |
14090 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14091 | } | |
14092 | { | |
14093 | if (temp4) | |
14094 | delete arg4; | |
14095 | } | |
14096 | return resultobj; | |
14097 | fail: | |
14098 | { | |
14099 | if (temp4) | |
14100 | delete arg4; | |
14101 | } | |
14102 | return NULL; | |
14103 | } | |
14104 | ||
14105 | ||
14106 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14107 | PyObject *resultobj = 0; | |
14108 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14109 | size_t arg2 ; | |
14110 | bool result; | |
14111 | void *argp1 = 0 ; | |
14112 | int res1 = 0 ; | |
14113 | size_t val2 ; | |
14114 | int ecode2 = 0 ; | |
14115 | PyObject * obj0 = 0 ; | |
14116 | PyObject * obj1 = 0 ; | |
14117 | char * kwnames[] = { | |
14118 | (char *) "self",(char *) "page", NULL | |
14119 | }; | |
14120 | ||
14121 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14122 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14123 | if (!SWIG_IsOK(res1)) { | |
14124 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14125 | } | |
14126 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14127 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14128 | if (!SWIG_IsOK(ecode2)) { | |
14129 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14130 | } | |
14131 | arg2 = static_cast< size_t >(val2); | |
14132 | { | |
14133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14134 | result = (bool)(arg1)->DeletePage(arg2); | |
14135 | wxPyEndAllowThreads(__tstate); | |
14136 | if (PyErr_Occurred()) SWIG_fail; | |
14137 | } | |
14138 | { | |
14139 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14140 | } | |
14141 | return resultobj; | |
14142 | fail: | |
14143 | return NULL; | |
14144 | } | |
14145 | ||
14146 | ||
14147 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14148 | PyObject *resultobj = 0; | |
14149 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14150 | size_t arg2 ; | |
14151 | bool result; | |
14152 | void *argp1 = 0 ; | |
14153 | int res1 = 0 ; | |
14154 | size_t val2 ; | |
14155 | int ecode2 = 0 ; | |
14156 | PyObject * obj0 = 0 ; | |
14157 | PyObject * obj1 = 0 ; | |
14158 | char * kwnames[] = { | |
14159 | (char *) "self",(char *) "page", NULL | |
14160 | }; | |
14161 | ||
14162 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14163 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14164 | if (!SWIG_IsOK(res1)) { | |
14165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14166 | } | |
14167 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14168 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14169 | if (!SWIG_IsOK(ecode2)) { | |
14170 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14171 | } | |
14172 | arg2 = static_cast< size_t >(val2); | |
14173 | { | |
14174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14175 | result = (bool)(arg1)->RemovePage(arg2); | |
14176 | wxPyEndAllowThreads(__tstate); | |
14177 | if (PyErr_Occurred()) SWIG_fail; | |
14178 | } | |
14179 | { | |
14180 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14181 | } | |
14182 | return resultobj; | |
14183 | fail: | |
14184 | return NULL; | |
14185 | } | |
14186 | ||
14187 | ||
14188 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14189 | PyObject *resultobj = 0; | |
14190 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14191 | size_t arg2 ; | |
14192 | wxString *arg3 = 0 ; | |
14193 | bool result; | |
14194 | void *argp1 = 0 ; | |
14195 | int res1 = 0 ; | |
14196 | size_t val2 ; | |
14197 | int ecode2 = 0 ; | |
14198 | bool temp3 = false ; | |
14199 | PyObject * obj0 = 0 ; | |
14200 | PyObject * obj1 = 0 ; | |
14201 | PyObject * obj2 = 0 ; | |
14202 | char * kwnames[] = { | |
14203 | (char *) "self",(char *) "page",(char *) "text", NULL | |
14204 | }; | |
14205 | ||
14206 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
14207 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14208 | if (!SWIG_IsOK(res1)) { | |
14209 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14210 | } | |
14211 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14212 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14213 | if (!SWIG_IsOK(ecode2)) { | |
14214 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
14215 | } | |
14216 | arg2 = static_cast< size_t >(val2); | |
14217 | { | |
14218 | arg3 = wxString_in_helper(obj2); | |
14219 | if (arg3 == NULL) SWIG_fail; | |
14220 | temp3 = true; | |
14221 | } | |
14222 | { | |
14223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14224 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
14225 | wxPyEndAllowThreads(__tstate); | |
14226 | if (PyErr_Occurred()) SWIG_fail; | |
14227 | } | |
14228 | { | |
14229 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14230 | } | |
14231 | { | |
14232 | if (temp3) | |
14233 | delete arg3; | |
14234 | } | |
14235 | return resultobj; | |
14236 | fail: | |
14237 | { | |
14238 | if (temp3) | |
14239 | delete arg3; | |
14240 | } | |
14241 | return NULL; | |
14242 | } | |
14243 | ||
14244 | ||
14245 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14246 | PyObject *resultobj = 0; | |
14247 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14248 | size_t arg2 ; | |
14249 | size_t result; | |
14250 | void *argp1 = 0 ; | |
14251 | int res1 = 0 ; | |
14252 | size_t val2 ; | |
14253 | int ecode2 = 0 ; | |
14254 | PyObject * obj0 = 0 ; | |
14255 | PyObject * obj1 = 0 ; | |
14256 | char * kwnames[] = { | |
14257 | (char *) "self",(char *) "new_page", NULL | |
14258 | }; | |
14259 | ||
14260 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
14261 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14262 | if (!SWIG_IsOK(res1)) { | |
14263 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14264 | } | |
14265 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14266 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14267 | if (!SWIG_IsOK(ecode2)) { | |
14268 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
14269 | } | |
14270 | arg2 = static_cast< size_t >(val2); | |
14271 | { | |
14272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14273 | result = (size_t)(arg1)->SetSelection(arg2); | |
14274 | wxPyEndAllowThreads(__tstate); | |
14275 | if (PyErr_Occurred()) SWIG_fail; | |
14276 | } | |
14277 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14278 | return resultobj; | |
14279 | fail: | |
14280 | return NULL; | |
14281 | } | |
14282 | ||
14283 | ||
14284 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14285 | PyObject *resultobj = 0; | |
14286 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14287 | int result; | |
14288 | void *argp1 = 0 ; | |
14289 | int res1 = 0 ; | |
14290 | PyObject *swig_obj[1] ; | |
14291 | ||
14292 | if (!args) SWIG_fail; | |
14293 | swig_obj[0] = args; | |
14294 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14295 | if (!SWIG_IsOK(res1)) { | |
14296 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
14297 | } | |
14298 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14299 | { | |
14300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14301 | result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection(); | |
14302 | wxPyEndAllowThreads(__tstate); | |
14303 | if (PyErr_Occurred()) SWIG_fail; | |
14304 | } | |
14305 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14306 | return resultobj; | |
14307 | fail: | |
14308 | return NULL; | |
14309 | } | |
14310 | ||
14311 | ||
14312 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14313 | PyObject *resultobj = 0; | |
14314 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14315 | size_t result; | |
14316 | void *argp1 = 0 ; | |
14317 | int res1 = 0 ; | |
14318 | PyObject *swig_obj[1] ; | |
14319 | ||
14320 | if (!args) SWIG_fail; | |
14321 | swig_obj[0] = args; | |
14322 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14323 | if (!SWIG_IsOK(res1)) { | |
14324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
14325 | } | |
14326 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14327 | { | |
14328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14329 | result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount(); | |
14330 | wxPyEndAllowThreads(__tstate); | |
14331 | if (PyErr_Occurred()) SWIG_fail; | |
14332 | } | |
14333 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14334 | return resultobj; | |
14335 | fail: | |
14336 | return NULL; | |
14337 | } | |
14338 | ||
14339 | ||
14340 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14341 | PyObject *resultobj = 0; | |
14342 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14343 | size_t arg2 ; | |
14344 | wxWindow *result = 0 ; | |
14345 | void *argp1 = 0 ; | |
14346 | int res1 = 0 ; | |
14347 | size_t val2 ; | |
14348 | int ecode2 = 0 ; | |
14349 | PyObject * obj0 = 0 ; | |
14350 | PyObject * obj1 = 0 ; | |
14351 | char * kwnames[] = { | |
14352 | (char *) "self",(char *) "page_idx", NULL | |
14353 | }; | |
14354 | ||
14355 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14356 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14357 | if (!SWIG_IsOK(res1)) { | |
14358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'"); | |
14359 | } | |
14360 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14361 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14362 | if (!SWIG_IsOK(ecode2)) { | |
14363 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14364 | } | |
14365 | arg2 = static_cast< size_t >(val2); | |
14366 | { | |
14367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14368 | result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2); | |
14369 | wxPyEndAllowThreads(__tstate); | |
14370 | if (PyErr_Occurred()) SWIG_fail; | |
14371 | } | |
14372 | { | |
14373 | resultobj = wxPyMake_wxObject(result, 0); | |
14374 | } | |
14375 | return resultobj; | |
14376 | fail: | |
14377 | return NULL; | |
14378 | } | |
14379 | ||
14380 | ||
5c8c7dd3 RD |
14381 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14382 | PyObject *resultobj = 0; | |
14383 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14384 | wxTabArt *arg2 = (wxTabArt *) 0 ; | |
14385 | void *argp1 = 0 ; | |
14386 | int res1 = 0 ; | |
14387 | void *argp2 = 0 ; | |
14388 | int res2 = 0 ; | |
14389 | PyObject * obj0 = 0 ; | |
14390 | PyObject * obj1 = 0 ; | |
14391 | char * kwnames[] = { | |
14392 | (char *) "self",(char *) "art", NULL | |
14393 | }; | |
14394 | ||
14395 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
14396 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14397 | if (!SWIG_IsOK(res1)) { | |
14398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14399 | } | |
14400 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14401 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
14402 | if (!SWIG_IsOK(res2)) { | |
14403 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxTabArt *""'"); | |
14404 | } | |
14405 | arg2 = reinterpret_cast< wxTabArt * >(argp2); | |
14406 | { | |
14407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14408 | (arg1)->SetArtProvider(arg2); | |
14409 | wxPyEndAllowThreads(__tstate); | |
14410 | if (PyErr_Occurred()) SWIG_fail; | |
14411 | } | |
14412 | resultobj = SWIG_Py_Void(); | |
14413 | return resultobj; | |
14414 | fail: | |
14415 | return NULL; | |
14416 | } | |
14417 | ||
14418 | ||
14419 | SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14420 | PyObject *resultobj = 0; | |
14421 | wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ; | |
14422 | wxTabArt *result = 0 ; | |
14423 | void *argp1 = 0 ; | |
14424 | int res1 = 0 ; | |
14425 | PyObject *swig_obj[1] ; | |
14426 | ||
14427 | if (!args) SWIG_fail; | |
14428 | swig_obj[0] = args; | |
14429 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 ); | |
14430 | if (!SWIG_IsOK(res1)) { | |
14431 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'"); | |
14432 | } | |
14433 | arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1); | |
14434 | { | |
14435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14436 | result = (wxTabArt *)(arg1)->GetArtProvider(); | |
14437 | wxPyEndAllowThreads(__tstate); | |
14438 | if (PyErr_Occurred()) SWIG_fail; | |
14439 | } | |
14440 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTabArt, 0 | 0 ); | |
14441 | return resultobj; | |
14442 | fail: | |
14443 | return NULL; | |
14444 | } | |
14445 | ||
14446 | ||
10044bf1 RD |
14447 | SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14448 | PyObject *obj; | |
14449 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14450 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj)); | |
14451 | return SWIG_Py_Void(); | |
14452 | } | |
14453 | ||
14454 | SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14455 | return SWIG_Python_InitShadowInstance(args); | |
14456 | } | |
14457 | ||
14458 | SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14459 | PyObject *obj; | |
14460 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14461 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj)); | |
14462 | return SWIG_Py_Void(); | |
14463 | } | |
14464 | ||
5c8c7dd3 RD |
14465 | SWIGINTERN PyObject *PyTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14466 | PyObject *obj; | |
14467 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14468 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTabArt, SWIG_NewClientData(obj)); | |
14469 | return SWIG_Py_Void(); | |
14470 | } | |
14471 | ||
10044bf1 RD |
14472 | static PyMethodDef SwigMethods[] = { |
14473 | { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL}, | |
14474 | { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL}, | |
14475 | { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14476 | { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL}, | |
14477 | { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL}, | |
14478 | { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL}, | |
14479 | { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL}, | |
14480 | { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL}, | |
14481 | { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL}, | |
14482 | { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL}, | |
14483 | { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL}, | |
14484 | { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL}, | |
14485 | { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL}, | |
14486 | { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL}, | |
14487 | { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL}, | |
14488 | { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL}, | |
9b940138 | 14489 | { (char *)"PaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_PaneInfo_IsDestroyOnClose, METH_O, NULL}, |
10044bf1 RD |
14490 | { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL}, |
14491 | { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL}, | |
14492 | { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL}, | |
14493 | { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL}, | |
14494 | { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL}, | |
14495 | { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL}, | |
14496 | { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL}, | |
14497 | { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL}, | |
14498 | { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14499 | { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14500 | { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14501 | { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL}, | |
14502 | { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL}, | |
14503 | { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL}, | |
14504 | { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL}, | |
14505 | { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL}, | |
14506 | { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL}, | |
14507 | { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14508 | { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14509 | { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14510 | { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14511 | { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14512 | { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14513 | { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14514 | { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14515 | { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14516 | { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL}, | |
14517 | { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14518 | { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL}, | |
14519 | { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL}, | |
14520 | { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL}, | |
14521 | { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14522 | { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14523 | { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14524 | { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14525 | { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14526 | { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14527 | { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14528 | { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14529 | { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14530 | { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14531 | { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14532 | { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14533 | { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14534 | { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14535 | { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14536 | { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14537 | { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14538 | { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL}, | |
14539 | { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL}, | |
14540 | { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL}, | |
14541 | { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL}, | |
14542 | { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14543 | { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14544 | { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL}, | |
14545 | { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL}, | |
14546 | { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL}, | |
14547 | { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL}, | |
14548 | { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL}, | |
14549 | { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL}, | |
14550 | { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL}, | |
14551 | { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL}, | |
14552 | { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL}, | |
14553 | { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL}, | |
14554 | { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
14555 | { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL}, | |
14556 | { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
14557 | { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL}, | |
14558 | { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
14559 | { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL}, | |
14560 | { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
14561 | { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL}, | |
14562 | { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL}, | |
14563 | { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL}, | |
14564 | { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL}, | |
14565 | { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL}, | |
14566 | { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL}, | |
14567 | { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL}, | |
14568 | { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
14569 | { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL}, | |
14570 | { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
14571 | { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL}, | |
14572 | { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
14573 | { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL}, | |
14574 | { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL}, | |
14575 | { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL}, | |
14576 | { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL}, | |
14577 | { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL}, | |
14578 | { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL}, | |
14579 | { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL}, | |
14580 | { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14581 | { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL}, | |
14582 | { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL}, | |
14583 | { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14584 | { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL}, | |
14585 | { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14586 | { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL}, | |
14587 | { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14588 | { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL}, | |
14589 | { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14590 | { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14591 | { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL}, | |
14592 | { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14593 | { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14594 | { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14595 | { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14596 | { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9b940138 | 14597 | { (char *)"FrameManager_ClosePane", (PyCFunction) _wrap_FrameManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
14598 | { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
14599 | { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14600 | { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL}, | |
14601 | { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14602 | { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL}, | |
9b940138 | 14603 | { (char *)"FrameManager_CreateFloatingFrame", (PyCFunction) _wrap_FrameManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
14604 | { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
14605 | { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14606 | { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL}, | |
14607 | { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14608 | { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14609 | { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL}, | |
14610 | { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL}, | |
27e45892 RD |
14611 | { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
14612 | { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL}, | |
14613 | { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14614 | { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
81f5836b | 14615 | { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, |
27e45892 RD |
14616 | { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL}, |
14617 | { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL}, | |
81f5836b | 14618 | { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL}, |
27e45892 RD |
14619 | { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, |
14620 | { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL}, | |
14621 | { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14622 | { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL}, | |
14623 | { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL}, | |
14624 | { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL}, | |
14625 | { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL}, | |
14626 | { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL}, | |
14627 | { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
14628 | { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL}, | |
14629 | { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
14630 | { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL}, | |
81f5836b RD |
14631 | { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL}, |
14632 | { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL}, | |
27e45892 RD |
14633 | { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL}, |
14634 | { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL}, | |
14635 | { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL}, | |
14636 | { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL}, | |
14637 | { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL}, | |
14638 | { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL}, | |
14639 | { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL}, | |
14640 | { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL}, | |
14641 | { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL}, | |
14642 | { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL}, | |
14643 | { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
14644 | { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL}, | |
14645 | { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
14646 | { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL}, | |
14647 | { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL}, | |
14648 | { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL}, | |
14649 | { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL}, | |
14650 | { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL}, | |
14651 | { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL}, | |
14652 | { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL}, | |
14653 | { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL}, | |
14654 | { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL}, | |
14655 | { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL}, | |
14656 | { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL}, | |
14657 | { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL}, | |
14658 | { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL}, | |
72ef6efb | 14659 | { (char *)"delete_DockInfo", (PyCFunction)_wrap_delete_DockInfo, METH_O, NULL}, |
27e45892 RD |
14660 | { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL}, |
14661 | { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL}, | |
14662 | { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL}, | |
14663 | { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL}, | |
14664 | { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL}, | |
14665 | { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL}, | |
14666 | { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL}, | |
14667 | { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL}, | |
14668 | { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL}, | |
14669 | { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL}, | |
14670 | { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL}, | |
14671 | { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL}, | |
14672 | { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
14673 | { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL}, | |
14674 | { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
14675 | { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL}, | |
14676 | { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL}, | |
14677 | { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL}, | |
72ef6efb | 14678 | { (char *)"delete_DockUIPart", (PyCFunction)_wrap_delete_DockUIPart, METH_O, NULL}, |
27e45892 RD |
14679 | { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL}, |
14680 | { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL}, | |
14681 | { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL}, | |
72ef6efb | 14682 | { (char *)"delete_PaneButton", (PyCFunction)_wrap_delete_PaneButton, METH_O, NULL}, |
27e45892 RD |
14683 | { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL}, |
14684 | { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL}, | |
14685 | { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14686 | { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14687 | { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14688 | { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14689 | { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14690 | { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14691 | { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14692 | { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14693 | { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14694 | { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14695 | { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14696 | { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14697 | { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14698 | { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14699 | { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL}, | |
14700 | { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL}, | |
14701 | { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
14702 | { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
14703 | { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14704 | { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL}, | |
14705 | { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14706 | { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL}, | |
14707 | { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL}, | |
5c8c7dd3 | 14708 | { (char *)"delete_TabArt", (PyCFunction)_wrap_delete_TabArt, METH_O, NULL}, |
5c8c7dd3 RD |
14709 | { (char *)"TabArt_SetNormalFont", (PyCFunction) _wrap_TabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, |
14710 | { (char *)"TabArt_SetSelectedFont", (PyCFunction) _wrap_TabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14711 | { (char *)"TabArt_SetMeasuringFont", (PyCFunction) _wrap_TabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8f514ab4 RD |
14712 | { (char *)"TabArt_DrawBackground", (PyCFunction) _wrap_TabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, |
14713 | { (char *)"TabArt_DrawTab", (PyCFunction) _wrap_TabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14714 | { (char *)"TabArt_DrawButton", (PyCFunction) _wrap_TabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14715 | { (char *)"TabArt_GetTabSize", (PyCFunction) _wrap_TabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14716 | { (char *)"TabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_TabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5c8c7dd3 RD |
14717 | { (char *)"TabArt_swigregister", TabArt_swigregister, METH_VARARGS, NULL}, |
14718 | { (char *)"new_DefaultTabArt", (PyCFunction)_wrap_new_DefaultTabArt, METH_NOARGS, NULL}, | |
14719 | { (char *)"delete_DefaultTabArt", (PyCFunction)_wrap_delete_DefaultTabArt, METH_O, NULL}, | |
14720 | { (char *)"DefaultTabArt_swigregister", DefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
14721 | { (char *)"DefaultTabArt_swiginit", DefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
14722 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
14723 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14724 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14725 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
14726 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
14727 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
14728 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
14729 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
14730 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
14731 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
14732 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
14733 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
14734 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
14735 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
14736 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
14737 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
14738 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
14739 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
14740 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
14741 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
14742 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
14743 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
14744 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
14745 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
14746 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
14747 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
14748 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
14749 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
10044bf1 RD |
14750 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
14751 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
14752 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
14753 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
10044bf1 RD |
14754 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
14755 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
14756 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
14757 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
14758 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
14759 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
14760 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
10044bf1 RD |
14761 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
14762 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 14763 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
14764 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
14765 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
14766 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
14767 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
14768 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14769 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14770 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14771 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14772 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
14773 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14774 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
14775 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14776 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14777 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14778 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
14779 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14780 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8f514ab4 RD |
14781 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
14782 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 RD |
14783 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
14784 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
14785 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 14786 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
10044bf1 RD |
14787 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
14788 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
14789 | { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL}, | |
14790 | { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14791 | { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14792 | { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14793 | { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14794 | { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14795 | { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14796 | { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14797 | { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14798 | { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL}, | |
14799 | { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL}, | |
14800 | { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5c8c7dd3 RD |
14801 | { (char *)"AuiMultiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiMultiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
14802 | { (char *)"AuiMultiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiMultiNotebook_GetArtProvider, METH_O, NULL}, | |
10044bf1 RD |
14803 | { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL}, |
14804 | { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL}, | |
27e45892 | 14805 | { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL}, |
5c8c7dd3 | 14806 | { (char *)"PyTabArt_swigregister", PyTabArt_swigregister, METH_VARARGS, NULL}, |
27e45892 RD |
14807 | { NULL, NULL, 0, NULL } |
14808 | }; | |
14809 | ||
14810 | ||
14811 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
14812 | ||
fc46b7f3 RD |
14813 | static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) { |
14814 | return (void *)((wxMiniFrame *) ((wxFloatingPane *) x)); | |
14815 | } | |
27e45892 RD |
14816 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { |
14817 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
14818 | } | |
14819 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
14820 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
14821 | } | |
14822 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
14823 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
14824 | } | |
14825 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
14826 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
14827 | } | |
14828 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
14829 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
14830 | } | |
14831 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
14832 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
14833 | } | |
14834 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
14835 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
14836 | } | |
10044bf1 RD |
14837 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
14838 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
14839 | } | |
14840 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
14841 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
14842 | } | |
27e45892 RD |
14843 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
14844 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
14845 | } | |
14846 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
14847 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
14848 | } | |
14849 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
14850 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
14851 | } | |
14852 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
14853 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
14854 | } | |
14855 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
14856 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
14857 | } | |
14858 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
14859 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
14860 | } | |
14861 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
14862 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
14863 | } | |
14864 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
14865 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
14866 | } | |
14867 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
14868 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
14869 | } | |
14870 | static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) { | |
fc46b7f3 | 14871 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); |
27e45892 RD |
14872 | } |
14873 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
14874 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
14875 | } | |
14876 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
14877 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
14878 | } | |
14879 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
14880 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14881 | } | |
14882 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
14883 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
14884 | } | |
14885 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
14886 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14887 | } | |
14888 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
14889 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14890 | } | |
14891 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
14892 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
14893 | } | |
14894 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
14895 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
14896 | } | |
14897 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
14898 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
14899 | } | |
14900 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
14901 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
14902 | } | |
14903 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
14904 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14905 | } | |
14906 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
14907 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
14908 | } | |
14909 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
14910 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
14911 | } | |
14912 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
14913 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
14914 | } | |
14915 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
14916 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
14917 | } | |
14918 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
14919 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
14920 | } | |
14921 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
14922 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
14923 | } | |
14924 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
14925 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
14926 | } | |
14927 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
14928 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
14929 | } | |
14930 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
14931 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
14932 | } | |
14933 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
14934 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
14935 | } | |
14936 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
14937 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
14938 | } | |
14939 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
14940 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
14941 | } | |
14942 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
14943 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
14944 | } | |
14945 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
14946 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
14947 | } | |
14948 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
14949 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
14950 | } | |
14951 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
14952 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
14953 | } | |
14954 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
14955 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
14956 | } | |
14957 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
14958 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
14959 | } | |
14960 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
14961 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
14962 | } | |
14963 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
14964 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
14965 | } | |
14966 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
14967 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
14968 | } | |
14969 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
14970 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
14971 | } | |
14972 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
14973 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
14974 | } | |
14975 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
14976 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
14977 | } | |
14978 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
14979 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
14980 | } | |
14981 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
14982 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
14983 | } | |
14984 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
14985 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
14986 | } | |
14987 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
14988 | return (void *)((wxWindow *) ((wxControl *) x)); | |
14989 | } | |
14990 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
14991 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
14992 | } | |
14993 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
14994 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
14995 | } | |
14996 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
14997 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
14998 | } | |
14999 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15000 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15001 | } | |
15002 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
15003 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
15004 | } | |
15005 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
15006 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15007 | } | |
15008 | static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) { | |
fc46b7f3 | 15009 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); |
27e45892 RD |
15010 | } |
15011 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
15012 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
15013 | } | |
15014 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
15015 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
15016 | } | |
10044bf1 RD |
15017 | static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) { |
15018 | return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x)); | |
15019 | } | |
27e45892 RD |
15020 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
15021 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
15022 | } | |
15023 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
15024 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
15025 | } | |
10044bf1 RD |
15026 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
15027 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
15028 | } | |
27e45892 RD |
15029 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
15030 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
15031 | } | |
15032 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
15033 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15034 | } | |
15035 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
15036 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
15037 | } | |
15038 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
15039 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
15040 | } | |
15041 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
15042 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
15043 | } | |
15044 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
15045 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15046 | } | |
10044bf1 RD |
15047 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
15048 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
15049 | } | |
15050 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
15051 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
15052 | } | |
15053 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
15054 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
15055 | } | |
15056 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
15057 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
15058 | } | |
15059 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
15060 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
15061 | } | |
15062 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
15063 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
15064 | } | |
15065 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
15066 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
15067 | } | |
15068 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
15069 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
15070 | } | |
15071 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
15072 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
15073 | } | |
15074 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
15075 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
15076 | } | |
15077 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
15078 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
15079 | } | |
15080 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
15081 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
15082 | } | |
15083 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
15084 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
15085 | } | |
15086 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
15087 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
15088 | } | |
15089 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
15090 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
15091 | } | |
15092 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
15093 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
15094 | } | |
15095 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
15096 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
15097 | } | |
15098 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
15099 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
15100 | } | |
15101 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
15102 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
15103 | } | |
15104 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
15105 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
15106 | } | |
15107 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
15108 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
15109 | } | |
15110 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
15111 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
15112 | } | |
15113 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
15114 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
15115 | } | |
15116 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
15117 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
15118 | } | |
15119 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
15120 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
15121 | } | |
15122 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
15123 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
15124 | } | |
15125 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
15126 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
15127 | } | |
15128 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
15129 | return (void *)((wxWindow **) ((wxControl **) x)); | |
15130 | } | |
15131 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
15132 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
15133 | } | |
15134 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
15135 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
15136 | } | |
15137 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
15138 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
15139 | } | |
15140 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
15141 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
15142 | } | |
15143 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
15144 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
15145 | } | |
15146 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
15147 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
15148 | } | |
15149 | static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) { | |
fc46b7f3 | 15150 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane **) x)); |
10044bf1 RD |
15151 | } |
15152 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { | |
15153 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
15154 | } | |
15155 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
15156 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
15157 | } | |
15158 | static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) { | |
15159 | return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x)); | |
15160 | } | |
15161 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15162 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
15163 | } | |
15164 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15165 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
15166 | } | |
15167 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
15168 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
15169 | } | |
15170 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
15171 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
15172 | } | |
15173 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
15174 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
15175 | } | |
15176 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
15177 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
15178 | } | |
15179 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
15180 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
15181 | } | |
15182 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
15183 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
15184 | } | |
15185 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { | |
15186 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
15187 | } | |
15188 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
15189 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15190 | } | |
15191 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
15192 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
15193 | } | |
15194 | static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) { | |
15195 | return (void *)((wxControl *) ((wxAuiMultiNotebook *) x)); | |
15196 | } | |
27e45892 RD |
15197 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
15198 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15199 | } | |
15200 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15201 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15202 | } | |
15203 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15204 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15205 | } | |
15206 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15207 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15208 | } | |
15209 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15210 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15211 | } | |
15212 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15213 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15214 | } | |
15215 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
15216 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15217 | } | |
15218 | static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) { | |
15219 | return (void *)((wxEvent *) ((wxFrameManagerEvent *) x)); | |
15220 | } | |
15221 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
15222 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15223 | } | |
15224 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15225 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15226 | } | |
15227 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
15228 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15229 | } | |
15230 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15231 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15232 | } | |
34e0a3bb RD |
15233 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
15234 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
15235 | } | |
27e45892 RD |
15236 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
15237 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15238 | } | |
15239 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
15240 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
15241 | } | |
10044bf1 RD |
15242 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
15243 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15244 | } | |
27e45892 RD |
15245 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15246 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15247 | } | |
15248 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15249 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15250 | } | |
15251 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15252 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15253 | } | |
15254 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15255 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15256 | } | |
15257 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15258 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15259 | } | |
15260 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15261 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15262 | } | |
15263 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15264 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15265 | } | |
15266 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15267 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15268 | } | |
15269 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
15270 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
15271 | } | |
27e45892 RD |
15272 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
15273 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15274 | } | |
15275 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15276 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15277 | } | |
34e0a3bb RD |
15278 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
15279 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
15280 | } | |
27e45892 RD |
15281 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
15282 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15283 | } | |
15284 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15285 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15286 | } | |
15287 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15288 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15289 | } | |
15290 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15291 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15292 | } | |
15293 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15294 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15295 | } | |
15296 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15297 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15298 | } | |
15299 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15300 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15301 | } | |
15302 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15303 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15304 | } | |
15305 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
15306 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
15307 | } | |
15308 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
15309 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
15310 | } | |
15311 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
15312 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15313 | } | |
15314 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15315 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15316 | } | |
15317 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15318 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15319 | } | |
15320 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15321 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15322 | } | |
15323 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15324 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15325 | } | |
15326 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15327 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15328 | } | |
15329 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15330 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15331 | } | |
15332 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
15333 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
15334 | } | |
15335 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
15336 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
15337 | } | |
15338 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
15339 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
15340 | } | |
15341 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
15342 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15343 | } | |
15344 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
15345 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15346 | } | |
27e45892 RD |
15347 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
15348 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
15349 | } | |
34e0a3bb RD |
15350 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
15351 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
15352 | } | |
27e45892 RD |
15353 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
15354 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
15355 | } | |
15356 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
15357 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
15358 | } | |
15359 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
15360 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15361 | } | |
15362 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
15363 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
15364 | } | |
15365 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
15366 | return (void *)((wxObject *) ((wxSizer *) x)); | |
15367 | } | |
15368 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
15369 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15370 | } | |
15371 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
15372 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15373 | } | |
15374 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
15375 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
15376 | } | |
15377 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
15378 | return (void *)((wxObject *) ((wxEvent *) x)); | |
15379 | } | |
15380 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
15381 | return (void *)((wxObject *) ((wxFontData *) x)); | |
15382 | } | |
15383 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
15384 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
15385 | } | |
15386 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
15387 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15388 | } | |
15389 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
15390 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
15391 | } | |
15392 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
15393 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
15394 | } | |
15395 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
15396 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
15397 | } | |
15398 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
15399 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
15400 | } | |
15401 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
15402 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15403 | } | |
10044bf1 RD |
15404 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
15405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
15406 | } | |
27e45892 RD |
15407 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
15408 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
15409 | } | |
15410 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
15411 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
15412 | } | |
15413 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15414 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15415 | } | |
15416 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
15417 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15418 | } | |
15419 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
15420 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15421 | } | |
15422 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
15423 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15424 | } | |
15425 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
15426 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15427 | } | |
15428 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
15429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15430 | } | |
15431 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
15432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
15433 | } | |
15434 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
15435 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
15436 | } | |
15437 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
15438 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15439 | } | |
15440 | static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) { | |
15441 | return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x)); | |
15442 | } | |
15443 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
15444 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
15445 | } | |
15446 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
15447 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
15448 | } | |
15449 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
15450 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
15451 | } | |
15452 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
15453 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
15454 | } | |
10044bf1 RD |
15455 | static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) { |
15456 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x)); | |
15457 | } | |
27e45892 RD |
15458 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
15459 | return (void *)((wxObject *) ((wxColourData *) x)); | |
15460 | } | |
15461 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15462 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15463 | } | |
15464 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
15465 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15466 | } | |
15467 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
15468 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
15469 | } | |
15470 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
15471 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
15472 | } | |
15473 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
15474 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
15475 | } | |
15476 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
15477 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15478 | } | |
15479 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
15480 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15481 | } | |
15482 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
15483 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
15484 | } | |
15485 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
15486 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15487 | } | |
15488 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
15489 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
15490 | } | |
15491 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
15492 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
15493 | } | |
15494 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
15495 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
15496 | } | |
15497 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
15498 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
15499 | } | |
15500 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
15501 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
15502 | } | |
15503 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
15504 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
15505 | } | |
15506 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
15507 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
15508 | } | |
15509 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
15510 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
15511 | } | |
15512 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
15513 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
15514 | } | |
15515 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
15516 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15517 | } | |
15518 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
15519 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15520 | } | |
15521 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
15522 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
15523 | } | |
15524 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
15525 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
15526 | } | |
15527 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
15528 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
15529 | } | |
15530 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
15531 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
15532 | } | |
15533 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
15534 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
15535 | } | |
15536 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
15537 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
15538 | } | |
15539 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
15540 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
15541 | } | |
15542 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
15543 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
15544 | } | |
15545 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
15546 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
15547 | } | |
15548 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
15549 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
15550 | } | |
15551 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
15552 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
15553 | } | |
15554 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
15555 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
15556 | } | |
15557 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
15558 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
15559 | } | |
15560 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
15561 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
15562 | } | |
15563 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
15564 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
15565 | } | |
15566 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
15567 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
15568 | } | |
15569 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
15570 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
15571 | } | |
15572 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
15573 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
15574 | } | |
580080c5 RD |
15575 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
15576 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
15577 | } | |
27e45892 RD |
15578 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
15579 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
15580 | } | |
34e0a3bb RD |
15581 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
15582 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
15583 | } | |
27e45892 RD |
15584 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
15585 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
15586 | } | |
15587 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
15588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
15589 | } | |
15590 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
15591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
15592 | } | |
27e45892 RD |
15593 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
15594 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
15595 | } | |
580080c5 RD |
15596 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
15597 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
15598 | } | |
27e45892 RD |
15599 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
15600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
15601 | } | |
15602 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
15603 | return (void *)((wxObject *) ((wxImage *) x)); | |
15604 | } | |
15605 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
15606 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
15607 | } | |
15608 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
15609 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
15610 | } | |
15611 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
15612 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
15613 | } | |
15614 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
15615 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
15616 | } | |
15617 | static void *_p_wxFloatingPaneTo_p_wxObject(void *x) { | |
fc46b7f3 | 15618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); |
27e45892 RD |
15619 | } |
15620 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
15621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
15622 | } | |
15623 | static void *_p_wxFrameManagerTo_p_wxObject(void *x) { | |
15624 | return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x)); | |
15625 | } | |
15626 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
15627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15628 | } | |
10044bf1 RD |
15629 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
15630 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15631 | } | |
27e45892 RD |
15632 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
15633 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15634 | } | |
15635 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
15636 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15637 | } | |
15638 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
15639 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
15640 | } | |
15641 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
15642 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
15643 | } | |
15644 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
15645 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
15646 | } | |
15647 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
15648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
15649 | } | |
15650 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
15651 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
15652 | } | |
15653 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
15654 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
15655 | } | |
15656 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
15657 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
15658 | } | |
15659 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
15660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
15661 | } | |
15662 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
15663 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
15664 | } | |
15665 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
15666 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
15667 | } | |
15668 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
15669 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
15670 | } | |
15671 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
15672 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
15673 | } | |
15674 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
15675 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
15676 | } | |
15677 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
15678 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
15679 | } | |
15680 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
15681 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
15682 | } | |
15683 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
15684 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
15685 | } | |
15686 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
15687 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
15688 | } | |
15689 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
15690 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
15691 | } | |
15692 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
15693 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
15694 | } | |
15695 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
15696 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
15697 | } | |
15698 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
15699 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
15700 | } | |
15701 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
15702 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
15703 | } | |
15704 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
15705 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
15706 | } | |
15707 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
15708 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15709 | } | |
15710 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
15711 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
15712 | } | |
15713 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
15714 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
15715 | } | |
15716 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
15717 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
15718 | } | |
15719 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
15720 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15721 | } | |
15722 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
15723 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
15724 | } | |
15725 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
15726 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
15727 | } | |
15728 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
15729 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
15730 | } | |
15731 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
15732 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
15733 | } | |
15734 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
15735 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
15736 | } | |
15737 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
15738 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15739 | } | |
15740 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
15741 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
15742 | } | |
15743 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
15744 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
15745 | } | |
15746 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
15747 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
15748 | } | |
15749 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
15750 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
15751 | } | |
15752 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
15753 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
15754 | } | |
15755 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
15756 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15757 | } | |
15758 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
15759 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15760 | } | |
15761 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
15762 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
15763 | } | |
15764 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
15765 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
15766 | } | |
15767 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
15768 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
15769 | } | |
15770 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
15771 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
15772 | } | |
15773 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
15774 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
15775 | } | |
15776 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
15777 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
15778 | } | |
15779 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
15780 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
15781 | } | |
15782 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
15783 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
15784 | } | |
15785 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
15786 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
15787 | } | |
15788 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
15789 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
15790 | } | |
15791 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
15792 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
15793 | } | |
15794 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
15795 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15796 | } | |
15797 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
15798 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
15799 | } | |
15800 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
15801 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15802 | } | |
15803 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
15804 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15805 | } | |
15806 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
15807 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
15808 | } | |
15809 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
15810 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
15811 | } | |
15812 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
15813 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
15814 | } | |
15815 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
15816 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
15817 | } | |
15818 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
15819 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
15820 | } | |
15821 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
15822 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
15823 | } | |
15824 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
15825 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
15826 | } | |
15827 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
15828 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
15829 | } | |
15830 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
15831 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
15832 | } | |
15833 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
15834 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
15835 | } | |
15836 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
15837 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
15838 | } | |
15839 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
15840 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
15841 | } | |
15842 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
15843 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
15844 | } | |
15845 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
15846 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
15847 | } | |
15848 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
15849 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
15850 | } | |
15851 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
15852 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
15853 | } | |
15854 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
15855 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
15856 | } | |
15857 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
15858 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
15859 | } | |
15860 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
15861 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
15862 | } | |
15863 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
15864 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
15865 | } | |
15866 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
15867 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
15868 | } | |
15869 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
15870 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15871 | } | |
15872 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
15873 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15874 | } | |
15875 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
15876 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
15877 | } | |
15878 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
15879 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
15880 | } | |
15881 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
15882 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15883 | } | |
15884 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
15885 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
15886 | } | |
15887 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
15888 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15889 | } | |
15890 | static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) { | |
fc46b7f3 | 15891 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x)); |
27e45892 RD |
15892 | } |
15893 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
15894 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
15895 | } | |
15896 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
15897 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
15898 | } | |
10044bf1 RD |
15899 | static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) { |
15900 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x)); | |
15901 | } | |
27e45892 RD |
15902 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
15903 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
15904 | } | |
15905 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
15906 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
15907 | } | |
15908 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
15909 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
15910 | } | |
10044bf1 RD |
15911 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
15912 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
15913 | } | |
27e45892 RD |
15914 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
15915 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
15916 | } | |
15917 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
15918 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
15919 | } | |
15920 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
15921 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
15922 | } | |
15923 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
15924 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
15925 | } | |
15926 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
15927 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15928 | } | |
15929 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
15930 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15931 | } | |
15932 | static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) { | |
15933 | return (void *)((wxEvtHandler *) ((wxFrameManager *) x)); | |
15934 | } | |
10044bf1 RD |
15935 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
15936 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
15937 | } | |
27e45892 RD |
15938 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
15939 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
15940 | } | |
15941 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
15942 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
15943 | } | |
15944 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
15945 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
15946 | } | |
15947 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
15948 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
15949 | } | |
15950 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
15951 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15952 | } | |
15953 | static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) { | |
fc46b7f3 | 15954 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x)); |
27e45892 RD |
15955 | } |
15956 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
15957 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
15958 | } | |
15959 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
15960 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
15961 | } | |
15962 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
15963 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
15964 | } | |
10044bf1 RD |
15965 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
15966 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
15967 | } | |
15968 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
15969 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15970 | } | |
15971 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
15972 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15973 | } | |
15974 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
15975 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
15976 | } | |
15977 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
15978 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
15979 | } | |
15980 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
15981 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15982 | } | |
15983 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
15984 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15985 | } | |
15986 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
15987 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15988 | } | |
15989 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
15990 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15991 | } | |
15992 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
15993 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
15994 | } | |
15995 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
15996 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15997 | } | |
15998 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
15999 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16000 | } | |
16001 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
16002 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16003 | } | |
16004 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
16005 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16006 | } | |
27e45892 RD |
16007 | static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) { |
16008 | return (void *)((wxDockArt *) ((wxDefaultDockArt *) x)); | |
16009 | } | |
16010 | static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) { | |
16011 | return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x)); | |
16012 | } | |
16013 | static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) { | |
16014 | return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x)); | |
16015 | } | |
5c8c7dd3 RD |
16016 | static void *_p_wxPyTabArtTo_p_wxDefaultTabArt(void *x) { |
16017 | return (void *)((wxDefaultTabArt *) ((wxPyTabArt *) x)); | |
16018 | } | |
16019 | static void *_p_wxDefaultTabArtTo_p_wxTabArt(void *x) { | |
16020 | return (void *)((wxTabArt *) ((wxDefaultTabArt *) x)); | |
16021 | } | |
16022 | static void *_p_wxPyTabArtTo_p_wxTabArt(void *x) { | |
16023 | return (void *)((wxTabArt *) (wxDefaultTabArt *) ((wxPyTabArt *) x)); | |
16024 | } | |
27e45892 RD |
16025 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
16026 | 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}; | |
5c8c7dd3 | 16027 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
16028 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
16029 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
16030 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16031 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
16032 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16033 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16034 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16035 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16036 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16037 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16038 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16039 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16040 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16041 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16042 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16043 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
16044 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16045 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16046 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16047 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16048 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16049 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16050 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16051 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
16052 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16053 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16054 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16055 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16056 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16057 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
16058 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16059 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
16060 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
16061 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
16062 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
16063 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
16064 | static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0}; | |
16065 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
16066 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
16067 | static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0}; | |
16068 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
16069 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16070 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
16071 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
16072 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16073 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16074 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16075 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
16076 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16077 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
16078 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
16079 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16080 | static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0}; |
16081 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; | |
16082 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
16083 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
16084 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; | |
16085 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
16086 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
16087 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16088 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
16089 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16090 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
16091 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
16092 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
16093 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
16094 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
16095 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
16096 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
16097 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
16098 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
16099 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
16100 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
16101 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
16102 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
16103 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
16104 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16105 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
16106 | static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0}; | |
5c8c7dd3 | 16107 | static swig_type_info _swigt__p_wxDefaultTabArt = {"_p_wxDefaultTabArt", "wxDefaultTabArt *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16108 | static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0}; |
16109 | static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0}; | |
16110 | static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0}; | |
16111 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
16112 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16113 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
16114 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
16115 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
16116 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
16117 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 16118 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 16119 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
34e0a3bb | 16120 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
16121 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
16122 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16123 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
16124 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
16125 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
16126 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
16127 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
16128 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16129 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
16130 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16131 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
16132 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
16133 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
16134 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
16135 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
16136 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16137 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
16138 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16139 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
16140 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
16141 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
16142 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
16143 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
16144 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16145 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; |
16146 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16147 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
16148 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
16149 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16150 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
fc46b7f3 | 16151 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
16152 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
16153 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16154 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16155 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16156 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16157 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16158 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; |
16159 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16160 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16161 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16162 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16163 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16164 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16165 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16166 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16167 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16168 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16169 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16170 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16171 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16172 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16173 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
16174 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16175 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
16176 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
16177 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
16178 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
16179 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
16180 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16181 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
16182 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16183 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16184 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16185 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
16186 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
16187 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
16188 | static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0}; | |
16189 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
16190 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
16191 | static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0}; | |
16192 | static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0}; | |
fc46b7f3 | 16193 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 16194 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16195 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
16196 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
16197 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
16198 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
16199 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
16200 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
16201 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
16202 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
16203 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
16204 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
16205 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
16206 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
16207 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
16208 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
16209 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
16210 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
16211 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
16212 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16213 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
16214 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
16215 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
16216 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
16217 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
16218 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
10044bf1 RD |
16219 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
16220 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16221 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
16222 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
16223 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
16224 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
16225 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 16226 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
16227 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
16228 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
16229 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
16230 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
16231 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
16232 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
16233 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
16234 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
16235 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
16236 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
16237 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
16238 | static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0}; | |
16239 | static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0}; | |
16240 | static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0}; | |
16241 | static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
16242 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
16243 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
16244 | static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0}; | |
5c8c7dd3 | 16245 | static swig_type_info _swigt__p_wxPyTabArt = {"_p_wxPyTabArt", "wxPyTabArt *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16246 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
16247 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
16248 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
16249 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
16250 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
5c8c7dd3 | 16251 | static swig_type_info _swigt__p_wxTabArt = {"_p_wxTabArt", "wxTabArt *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16252 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; |
16253 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
16254 | ||
16255 | static swig_type_info *swig_type_initial[] = { | |
16256 | &_swigt__p_char, | |
16257 | &_swigt__p_form_ops_t, | |
16258 | &_swigt__p_int, | |
10044bf1 RD |
16259 | &_swigt__p_p_wxAuiMultiNotebook, |
16260 | &_swigt__p_p_wxAuiTabContainerButton, | |
16261 | &_swigt__p_p_wxAuiTabCtrl, | |
16262 | &_swigt__p_p_wxColourDialog, | |
16263 | &_swigt__p_p_wxControl, | |
16264 | &_swigt__p_p_wxControlWithItems, | |
16265 | &_swigt__p_p_wxDialog, | |
16266 | &_swigt__p_p_wxDirDialog, | |
16267 | &_swigt__p_p_wxFileDialog, | |
16268 | &_swigt__p_p_wxFindReplaceDialog, | |
16269 | &_swigt__p_p_wxFloatingPane, | |
16270 | &_swigt__p_p_wxFontDialog, | |
16271 | &_swigt__p_p_wxFrame, | |
16272 | &_swigt__p_p_wxMDIChildFrame, | |
16273 | &_swigt__p_p_wxMDIClientWindow, | |
16274 | &_swigt__p_p_wxMDIParentFrame, | |
16275 | &_swigt__p_p_wxMenuBar, | |
16276 | &_swigt__p_p_wxMessageDialog, | |
16277 | &_swigt__p_p_wxMiniFrame, | |
16278 | &_swigt__p_p_wxMultiChoiceDialog, | |
16279 | &_swigt__p_p_wxNumberEntryDialog, | |
16280 | &_swigt__p_p_wxPanel, | |
16281 | &_swigt__p_p_wxPasswordEntryDialog, | |
16282 | &_swigt__p_p_wxPopupWindow, | |
16283 | &_swigt__p_p_wxPreviewCanvas, | |
16284 | &_swigt__p_p_wxPreviewControlBar, | |
16285 | &_swigt__p_p_wxPreviewFrame, | |
16286 | &_swigt__p_p_wxProgressDialog, | |
16287 | &_swigt__p_p_wxPyHtmlListBox, | |
16288 | &_swigt__p_p_wxPyPanel, | |
16289 | &_swigt__p_p_wxPyPopupTransientWindow, | |
16290 | &_swigt__p_p_wxPyPreviewControlBar, | |
16291 | &_swigt__p_p_wxPyPreviewFrame, | |
16292 | &_swigt__p_p_wxPyScrolledWindow, | |
16293 | &_swigt__p_p_wxPyVListBox, | |
16294 | &_swigt__p_p_wxPyVScrolledWindow, | |
16295 | &_swigt__p_p_wxPyWindow, | |
16296 | &_swigt__p_p_wxSashLayoutWindow, | |
16297 | &_swigt__p_p_wxSashWindow, | |
16298 | &_swigt__p_p_wxScrolledWindow, | |
16299 | &_swigt__p_p_wxSingleChoiceDialog, | |
16300 | &_swigt__p_p_wxSplashScreen, | |
16301 | &_swigt__p_p_wxSplashScreenWindow, | |
16302 | &_swigt__p_p_wxSplitterWindow, | |
16303 | &_swigt__p_p_wxStatusBar, | |
16304 | &_swigt__p_p_wxTextEntryDialog, | |
16305 | &_swigt__p_p_wxTipWindow, | |
16306 | &_swigt__p_p_wxTopLevelWindow, | |
16307 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
16308 | &_swigt__p_unsigned_char, |
16309 | &_swigt__p_unsigned_int, | |
16310 | &_swigt__p_unsigned_long, | |
16311 | &_swigt__p_wxANIHandler, | |
16312 | &_swigt__p_wxAcceleratorTable, | |
16313 | &_swigt__p_wxActivateEvent, | |
10044bf1 RD |
16314 | &_swigt__p_wxAuiMultiNotebook, |
16315 | &_swigt__p_wxAuiNotebookEvent, | |
16316 | &_swigt__p_wxAuiNotebookPage, | |
16317 | &_swigt__p_wxAuiNotebookPageArray, | |
16318 | &_swigt__p_wxAuiTabContainer, | |
16319 | &_swigt__p_wxAuiTabContainerButton, | |
16320 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 16321 | &_swigt__p_wxBMPHandler, |
10044bf1 | 16322 | &_swigt__p_wxBitmap, |
27e45892 RD |
16323 | &_swigt__p_wxBoxSizer, |
16324 | &_swigt__p_wxCURHandler, | |
16325 | &_swigt__p_wxCalculateLayoutEvent, | |
16326 | &_swigt__p_wxChildFocusEvent, | |
16327 | &_swigt__p_wxClipboardTextEvent, | |
16328 | &_swigt__p_wxCloseEvent, | |
16329 | &_swigt__p_wxColor, | |
16330 | &_swigt__p_wxColour, | |
16331 | &_swigt__p_wxColourData, | |
16332 | &_swigt__p_wxColourDialog, | |
16333 | &_swigt__p_wxCommandEvent, | |
16334 | &_swigt__p_wxContextMenuEvent, | |
16335 | &_swigt__p_wxControl, | |
16336 | &_swigt__p_wxControlWithItems, | |
16337 | &_swigt__p_wxDC, | |
16338 | &_swigt__p_wxDateEvent, | |
16339 | &_swigt__p_wxDefaultDockArt, | |
5c8c7dd3 | 16340 | &_swigt__p_wxDefaultTabArt, |
27e45892 RD |
16341 | &_swigt__p_wxDialog, |
16342 | &_swigt__p_wxDirDialog, | |
16343 | &_swigt__p_wxDisplayChangedEvent, | |
16344 | &_swigt__p_wxDockArt, | |
16345 | &_swigt__p_wxDockInfo, | |
16346 | &_swigt__p_wxDockUIPart, | |
16347 | &_swigt__p_wxDropFilesEvent, | |
16348 | &_swigt__p_wxDuplexMode, | |
16349 | &_swigt__p_wxEraseEvent, | |
16350 | &_swigt__p_wxEvent, | |
16351 | &_swigt__p_wxEvtHandler, | |
16352 | &_swigt__p_wxFSFile, | |
16353 | &_swigt__p_wxFileDialog, | |
16354 | &_swigt__p_wxFileSystem, | |
16355 | &_swigt__p_wxFindDialogEvent, | |
16356 | &_swigt__p_wxFindReplaceData, | |
16357 | &_swigt__p_wxFindReplaceDialog, | |
16358 | &_swigt__p_wxFlexGridSizer, | |
16359 | &_swigt__p_wxFloatingPane, | |
16360 | &_swigt__p_wxFocusEvent, | |
16361 | &_swigt__p_wxFont, | |
16362 | &_swigt__p_wxFontData, | |
16363 | &_swigt__p_wxFontDialog, | |
16364 | &_swigt__p_wxFrame, | |
16365 | &_swigt__p_wxFrameManager, | |
16366 | &_swigt__p_wxFrameManagerEvent, | |
16367 | &_swigt__p_wxGBSizerItem, | |
16368 | &_swigt__p_wxGIFHandler, | |
16369 | &_swigt__p_wxGridBagSizer, | |
16370 | &_swigt__p_wxGridSizer, | |
16371 | &_swigt__p_wxICOHandler, | |
16372 | &_swigt__p_wxIconizeEvent, | |
16373 | &_swigt__p_wxIdleEvent, | |
16374 | &_swigt__p_wxImage, | |
16375 | &_swigt__p_wxImageHandler, | |
16376 | &_swigt__p_wxIndividualLayoutConstraint, | |
16377 | &_swigt__p_wxInitDialogEvent, | |
16378 | &_swigt__p_wxJPEGHandler, | |
16379 | &_swigt__p_wxKeyEvent, | |
16380 | &_swigt__p_wxLayoutAlgorithm, | |
16381 | &_swigt__p_wxLayoutConstraints, | |
16382 | &_swigt__p_wxMDIChildFrame, | |
16383 | &_swigt__p_wxMDIClientWindow, | |
16384 | &_swigt__p_wxMDIParentFrame, | |
16385 | &_swigt__p_wxMaximizeEvent, | |
16386 | &_swigt__p_wxMenu, | |
16387 | &_swigt__p_wxMenuBar, | |
16388 | &_swigt__p_wxMenuEvent, | |
16389 | &_swigt__p_wxMenuItem, | |
16390 | &_swigt__p_wxMessageDialog, | |
16391 | &_swigt__p_wxMiniFrame, | |
16392 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 16393 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
16394 | &_swigt__p_wxMouseEvent, |
16395 | &_swigt__p_wxMoveEvent, | |
16396 | &_swigt__p_wxMultiChoiceDialog, | |
16397 | &_swigt__p_wxNavigationKeyEvent, | |
16398 | &_swigt__p_wxNcPaintEvent, | |
16399 | &_swigt__p_wxNotifyEvent, | |
16400 | &_swigt__p_wxNumberEntryDialog, | |
16401 | &_swigt__p_wxObject, | |
16402 | &_swigt__p_wxPCXHandler, | |
16403 | &_swigt__p_wxPNGHandler, | |
16404 | &_swigt__p_wxPNMHandler, | |
16405 | &_swigt__p_wxPageSetupDialog, | |
16406 | &_swigt__p_wxPageSetupDialogData, | |
16407 | &_swigt__p_wxPaintEvent, | |
16408 | &_swigt__p_wxPaletteChangedEvent, | |
16409 | &_swigt__p_wxPaneButton, | |
16410 | &_swigt__p_wxPaneButtonArray, | |
16411 | &_swigt__p_wxPaneInfo, | |
16412 | &_swigt__p_wxPaneInfoPtrArray, | |
16413 | &_swigt__p_wxPanel, | |
16414 | &_swigt__p_wxPaperSize, | |
16415 | &_swigt__p_wxPasswordEntryDialog, | |
16416 | &_swigt__p_wxPoint, | |
16417 | &_swigt__p_wxPopupWindow, | |
16418 | &_swigt__p_wxPreviewCanvas, | |
16419 | &_swigt__p_wxPreviewControlBar, | |
16420 | &_swigt__p_wxPreviewFrame, | |
16421 | &_swigt__p_wxPrintData, | |
16422 | &_swigt__p_wxPrintDialog, | |
16423 | &_swigt__p_wxPrintDialogData, | |
16424 | &_swigt__p_wxPrintPreview, | |
16425 | &_swigt__p_wxPrinter, | |
16426 | &_swigt__p_wxProgressDialog, | |
16427 | &_swigt__p_wxPyApp, | |
16428 | &_swigt__p_wxPyCommandEvent, | |
16429 | &_swigt__p_wxPyDockArt, | |
16430 | &_swigt__p_wxPyEvent, | |
16431 | &_swigt__p_wxPyHtmlListBox, | |
16432 | &_swigt__p_wxPyImageHandler, | |
16433 | &_swigt__p_wxPyPanel, | |
16434 | &_swigt__p_wxPyPopupTransientWindow, | |
16435 | &_swigt__p_wxPyPreviewControlBar, | |
16436 | &_swigt__p_wxPyPreviewFrame, | |
16437 | &_swigt__p_wxPyPrintPreview, | |
16438 | &_swigt__p_wxPyPrintout, | |
16439 | &_swigt__p_wxPyScrolledWindow, | |
16440 | &_swigt__p_wxPySizer, | |
5c8c7dd3 | 16441 | &_swigt__p_wxPyTabArt, |
27e45892 RD |
16442 | &_swigt__p_wxPyTaskBarIcon, |
16443 | &_swigt__p_wxPyVListBox, | |
16444 | &_swigt__p_wxPyVScrolledWindow, | |
16445 | &_swigt__p_wxPyValidator, | |
16446 | &_swigt__p_wxPyWindow, | |
16447 | &_swigt__p_wxQueryLayoutInfoEvent, | |
16448 | &_swigt__p_wxQueryNewPaletteEvent, | |
16449 | &_swigt__p_wxRect, | |
16450 | &_swigt__p_wxSashEvent, | |
16451 | &_swigt__p_wxSashLayoutWindow, | |
16452 | &_swigt__p_wxSashWindow, | |
16453 | &_swigt__p_wxScrollEvent, | |
16454 | &_swigt__p_wxScrollWinEvent, | |
16455 | &_swigt__p_wxScrolledWindow, | |
16456 | &_swigt__p_wxSetCursorEvent, | |
16457 | &_swigt__p_wxShowEvent, | |
16458 | &_swigt__p_wxSingleChoiceDialog, | |
16459 | &_swigt__p_wxSize, | |
16460 | &_swigt__p_wxSizeEvent, | |
16461 | &_swigt__p_wxSizer, | |
16462 | &_swigt__p_wxSizerItem, | |
16463 | &_swigt__p_wxSplashScreen, | |
16464 | &_swigt__p_wxSplashScreenWindow, | |
16465 | &_swigt__p_wxSplitterEvent, | |
16466 | &_swigt__p_wxSplitterWindow, | |
16467 | &_swigt__p_wxStaticBoxSizer, | |
16468 | &_swigt__p_wxStatusBar, | |
16469 | &_swigt__p_wxStdDialogButtonSizer, | |
16470 | &_swigt__p_wxString, | |
16471 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 16472 | &_swigt__p_wxTGAHandler, |
27e45892 | 16473 | &_swigt__p_wxTIFFHandler, |
5c8c7dd3 | 16474 | &_swigt__p_wxTabArt, |
27e45892 RD |
16475 | &_swigt__p_wxTaskBarIconEvent, |
16476 | &_swigt__p_wxTextEntryDialog, | |
16477 | &_swigt__p_wxTipWindow, | |
16478 | &_swigt__p_wxTopLevelWindow, | |
16479 | &_swigt__p_wxUpdateUIEvent, | |
16480 | &_swigt__p_wxValidator, | |
16481 | &_swigt__p_wxWindow, | |
16482 | &_swigt__p_wxWindowCreateEvent, | |
16483 | &_swigt__p_wxWindowDestroyEvent, | |
16484 | &_swigt__p_wxXPMHandler, | |
16485 | }; | |
16486 | ||
16487 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
16488 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
16489 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
16490 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
16491 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
16492 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16493 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
16494 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16495 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16496 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16497 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16498 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16499 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16500 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16501 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16502 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16503 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16504 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
16505 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16506 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16507 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16508 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16509 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16510 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16511 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16512 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16513 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16514 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16515 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16516 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16517 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16518 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16519 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16520 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
16521 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16522 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
16523 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16524 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
16525 | static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}}; | |
16526 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
16527 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
16528 | static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
16529 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16530 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16531 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
16532 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16533 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16534 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16535 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16536 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16537 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16538 | 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 |
16539 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
16540 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
16541 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
16542 | static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
16543 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16544 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
16545 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
16546 | 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}}; | |
16547 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
16548 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
16549 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16550 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
16551 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
16552 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16553 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16554 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16555 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16556 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16557 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16558 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16559 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16560 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16561 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16562 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16563 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16564 | 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}}; | |
16565 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
16566 | 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 |
16567 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
16568 | 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}}; | |
5c8c7dd3 | 16569 | static swig_cast_info _swigc__p_wxDefaultTabArt[] = { {&_swigt__p_wxDefaultTabArt, 0, 0, 0}, {&_swigt__p_wxPyTabArt, _p_wxPyTabArtTo_p_wxDefaultTabArt, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16570 | 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}}; |
16571 | static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
16572 | static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
16573 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16574 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16575 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16576 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16577 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16578 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 16579 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 16580 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 16581 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16582 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16583 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16584 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16585 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16586 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16587 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16588 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16589 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16590 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16591 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16592 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16593 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16594 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16595 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16596 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16597 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16598 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16599 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16600 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
16601 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16602 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
16603 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 16604 | 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 | 16605 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16606 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; |
16607 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16608 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
16609 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
16610 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16611 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
fc46b7f3 | 16612 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16613 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
16614 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16615 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16616 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16617 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16618 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16619 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; |
16620 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16621 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16622 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16623 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16624 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16625 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16626 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16627 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16628 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16629 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16630 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16631 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16632 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16633 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16634 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
16635 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16636 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
16637 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
16638 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
16639 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
16640 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16641 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16642 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
16643 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16644 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16645 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16646 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16647 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
16648 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
fc46b7f3 | 16649 | 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_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16650 | static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}}; |
16651 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
16652 | static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}}; | |
16653 | static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}}; | |
16654 | static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
fc46b7f3 | 16655 | 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}}; |
10044bf1 | 16656 | 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 |
16657 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
16658 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
16659 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
16660 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
16661 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
16662 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
16663 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
16664 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
16665 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
16666 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
16667 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
16668 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
16669 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
16670 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
16671 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
16672 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
16673 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16674 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
16675 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16676 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16677 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16678 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16679 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
16680 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
16681 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
16682 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
16683 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16684 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16685 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
16686 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 16687 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16688 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
16689 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
16690 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
16691 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
16692 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
16693 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
16694 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16695 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16696 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
16697 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
16698 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 16699 | 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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16700 | static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
16701 | static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
16702 | static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
16703 | static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
16704 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
16705 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
16706 | static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}}; | |
5c8c7dd3 | 16707 | static swig_cast_info _swigc__p_wxPyTabArt[] = { {&_swigt__p_wxPyTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16708 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
16709 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
16710 | 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}}; | |
16711 | 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}}; | |
16712 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5c8c7dd3 | 16713 | static swig_cast_info _swigc__p_wxTabArt[] = { {&_swigt__p_wxTabArt, 0, 0, 0}, {&_swigt__p_wxDefaultTabArt, _p_wxDefaultTabArtTo_p_wxTabArt, 0, 0}, {&_swigt__p_wxPyTabArt, _p_wxPyTabArtTo_p_wxTabArt, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 16714 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; |
fc46b7f3 | 16715 | 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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16716 | |
16717 | static swig_cast_info *swig_cast_initial[] = { | |
16718 | _swigc__p_char, | |
16719 | _swigc__p_form_ops_t, | |
16720 | _swigc__p_int, | |
10044bf1 RD |
16721 | _swigc__p_p_wxAuiMultiNotebook, |
16722 | _swigc__p_p_wxAuiTabContainerButton, | |
16723 | _swigc__p_p_wxAuiTabCtrl, | |
16724 | _swigc__p_p_wxColourDialog, | |
16725 | _swigc__p_p_wxControl, | |
16726 | _swigc__p_p_wxControlWithItems, | |
16727 | _swigc__p_p_wxDialog, | |
16728 | _swigc__p_p_wxDirDialog, | |
16729 | _swigc__p_p_wxFileDialog, | |
16730 | _swigc__p_p_wxFindReplaceDialog, | |
16731 | _swigc__p_p_wxFloatingPane, | |
16732 | _swigc__p_p_wxFontDialog, | |
16733 | _swigc__p_p_wxFrame, | |
16734 | _swigc__p_p_wxMDIChildFrame, | |
16735 | _swigc__p_p_wxMDIClientWindow, | |
16736 | _swigc__p_p_wxMDIParentFrame, | |
16737 | _swigc__p_p_wxMenuBar, | |
16738 | _swigc__p_p_wxMessageDialog, | |
16739 | _swigc__p_p_wxMiniFrame, | |
16740 | _swigc__p_p_wxMultiChoiceDialog, | |
16741 | _swigc__p_p_wxNumberEntryDialog, | |
16742 | _swigc__p_p_wxPanel, | |
16743 | _swigc__p_p_wxPasswordEntryDialog, | |
16744 | _swigc__p_p_wxPopupWindow, | |
16745 | _swigc__p_p_wxPreviewCanvas, | |
16746 | _swigc__p_p_wxPreviewControlBar, | |
16747 | _swigc__p_p_wxPreviewFrame, | |
16748 | _swigc__p_p_wxProgressDialog, | |
16749 | _swigc__p_p_wxPyHtmlListBox, | |
16750 | _swigc__p_p_wxPyPanel, | |
16751 | _swigc__p_p_wxPyPopupTransientWindow, | |
16752 | _swigc__p_p_wxPyPreviewControlBar, | |
16753 | _swigc__p_p_wxPyPreviewFrame, | |
16754 | _swigc__p_p_wxPyScrolledWindow, | |
16755 | _swigc__p_p_wxPyVListBox, | |
16756 | _swigc__p_p_wxPyVScrolledWindow, | |
16757 | _swigc__p_p_wxPyWindow, | |
16758 | _swigc__p_p_wxSashLayoutWindow, | |
16759 | _swigc__p_p_wxSashWindow, | |
16760 | _swigc__p_p_wxScrolledWindow, | |
16761 | _swigc__p_p_wxSingleChoiceDialog, | |
16762 | _swigc__p_p_wxSplashScreen, | |
16763 | _swigc__p_p_wxSplashScreenWindow, | |
16764 | _swigc__p_p_wxSplitterWindow, | |
16765 | _swigc__p_p_wxStatusBar, | |
16766 | _swigc__p_p_wxTextEntryDialog, | |
16767 | _swigc__p_p_wxTipWindow, | |
16768 | _swigc__p_p_wxTopLevelWindow, | |
16769 | _swigc__p_p_wxWindow, | |
27e45892 RD |
16770 | _swigc__p_unsigned_char, |
16771 | _swigc__p_unsigned_int, | |
16772 | _swigc__p_unsigned_long, | |
16773 | _swigc__p_wxANIHandler, | |
16774 | _swigc__p_wxAcceleratorTable, | |
16775 | _swigc__p_wxActivateEvent, | |
10044bf1 RD |
16776 | _swigc__p_wxAuiMultiNotebook, |
16777 | _swigc__p_wxAuiNotebookEvent, | |
16778 | _swigc__p_wxAuiNotebookPage, | |
16779 | _swigc__p_wxAuiNotebookPageArray, | |
16780 | _swigc__p_wxAuiTabContainer, | |
16781 | _swigc__p_wxAuiTabContainerButton, | |
16782 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 16783 | _swigc__p_wxBMPHandler, |
10044bf1 | 16784 | _swigc__p_wxBitmap, |
27e45892 RD |
16785 | _swigc__p_wxBoxSizer, |
16786 | _swigc__p_wxCURHandler, | |
16787 | _swigc__p_wxCalculateLayoutEvent, | |
16788 | _swigc__p_wxChildFocusEvent, | |
16789 | _swigc__p_wxClipboardTextEvent, | |
16790 | _swigc__p_wxCloseEvent, | |
16791 | _swigc__p_wxColor, | |
16792 | _swigc__p_wxColour, | |
16793 | _swigc__p_wxColourData, | |
16794 | _swigc__p_wxColourDialog, | |
16795 | _swigc__p_wxCommandEvent, | |
16796 | _swigc__p_wxContextMenuEvent, | |
16797 | _swigc__p_wxControl, | |
16798 | _swigc__p_wxControlWithItems, | |
16799 | _swigc__p_wxDC, | |
16800 | _swigc__p_wxDateEvent, | |
16801 | _swigc__p_wxDefaultDockArt, | |
5c8c7dd3 | 16802 | _swigc__p_wxDefaultTabArt, |
27e45892 RD |
16803 | _swigc__p_wxDialog, |
16804 | _swigc__p_wxDirDialog, | |
16805 | _swigc__p_wxDisplayChangedEvent, | |
16806 | _swigc__p_wxDockArt, | |
16807 | _swigc__p_wxDockInfo, | |
16808 | _swigc__p_wxDockUIPart, | |
16809 | _swigc__p_wxDropFilesEvent, | |
16810 | _swigc__p_wxDuplexMode, | |
16811 | _swigc__p_wxEraseEvent, | |
16812 | _swigc__p_wxEvent, | |
16813 | _swigc__p_wxEvtHandler, | |
16814 | _swigc__p_wxFSFile, | |
16815 | _swigc__p_wxFileDialog, | |
16816 | _swigc__p_wxFileSystem, | |
16817 | _swigc__p_wxFindDialogEvent, | |
16818 | _swigc__p_wxFindReplaceData, | |
16819 | _swigc__p_wxFindReplaceDialog, | |
16820 | _swigc__p_wxFlexGridSizer, | |
16821 | _swigc__p_wxFloatingPane, | |
16822 | _swigc__p_wxFocusEvent, | |
16823 | _swigc__p_wxFont, | |
16824 | _swigc__p_wxFontData, | |
16825 | _swigc__p_wxFontDialog, | |
16826 | _swigc__p_wxFrame, | |
16827 | _swigc__p_wxFrameManager, | |
16828 | _swigc__p_wxFrameManagerEvent, | |
16829 | _swigc__p_wxGBSizerItem, | |
16830 | _swigc__p_wxGIFHandler, | |
16831 | _swigc__p_wxGridBagSizer, | |
16832 | _swigc__p_wxGridSizer, | |
16833 | _swigc__p_wxICOHandler, | |
16834 | _swigc__p_wxIconizeEvent, | |
16835 | _swigc__p_wxIdleEvent, | |
16836 | _swigc__p_wxImage, | |
16837 | _swigc__p_wxImageHandler, | |
16838 | _swigc__p_wxIndividualLayoutConstraint, | |
16839 | _swigc__p_wxInitDialogEvent, | |
16840 | _swigc__p_wxJPEGHandler, | |
16841 | _swigc__p_wxKeyEvent, | |
16842 | _swigc__p_wxLayoutAlgorithm, | |
16843 | _swigc__p_wxLayoutConstraints, | |
16844 | _swigc__p_wxMDIChildFrame, | |
16845 | _swigc__p_wxMDIClientWindow, | |
16846 | _swigc__p_wxMDIParentFrame, | |
16847 | _swigc__p_wxMaximizeEvent, | |
16848 | _swigc__p_wxMenu, | |
16849 | _swigc__p_wxMenuBar, | |
16850 | _swigc__p_wxMenuEvent, | |
16851 | _swigc__p_wxMenuItem, | |
16852 | _swigc__p_wxMessageDialog, | |
16853 | _swigc__p_wxMiniFrame, | |
16854 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 16855 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
16856 | _swigc__p_wxMouseEvent, |
16857 | _swigc__p_wxMoveEvent, | |
16858 | _swigc__p_wxMultiChoiceDialog, | |
16859 | _swigc__p_wxNavigationKeyEvent, | |
16860 | _swigc__p_wxNcPaintEvent, | |
16861 | _swigc__p_wxNotifyEvent, | |
16862 | _swigc__p_wxNumberEntryDialog, | |
16863 | _swigc__p_wxObject, | |
16864 | _swigc__p_wxPCXHandler, | |
16865 | _swigc__p_wxPNGHandler, | |
16866 | _swigc__p_wxPNMHandler, | |
16867 | _swigc__p_wxPageSetupDialog, | |
16868 | _swigc__p_wxPageSetupDialogData, | |
16869 | _swigc__p_wxPaintEvent, | |
16870 | _swigc__p_wxPaletteChangedEvent, | |
16871 | _swigc__p_wxPaneButton, | |
16872 | _swigc__p_wxPaneButtonArray, | |
16873 | _swigc__p_wxPaneInfo, | |
16874 | _swigc__p_wxPaneInfoPtrArray, | |
16875 | _swigc__p_wxPanel, | |
16876 | _swigc__p_wxPaperSize, | |
16877 | _swigc__p_wxPasswordEntryDialog, | |
16878 | _swigc__p_wxPoint, | |
16879 | _swigc__p_wxPopupWindow, | |
16880 | _swigc__p_wxPreviewCanvas, | |
16881 | _swigc__p_wxPreviewControlBar, | |
16882 | _swigc__p_wxPreviewFrame, | |
16883 | _swigc__p_wxPrintData, | |
16884 | _swigc__p_wxPrintDialog, | |
16885 | _swigc__p_wxPrintDialogData, | |
16886 | _swigc__p_wxPrintPreview, | |
16887 | _swigc__p_wxPrinter, | |
16888 | _swigc__p_wxProgressDialog, | |
16889 | _swigc__p_wxPyApp, | |
16890 | _swigc__p_wxPyCommandEvent, | |
16891 | _swigc__p_wxPyDockArt, | |
16892 | _swigc__p_wxPyEvent, | |
16893 | _swigc__p_wxPyHtmlListBox, | |
16894 | _swigc__p_wxPyImageHandler, | |
16895 | _swigc__p_wxPyPanel, | |
16896 | _swigc__p_wxPyPopupTransientWindow, | |
16897 | _swigc__p_wxPyPreviewControlBar, | |
16898 | _swigc__p_wxPyPreviewFrame, | |
16899 | _swigc__p_wxPyPrintPreview, | |
16900 | _swigc__p_wxPyPrintout, | |
16901 | _swigc__p_wxPyScrolledWindow, | |
16902 | _swigc__p_wxPySizer, | |
5c8c7dd3 | 16903 | _swigc__p_wxPyTabArt, |
27e45892 RD |
16904 | _swigc__p_wxPyTaskBarIcon, |
16905 | _swigc__p_wxPyVListBox, | |
16906 | _swigc__p_wxPyVScrolledWindow, | |
16907 | _swigc__p_wxPyValidator, | |
16908 | _swigc__p_wxPyWindow, | |
16909 | _swigc__p_wxQueryLayoutInfoEvent, | |
16910 | _swigc__p_wxQueryNewPaletteEvent, | |
16911 | _swigc__p_wxRect, | |
16912 | _swigc__p_wxSashEvent, | |
16913 | _swigc__p_wxSashLayoutWindow, | |
16914 | _swigc__p_wxSashWindow, | |
16915 | _swigc__p_wxScrollEvent, | |
16916 | _swigc__p_wxScrollWinEvent, | |
16917 | _swigc__p_wxScrolledWindow, | |
16918 | _swigc__p_wxSetCursorEvent, | |
16919 | _swigc__p_wxShowEvent, | |
16920 | _swigc__p_wxSingleChoiceDialog, | |
16921 | _swigc__p_wxSize, | |
16922 | _swigc__p_wxSizeEvent, | |
16923 | _swigc__p_wxSizer, | |
16924 | _swigc__p_wxSizerItem, | |
16925 | _swigc__p_wxSplashScreen, | |
16926 | _swigc__p_wxSplashScreenWindow, | |
16927 | _swigc__p_wxSplitterEvent, | |
16928 | _swigc__p_wxSplitterWindow, | |
16929 | _swigc__p_wxStaticBoxSizer, | |
16930 | _swigc__p_wxStatusBar, | |
16931 | _swigc__p_wxStdDialogButtonSizer, | |
16932 | _swigc__p_wxString, | |
16933 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 16934 | _swigc__p_wxTGAHandler, |
27e45892 | 16935 | _swigc__p_wxTIFFHandler, |
5c8c7dd3 | 16936 | _swigc__p_wxTabArt, |
27e45892 RD |
16937 | _swigc__p_wxTaskBarIconEvent, |
16938 | _swigc__p_wxTextEntryDialog, | |
16939 | _swigc__p_wxTipWindow, | |
16940 | _swigc__p_wxTopLevelWindow, | |
16941 | _swigc__p_wxUpdateUIEvent, | |
16942 | _swigc__p_wxValidator, | |
16943 | _swigc__p_wxWindow, | |
16944 | _swigc__p_wxWindowCreateEvent, | |
16945 | _swigc__p_wxWindowDestroyEvent, | |
16946 | _swigc__p_wxXPMHandler, | |
16947 | }; | |
16948 | ||
16949 | ||
16950 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
16951 | ||
16952 | static swig_const_info swig_const_table[] = { | |
16953 | {0, 0, 0, 0.0, 0, 0}}; | |
16954 | ||
16955 | #ifdef __cplusplus | |
16956 | } | |
16957 | #endif | |
16958 | /* ----------------------------------------------------------------------------- | |
16959 | * Type initialization: | |
16960 | * This problem is tough by the requirement that no dynamic | |
16961 | * memory is used. Also, since swig_type_info structures store pointers to | |
16962 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
16963 | * to swig_type_info structures, we need some lookup code at initialization. | |
16964 | * The idea is that swig generates all the structures that are needed. | |
16965 | * The runtime then collects these partially filled structures. | |
16966 | * The SWIG_InitializeModule function takes these initial arrays out of | |
16967 | * swig_module, and does all the lookup, filling in the swig_module.types | |
16968 | * array with the correct data and linking the correct swig_cast_info | |
16969 | * structures together. | |
16970 | * | |
16971 | * The generated swig_type_info structures are assigned staticly to an initial | |
16972 | * array. We just loop though that array, and handle each type individually. | |
16973 | * First we lookup if this type has been already loaded, and if so, use the | |
16974 | * loaded structure instead of the generated one. Then we have to fill in the | |
16975 | * cast linked list. The cast data is initially stored in something like a | |
16976 | * two-dimensional array. Each row corresponds to a type (there are the same | |
16977 | * number of rows as there are in the swig_type_initial array). Each entry in | |
16978 | * a column is one of the swig_cast_info structures for that type. | |
16979 | * The cast_initial array is actually an array of arrays, because each row has | |
16980 | * a variable number of columns. So to actually build the cast linked list, | |
16981 | * we find the array of casts associated with the type, and loop through it | |
16982 | * adding the casts to the list. The one last trick we need to do is making | |
16983 | * sure the type pointer in the swig_cast_info struct is correct. | |
16984 | * | |
16985 | * First off, we lookup the cast->type name to see if it is already loaded. | |
16986 | * There are three cases to handle: | |
16987 | * 1) If the cast->type has already been loaded AND the type we are adding | |
16988 | * casting info to has not been loaded (it is in this module), THEN we | |
16989 | * replace the cast->type pointer with the type pointer that has already | |
16990 | * been loaded. | |
16991 | * 2) If BOTH types (the one we are adding casting info to, and the | |
16992 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
16993 | * the previous module so we just ignore it. | |
16994 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
16995 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
16996 | * be correct. | |
16997 | * ----------------------------------------------------------------------------- */ | |
16998 | ||
16999 | #ifdef __cplusplus | |
17000 | extern "C" { | |
17001 | #if 0 | |
17002 | } /* c-mode */ | |
17003 | #endif | |
17004 | #endif | |
17005 | ||
17006 | #if 0 | |
17007 | #define SWIGRUNTIME_DEBUG | |
17008 | #endif | |
17009 | ||
17010 | SWIGRUNTIME void | |
17011 | SWIG_InitializeModule(void *clientdata) { | |
17012 | size_t i; | |
17013 | swig_module_info *module_head; | |
17014 | static int init_run = 0; | |
17015 | ||
17016 | clientdata = clientdata; | |
17017 | ||
17018 | if (init_run) return; | |
17019 | init_run = 1; | |
17020 | ||
17021 | /* Initialize the swig_module */ | |
17022 | swig_module.type_initial = swig_type_initial; | |
17023 | swig_module.cast_initial = swig_cast_initial; | |
17024 | ||
17025 | /* Try and load any already created modules */ | |
17026 | module_head = SWIG_GetModule(clientdata); | |
17027 | if (module_head) { | |
17028 | swig_module.next = module_head->next; | |
17029 | module_head->next = &swig_module; | |
17030 | } else { | |
17031 | /* This is the first module loaded */ | |
17032 | swig_module.next = &swig_module; | |
17033 | SWIG_SetModule(clientdata, &swig_module); | |
17034 | } | |
17035 | ||
17036 | /* Now work on filling in swig_module.types */ | |
17037 | #ifdef SWIGRUNTIME_DEBUG | |
17038 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
17039 | #endif | |
17040 | for (i = 0; i < swig_module.size; ++i) { | |
17041 | swig_type_info *type = 0; | |
17042 | swig_type_info *ret; | |
17043 | swig_cast_info *cast; | |
17044 | ||
17045 | #ifdef SWIGRUNTIME_DEBUG | |
17046 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17047 | #endif | |
17048 | ||
17049 | /* if there is another module already loaded */ | |
17050 | if (swig_module.next != &swig_module) { | |
17051 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
17052 | } | |
17053 | if (type) { | |
17054 | /* Overwrite clientdata field */ | |
17055 | #ifdef SWIGRUNTIME_DEBUG | |
17056 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
17057 | #endif | |
17058 | if (swig_module.type_initial[i]->clientdata) { | |
17059 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
17060 | #ifdef SWIGRUNTIME_DEBUG | |
17061 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
17062 | #endif | |
17063 | } | |
17064 | } else { | |
17065 | type = swig_module.type_initial[i]; | |
17066 | } | |
17067 | ||
17068 | /* Insert casting types */ | |
17069 | cast = swig_module.cast_initial[i]; | |
17070 | while (cast->type) { | |
17071 | /* Don't need to add information already in the list */ | |
17072 | ret = 0; | |
17073 | #ifdef SWIGRUNTIME_DEBUG | |
17074 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
17075 | #endif | |
17076 | if (swig_module.next != &swig_module) { | |
17077 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
17078 | #ifdef SWIGRUNTIME_DEBUG | |
17079 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
17080 | #endif | |
17081 | } | |
17082 | if (ret) { | |
17083 | if (type == swig_module.type_initial[i]) { | |
17084 | #ifdef SWIGRUNTIME_DEBUG | |
17085 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
17086 | #endif | |
17087 | cast->type = ret; | |
17088 | ret = 0; | |
17089 | } else { | |
17090 | /* Check for casting already in the list */ | |
17091 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
17092 | #ifdef SWIGRUNTIME_DEBUG | |
17093 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
17094 | #endif | |
17095 | if (!ocast) ret = 0; | |
17096 | } | |
17097 | } | |
17098 | ||
17099 | if (!ret) { | |
17100 | #ifdef SWIGRUNTIME_DEBUG | |
17101 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
17102 | #endif | |
17103 | if (type->cast) { | |
17104 | type->cast->prev = cast; | |
17105 | cast->next = type->cast; | |
17106 | } | |
17107 | type->cast = cast; | |
17108 | } | |
17109 | cast++; | |
17110 | } | |
17111 | /* Set entry in modules->types array equal to the type */ | |
17112 | swig_module.types[i] = type; | |
17113 | } | |
17114 | swig_module.types[i] = 0; | |
17115 | ||
17116 | #ifdef SWIGRUNTIME_DEBUG | |
17117 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17118 | for (i = 0; i < swig_module.size; ++i) { | |
17119 | int j = 0; | |
17120 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
17121 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17122 | while (cast->type) { | |
17123 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
17124 | cast++; | |
17125 | ++j; | |
17126 | } | |
17127 | printf("---- Total casts: %d\n",j); | |
17128 | } | |
17129 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17130 | #endif | |
17131 | } | |
17132 | ||
17133 | /* This function will propagate the clientdata field of type to | |
17134 | * any new swig_type_info structures that have been added into the list | |
17135 | * of equivalent types. It is like calling | |
17136 | * SWIG_TypeClientData(type, clientdata) a second time. | |
17137 | */ | |
17138 | SWIGRUNTIME void | |
17139 | SWIG_PropagateClientData(void) { | |
17140 | size_t i; | |
17141 | swig_cast_info *equiv; | |
17142 | static int init_run = 0; | |
17143 | ||
17144 | if (init_run) return; | |
17145 | init_run = 1; | |
17146 | ||
17147 | for (i = 0; i < swig_module.size; i++) { | |
17148 | if (swig_module.types[i]->clientdata) { | |
17149 | equiv = swig_module.types[i]->cast; | |
17150 | while (equiv) { | |
17151 | if (!equiv->converter) { | |
17152 | if (equiv->type && !equiv->type->clientdata) | |
17153 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
17154 | } | |
17155 | equiv = equiv->next; | |
17156 | } | |
17157 | } | |
17158 | } | |
17159 | } | |
17160 | ||
17161 | #ifdef __cplusplus | |
17162 | #if 0 | |
17163 | { | |
17164 | /* c-mode */ | |
17165 | #endif | |
17166 | } | |
17167 | #endif | |
17168 | ||
17169 | ||
17170 | ||
17171 | #ifdef __cplusplus | |
17172 | extern "C" { | |
17173 | #endif | |
17174 | ||
17175 | /* Python-specific SWIG API */ | |
17176 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
17177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
17178 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
17179 | ||
17180 | /* ----------------------------------------------------------------------------- | |
17181 | * global variable support code. | |
17182 | * ----------------------------------------------------------------------------- */ | |
17183 | ||
17184 | typedef struct swig_globalvar { | |
17185 | char *name; /* Name of global variable */ | |
17186 | PyObject *(*get_attr)(void); /* Return the current value */ | |
17187 | int (*set_attr)(PyObject *); /* Set the value */ | |
17188 | struct swig_globalvar *next; | |
17189 | } swig_globalvar; | |
17190 | ||
17191 | typedef struct swig_varlinkobject { | |
17192 | PyObject_HEAD | |
17193 | swig_globalvar *vars; | |
17194 | } swig_varlinkobject; | |
17195 | ||
17196 | SWIGINTERN PyObject * | |
17197 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
17198 | return PyString_FromString("<Swig global variables>"); | |
17199 | } | |
17200 | ||
17201 | SWIGINTERN PyObject * | |
17202 | swig_varlink_str(swig_varlinkobject *v) { | |
17203 | PyObject *str = PyString_FromString("("); | |
17204 | swig_globalvar *var; | |
17205 | for (var = v->vars; var; var=var->next) { | |
17206 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
17207 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
17208 | } | |
17209 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
17210 | return str; | |
17211 | } | |
17212 | ||
17213 | SWIGINTERN int | |
17214 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
17215 | PyObject *str = swig_varlink_str(v); | |
17216 | fprintf(fp,"Swig global variables "); | |
17217 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
17218 | Py_DECREF(str); | |
17219 | return 0; | |
17220 | } | |
17221 | ||
17222 | SWIGINTERN void | |
17223 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
17224 | swig_globalvar *var = v->vars; | |
17225 | while (var) { | |
17226 | swig_globalvar *n = var->next; | |
17227 | free(var->name); | |
17228 | free(var); | |
17229 | var = n; | |
17230 | } | |
17231 | } | |
17232 | ||
17233 | SWIGINTERN PyObject * | |
17234 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
17235 | PyObject *res = NULL; | |
17236 | swig_globalvar *var = v->vars; | |
17237 | while (var) { | |
17238 | if (strcmp(var->name,n) == 0) { | |
17239 | res = (*var->get_attr)(); | |
17240 | break; | |
17241 | } | |
17242 | var = var->next; | |
17243 | } | |
17244 | if (res == NULL && !PyErr_Occurred()) { | |
17245 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17246 | } | |
17247 | return res; | |
17248 | } | |
17249 | ||
17250 | SWIGINTERN int | |
17251 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
17252 | int res = 1; | |
17253 | swig_globalvar *var = v->vars; | |
17254 | while (var) { | |
17255 | if (strcmp(var->name,n) == 0) { | |
17256 | res = (*var->set_attr)(p); | |
17257 | break; | |
17258 | } | |
17259 | var = var->next; | |
17260 | } | |
17261 | if (res == 1 && !PyErr_Occurred()) { | |
17262 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17263 | } | |
17264 | return res; | |
17265 | } | |
17266 | ||
17267 | SWIGINTERN PyTypeObject* | |
17268 | swig_varlink_type(void) { | |
17269 | static char varlink__doc__[] = "Swig var link object"; | |
17270 | static PyTypeObject varlink_type; | |
17271 | static int type_init = 0; | |
17272 | if (!type_init) { | |
17273 | const PyTypeObject tmp | |
17274 | = { | |
17275 | PyObject_HEAD_INIT(NULL) | |
17276 | 0, /* Number of items in variable part (ob_size) */ | |
17277 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
17278 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
17279 | 0, /* Itemsize (tp_itemsize) */ | |
17280 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
17281 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
17282 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
17283 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
17284 | 0, /* tp_compare */ | |
17285 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
17286 | 0, /* tp_as_number */ | |
17287 | 0, /* tp_as_sequence */ | |
17288 | 0, /* tp_as_mapping */ | |
17289 | 0, /* tp_hash */ | |
17290 | 0, /* tp_call */ | |
17291 | (reprfunc)swig_varlink_str, /* tp_str */ | |
17292 | 0, /* tp_getattro */ | |
17293 | 0, /* tp_setattro */ | |
17294 | 0, /* tp_as_buffer */ | |
17295 | 0, /* tp_flags */ | |
17296 | varlink__doc__, /* tp_doc */ | |
17297 | 0, /* tp_traverse */ | |
17298 | 0, /* tp_clear */ | |
17299 | 0, /* tp_richcompare */ | |
17300 | 0, /* tp_weaklistoffset */ | |
17301 | #if PY_VERSION_HEX >= 0x02020000 | |
17302 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
17303 | #endif | |
17304 | #if PY_VERSION_HEX >= 0x02030000 | |
17305 | 0, /* tp_del */ | |
17306 | #endif | |
17307 | #ifdef COUNT_ALLOCS | |
17308 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
17309 | #endif | |
17310 | }; | |
17311 | varlink_type = tmp; | |
17312 | varlink_type.ob_type = &PyType_Type; | |
17313 | type_init = 1; | |
17314 | } | |
17315 | return &varlink_type; | |
17316 | } | |
17317 | ||
17318 | /* Create a variable linking object for use later */ | |
17319 | SWIGINTERN PyObject * | |
17320 | SWIG_Python_newvarlink(void) { | |
17321 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
17322 | if (result) { | |
17323 | result->vars = 0; | |
17324 | } | |
17325 | return ((PyObject*) result); | |
17326 | } | |
17327 | ||
17328 | SWIGINTERN void | |
17329 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
17330 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
17331 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
17332 | if (gv) { | |
17333 | size_t size = strlen(name)+1; | |
17334 | gv->name = (char *)malloc(size); | |
17335 | if (gv->name) { | |
17336 | strncpy(gv->name,name,size); | |
17337 | gv->get_attr = get_attr; | |
17338 | gv->set_attr = set_attr; | |
17339 | gv->next = v->vars; | |
17340 | } | |
17341 | } | |
17342 | v->vars = gv; | |
17343 | } | |
17344 | ||
17345 | SWIGINTERN PyObject * | |
17346 | SWIG_globals() { | |
17347 | static PyObject *_SWIG_globals = 0; | |
17348 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
17349 | return _SWIG_globals; | |
17350 | } | |
17351 | ||
17352 | /* ----------------------------------------------------------------------------- | |
17353 | * constants/methods manipulation | |
17354 | * ----------------------------------------------------------------------------- */ | |
17355 | ||
17356 | /* Install Constants */ | |
17357 | SWIGINTERN void | |
17358 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
17359 | PyObject *obj = 0; | |
17360 | size_t i; | |
17361 | for (i = 0; constants[i].type; ++i) { | |
17362 | switch(constants[i].type) { | |
17363 | case SWIG_PY_POINTER: | |
17364 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
17365 | break; | |
17366 | case SWIG_PY_BINARY: | |
17367 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
17368 | break; | |
17369 | default: | |
17370 | obj = 0; | |
17371 | break; | |
17372 | } | |
17373 | if (obj) { | |
17374 | PyDict_SetItemString(d, constants[i].name, obj); | |
17375 | Py_DECREF(obj); | |
17376 | } | |
17377 | } | |
17378 | } | |
17379 | ||
17380 | /* -----------------------------------------------------------------------------*/ | |
17381 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17382 | /* -----------------------------------------------------------------------------*/ | |
17383 | ||
17384 | SWIGINTERN void | |
17385 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
17386 | swig_const_info *const_table, | |
17387 | swig_type_info **types, | |
17388 | swig_type_info **types_initial) { | |
17389 | size_t i; | |
17390 | for (i = 0; methods[i].ml_name; ++i) { | |
17391 | const char *c = methods[i].ml_doc; | |
17392 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
17393 | int j; | |
17394 | swig_const_info *ci = 0; | |
17395 | const char *name = c + 10; | |
17396 | for (j = 0; const_table[j].type; ++j) { | |
17397 | if (strncmp(const_table[j].name, name, | |
17398 | strlen(const_table[j].name)) == 0) { | |
17399 | ci = &(const_table[j]); | |
17400 | break; | |
17401 | } | |
17402 | } | |
17403 | if (ci) { | |
17404 | size_t shift = (ci->ptype) - types; | |
17405 | swig_type_info *ty = types_initial[shift]; | |
17406 | size_t ldoc = (c - methods[i].ml_doc); | |
17407 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
17408 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
17409 | if (ndoc) { | |
17410 | char *buff = ndoc; | |
17411 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
17412 | if (ptr) { | |
17413 | strncpy(buff, methods[i].ml_doc, ldoc); | |
17414 | buff += ldoc; | |
17415 | strncpy(buff, "swig_ptr: ", 10); | |
17416 | buff += 10; | |
17417 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
17418 | methods[i].ml_doc = ndoc; | |
17419 | } | |
17420 | } | |
17421 | } | |
17422 | } | |
17423 | } | |
17424 | } | |
17425 | ||
17426 | #ifdef __cplusplus | |
17427 | } | |
17428 | #endif | |
17429 | ||
17430 | /* -----------------------------------------------------------------------------* | |
17431 | * Partial Init method | |
17432 | * -----------------------------------------------------------------------------*/ | |
17433 | ||
17434 | #ifdef __cplusplus | |
17435 | extern "C" | |
17436 | #endif | |
17437 | SWIGEXPORT void SWIG_init(void) { | |
17438 | PyObject *m, *d; | |
17439 | ||
17440 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17441 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
17442 | ||
17443 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
17444 | d = PyModule_GetDict(m); | |
17445 | ||
17446 | SWIG_InitializeModule(0); | |
17447 | SWIG_InstallConstants(d,swig_const_table); | |
17448 | ||
17449 | ||
17450 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
17451 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
17452 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
17453 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
17454 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
17455 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
17456 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
17457 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
17458 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
17459 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
17460 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
17461 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
17462 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
17463 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
17464 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
17465 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
17466 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
17467 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
17468 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
17469 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
17470 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
17471 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
17472 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
17473 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
17474 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
17475 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
17476 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
17477 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
17478 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
17479 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
17480 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
17481 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
17482 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
17483 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
17484 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
17485 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
17486 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
17487 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
17488 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
17489 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
17490 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
17491 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
17492 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); | |
17493 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE))); | |
17494 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); | |
17495 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
17496 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
17497 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); | |
17498 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
17499 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
17500 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
17501 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
17502 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
17503 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
17504 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
17505 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
17506 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
17507 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
17508 | SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set); | |
17509 | SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set); | |
17510 | SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating))); | |
17511 | SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden))); | |
17512 | SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable))); | |
17513 | SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable))); | |
17514 | SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable))); | |
17515 | SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable))); | |
17516 | SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable))); | |
17517 | SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable))); | |
17518 | SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable))); | |
17519 | SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder))); | |
17520 | SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption))); | |
17521 | SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper))); | |
17522 | SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose))); | |
17523 | SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar))); | |
17524 | SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive))); | |
17525 | SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop))); | |
17526 | SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose))); | |
17527 | SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize))); | |
17528 | SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize))); | |
17529 | SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin))); | |
17530 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1))); | |
17531 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2))); | |
17532 | SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3))); | |
17533 | SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane))); | |
17534 | SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption))); | |
17535 | SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper))); | |
17536 | SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock))); | |
17537 | SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer))); | |
17538 | SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane))); | |
17539 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer))); | |
17540 | SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground))); | |
17541 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder))); | |
17542 | SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton))); | |
17543 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); | |
17544 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
81f5836b | 17545 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
10044bf1 RD |
17546 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
17547 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
17548 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
17549 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
17550 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
17551 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
27e45892 RD |
17552 | } |
17553 |