]>
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] | |
5eb8189c RD |
2469 | #define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[3] |
2470 | #define SWIGTYPE_p_p_wxAuiNotebook swig_types[4] | |
2471 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[5] | |
2472 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxColourDialog swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxControl swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxDialog swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxDirDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxFileDialog swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[13] | |
1eeb270e RD |
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] | |
5eb8189c RD |
2524 | #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[58] |
2525 | #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[59] | |
2526 | #define SWIGTYPE_p_wxAuiDockArt swig_types[60] | |
2527 | #define SWIGTYPE_p_wxAuiDockInfo swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiDockUIPart swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiManager swig_types[64] | |
2531 | #define SWIGTYPE_p_wxAuiManagerEvent swig_types[65] | |
2532 | #define SWIGTYPE_p_wxAuiNotebook swig_types[66] | |
2533 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[67] | |
2534 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[68] | |
2535 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[69] | |
2536 | #define SWIGTYPE_p_wxAuiPaneButton swig_types[70] | |
2537 | #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[71] | |
2538 | #define SWIGTYPE_p_wxAuiPaneInfo swig_types[72] | |
2539 | #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[73] | |
2540 | #define SWIGTYPE_p_wxAuiTabArt swig_types[74] | |
2541 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[75] | |
2542 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[76] | |
2543 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[77] | |
2544 | #define SWIGTYPE_p_wxBMPHandler swig_types[78] | |
2545 | #define SWIGTYPE_p_wxBitmap swig_types[79] | |
2546 | #define SWIGTYPE_p_wxBoxSizer swig_types[80] | |
2547 | #define SWIGTYPE_p_wxCURHandler swig_types[81] | |
2548 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[82] | |
2549 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[83] | |
2550 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[84] | |
2551 | #define SWIGTYPE_p_wxCloseEvent swig_types[85] | |
2552 | #define SWIGTYPE_p_wxColor swig_types[86] | |
2553 | #define SWIGTYPE_p_wxColour swig_types[87] | |
2554 | #define SWIGTYPE_p_wxColourData swig_types[88] | |
2555 | #define SWIGTYPE_p_wxColourDialog swig_types[89] | |
2556 | #define SWIGTYPE_p_wxCommandEvent swig_types[90] | |
2557 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxControl swig_types[92] | |
2559 | #define SWIGTYPE_p_wxControlWithItems swig_types[93] | |
2560 | #define SWIGTYPE_p_wxDC swig_types[94] | |
2561 | #define SWIGTYPE_p_wxDateEvent swig_types[95] | |
2562 | #define SWIGTYPE_p_wxDialog swig_types[96] | |
2563 | #define SWIGTYPE_p_wxDirDialog swig_types[97] | |
2564 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[98] | |
2565 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[99] | |
2566 | #define SWIGTYPE_p_wxDuplexMode swig_types[100] | |
2567 | #define SWIGTYPE_p_wxEraseEvent swig_types[101] | |
2568 | #define SWIGTYPE_p_wxEvent swig_types[102] | |
2569 | #define SWIGTYPE_p_wxEvtHandler swig_types[103] | |
2570 | #define SWIGTYPE_p_wxFSFile swig_types[104] | |
2571 | #define SWIGTYPE_p_wxFileDialog swig_types[105] | |
2572 | #define SWIGTYPE_p_wxFileSystem swig_types[106] | |
2573 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFindReplaceData swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[109] | |
2576 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[110] | |
2577 | #define SWIGTYPE_p_wxFocusEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxFont swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFontData swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFontDialog swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFrame swig_types[115] | |
2582 | #define SWIGTYPE_p_wxGBSizerItem swig_types[116] | |
2583 | #define SWIGTYPE_p_wxGIFHandler swig_types[117] | |
2584 | #define SWIGTYPE_p_wxGridBagSizer swig_types[118] | |
2585 | #define SWIGTYPE_p_wxGridSizer swig_types[119] | |
2586 | #define SWIGTYPE_p_wxICOHandler swig_types[120] | |
2587 | #define SWIGTYPE_p_wxIconizeEvent swig_types[121] | |
2588 | #define SWIGTYPE_p_wxIdleEvent swig_types[122] | |
2589 | #define SWIGTYPE_p_wxImage swig_types[123] | |
2590 | #define SWIGTYPE_p_wxImageHandler swig_types[124] | |
2591 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[125] | |
2592 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[126] | |
2593 | #define SWIGTYPE_p_wxJPEGHandler swig_types[127] | |
2594 | #define SWIGTYPE_p_wxKeyEvent swig_types[128] | |
2595 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[129] | |
2596 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[130] | |
2597 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[131] | |
2598 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[132] | |
2599 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[133] | |
2600 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMenu swig_types[135] | |
2602 | #define SWIGTYPE_p_wxMenuBar swig_types[136] | |
2603 | #define SWIGTYPE_p_wxMenuEvent swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMenuItem swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMessageDialog swig_types[139] | |
2606 | #define SWIGTYPE_p_wxMiniFrame swig_types[140] | |
2607 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMouseEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMoveEvent swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[145] | |
2612 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[146] | |
2613 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[147] | |
2614 | #define SWIGTYPE_p_wxNotifyEvent swig_types[148] | |
2615 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[149] | |
2616 | #define SWIGTYPE_p_wxObject swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPCXHandler swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPNGHandler swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPNMHandler swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPaintEvent swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPanel swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPaperSize swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPoint swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPopupWindow swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPreviewFrame swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPrintData swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPrintDialog swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPrintDialogData swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPrintPreview swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPrinter swig_types[170] | |
2637 | #define SWIGTYPE_p_wxProgressDialog swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPyApp swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyEvent swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyImageHandler swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyPanel swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyPrintout swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPySizer swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyVListBox swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyValidator swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyWindow swig_types[191] | |
2658 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[192] | |
2659 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[193] | |
2660 | #define SWIGTYPE_p_wxRect swig_types[194] | |
2661 | #define SWIGTYPE_p_wxSashEvent swig_types[195] | |
2662 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[196] | |
2663 | #define SWIGTYPE_p_wxSashWindow swig_types[197] | |
2664 | #define SWIGTYPE_p_wxScrollEvent swig_types[198] | |
2665 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[199] | |
2666 | #define SWIGTYPE_p_wxScrolledWindow swig_types[200] | |
2667 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[201] | |
2668 | #define SWIGTYPE_p_wxShowEvent swig_types[202] | |
2669 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[203] | |
2670 | #define SWIGTYPE_p_wxSize swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSizeEvent swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSizer swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSizerItem swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSplashScreen swig_types[208] | |
2675 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[209] | |
2676 | #define SWIGTYPE_p_wxSplitterEvent swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSplitterWindow swig_types[211] | |
2678 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[212] | |
2679 | #define SWIGTYPE_p_wxStatusBar swig_types[213] | |
2680 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[214] | |
2681 | #define SWIGTYPE_p_wxString swig_types[215] | |
2682 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[216] | |
2683 | #define SWIGTYPE_p_wxTGAHandler swig_types[217] | |
2684 | #define SWIGTYPE_p_wxTIFFHandler swig_types[218] | |
580080c5 RD |
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 | ||
5eb8189c RD |
2865 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2866 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2867 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2868 | |
1eeb270e 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 |
5eb8189c | 2908 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2909 | { |
5eb8189c | 2910 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
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, | |
ac5d357a | 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); | |
ac5d357a | 2928 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2929 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
ac5d357a 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) | |
5eb8189c | 2938 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2939 | } |
2940 | ||
2941 | virtual void DrawBackground(wxDC& dc, | |
ac5d357a | 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); | |
ac5d357a | 2950 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2951 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
ac5d357a 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) | |
5eb8189c | 2960 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2961 | } |
2962 | ||
2963 | virtual void DrawCaption(wxDC& dc, | |
ac5d357a | 2964 | wxWindow* window, |
27e45892 RD |
2965 | const wxString& text, |
2966 | const wxRect& rect, | |
5eb8189c | 2967 | wxAuiPaneInfo& pane) |
27e45892 RD |
2968 | { |
2969 | bool found; | |
2970 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2971 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2972 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2973 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2974 | PyObject* otext = wx2PyString(text); |
2975 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2976 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
ac5d357a 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) | |
5eb8189c | 2987 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
2988 | } |
2989 | ||
2990 | virtual void DrawGripper(wxDC& dc, | |
ac5d357a | 2991 | wxWindow* window, |
27e45892 | 2992 | const wxRect& rect, |
5eb8189c | 2993 | wxAuiPaneInfo& pane) |
27e45892 RD |
2994 | { |
2995 | bool found; | |
2996 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2997 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
2998 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2999 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3000 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3001 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
ac5d357a | 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) | |
5eb8189c | 3009 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3010 | } |
3011 | ||
3012 | virtual void DrawBorder(wxDC& dc, | |
ac5d357a | 3013 | wxWindow* window, |
27e45892 | 3014 | const wxRect& rect, |
5eb8189c | 3015 | wxAuiPaneInfo& pane) |
27e45892 RD |
3016 | { |
3017 | bool found; | |
3018 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3019 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3020 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3021 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3022 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3023 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
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) | |
5eb8189c | 3032 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3033 | } |
3034 | ||
3035 | virtual void DrawPaneButton(wxDC& dc, | |
ac5d357a | 3036 | wxWindow* window, |
27e45892 RD |
3037 | int button, |
3038 | int button_state, | |
3039 | const wxRect& rect, | |
5eb8189c | 3040 | wxAuiPaneInfo& pane) |
27e45892 RD |
3041 | { |
3042 | bool found; | |
3043 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3044 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3045 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3046 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3047 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3048 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
ac5d357a 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) | |
5eb8189c | 3059 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3060 | } |
3061 | ||
3062 | PYPRIVATE; | |
3063 | ||
3064 | }; | |
3065 | ||
5eb8189c RD |
3066 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3067 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3068 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3069 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3070 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3071 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3072 | |
3073 | ||
5c8c7dd3 RD |
3074 | |
3075 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3076 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3077 | { |
5eb8189c | 3078 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 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) | |
5eb8189c | 3095 | wxAuiDefaultTabArt::DrawBackground(dc, rect); |
5c8c7dd3 RD |
3096 | } |
3097 | ||
3098 | virtual void DrawTab( wxDC* dc, | |
3099 | const wxRect& in_rect, | |
3100 | const wxString& caption, | |
3101 | bool active, | |
36cb9ebe RD |
3102 | int close_button_state, |
3103 | wxRect* out_tab_rect, | |
3104 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3105 | int* x_extent) |
3106 | { | |
3107 | bool found; | |
36cb9ebe | 3108 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3109 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3110 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
3111 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3112 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); | |
3113 | PyObject* otext = wx2PyString(caption); | |
3114 | PyObject* ro; | |
5eb8189c RD |
3115 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
3116 | "(OOOii)", | |
3117 | odc, orect, otext, | |
36cb9ebe | 3118 | (int)active, close_button_state)); |
5c8c7dd3 | 3119 | if (ro) { |
36cb9ebe | 3120 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3121 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3122 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3123 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3124 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3125 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3126 | else if (!wxRect_helper(o2, &out_button_rect)) |
3127 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3128 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3129 | PyErr_SetString(PyExc_TypeError, errmsg); |
3130 | else | |
36cb9ebe | 3131 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3132 | |
3133 | Py_DECREF(o1); | |
3134 | Py_DECREF(o2); | |
36cb9ebe | 3135 | Py_DECREF(o3); |
5c8c7dd3 RD |
3136 | } |
3137 | else { | |
3138 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3139 | } | |
3140 | Py_DECREF(ro); | |
3141 | } | |
3142 | ||
3143 | Py_DECREF(odc); | |
3144 | Py_DECREF(orect); | |
3145 | Py_DECREF(otext); | |
3146 | } | |
3147 | wxPyEndBlockThreads(blocked); | |
3148 | if (!found) | |
36cb9ebe | 3149 | wxAuiDefaultTabArt::DrawTab(dc, in_rect, caption, active, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3150 | } |
3151 | ||
3152 | ||
8f514ab4 RD |
3153 | virtual void DrawButton( wxDC* dc, |
3154 | const wxRect& in_rect, | |
3155 | int bitmap_id, | |
3156 | int button_state, | |
3157 | int orientation, | |
3158 | const wxBitmap& bitmap_override, | |
3159 | wxRect* out_rect) | |
3160 | { | |
3161 | bool found; | |
3162 | const char* errmsg = "DrawButton should return a wxRect"; | |
3163 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3164 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
3165 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3166 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); | |
3167 | PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0); | |
3168 | PyObject* ro; | |
3169 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOiiiO)", odc, orect, | |
3170 | bitmap_id, button_state, orientation, | |
3171 | obmp)); | |
3172 | if (ro) { | |
3173 | if (!wxRect_helper(ro, &out_rect)) | |
3174 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3175 | Py_DECREF(ro); | |
3176 | } | |
3177 | ||
3178 | Py_DECREF(odc); | |
3179 | Py_DECREF(orect); | |
3180 | Py_DECREF(obmp); | |
3181 | } | |
3182 | wxPyEndBlockThreads(blocked); | |
3183 | if (!found) | |
5eb8189c | 3184 | wxAuiDefaultTabArt::DrawButton(dc, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect); |
8f514ab4 RD |
3185 | } |
3186 | ||
3187 | ||
3188 | virtual wxSize GetTabSize( wxDC* dc, | |
3189 | const wxString& caption, | |
3190 | bool active, | |
36cb9ebe | 3191 | int close_button_state, |
8f514ab4 RD |
3192 | int* x_extent) |
3193 | { | |
3194 | bool found; | |
3195 | wxSize rv, *prv = &rv; | |
3196 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3197 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3198 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
3199 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
3200 | PyObject* otext = wx2PyString(caption); | |
3201 | PyObject* ro; | |
5eb8189c | 3202 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
36cb9ebe | 3203 | "(OOi)", odc, otext, (int)active, close_button_state)); |
8f514ab4 RD |
3204 | if (ro) { |
3205 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3206 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3207 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3208 | if (!wxSize_helper(o1, &prv)) | |
3209 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3210 | else if (!PyInt_Check(o2)) | |
3211 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3212 | else | |
3213 | *x_extent = PyInt_AsLong(o2); | |
3214 | ||
3215 | Py_DECREF(o1); | |
3216 | Py_DECREF(o2); | |
3217 | } | |
3218 | else { | |
3219 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3220 | } | |
3221 | Py_DECREF(ro); | |
3222 | } | |
3223 | ||
3224 | Py_DECREF(odc); | |
3225 | Py_DECREF(otext); | |
3226 | } | |
3227 | wxPyEndBlockThreads(blocked); | |
3228 | if (!found) | |
36cb9ebe | 3229 | rv = wxAuiDefaultTabArt::GetTabSize(dc, caption, active, close_button_state, x_extent); |
8f514ab4 RD |
3230 | return rv; |
3231 | } | |
3232 | ||
3233 | ||
3234 | ||
5c8c7dd3 RD |
3235 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3236 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3237 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
8f514ab4 | 3238 | DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3239 | |
3240 | PYPRIVATE; | |
3241 | }; | |
3242 | ||
3243 | ||
5eb8189c RD |
3244 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3245 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3246 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
3247 | IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); | |
5c8c7dd3 | 3248 | |
27e45892 RD |
3249 | #ifdef __cplusplus |
3250 | extern "C" { | |
3251 | #endif | |
5eb8189c | 3252 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3253 | { |
3254 | void *argp = 0; | |
5eb8189c | 3255 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3256 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3257 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3258 | } |
3259 | if (!argp) { | |
5eb8189c | 3260 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3261 | } else { |
5eb8189c RD |
3262 | wxAuiDockInfo * temp; |
3263 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3264 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3265 | if (SWIG_IsNewObj(res)) delete temp; |
3266 | } | |
3267 | } | |
3268 | return 0; | |
3269 | fail: | |
3270 | return 1; | |
3271 | } | |
3272 | ||
3273 | ||
5eb8189c | 3274 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3275 | PyObject *pyobj = 0; |
3276 | ||
5eb8189c | 3277 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3278 | return pyobj; |
3279 | } | |
3280 | ||
3281 | ||
5eb8189c | 3282 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3283 | { |
3284 | void *argp = 0; | |
5eb8189c | 3285 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3286 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3287 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3288 | } |
3289 | if (!argp) { | |
5eb8189c | 3290 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3291 | } else { |
5eb8189c RD |
3292 | wxAuiPaneInfo * temp; |
3293 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3294 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3295 | if (SWIG_IsNewObj(res)) delete temp; |
3296 | } | |
3297 | } | |
3298 | return 0; | |
3299 | fail: | |
3300 | return 1; | |
3301 | } | |
3302 | ||
3303 | ||
5eb8189c | 3304 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3305 | PyObject *pyobj = 0; |
3306 | ||
5eb8189c | 3307 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3308 | return pyobj; |
3309 | } | |
3310 | ||
3311 | ||
5eb8189c | 3312 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3313 | PyObject *resultobj = 0; |
5eb8189c | 3314 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3315 | |
5eb8189c | 3316 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3317 | { |
3318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3319 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3320 | wxPyEndAllowThreads(__tstate); |
3321 | if (PyErr_Occurred()) SWIG_fail; | |
3322 | } | |
5eb8189c | 3323 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3324 | return resultobj; |
3325 | fail: | |
3326 | return NULL; | |
3327 | } | |
3328 | ||
3329 | ||
5eb8189c | 3330 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3331 | PyObject *resultobj = 0; |
5eb8189c | 3332 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3333 | void *argp1 = 0 ; |
3334 | int res1 = 0 ; | |
3335 | PyObject *swig_obj[1] ; | |
3336 | ||
3337 | if (!args) SWIG_fail; | |
3338 | swig_obj[0] = args; | |
5eb8189c | 3339 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3340 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3341 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3342 | } |
5eb8189c | 3343 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3344 | { |
3345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3346 | delete arg1; | |
3347 | ||
3348 | wxPyEndAllowThreads(__tstate); | |
3349 | if (PyErr_Occurred()) SWIG_fail; | |
3350 | } | |
3351 | resultobj = SWIG_Py_Void(); | |
3352 | return resultobj; | |
3353 | fail: | |
3354 | return NULL; | |
3355 | } | |
3356 | ||
3357 | ||
5eb8189c | 3358 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 3359 | PyObject *resultobj = 0; |
5eb8189c RD |
3360 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3361 | wxAuiPaneInfo arg2 ; | |
1eeb270e RD |
3362 | void *argp1 = 0 ; |
3363 | int res1 = 0 ; | |
3364 | void *argp2 ; | |
3365 | int res2 = 0 ; | |
3366 | PyObject * obj0 = 0 ; | |
3367 | PyObject * obj1 = 0 ; | |
3368 | char * kwnames[] = { | |
3369 | (char *) "self",(char *) "source", NULL | |
3370 | }; | |
3371 | ||
5eb8189c RD |
3372 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3373 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
1eeb270e | 3374 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
1eeb270e | 3376 | } |
5eb8189c | 3377 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
1eeb270e | 3378 | { |
5eb8189c | 3379 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
1eeb270e | 3380 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3381 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
1eeb270e RD |
3382 | } |
3383 | if (!argp2) { | |
5eb8189c | 3384 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
1eeb270e | 3385 | } else { |
5eb8189c | 3386 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
1eeb270e RD |
3387 | arg2 = *temp; |
3388 | if (SWIG_IsNewObj(res2)) delete temp; | |
3389 | } | |
3390 | } | |
3391 | { | |
3392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3393 | (arg1)->SafeSet(arg2); | |
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
3397 | resultobj = SWIG_Py_Void(); | |
3398 | return resultobj; | |
3399 | fail: | |
3400 | return NULL; | |
3401 | } | |
3402 | ||
3403 | ||
5eb8189c | 3404 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3405 | PyObject *resultobj = 0; |
5eb8189c | 3406 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3407 | bool result; |
3408 | void *argp1 = 0 ; | |
3409 | int res1 = 0 ; | |
3410 | PyObject *swig_obj[1] ; | |
3411 | ||
3412 | if (!args) SWIG_fail; | |
3413 | swig_obj[0] = args; | |
5eb8189c | 3414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3415 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3417 | } |
5eb8189c | 3418 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3419 | { |
3420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3421 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3422 | wxPyEndAllowThreads(__tstate); |
3423 | if (PyErr_Occurred()) SWIG_fail; | |
3424 | } | |
3425 | { | |
3426 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3427 | } | |
3428 | return resultobj; | |
3429 | fail: | |
3430 | return NULL; | |
3431 | } | |
3432 | ||
3433 | ||
5eb8189c | 3434 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3435 | PyObject *resultobj = 0; |
5eb8189c | 3436 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3437 | bool result; |
3438 | void *argp1 = 0 ; | |
3439 | int res1 = 0 ; | |
3440 | PyObject *swig_obj[1] ; | |
3441 | ||
3442 | if (!args) SWIG_fail; | |
3443 | swig_obj[0] = args; | |
5eb8189c | 3444 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3445 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3446 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3447 | } |
5eb8189c | 3448 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3449 | { |
3450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3451 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3452 | wxPyEndAllowThreads(__tstate); |
3453 | if (PyErr_Occurred()) SWIG_fail; | |
3454 | } | |
3455 | { | |
3456 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3457 | } | |
3458 | return resultobj; | |
3459 | fail: | |
3460 | return NULL; | |
3461 | } | |
3462 | ||
3463 | ||
5eb8189c | 3464 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3465 | PyObject *resultobj = 0; |
5eb8189c | 3466 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3467 | bool result; |
3468 | void *argp1 = 0 ; | |
3469 | int res1 = 0 ; | |
3470 | PyObject *swig_obj[1] ; | |
3471 | ||
3472 | if (!args) SWIG_fail; | |
3473 | swig_obj[0] = args; | |
5eb8189c | 3474 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3475 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3476 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3477 | } |
5eb8189c | 3478 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3479 | { |
3480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3481 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3482 | wxPyEndAllowThreads(__tstate); |
3483 | if (PyErr_Occurred()) SWIG_fail; | |
3484 | } | |
3485 | { | |
3486 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3487 | } | |
3488 | return resultobj; | |
3489 | fail: | |
3490 | return NULL; | |
3491 | } | |
3492 | ||
3493 | ||
5eb8189c | 3494 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3495 | PyObject *resultobj = 0; |
5eb8189c | 3496 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3497 | bool result; |
3498 | void *argp1 = 0 ; | |
3499 | int res1 = 0 ; | |
3500 | PyObject *swig_obj[1] ; | |
3501 | ||
3502 | if (!args) SWIG_fail; | |
3503 | swig_obj[0] = args; | |
5eb8189c | 3504 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3505 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3507 | } |
5eb8189c | 3508 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3509 | { |
3510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3511 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3512 | wxPyEndAllowThreads(__tstate); |
3513 | if (PyErr_Occurred()) SWIG_fail; | |
3514 | } | |
3515 | { | |
3516 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3517 | } | |
3518 | return resultobj; | |
3519 | fail: | |
3520 | return NULL; | |
3521 | } | |
3522 | ||
3523 | ||
5eb8189c | 3524 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3525 | PyObject *resultobj = 0; |
5eb8189c | 3526 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3527 | bool result; |
3528 | void *argp1 = 0 ; | |
3529 | int res1 = 0 ; | |
3530 | PyObject *swig_obj[1] ; | |
3531 | ||
3532 | if (!args) SWIG_fail; | |
3533 | swig_obj[0] = args; | |
5eb8189c | 3534 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3535 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3537 | } |
5eb8189c | 3538 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3539 | { |
3540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3541 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3542 | wxPyEndAllowThreads(__tstate); |
3543 | if (PyErr_Occurred()) SWIG_fail; | |
3544 | } | |
3545 | { | |
3546 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3547 | } | |
3548 | return resultobj; | |
3549 | fail: | |
3550 | return NULL; | |
3551 | } | |
3552 | ||
3553 | ||
5eb8189c | 3554 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3555 | PyObject *resultobj = 0; |
5eb8189c | 3556 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3557 | bool result; |
3558 | void *argp1 = 0 ; | |
3559 | int res1 = 0 ; | |
3560 | PyObject *swig_obj[1] ; | |
3561 | ||
3562 | if (!args) SWIG_fail; | |
3563 | swig_obj[0] = args; | |
5eb8189c | 3564 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3565 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3566 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3567 | } |
5eb8189c | 3568 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3569 | { |
3570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3571 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3572 | wxPyEndAllowThreads(__tstate); |
3573 | if (PyErr_Occurred()) SWIG_fail; | |
3574 | } | |
3575 | { | |
3576 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3577 | } | |
3578 | return resultobj; | |
3579 | fail: | |
3580 | return NULL; | |
3581 | } | |
3582 | ||
3583 | ||
5eb8189c | 3584 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3585 | PyObject *resultobj = 0; |
5eb8189c | 3586 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3587 | bool result; |
3588 | void *argp1 = 0 ; | |
3589 | int res1 = 0 ; | |
3590 | PyObject *swig_obj[1] ; | |
3591 | ||
3592 | if (!args) SWIG_fail; | |
3593 | swig_obj[0] = args; | |
5eb8189c | 3594 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3595 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3597 | } |
5eb8189c | 3598 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3599 | { |
3600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3601 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3602 | wxPyEndAllowThreads(__tstate); |
3603 | if (PyErr_Occurred()) SWIG_fail; | |
3604 | } | |
3605 | { | |
3606 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3607 | } | |
3608 | return resultobj; | |
3609 | fail: | |
3610 | return NULL; | |
3611 | } | |
3612 | ||
3613 | ||
5eb8189c | 3614 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3615 | PyObject *resultobj = 0; |
5eb8189c | 3616 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3617 | bool result; |
3618 | void *argp1 = 0 ; | |
3619 | int res1 = 0 ; | |
3620 | PyObject *swig_obj[1] ; | |
3621 | ||
3622 | if (!args) SWIG_fail; | |
3623 | swig_obj[0] = args; | |
5eb8189c | 3624 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3625 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3626 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3627 | } |
5eb8189c | 3628 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3629 | { |
3630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3631 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3632 | wxPyEndAllowThreads(__tstate); |
3633 | if (PyErr_Occurred()) SWIG_fail; | |
3634 | } | |
3635 | { | |
3636 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3637 | } | |
3638 | return resultobj; | |
3639 | fail: | |
3640 | return NULL; | |
3641 | } | |
3642 | ||
3643 | ||
5eb8189c | 3644 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3645 | PyObject *resultobj = 0; |
5eb8189c | 3646 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3647 | bool result; |
3648 | void *argp1 = 0 ; | |
3649 | int res1 = 0 ; | |
3650 | PyObject *swig_obj[1] ; | |
3651 | ||
3652 | if (!args) SWIG_fail; | |
3653 | swig_obj[0] = args; | |
5eb8189c | 3654 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3655 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3656 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3657 | } |
5eb8189c | 3658 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3659 | { |
3660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3661 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3662 | wxPyEndAllowThreads(__tstate); |
3663 | if (PyErr_Occurred()) SWIG_fail; | |
3664 | } | |
3665 | { | |
3666 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3667 | } | |
3668 | return resultobj; | |
3669 | fail: | |
3670 | return NULL; | |
3671 | } | |
3672 | ||
3673 | ||
5eb8189c | 3674 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3675 | PyObject *resultobj = 0; |
5eb8189c | 3676 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3677 | bool result; |
3678 | void *argp1 = 0 ; | |
3679 | int res1 = 0 ; | |
3680 | PyObject *swig_obj[1] ; | |
3681 | ||
3682 | if (!args) SWIG_fail; | |
3683 | swig_obj[0] = args; | |
5eb8189c | 3684 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3685 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3687 | } |
5eb8189c | 3688 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3689 | { |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3691 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3692 | wxPyEndAllowThreads(__tstate); |
3693 | if (PyErr_Occurred()) SWIG_fail; | |
3694 | } | |
3695 | { | |
3696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3697 | } | |
3698 | return resultobj; | |
3699 | fail: | |
3700 | return NULL; | |
3701 | } | |
3702 | ||
3703 | ||
5eb8189c | 3704 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3705 | PyObject *resultobj = 0; |
5eb8189c | 3706 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3707 | bool result; |
3708 | void *argp1 = 0 ; | |
3709 | int res1 = 0 ; | |
3710 | PyObject *swig_obj[1] ; | |
3711 | ||
3712 | if (!args) SWIG_fail; | |
3713 | swig_obj[0] = args; | |
5eb8189c | 3714 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3715 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3717 | } |
5eb8189c | 3718 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3719 | { |
3720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3721 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3722 | wxPyEndAllowThreads(__tstate); |
3723 | if (PyErr_Occurred()) SWIG_fail; | |
3724 | } | |
3725 | { | |
3726 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3727 | } | |
3728 | return resultobj; | |
3729 | fail: | |
3730 | return NULL; | |
3731 | } | |
3732 | ||
3733 | ||
5eb8189c | 3734 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3735 | PyObject *resultobj = 0; |
5eb8189c | 3736 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3737 | bool result; |
3738 | void *argp1 = 0 ; | |
3739 | int res1 = 0 ; | |
3740 | PyObject *swig_obj[1] ; | |
3741 | ||
3742 | if (!args) SWIG_fail; | |
3743 | swig_obj[0] = args; | |
5eb8189c | 3744 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3745 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3746 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3747 | } |
5eb8189c | 3748 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3749 | { |
3750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3751 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3752 | wxPyEndAllowThreads(__tstate); |
3753 | if (PyErr_Occurred()) SWIG_fail; | |
3754 | } | |
3755 | { | |
3756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3757 | } | |
3758 | return resultobj; | |
3759 | fail: | |
3760 | return NULL; | |
3761 | } | |
3762 | ||
3763 | ||
5eb8189c | 3764 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3765 | PyObject *resultobj = 0; |
5eb8189c | 3766 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3767 | bool result; |
3768 | void *argp1 = 0 ; | |
3769 | int res1 = 0 ; | |
3770 | PyObject *swig_obj[1] ; | |
3771 | ||
3772 | if (!args) SWIG_fail; | |
3773 | swig_obj[0] = args; | |
5eb8189c | 3774 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3775 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3777 | } |
5eb8189c | 3778 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3779 | { |
3780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3781 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3782 | wxPyEndAllowThreads(__tstate); |
3783 | if (PyErr_Occurred()) SWIG_fail; | |
3784 | } | |
3785 | { | |
3786 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3787 | } | |
3788 | return resultobj; | |
3789 | fail: | |
3790 | return NULL; | |
3791 | } | |
3792 | ||
3793 | ||
5eb8189c | 3794 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3795 | PyObject *resultobj = 0; |
5eb8189c | 3796 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3797 | bool result; |
3798 | void *argp1 = 0 ; | |
3799 | int res1 = 0 ; | |
3800 | PyObject *swig_obj[1] ; | |
3801 | ||
3802 | if (!args) SWIG_fail; | |
3803 | swig_obj[0] = args; | |
5eb8189c | 3804 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3805 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3807 | } |
5eb8189c | 3808 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3809 | { |
3810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3811 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3812 | wxPyEndAllowThreads(__tstate); |
3813 | if (PyErr_Occurred()) SWIG_fail; | |
3814 | } | |
3815 | { | |
3816 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3817 | } | |
3818 | return resultobj; | |
3819 | fail: | |
3820 | return NULL; | |
3821 | } | |
3822 | ||
3823 | ||
5eb8189c | 3824 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3825 | PyObject *resultobj = 0; |
5eb8189c | 3826 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3827 | bool result; |
3828 | void *argp1 = 0 ; | |
3829 | int res1 = 0 ; | |
3830 | PyObject *swig_obj[1] ; | |
3831 | ||
3832 | if (!args) SWIG_fail; | |
3833 | swig_obj[0] = args; | |
5eb8189c | 3834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3835 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3837 | } |
5eb8189c | 3838 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3839 | { |
3840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3841 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3842 | wxPyEndAllowThreads(__tstate); |
3843 | if (PyErr_Occurred()) SWIG_fail; | |
3844 | } | |
3845 | { | |
3846 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3847 | } | |
3848 | return resultobj; | |
3849 | fail: | |
3850 | return NULL; | |
3851 | } | |
3852 | ||
3853 | ||
5eb8189c | 3854 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3855 | PyObject *resultobj = 0; |
5eb8189c | 3856 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3857 | bool result; |
3858 | void *argp1 = 0 ; | |
3859 | int res1 = 0 ; | |
3860 | PyObject *swig_obj[1] ; | |
3861 | ||
3862 | if (!args) SWIG_fail; | |
3863 | swig_obj[0] = args; | |
5eb8189c | 3864 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3865 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3866 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3867 | } |
5eb8189c | 3868 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3869 | { |
3870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3871 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3872 | wxPyEndAllowThreads(__tstate); |
3873 | if (PyErr_Occurred()) SWIG_fail; | |
3874 | } | |
3875 | { | |
3876 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3877 | } | |
3878 | return resultobj; | |
3879 | fail: | |
3880 | return NULL; | |
3881 | } | |
3882 | ||
3883 | ||
5eb8189c | 3884 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3885 | PyObject *resultobj = 0; |
5eb8189c | 3886 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3887 | bool result; |
3888 | void *argp1 = 0 ; | |
3889 | int res1 = 0 ; | |
3890 | PyObject *swig_obj[1] ; | |
3891 | ||
3892 | if (!args) SWIG_fail; | |
3893 | swig_obj[0] = args; | |
5eb8189c | 3894 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3895 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3897 | } |
5eb8189c | 3898 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3899 | { |
3900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3901 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3902 | wxPyEndAllowThreads(__tstate); |
3903 | if (PyErr_Occurred()) SWIG_fail; | |
3904 | } | |
3905 | { | |
3906 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3907 | } | |
3908 | return resultobj; | |
3909 | fail: | |
3910 | return NULL; | |
3911 | } | |
3912 | ||
3913 | ||
5eb8189c | 3914 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3915 | PyObject *resultobj = 0; |
5eb8189c | 3916 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3917 | bool result; |
3918 | void *argp1 = 0 ; | |
3919 | int res1 = 0 ; | |
3920 | PyObject *swig_obj[1] ; | |
3921 | ||
3922 | if (!args) SWIG_fail; | |
3923 | swig_obj[0] = args; | |
5eb8189c | 3924 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3925 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3926 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3927 | } |
5eb8189c | 3928 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3929 | { |
3930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3931 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3932 | wxPyEndAllowThreads(__tstate); |
3933 | if (PyErr_Occurred()) SWIG_fail; | |
3934 | } | |
3935 | { | |
3936 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3937 | } | |
3938 | return resultobj; | |
3939 | fail: | |
3940 | return NULL; | |
3941 | } | |
3942 | ||
3943 | ||
5eb8189c | 3944 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3945 | PyObject *resultobj = 0; |
5eb8189c | 3946 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3947 | bool result; |
3948 | void *argp1 = 0 ; | |
3949 | int res1 = 0 ; | |
3950 | PyObject *swig_obj[1] ; | |
3951 | ||
3952 | if (!args) SWIG_fail; | |
3953 | swig_obj[0] = args; | |
5eb8189c | 3954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3955 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3957 | } |
5eb8189c | 3958 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3959 | { |
3960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3961 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
3962 | wxPyEndAllowThreads(__tstate); |
3963 | if (PyErr_Occurred()) SWIG_fail; | |
3964 | } | |
3965 | { | |
3966 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3967 | } | |
3968 | return resultobj; | |
3969 | fail: | |
3970 | return NULL; | |
3971 | } | |
3972 | ||
3973 | ||
5eb8189c | 3974 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3975 | PyObject *resultobj = 0; |
5eb8189c | 3976 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3977 | bool result; |
3978 | void *argp1 = 0 ; | |
3979 | int res1 = 0 ; | |
3980 | PyObject *swig_obj[1] ; | |
3981 | ||
3982 | if (!args) SWIG_fail; | |
3983 | swig_obj[0] = args; | |
5eb8189c | 3984 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3985 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3986 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3987 | } |
5eb8189c | 3988 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3989 | { |
3990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3991 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
3992 | wxPyEndAllowThreads(__tstate); |
3993 | if (PyErr_Occurred()) SWIG_fail; | |
3994 | } | |
3995 | { | |
3996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3997 | } | |
3998 | return resultobj; | |
3999 | fail: | |
4000 | return NULL; | |
4001 | } | |
4002 | ||
4003 | ||
5eb8189c | 4004 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4005 | PyObject *resultobj = 0; |
5eb8189c | 4006 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4007 | bool result; |
4008 | void *argp1 = 0 ; | |
4009 | int res1 = 0 ; | |
4010 | PyObject *swig_obj[1] ; | |
4011 | ||
4012 | if (!args) SWIG_fail; | |
4013 | swig_obj[0] = args; | |
5eb8189c | 4014 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4015 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4016 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4017 | } |
5eb8189c | 4018 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4019 | { |
4020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4021 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4022 | wxPyEndAllowThreads(__tstate); |
4023 | if (PyErr_Occurred()) SWIG_fail; | |
4024 | } | |
4025 | { | |
4026 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4027 | } | |
4028 | return resultobj; | |
4029 | fail: | |
4030 | return NULL; | |
4031 | } | |
4032 | ||
4033 | ||
5eb8189c | 4034 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4035 | PyObject *resultobj = 0; |
5eb8189c | 4036 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4037 | bool result; |
4038 | void *argp1 = 0 ; | |
4039 | int res1 = 0 ; | |
4040 | PyObject *swig_obj[1] ; | |
4041 | ||
4042 | if (!args) SWIG_fail; | |
4043 | swig_obj[0] = args; | |
5eb8189c | 4044 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4045 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4046 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4047 | } |
5eb8189c | 4048 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4049 | { |
4050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4051 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4052 | wxPyEndAllowThreads(__tstate); |
4053 | if (PyErr_Occurred()) SWIG_fail; | |
4054 | } | |
4055 | { | |
4056 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4057 | } | |
4058 | return resultobj; | |
4059 | fail: | |
4060 | return NULL; | |
4061 | } | |
4062 | ||
4063 | ||
5eb8189c | 4064 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4065 | PyObject *resultobj = 0; |
5eb8189c RD |
4066 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4067 | bool result; | |
4068 | void *argp1 = 0 ; | |
4069 | int res1 = 0 ; | |
4070 | PyObject *swig_obj[1] ; | |
4071 | ||
4072 | if (!args) SWIG_fail; | |
4073 | swig_obj[0] = args; | |
4074 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4075 | if (!SWIG_IsOK(res1)) { | |
4076 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4077 | } | |
4078 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4079 | { | |
4080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4081 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4082 | wxPyEndAllowThreads(__tstate); | |
4083 | if (PyErr_Occurred()) SWIG_fail; | |
4084 | } | |
4085 | { | |
4086 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4087 | } | |
4088 | return resultobj; | |
4089 | fail: | |
4090 | return NULL; | |
4091 | } | |
4092 | ||
4093 | ||
4094 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4095 | PyObject *resultobj = 0; | |
4096 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4097 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4098 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4099 | void *argp1 = 0 ; |
4100 | int res1 = 0 ; | |
4101 | void *argp2 = 0 ; | |
4102 | int res2 = 0 ; | |
4103 | PyObject * obj0 = 0 ; | |
4104 | PyObject * obj1 = 0 ; | |
4105 | char * kwnames[] = { | |
4106 | (char *) "self",(char *) "w", NULL | |
4107 | }; | |
4108 | ||
5eb8189c RD |
4109 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4110 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4111 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4113 | } |
5eb8189c | 4114 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4115 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4116 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4117 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4118 | } |
4119 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4120 | { | |
4121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4122 | { | |
5eb8189c RD |
4123 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4124 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4125 | } |
4126 | wxPyEndAllowThreads(__tstate); | |
4127 | if (PyErr_Occurred()) SWIG_fail; | |
4128 | } | |
4129 | { | |
4130 | resultobj = obj0; Py_INCREF(resultobj); | |
4131 | } | |
4132 | return resultobj; | |
4133 | fail: | |
4134 | return NULL; | |
4135 | } | |
4136 | ||
4137 | ||
5eb8189c | 4138 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4139 | PyObject *resultobj = 0; |
5eb8189c | 4140 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4141 | wxString *arg2 = 0 ; |
5eb8189c | 4142 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4143 | void *argp1 = 0 ; |
4144 | int res1 = 0 ; | |
4145 | bool temp2 = false ; | |
4146 | PyObject * obj0 = 0 ; | |
4147 | PyObject * obj1 = 0 ; | |
4148 | char * kwnames[] = { | |
4149 | (char *) "self",(char *) "n", NULL | |
4150 | }; | |
4151 | ||
5eb8189c RD |
4152 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4153 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4154 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4155 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4156 | } |
5eb8189c | 4157 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4158 | { |
4159 | arg2 = wxString_in_helper(obj1); | |
4160 | if (arg2 == NULL) SWIG_fail; | |
4161 | temp2 = true; | |
4162 | } | |
4163 | { | |
4164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4165 | { | |
5eb8189c RD |
4166 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4167 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4168 | } |
4169 | wxPyEndAllowThreads(__tstate); | |
4170 | if (PyErr_Occurred()) SWIG_fail; | |
4171 | } | |
4172 | { | |
4173 | resultobj = obj0; Py_INCREF(resultobj); | |
4174 | } | |
4175 | { | |
4176 | if (temp2) | |
4177 | delete arg2; | |
4178 | } | |
4179 | return resultobj; | |
4180 | fail: | |
4181 | { | |
4182 | if (temp2) | |
4183 | delete arg2; | |
4184 | } | |
4185 | return NULL; | |
4186 | } | |
4187 | ||
4188 | ||
5eb8189c | 4189 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4190 | PyObject *resultobj = 0; |
5eb8189c | 4191 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4192 | wxString *arg2 = 0 ; |
5eb8189c | 4193 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4194 | void *argp1 = 0 ; |
4195 | int res1 = 0 ; | |
4196 | bool temp2 = false ; | |
4197 | PyObject * obj0 = 0 ; | |
4198 | PyObject * obj1 = 0 ; | |
4199 | char * kwnames[] = { | |
4200 | (char *) "self",(char *) "c", NULL | |
4201 | }; | |
4202 | ||
5eb8189c RD |
4203 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4204 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4205 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4207 | } |
5eb8189c | 4208 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4209 | { |
4210 | arg2 = wxString_in_helper(obj1); | |
4211 | if (arg2 == NULL) SWIG_fail; | |
4212 | temp2 = true; | |
4213 | } | |
4214 | { | |
4215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4216 | { | |
5eb8189c RD |
4217 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4218 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4219 | } |
4220 | wxPyEndAllowThreads(__tstate); | |
4221 | if (PyErr_Occurred()) SWIG_fail; | |
4222 | } | |
4223 | { | |
4224 | resultobj = obj0; Py_INCREF(resultobj); | |
4225 | } | |
4226 | { | |
4227 | if (temp2) | |
4228 | delete arg2; | |
4229 | } | |
4230 | return resultobj; | |
4231 | fail: | |
4232 | { | |
4233 | if (temp2) | |
4234 | delete arg2; | |
4235 | } | |
4236 | return NULL; | |
4237 | } | |
4238 | ||
4239 | ||
5eb8189c | 4240 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4241 | PyObject *resultobj = 0; |
5eb8189c RD |
4242 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4243 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4244 | void *argp1 = 0 ; |
4245 | int res1 = 0 ; | |
4246 | PyObject *swig_obj[1] ; | |
4247 | ||
4248 | if (!args) SWIG_fail; | |
4249 | swig_obj[0] = args; | |
5eb8189c | 4250 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4251 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4253 | } |
5eb8189c | 4254 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4255 | { |
4256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4257 | { | |
5eb8189c RD |
4258 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4259 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4260 | } |
4261 | wxPyEndAllowThreads(__tstate); | |
4262 | if (PyErr_Occurred()) SWIG_fail; | |
4263 | } | |
4264 | { | |
4265 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4266 | } | |
4267 | return resultobj; | |
4268 | fail: | |
4269 | return NULL; | |
4270 | } | |
4271 | ||
4272 | ||
5eb8189c | 4273 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4274 | PyObject *resultobj = 0; |
5eb8189c RD |
4275 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4276 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4277 | void *argp1 = 0 ; |
4278 | int res1 = 0 ; | |
4279 | PyObject *swig_obj[1] ; | |
4280 | ||
4281 | if (!args) SWIG_fail; | |
4282 | swig_obj[0] = args; | |
5eb8189c | 4283 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4284 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4286 | } |
5eb8189c | 4287 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4288 | { |
4289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4290 | { | |
5eb8189c RD |
4291 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4292 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4293 | } |
4294 | wxPyEndAllowThreads(__tstate); | |
4295 | if (PyErr_Occurred()) SWIG_fail; | |
4296 | } | |
4297 | { | |
4298 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4299 | } | |
4300 | return resultobj; | |
4301 | fail: | |
4302 | return NULL; | |
4303 | } | |
4304 | ||
4305 | ||
5eb8189c | 4306 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4307 | PyObject *resultobj = 0; |
5eb8189c RD |
4308 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4309 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4310 | void *argp1 = 0 ; |
4311 | int res1 = 0 ; | |
4312 | PyObject *swig_obj[1] ; | |
4313 | ||
4314 | if (!args) SWIG_fail; | |
4315 | swig_obj[0] = args; | |
5eb8189c | 4316 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4317 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4318 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4319 | } |
5eb8189c | 4320 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4321 | { |
4322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4323 | { | |
5eb8189c RD |
4324 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4325 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4326 | } |
4327 | wxPyEndAllowThreads(__tstate); | |
4328 | if (PyErr_Occurred()) SWIG_fail; | |
4329 | } | |
4330 | { | |
4331 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4332 | } | |
4333 | return resultobj; | |
4334 | fail: | |
4335 | return NULL; | |
4336 | } | |
4337 | ||
4338 | ||
5eb8189c | 4339 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4340 | PyObject *resultobj = 0; |
5eb8189c RD |
4341 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4342 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4343 | void *argp1 = 0 ; |
4344 | int res1 = 0 ; | |
4345 | PyObject *swig_obj[1] ; | |
4346 | ||
4347 | if (!args) SWIG_fail; | |
4348 | swig_obj[0] = args; | |
5eb8189c | 4349 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4350 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4351 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4352 | } |
5eb8189c | 4353 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4354 | { |
4355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4356 | { | |
5eb8189c RD |
4357 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4358 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4359 | } |
4360 | wxPyEndAllowThreads(__tstate); | |
4361 | if (PyErr_Occurred()) SWIG_fail; | |
4362 | } | |
4363 | { | |
4364 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4365 | } | |
4366 | return resultobj; | |
4367 | fail: | |
4368 | return NULL; | |
4369 | } | |
4370 | ||
4371 | ||
5eb8189c | 4372 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4373 | PyObject *resultobj = 0; |
5eb8189c RD |
4374 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4375 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4376 | void *argp1 = 0 ; |
4377 | int res1 = 0 ; | |
4378 | PyObject *swig_obj[1] ; | |
4379 | ||
4380 | if (!args) SWIG_fail; | |
4381 | swig_obj[0] = args; | |
5eb8189c | 4382 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4383 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4384 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4385 | } |
5eb8189c | 4386 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4387 | { |
4388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4389 | { | |
5eb8189c RD |
4390 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4391 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4392 | } |
4393 | wxPyEndAllowThreads(__tstate); | |
4394 | if (PyErr_Occurred()) SWIG_fail; | |
4395 | } | |
4396 | { | |
4397 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4398 | } | |
4399 | return resultobj; | |
4400 | fail: | |
4401 | return NULL; | |
4402 | } | |
4403 | ||
4404 | ||
5eb8189c | 4405 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4406 | PyObject *resultobj = 0; |
5eb8189c RD |
4407 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4408 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4409 | void *argp1 = 0 ; |
4410 | int res1 = 0 ; | |
4411 | PyObject *swig_obj[1] ; | |
4412 | ||
4413 | if (!args) SWIG_fail; | |
4414 | swig_obj[0] = args; | |
5eb8189c | 4415 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4416 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4418 | } |
5eb8189c | 4419 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4420 | { |
4421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4422 | { | |
5eb8189c RD |
4423 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4424 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4425 | } |
4426 | wxPyEndAllowThreads(__tstate); | |
4427 | if (PyErr_Occurred()) SWIG_fail; | |
4428 | } | |
4429 | { | |
4430 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4431 | } | |
4432 | return resultobj; | |
4433 | fail: | |
4434 | return NULL; | |
4435 | } | |
4436 | ||
4437 | ||
5eb8189c | 4438 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4439 | PyObject *resultobj = 0; |
5eb8189c | 4440 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4441 | int arg2 ; |
5eb8189c | 4442 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4443 | void *argp1 = 0 ; |
4444 | int res1 = 0 ; | |
4445 | int val2 ; | |
4446 | int ecode2 = 0 ; | |
4447 | PyObject * obj0 = 0 ; | |
4448 | PyObject * obj1 = 0 ; | |
4449 | char * kwnames[] = { | |
4450 | (char *) "self",(char *) "direction", NULL | |
4451 | }; | |
4452 | ||
5eb8189c RD |
4453 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4454 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4455 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4457 | } |
5eb8189c | 4458 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4459 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4460 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4461 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4462 | } |
4463 | arg2 = static_cast< int >(val2); | |
4464 | { | |
4465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4466 | { | |
5eb8189c RD |
4467 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4468 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4469 | } |
4470 | wxPyEndAllowThreads(__tstate); | |
4471 | if (PyErr_Occurred()) SWIG_fail; | |
4472 | } | |
4473 | { | |
4474 | resultobj = obj0; Py_INCREF(resultobj); | |
4475 | } | |
4476 | return resultobj; | |
4477 | fail: | |
4478 | return NULL; | |
4479 | } | |
4480 | ||
4481 | ||
5eb8189c | 4482 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4483 | PyObject *resultobj = 0; |
5eb8189c | 4484 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4485 | int arg2 ; |
5eb8189c | 4486 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4487 | void *argp1 = 0 ; |
4488 | int res1 = 0 ; | |
4489 | int val2 ; | |
4490 | int ecode2 = 0 ; | |
4491 | PyObject * obj0 = 0 ; | |
4492 | PyObject * obj1 = 0 ; | |
4493 | char * kwnames[] = { | |
4494 | (char *) "self",(char *) "layer", NULL | |
4495 | }; | |
4496 | ||
5eb8189c RD |
4497 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4498 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4499 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4501 | } |
5eb8189c | 4502 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4503 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4504 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4505 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4506 | } |
4507 | arg2 = static_cast< int >(val2); | |
4508 | { | |
4509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4510 | { | |
5eb8189c RD |
4511 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4512 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4513 | } |
4514 | wxPyEndAllowThreads(__tstate); | |
4515 | if (PyErr_Occurred()) SWIG_fail; | |
4516 | } | |
4517 | { | |
4518 | resultobj = obj0; Py_INCREF(resultobj); | |
4519 | } | |
4520 | return resultobj; | |
4521 | fail: | |
4522 | return NULL; | |
4523 | } | |
4524 | ||
4525 | ||
5eb8189c | 4526 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4527 | PyObject *resultobj = 0; |
5eb8189c | 4528 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4529 | int arg2 ; |
5eb8189c | 4530 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4531 | void *argp1 = 0 ; |
4532 | int res1 = 0 ; | |
4533 | int val2 ; | |
4534 | int ecode2 = 0 ; | |
4535 | PyObject * obj0 = 0 ; | |
4536 | PyObject * obj1 = 0 ; | |
4537 | char * kwnames[] = { | |
4538 | (char *) "self",(char *) "row", NULL | |
4539 | }; | |
4540 | ||
5eb8189c RD |
4541 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4542 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4543 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4545 | } |
5eb8189c | 4546 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4547 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4548 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4549 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4550 | } |
4551 | arg2 = static_cast< int >(val2); | |
4552 | { | |
4553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4554 | { | |
5eb8189c RD |
4555 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4556 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4557 | } |
4558 | wxPyEndAllowThreads(__tstate); | |
4559 | if (PyErr_Occurred()) SWIG_fail; | |
4560 | } | |
4561 | { | |
4562 | resultobj = obj0; Py_INCREF(resultobj); | |
4563 | } | |
4564 | return resultobj; | |
4565 | fail: | |
4566 | return NULL; | |
4567 | } | |
4568 | ||
4569 | ||
5eb8189c | 4570 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4571 | PyObject *resultobj = 0; |
5eb8189c | 4572 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4573 | int arg2 ; |
5eb8189c | 4574 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4575 | void *argp1 = 0 ; |
4576 | int res1 = 0 ; | |
4577 | int val2 ; | |
4578 | int ecode2 = 0 ; | |
4579 | PyObject * obj0 = 0 ; | |
4580 | PyObject * obj1 = 0 ; | |
4581 | char * kwnames[] = { | |
4582 | (char *) "self",(char *) "pos", NULL | |
4583 | }; | |
4584 | ||
5eb8189c RD |
4585 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4586 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4587 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4589 | } |
5eb8189c | 4590 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4591 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4592 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4593 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4594 | } |
4595 | arg2 = static_cast< int >(val2); | |
4596 | { | |
4597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4598 | { | |
5eb8189c RD |
4599 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4600 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4601 | } |
4602 | wxPyEndAllowThreads(__tstate); | |
4603 | if (PyErr_Occurred()) SWIG_fail; | |
4604 | } | |
4605 | { | |
4606 | resultobj = obj0; Py_INCREF(resultobj); | |
4607 | } | |
4608 | return resultobj; | |
4609 | fail: | |
4610 | return NULL; | |
4611 | } | |
4612 | ||
4613 | ||
5eb8189c | 4614 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4615 | PyObject *resultobj = 0; |
5eb8189c | 4616 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4617 | wxSize *arg2 = 0 ; |
5eb8189c | 4618 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4619 | void *argp1 = 0 ; |
4620 | int res1 = 0 ; | |
4621 | wxSize temp2 ; | |
4622 | PyObject * obj0 = 0 ; | |
4623 | PyObject * obj1 = 0 ; | |
4624 | char * kwnames[] = { | |
4625 | (char *) "self",(char *) "size", NULL | |
4626 | }; | |
4627 | ||
5eb8189c RD |
4628 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4629 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4630 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4631 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4632 | } |
5eb8189c | 4633 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4634 | { |
4635 | arg2 = &temp2; | |
4636 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4637 | } | |
4638 | { | |
4639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4640 | { | |
5eb8189c RD |
4641 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4642 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4643 | } |
4644 | wxPyEndAllowThreads(__tstate); | |
4645 | if (PyErr_Occurred()) SWIG_fail; | |
4646 | } | |
4647 | { | |
4648 | resultobj = obj0; Py_INCREF(resultobj); | |
4649 | } | |
4650 | return resultobj; | |
4651 | fail: | |
4652 | return NULL; | |
4653 | } | |
4654 | ||
4655 | ||
5eb8189c | 4656 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4657 | PyObject *resultobj = 0; |
5eb8189c | 4658 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4659 | wxSize *arg2 = 0 ; |
5eb8189c | 4660 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4661 | void *argp1 = 0 ; |
4662 | int res1 = 0 ; | |
4663 | wxSize temp2 ; | |
4664 | PyObject * obj0 = 0 ; | |
4665 | PyObject * obj1 = 0 ; | |
4666 | char * kwnames[] = { | |
4667 | (char *) "self",(char *) "size", NULL | |
4668 | }; | |
4669 | ||
5eb8189c RD |
4670 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4671 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4674 | } |
5eb8189c | 4675 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4676 | { |
4677 | arg2 = &temp2; | |
4678 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4679 | } | |
4680 | { | |
4681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4682 | { | |
5eb8189c RD |
4683 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4684 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4685 | } |
4686 | wxPyEndAllowThreads(__tstate); | |
4687 | if (PyErr_Occurred()) SWIG_fail; | |
4688 | } | |
4689 | { | |
4690 | resultobj = obj0; Py_INCREF(resultobj); | |
4691 | } | |
4692 | return resultobj; | |
4693 | fail: | |
4694 | return NULL; | |
4695 | } | |
4696 | ||
4697 | ||
5eb8189c | 4698 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4699 | PyObject *resultobj = 0; |
5eb8189c | 4700 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4701 | wxSize *arg2 = 0 ; |
5eb8189c | 4702 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4703 | void *argp1 = 0 ; |
4704 | int res1 = 0 ; | |
4705 | wxSize temp2 ; | |
4706 | PyObject * obj0 = 0 ; | |
4707 | PyObject * obj1 = 0 ; | |
4708 | char * kwnames[] = { | |
4709 | (char *) "self",(char *) "size", NULL | |
4710 | }; | |
4711 | ||
5eb8189c RD |
4712 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4713 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4714 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4716 | } |
5eb8189c | 4717 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4718 | { |
4719 | arg2 = &temp2; | |
4720 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4721 | } | |
4722 | { | |
4723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4724 | { | |
5eb8189c RD |
4725 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4726 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4727 | } |
4728 | wxPyEndAllowThreads(__tstate); | |
4729 | if (PyErr_Occurred()) SWIG_fail; | |
4730 | } | |
4731 | { | |
4732 | resultobj = obj0; Py_INCREF(resultobj); | |
4733 | } | |
4734 | return resultobj; | |
4735 | fail: | |
4736 | return NULL; | |
4737 | } | |
4738 | ||
4739 | ||
5eb8189c | 4740 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4741 | PyObject *resultobj = 0; |
5eb8189c | 4742 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4743 | wxPoint *arg2 = 0 ; |
5eb8189c | 4744 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4745 | void *argp1 = 0 ; |
4746 | int res1 = 0 ; | |
4747 | wxPoint temp2 ; | |
4748 | PyObject * obj0 = 0 ; | |
4749 | PyObject * obj1 = 0 ; | |
4750 | char * kwnames[] = { | |
4751 | (char *) "self",(char *) "pos", NULL | |
4752 | }; | |
4753 | ||
5eb8189c RD |
4754 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4755 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4756 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4757 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4758 | } |
5eb8189c | 4759 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4760 | { |
4761 | arg2 = &temp2; | |
4762 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4763 | } | |
4764 | { | |
4765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4766 | { | |
5eb8189c RD |
4767 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4768 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4769 | } |
4770 | wxPyEndAllowThreads(__tstate); | |
4771 | if (PyErr_Occurred()) SWIG_fail; | |
4772 | } | |
4773 | { | |
4774 | resultobj = obj0; Py_INCREF(resultobj); | |
4775 | } | |
4776 | return resultobj; | |
4777 | fail: | |
4778 | return NULL; | |
4779 | } | |
4780 | ||
4781 | ||
5eb8189c | 4782 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4783 | PyObject *resultobj = 0; |
5eb8189c | 4784 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4785 | wxSize *arg2 = 0 ; |
5eb8189c | 4786 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4787 | void *argp1 = 0 ; |
4788 | int res1 = 0 ; | |
4789 | wxSize temp2 ; | |
4790 | PyObject * obj0 = 0 ; | |
4791 | PyObject * obj1 = 0 ; | |
4792 | char * kwnames[] = { | |
4793 | (char *) "self",(char *) "size", NULL | |
4794 | }; | |
4795 | ||
5eb8189c RD |
4796 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4797 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4798 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4799 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4800 | } |
5eb8189c | 4801 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4802 | { |
4803 | arg2 = &temp2; | |
4804 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4805 | } | |
4806 | { | |
4807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4808 | { | |
5eb8189c RD |
4809 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4810 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4811 | } |
4812 | wxPyEndAllowThreads(__tstate); | |
4813 | if (PyErr_Occurred()) SWIG_fail; | |
4814 | } | |
4815 | { | |
4816 | resultobj = obj0; Py_INCREF(resultobj); | |
4817 | } | |
4818 | return resultobj; | |
4819 | fail: | |
4820 | return NULL; | |
4821 | } | |
4822 | ||
4823 | ||
5eb8189c | 4824 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4825 | PyObject *resultobj = 0; |
5eb8189c RD |
4826 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4827 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4828 | void *argp1 = 0 ; |
4829 | int res1 = 0 ; | |
4830 | PyObject *swig_obj[1] ; | |
4831 | ||
4832 | if (!args) SWIG_fail; | |
4833 | swig_obj[0] = args; | |
5eb8189c | 4834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4835 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4837 | } |
5eb8189c | 4838 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4839 | { |
4840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4841 | { | |
5eb8189c RD |
4842 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4843 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4844 | } |
4845 | wxPyEndAllowThreads(__tstate); | |
4846 | if (PyErr_Occurred()) SWIG_fail; | |
4847 | } | |
4848 | { | |
4849 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4850 | } | |
4851 | return resultobj; | |
4852 | fail: | |
4853 | return NULL; | |
4854 | } | |
4855 | ||
4856 | ||
5eb8189c | 4857 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4858 | PyObject *resultobj = 0; |
5eb8189c | 4859 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4860 | bool arg2 = (bool) true ; |
5eb8189c | 4861 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4862 | void *argp1 = 0 ; |
4863 | int res1 = 0 ; | |
4864 | bool val2 ; | |
4865 | int ecode2 = 0 ; | |
4866 | PyObject * obj0 = 0 ; | |
4867 | PyObject * obj1 = 0 ; | |
4868 | char * kwnames[] = { | |
4869 | (char *) "self",(char *) "resizable", NULL | |
4870 | }; | |
4871 | ||
5eb8189c RD |
4872 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4873 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4874 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4875 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4876 | } |
5eb8189c | 4877 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4878 | if (obj1) { |
4879 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4880 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4881 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4882 | } |
4883 | arg2 = static_cast< bool >(val2); | |
4884 | } | |
4885 | { | |
4886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4887 | { | |
5eb8189c RD |
4888 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4889 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4890 | } |
4891 | wxPyEndAllowThreads(__tstate); | |
4892 | if (PyErr_Occurred()) SWIG_fail; | |
4893 | } | |
4894 | { | |
4895 | resultobj = obj0; Py_INCREF(resultobj); | |
4896 | } | |
4897 | return resultobj; | |
4898 | fail: | |
4899 | return NULL; | |
4900 | } | |
4901 | ||
4902 | ||
5eb8189c | 4903 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4904 | PyObject *resultobj = 0; |
5eb8189c RD |
4905 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4906 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4907 | void *argp1 = 0 ; |
4908 | int res1 = 0 ; | |
4909 | PyObject *swig_obj[1] ; | |
4910 | ||
4911 | if (!args) SWIG_fail; | |
4912 | swig_obj[0] = args; | |
5eb8189c | 4913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4914 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4916 | } |
5eb8189c | 4917 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4918 | { |
4919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4920 | { | |
5eb8189c RD |
4921 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4922 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4923 | } |
4924 | wxPyEndAllowThreads(__tstate); | |
4925 | if (PyErr_Occurred()) SWIG_fail; | |
4926 | } | |
4927 | { | |
4928 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4929 | } | |
4930 | return resultobj; | |
4931 | fail: | |
4932 | return NULL; | |
4933 | } | |
4934 | ||
4935 | ||
5eb8189c | 4936 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4937 | PyObject *resultobj = 0; |
5eb8189c RD |
4938 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4939 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4940 | void *argp1 = 0 ; |
4941 | int res1 = 0 ; | |
4942 | PyObject *swig_obj[1] ; | |
4943 | ||
4944 | if (!args) SWIG_fail; | |
4945 | swig_obj[0] = args; | |
5eb8189c | 4946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4947 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4949 | } |
5eb8189c | 4950 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4951 | { |
4952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4953 | { | |
5eb8189c RD |
4954 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
4955 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4956 | } |
4957 | wxPyEndAllowThreads(__tstate); | |
4958 | if (PyErr_Occurred()) SWIG_fail; | |
4959 | } | |
4960 | { | |
4961 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4962 | } | |
4963 | return resultobj; | |
4964 | fail: | |
4965 | return NULL; | |
4966 | } | |
4967 | ||
4968 | ||
5eb8189c | 4969 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4970 | PyObject *resultobj = 0; |
5eb8189c RD |
4971 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4972 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4973 | void *argp1 = 0 ; |
4974 | int res1 = 0 ; | |
4975 | PyObject *swig_obj[1] ; | |
4976 | ||
4977 | if (!args) SWIG_fail; | |
4978 | swig_obj[0] = args; | |
5eb8189c | 4979 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4980 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4981 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4982 | } |
5eb8189c | 4983 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4984 | { |
4985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4986 | { | |
5eb8189c RD |
4987 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
4988 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4989 | } |
4990 | wxPyEndAllowThreads(__tstate); | |
4991 | if (PyErr_Occurred()) SWIG_fail; | |
4992 | } | |
4993 | { | |
4994 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4995 | } | |
4996 | return resultobj; | |
4997 | fail: | |
4998 | return NULL; | |
4999 | } | |
5000 | ||
5001 | ||
5eb8189c | 5002 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5003 | PyObject *resultobj = 0; |
5eb8189c | 5004 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5005 | bool arg2 = (bool) true ; |
5eb8189c | 5006 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5007 | void *argp1 = 0 ; |
5008 | int res1 = 0 ; | |
5009 | bool val2 ; | |
5010 | int ecode2 = 0 ; | |
5011 | PyObject * obj0 = 0 ; | |
5012 | PyObject * obj1 = 0 ; | |
5013 | char * kwnames[] = { | |
5014 | (char *) "self",(char *) "show", NULL | |
5015 | }; | |
5016 | ||
5eb8189c RD |
5017 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5018 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5019 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5020 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5021 | } |
5eb8189c | 5022 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5023 | if (obj1) { |
5024 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5025 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5026 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5027 | } |
5028 | arg2 = static_cast< bool >(val2); | |
5029 | } | |
5030 | { | |
5031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5032 | { | |
5eb8189c RD |
5033 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5034 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5035 | } |
5036 | wxPyEndAllowThreads(__tstate); | |
5037 | if (PyErr_Occurred()) SWIG_fail; | |
5038 | } | |
5039 | { | |
5040 | resultobj = obj0; Py_INCREF(resultobj); | |
5041 | } | |
5042 | return resultobj; | |
5043 | fail: | |
5044 | return NULL; | |
5045 | } | |
5046 | ||
5047 | ||
5eb8189c | 5048 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5049 | PyObject *resultobj = 0; |
5eb8189c | 5050 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5051 | bool arg2 = (bool) true ; |
5eb8189c | 5052 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5053 | void *argp1 = 0 ; |
5054 | int res1 = 0 ; | |
5055 | bool val2 ; | |
5056 | int ecode2 = 0 ; | |
5057 | PyObject * obj0 = 0 ; | |
5058 | PyObject * obj1 = 0 ; | |
5059 | char * kwnames[] = { | |
5060 | (char *) "self",(char *) "visible", NULL | |
5061 | }; | |
5062 | ||
5eb8189c RD |
5063 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5064 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5065 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5066 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5067 | } |
5eb8189c | 5068 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5069 | if (obj1) { |
5070 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5071 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5072 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5073 | } |
5074 | arg2 = static_cast< bool >(val2); | |
5075 | } | |
5076 | { | |
5077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5078 | { | |
5eb8189c RD |
5079 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5080 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5081 | } |
5082 | wxPyEndAllowThreads(__tstate); | |
5083 | if (PyErr_Occurred()) SWIG_fail; | |
5084 | } | |
5085 | { | |
5086 | resultobj = obj0; Py_INCREF(resultobj); | |
5087 | } | |
5088 | return resultobj; | |
5089 | fail: | |
5090 | return NULL; | |
5091 | } | |
5092 | ||
5093 | ||
5eb8189c RD |
5094 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5095 | PyObject *resultobj = 0; | |
5096 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5097 | wxAuiPaneInfo *result = 0 ; | |
5098 | void *argp1 = 0 ; | |
5099 | int res1 = 0 ; | |
5100 | PyObject *swig_obj[1] ; | |
5101 | ||
5102 | if (!args) SWIG_fail; | |
5103 | swig_obj[0] = args; | |
5104 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5105 | if (!SWIG_IsOK(res1)) { | |
5106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5107 | } | |
5108 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5109 | { | |
5110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5111 | { | |
5112 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5113 | result = (wxAuiPaneInfo *) &_result_ref; | |
5114 | } | |
5115 | wxPyEndAllowThreads(__tstate); | |
5116 | if (PyErr_Occurred()) SWIG_fail; | |
5117 | } | |
5118 | { | |
5119 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5120 | } | |
5121 | return resultobj; | |
5122 | fail: | |
5123 | return NULL; | |
5124 | } | |
5125 | ||
5126 | ||
5127 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5128 | PyObject *resultobj = 0; |
5eb8189c RD |
5129 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5130 | wxAuiPaneInfo *result = 0 ; | |
5131 | void *argp1 = 0 ; | |
5132 | int res1 = 0 ; | |
5133 | PyObject *swig_obj[1] ; | |
5134 | ||
5135 | if (!args) SWIG_fail; | |
5136 | swig_obj[0] = args; | |
5137 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5138 | if (!SWIG_IsOK(res1)) { | |
5139 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5140 | } | |
5141 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5142 | { | |
5143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5144 | { | |
5145 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5146 | result = (wxAuiPaneInfo *) &_result_ref; | |
5147 | } | |
5148 | wxPyEndAllowThreads(__tstate); | |
5149 | if (PyErr_Occurred()) SWIG_fail; | |
5150 | } | |
5151 | { | |
5152 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5153 | } | |
5154 | return resultobj; | |
5155 | fail: | |
5156 | return NULL; | |
5157 | } | |
5158 | ||
5159 | ||
5160 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5161 | PyObject *resultobj = 0; | |
5162 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5163 | bool arg2 = (bool) true ; |
5eb8189c | 5164 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5165 | void *argp1 = 0 ; |
5166 | int res1 = 0 ; | |
5167 | bool val2 ; | |
5168 | int ecode2 = 0 ; | |
5169 | PyObject * obj0 = 0 ; | |
5170 | PyObject * obj1 = 0 ; | |
5171 | char * kwnames[] = { | |
5172 | (char *) "self",(char *) "visible", NULL | |
5173 | }; | |
5174 | ||
5eb8189c RD |
5175 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5176 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5177 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5178 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5179 | } |
5eb8189c | 5180 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5181 | if (obj1) { |
5182 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5183 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5184 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5185 | } |
5186 | arg2 = static_cast< bool >(val2); | |
5187 | } | |
5188 | { | |
5189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5190 | { | |
5eb8189c RD |
5191 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5192 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5193 | } |
5194 | wxPyEndAllowThreads(__tstate); | |
5195 | if (PyErr_Occurred()) SWIG_fail; | |
5196 | } | |
5197 | { | |
5198 | resultobj = obj0; Py_INCREF(resultobj); | |
5199 | } | |
5200 | return resultobj; | |
5201 | fail: | |
5202 | return NULL; | |
5203 | } | |
5204 | ||
5205 | ||
5eb8189c | 5206 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5207 | PyObject *resultobj = 0; |
5eb8189c | 5208 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5209 | bool arg2 = (bool) true ; |
5eb8189c | 5210 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5211 | void *argp1 = 0 ; |
5212 | int res1 = 0 ; | |
5213 | bool val2 ; | |
5214 | int ecode2 = 0 ; | |
5215 | PyObject * obj0 = 0 ; | |
5216 | PyObject * obj1 = 0 ; | |
5217 | char * kwnames[] = { | |
5218 | (char *) "self",(char *) "visible", NULL | |
5219 | }; | |
5220 | ||
5eb8189c RD |
5221 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5222 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5223 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5225 | } |
5eb8189c | 5226 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5227 | if (obj1) { |
5228 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5229 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5230 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5231 | } |
5232 | arg2 = static_cast< bool >(val2); | |
5233 | } | |
5234 | { | |
5235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5236 | { | |
5eb8189c RD |
5237 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5238 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5239 | } |
5240 | wxPyEndAllowThreads(__tstate); | |
5241 | if (PyErr_Occurred()) SWIG_fail; | |
5242 | } | |
5243 | { | |
5244 | resultobj = obj0; Py_INCREF(resultobj); | |
5245 | } | |
5246 | return resultobj; | |
5247 | fail: | |
5248 | return NULL; | |
5249 | } | |
5250 | ||
5251 | ||
5eb8189c | 5252 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5253 | PyObject *resultobj = 0; |
5eb8189c | 5254 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5255 | bool arg2 = (bool) true ; |
5eb8189c | 5256 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5257 | void *argp1 = 0 ; |
5258 | int res1 = 0 ; | |
5259 | bool val2 ; | |
5260 | int ecode2 = 0 ; | |
5261 | PyObject * obj0 = 0 ; | |
5262 | PyObject * obj1 = 0 ; | |
5263 | char * kwnames[] = { | |
5264 | (char *) "self",(char *) "attop", NULL | |
5265 | }; | |
5266 | ||
5eb8189c RD |
5267 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5268 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5269 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5270 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5271 | } |
5eb8189c | 5272 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5273 | if (obj1) { |
5274 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5275 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5276 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5277 | } |
5278 | arg2 = static_cast< bool >(val2); | |
5279 | } | |
5280 | { | |
5281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5282 | { | |
5eb8189c RD |
5283 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5284 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5285 | } |
5286 | wxPyEndAllowThreads(__tstate); | |
5287 | if (PyErr_Occurred()) SWIG_fail; | |
5288 | } | |
5289 | { | |
5290 | resultobj = obj0; Py_INCREF(resultobj); | |
5291 | } | |
5292 | return resultobj; | |
5293 | fail: | |
5294 | return NULL; | |
5295 | } | |
5296 | ||
5297 | ||
5eb8189c | 5298 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5299 | PyObject *resultobj = 0; |
5eb8189c | 5300 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5301 | bool arg2 = (bool) true ; |
5eb8189c | 5302 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5303 | void *argp1 = 0 ; |
5304 | int res1 = 0 ; | |
5305 | bool val2 ; | |
5306 | int ecode2 = 0 ; | |
5307 | PyObject * obj0 = 0 ; | |
5308 | PyObject * obj1 = 0 ; | |
5309 | char * kwnames[] = { | |
5310 | (char *) "self",(char *) "visible", NULL | |
5311 | }; | |
5312 | ||
5eb8189c RD |
5313 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5314 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5315 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5317 | } |
5eb8189c | 5318 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5319 | if (obj1) { |
5320 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5321 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5322 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5323 | } |
5324 | arg2 = static_cast< bool >(val2); | |
5325 | } | |
5326 | { | |
5327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5328 | { | |
5eb8189c RD |
5329 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5330 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5331 | } |
5332 | wxPyEndAllowThreads(__tstate); | |
5333 | if (PyErr_Occurred()) SWIG_fail; | |
5334 | } | |
5335 | { | |
5336 | resultobj = obj0; Py_INCREF(resultobj); | |
5337 | } | |
5338 | return resultobj; | |
5339 | fail: | |
5340 | return NULL; | |
5341 | } | |
5342 | ||
5343 | ||
5eb8189c | 5344 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5345 | PyObject *resultobj = 0; |
5eb8189c | 5346 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5347 | bool arg2 = (bool) true ; |
5eb8189c | 5348 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5349 | void *argp1 = 0 ; |
5350 | int res1 = 0 ; | |
5351 | bool val2 ; | |
5352 | int ecode2 = 0 ; | |
5353 | PyObject * obj0 = 0 ; | |
5354 | PyObject * obj1 = 0 ; | |
5355 | char * kwnames[] = { | |
5356 | (char *) "self",(char *) "visible", NULL | |
5357 | }; | |
5358 | ||
5eb8189c RD |
5359 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5360 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5361 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5363 | } |
5eb8189c | 5364 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5365 | if (obj1) { |
5366 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5367 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5368 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5369 | } |
5370 | arg2 = static_cast< bool >(val2); | |
5371 | } | |
5372 | { | |
5373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5374 | { | |
5eb8189c RD |
5375 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5376 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5377 | } |
5378 | wxPyEndAllowThreads(__tstate); | |
5379 | if (PyErr_Occurred()) SWIG_fail; | |
5380 | } | |
5381 | { | |
5382 | resultobj = obj0; Py_INCREF(resultobj); | |
5383 | } | |
5384 | return resultobj; | |
5385 | fail: | |
5386 | return NULL; | |
5387 | } | |
5388 | ||
5389 | ||
5eb8189c | 5390 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5391 | PyObject *resultobj = 0; |
5eb8189c | 5392 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5393 | bool arg2 = (bool) true ; |
5eb8189c | 5394 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5395 | void *argp1 = 0 ; |
5396 | int res1 = 0 ; | |
5397 | bool val2 ; | |
5398 | int ecode2 = 0 ; | |
5399 | PyObject * obj0 = 0 ; | |
5400 | PyObject * obj1 = 0 ; | |
5401 | char * kwnames[] = { | |
5402 | (char *) "self",(char *) "visible", NULL | |
5403 | }; | |
5404 | ||
5eb8189c RD |
5405 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5406 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5407 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5409 | } |
5eb8189c | 5410 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5411 | if (obj1) { |
5412 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5413 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5414 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5415 | } |
5416 | arg2 = static_cast< bool >(val2); | |
5417 | } | |
5418 | { | |
5419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5420 | { | |
5eb8189c RD |
5421 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5422 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5423 | } |
5424 | wxPyEndAllowThreads(__tstate); | |
5425 | if (PyErr_Occurred()) SWIG_fail; | |
5426 | } | |
5427 | { | |
5428 | resultobj = obj0; Py_INCREF(resultobj); | |
5429 | } | |
5430 | return resultobj; | |
5431 | fail: | |
5432 | return NULL; | |
5433 | } | |
5434 | ||
5435 | ||
5eb8189c | 5436 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5437 | PyObject *resultobj = 0; |
5eb8189c | 5438 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5439 | bool arg2 = (bool) true ; |
5eb8189c | 5440 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5441 | void *argp1 = 0 ; |
5442 | int res1 = 0 ; | |
5443 | bool val2 ; | |
5444 | int ecode2 = 0 ; | |
5445 | PyObject * obj0 = 0 ; | |
5446 | PyObject * obj1 = 0 ; | |
5447 | char * kwnames[] = { | |
5448 | (char *) "self",(char *) "visible", NULL | |
5449 | }; | |
5450 | ||
5eb8189c RD |
5451 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5452 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5453 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5455 | } |
5eb8189c | 5456 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5457 | if (obj1) { |
5458 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5459 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5460 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5461 | } |
5462 | arg2 = static_cast< bool >(val2); | |
5463 | } | |
5464 | { | |
5465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5466 | { | |
5eb8189c RD |
5467 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5468 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5469 | } |
5470 | wxPyEndAllowThreads(__tstate); | |
5471 | if (PyErr_Occurred()) SWIG_fail; | |
5472 | } | |
5473 | { | |
5474 | resultobj = obj0; Py_INCREF(resultobj); | |
5475 | } | |
5476 | return resultobj; | |
5477 | fail: | |
5478 | return NULL; | |
5479 | } | |
5480 | ||
5481 | ||
5eb8189c | 5482 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5483 | PyObject *resultobj = 0; |
5eb8189c | 5484 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5485 | bool arg2 = (bool) true ; |
5eb8189c | 5486 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5487 | void *argp1 = 0 ; |
5488 | int res1 = 0 ; | |
5489 | bool val2 ; | |
5490 | int ecode2 = 0 ; | |
5491 | PyObject * obj0 = 0 ; | |
5492 | PyObject * obj1 = 0 ; | |
5493 | char * kwnames[] = { | |
5494 | (char *) "self",(char *) "b", NULL | |
5495 | }; | |
5496 | ||
5eb8189c RD |
5497 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5498 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5499 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5501 | } |
5eb8189c | 5502 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5503 | if (obj1) { |
5504 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5505 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5506 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5507 | } |
5508 | arg2 = static_cast< bool >(val2); | |
5509 | } | |
5510 | { | |
5511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5512 | { | |
5eb8189c RD |
5513 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5514 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5515 | } |
5516 | wxPyEndAllowThreads(__tstate); | |
5517 | if (PyErr_Occurred()) SWIG_fail; | |
5518 | } | |
5519 | { | |
5520 | resultobj = obj0; Py_INCREF(resultobj); | |
5521 | } | |
5522 | return resultobj; | |
5523 | fail: | |
5524 | return NULL; | |
5525 | } | |
5526 | ||
5527 | ||
5eb8189c | 5528 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5529 | PyObject *resultobj = 0; |
5eb8189c | 5530 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5531 | bool arg2 = (bool) true ; |
5eb8189c | 5532 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5533 | void *argp1 = 0 ; |
5534 | int res1 = 0 ; | |
5535 | bool val2 ; | |
5536 | int ecode2 = 0 ; | |
5537 | PyObject * obj0 = 0 ; | |
5538 | PyObject * obj1 = 0 ; | |
5539 | char * kwnames[] = { | |
5540 | (char *) "self",(char *) "b", NULL | |
5541 | }; | |
5542 | ||
5eb8189c RD |
5543 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5544 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5545 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5546 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5547 | } |
5eb8189c | 5548 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5549 | if (obj1) { |
5550 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5551 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5552 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5553 | } |
5554 | arg2 = static_cast< bool >(val2); | |
5555 | } | |
5556 | { | |
5557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5558 | { | |
5eb8189c RD |
5559 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5560 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5561 | } |
5562 | wxPyEndAllowThreads(__tstate); | |
5563 | if (PyErr_Occurred()) SWIG_fail; | |
5564 | } | |
5565 | { | |
5566 | resultobj = obj0; Py_INCREF(resultobj); | |
5567 | } | |
5568 | return resultobj; | |
5569 | fail: | |
5570 | return NULL; | |
5571 | } | |
5572 | ||
5573 | ||
5eb8189c | 5574 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5575 | PyObject *resultobj = 0; |
5eb8189c | 5576 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5577 | bool arg2 = (bool) true ; |
5eb8189c | 5578 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5579 | void *argp1 = 0 ; |
5580 | int res1 = 0 ; | |
5581 | bool val2 ; | |
5582 | int ecode2 = 0 ; | |
5583 | PyObject * obj0 = 0 ; | |
5584 | PyObject * obj1 = 0 ; | |
5585 | char * kwnames[] = { | |
5586 | (char *) "self",(char *) "b", NULL | |
5587 | }; | |
5588 | ||
5eb8189c RD |
5589 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5590 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5591 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5593 | } |
5eb8189c | 5594 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5595 | if (obj1) { |
5596 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5597 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5598 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5599 | } |
5600 | arg2 = static_cast< bool >(val2); | |
5601 | } | |
5602 | { | |
5603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5604 | { | |
5eb8189c RD |
5605 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5606 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5607 | } |
5608 | wxPyEndAllowThreads(__tstate); | |
5609 | if (PyErr_Occurred()) SWIG_fail; | |
5610 | } | |
5611 | { | |
5612 | resultobj = obj0; Py_INCREF(resultobj); | |
5613 | } | |
5614 | return resultobj; | |
5615 | fail: | |
5616 | return NULL; | |
5617 | } | |
5618 | ||
5619 | ||
5eb8189c | 5620 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5621 | PyObject *resultobj = 0; |
5eb8189c | 5622 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5623 | bool arg2 = (bool) true ; |
5eb8189c | 5624 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5625 | void *argp1 = 0 ; |
5626 | int res1 = 0 ; | |
5627 | bool val2 ; | |
5628 | int ecode2 = 0 ; | |
5629 | PyObject * obj0 = 0 ; | |
5630 | PyObject * obj1 = 0 ; | |
5631 | char * kwnames[] = { | |
5632 | (char *) "self",(char *) "b", NULL | |
5633 | }; | |
5634 | ||
5eb8189c RD |
5635 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5636 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5637 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5639 | } |
5eb8189c | 5640 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5641 | if (obj1) { |
5642 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5643 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5644 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5645 | } |
5646 | arg2 = static_cast< bool >(val2); | |
5647 | } | |
5648 | { | |
5649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5650 | { | |
5eb8189c RD |
5651 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5652 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5653 | } |
5654 | wxPyEndAllowThreads(__tstate); | |
5655 | if (PyErr_Occurred()) SWIG_fail; | |
5656 | } | |
5657 | { | |
5658 | resultobj = obj0; Py_INCREF(resultobj); | |
5659 | } | |
5660 | return resultobj; | |
5661 | fail: | |
5662 | return NULL; | |
5663 | } | |
5664 | ||
5665 | ||
5eb8189c | 5666 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5667 | PyObject *resultobj = 0; |
5eb8189c | 5668 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5669 | bool arg2 = (bool) true ; |
5eb8189c | 5670 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5671 | void *argp1 = 0 ; |
5672 | int res1 = 0 ; | |
5673 | bool val2 ; | |
5674 | int ecode2 = 0 ; | |
5675 | PyObject * obj0 = 0 ; | |
5676 | PyObject * obj1 = 0 ; | |
5677 | char * kwnames[] = { | |
5678 | (char *) "self",(char *) "b", NULL | |
5679 | }; | |
5680 | ||
5eb8189c RD |
5681 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5682 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5683 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5684 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5685 | } |
5eb8189c | 5686 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5687 | if (obj1) { |
5688 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5689 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5690 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5691 | } |
5692 | arg2 = static_cast< bool >(val2); | |
5693 | } | |
5694 | { | |
5695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5696 | { | |
5eb8189c RD |
5697 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5698 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5699 | } |
5700 | wxPyEndAllowThreads(__tstate); | |
5701 | if (PyErr_Occurred()) SWIG_fail; | |
5702 | } | |
5703 | { | |
5704 | resultobj = obj0; Py_INCREF(resultobj); | |
5705 | } | |
5706 | return resultobj; | |
5707 | fail: | |
5708 | return NULL; | |
5709 | } | |
5710 | ||
5711 | ||
5eb8189c | 5712 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5713 | PyObject *resultobj = 0; |
5eb8189c | 5714 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5715 | bool arg2 = (bool) true ; |
5eb8189c | 5716 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5717 | void *argp1 = 0 ; |
5718 | int res1 = 0 ; | |
5719 | bool val2 ; | |
5720 | int ecode2 = 0 ; | |
5721 | PyObject * obj0 = 0 ; | |
5722 | PyObject * obj1 = 0 ; | |
5723 | char * kwnames[] = { | |
5724 | (char *) "self",(char *) "b", NULL | |
5725 | }; | |
5726 | ||
5eb8189c RD |
5727 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5728 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5729 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5731 | } |
5eb8189c | 5732 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5733 | if (obj1) { |
5734 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5735 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5736 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5737 | } |
5738 | arg2 = static_cast< bool >(val2); | |
5739 | } | |
5740 | { | |
5741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5742 | { | |
5eb8189c RD |
5743 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5744 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5745 | } |
5746 | wxPyEndAllowThreads(__tstate); | |
5747 | if (PyErr_Occurred()) SWIG_fail; | |
5748 | } | |
5749 | { | |
5750 | resultobj = obj0; Py_INCREF(resultobj); | |
5751 | } | |
5752 | return resultobj; | |
5753 | fail: | |
5754 | return NULL; | |
5755 | } | |
5756 | ||
5757 | ||
5eb8189c | 5758 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5759 | PyObject *resultobj = 0; |
5eb8189c | 5760 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5761 | bool arg2 = (bool) true ; |
5eb8189c | 5762 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5763 | void *argp1 = 0 ; |
5764 | int res1 = 0 ; | |
5765 | bool val2 ; | |
5766 | int ecode2 = 0 ; | |
5767 | PyObject * obj0 = 0 ; | |
5768 | PyObject * obj1 = 0 ; | |
5769 | char * kwnames[] = { | |
5770 | (char *) "self",(char *) "b", NULL | |
5771 | }; | |
5772 | ||
5eb8189c RD |
5773 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5774 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5775 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5777 | } |
5eb8189c | 5778 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5779 | if (obj1) { |
5780 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5781 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5782 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5783 | } |
5784 | arg2 = static_cast< bool >(val2); | |
5785 | } | |
5786 | { | |
5787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5788 | { | |
5eb8189c RD |
5789 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5790 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5791 | } |
5792 | wxPyEndAllowThreads(__tstate); | |
5793 | if (PyErr_Occurred()) SWIG_fail; | |
5794 | } | |
5795 | { | |
5796 | resultobj = obj0; Py_INCREF(resultobj); | |
5797 | } | |
5798 | return resultobj; | |
5799 | fail: | |
5800 | return NULL; | |
5801 | } | |
5802 | ||
5803 | ||
5eb8189c | 5804 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SaveHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5805 | PyObject *resultobj = 0; |
5eb8189c RD |
5806 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5807 | wxAuiPaneInfo *result = 0 ; | |
5808 | void *argp1 = 0 ; | |
5809 | int res1 = 0 ; | |
5810 | PyObject *swig_obj[1] ; | |
5811 | ||
5812 | if (!args) SWIG_fail; | |
5813 | swig_obj[0] = args; | |
5814 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5815 | if (!SWIG_IsOK(res1)) { | |
5816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SaveHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5817 | } | |
5818 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5819 | { | |
5820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5821 | { | |
5822 | wxAuiPaneInfo &_result_ref = (arg1)->SaveHidden(); | |
5823 | result = (wxAuiPaneInfo *) &_result_ref; | |
5824 | } | |
5825 | wxPyEndAllowThreads(__tstate); | |
5826 | if (PyErr_Occurred()) SWIG_fail; | |
5827 | } | |
5828 | { | |
5829 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5830 | } | |
5831 | return resultobj; | |
5832 | fail: | |
5833 | return NULL; | |
5834 | } | |
5835 | ||
5836 | ||
5837 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RestoreHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5838 | PyObject *resultobj = 0; | |
5839 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5840 | wxAuiPaneInfo *result = 0 ; | |
5841 | void *argp1 = 0 ; | |
5842 | int res1 = 0 ; | |
5843 | PyObject *swig_obj[1] ; | |
5844 | ||
5845 | if (!args) SWIG_fail; | |
5846 | swig_obj[0] = args; | |
5847 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5848 | if (!SWIG_IsOK(res1)) { | |
5849 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RestoreHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5850 | } | |
5851 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5852 | { | |
5853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5854 | { | |
5855 | wxAuiPaneInfo &_result_ref = (arg1)->RestoreHidden(); | |
5856 | result = (wxAuiPaneInfo *) &_result_ref; | |
5857 | } | |
5858 | wxPyEndAllowThreads(__tstate); | |
5859 | if (PyErr_Occurred()) SWIG_fail; | |
5860 | } | |
5861 | { | |
5862 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5863 | } | |
5864 | return resultobj; | |
5865 | fail: | |
5866 | return NULL; | |
5867 | } | |
5868 | ||
5869 | ||
5870 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5871 | PyObject *resultobj = 0; | |
5872 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5873 | bool arg2 = (bool) true ; |
5eb8189c | 5874 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5875 | void *argp1 = 0 ; |
5876 | int res1 = 0 ; | |
5877 | bool val2 ; | |
5878 | int ecode2 = 0 ; | |
5879 | PyObject * obj0 = 0 ; | |
5880 | PyObject * obj1 = 0 ; | |
5881 | char * kwnames[] = { | |
5882 | (char *) "self",(char *) "b", NULL | |
5883 | }; | |
5884 | ||
5eb8189c RD |
5885 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5886 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5887 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5888 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5889 | } |
5eb8189c | 5890 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5891 | if (obj1) { |
5892 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5893 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5894 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5895 | } |
5896 | arg2 = static_cast< bool >(val2); | |
5897 | } | |
5898 | { | |
5899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5900 | { | |
5eb8189c RD |
5901 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5902 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5903 | } |
5904 | wxPyEndAllowThreads(__tstate); | |
5905 | if (PyErr_Occurred()) SWIG_fail; | |
5906 | } | |
5907 | { | |
5908 | resultobj = obj0; Py_INCREF(resultobj); | |
5909 | } | |
5910 | return resultobj; | |
5911 | fail: | |
5912 | return NULL; | |
5913 | } | |
5914 | ||
5915 | ||
5eb8189c | 5916 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5917 | PyObject *resultobj = 0; |
5eb8189c RD |
5918 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5919 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5920 | void *argp1 = 0 ; |
5921 | int res1 = 0 ; | |
5922 | PyObject *swig_obj[1] ; | |
5923 | ||
5924 | if (!args) SWIG_fail; | |
5925 | swig_obj[0] = args; | |
5eb8189c | 5926 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5927 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5929 | } |
5eb8189c | 5930 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5931 | { |
5932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5933 | { | |
5eb8189c RD |
5934 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5935 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5936 | } |
5937 | wxPyEndAllowThreads(__tstate); | |
5938 | if (PyErr_Occurred()) SWIG_fail; | |
5939 | } | |
5940 | { | |
5941 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5942 | } | |
5943 | return resultobj; | |
5944 | fail: | |
5945 | return NULL; | |
5946 | } | |
5947 | ||
5948 | ||
5eb8189c | 5949 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5950 | PyObject *resultobj = 0; |
5eb8189c RD |
5951 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5952 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5953 | void *argp1 = 0 ; |
5954 | int res1 = 0 ; | |
5955 | PyObject *swig_obj[1] ; | |
5956 | ||
5957 | if (!args) SWIG_fail; | |
5958 | swig_obj[0] = args; | |
5eb8189c | 5959 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5960 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5961 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5962 | } |
5eb8189c | 5963 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5964 | { |
5965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5966 | { | |
5eb8189c RD |
5967 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5968 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5969 | } |
5970 | wxPyEndAllowThreads(__tstate); | |
5971 | if (PyErr_Occurred()) SWIG_fail; | |
5972 | } | |
5973 | { | |
5974 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5975 | } | |
5976 | return resultobj; | |
5977 | fail: | |
5978 | return NULL; | |
5979 | } | |
5980 | ||
5981 | ||
5eb8189c | 5982 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5983 | PyObject *resultobj = 0; |
5eb8189c RD |
5984 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5985 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5986 | void *argp1 = 0 ; |
5987 | int res1 = 0 ; | |
5988 | PyObject *swig_obj[1] ; | |
5989 | ||
5990 | if (!args) SWIG_fail; | |
5991 | swig_obj[0] = args; | |
5eb8189c | 5992 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5993 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5994 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5995 | } |
5eb8189c | 5996 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5997 | { |
5998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5999 | { | |
5eb8189c RD |
6000 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
6001 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6002 | } |
6003 | wxPyEndAllowThreads(__tstate); | |
6004 | if (PyErr_Occurred()) SWIG_fail; | |
6005 | } | |
6006 | { | |
6007 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6008 | } | |
6009 | return resultobj; | |
6010 | fail: | |
6011 | return NULL; | |
6012 | } | |
6013 | ||
6014 | ||
5eb8189c | 6015 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6016 | PyObject *resultobj = 0; |
5eb8189c RD |
6017 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6018 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6019 | void *argp1 = 0 ; |
6020 | int res1 = 0 ; | |
6021 | PyObject *swig_obj[1] ; | |
6022 | ||
6023 | if (!args) SWIG_fail; | |
6024 | swig_obj[0] = args; | |
5eb8189c | 6025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6026 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6028 | } |
5eb8189c | 6029 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6030 | { |
6031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6032 | { | |
5eb8189c RD |
6033 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6034 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6035 | } |
6036 | wxPyEndAllowThreads(__tstate); | |
6037 | if (PyErr_Occurred()) SWIG_fail; | |
6038 | } | |
6039 | { | |
6040 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6041 | } | |
6042 | return resultobj; | |
6043 | fail: | |
6044 | return NULL; | |
6045 | } | |
6046 | ||
6047 | ||
5eb8189c | 6048 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6049 | PyObject *resultobj = 0; |
5eb8189c | 6050 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6051 | int arg2 ; |
6052 | bool arg3 ; | |
5eb8189c | 6053 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6054 | void *argp1 = 0 ; |
6055 | int res1 = 0 ; | |
6056 | int val2 ; | |
6057 | int ecode2 = 0 ; | |
6058 | bool val3 ; | |
6059 | int ecode3 = 0 ; | |
6060 | PyObject * obj0 = 0 ; | |
6061 | PyObject * obj1 = 0 ; | |
6062 | PyObject * obj2 = 0 ; | |
6063 | char * kwnames[] = { | |
6064 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6065 | }; | |
6066 | ||
5eb8189c RD |
6067 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6068 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6069 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6071 | } |
5eb8189c | 6072 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6073 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6074 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6075 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6076 | } |
6077 | arg2 = static_cast< int >(val2); | |
6078 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6079 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6080 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6081 | } |
6082 | arg3 = static_cast< bool >(val3); | |
6083 | { | |
6084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6085 | { | |
5eb8189c RD |
6086 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6087 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6088 | } |
6089 | wxPyEndAllowThreads(__tstate); | |
6090 | if (PyErr_Occurred()) SWIG_fail; | |
6091 | } | |
6092 | { | |
6093 | resultobj = obj0; Py_INCREF(resultobj); | |
6094 | } | |
6095 | return resultobj; | |
6096 | fail: | |
6097 | return NULL; | |
6098 | } | |
6099 | ||
6100 | ||
5eb8189c | 6101 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6102 | PyObject *resultobj = 0; |
5eb8189c | 6103 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6104 | int arg2 ; |
6105 | bool result; | |
6106 | void *argp1 = 0 ; | |
6107 | int res1 = 0 ; | |
6108 | int val2 ; | |
6109 | int ecode2 = 0 ; | |
6110 | PyObject * obj0 = 0 ; | |
6111 | PyObject * obj1 = 0 ; | |
6112 | char * kwnames[] = { | |
6113 | (char *) "self",(char *) "flag", NULL | |
6114 | }; | |
6115 | ||
5eb8189c RD |
6116 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6117 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6118 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6119 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6120 | } |
5eb8189c | 6121 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6122 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6123 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6124 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6125 | } |
6126 | arg2 = static_cast< int >(val2); | |
6127 | { | |
6128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6129 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6130 | wxPyEndAllowThreads(__tstate); |
6131 | if (PyErr_Occurred()) SWIG_fail; | |
6132 | } | |
6133 | { | |
6134 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6135 | } | |
6136 | return resultobj; | |
6137 | fail: | |
6138 | return NULL; | |
6139 | } | |
6140 | ||
6141 | ||
5eb8189c | 6142 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6143 | PyObject *resultobj = 0; |
5eb8189c | 6144 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6145 | wxString *arg2 = (wxString *) 0 ; |
6146 | void *argp1 = 0 ; | |
6147 | int res1 = 0 ; | |
6148 | bool temp2 = false ; | |
6149 | PyObject *swig_obj[2] ; | |
6150 | ||
5eb8189c RD |
6151 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6152 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6153 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6155 | } |
5eb8189c | 6156 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6157 | { |
6158 | arg2 = wxString_in_helper(swig_obj[1]); | |
6159 | if (arg2 == NULL) SWIG_fail; | |
6160 | temp2 = true; | |
6161 | } | |
6162 | if (arg1) (arg1)->name = *arg2; | |
6163 | ||
6164 | resultobj = SWIG_Py_Void(); | |
6165 | { | |
6166 | if (temp2) | |
6167 | delete arg2; | |
6168 | } | |
6169 | return resultobj; | |
6170 | fail: | |
6171 | { | |
6172 | if (temp2) | |
6173 | delete arg2; | |
6174 | } | |
6175 | return NULL; | |
6176 | } | |
6177 | ||
6178 | ||
5eb8189c | 6179 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6180 | PyObject *resultobj = 0; |
5eb8189c | 6181 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6182 | wxString *result = 0 ; |
6183 | void *argp1 = 0 ; | |
6184 | int res1 = 0 ; | |
6185 | PyObject *swig_obj[1] ; | |
6186 | ||
6187 | if (!args) SWIG_fail; | |
6188 | swig_obj[0] = args; | |
5eb8189c | 6189 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6190 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6192 | } |
5eb8189c | 6193 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6194 | result = (wxString *)& ((arg1)->name); |
6195 | { | |
6196 | #if wxUSE_UNICODE | |
6197 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6198 | #else | |
6199 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6200 | #endif | |
6201 | } | |
6202 | return resultobj; | |
6203 | fail: | |
6204 | return NULL; | |
6205 | } | |
6206 | ||
6207 | ||
5eb8189c | 6208 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6209 | PyObject *resultobj = 0; |
5eb8189c | 6210 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6211 | wxString *arg2 = (wxString *) 0 ; |
6212 | void *argp1 = 0 ; | |
6213 | int res1 = 0 ; | |
6214 | bool temp2 = false ; | |
6215 | PyObject *swig_obj[2] ; | |
6216 | ||
5eb8189c RD |
6217 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6218 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6219 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6221 | } |
5eb8189c | 6222 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6223 | { |
6224 | arg2 = wxString_in_helper(swig_obj[1]); | |
6225 | if (arg2 == NULL) SWIG_fail; | |
6226 | temp2 = true; | |
6227 | } | |
6228 | if (arg1) (arg1)->caption = *arg2; | |
6229 | ||
6230 | resultobj = SWIG_Py_Void(); | |
6231 | { | |
6232 | if (temp2) | |
6233 | delete arg2; | |
6234 | } | |
6235 | return resultobj; | |
6236 | fail: | |
6237 | { | |
6238 | if (temp2) | |
6239 | delete arg2; | |
6240 | } | |
6241 | return NULL; | |
6242 | } | |
6243 | ||
6244 | ||
5eb8189c | 6245 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6246 | PyObject *resultobj = 0; |
5eb8189c | 6247 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6248 | wxString *result = 0 ; |
6249 | void *argp1 = 0 ; | |
6250 | int res1 = 0 ; | |
6251 | PyObject *swig_obj[1] ; | |
6252 | ||
6253 | if (!args) SWIG_fail; | |
6254 | swig_obj[0] = args; | |
5eb8189c | 6255 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6256 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6257 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6258 | } |
5eb8189c | 6259 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6260 | result = (wxString *)& ((arg1)->caption); |
6261 | { | |
6262 | #if wxUSE_UNICODE | |
6263 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6264 | #else | |
6265 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6266 | #endif | |
6267 | } | |
6268 | return resultobj; | |
6269 | fail: | |
6270 | return NULL; | |
6271 | } | |
6272 | ||
6273 | ||
5eb8189c | 6274 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6275 | PyObject *resultobj = 0; |
5eb8189c | 6276 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6277 | wxWindow *arg2 = (wxWindow *) 0 ; |
6278 | void *argp1 = 0 ; | |
6279 | int res1 = 0 ; | |
6280 | void *argp2 = 0 ; | |
6281 | int res2 = 0 ; | |
6282 | PyObject *swig_obj[2] ; | |
6283 | ||
5eb8189c RD |
6284 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6285 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6286 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6287 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6288 | } |
5eb8189c | 6289 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6290 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6291 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6292 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6293 | } |
6294 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6295 | if (arg1) (arg1)->window = arg2; | |
6296 | ||
6297 | resultobj = SWIG_Py_Void(); | |
6298 | return resultobj; | |
6299 | fail: | |
6300 | return NULL; | |
6301 | } | |
6302 | ||
6303 | ||
5eb8189c | 6304 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6305 | PyObject *resultobj = 0; |
5eb8189c | 6306 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6307 | wxWindow *result = 0 ; |
6308 | void *argp1 = 0 ; | |
6309 | int res1 = 0 ; | |
6310 | PyObject *swig_obj[1] ; | |
6311 | ||
6312 | if (!args) SWIG_fail; | |
6313 | swig_obj[0] = args; | |
5eb8189c | 6314 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6315 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6317 | } |
5eb8189c | 6318 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6319 | result = (wxWindow *) ((arg1)->window); |
6320 | { | |
6321 | resultobj = wxPyMake_wxObject(result, 0); | |
6322 | } | |
6323 | return resultobj; | |
6324 | fail: | |
6325 | return NULL; | |
6326 | } | |
6327 | ||
6328 | ||
5eb8189c | 6329 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6330 | PyObject *resultobj = 0; |
5eb8189c | 6331 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6332 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6333 | void *argp1 = 0 ; |
6334 | int res1 = 0 ; | |
6335 | void *argp2 = 0 ; | |
6336 | int res2 = 0 ; | |
6337 | PyObject *swig_obj[2] ; | |
6338 | ||
5eb8189c RD |
6339 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6340 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6341 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6343 | } |
5eb8189c | 6344 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6345 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6346 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6347 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6348 | } |
10044bf1 | 6349 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6350 | if (arg1) (arg1)->frame = arg2; |
6351 | ||
6352 | resultobj = SWIG_Py_Void(); | |
6353 | return resultobj; | |
6354 | fail: | |
6355 | return NULL; | |
6356 | } | |
6357 | ||
6358 | ||
5eb8189c | 6359 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6360 | PyObject *resultobj = 0; |
5eb8189c | 6361 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6362 | wxFrame *result = 0 ; |
27e45892 RD |
6363 | void *argp1 = 0 ; |
6364 | int res1 = 0 ; | |
6365 | PyObject *swig_obj[1] ; | |
6366 | ||
6367 | if (!args) SWIG_fail; | |
6368 | swig_obj[0] = args; | |
5eb8189c | 6369 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6370 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6371 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6372 | } |
5eb8189c | 6373 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6374 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6375 | { |
6376 | resultobj = wxPyMake_wxObject(result, 0); | |
6377 | } | |
6378 | return resultobj; | |
6379 | fail: | |
6380 | return NULL; | |
6381 | } | |
6382 | ||
6383 | ||
5eb8189c | 6384 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6385 | PyObject *resultobj = 0; |
5eb8189c | 6386 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6387 | int arg2 ; |
6388 | void *argp1 = 0 ; | |
6389 | int res1 = 0 ; | |
6390 | int val2 ; | |
6391 | int ecode2 = 0 ; | |
6392 | PyObject *swig_obj[2] ; | |
6393 | ||
5eb8189c RD |
6394 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6395 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6396 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6397 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6398 | } |
5eb8189c | 6399 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6400 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6401 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6402 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6403 | } |
6404 | arg2 = static_cast< int >(val2); | |
6405 | if (arg1) (arg1)->state = arg2; | |
6406 | ||
6407 | resultobj = SWIG_Py_Void(); | |
6408 | return resultobj; | |
6409 | fail: | |
6410 | return NULL; | |
6411 | } | |
6412 | ||
6413 | ||
5eb8189c | 6414 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6415 | PyObject *resultobj = 0; |
5eb8189c | 6416 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6417 | int result; |
6418 | void *argp1 = 0 ; | |
6419 | int res1 = 0 ; | |
6420 | PyObject *swig_obj[1] ; | |
6421 | ||
6422 | if (!args) SWIG_fail; | |
6423 | swig_obj[0] = args; | |
5eb8189c | 6424 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6425 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6427 | } |
5eb8189c | 6428 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6429 | result = (int) ((arg1)->state); |
6430 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6431 | return resultobj; | |
6432 | fail: | |
6433 | return NULL; | |
6434 | } | |
6435 | ||
6436 | ||
5eb8189c | 6437 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6438 | PyObject *resultobj = 0; |
5eb8189c | 6439 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6440 | int arg2 ; |
6441 | void *argp1 = 0 ; | |
6442 | int res1 = 0 ; | |
6443 | int val2 ; | |
6444 | int ecode2 = 0 ; | |
6445 | PyObject *swig_obj[2] ; | |
6446 | ||
5eb8189c RD |
6447 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6448 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6449 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6451 | } |
5eb8189c | 6452 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6453 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6454 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6455 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6456 | } |
6457 | arg2 = static_cast< int >(val2); | |
6458 | if (arg1) (arg1)->dock_direction = arg2; | |
6459 | ||
6460 | resultobj = SWIG_Py_Void(); | |
6461 | return resultobj; | |
6462 | fail: | |
6463 | return NULL; | |
6464 | } | |
6465 | ||
6466 | ||
5eb8189c | 6467 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6468 | PyObject *resultobj = 0; |
5eb8189c | 6469 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6470 | int result; |
6471 | void *argp1 = 0 ; | |
6472 | int res1 = 0 ; | |
6473 | PyObject *swig_obj[1] ; | |
6474 | ||
6475 | if (!args) SWIG_fail; | |
6476 | swig_obj[0] = args; | |
5eb8189c | 6477 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6478 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6479 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6480 | } |
5eb8189c | 6481 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6482 | result = (int) ((arg1)->dock_direction); |
6483 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6484 | return resultobj; | |
6485 | fail: | |
6486 | return NULL; | |
6487 | } | |
6488 | ||
6489 | ||
5eb8189c | 6490 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6491 | PyObject *resultobj = 0; |
5eb8189c | 6492 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6493 | int arg2 ; |
6494 | void *argp1 = 0 ; | |
6495 | int res1 = 0 ; | |
6496 | int val2 ; | |
6497 | int ecode2 = 0 ; | |
6498 | PyObject *swig_obj[2] ; | |
6499 | ||
5eb8189c RD |
6500 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6501 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6502 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6504 | } |
5eb8189c | 6505 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6506 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6507 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6508 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6509 | } |
6510 | arg2 = static_cast< int >(val2); | |
6511 | if (arg1) (arg1)->dock_layer = arg2; | |
6512 | ||
6513 | resultobj = SWIG_Py_Void(); | |
6514 | return resultobj; | |
6515 | fail: | |
6516 | return NULL; | |
6517 | } | |
6518 | ||
6519 | ||
5eb8189c | 6520 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6521 | PyObject *resultobj = 0; |
5eb8189c | 6522 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6523 | int result; |
6524 | void *argp1 = 0 ; | |
6525 | int res1 = 0 ; | |
6526 | PyObject *swig_obj[1] ; | |
6527 | ||
6528 | if (!args) SWIG_fail; | |
6529 | swig_obj[0] = args; | |
5eb8189c | 6530 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6531 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6533 | } |
5eb8189c | 6534 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6535 | result = (int) ((arg1)->dock_layer); |
6536 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6537 | return resultobj; | |
6538 | fail: | |
6539 | return NULL; | |
6540 | } | |
6541 | ||
6542 | ||
5eb8189c | 6543 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6544 | PyObject *resultobj = 0; |
5eb8189c | 6545 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6546 | int arg2 ; |
6547 | void *argp1 = 0 ; | |
6548 | int res1 = 0 ; | |
6549 | int val2 ; | |
6550 | int ecode2 = 0 ; | |
6551 | PyObject *swig_obj[2] ; | |
6552 | ||
5eb8189c RD |
6553 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6554 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6555 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6557 | } |
5eb8189c | 6558 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6559 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6560 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6561 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6562 | } |
6563 | arg2 = static_cast< int >(val2); | |
6564 | if (arg1) (arg1)->dock_row = arg2; | |
6565 | ||
6566 | resultobj = SWIG_Py_Void(); | |
6567 | return resultobj; | |
6568 | fail: | |
6569 | return NULL; | |
6570 | } | |
6571 | ||
6572 | ||
5eb8189c | 6573 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6574 | PyObject *resultobj = 0; |
5eb8189c | 6575 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6576 | int result; |
6577 | void *argp1 = 0 ; | |
6578 | int res1 = 0 ; | |
6579 | PyObject *swig_obj[1] ; | |
6580 | ||
6581 | if (!args) SWIG_fail; | |
6582 | swig_obj[0] = args; | |
5eb8189c | 6583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6584 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6586 | } |
5eb8189c | 6587 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6588 | result = (int) ((arg1)->dock_row); |
6589 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6590 | return resultobj; | |
6591 | fail: | |
6592 | return NULL; | |
6593 | } | |
6594 | ||
6595 | ||
5eb8189c | 6596 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6597 | PyObject *resultobj = 0; |
5eb8189c | 6598 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6599 | int arg2 ; |
6600 | void *argp1 = 0 ; | |
6601 | int res1 = 0 ; | |
6602 | int val2 ; | |
6603 | int ecode2 = 0 ; | |
6604 | PyObject *swig_obj[2] ; | |
6605 | ||
5eb8189c RD |
6606 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6607 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6608 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6610 | } |
5eb8189c | 6611 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6612 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6613 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6614 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6615 | } |
6616 | arg2 = static_cast< int >(val2); | |
6617 | if (arg1) (arg1)->dock_pos = arg2; | |
6618 | ||
6619 | resultobj = SWIG_Py_Void(); | |
6620 | return resultobj; | |
6621 | fail: | |
6622 | return NULL; | |
6623 | } | |
6624 | ||
6625 | ||
5eb8189c | 6626 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6627 | PyObject *resultobj = 0; |
5eb8189c | 6628 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6629 | int result; |
6630 | void *argp1 = 0 ; | |
6631 | int res1 = 0 ; | |
6632 | PyObject *swig_obj[1] ; | |
6633 | ||
6634 | if (!args) SWIG_fail; | |
6635 | swig_obj[0] = args; | |
5eb8189c | 6636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6637 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6639 | } |
5eb8189c | 6640 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6641 | result = (int) ((arg1)->dock_pos); |
6642 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6643 | return resultobj; | |
6644 | fail: | |
6645 | return NULL; | |
6646 | } | |
6647 | ||
6648 | ||
5eb8189c | 6649 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6650 | PyObject *resultobj = 0; |
5eb8189c | 6651 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6652 | wxSize *arg2 = (wxSize *) 0 ; |
6653 | void *argp1 = 0 ; | |
6654 | int res1 = 0 ; | |
6655 | void *argp2 = 0 ; | |
6656 | int res2 = 0 ; | |
6657 | PyObject *swig_obj[2] ; | |
6658 | ||
5eb8189c RD |
6659 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6660 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6661 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6662 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6663 | } |
5eb8189c | 6664 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6665 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6666 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6667 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6668 | } |
6669 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6670 | if (arg1) (arg1)->best_size = *arg2; | |
6671 | ||
6672 | resultobj = SWIG_Py_Void(); | |
6673 | return resultobj; | |
6674 | fail: | |
6675 | return NULL; | |
6676 | } | |
6677 | ||
6678 | ||
5eb8189c | 6679 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6680 | PyObject *resultobj = 0; |
5eb8189c | 6681 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6682 | wxSize *result = 0 ; |
6683 | void *argp1 = 0 ; | |
6684 | int res1 = 0 ; | |
6685 | PyObject *swig_obj[1] ; | |
6686 | ||
6687 | if (!args) SWIG_fail; | |
6688 | swig_obj[0] = args; | |
5eb8189c | 6689 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6690 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6692 | } |
5eb8189c | 6693 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6694 | result = (wxSize *)& ((arg1)->best_size); |
6695 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6696 | return resultobj; | |
6697 | fail: | |
6698 | return NULL; | |
6699 | } | |
6700 | ||
6701 | ||
5eb8189c | 6702 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6703 | PyObject *resultobj = 0; |
5eb8189c | 6704 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6705 | wxSize *arg2 = (wxSize *) 0 ; |
6706 | void *argp1 = 0 ; | |
6707 | int res1 = 0 ; | |
6708 | void *argp2 = 0 ; | |
6709 | int res2 = 0 ; | |
6710 | PyObject *swig_obj[2] ; | |
6711 | ||
5eb8189c RD |
6712 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6713 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6714 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6716 | } |
5eb8189c | 6717 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6718 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6719 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6720 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6721 | } |
6722 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6723 | if (arg1) (arg1)->min_size = *arg2; | |
6724 | ||
6725 | resultobj = SWIG_Py_Void(); | |
6726 | return resultobj; | |
6727 | fail: | |
6728 | return NULL; | |
6729 | } | |
6730 | ||
6731 | ||
5eb8189c | 6732 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6733 | PyObject *resultobj = 0; |
5eb8189c | 6734 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6735 | wxSize *result = 0 ; |
6736 | void *argp1 = 0 ; | |
6737 | int res1 = 0 ; | |
6738 | PyObject *swig_obj[1] ; | |
6739 | ||
6740 | if (!args) SWIG_fail; | |
6741 | swig_obj[0] = args; | |
5eb8189c | 6742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6743 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6745 | } |
5eb8189c | 6746 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6747 | result = (wxSize *)& ((arg1)->min_size); |
6748 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6749 | return resultobj; | |
6750 | fail: | |
6751 | return NULL; | |
6752 | } | |
6753 | ||
6754 | ||
5eb8189c | 6755 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6756 | PyObject *resultobj = 0; |
5eb8189c | 6757 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6758 | wxSize *arg2 = (wxSize *) 0 ; |
6759 | void *argp1 = 0 ; | |
6760 | int res1 = 0 ; | |
6761 | void *argp2 = 0 ; | |
6762 | int res2 = 0 ; | |
6763 | PyObject *swig_obj[2] ; | |
6764 | ||
5eb8189c RD |
6765 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6766 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6767 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6769 | } |
5eb8189c | 6770 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6771 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6772 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6773 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6774 | } |
6775 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6776 | if (arg1) (arg1)->max_size = *arg2; | |
6777 | ||
6778 | resultobj = SWIG_Py_Void(); | |
6779 | return resultobj; | |
6780 | fail: | |
6781 | return NULL; | |
6782 | } | |
6783 | ||
6784 | ||
5eb8189c | 6785 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6786 | PyObject *resultobj = 0; |
5eb8189c | 6787 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6788 | wxSize *result = 0 ; |
6789 | void *argp1 = 0 ; | |
6790 | int res1 = 0 ; | |
6791 | PyObject *swig_obj[1] ; | |
6792 | ||
6793 | if (!args) SWIG_fail; | |
6794 | swig_obj[0] = args; | |
5eb8189c | 6795 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6796 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6798 | } |
5eb8189c | 6799 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6800 | result = (wxSize *)& ((arg1)->max_size); |
6801 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6802 | return resultobj; | |
6803 | fail: | |
6804 | return NULL; | |
6805 | } | |
6806 | ||
6807 | ||
5eb8189c | 6808 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6809 | PyObject *resultobj = 0; |
5eb8189c | 6810 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6811 | wxPoint *arg2 = (wxPoint *) 0 ; |
6812 | void *argp1 = 0 ; | |
6813 | int res1 = 0 ; | |
6814 | void *argp2 = 0 ; | |
6815 | int res2 = 0 ; | |
6816 | PyObject *swig_obj[2] ; | |
6817 | ||
5eb8189c RD |
6818 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6819 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6820 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6822 | } |
5eb8189c | 6823 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6824 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6825 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6826 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6827 | } |
6828 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6829 | if (arg1) (arg1)->floating_pos = *arg2; | |
6830 | ||
6831 | resultobj = SWIG_Py_Void(); | |
6832 | return resultobj; | |
6833 | fail: | |
6834 | return NULL; | |
6835 | } | |
6836 | ||
6837 | ||
5eb8189c | 6838 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6839 | PyObject *resultobj = 0; |
5eb8189c | 6840 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6841 | wxPoint *result = 0 ; |
6842 | void *argp1 = 0 ; | |
6843 | int res1 = 0 ; | |
6844 | PyObject *swig_obj[1] ; | |
6845 | ||
6846 | if (!args) SWIG_fail; | |
6847 | swig_obj[0] = args; | |
5eb8189c | 6848 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6849 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6850 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6851 | } |
5eb8189c | 6852 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6853 | result = (wxPoint *)& ((arg1)->floating_pos); |
6854 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6855 | return resultobj; | |
6856 | fail: | |
6857 | return NULL; | |
6858 | } | |
6859 | ||
6860 | ||
5eb8189c | 6861 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6862 | PyObject *resultobj = 0; |
5eb8189c | 6863 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6864 | wxSize *arg2 = (wxSize *) 0 ; |
6865 | void *argp1 = 0 ; | |
6866 | int res1 = 0 ; | |
6867 | void *argp2 = 0 ; | |
6868 | int res2 = 0 ; | |
6869 | PyObject *swig_obj[2] ; | |
6870 | ||
5eb8189c RD |
6871 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6872 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6873 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6875 | } |
5eb8189c | 6876 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6877 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6878 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6879 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6880 | } |
6881 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6882 | if (arg1) (arg1)->floating_size = *arg2; | |
6883 | ||
6884 | resultobj = SWIG_Py_Void(); | |
6885 | return resultobj; | |
6886 | fail: | |
6887 | return NULL; | |
6888 | } | |
6889 | ||
6890 | ||
5eb8189c | 6891 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6892 | PyObject *resultobj = 0; |
5eb8189c | 6893 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6894 | wxSize *result = 0 ; |
6895 | void *argp1 = 0 ; | |
6896 | int res1 = 0 ; | |
6897 | PyObject *swig_obj[1] ; | |
6898 | ||
6899 | if (!args) SWIG_fail; | |
6900 | swig_obj[0] = args; | |
5eb8189c | 6901 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6902 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6903 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6904 | } |
5eb8189c | 6905 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6906 | result = (wxSize *)& ((arg1)->floating_size); |
6907 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6908 | return resultobj; | |
6909 | fail: | |
6910 | return NULL; | |
6911 | } | |
6912 | ||
6913 | ||
5eb8189c | 6914 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6915 | PyObject *resultobj = 0; |
5eb8189c | 6916 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6917 | int arg2 ; |
6918 | void *argp1 = 0 ; | |
6919 | int res1 = 0 ; | |
6920 | int val2 ; | |
6921 | int ecode2 = 0 ; | |
6922 | PyObject *swig_obj[2] ; | |
6923 | ||
5eb8189c RD |
6924 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6925 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6926 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6927 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6928 | } |
5eb8189c | 6929 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6930 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6931 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6932 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6933 | } |
6934 | arg2 = static_cast< int >(val2); | |
6935 | if (arg1) (arg1)->dock_proportion = arg2; | |
6936 | ||
6937 | resultobj = SWIG_Py_Void(); | |
6938 | return resultobj; | |
6939 | fail: | |
6940 | return NULL; | |
6941 | } | |
6942 | ||
6943 | ||
5eb8189c | 6944 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6945 | PyObject *resultobj = 0; |
5eb8189c | 6946 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6947 | int result; |
6948 | void *argp1 = 0 ; | |
6949 | int res1 = 0 ; | |
6950 | PyObject *swig_obj[1] ; | |
6951 | ||
6952 | if (!args) SWIG_fail; | |
6953 | swig_obj[0] = args; | |
5eb8189c | 6954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6955 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6957 | } |
5eb8189c | 6958 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6959 | result = (int) ((arg1)->dock_proportion); |
6960 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6961 | return resultobj; | |
6962 | fail: | |
6963 | return NULL; | |
6964 | } | |
6965 | ||
6966 | ||
5eb8189c | 6967 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6968 | PyObject *resultobj = 0; |
5eb8189c RD |
6969 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6970 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6971 | void *argp1 = 0 ; |
6972 | int res1 = 0 ; | |
6973 | void *argp2 ; | |
6974 | int res2 = 0 ; | |
6975 | PyObject *swig_obj[2] ; | |
6976 | ||
5eb8189c RD |
6977 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6978 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6979 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6980 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6981 | } |
5eb8189c | 6982 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6983 | { |
5eb8189c | 6984 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6985 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6986 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6987 | } |
6988 | if (!argp2) { | |
5eb8189c | 6989 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6990 | } else { |
5eb8189c | 6991 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6992 | arg2 = *temp; |
6993 | if (SWIG_IsNewObj(res2)) delete temp; | |
6994 | } | |
6995 | } | |
6996 | if (arg1) (arg1)->buttons = arg2; | |
6997 | ||
6998 | resultobj = SWIG_Py_Void(); | |
6999 | return resultobj; | |
7000 | fail: | |
7001 | return NULL; | |
7002 | } | |
7003 | ||
7004 | ||
5eb8189c | 7005 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7006 | PyObject *resultobj = 0; |
5eb8189c RD |
7007 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
7008 | wxAuiPaneButtonArray result; | |
27e45892 RD |
7009 | void *argp1 = 0 ; |
7010 | int res1 = 0 ; | |
7011 | PyObject *swig_obj[1] ; | |
7012 | ||
7013 | if (!args) SWIG_fail; | |
7014 | swig_obj[0] = args; | |
5eb8189c | 7015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7016 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7018 | } |
5eb8189c | 7019 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7020 | result = ((arg1)->buttons); |
5eb8189c | 7021 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7022 | return resultobj; |
7023 | fail: | |
7024 | return NULL; | |
7025 | } | |
7026 | ||
7027 | ||
5eb8189c | 7028 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7029 | PyObject *resultobj = 0; |
5eb8189c | 7030 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7031 | wxRect *arg2 = (wxRect *) 0 ; |
7032 | void *argp1 = 0 ; | |
7033 | int res1 = 0 ; | |
7034 | void *argp2 = 0 ; | |
7035 | int res2 = 0 ; | |
7036 | PyObject *swig_obj[2] ; | |
7037 | ||
5eb8189c RD |
7038 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7039 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7040 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7042 | } |
5eb8189c | 7043 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7044 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7045 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7046 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7047 | } |
7048 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7049 | if (arg1) (arg1)->rect = *arg2; | |
7050 | ||
7051 | resultobj = SWIG_Py_Void(); | |
7052 | return resultobj; | |
7053 | fail: | |
7054 | return NULL; | |
7055 | } | |
7056 | ||
7057 | ||
5eb8189c | 7058 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7059 | PyObject *resultobj = 0; |
5eb8189c | 7060 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7061 | wxRect *result = 0 ; |
7062 | void *argp1 = 0 ; | |
7063 | int res1 = 0 ; | |
7064 | PyObject *swig_obj[1] ; | |
7065 | ||
7066 | if (!args) SWIG_fail; | |
7067 | swig_obj[0] = args; | |
5eb8189c | 7068 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7069 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7071 | } |
5eb8189c | 7072 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7073 | result = (wxRect *)& ((arg1)->rect); |
7074 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7075 | return resultobj; | |
7076 | fail: | |
7077 | return NULL; | |
7078 | } | |
7079 | ||
7080 | ||
5eb8189c | 7081 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7082 | PyObject *obj; |
7083 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7084 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7085 | return SWIG_Py_Void(); |
7086 | } | |
7087 | ||
5eb8189c | 7088 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7089 | return SWIG_Python_InitShadowInstance(args); |
7090 | } | |
7091 | ||
5eb8189c | 7092 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7093 | PyObject *resultobj = 0; |
10044bf1 | 7094 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7095 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7096 | wxAuiManager *result = 0 ; |
27e45892 RD |
7097 | void *argp1 = 0 ; |
7098 | int res1 = 0 ; | |
7099 | int val2 ; | |
7100 | int ecode2 = 0 ; | |
7101 | PyObject * obj0 = 0 ; | |
7102 | PyObject * obj1 = 0 ; | |
7103 | char * kwnames[] = { | |
10044bf1 | 7104 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7105 | }; |
7106 | ||
5eb8189c | 7107 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7108 | if (obj0) { |
10044bf1 | 7109 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7110 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7111 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7112 | } |
10044bf1 | 7113 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7114 | } |
7115 | if (obj1) { | |
7116 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7117 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7118 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7119 | } |
7120 | arg2 = static_cast< int >(val2); | |
7121 | } | |
7122 | { | |
7123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7124 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7125 | wxPyEndAllowThreads(__tstate); |
7126 | if (PyErr_Occurred()) SWIG_fail; | |
7127 | } | |
5eb8189c | 7128 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7129 | return resultobj; |
7130 | fail: | |
7131 | return NULL; | |
7132 | } | |
7133 | ||
7134 | ||
5eb8189c | 7135 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7136 | PyObject *resultobj = 0; |
5eb8189c | 7137 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7138 | void *argp1 = 0 ; |
7139 | int res1 = 0 ; | |
7140 | PyObject *swig_obj[1] ; | |
7141 | ||
7142 | if (!args) SWIG_fail; | |
7143 | swig_obj[0] = args; | |
5eb8189c | 7144 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7145 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7147 | } |
5eb8189c | 7148 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7149 | { |
7150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7151 | delete arg1; | |
7152 | ||
7153 | wxPyEndAllowThreads(__tstate); | |
7154 | if (PyErr_Occurred()) SWIG_fail; | |
7155 | } | |
7156 | resultobj = SWIG_Py_Void(); | |
7157 | return resultobj; | |
7158 | fail: | |
7159 | return NULL; | |
7160 | } | |
7161 | ||
7162 | ||
5eb8189c | 7163 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7164 | PyObject *resultobj = 0; |
5eb8189c | 7165 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7166 | void *argp1 = 0 ; |
7167 | int res1 = 0 ; | |
7168 | PyObject *swig_obj[1] ; | |
7169 | ||
7170 | if (!args) SWIG_fail; | |
7171 | swig_obj[0] = args; | |
5eb8189c | 7172 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7173 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7174 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7175 | } |
5eb8189c | 7176 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7177 | { |
7178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7179 | (arg1)->UnInit(); | |
7180 | wxPyEndAllowThreads(__tstate); | |
7181 | if (PyErr_Occurred()) SWIG_fail; | |
7182 | } | |
7183 | resultobj = SWIG_Py_Void(); | |
7184 | return resultobj; | |
7185 | fail: | |
7186 | return NULL; | |
7187 | } | |
7188 | ||
7189 | ||
5eb8189c | 7190 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7191 | PyObject *resultobj = 0; |
5eb8189c | 7192 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7193 | int arg2 ; |
7194 | void *argp1 = 0 ; | |
7195 | int res1 = 0 ; | |
7196 | int val2 ; | |
7197 | int ecode2 = 0 ; | |
7198 | PyObject * obj0 = 0 ; | |
7199 | PyObject * obj1 = 0 ; | |
7200 | char * kwnames[] = { | |
7201 | (char *) "self",(char *) "flags", NULL | |
7202 | }; | |
7203 | ||
5eb8189c RD |
7204 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7205 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7206 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7208 | } |
5eb8189c | 7209 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7210 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7211 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7212 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7213 | } |
7214 | arg2 = static_cast< int >(val2); | |
7215 | { | |
7216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7217 | (arg1)->SetFlags(arg2); | |
7218 | wxPyEndAllowThreads(__tstate); | |
7219 | if (PyErr_Occurred()) SWIG_fail; | |
7220 | } | |
7221 | resultobj = SWIG_Py_Void(); | |
7222 | return resultobj; | |
7223 | fail: | |
7224 | return NULL; | |
7225 | } | |
7226 | ||
7227 | ||
5eb8189c | 7228 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7229 | PyObject *resultobj = 0; |
5eb8189c | 7230 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7231 | int result; |
7232 | void *argp1 = 0 ; | |
7233 | int res1 = 0 ; | |
7234 | PyObject *swig_obj[1] ; | |
7235 | ||
7236 | if (!args) SWIG_fail; | |
7237 | swig_obj[0] = args; | |
5eb8189c | 7238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7239 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7241 | } |
5eb8189c | 7242 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7243 | { |
7244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7245 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7246 | wxPyEndAllowThreads(__tstate); |
7247 | if (PyErr_Occurred()) SWIG_fail; | |
7248 | } | |
7249 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7250 | return resultobj; | |
7251 | fail: | |
7252 | return NULL; | |
7253 | } | |
7254 | ||
7255 | ||
5eb8189c | 7256 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7257 | PyObject *resultobj = 0; |
5eb8189c | 7258 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7259 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7260 | void *argp1 = 0 ; |
7261 | int res1 = 0 ; | |
7262 | void *argp2 = 0 ; | |
7263 | int res2 = 0 ; | |
7264 | PyObject * obj0 = 0 ; | |
7265 | PyObject * obj1 = 0 ; | |
7266 | char * kwnames[] = { | |
10044bf1 | 7267 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7268 | }; |
7269 | ||
5eb8189c RD |
7270 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7271 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7272 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7274 | } |
5eb8189c | 7275 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7276 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7277 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7278 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7279 | } |
1d5ee749 | 7280 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7281 | { |
7282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7283 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7284 | wxPyEndAllowThreads(__tstate); |
7285 | if (PyErr_Occurred()) SWIG_fail; | |
7286 | } | |
7287 | resultobj = SWIG_Py_Void(); | |
7288 | return resultobj; | |
7289 | fail: | |
7290 | return NULL; | |
7291 | } | |
7292 | ||
7293 | ||
5eb8189c | 7294 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7295 | PyObject *resultobj = 0; |
5eb8189c | 7296 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7297 | wxWindow *result = 0 ; |
27e45892 RD |
7298 | void *argp1 = 0 ; |
7299 | int res1 = 0 ; | |
7300 | PyObject *swig_obj[1] ; | |
7301 | ||
7302 | if (!args) SWIG_fail; | |
7303 | swig_obj[0] = args; | |
5eb8189c | 7304 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7305 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7307 | } |
5eb8189c | 7308 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7309 | { |
7310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7311 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7312 | wxPyEndAllowThreads(__tstate); |
7313 | if (PyErr_Occurred()) SWIG_fail; | |
7314 | } | |
7315 | { | |
7316 | resultobj = wxPyMake_wxObject(result, 0); | |
7317 | } | |
7318 | return resultobj; | |
7319 | fail: | |
7320 | return NULL; | |
7321 | } | |
7322 | ||
7323 | ||
5eb8189c | 7324 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7325 | PyObject *resultobj = 0; |
5eb8189c RD |
7326 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7327 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7328 | void *argp1 = 0 ; |
7329 | int res1 = 0 ; | |
7330 | int res2 = 0 ; | |
7331 | PyObject * obj0 = 0 ; | |
7332 | PyObject * obj1 = 0 ; | |
7333 | char * kwnames[] = { | |
7334 | (char *) "self",(char *) "art_provider", NULL | |
7335 | }; | |
7336 | ||
5eb8189c RD |
7337 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7338 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7339 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7340 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7341 | } |
5eb8189c RD |
7342 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7343 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7344 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7345 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7346 | } |
7347 | { | |
7348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7349 | (arg1)->SetArtProvider(arg2); | |
7350 | wxPyEndAllowThreads(__tstate); | |
7351 | if (PyErr_Occurred()) SWIG_fail; | |
7352 | } | |
7353 | resultobj = SWIG_Py_Void(); | |
7354 | return resultobj; | |
7355 | fail: | |
7356 | return NULL; | |
7357 | } | |
7358 | ||
7359 | ||
5eb8189c | 7360 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7361 | PyObject *resultobj = 0; |
5eb8189c RD |
7362 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7363 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7364 | void *argp1 = 0 ; |
7365 | int res1 = 0 ; | |
7366 | PyObject *swig_obj[1] ; | |
7367 | ||
7368 | if (!args) SWIG_fail; | |
7369 | swig_obj[0] = args; | |
5eb8189c | 7370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7371 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7373 | } |
5eb8189c | 7374 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7375 | { |
7376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7377 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7378 | wxPyEndAllowThreads(__tstate); |
7379 | if (PyErr_Occurred()) SWIG_fail; | |
7380 | } | |
5eb8189c | 7381 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7382 | return resultobj; |
7383 | fail: | |
7384 | return NULL; | |
7385 | } | |
7386 | ||
7387 | ||
5eb8189c | 7388 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7389 | PyObject *resultobj = 0; |
5eb8189c | 7390 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7391 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7392 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7393 | void *argp1 = 0 ; |
7394 | int res1 = 0 ; | |
7395 | void *argp2 = 0 ; | |
7396 | int res2 = 0 ; | |
7397 | PyObject * obj0 = 0 ; | |
7398 | PyObject * obj1 = 0 ; | |
7399 | char * kwnames[] = { | |
7400 | (char *) "self",(char *) "window", NULL | |
7401 | }; | |
7402 | ||
5eb8189c RD |
7403 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7404 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7405 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7407 | } |
5eb8189c | 7408 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7409 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7410 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7411 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7412 | } |
7413 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7414 | { | |
7415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7416 | { | |
5eb8189c RD |
7417 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7418 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7419 | } |
7420 | wxPyEndAllowThreads(__tstate); | |
7421 | if (PyErr_Occurred()) SWIG_fail; | |
7422 | } | |
5eb8189c | 7423 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7424 | return resultobj; |
7425 | fail: | |
7426 | return NULL; | |
7427 | } | |
7428 | ||
7429 | ||
5eb8189c | 7430 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7431 | PyObject *resultobj = 0; |
5eb8189c | 7432 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7433 | wxString *arg2 = 0 ; |
5eb8189c | 7434 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7435 | void *argp1 = 0 ; |
7436 | int res1 = 0 ; | |
7437 | bool temp2 = false ; | |
7438 | PyObject * obj0 = 0 ; | |
7439 | PyObject * obj1 = 0 ; | |
7440 | char * kwnames[] = { | |
7441 | (char *) "self",(char *) "name", NULL | |
7442 | }; | |
7443 | ||
5eb8189c RD |
7444 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7445 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7446 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7447 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7448 | } |
5eb8189c | 7449 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7450 | { |
7451 | arg2 = wxString_in_helper(obj1); | |
7452 | if (arg2 == NULL) SWIG_fail; | |
7453 | temp2 = true; | |
7454 | } | |
7455 | { | |
7456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7457 | { | |
5eb8189c RD |
7458 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7459 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7460 | } |
7461 | wxPyEndAllowThreads(__tstate); | |
7462 | if (PyErr_Occurred()) SWIG_fail; | |
7463 | } | |
5eb8189c | 7464 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7465 | { |
7466 | if (temp2) | |
7467 | delete arg2; | |
7468 | } | |
7469 | return resultobj; | |
7470 | fail: | |
7471 | { | |
7472 | if (temp2) | |
7473 | delete arg2; | |
7474 | } | |
7475 | return NULL; | |
7476 | } | |
7477 | ||
7478 | ||
5eb8189c | 7479 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7480 | PyObject *resultobj = 0; |
5eb8189c RD |
7481 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7482 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7483 | void *argp1 = 0 ; |
7484 | int res1 = 0 ; | |
7485 | PyObject *swig_obj[1] ; | |
7486 | ||
7487 | if (!args) SWIG_fail; | |
7488 | swig_obj[0] = args; | |
5eb8189c | 7489 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7490 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7491 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7492 | } |
5eb8189c | 7493 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7494 | { |
7495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7496 | { | |
5eb8189c RD |
7497 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7498 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7499 | } |
7500 | wxPyEndAllowThreads(__tstate); | |
7501 | if (PyErr_Occurred()) SWIG_fail; | |
7502 | } | |
7503 | { | |
7504 | resultobj = PyList_New(0); | |
7505 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7506 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7507 | PyList_Append(resultobj, pane_obj); |
7508 | } | |
7509 | } | |
7510 | return resultobj; | |
7511 | fail: | |
7512 | return NULL; | |
7513 | } | |
7514 | ||
7515 | ||
36cb9ebe | 7516 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7517 | PyObject *resultobj = 0; |
5eb8189c | 7518 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7519 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7520 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7521 | bool result; |
7522 | void *argp1 = 0 ; | |
7523 | int res1 = 0 ; | |
7524 | void *argp2 = 0 ; | |
7525 | int res2 = 0 ; | |
7526 | void *argp3 = 0 ; | |
7527 | int res3 = 0 ; | |
36cb9ebe RD |
7528 | PyObject * obj0 = 0 ; |
7529 | PyObject * obj1 = 0 ; | |
7530 | PyObject * obj2 = 0 ; | |
7531 | char * kwnames[] = { | |
7532 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7533 | }; | |
27e45892 | 7534 | |
36cb9ebe RD |
7535 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7536 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7537 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7538 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7539 | } |
5eb8189c | 7540 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7541 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7542 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7543 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7544 | } |
7545 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7546 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7547 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7548 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7549 | } |
7550 | if (!argp3) { | |
36cb9ebe | 7551 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7552 | } |
5eb8189c | 7553 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7554 | { |
7555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7556 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7557 | wxPyEndAllowThreads(__tstate); |
7558 | if (PyErr_Occurred()) SWIG_fail; | |
7559 | } | |
7560 | { | |
7561 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7562 | } | |
7563 | return resultobj; | |
7564 | fail: | |
7565 | return NULL; | |
7566 | } | |
7567 | ||
7568 | ||
36cb9ebe | 7569 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7570 | PyObject *resultobj = 0; |
5eb8189c | 7571 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7572 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7573 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7574 | wxPoint *arg4 = 0 ; |
7575 | bool result; | |
7576 | void *argp1 = 0 ; | |
7577 | int res1 = 0 ; | |
7578 | void *argp2 = 0 ; | |
7579 | int res2 = 0 ; | |
7580 | void *argp3 = 0 ; | |
7581 | int res3 = 0 ; | |
7582 | wxPoint temp4 ; | |
36cb9ebe RD |
7583 | PyObject * obj0 = 0 ; |
7584 | PyObject * obj1 = 0 ; | |
7585 | PyObject * obj2 = 0 ; | |
7586 | PyObject * obj3 = 0 ; | |
7587 | char * kwnames[] = { | |
7588 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7589 | }; | |
10044bf1 | 7590 | |
36cb9ebe RD |
7591 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7592 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7593 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7594 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7595 | } |
5eb8189c | 7596 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7597 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7598 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7599 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7600 | } |
7601 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7602 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7603 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7604 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7605 | } |
7606 | if (!argp3) { | |
5eb8189c | 7607 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7608 | } |
5eb8189c | 7609 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7610 | { |
7611 | arg4 = &temp4; | |
36cb9ebe | 7612 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7613 | } |
7614 | { | |
7615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7616 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7617 | wxPyEndAllowThreads(__tstate); |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | } | |
7620 | { | |
7621 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7622 | } | |
7623 | return resultobj; | |
7624 | fail: | |
7625 | return NULL; | |
7626 | } | |
7627 | ||
7628 | ||
5eb8189c | 7629 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7630 | PyObject *resultobj = 0; |
5eb8189c | 7631 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7632 | wxWindow *arg2 = (wxWindow *) 0 ; |
7633 | int arg3 = (int) wxLEFT ; | |
7634 | wxString const &arg4_defvalue = wxEmptyString ; | |
7635 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7636 | bool result; | |
7637 | void *argp1 = 0 ; | |
7638 | int res1 = 0 ; | |
7639 | void *argp2 = 0 ; | |
7640 | int res2 = 0 ; | |
7641 | int val3 ; | |
7642 | int ecode3 = 0 ; | |
7643 | bool temp4 = false ; | |
7644 | PyObject * obj0 = 0 ; | |
7645 | PyObject * obj1 = 0 ; | |
7646 | PyObject * obj2 = 0 ; | |
7647 | PyObject * obj3 = 0 ; | |
7648 | char * kwnames[] = { | |
7649 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7650 | }; | |
7651 | ||
5eb8189c RD |
7652 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7653 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7654 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7656 | } |
5eb8189c | 7657 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7658 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7659 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7660 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7661 | } |
7662 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7663 | if (obj2) { | |
7664 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7665 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7666 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7667 | } |
7668 | arg3 = static_cast< int >(val3); | |
7669 | } | |
7670 | if (obj3) { | |
7671 | { | |
7672 | arg4 = wxString_in_helper(obj3); | |
7673 | if (arg4 == NULL) SWIG_fail; | |
7674 | temp4 = true; | |
7675 | } | |
7676 | } | |
7677 | { | |
7678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7679 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7680 | wxPyEndAllowThreads(__tstate); | |
7681 | if (PyErr_Occurred()) SWIG_fail; | |
7682 | } | |
7683 | { | |
7684 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7685 | } | |
7686 | { | |
7687 | if (temp4) | |
7688 | delete arg4; | |
7689 | } | |
7690 | return resultobj; | |
7691 | fail: | |
7692 | { | |
7693 | if (temp4) | |
7694 | delete arg4; | |
7695 | } | |
7696 | return NULL; | |
7697 | } | |
7698 | ||
7699 | ||
5eb8189c | 7700 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7701 | PyObject *resultobj = 0; |
5eb8189c | 7702 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7703 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7704 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7705 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7706 | bool result; | |
7707 | void *argp1 = 0 ; | |
7708 | int res1 = 0 ; | |
7709 | void *argp2 = 0 ; | |
7710 | int res2 = 0 ; | |
7711 | void *argp3 = 0 ; | |
7712 | int res3 = 0 ; | |
7713 | int val4 ; | |
7714 | int ecode4 = 0 ; | |
7715 | PyObject * obj0 = 0 ; | |
7716 | PyObject * obj1 = 0 ; | |
7717 | PyObject * obj2 = 0 ; | |
7718 | PyObject * obj3 = 0 ; | |
7719 | char * kwnames[] = { | |
7720 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7721 | }; | |
7722 | ||
5eb8189c RD |
7723 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7724 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7725 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7727 | } |
5eb8189c | 7728 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7729 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7730 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7731 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7732 | } |
7733 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7734 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7735 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7736 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7737 | } |
7738 | if (!argp3) { | |
5eb8189c | 7739 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7740 | } |
5eb8189c | 7741 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7742 | if (obj3) { |
7743 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7744 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7745 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7746 | } |
7747 | arg4 = static_cast< int >(val4); | |
7748 | } | |
7749 | { | |
7750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7751 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7752 | wxPyEndAllowThreads(__tstate); |
7753 | if (PyErr_Occurred()) SWIG_fail; | |
7754 | } | |
7755 | { | |
7756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7757 | } | |
7758 | return resultobj; | |
7759 | fail: | |
7760 | return NULL; | |
7761 | } | |
7762 | ||
7763 | ||
5eb8189c | 7764 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7765 | PyObject *resultobj = 0; |
5eb8189c | 7766 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7767 | wxWindow *arg2 = (wxWindow *) 0 ; |
7768 | bool result; | |
7769 | void *argp1 = 0 ; | |
7770 | int res1 = 0 ; | |
7771 | void *argp2 = 0 ; | |
7772 | int res2 = 0 ; | |
7773 | PyObject * obj0 = 0 ; | |
7774 | PyObject * obj1 = 0 ; | |
7775 | char * kwnames[] = { | |
7776 | (char *) "self",(char *) "window", NULL | |
7777 | }; | |
7778 | ||
5eb8189c RD |
7779 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7780 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7781 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7782 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7783 | } |
5eb8189c | 7784 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7785 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7786 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7787 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7788 | } |
7789 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7790 | { | |
7791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7792 | result = (bool)(arg1)->DetachPane(arg2); | |
7793 | wxPyEndAllowThreads(__tstate); | |
7794 | if (PyErr_Occurred()) SWIG_fail; | |
7795 | } | |
7796 | { | |
7797 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7798 | } | |
7799 | return resultobj; | |
7800 | fail: | |
7801 | return NULL; | |
7802 | } | |
7803 | ||
7804 | ||
5eb8189c | 7805 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 7806 | PyObject *resultobj = 0; |
5eb8189c RD |
7807 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7808 | wxAuiPaneInfo *arg2 = 0 ; | |
9b940138 RD |
7809 | void *argp1 = 0 ; |
7810 | int res1 = 0 ; | |
7811 | void *argp2 = 0 ; | |
7812 | int res2 = 0 ; | |
7813 | PyObject * obj0 = 0 ; | |
7814 | PyObject * obj1 = 0 ; | |
7815 | char * kwnames[] = { | |
7816 | (char *) "self",(char *) "pane_info", NULL | |
7817 | }; | |
7818 | ||
5eb8189c RD |
7819 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; |
7820 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 7821 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 7823 | } |
5eb8189c RD |
7824 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7825 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
9b940138 | 7826 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7827 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
9b940138 RD |
7828 | } |
7829 | if (!argp2) { | |
5eb8189c | 7830 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
9b940138 | 7831 | } |
5eb8189c | 7832 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
9b940138 RD |
7833 | { |
7834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7835 | (arg1)->ClosePane(*arg2); | |
7836 | wxPyEndAllowThreads(__tstate); | |
7837 | if (PyErr_Occurred()) SWIG_fail; | |
7838 | } | |
7839 | resultobj = SWIG_Py_Void(); | |
7840 | return resultobj; | |
7841 | fail: | |
7842 | return NULL; | |
7843 | } | |
7844 | ||
7845 | ||
5eb8189c | 7846 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 7847 | PyObject *resultobj = 0; |
5eb8189c RD |
7848 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7849 | wxAuiPaneInfo *arg2 = 0 ; | |
7850 | void *argp1 = 0 ; | |
7851 | int res1 = 0 ; | |
7852 | void *argp2 = 0 ; | |
7853 | int res2 = 0 ; | |
7854 | PyObject * obj0 = 0 ; | |
7855 | PyObject * obj1 = 0 ; | |
7856 | char * kwnames[] = { | |
7857 | (char *) "self",(char *) "pane_info", NULL | |
7858 | }; | |
7859 | ||
7860 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7861 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7862 | if (!SWIG_IsOK(res1)) { | |
7863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7864 | } | |
7865 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7866 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
7867 | if (!SWIG_IsOK(res2)) { | |
7868 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7869 | } | |
7870 | if (!argp2) { | |
7871 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7872 | } | |
7873 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
7874 | { | |
7875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7876 | (arg1)->MaximizePane(*arg2); | |
7877 | wxPyEndAllowThreads(__tstate); | |
7878 | if (PyErr_Occurred()) SWIG_fail; | |
7879 | } | |
7880 | resultobj = SWIG_Py_Void(); | |
7881 | return resultobj; | |
7882 | fail: | |
7883 | return NULL; | |
7884 | } | |
7885 | ||
7886 | ||
7887 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7888 | PyObject *resultobj = 0; | |
7889 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7890 | wxAuiPaneInfo *arg2 = 0 ; | |
7891 | void *argp1 = 0 ; | |
7892 | int res1 = 0 ; | |
7893 | void *argp2 = 0 ; | |
7894 | int res2 = 0 ; | |
7895 | PyObject * obj0 = 0 ; | |
7896 | PyObject * obj1 = 0 ; | |
7897 | char * kwnames[] = { | |
7898 | (char *) "self",(char *) "pane_info", NULL | |
7899 | }; | |
7900 | ||
7901 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7902 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7903 | if (!SWIG_IsOK(res1)) { | |
7904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7905 | } | |
7906 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7907 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
7908 | if (!SWIG_IsOK(res2)) { | |
7909 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7910 | } | |
7911 | if (!argp2) { | |
7912 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7913 | } | |
7914 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
7915 | { | |
7916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7917 | (arg1)->RestorePane(*arg2); | |
7918 | wxPyEndAllowThreads(__tstate); | |
7919 | if (PyErr_Occurred()) SWIG_fail; | |
7920 | } | |
7921 | resultobj = SWIG_Py_Void(); | |
7922 | return resultobj; | |
7923 | fail: | |
7924 | return NULL; | |
7925 | } | |
7926 | ||
7927 | ||
7928 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7929 | PyObject *resultobj = 0; | |
7930 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7931 | void *argp1 = 0 ; | |
7932 | int res1 = 0 ; | |
7933 | PyObject *swig_obj[1] ; | |
7934 | ||
7935 | if (!args) SWIG_fail; | |
7936 | swig_obj[0] = args; | |
7937 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7938 | if (!SWIG_IsOK(res1)) { | |
7939 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7940 | } | |
7941 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7942 | { | |
7943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7944 | (arg1)->RestoreMaximizedPane(); | |
7945 | wxPyEndAllowThreads(__tstate); | |
7946 | if (PyErr_Occurred()) SWIG_fail; | |
7947 | } | |
7948 | resultobj = SWIG_Py_Void(); | |
7949 | return resultobj; | |
7950 | fail: | |
7951 | return NULL; | |
7952 | } | |
7953 | ||
7954 | ||
7955 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7956 | PyObject *resultobj = 0; | |
7957 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7958 | wxAuiPaneInfo *arg2 = 0 ; | |
1eeb270e RD |
7959 | wxString result; |
7960 | void *argp1 = 0 ; | |
7961 | int res1 = 0 ; | |
7962 | void *argp2 = 0 ; | |
7963 | int res2 = 0 ; | |
7964 | PyObject * obj0 = 0 ; | |
7965 | PyObject * obj1 = 0 ; | |
7966 | char * kwnames[] = { | |
7967 | (char *) "self",(char *) "pane", NULL | |
7968 | }; | |
7969 | ||
5eb8189c RD |
7970 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7971 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1eeb270e | 7972 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7973 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1eeb270e | 7974 | } |
5eb8189c RD |
7975 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7976 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
1eeb270e | 7977 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7978 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e RD |
7979 | } |
7980 | if (!argp2) { | |
5eb8189c | 7981 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e | 7982 | } |
5eb8189c | 7983 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
1eeb270e RD |
7984 | { |
7985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7986 | result = (arg1)->SavePaneInfo(*arg2); | |
7987 | wxPyEndAllowThreads(__tstate); | |
7988 | if (PyErr_Occurred()) SWIG_fail; | |
7989 | } | |
7990 | { | |
7991 | #if wxUSE_UNICODE | |
7992 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7993 | #else | |
7994 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7995 | #endif | |
7996 | } | |
7997 | return resultobj; | |
7998 | fail: | |
7999 | return NULL; | |
8000 | } | |
8001 | ||
8002 | ||
5eb8189c | 8003 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 8004 | PyObject *resultobj = 0; |
5eb8189c | 8005 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1eeb270e | 8006 | wxString arg2 ; |
5eb8189c | 8007 | wxAuiPaneInfo *arg3 = 0 ; |
1eeb270e RD |
8008 | void *argp1 = 0 ; |
8009 | int res1 = 0 ; | |
8010 | void *argp3 = 0 ; | |
8011 | int res3 = 0 ; | |
8012 | PyObject * obj0 = 0 ; | |
8013 | PyObject * obj1 = 0 ; | |
8014 | PyObject * obj2 = 0 ; | |
8015 | char * kwnames[] = { | |
8016 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
8017 | }; | |
8018 | ||
5eb8189c RD |
8019 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8020 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1eeb270e | 8021 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1eeb270e | 8023 | } |
5eb8189c | 8024 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1eeb270e RD |
8025 | { |
8026 | wxString* sptr = wxString_in_helper(obj1); | |
8027 | if (sptr == NULL) SWIG_fail; | |
8028 | arg2 = *sptr; | |
8029 | delete sptr; | |
8030 | } | |
5eb8189c | 8031 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
1eeb270e | 8032 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8033 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e RD |
8034 | } |
8035 | if (!argp3) { | |
5eb8189c | 8036 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e | 8037 | } |
5eb8189c | 8038 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
1eeb270e RD |
8039 | { |
8040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8041 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
8042 | wxPyEndAllowThreads(__tstate); | |
8043 | if (PyErr_Occurred()) SWIG_fail; | |
8044 | } | |
8045 | resultobj = SWIG_Py_Void(); | |
8046 | return resultobj; | |
8047 | fail: | |
8048 | return NULL; | |
8049 | } | |
8050 | ||
8051 | ||
5eb8189c | 8052 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8053 | PyObject *resultobj = 0; |
5eb8189c | 8054 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8055 | wxString result; |
8056 | void *argp1 = 0 ; | |
8057 | int res1 = 0 ; | |
8058 | PyObject *swig_obj[1] ; | |
8059 | ||
8060 | if (!args) SWIG_fail; | |
8061 | swig_obj[0] = args; | |
5eb8189c | 8062 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8063 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8064 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8065 | } |
5eb8189c | 8066 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8067 | { |
8068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8069 | result = (arg1)->SavePerspective(); | |
8070 | wxPyEndAllowThreads(__tstate); | |
8071 | if (PyErr_Occurred()) SWIG_fail; | |
8072 | } | |
8073 | { | |
8074 | #if wxUSE_UNICODE | |
8075 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8076 | #else | |
8077 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8078 | #endif | |
8079 | } | |
8080 | return resultobj; | |
8081 | fail: | |
8082 | return NULL; | |
8083 | } | |
8084 | ||
8085 | ||
5eb8189c | 8086 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8087 | PyObject *resultobj = 0; |
5eb8189c | 8088 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8089 | wxString *arg2 = 0 ; |
8090 | bool arg3 = (bool) true ; | |
8091 | bool result; | |
8092 | void *argp1 = 0 ; | |
8093 | int res1 = 0 ; | |
8094 | bool temp2 = false ; | |
8095 | bool val3 ; | |
8096 | int ecode3 = 0 ; | |
8097 | PyObject * obj0 = 0 ; | |
8098 | PyObject * obj1 = 0 ; | |
8099 | PyObject * obj2 = 0 ; | |
8100 | char * kwnames[] = { | |
8101 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
8102 | }; | |
8103 | ||
5eb8189c RD |
8104 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8105 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 8106 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8108 | } |
5eb8189c | 8109 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8110 | { |
8111 | arg2 = wxString_in_helper(obj1); | |
8112 | if (arg2 == NULL) SWIG_fail; | |
8113 | temp2 = true; | |
8114 | } | |
8115 | if (obj2) { | |
8116 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8117 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8118 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8119 | } |
8120 | arg3 = static_cast< bool >(val3); | |
8121 | } | |
8122 | { | |
8123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8124 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8125 | wxPyEndAllowThreads(__tstate); | |
8126 | if (PyErr_Occurred()) SWIG_fail; | |
8127 | } | |
8128 | { | |
8129 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8130 | } | |
8131 | { | |
8132 | if (temp2) | |
8133 | delete arg2; | |
8134 | } | |
8135 | return resultobj; | |
8136 | fail: | |
8137 | { | |
8138 | if (temp2) | |
8139 | delete arg2; | |
8140 | } | |
8141 | return NULL; | |
8142 | } | |
8143 | ||
8144 | ||
5eb8189c | 8145 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8146 | PyObject *resultobj = 0; |
5eb8189c | 8147 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8148 | void *argp1 = 0 ; |
8149 | int res1 = 0 ; | |
8150 | PyObject *swig_obj[1] ; | |
8151 | ||
8152 | if (!args) SWIG_fail; | |
8153 | swig_obj[0] = args; | |
5eb8189c | 8154 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8155 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8156 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8157 | } |
5eb8189c | 8158 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8159 | { |
8160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8161 | (arg1)->Update(); | |
8162 | wxPyEndAllowThreads(__tstate); | |
8163 | if (PyErr_Occurred()) SWIG_fail; | |
8164 | } | |
8165 | resultobj = SWIG_Py_Void(); | |
8166 | return resultobj; | |
8167 | fail: | |
8168 | return NULL; | |
8169 | } | |
8170 | ||
8171 | ||
5eb8189c | 8172 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8173 | PyObject *resultobj = 0; |
5eb8189c | 8174 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8175 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8176 | wxAuiPaneInfo *arg3 = 0 ; |
8177 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8178 | void *argp1 = 0 ; |
8179 | int res1 = 0 ; | |
8180 | void *argp2 = 0 ; | |
8181 | int res2 = 0 ; | |
8182 | void *argp3 = 0 ; | |
8183 | int res3 = 0 ; | |
8184 | PyObject * obj0 = 0 ; | |
8185 | PyObject * obj1 = 0 ; | |
8186 | PyObject * obj2 = 0 ; | |
8187 | char * kwnames[] = { | |
8188 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8189 | }; | |
8190 | ||
5eb8189c RD |
8191 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8192 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8193 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8195 | } |
5eb8189c | 8196 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8197 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8198 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8199 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8200 | } |
8201 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8202 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8203 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8204 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8205 | } |
8206 | if (!argp3) { | |
5eb8189c | 8207 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8208 | } |
5eb8189c | 8209 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8210 | { |
8211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8212 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8213 | wxPyEndAllowThreads(__tstate); |
8214 | if (PyErr_Occurred()) SWIG_fail; | |
8215 | } | |
5eb8189c | 8216 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8217 | return resultobj; |
8218 | fail: | |
8219 | return NULL; | |
8220 | } | |
8221 | ||
8222 | ||
5eb8189c | 8223 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8224 | PyObject *resultobj = 0; |
5eb8189c | 8225 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8226 | wxWindow *arg2 = (wxWindow *) 0 ; |
8227 | wxPoint *arg3 = 0 ; | |
8228 | wxPoint *arg4 = 0 ; | |
8229 | void *argp1 = 0 ; | |
8230 | int res1 = 0 ; | |
8231 | void *argp2 = 0 ; | |
8232 | int res2 = 0 ; | |
8233 | wxPoint temp3 ; | |
8234 | wxPoint temp4 ; | |
8235 | PyObject * obj0 = 0 ; | |
8236 | PyObject * obj1 = 0 ; | |
8237 | PyObject * obj2 = 0 ; | |
8238 | PyObject * obj3 = 0 ; | |
8239 | char * kwnames[] = { | |
8240 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8241 | }; | |
8242 | ||
5eb8189c RD |
8243 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8244 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8245 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8246 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8247 | } |
5eb8189c | 8248 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8249 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8250 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8251 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8252 | } |
8253 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8254 | { | |
8255 | arg3 = &temp3; | |
8256 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8257 | } | |
8258 | { | |
8259 | arg4 = &temp4; | |
8260 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8261 | } | |
8262 | { | |
8263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8264 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8265 | wxPyEndAllowThreads(__tstate); | |
8266 | if (PyErr_Occurred()) SWIG_fail; | |
8267 | } | |
8268 | resultobj = SWIG_Py_Void(); | |
8269 | return resultobj; | |
8270 | fail: | |
8271 | return NULL; | |
8272 | } | |
8273 | ||
8274 | ||
5eb8189c | 8275 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8276 | PyObject *resultobj = 0; |
5eb8189c | 8277 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8278 | wxRect *arg2 = 0 ; |
8279 | void *argp1 = 0 ; | |
8280 | int res1 = 0 ; | |
8281 | wxRect temp2 ; | |
8282 | PyObject * obj0 = 0 ; | |
8283 | PyObject * obj1 = 0 ; | |
8284 | char * kwnames[] = { | |
8285 | (char *) "self",(char *) "rect", NULL | |
8286 | }; | |
8287 | ||
5eb8189c RD |
8288 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8289 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8290 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8291 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8292 | } |
5eb8189c | 8293 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8294 | { |
8295 | arg2 = &temp2; | |
8296 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8297 | } | |
8298 | { | |
8299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8300 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8301 | wxPyEndAllowThreads(__tstate); | |
8302 | if (PyErr_Occurred()) SWIG_fail; | |
8303 | } | |
8304 | resultobj = SWIG_Py_Void(); | |
8305 | return resultobj; | |
8306 | fail: | |
8307 | return NULL; | |
8308 | } | |
8309 | ||
8310 | ||
5eb8189c | 8311 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8312 | PyObject *resultobj = 0; |
5eb8189c | 8313 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8314 | void *argp1 = 0 ; |
8315 | int res1 = 0 ; | |
8316 | PyObject *swig_obj[1] ; | |
8317 | ||
8318 | if (!args) SWIG_fail; | |
8319 | swig_obj[0] = args; | |
5eb8189c | 8320 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8321 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8323 | } |
5eb8189c | 8324 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8325 | { |
8326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8327 | (arg1)->HideHint(); | |
8328 | wxPyEndAllowThreads(__tstate); | |
8329 | if (PyErr_Occurred()) SWIG_fail; | |
8330 | } | |
8331 | resultobj = SWIG_Py_Void(); | |
8332 | return resultobj; | |
8333 | fail: | |
8334 | return NULL; | |
8335 | } | |
8336 | ||
8337 | ||
5eb8189c | 8338 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1d5ee749 | 8339 | PyObject *resultobj = 0; |
5eb8189c RD |
8340 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8341 | wxAuiManagerEvent *arg2 = 0 ; | |
1d5ee749 RD |
8342 | void *argp1 = 0 ; |
8343 | int res1 = 0 ; | |
8344 | void *argp2 = 0 ; | |
8345 | int res2 = 0 ; | |
8346 | PyObject * obj0 = 0 ; | |
8347 | PyObject * obj1 = 0 ; | |
8348 | char * kwnames[] = { | |
8349 | (char *) "self",(char *) "evt", NULL | |
8350 | }; | |
8351 | ||
5eb8189c RD |
8352 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8353 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1d5ee749 | 8354 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8355 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1d5ee749 | 8356 | } |
5eb8189c RD |
8357 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8358 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
1d5ee749 | 8359 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8360 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 RD |
8361 | } |
8362 | if (!argp2) { | |
5eb8189c | 8363 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 | 8364 | } |
5eb8189c | 8365 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
1d5ee749 RD |
8366 | { |
8367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8368 | (arg1)->OnRender(*arg2); | |
8369 | wxPyEndAllowThreads(__tstate); | |
8370 | if (PyErr_Occurred()) SWIG_fail; | |
8371 | } | |
8372 | resultobj = SWIG_Py_Void(); | |
8373 | return resultobj; | |
8374 | fail: | |
8375 | return NULL; | |
8376 | } | |
8377 | ||
8378 | ||
5eb8189c | 8379 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1d5ee749 | 8380 | PyObject *resultobj = 0; |
5eb8189c RD |
8381 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8382 | wxAuiManagerEvent *arg2 = 0 ; | |
1d5ee749 RD |
8383 | void *argp1 = 0 ; |
8384 | int res1 = 0 ; | |
8385 | void *argp2 = 0 ; | |
8386 | int res2 = 0 ; | |
8387 | PyObject * obj0 = 0 ; | |
8388 | PyObject * obj1 = 0 ; | |
8389 | char * kwnames[] = { | |
8390 | (char *) "self",(char *) "evt", NULL | |
8391 | }; | |
8392 | ||
5eb8189c RD |
8393 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8394 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1d5ee749 | 8395 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1d5ee749 | 8397 | } |
5eb8189c RD |
8398 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8399 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
1d5ee749 | 8400 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8401 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 RD |
8402 | } |
8403 | if (!argp2) { | |
5eb8189c | 8404 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 | 8405 | } |
5eb8189c | 8406 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
1d5ee749 RD |
8407 | { |
8408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8409 | (arg1)->OnPaneButton(*arg2); | |
8410 | wxPyEndAllowThreads(__tstate); | |
8411 | if (PyErr_Occurred()) SWIG_fail; | |
8412 | } | |
8413 | resultobj = SWIG_Py_Void(); | |
8414 | return resultobj; | |
8415 | fail: | |
8416 | return NULL; | |
8417 | } | |
8418 | ||
8419 | ||
5eb8189c | 8420 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8421 | PyObject *obj; |
8422 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8423 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8424 | return SWIG_Py_Void(); |
8425 | } | |
8426 | ||
5eb8189c | 8427 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8428 | return SWIG_Python_InitShadowInstance(args); |
8429 | } | |
8430 | ||
5eb8189c | 8431 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8432 | PyObject *resultobj = 0; |
8433 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8434 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8435 | int val1 ; |
8436 | int ecode1 = 0 ; | |
8437 | PyObject * obj0 = 0 ; | |
8438 | char * kwnames[] = { | |
8439 | (char *) "type", NULL | |
8440 | }; | |
8441 | ||
5eb8189c | 8442 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8443 | if (obj0) { |
8444 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8445 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8446 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8447 | } |
8448 | arg1 = static_cast< wxEventType >(val1); | |
8449 | } | |
8450 | { | |
8451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8452 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8453 | wxPyEndAllowThreads(__tstate); |
8454 | if (PyErr_Occurred()) SWIG_fail; | |
8455 | } | |
5eb8189c | 8456 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8457 | return resultobj; |
8458 | fail: | |
8459 | return NULL; | |
8460 | } | |
8461 | ||
8462 | ||
5eb8189c | 8463 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8464 | PyObject *resultobj = 0; |
5eb8189c | 8465 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8466 | wxEvent *result = 0 ; |
8467 | void *argp1 = 0 ; | |
8468 | int res1 = 0 ; | |
8469 | PyObject *swig_obj[1] ; | |
8470 | ||
8471 | if (!args) SWIG_fail; | |
8472 | swig_obj[0] = args; | |
5eb8189c | 8473 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8474 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8476 | } |
5eb8189c | 8477 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8478 | { |
8479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8480 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8481 | wxPyEndAllowThreads(__tstate); |
8482 | if (PyErr_Occurred()) SWIG_fail; | |
8483 | } | |
8484 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8485 | return resultobj; | |
8486 | fail: | |
8487 | return NULL; | |
8488 | } | |
8489 | ||
8490 | ||
5eb8189c | 8491 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8492 | PyObject *resultobj = 0; |
5eb8189c RD |
8493 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8494 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8495 | void *argp1 = 0 ; |
8496 | int res1 = 0 ; | |
8497 | void *argp2 = 0 ; | |
8498 | int res2 = 0 ; | |
8499 | PyObject * obj0 = 0 ; | |
8500 | PyObject * obj1 = 0 ; | |
8501 | char * kwnames[] = { | |
8502 | (char *) "self",(char *) "p", NULL | |
8503 | }; | |
8504 | ||
5eb8189c RD |
8505 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8507 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8509 | } |
5eb8189c RD |
8510 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8511 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8512 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8513 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8514 | } |
5eb8189c | 8515 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8516 | { |
8517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8518 | (arg1)->SetPane(arg2); | |
8519 | wxPyEndAllowThreads(__tstate); | |
8520 | if (PyErr_Occurred()) SWIG_fail; | |
8521 | } | |
8522 | resultobj = SWIG_Py_Void(); | |
8523 | return resultobj; | |
8524 | fail: | |
8525 | return NULL; | |
8526 | } | |
8527 | ||
8528 | ||
5eb8189c | 8529 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8530 | PyObject *resultobj = 0; |
5eb8189c | 8531 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8532 | int arg2 ; |
8533 | void *argp1 = 0 ; | |
8534 | int res1 = 0 ; | |
8535 | int val2 ; | |
8536 | int ecode2 = 0 ; | |
8537 | PyObject * obj0 = 0 ; | |
8538 | PyObject * obj1 = 0 ; | |
8539 | char * kwnames[] = { | |
8540 | (char *) "self",(char *) "b", NULL | |
8541 | }; | |
8542 | ||
5eb8189c RD |
8543 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8544 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8545 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8546 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8547 | } |
5eb8189c | 8548 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8549 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8550 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8551 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8552 | } |
8553 | arg2 = static_cast< int >(val2); | |
8554 | { | |
8555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8556 | (arg1)->SetButton(arg2); | |
8557 | wxPyEndAllowThreads(__tstate); | |
8558 | if (PyErr_Occurred()) SWIG_fail; | |
8559 | } | |
8560 | resultobj = SWIG_Py_Void(); | |
8561 | return resultobj; | |
8562 | fail: | |
8563 | return NULL; | |
8564 | } | |
8565 | ||
8566 | ||
5eb8189c | 8567 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1d5ee749 | 8568 | PyObject *resultobj = 0; |
5eb8189c | 8569 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
8570 | wxDC *arg2 = (wxDC *) 0 ; |
8571 | void *argp1 = 0 ; | |
8572 | int res1 = 0 ; | |
8573 | void *argp2 = 0 ; | |
8574 | int res2 = 0 ; | |
8575 | PyObject * obj0 = 0 ; | |
8576 | PyObject * obj1 = 0 ; | |
8577 | char * kwnames[] = { | |
8578 | (char *) "self",(char *) "pdc", NULL | |
8579 | }; | |
8580 | ||
5eb8189c RD |
8581 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8582 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
1d5ee749 | 8583 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8584 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 8585 | } |
5eb8189c | 8586 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
8587 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8588 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8589 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
1d5ee749 RD |
8590 | } |
8591 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8592 | { | |
8593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8594 | (arg1)->SetDC(arg2); | |
8595 | wxPyEndAllowThreads(__tstate); | |
8596 | if (PyErr_Occurred()) SWIG_fail; | |
8597 | } | |
8598 | resultobj = SWIG_Py_Void(); | |
8599 | return resultobj; | |
8600 | fail: | |
8601 | return NULL; | |
8602 | } | |
8603 | ||
8604 | ||
5eb8189c | 8605 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8606 | PyObject *resultobj = 0; |
5eb8189c RD |
8607 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8608 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8609 | void *argp1 = 0 ; |
8610 | int res1 = 0 ; | |
8611 | PyObject *swig_obj[1] ; | |
8612 | ||
8613 | if (!args) SWIG_fail; | |
8614 | swig_obj[0] = args; | |
5eb8189c | 8615 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8616 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8618 | } |
5eb8189c | 8619 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8620 | { |
8621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8622 | result = (wxAuiPaneInfo *)(arg1)->GetPane(); |
27e45892 RD |
8623 | wxPyEndAllowThreads(__tstate); |
8624 | if (PyErr_Occurred()) SWIG_fail; | |
8625 | } | |
5eb8189c | 8626 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8627 | return resultobj; |
8628 | fail: | |
8629 | return NULL; | |
8630 | } | |
8631 | ||
8632 | ||
5eb8189c | 8633 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8634 | PyObject *resultobj = 0; |
5eb8189c | 8635 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8636 | int result; |
8637 | void *argp1 = 0 ; | |
8638 | int res1 = 0 ; | |
8639 | PyObject *swig_obj[1] ; | |
8640 | ||
8641 | if (!args) SWIG_fail; | |
8642 | swig_obj[0] = args; | |
5eb8189c | 8643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8644 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8646 | } |
5eb8189c | 8647 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8648 | { |
8649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8650 | result = (int)(arg1)->GetButton(); | |
8651 | wxPyEndAllowThreads(__tstate); | |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
8654 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8655 | return resultobj; | |
8656 | fail: | |
8657 | return NULL; | |
8658 | } | |
8659 | ||
8660 | ||
5eb8189c | 8661 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1d5ee749 | 8662 | PyObject *resultobj = 0; |
5eb8189c | 8663 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
8664 | wxDC *result = 0 ; |
8665 | void *argp1 = 0 ; | |
8666 | int res1 = 0 ; | |
8667 | PyObject *swig_obj[1] ; | |
8668 | ||
8669 | if (!args) SWIG_fail; | |
8670 | swig_obj[0] = args; | |
5eb8189c | 8671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
1d5ee749 | 8672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 8674 | } |
5eb8189c | 8675 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
8676 | { |
8677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8678 | result = (wxDC *)(arg1)->GetDC(); | |
8679 | wxPyEndAllowThreads(__tstate); | |
8680 | if (PyErr_Occurred()) SWIG_fail; | |
8681 | } | |
8682 | { | |
8683 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8684 | } | |
8685 | return resultobj; | |
8686 | fail: | |
8687 | return NULL; | |
8688 | } | |
8689 | ||
8690 | ||
5eb8189c | 8691 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8692 | PyObject *resultobj = 0; |
5eb8189c | 8693 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8694 | bool arg2 = (bool) true ; |
8695 | void *argp1 = 0 ; | |
8696 | int res1 = 0 ; | |
8697 | bool val2 ; | |
8698 | int ecode2 = 0 ; | |
8699 | PyObject * obj0 = 0 ; | |
8700 | PyObject * obj1 = 0 ; | |
8701 | char * kwnames[] = { | |
8702 | (char *) "self",(char *) "veto", NULL | |
8703 | }; | |
8704 | ||
5eb8189c RD |
8705 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8706 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8707 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8708 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8709 | } |
5eb8189c | 8710 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8711 | if (obj1) { |
8712 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8713 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8714 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8715 | } |
8716 | arg2 = static_cast< bool >(val2); | |
8717 | } | |
8718 | { | |
8719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8720 | (arg1)->Veto(arg2); | |
8721 | wxPyEndAllowThreads(__tstate); | |
8722 | if (PyErr_Occurred()) SWIG_fail; | |
8723 | } | |
8724 | resultobj = SWIG_Py_Void(); | |
8725 | return resultobj; | |
8726 | fail: | |
8727 | return NULL; | |
8728 | } | |
8729 | ||
8730 | ||
5eb8189c | 8731 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8732 | PyObject *resultobj = 0; |
5eb8189c | 8733 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8734 | bool result; |
8735 | void *argp1 = 0 ; | |
8736 | int res1 = 0 ; | |
8737 | PyObject *swig_obj[1] ; | |
8738 | ||
8739 | if (!args) SWIG_fail; | |
8740 | swig_obj[0] = args; | |
5eb8189c | 8741 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8742 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8743 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8744 | } |
5eb8189c | 8745 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8746 | { |
8747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8748 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
8749 | wxPyEndAllowThreads(__tstate); |
8750 | if (PyErr_Occurred()) SWIG_fail; | |
8751 | } | |
8752 | { | |
8753 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8754 | } | |
8755 | return resultobj; | |
8756 | fail: | |
8757 | return NULL; | |
8758 | } | |
8759 | ||
8760 | ||
5eb8189c | 8761 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8762 | PyObject *resultobj = 0; |
5eb8189c | 8763 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8764 | bool arg2 ; |
8765 | void *argp1 = 0 ; | |
8766 | int res1 = 0 ; | |
8767 | bool val2 ; | |
8768 | int ecode2 = 0 ; | |
8769 | PyObject * obj0 = 0 ; | |
8770 | PyObject * obj1 = 0 ; | |
8771 | char * kwnames[] = { | |
8772 | (char *) "self",(char *) "can_veto", NULL | |
8773 | }; | |
8774 | ||
5eb8189c RD |
8775 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
8776 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8777 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8779 | } |
5eb8189c | 8780 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8781 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
8782 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8783 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8784 | } |
8785 | arg2 = static_cast< bool >(val2); | |
8786 | { | |
8787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8788 | (arg1)->SetCanVeto(arg2); | |
8789 | wxPyEndAllowThreads(__tstate); | |
8790 | if (PyErr_Occurred()) SWIG_fail; | |
8791 | } | |
8792 | resultobj = SWIG_Py_Void(); | |
8793 | return resultobj; | |
8794 | fail: | |
8795 | return NULL; | |
8796 | } | |
8797 | ||
8798 | ||
5eb8189c | 8799 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8800 | PyObject *resultobj = 0; |
5eb8189c | 8801 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8802 | bool result; |
8803 | void *argp1 = 0 ; | |
8804 | int res1 = 0 ; | |
8805 | PyObject *swig_obj[1] ; | |
8806 | ||
8807 | if (!args) SWIG_fail; | |
8808 | swig_obj[0] = args; | |
5eb8189c | 8809 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8810 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8811 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8812 | } |
5eb8189c | 8813 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8814 | { |
8815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8816 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
8817 | wxPyEndAllowThreads(__tstate); |
8818 | if (PyErr_Occurred()) SWIG_fail; | |
8819 | } | |
8820 | { | |
8821 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8822 | } | |
8823 | return resultobj; | |
8824 | fail: | |
8825 | return NULL; | |
8826 | } | |
8827 | ||
8828 | ||
5eb8189c | 8829 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8830 | PyObject *resultobj = 0; |
5eb8189c RD |
8831 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8832 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8833 | void *argp1 = 0 ; |
8834 | int res1 = 0 ; | |
8835 | void *argp2 = 0 ; | |
8836 | int res2 = 0 ; | |
8837 | PyObject *swig_obj[2] ; | |
8838 | ||
5eb8189c RD |
8839 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
8840 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8841 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8843 | } |
5eb8189c RD |
8844 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8845 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 8846 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8847 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8848 | } |
5eb8189c | 8849 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8850 | if (arg1) (arg1)->pane = arg2; |
8851 | ||
8852 | resultobj = SWIG_Py_Void(); | |
8853 | return resultobj; | |
8854 | fail: | |
8855 | return NULL; | |
8856 | } | |
8857 | ||
8858 | ||
5eb8189c | 8859 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8860 | PyObject *resultobj = 0; |
5eb8189c RD |
8861 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8862 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8863 | void *argp1 = 0 ; |
8864 | int res1 = 0 ; | |
8865 | PyObject *swig_obj[1] ; | |
8866 | ||
8867 | if (!args) SWIG_fail; | |
8868 | swig_obj[0] = args; | |
5eb8189c | 8869 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8870 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8872 | } |
5eb8189c RD |
8873 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8874 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
8875 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
8876 | return resultobj; |
8877 | fail: | |
8878 | return NULL; | |
8879 | } | |
8880 | ||
8881 | ||
5eb8189c | 8882 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8883 | PyObject *resultobj = 0; |
5eb8189c | 8884 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8885 | int arg2 ; |
8886 | void *argp1 = 0 ; | |
8887 | int res1 = 0 ; | |
8888 | int val2 ; | |
8889 | int ecode2 = 0 ; | |
8890 | PyObject *swig_obj[2] ; | |
8891 | ||
5eb8189c RD |
8892 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
8893 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8894 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8895 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8896 | } |
5eb8189c | 8897 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8898 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
8899 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8900 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8901 | } |
8902 | arg2 = static_cast< int >(val2); | |
8903 | if (arg1) (arg1)->button = arg2; | |
8904 | ||
8905 | resultobj = SWIG_Py_Void(); | |
8906 | return resultobj; | |
8907 | fail: | |
8908 | return NULL; | |
8909 | } | |
8910 | ||
8911 | ||
5eb8189c | 8912 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8913 | PyObject *resultobj = 0; |
5eb8189c | 8914 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8915 | int result; |
8916 | void *argp1 = 0 ; | |
8917 | int res1 = 0 ; | |
8918 | PyObject *swig_obj[1] ; | |
8919 | ||
8920 | if (!args) SWIG_fail; | |
8921 | swig_obj[0] = args; | |
5eb8189c | 8922 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8923 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8925 | } |
5eb8189c | 8926 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8927 | result = (int) ((arg1)->button); |
8928 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8929 | return resultobj; | |
8930 | fail: | |
8931 | return NULL; | |
8932 | } | |
8933 | ||
8934 | ||
5eb8189c | 8935 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8936 | PyObject *resultobj = 0; |
5eb8189c | 8937 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8938 | bool arg2 ; |
8939 | void *argp1 = 0 ; | |
8940 | int res1 = 0 ; | |
8941 | bool val2 ; | |
8942 | int ecode2 = 0 ; | |
8943 | PyObject *swig_obj[2] ; | |
8944 | ||
5eb8189c RD |
8945 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
8946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8947 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8949 | } |
5eb8189c | 8950 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8951 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
8952 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8953 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8954 | } |
8955 | arg2 = static_cast< bool >(val2); | |
8956 | if (arg1) (arg1)->veto_flag = arg2; | |
8957 | ||
8958 | resultobj = SWIG_Py_Void(); | |
8959 | return resultobj; | |
8960 | fail: | |
8961 | return NULL; | |
8962 | } | |
8963 | ||
8964 | ||
5eb8189c | 8965 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8966 | PyObject *resultobj = 0; |
5eb8189c | 8967 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8968 | bool result; |
8969 | void *argp1 = 0 ; | |
8970 | int res1 = 0 ; | |
8971 | PyObject *swig_obj[1] ; | |
8972 | ||
8973 | if (!args) SWIG_fail; | |
8974 | swig_obj[0] = args; | |
5eb8189c | 8975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8976 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8978 | } |
5eb8189c | 8979 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8980 | result = (bool) ((arg1)->veto_flag); |
8981 | { | |
8982 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8983 | } | |
8984 | return resultobj; | |
8985 | fail: | |
8986 | return NULL; | |
8987 | } | |
8988 | ||
8989 | ||
5eb8189c | 8990 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8991 | PyObject *resultobj = 0; |
5eb8189c | 8992 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8993 | bool arg2 ; |
8994 | void *argp1 = 0 ; | |
8995 | int res1 = 0 ; | |
8996 | bool val2 ; | |
8997 | int ecode2 = 0 ; | |
8998 | PyObject *swig_obj[2] ; | |
8999 | ||
5eb8189c RD |
9000 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9001 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9002 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9004 | } |
5eb8189c | 9005 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9006 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9007 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9008 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9009 | } |
9010 | arg2 = static_cast< bool >(val2); | |
9011 | if (arg1) (arg1)->canveto_flag = arg2; | |
9012 | ||
9013 | resultobj = SWIG_Py_Void(); | |
9014 | return resultobj; | |
9015 | fail: | |
9016 | return NULL; | |
9017 | } | |
9018 | ||
9019 | ||
5eb8189c | 9020 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9021 | PyObject *resultobj = 0; |
5eb8189c | 9022 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9023 | bool result; |
9024 | void *argp1 = 0 ; | |
9025 | int res1 = 0 ; | |
9026 | PyObject *swig_obj[1] ; | |
9027 | ||
9028 | if (!args) SWIG_fail; | |
9029 | swig_obj[0] = args; | |
5eb8189c | 9030 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9031 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9032 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9033 | } |
5eb8189c | 9034 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9035 | result = (bool) ((arg1)->canveto_flag); |
9036 | { | |
9037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9038 | } | |
9039 | return resultobj; | |
9040 | fail: | |
9041 | return NULL; | |
9042 | } | |
9043 | ||
9044 | ||
5eb8189c | 9045 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1d5ee749 | 9046 | PyObject *resultobj = 0; |
5eb8189c | 9047 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
9048 | wxDC *arg2 = (wxDC *) 0 ; |
9049 | void *argp1 = 0 ; | |
9050 | int res1 = 0 ; | |
9051 | void *argp2 = 0 ; | |
9052 | int res2 = 0 ; | |
9053 | PyObject *swig_obj[2] ; | |
9054 | ||
5eb8189c RD |
9055 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9056 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
1d5ee749 | 9057 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9058 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 9059 | } |
5eb8189c | 9060 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
9061 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9062 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9063 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
1d5ee749 RD |
9064 | } |
9065 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9066 | if (arg1) (arg1)->dc = arg2; | |
9067 | ||
9068 | resultobj = SWIG_Py_Void(); | |
9069 | return resultobj; | |
9070 | fail: | |
9071 | return NULL; | |
9072 | } | |
9073 | ||
9074 | ||
5eb8189c | 9075 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1d5ee749 | 9076 | PyObject *resultobj = 0; |
5eb8189c | 9077 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
9078 | wxDC *result = 0 ; |
9079 | void *argp1 = 0 ; | |
9080 | int res1 = 0 ; | |
9081 | PyObject *swig_obj[1] ; | |
9082 | ||
9083 | if (!args) SWIG_fail; | |
9084 | swig_obj[0] = args; | |
5eb8189c | 9085 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
1d5ee749 | 9086 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 9088 | } |
5eb8189c | 9089 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
9090 | result = (wxDC *) ((arg1)->dc); |
9091 | { | |
9092 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9093 | } | |
9094 | return resultobj; | |
9095 | fail: | |
9096 | return NULL; | |
9097 | } | |
9098 | ||
9099 | ||
5eb8189c | 9100 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9101 | PyObject *obj; |
9102 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9103 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9104 | return SWIG_Py_Void(); |
9105 | } | |
9106 | ||
5eb8189c | 9107 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9108 | return SWIG_Python_InitShadowInstance(args); |
9109 | } | |
9110 | ||
5eb8189c | 9111 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9112 | PyObject *resultobj = 0; |
5eb8189c | 9113 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9114 | |
5eb8189c | 9115 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9116 | { |
9117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9118 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9119 | wxPyEndAllowThreads(__tstate); |
9120 | if (PyErr_Occurred()) SWIG_fail; | |
9121 | } | |
5eb8189c | 9122 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9123 | return resultobj; |
9124 | fail: | |
9125 | return NULL; | |
9126 | } | |
9127 | ||
9128 | ||
5eb8189c | 9129 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9130 | PyObject *resultobj = 0; |
5eb8189c | 9131 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9132 | bool result; |
9133 | void *argp1 = 0 ; | |
9134 | int res1 = 0 ; | |
9135 | PyObject *swig_obj[1] ; | |
9136 | ||
9137 | if (!args) SWIG_fail; | |
9138 | swig_obj[0] = args; | |
5eb8189c | 9139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9140 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9142 | } |
5eb8189c | 9143 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9144 | { |
9145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9146 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9147 | wxPyEndAllowThreads(__tstate); |
9148 | if (PyErr_Occurred()) SWIG_fail; | |
9149 | } | |
9150 | { | |
9151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9152 | } | |
9153 | return resultobj; | |
9154 | fail: | |
9155 | return NULL; | |
9156 | } | |
9157 | ||
9158 | ||
5eb8189c | 9159 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9160 | PyObject *resultobj = 0; |
5eb8189c | 9161 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9162 | bool result; |
9163 | void *argp1 = 0 ; | |
9164 | int res1 = 0 ; | |
9165 | PyObject *swig_obj[1] ; | |
9166 | ||
9167 | if (!args) SWIG_fail; | |
9168 | swig_obj[0] = args; | |
5eb8189c | 9169 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9170 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9171 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9172 | } |
5eb8189c | 9173 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9174 | { |
9175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9176 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9177 | wxPyEndAllowThreads(__tstate); |
9178 | if (PyErr_Occurred()) SWIG_fail; | |
9179 | } | |
9180 | { | |
9181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9182 | } | |
9183 | return resultobj; | |
9184 | fail: | |
9185 | return NULL; | |
9186 | } | |
9187 | ||
9188 | ||
5eb8189c | 9189 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9190 | PyObject *resultobj = 0; |
5eb8189c | 9191 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9192 | bool result; |
9193 | void *argp1 = 0 ; | |
9194 | int res1 = 0 ; | |
9195 | PyObject *swig_obj[1] ; | |
9196 | ||
9197 | if (!args) SWIG_fail; | |
9198 | swig_obj[0] = args; | |
5eb8189c | 9199 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9200 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9201 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9202 | } |
5eb8189c | 9203 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9204 | { |
9205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9206 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9207 | wxPyEndAllowThreads(__tstate); |
9208 | if (PyErr_Occurred()) SWIG_fail; | |
9209 | } | |
9210 | { | |
9211 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9212 | } | |
9213 | return resultobj; | |
9214 | fail: | |
9215 | return NULL; | |
9216 | } | |
9217 | ||
9218 | ||
5eb8189c | 9219 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9220 | PyObject *resultobj = 0; |
5eb8189c RD |
9221 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9222 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9223 | void *argp1 = 0 ; |
9224 | int res1 = 0 ; | |
9225 | void *argp2 ; | |
9226 | int res2 = 0 ; | |
9227 | PyObject *swig_obj[2] ; | |
9228 | ||
5eb8189c RD |
9229 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9230 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9231 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9233 | } |
5eb8189c | 9234 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9235 | { |
5eb8189c | 9236 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9237 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9238 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9239 | } |
9240 | if (!argp2) { | |
5eb8189c | 9241 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9242 | } else { |
5eb8189c | 9243 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9244 | arg2 = *temp; |
9245 | if (SWIG_IsNewObj(res2)) delete temp; | |
9246 | } | |
9247 | } | |
9248 | if (arg1) (arg1)->panes = arg2; | |
9249 | ||
9250 | resultobj = SWIG_Py_Void(); | |
9251 | return resultobj; | |
9252 | fail: | |
9253 | return NULL; | |
9254 | } | |
9255 | ||
9256 | ||
5eb8189c | 9257 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9258 | PyObject *resultobj = 0; |
5eb8189c RD |
9259 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9260 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9261 | void *argp1 = 0 ; |
9262 | int res1 = 0 ; | |
9263 | PyObject *swig_obj[1] ; | |
9264 | ||
9265 | if (!args) SWIG_fail; | |
9266 | swig_obj[0] = args; | |
5eb8189c | 9267 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9268 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9269 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9270 | } |
5eb8189c | 9271 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9272 | result = ((arg1)->panes); |
5eb8189c | 9273 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9274 | return resultobj; |
9275 | fail: | |
9276 | return NULL; | |
9277 | } | |
9278 | ||
9279 | ||
5eb8189c | 9280 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9281 | PyObject *resultobj = 0; |
5eb8189c | 9282 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9283 | wxRect *arg2 = (wxRect *) 0 ; |
9284 | void *argp1 = 0 ; | |
9285 | int res1 = 0 ; | |
9286 | void *argp2 = 0 ; | |
9287 | int res2 = 0 ; | |
9288 | PyObject *swig_obj[2] ; | |
9289 | ||
5eb8189c RD |
9290 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9292 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9294 | } |
5eb8189c | 9295 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9296 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9297 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9298 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9299 | } |
9300 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9301 | if (arg1) (arg1)->rect = *arg2; | |
9302 | ||
9303 | resultobj = SWIG_Py_Void(); | |
9304 | return resultobj; | |
9305 | fail: | |
9306 | return NULL; | |
9307 | } | |
9308 | ||
9309 | ||
5eb8189c | 9310 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9311 | PyObject *resultobj = 0; |
5eb8189c | 9312 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9313 | wxRect *result = 0 ; |
9314 | void *argp1 = 0 ; | |
9315 | int res1 = 0 ; | |
9316 | PyObject *swig_obj[1] ; | |
9317 | ||
9318 | if (!args) SWIG_fail; | |
9319 | swig_obj[0] = args; | |
5eb8189c | 9320 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9321 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9323 | } |
5eb8189c | 9324 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9325 | result = (wxRect *)& ((arg1)->rect); |
9326 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9327 | return resultobj; | |
9328 | fail: | |
9329 | return NULL; | |
9330 | } | |
9331 | ||
9332 | ||
5eb8189c | 9333 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9334 | PyObject *resultobj = 0; |
5eb8189c | 9335 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9336 | int arg2 ; |
9337 | void *argp1 = 0 ; | |
9338 | int res1 = 0 ; | |
9339 | int val2 ; | |
9340 | int ecode2 = 0 ; | |
9341 | PyObject *swig_obj[2] ; | |
9342 | ||
5eb8189c RD |
9343 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9345 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9347 | } |
5eb8189c | 9348 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9349 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9350 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9351 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9352 | } |
9353 | arg2 = static_cast< int >(val2); | |
9354 | if (arg1) (arg1)->dock_direction = arg2; | |
9355 | ||
9356 | resultobj = SWIG_Py_Void(); | |
9357 | return resultobj; | |
9358 | fail: | |
9359 | return NULL; | |
9360 | } | |
9361 | ||
9362 | ||
5eb8189c | 9363 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9364 | PyObject *resultobj = 0; |
5eb8189c | 9365 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9366 | int result; |
9367 | void *argp1 = 0 ; | |
9368 | int res1 = 0 ; | |
9369 | PyObject *swig_obj[1] ; | |
9370 | ||
9371 | if (!args) SWIG_fail; | |
9372 | swig_obj[0] = args; | |
5eb8189c | 9373 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9374 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9376 | } |
5eb8189c | 9377 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9378 | result = (int) ((arg1)->dock_direction); |
9379 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9380 | return resultobj; | |
9381 | fail: | |
9382 | return NULL; | |
9383 | } | |
9384 | ||
9385 | ||
5eb8189c | 9386 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9387 | PyObject *resultobj = 0; |
5eb8189c | 9388 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9389 | int arg2 ; |
9390 | void *argp1 = 0 ; | |
9391 | int res1 = 0 ; | |
9392 | int val2 ; | |
9393 | int ecode2 = 0 ; | |
9394 | PyObject *swig_obj[2] ; | |
9395 | ||
5eb8189c RD |
9396 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9397 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9398 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9400 | } |
5eb8189c | 9401 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9402 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9403 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9404 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9405 | } |
9406 | arg2 = static_cast< int >(val2); | |
9407 | if (arg1) (arg1)->dock_layer = arg2; | |
9408 | ||
9409 | resultobj = SWIG_Py_Void(); | |
9410 | return resultobj; | |
9411 | fail: | |
9412 | return NULL; | |
9413 | } | |
9414 | ||
9415 | ||
5eb8189c | 9416 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9417 | PyObject *resultobj = 0; |
5eb8189c | 9418 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9419 | int result; |
9420 | void *argp1 = 0 ; | |
9421 | int res1 = 0 ; | |
9422 | PyObject *swig_obj[1] ; | |
9423 | ||
9424 | if (!args) SWIG_fail; | |
9425 | swig_obj[0] = args; | |
5eb8189c | 9426 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9427 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9428 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9429 | } |
5eb8189c | 9430 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9431 | result = (int) ((arg1)->dock_layer); |
9432 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9433 | return resultobj; | |
9434 | fail: | |
9435 | return NULL; | |
9436 | } | |
9437 | ||
9438 | ||
5eb8189c | 9439 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9440 | PyObject *resultobj = 0; |
5eb8189c | 9441 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9442 | int arg2 ; |
9443 | void *argp1 = 0 ; | |
9444 | int res1 = 0 ; | |
9445 | int val2 ; | |
9446 | int ecode2 = 0 ; | |
9447 | PyObject *swig_obj[2] ; | |
9448 | ||
5eb8189c RD |
9449 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9450 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9451 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9452 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9453 | } |
5eb8189c | 9454 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9455 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9456 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9457 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9458 | } |
9459 | arg2 = static_cast< int >(val2); | |
9460 | if (arg1) (arg1)->dock_row = arg2; | |
9461 | ||
9462 | resultobj = SWIG_Py_Void(); | |
9463 | return resultobj; | |
9464 | fail: | |
9465 | return NULL; | |
9466 | } | |
9467 | ||
9468 | ||
5eb8189c | 9469 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9470 | PyObject *resultobj = 0; |
5eb8189c | 9471 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9472 | int result; |
9473 | void *argp1 = 0 ; | |
9474 | int res1 = 0 ; | |
9475 | PyObject *swig_obj[1] ; | |
9476 | ||
9477 | if (!args) SWIG_fail; | |
9478 | swig_obj[0] = args; | |
5eb8189c | 9479 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9480 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9481 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9482 | } |
5eb8189c | 9483 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9484 | result = (int) ((arg1)->dock_row); |
9485 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9486 | return resultobj; | |
9487 | fail: | |
9488 | return NULL; | |
9489 | } | |
9490 | ||
9491 | ||
5eb8189c | 9492 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9493 | PyObject *resultobj = 0; |
5eb8189c | 9494 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9495 | int arg2 ; |
9496 | void *argp1 = 0 ; | |
9497 | int res1 = 0 ; | |
9498 | int val2 ; | |
9499 | int ecode2 = 0 ; | |
9500 | PyObject *swig_obj[2] ; | |
9501 | ||
5eb8189c RD |
9502 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9503 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9504 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9506 | } |
5eb8189c | 9507 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9508 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9509 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9510 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9511 | } |
9512 | arg2 = static_cast< int >(val2); | |
9513 | if (arg1) (arg1)->size = arg2; | |
9514 | ||
9515 | resultobj = SWIG_Py_Void(); | |
9516 | return resultobj; | |
9517 | fail: | |
9518 | return NULL; | |
9519 | } | |
9520 | ||
9521 | ||
5eb8189c | 9522 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9523 | PyObject *resultobj = 0; |
5eb8189c | 9524 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9525 | int result; |
9526 | void *argp1 = 0 ; | |
9527 | int res1 = 0 ; | |
9528 | PyObject *swig_obj[1] ; | |
9529 | ||
9530 | if (!args) SWIG_fail; | |
9531 | swig_obj[0] = args; | |
5eb8189c | 9532 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9533 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9535 | } |
5eb8189c | 9536 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9537 | result = (int) ((arg1)->size); |
9538 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9539 | return resultobj; | |
9540 | fail: | |
9541 | return NULL; | |
9542 | } | |
9543 | ||
9544 | ||
5eb8189c | 9545 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9546 | PyObject *resultobj = 0; |
5eb8189c | 9547 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9548 | int arg2 ; |
9549 | void *argp1 = 0 ; | |
9550 | int res1 = 0 ; | |
9551 | int val2 ; | |
9552 | int ecode2 = 0 ; | |
9553 | PyObject *swig_obj[2] ; | |
9554 | ||
5eb8189c RD |
9555 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9556 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9557 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9558 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9559 | } |
5eb8189c | 9560 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9561 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9562 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9563 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9564 | } |
9565 | arg2 = static_cast< int >(val2); | |
9566 | if (arg1) (arg1)->min_size = arg2; | |
9567 | ||
9568 | resultobj = SWIG_Py_Void(); | |
9569 | return resultobj; | |
9570 | fail: | |
9571 | return NULL; | |
9572 | } | |
9573 | ||
9574 | ||
5eb8189c | 9575 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9576 | PyObject *resultobj = 0; |
5eb8189c | 9577 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9578 | int result; |
9579 | void *argp1 = 0 ; | |
9580 | int res1 = 0 ; | |
9581 | PyObject *swig_obj[1] ; | |
9582 | ||
9583 | if (!args) SWIG_fail; | |
9584 | swig_obj[0] = args; | |
5eb8189c | 9585 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9586 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9588 | } |
5eb8189c | 9589 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9590 | result = (int) ((arg1)->min_size); |
9591 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9592 | return resultobj; | |
9593 | fail: | |
9594 | return NULL; | |
9595 | } | |
9596 | ||
9597 | ||
5eb8189c | 9598 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9599 | PyObject *resultobj = 0; |
5eb8189c | 9600 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9601 | bool arg2 ; |
9602 | void *argp1 = 0 ; | |
9603 | int res1 = 0 ; | |
9604 | bool val2 ; | |
9605 | int ecode2 = 0 ; | |
9606 | PyObject *swig_obj[2] ; | |
9607 | ||
5eb8189c RD |
9608 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9609 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9610 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9611 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9612 | } |
5eb8189c | 9613 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9614 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9615 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9616 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9617 | } |
9618 | arg2 = static_cast< bool >(val2); | |
9619 | if (arg1) (arg1)->resizable = arg2; | |
9620 | ||
9621 | resultobj = SWIG_Py_Void(); | |
9622 | return resultobj; | |
9623 | fail: | |
9624 | return NULL; | |
9625 | } | |
9626 | ||
9627 | ||
5eb8189c | 9628 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9629 | PyObject *resultobj = 0; |
5eb8189c | 9630 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9631 | bool result; |
9632 | void *argp1 = 0 ; | |
9633 | int res1 = 0 ; | |
9634 | PyObject *swig_obj[1] ; | |
9635 | ||
9636 | if (!args) SWIG_fail; | |
9637 | swig_obj[0] = args; | |
5eb8189c | 9638 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9639 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9641 | } |
5eb8189c | 9642 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9643 | result = (bool) ((arg1)->resizable); |
9644 | { | |
9645 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9646 | } | |
9647 | return resultobj; | |
9648 | fail: | |
9649 | return NULL; | |
9650 | } | |
9651 | ||
9652 | ||
5eb8189c | 9653 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9654 | PyObject *resultobj = 0; |
5eb8189c | 9655 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9656 | bool arg2 ; |
9657 | void *argp1 = 0 ; | |
9658 | int res1 = 0 ; | |
9659 | bool val2 ; | |
9660 | int ecode2 = 0 ; | |
9661 | PyObject *swig_obj[2] ; | |
9662 | ||
5eb8189c RD |
9663 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9665 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9667 | } |
5eb8189c | 9668 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9669 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9670 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9671 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9672 | } |
9673 | arg2 = static_cast< bool >(val2); | |
9674 | if (arg1) (arg1)->toolbar = arg2; | |
9675 | ||
9676 | resultobj = SWIG_Py_Void(); | |
9677 | return resultobj; | |
9678 | fail: | |
9679 | return NULL; | |
9680 | } | |
9681 | ||
9682 | ||
5eb8189c | 9683 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9684 | PyObject *resultobj = 0; |
5eb8189c | 9685 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9686 | bool result; |
9687 | void *argp1 = 0 ; | |
9688 | int res1 = 0 ; | |
9689 | PyObject *swig_obj[1] ; | |
9690 | ||
9691 | if (!args) SWIG_fail; | |
9692 | swig_obj[0] = args; | |
5eb8189c | 9693 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9694 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9695 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9696 | } |
5eb8189c | 9697 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9698 | result = (bool) ((arg1)->toolbar); |
9699 | { | |
9700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9701 | } | |
9702 | return resultobj; | |
9703 | fail: | |
9704 | return NULL; | |
9705 | } | |
9706 | ||
9707 | ||
5eb8189c | 9708 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9709 | PyObject *resultobj = 0; |
5eb8189c | 9710 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9711 | bool arg2 ; |
9712 | void *argp1 = 0 ; | |
9713 | int res1 = 0 ; | |
9714 | bool val2 ; | |
9715 | int ecode2 = 0 ; | |
9716 | PyObject *swig_obj[2] ; | |
9717 | ||
5eb8189c RD |
9718 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
9719 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9720 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9722 | } |
5eb8189c | 9723 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9724 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9725 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9726 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9727 | } |
9728 | arg2 = static_cast< bool >(val2); | |
9729 | if (arg1) (arg1)->fixed = arg2; | |
9730 | ||
9731 | resultobj = SWIG_Py_Void(); | |
9732 | return resultobj; | |
9733 | fail: | |
9734 | return NULL; | |
9735 | } | |
9736 | ||
9737 | ||
5eb8189c | 9738 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9739 | PyObject *resultobj = 0; |
5eb8189c | 9740 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9741 | bool result; |
9742 | void *argp1 = 0 ; | |
9743 | int res1 = 0 ; | |
9744 | PyObject *swig_obj[1] ; | |
9745 | ||
9746 | if (!args) SWIG_fail; | |
9747 | swig_obj[0] = args; | |
5eb8189c | 9748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9749 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9751 | } |
5eb8189c | 9752 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9753 | result = (bool) ((arg1)->fixed); |
9754 | { | |
9755 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9756 | } | |
9757 | return resultobj; | |
9758 | fail: | |
9759 | return NULL; | |
9760 | } | |
9761 | ||
9762 | ||
5eb8189c | 9763 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 9764 | PyObject *resultobj = 0; |
5eb8189c | 9765 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
9766 | void *argp1 = 0 ; |
9767 | int res1 = 0 ; | |
9768 | PyObject *swig_obj[1] ; | |
9769 | ||
9770 | if (!args) SWIG_fail; | |
9771 | swig_obj[0] = args; | |
5eb8189c | 9772 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 9773 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 9775 | } |
5eb8189c | 9776 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
9777 | { |
9778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9779 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
9780 | |
9781 | wxPyEndAllowThreads(__tstate); | |
9782 | if (PyErr_Occurred()) SWIG_fail; | |
9783 | } | |
9784 | resultobj = SWIG_Py_Void(); | |
9785 | return resultobj; | |
9786 | fail: | |
9787 | return NULL; | |
9788 | } | |
9789 | ||
9790 | ||
5eb8189c | 9791 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9792 | PyObject *obj; |
9793 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9794 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
9795 | return SWIG_Py_Void(); |
9796 | } | |
9797 | ||
5eb8189c | 9798 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9799 | return SWIG_Python_InitShadowInstance(args); |
9800 | } | |
9801 | ||
5eb8189c | 9802 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9803 | PyObject *resultobj = 0; |
5eb8189c | 9804 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9805 | int arg2 ; |
9806 | void *argp1 = 0 ; | |
9807 | int res1 = 0 ; | |
9808 | int val2 ; | |
9809 | int ecode2 = 0 ; | |
9810 | PyObject *swig_obj[2] ; | |
9811 | ||
5eb8189c RD |
9812 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
9813 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9814 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9815 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9816 | } |
5eb8189c | 9817 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9818 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9819 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9820 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9821 | } |
9822 | arg2 = static_cast< int >(val2); | |
9823 | if (arg1) (arg1)->type = arg2; | |
9824 | ||
9825 | resultobj = SWIG_Py_Void(); | |
9826 | return resultobj; | |
9827 | fail: | |
9828 | return NULL; | |
9829 | } | |
9830 | ||
9831 | ||
5eb8189c | 9832 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9833 | PyObject *resultobj = 0; |
5eb8189c | 9834 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9835 | int result; |
9836 | void *argp1 = 0 ; | |
9837 | int res1 = 0 ; | |
9838 | PyObject *swig_obj[1] ; | |
9839 | ||
9840 | if (!args) SWIG_fail; | |
9841 | swig_obj[0] = args; | |
5eb8189c | 9842 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9843 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9845 | } |
5eb8189c | 9846 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9847 | result = (int) ((arg1)->type); |
9848 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9849 | return resultobj; | |
9850 | fail: | |
9851 | return NULL; | |
9852 | } | |
9853 | ||
9854 | ||
5eb8189c | 9855 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9856 | PyObject *resultobj = 0; |
5eb8189c | 9857 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9858 | int arg2 ; |
9859 | void *argp1 = 0 ; | |
9860 | int res1 = 0 ; | |
9861 | int val2 ; | |
9862 | int ecode2 = 0 ; | |
9863 | PyObject *swig_obj[2] ; | |
9864 | ||
5eb8189c RD |
9865 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
9866 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9867 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9869 | } |
5eb8189c | 9870 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9871 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9872 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9873 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9874 | } |
9875 | arg2 = static_cast< int >(val2); | |
9876 | if (arg1) (arg1)->orientation = arg2; | |
9877 | ||
9878 | resultobj = SWIG_Py_Void(); | |
9879 | return resultobj; | |
9880 | fail: | |
9881 | return NULL; | |
9882 | } | |
9883 | ||
9884 | ||
5eb8189c | 9885 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9886 | PyObject *resultobj = 0; |
5eb8189c | 9887 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9888 | int result; |
9889 | void *argp1 = 0 ; | |
9890 | int res1 = 0 ; | |
9891 | PyObject *swig_obj[1] ; | |
9892 | ||
9893 | if (!args) SWIG_fail; | |
9894 | swig_obj[0] = args; | |
5eb8189c | 9895 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9896 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9898 | } |
5eb8189c | 9899 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9900 | result = (int) ((arg1)->orientation); |
9901 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9902 | return resultobj; | |
9903 | fail: | |
9904 | return NULL; | |
9905 | } | |
9906 | ||
9907 | ||
5eb8189c | 9908 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9909 | PyObject *resultobj = 0; |
5eb8189c RD |
9910 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9911 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
9912 | void *argp1 = 0 ; |
9913 | int res1 = 0 ; | |
9914 | void *argp2 = 0 ; | |
9915 | int res2 = 0 ; | |
9916 | PyObject *swig_obj[2] ; | |
9917 | ||
5eb8189c RD |
9918 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
9919 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9920 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9922 | } |
5eb8189c RD |
9923 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
9924 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9925 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9926 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9927 | } |
5eb8189c | 9928 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
9929 | if (arg1) (arg1)->dock = arg2; |
9930 | ||
9931 | resultobj = SWIG_Py_Void(); | |
9932 | return resultobj; | |
9933 | fail: | |
9934 | return NULL; | |
9935 | } | |
9936 | ||
9937 | ||
5eb8189c | 9938 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9939 | PyObject *resultobj = 0; |
5eb8189c RD |
9940 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9941 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
9942 | void *argp1 = 0 ; |
9943 | int res1 = 0 ; | |
9944 | PyObject *swig_obj[1] ; | |
9945 | ||
9946 | if (!args) SWIG_fail; | |
9947 | swig_obj[0] = args; | |
5eb8189c | 9948 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9949 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9951 | } |
5eb8189c RD |
9952 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
9953 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
9954 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
9955 | return resultobj; |
9956 | fail: | |
9957 | return NULL; | |
9958 | } | |
9959 | ||
9960 | ||
5eb8189c | 9961 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9962 | PyObject *resultobj = 0; |
5eb8189c RD |
9963 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9964 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9965 | void *argp1 = 0 ; |
9966 | int res1 = 0 ; | |
9967 | void *argp2 = 0 ; | |
9968 | int res2 = 0 ; | |
9969 | PyObject *swig_obj[2] ; | |
9970 | ||
5eb8189c RD |
9971 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
9972 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9973 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9975 | } |
5eb8189c RD |
9976 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
9977 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9978 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9979 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9980 | } |
5eb8189c | 9981 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9982 | if (arg1) (arg1)->pane = arg2; |
9983 | ||
9984 | resultobj = SWIG_Py_Void(); | |
9985 | return resultobj; | |
9986 | fail: | |
9987 | return NULL; | |
9988 | } | |
9989 | ||
9990 | ||
5eb8189c | 9991 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9992 | PyObject *resultobj = 0; |
5eb8189c RD |
9993 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9994 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9995 | void *argp1 = 0 ; |
9996 | int res1 = 0 ; | |
9997 | PyObject *swig_obj[1] ; | |
9998 | ||
9999 | if (!args) SWIG_fail; | |
10000 | swig_obj[0] = args; | |
5eb8189c | 10001 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10002 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10004 | } |
5eb8189c RD |
10005 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10006 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10007 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10008 | return resultobj; |
10009 | fail: | |
10010 | return NULL; | |
10011 | } | |
10012 | ||
10013 | ||
5eb8189c | 10014 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10015 | PyObject *resultobj = 0; |
5eb8189c RD |
10016 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10017 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10018 | void *argp1 = 0 ; |
10019 | int res1 = 0 ; | |
10020 | void *argp2 = 0 ; | |
10021 | int res2 = 0 ; | |
10022 | PyObject *swig_obj[2] ; | |
10023 | ||
5eb8189c RD |
10024 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10026 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10028 | } |
5eb8189c RD |
10029 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10030 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10031 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10032 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10033 | } |
5eb8189c | 10034 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10035 | if (arg1) (arg1)->button = arg2; |
10036 | ||
10037 | resultobj = SWIG_Py_Void(); | |
10038 | return resultobj; | |
10039 | fail: | |
10040 | return NULL; | |
10041 | } | |
10042 | ||
10043 | ||
5eb8189c | 10044 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10045 | PyObject *resultobj = 0; |
5eb8189c RD |
10046 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10047 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10048 | void *argp1 = 0 ; |
10049 | int res1 = 0 ; | |
10050 | PyObject *swig_obj[1] ; | |
10051 | ||
10052 | if (!args) SWIG_fail; | |
10053 | swig_obj[0] = args; | |
5eb8189c | 10054 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10055 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10057 | } |
5eb8189c RD |
10058 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10059 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10060 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10061 | return resultobj; |
10062 | fail: | |
10063 | return NULL; | |
10064 | } | |
10065 | ||
10066 | ||
5eb8189c | 10067 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10068 | PyObject *resultobj = 0; |
5eb8189c | 10069 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10070 | wxSizer *arg2 = (wxSizer *) 0 ; |
10071 | void *argp1 = 0 ; | |
10072 | int res1 = 0 ; | |
10073 | void *argp2 = 0 ; | |
10074 | int res2 = 0 ; | |
10075 | PyObject *swig_obj[2] ; | |
10076 | ||
5eb8189c RD |
10077 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10079 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10081 | } |
5eb8189c | 10082 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10083 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10084 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10085 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10086 | } |
10087 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10088 | if (arg1) (arg1)->cont_sizer = arg2; | |
10089 | ||
10090 | resultobj = SWIG_Py_Void(); | |
10091 | return resultobj; | |
10092 | fail: | |
10093 | return NULL; | |
10094 | } | |
10095 | ||
10096 | ||
5eb8189c | 10097 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10098 | PyObject *resultobj = 0; |
5eb8189c | 10099 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10100 | wxSizer *result = 0 ; |
10101 | void *argp1 = 0 ; | |
10102 | int res1 = 0 ; | |
10103 | PyObject *swig_obj[1] ; | |
10104 | ||
10105 | if (!args) SWIG_fail; | |
10106 | swig_obj[0] = args; | |
5eb8189c | 10107 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10108 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10109 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10110 | } |
5eb8189c | 10111 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10112 | result = (wxSizer *) ((arg1)->cont_sizer); |
10113 | { | |
10114 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10115 | } | |
10116 | return resultobj; | |
10117 | fail: | |
10118 | return NULL; | |
10119 | } | |
10120 | ||
10121 | ||
5eb8189c | 10122 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10123 | PyObject *resultobj = 0; |
5eb8189c | 10124 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10125 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10126 | void *argp1 = 0 ; | |
10127 | int res1 = 0 ; | |
10128 | void *argp2 = 0 ; | |
10129 | int res2 = 0 ; | |
10130 | PyObject *swig_obj[2] ; | |
10131 | ||
5eb8189c RD |
10132 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10133 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10134 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10135 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10136 | } |
5eb8189c | 10137 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10138 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10139 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10140 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10141 | } |
10142 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10143 | if (arg1) (arg1)->sizer_item = arg2; | |
10144 | ||
10145 | resultobj = SWIG_Py_Void(); | |
10146 | return resultobj; | |
10147 | fail: | |
10148 | return NULL; | |
10149 | } | |
10150 | ||
10151 | ||
5eb8189c | 10152 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10153 | PyObject *resultobj = 0; |
5eb8189c | 10154 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10155 | wxSizerItem *result = 0 ; |
10156 | void *argp1 = 0 ; | |
10157 | int res1 = 0 ; | |
10158 | PyObject *swig_obj[1] ; | |
10159 | ||
10160 | if (!args) SWIG_fail; | |
10161 | swig_obj[0] = args; | |
5eb8189c | 10162 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10163 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10164 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10165 | } |
5eb8189c | 10166 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10167 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10168 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10169 | return resultobj; | |
10170 | fail: | |
10171 | return NULL; | |
10172 | } | |
10173 | ||
10174 | ||
5eb8189c | 10175 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10176 | PyObject *resultobj = 0; |
5eb8189c | 10177 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10178 | wxRect *arg2 = (wxRect *) 0 ; |
10179 | void *argp1 = 0 ; | |
10180 | int res1 = 0 ; | |
10181 | void *argp2 = 0 ; | |
10182 | int res2 = 0 ; | |
10183 | PyObject *swig_obj[2] ; | |
10184 | ||
5eb8189c RD |
10185 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10186 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10187 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10188 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10189 | } |
5eb8189c | 10190 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10191 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10192 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10193 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10194 | } |
10195 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10196 | if (arg1) (arg1)->rect = *arg2; | |
10197 | ||
10198 | resultobj = SWIG_Py_Void(); | |
10199 | return resultobj; | |
10200 | fail: | |
10201 | return NULL; | |
10202 | } | |
10203 | ||
10204 | ||
5eb8189c | 10205 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10206 | PyObject *resultobj = 0; |
5eb8189c | 10207 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10208 | wxRect *result = 0 ; |
10209 | void *argp1 = 0 ; | |
10210 | int res1 = 0 ; | |
10211 | PyObject *swig_obj[1] ; | |
10212 | ||
10213 | if (!args) SWIG_fail; | |
10214 | swig_obj[0] = args; | |
5eb8189c | 10215 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10216 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10217 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10218 | } |
5eb8189c | 10219 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10220 | result = (wxRect *)& ((arg1)->rect); |
10221 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10222 | return resultobj; | |
10223 | fail: | |
10224 | return NULL; | |
10225 | } | |
10226 | ||
10227 | ||
5eb8189c | 10228 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10229 | PyObject *resultobj = 0; |
5eb8189c | 10230 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10231 | void *argp1 = 0 ; |
10232 | int res1 = 0 ; | |
10233 | PyObject *swig_obj[1] ; | |
10234 | ||
10235 | if (!args) SWIG_fail; | |
10236 | swig_obj[0] = args; | |
5eb8189c | 10237 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10238 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10240 | } |
5eb8189c | 10241 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10242 | { |
10243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10244 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10245 | |
10246 | wxPyEndAllowThreads(__tstate); | |
10247 | if (PyErr_Occurred()) SWIG_fail; | |
10248 | } | |
10249 | resultobj = SWIG_Py_Void(); | |
10250 | return resultobj; | |
10251 | fail: | |
10252 | return NULL; | |
10253 | } | |
10254 | ||
10255 | ||
5eb8189c | 10256 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10257 | PyObject *obj; |
10258 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10259 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10260 | return SWIG_Py_Void(); |
10261 | } | |
10262 | ||
5eb8189c | 10263 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10264 | PyObject *resultobj = 0; |
5eb8189c | 10265 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10266 | int arg2 ; |
10267 | void *argp1 = 0 ; | |
10268 | int res1 = 0 ; | |
10269 | int val2 ; | |
10270 | int ecode2 = 0 ; | |
10271 | PyObject *swig_obj[2] ; | |
10272 | ||
5eb8189c RD |
10273 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10274 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10275 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10277 | } |
5eb8189c | 10278 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10279 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10280 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10281 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10282 | } |
10283 | arg2 = static_cast< int >(val2); | |
10284 | if (arg1) (arg1)->button_id = arg2; | |
10285 | ||
10286 | resultobj = SWIG_Py_Void(); | |
10287 | return resultobj; | |
10288 | fail: | |
10289 | return NULL; | |
10290 | } | |
10291 | ||
10292 | ||
5eb8189c | 10293 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10294 | PyObject *resultobj = 0; |
5eb8189c | 10295 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10296 | int result; |
10297 | void *argp1 = 0 ; | |
10298 | int res1 = 0 ; | |
10299 | PyObject *swig_obj[1] ; | |
10300 | ||
10301 | if (!args) SWIG_fail; | |
10302 | swig_obj[0] = args; | |
5eb8189c | 10303 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10304 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10306 | } |
5eb8189c | 10307 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10308 | result = (int) ((arg1)->button_id); |
10309 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10310 | return resultobj; | |
10311 | fail: | |
10312 | return NULL; | |
10313 | } | |
10314 | ||
10315 | ||
5eb8189c | 10316 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10317 | PyObject *resultobj = 0; |
5eb8189c | 10318 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10319 | void *argp1 = 0 ; |
10320 | int res1 = 0 ; | |
10321 | PyObject *swig_obj[1] ; | |
10322 | ||
10323 | if (!args) SWIG_fail; | |
10324 | swig_obj[0] = args; | |
5eb8189c | 10325 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10326 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10327 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10328 | } |
5eb8189c | 10329 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10330 | { |
10331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10332 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10333 | |
10334 | wxPyEndAllowThreads(__tstate); | |
10335 | if (PyErr_Occurred()) SWIG_fail; | |
10336 | } | |
10337 | resultobj = SWIG_Py_Void(); | |
10338 | return resultobj; | |
10339 | fail: | |
10340 | return NULL; | |
10341 | } | |
10342 | ||
10343 | ||
5eb8189c | 10344 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10345 | PyObject *obj; |
10346 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10347 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10348 | return SWIG_Py_Void(); |
10349 | } | |
10350 | ||
5eb8189c | 10351 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10352 | PyObject *resultobj = 0; |
5eb8189c | 10353 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10354 | void *argp1 = 0 ; |
10355 | int res1 = 0 ; | |
10356 | PyObject *swig_obj[1] ; | |
10357 | ||
10358 | if (!args) SWIG_fail; | |
10359 | swig_obj[0] = args; | |
5eb8189c | 10360 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10361 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10363 | } |
5eb8189c | 10364 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10365 | { |
10366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10367 | delete arg1; | |
10368 | ||
10369 | wxPyEndAllowThreads(__tstate); | |
10370 | if (PyErr_Occurred()) SWIG_fail; | |
10371 | } | |
10372 | resultobj = SWIG_Py_Void(); | |
10373 | return resultobj; | |
10374 | fail: | |
10375 | return NULL; | |
10376 | } | |
10377 | ||
10378 | ||
5eb8189c | 10379 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10380 | PyObject *resultobj = 0; |
5eb8189c | 10381 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10382 | int arg2 ; |
10383 | int result; | |
10384 | void *argp1 = 0 ; | |
10385 | int res1 = 0 ; | |
10386 | int val2 ; | |
10387 | int ecode2 = 0 ; | |
10388 | PyObject * obj0 = 0 ; | |
10389 | PyObject * obj1 = 0 ; | |
10390 | char * kwnames[] = { | |
10391 | (char *) "self",(char *) "id", NULL | |
10392 | }; | |
10393 | ||
5eb8189c RD |
10394 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10395 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10396 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10397 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10398 | } |
5eb8189c | 10399 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10400 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10401 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10402 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10403 | } |
10404 | arg2 = static_cast< int >(val2); | |
10405 | { | |
10406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10407 | result = (int)(arg1)->GetMetric(arg2); | |
10408 | wxPyEndAllowThreads(__tstate); | |
10409 | if (PyErr_Occurred()) SWIG_fail; | |
10410 | } | |
10411 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10412 | return resultobj; | |
10413 | fail: | |
10414 | return NULL; | |
10415 | } | |
10416 | ||
10417 | ||
5eb8189c | 10418 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10419 | PyObject *resultobj = 0; |
5eb8189c | 10420 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10421 | int arg2 ; |
10422 | int arg3 ; | |
10423 | void *argp1 = 0 ; | |
10424 | int res1 = 0 ; | |
10425 | int val2 ; | |
10426 | int ecode2 = 0 ; | |
10427 | int val3 ; | |
10428 | int ecode3 = 0 ; | |
10429 | PyObject * obj0 = 0 ; | |
10430 | PyObject * obj1 = 0 ; | |
10431 | PyObject * obj2 = 0 ; | |
10432 | char * kwnames[] = { | |
10433 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10434 | }; | |
10435 | ||
5eb8189c RD |
10436 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10437 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10438 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10439 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10440 | } |
5eb8189c | 10441 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10442 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10443 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10444 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10445 | } |
10446 | arg2 = static_cast< int >(val2); | |
10447 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10448 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10449 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10450 | } |
10451 | arg3 = static_cast< int >(val3); | |
10452 | { | |
10453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10454 | (arg1)->SetMetric(arg2,arg3); | |
10455 | wxPyEndAllowThreads(__tstate); | |
10456 | if (PyErr_Occurred()) SWIG_fail; | |
10457 | } | |
10458 | resultobj = SWIG_Py_Void(); | |
10459 | return resultobj; | |
10460 | fail: | |
10461 | return NULL; | |
10462 | } | |
10463 | ||
10464 | ||
5eb8189c | 10465 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10466 | PyObject *resultobj = 0; |
5eb8189c | 10467 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10468 | int arg2 ; |
10469 | wxFont *arg3 = 0 ; | |
10470 | void *argp1 = 0 ; | |
10471 | int res1 = 0 ; | |
10472 | int val2 ; | |
10473 | int ecode2 = 0 ; | |
10474 | void *argp3 = 0 ; | |
10475 | int res3 = 0 ; | |
10476 | PyObject * obj0 = 0 ; | |
10477 | PyObject * obj1 = 0 ; | |
10478 | PyObject * obj2 = 0 ; | |
10479 | char * kwnames[] = { | |
10480 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10481 | }; | |
10482 | ||
5eb8189c RD |
10483 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10484 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10485 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10486 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10487 | } |
5eb8189c | 10488 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10489 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10490 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10491 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10492 | } |
10493 | arg2 = static_cast< int >(val2); | |
10494 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10495 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10496 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10497 | } |
10498 | if (!argp3) { | |
5eb8189c | 10499 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10500 | } |
10501 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10502 | { | |
10503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10504 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10505 | wxPyEndAllowThreads(__tstate); | |
10506 | if (PyErr_Occurred()) SWIG_fail; | |
10507 | } | |
10508 | resultobj = SWIG_Py_Void(); | |
10509 | return resultobj; | |
10510 | fail: | |
10511 | return NULL; | |
10512 | } | |
10513 | ||
10514 | ||
5eb8189c | 10515 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10516 | PyObject *resultobj = 0; |
5eb8189c | 10517 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10518 | int arg2 ; |
10519 | wxFont result; | |
10520 | void *argp1 = 0 ; | |
10521 | int res1 = 0 ; | |
10522 | int val2 ; | |
10523 | int ecode2 = 0 ; | |
10524 | PyObject * obj0 = 0 ; | |
10525 | PyObject * obj1 = 0 ; | |
10526 | char * kwnames[] = { | |
10527 | (char *) "self",(char *) "id", NULL | |
10528 | }; | |
10529 | ||
5eb8189c RD |
10530 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10531 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10532 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10534 | } |
5eb8189c | 10535 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10536 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10537 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10538 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10539 | } |
10540 | arg2 = static_cast< int >(val2); | |
10541 | { | |
10542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10543 | result = (arg1)->GetFont(arg2); | |
10544 | wxPyEndAllowThreads(__tstate); | |
10545 | if (PyErr_Occurred()) SWIG_fail; | |
10546 | } | |
10547 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10548 | return resultobj; | |
10549 | fail: | |
10550 | return NULL; | |
10551 | } | |
10552 | ||
10553 | ||
5eb8189c | 10554 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10555 | PyObject *resultobj = 0; |
5eb8189c | 10556 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10557 | int arg2 ; |
10558 | wxColour result; | |
10559 | void *argp1 = 0 ; | |
10560 | int res1 = 0 ; | |
10561 | int val2 ; | |
10562 | int ecode2 = 0 ; | |
10563 | PyObject * obj0 = 0 ; | |
10564 | PyObject * obj1 = 0 ; | |
10565 | char * kwnames[] = { | |
10566 | (char *) "self",(char *) "id", NULL | |
10567 | }; | |
10568 | ||
5eb8189c RD |
10569 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10570 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10571 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10572 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10573 | } |
5eb8189c | 10574 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10575 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10576 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10577 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10578 | } |
10579 | arg2 = static_cast< int >(val2); | |
10580 | { | |
10581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10582 | result = (arg1)->GetColour(arg2); | |
10583 | wxPyEndAllowThreads(__tstate); | |
10584 | if (PyErr_Occurred()) SWIG_fail; | |
10585 | } | |
10586 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10587 | return resultobj; | |
10588 | fail: | |
10589 | return NULL; | |
10590 | } | |
10591 | ||
10592 | ||
5eb8189c | 10593 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10594 | PyObject *resultobj = 0; |
5eb8189c | 10595 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10596 | int arg2 ; |
10597 | wxColor *arg3 = 0 ; | |
10598 | void *argp1 = 0 ; | |
10599 | int res1 = 0 ; | |
10600 | int val2 ; | |
10601 | int ecode2 = 0 ; | |
10602 | void *argp3 = 0 ; | |
10603 | int res3 = 0 ; | |
10604 | PyObject * obj0 = 0 ; | |
10605 | PyObject * obj1 = 0 ; | |
10606 | PyObject * obj2 = 0 ; | |
10607 | char * kwnames[] = { | |
10608 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10609 | }; | |
10610 | ||
5eb8189c RD |
10611 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10612 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10613 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10614 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10615 | } |
5eb8189c | 10616 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10617 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10618 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10619 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10620 | } |
10621 | arg2 = static_cast< int >(val2); | |
10622 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10623 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10624 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10625 | } |
10626 | if (!argp3) { | |
5eb8189c | 10627 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10628 | } |
10629 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
10630 | { | |
10631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10632 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
10633 | wxPyEndAllowThreads(__tstate); | |
10634 | if (PyErr_Occurred()) SWIG_fail; | |
10635 | } | |
10636 | resultobj = SWIG_Py_Void(); | |
10637 | return resultobj; | |
10638 | fail: | |
10639 | return NULL; | |
10640 | } | |
10641 | ||
10642 | ||
5eb8189c | 10643 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10644 | PyObject *resultobj = 0; |
5eb8189c | 10645 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10646 | int arg2 ; |
10647 | wxColour result; | |
10648 | void *argp1 = 0 ; | |
10649 | int res1 = 0 ; | |
10650 | int val2 ; | |
10651 | int ecode2 = 0 ; | |
10652 | PyObject * obj0 = 0 ; | |
10653 | PyObject * obj1 = 0 ; | |
10654 | char * kwnames[] = { | |
10655 | (char *) "self",(char *) "id", NULL | |
10656 | }; | |
10657 | ||
5eb8189c RD |
10658 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
10659 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10660 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10662 | } |
5eb8189c | 10663 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10664 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10665 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10666 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10667 | } |
10668 | arg2 = static_cast< int >(val2); | |
10669 | { | |
10670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10671 | result = (arg1)->GetColor(arg2); | |
10672 | wxPyEndAllowThreads(__tstate); | |
10673 | if (PyErr_Occurred()) SWIG_fail; | |
10674 | } | |
10675 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10676 | return resultobj; | |
10677 | fail: | |
10678 | return NULL; | |
10679 | } | |
10680 | ||
10681 | ||
5eb8189c | 10682 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10683 | PyObject *resultobj = 0; |
5eb8189c | 10684 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10685 | int arg2 ; |
10686 | wxColour *arg3 = 0 ; | |
10687 | void *argp1 = 0 ; | |
10688 | int res1 = 0 ; | |
10689 | int val2 ; | |
10690 | int ecode2 = 0 ; | |
10691 | wxColour temp3 ; | |
10692 | PyObject * obj0 = 0 ; | |
10693 | PyObject * obj1 = 0 ; | |
10694 | PyObject * obj2 = 0 ; | |
10695 | char * kwnames[] = { | |
10696 | (char *) "self",(char *) "id",(char *) "color", NULL | |
10697 | }; | |
10698 | ||
5eb8189c RD |
10699 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10700 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10701 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10702 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10703 | } |
5eb8189c | 10704 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10705 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10706 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10707 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10708 | } |
10709 | arg2 = static_cast< int >(val2); | |
10710 | { | |
10711 | arg3 = &temp3; | |
10712 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10713 | } | |
10714 | { | |
10715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10716 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
10717 | wxPyEndAllowThreads(__tstate); | |
10718 | if (PyErr_Occurred()) SWIG_fail; | |
10719 | } | |
10720 | resultobj = SWIG_Py_Void(); | |
10721 | return resultobj; | |
10722 | fail: | |
10723 | return NULL; | |
10724 | } | |
10725 | ||
10726 | ||
5eb8189c | 10727 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10728 | PyObject *resultobj = 0; |
5eb8189c | 10729 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10730 | wxDC *arg2 = 0 ; |
ac5d357a RD |
10731 | wxWindow *arg3 = (wxWindow *) 0 ; |
10732 | int arg4 ; | |
10733 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10734 | void *argp1 = 0 ; |
10735 | int res1 = 0 ; | |
10736 | void *argp2 = 0 ; | |
10737 | int res2 = 0 ; | |
ac5d357a RD |
10738 | void *argp3 = 0 ; |
10739 | int res3 = 0 ; | |
10740 | int val4 ; | |
10741 | int ecode4 = 0 ; | |
10742 | wxRect temp5 ; | |
27e45892 RD |
10743 | PyObject * obj0 = 0 ; |
10744 | PyObject * obj1 = 0 ; | |
10745 | PyObject * obj2 = 0 ; | |
10746 | PyObject * obj3 = 0 ; | |
ac5d357a | 10747 | PyObject * obj4 = 0 ; |
27e45892 | 10748 | char * kwnames[] = { |
ac5d357a | 10749 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10750 | }; |
10751 | ||
5eb8189c RD |
10752 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10753 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10754 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10756 | } |
5eb8189c | 10757 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10758 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10759 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10760 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10761 | } |
10762 | if (!argp2) { | |
5eb8189c | 10763 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10764 | } |
10765 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10766 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10767 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10768 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
10769 | } |
10770 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10771 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10772 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 10773 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 10774 | } |
ac5d357a | 10775 | arg4 = static_cast< int >(val4); |
27e45892 | 10776 | { |
ac5d357a RD |
10777 | arg5 = &temp5; |
10778 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10779 | } |
10780 | { | |
10781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10782 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10783 | wxPyEndAllowThreads(__tstate); |
10784 | if (PyErr_Occurred()) SWIG_fail; | |
10785 | } | |
10786 | resultobj = SWIG_Py_Void(); | |
10787 | return resultobj; | |
10788 | fail: | |
10789 | return NULL; | |
10790 | } | |
10791 | ||
10792 | ||
5eb8189c | 10793 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10794 | PyObject *resultobj = 0; |
5eb8189c | 10795 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10796 | wxDC *arg2 = 0 ; |
ac5d357a RD |
10797 | wxWindow *arg3 = (wxWindow *) 0 ; |
10798 | int arg4 ; | |
10799 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10800 | void *argp1 = 0 ; |
10801 | int res1 = 0 ; | |
10802 | void *argp2 = 0 ; | |
10803 | int res2 = 0 ; | |
ac5d357a RD |
10804 | void *argp3 = 0 ; |
10805 | int res3 = 0 ; | |
10806 | int val4 ; | |
10807 | int ecode4 = 0 ; | |
10808 | wxRect temp5 ; | |
27e45892 RD |
10809 | PyObject * obj0 = 0 ; |
10810 | PyObject * obj1 = 0 ; | |
10811 | PyObject * obj2 = 0 ; | |
10812 | PyObject * obj3 = 0 ; | |
ac5d357a | 10813 | PyObject * obj4 = 0 ; |
27e45892 | 10814 | char * kwnames[] = { |
ac5d357a | 10815 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10816 | }; |
10817 | ||
5eb8189c RD |
10818 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10819 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10820 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10822 | } |
5eb8189c | 10823 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10824 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10825 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10826 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10827 | } |
10828 | if (!argp2) { | |
5eb8189c | 10829 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10830 | } |
10831 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10832 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10833 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10834 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
10835 | } |
10836 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10837 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10838 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 10839 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 10840 | } |
ac5d357a | 10841 | arg4 = static_cast< int >(val4); |
27e45892 | 10842 | { |
ac5d357a RD |
10843 | arg5 = &temp5; |
10844 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10845 | } |
10846 | { | |
10847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10848 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10849 | wxPyEndAllowThreads(__tstate); |
10850 | if (PyErr_Occurred()) SWIG_fail; | |
10851 | } | |
10852 | resultobj = SWIG_Py_Void(); | |
10853 | return resultobj; | |
10854 | fail: | |
10855 | return NULL; | |
10856 | } | |
10857 | ||
10858 | ||
5eb8189c | 10859 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10860 | PyObject *resultobj = 0; |
5eb8189c | 10861 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10862 | wxDC *arg2 = 0 ; |
ac5d357a RD |
10863 | wxWindow *arg3 = (wxWindow *) 0 ; |
10864 | wxString *arg4 = 0 ; | |
10865 | wxRect *arg5 = 0 ; | |
5eb8189c | 10866 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
10867 | void *argp1 = 0 ; |
10868 | int res1 = 0 ; | |
10869 | void *argp2 = 0 ; | |
10870 | int res2 = 0 ; | |
ac5d357a RD |
10871 | void *argp3 = 0 ; |
10872 | int res3 = 0 ; | |
10873 | bool temp4 = false ; | |
10874 | wxRect temp5 ; | |
10875 | void *argp6 = 0 ; | |
10876 | int res6 = 0 ; | |
27e45892 RD |
10877 | PyObject * obj0 = 0 ; |
10878 | PyObject * obj1 = 0 ; | |
10879 | PyObject * obj2 = 0 ; | |
10880 | PyObject * obj3 = 0 ; | |
10881 | PyObject * obj4 = 0 ; | |
ac5d357a | 10882 | PyObject * obj5 = 0 ; |
27e45892 | 10883 | char * kwnames[] = { |
ac5d357a | 10884 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10885 | }; |
10886 | ||
5eb8189c RD |
10887 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
10888 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10889 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10890 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10891 | } |
5eb8189c | 10892 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10893 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10894 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10895 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10896 | } |
10897 | if (!argp2) { | |
5eb8189c | 10898 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10899 | } |
10900 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10901 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10902 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10903 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
10904 | } |
10905 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10906 | { |
ac5d357a RD |
10907 | arg4 = wxString_in_helper(obj3); |
10908 | if (arg4 == NULL) SWIG_fail; | |
10909 | temp4 = true; | |
27e45892 RD |
10910 | } |
10911 | { | |
ac5d357a RD |
10912 | arg5 = &temp5; |
10913 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 10914 | } |
5eb8189c | 10915 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 10916 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 10917 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 10918 | } |
ac5d357a | 10919 | if (!argp6) { |
5eb8189c | 10920 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 10921 | } |
5eb8189c | 10922 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
10923 | { |
10924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 10925 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
10926 | wxPyEndAllowThreads(__tstate); |
10927 | if (PyErr_Occurred()) SWIG_fail; | |
10928 | } | |
10929 | resultobj = SWIG_Py_Void(); | |
10930 | { | |
ac5d357a RD |
10931 | if (temp4) |
10932 | delete arg4; | |
27e45892 RD |
10933 | } |
10934 | return resultobj; | |
10935 | fail: | |
10936 | { | |
ac5d357a RD |
10937 | if (temp4) |
10938 | delete arg4; | |
27e45892 RD |
10939 | } |
10940 | return NULL; | |
10941 | } | |
10942 | ||
10943 | ||
5eb8189c | 10944 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10945 | PyObject *resultobj = 0; |
5eb8189c | 10946 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10947 | wxDC *arg2 = 0 ; |
ac5d357a RD |
10948 | wxWindow *arg3 = (wxWindow *) 0 ; |
10949 | wxRect *arg4 = 0 ; | |
5eb8189c | 10950 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
10951 | void *argp1 = 0 ; |
10952 | int res1 = 0 ; | |
10953 | void *argp2 = 0 ; | |
10954 | int res2 = 0 ; | |
ac5d357a RD |
10955 | void *argp3 = 0 ; |
10956 | int res3 = 0 ; | |
10957 | wxRect temp4 ; | |
10958 | void *argp5 = 0 ; | |
10959 | int res5 = 0 ; | |
27e45892 RD |
10960 | PyObject * obj0 = 0 ; |
10961 | PyObject * obj1 = 0 ; | |
10962 | PyObject * obj2 = 0 ; | |
10963 | PyObject * obj3 = 0 ; | |
ac5d357a | 10964 | PyObject * obj4 = 0 ; |
27e45892 | 10965 | char * kwnames[] = { |
ac5d357a | 10966 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10967 | }; |
10968 | ||
5eb8189c RD |
10969 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10970 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10971 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10973 | } |
5eb8189c | 10974 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10975 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10976 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10977 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10978 | } |
10979 | if (!argp2) { | |
5eb8189c | 10980 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10981 | } |
10982 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
10983 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10984 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10985 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
10986 | } |
10987 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10988 | { |
ac5d357a RD |
10989 | arg4 = &temp4; |
10990 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 10991 | } |
5eb8189c | 10992 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 10993 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 10994 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 10995 | } |
ac5d357a | 10996 | if (!argp5) { |
5eb8189c | 10997 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 10998 | } |
5eb8189c | 10999 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11000 | { |
11001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11002 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11003 | wxPyEndAllowThreads(__tstate); |
11004 | if (PyErr_Occurred()) SWIG_fail; | |
11005 | } | |
11006 | resultobj = SWIG_Py_Void(); | |
11007 | return resultobj; | |
11008 | fail: | |
11009 | return NULL; | |
11010 | } | |
11011 | ||
11012 | ||
5eb8189c | 11013 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11014 | PyObject *resultobj = 0; |
5eb8189c | 11015 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11016 | wxDC *arg2 = 0 ; |
ac5d357a RD |
11017 | wxWindow *arg3 = (wxWindow *) 0 ; |
11018 | wxRect *arg4 = 0 ; | |
5eb8189c | 11019 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11020 | void *argp1 = 0 ; |
11021 | int res1 = 0 ; | |
11022 | void *argp2 = 0 ; | |
11023 | int res2 = 0 ; | |
ac5d357a RD |
11024 | void *argp3 = 0 ; |
11025 | int res3 = 0 ; | |
11026 | wxRect temp4 ; | |
11027 | void *argp5 = 0 ; | |
11028 | int res5 = 0 ; | |
27e45892 RD |
11029 | PyObject * obj0 = 0 ; |
11030 | PyObject * obj1 = 0 ; | |
11031 | PyObject * obj2 = 0 ; | |
11032 | PyObject * obj3 = 0 ; | |
ac5d357a | 11033 | PyObject * obj4 = 0 ; |
27e45892 | 11034 | char * kwnames[] = { |
ac5d357a | 11035 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11036 | }; |
11037 | ||
5eb8189c RD |
11038 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11039 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11040 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11042 | } |
5eb8189c | 11043 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11044 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11045 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11046 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11047 | } |
11048 | if (!argp2) { | |
5eb8189c | 11049 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11050 | } |
11051 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11052 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11053 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11054 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11055 | } |
11056 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11057 | { |
ac5d357a RD |
11058 | arg4 = &temp4; |
11059 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11060 | } |
5eb8189c | 11061 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 11062 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11063 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11064 | } |
ac5d357a | 11065 | if (!argp5) { |
5eb8189c | 11066 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11067 | } |
5eb8189c | 11068 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11069 | { |
11070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11071 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11072 | wxPyEndAllowThreads(__tstate); |
11073 | if (PyErr_Occurred()) SWIG_fail; | |
11074 | } | |
11075 | resultobj = SWIG_Py_Void(); | |
11076 | return resultobj; | |
11077 | fail: | |
11078 | return NULL; | |
11079 | } | |
11080 | ||
11081 | ||
5eb8189c | 11082 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11083 | PyObject *resultobj = 0; |
5eb8189c | 11084 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11085 | wxDC *arg2 = 0 ; |
ac5d357a | 11086 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11087 | int arg4 ; |
ac5d357a RD |
11088 | int arg5 ; |
11089 | wxRect *arg6 = 0 ; | |
5eb8189c | 11090 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11091 | void *argp1 = 0 ; |
11092 | int res1 = 0 ; | |
11093 | void *argp2 = 0 ; | |
11094 | int res2 = 0 ; | |
ac5d357a RD |
11095 | void *argp3 = 0 ; |
11096 | int res3 = 0 ; | |
27e45892 RD |
11097 | int val4 ; |
11098 | int ecode4 = 0 ; | |
ac5d357a RD |
11099 | int val5 ; |
11100 | int ecode5 = 0 ; | |
11101 | wxRect temp6 ; | |
11102 | void *argp7 = 0 ; | |
11103 | int res7 = 0 ; | |
27e45892 RD |
11104 | PyObject * obj0 = 0 ; |
11105 | PyObject * obj1 = 0 ; | |
11106 | PyObject * obj2 = 0 ; | |
11107 | PyObject * obj3 = 0 ; | |
11108 | PyObject * obj4 = 0 ; | |
11109 | PyObject * obj5 = 0 ; | |
ac5d357a | 11110 | PyObject * obj6 = 0 ; |
27e45892 | 11111 | char * kwnames[] = { |
ac5d357a | 11112 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11113 | }; |
11114 | ||
5eb8189c RD |
11115 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11116 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11117 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11119 | } |
5eb8189c | 11120 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11121 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11122 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11123 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11124 | } |
11125 | if (!argp2) { | |
5eb8189c | 11126 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11127 | } |
11128 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11129 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11130 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11131 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11132 | } |
11133 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11134 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11135 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11136 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11137 | } |
11138 | arg4 = static_cast< int >(val4); | |
ac5d357a RD |
11139 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11140 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11141 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
ac5d357a RD |
11142 | } |
11143 | arg5 = static_cast< int >(val5); | |
27e45892 | 11144 | { |
ac5d357a RD |
11145 | arg6 = &temp6; |
11146 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11147 | } |
5eb8189c | 11148 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 11149 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11150 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11151 | } |
ac5d357a | 11152 | if (!argp7) { |
5eb8189c | 11153 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11154 | } |
5eb8189c | 11155 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11156 | { |
11157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11158 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11159 | wxPyEndAllowThreads(__tstate); |
11160 | if (PyErr_Occurred()) SWIG_fail; | |
11161 | } | |
11162 | resultobj = SWIG_Py_Void(); | |
11163 | return resultobj; | |
11164 | fail: | |
11165 | return NULL; | |
11166 | } | |
11167 | ||
11168 | ||
5eb8189c | 11169 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11170 | PyObject *obj; |
11171 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11172 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11173 | return SWIG_Py_Void(); |
11174 | } | |
11175 | ||
5eb8189c | 11176 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11177 | PyObject *resultobj = 0; |
5eb8189c | 11178 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11179 | |
5eb8189c | 11180 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11181 | { |
11182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11183 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11184 | wxPyEndAllowThreads(__tstate); |
11185 | if (PyErr_Occurred()) SWIG_fail; | |
11186 | } | |
5eb8189c | 11187 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11188 | return resultobj; |
11189 | fail: | |
11190 | return NULL; | |
11191 | } | |
11192 | ||
11193 | ||
5eb8189c | 11194 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11195 | PyObject *obj; |
11196 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11197 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11198 | return SWIG_Py_Void(); |
11199 | } | |
11200 | ||
5eb8189c | 11201 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11202 | return SWIG_Python_InitShadowInstance(args); |
11203 | } | |
11204 | ||
5eb8189c | 11205 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11206 | PyObject *resultobj = 0; |
11207 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11208 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11209 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11210 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11211 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11212 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11213 | void *argp1 = 0 ; |
11214 | int res1 = 0 ; | |
11215 | void *argp2 = 0 ; | |
11216 | int res2 = 0 ; | |
11217 | void *argp3 = 0 ; | |
11218 | int res3 = 0 ; | |
11219 | int val4 ; | |
11220 | int ecode4 = 0 ; | |
9b940138 RD |
11221 | long val5 ; |
11222 | int ecode5 = 0 ; | |
27e45892 RD |
11223 | PyObject * obj0 = 0 ; |
11224 | PyObject * obj1 = 0 ; | |
11225 | PyObject * obj2 = 0 ; | |
11226 | PyObject * obj3 = 0 ; | |
9b940138 | 11227 | PyObject * obj4 = 0 ; |
27e45892 | 11228 | char * kwnames[] = { |
9b940138 | 11229 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11230 | }; |
11231 | ||
5eb8189c | 11232 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11233 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11234 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11236 | } |
11237 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11238 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11239 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11240 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11241 | } |
5eb8189c RD |
11242 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11243 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11244 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11245 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11246 | } |
11247 | if (!argp3) { | |
5eb8189c | 11248 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11249 | } |
5eb8189c | 11250 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11251 | if (obj3) { |
11252 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11253 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11254 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11255 | } |
11256 | arg4 = static_cast< int >(val4); | |
11257 | } | |
9b940138 RD |
11258 | if (obj4) { |
11259 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11260 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11261 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11262 | } |
11263 | arg5 = static_cast< long >(val5); | |
11264 | } | |
27e45892 RD |
11265 | { |
11266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11267 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11268 | wxPyEndAllowThreads(__tstate); |
11269 | if (PyErr_Occurred()) SWIG_fail; | |
11270 | } | |
5eb8189c | 11271 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11272 | return resultobj; |
11273 | fail: | |
11274 | return NULL; | |
11275 | } | |
11276 | ||
11277 | ||
5eb8189c | 11278 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11279 | PyObject *resultobj = 0; |
5eb8189c | 11280 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11281 | void *argp1 = 0 ; |
11282 | int res1 = 0 ; | |
11283 | PyObject *swig_obj[1] ; | |
11284 | ||
11285 | if (!args) SWIG_fail; | |
11286 | swig_obj[0] = args; | |
5eb8189c | 11287 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11288 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11290 | } |
5eb8189c | 11291 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11292 | { |
11293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11294 | delete arg1; | |
11295 | ||
11296 | wxPyEndAllowThreads(__tstate); | |
11297 | if (PyErr_Occurred()) SWIG_fail; | |
11298 | } | |
11299 | resultobj = SWIG_Py_Void(); | |
11300 | return resultobj; | |
11301 | fail: | |
11302 | return NULL; | |
11303 | } | |
11304 | ||
11305 | ||
5eb8189c | 11306 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11307 | PyObject *resultobj = 0; |
5eb8189c RD |
11308 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11309 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11310 | void *argp1 = 0 ; |
11311 | int res1 = 0 ; | |
11312 | void *argp2 = 0 ; | |
11313 | int res2 = 0 ; | |
11314 | PyObject * obj0 = 0 ; | |
11315 | PyObject * obj1 = 0 ; | |
11316 | char * kwnames[] = { | |
11317 | (char *) "self",(char *) "pane", NULL | |
11318 | }; | |
11319 | ||
5eb8189c RD |
11320 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11321 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11322 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11324 | } |
5eb8189c RD |
11325 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11326 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11327 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11328 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11329 | } |
11330 | if (!argp2) { | |
5eb8189c | 11331 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11332 | } |
5eb8189c | 11333 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11334 | { |
11335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11336 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11337 | wxPyEndAllowThreads(__tstate); |
11338 | if (PyErr_Occurred()) SWIG_fail; | |
11339 | } | |
11340 | resultobj = SWIG_Py_Void(); | |
11341 | return resultobj; | |
11342 | fail: | |
11343 | return NULL; | |
11344 | } | |
11345 | ||
11346 | ||
5eb8189c | 11347 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11348 | PyObject *obj; |
11349 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11350 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11351 | return SWIG_Py_Void(); |
11352 | } | |
11353 | ||
5eb8189c | 11354 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11355 | return SWIG_Python_InitShadowInstance(args); |
11356 | } | |
11357 | ||
5eb8189c | 11358 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11359 | PyObject *resultobj = 0; |
5eb8189c | 11360 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
11361 | void *argp1 = 0 ; |
11362 | int res1 = 0 ; | |
11363 | PyObject *swig_obj[1] ; | |
11364 | ||
11365 | if (!args) SWIG_fail; | |
11366 | swig_obj[0] = args; | |
5eb8189c | 11367 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); |
5c8c7dd3 | 11368 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11369 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11370 | } |
5eb8189c | 11371 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
5c8c7dd3 RD |
11372 | { |
11373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11374 | delete arg1; | |
11375 | ||
11376 | wxPyEndAllowThreads(__tstate); | |
11377 | if (PyErr_Occurred()) SWIG_fail; | |
11378 | } | |
11379 | resultobj = SWIG_Py_Void(); | |
11380 | return resultobj; | |
11381 | fail: | |
11382 | return NULL; | |
11383 | } | |
11384 | ||
11385 | ||
5eb8189c | 11386 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11387 | PyObject *resultobj = 0; |
5eb8189c | 11388 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11389 | wxFont *arg2 = 0 ; |
11390 | void *argp1 = 0 ; | |
11391 | int res1 = 0 ; | |
11392 | void *argp2 = 0 ; | |
11393 | int res2 = 0 ; | |
11394 | PyObject * obj0 = 0 ; | |
11395 | PyObject * obj1 = 0 ; | |
11396 | char * kwnames[] = { | |
11397 | (char *) "self",(char *) "font", NULL | |
11398 | }; | |
11399 | ||
5eb8189c RD |
11400 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
11401 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
8f514ab4 | 11402 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 11404 | } |
5eb8189c | 11405 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 RD |
11406 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); |
11407 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11408 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11409 | } |
11410 | if (!argp2) { | |
5eb8189c | 11411 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11412 | } |
11413 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11414 | { | |
11415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11416 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
11417 | wxPyEndAllowThreads(__tstate); | |
11418 | if (PyErr_Occurred()) SWIG_fail; | |
11419 | } | |
11420 | resultobj = SWIG_Py_Void(); | |
11421 | return resultobj; | |
11422 | fail: | |
11423 | return NULL; | |
11424 | } | |
11425 | ||
11426 | ||
5eb8189c | 11427 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11428 | PyObject *resultobj = 0; |
5eb8189c | 11429 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11430 | wxFont *arg2 = 0 ; |
11431 | void *argp1 = 0 ; | |
11432 | int res1 = 0 ; | |
11433 | void *argp2 = 0 ; | |
11434 | int res2 = 0 ; | |
11435 | PyObject * obj0 = 0 ; | |
11436 | PyObject * obj1 = 0 ; | |
11437 | char * kwnames[] = { | |
11438 | (char *) "self",(char *) "font", NULL | |
11439 | }; | |
11440 | ||
5eb8189c RD |
11441 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; |
11442 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
8f514ab4 | 11443 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11444 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 11445 | } |
5eb8189c | 11446 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 RD |
11447 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); |
11448 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11449 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11450 | } |
11451 | if (!argp2) { | |
5eb8189c | 11452 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11453 | } |
11454 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11455 | { | |
11456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11457 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
11458 | wxPyEndAllowThreads(__tstate); | |
11459 | if (PyErr_Occurred()) SWIG_fail; | |
11460 | } | |
11461 | resultobj = SWIG_Py_Void(); | |
11462 | return resultobj; | |
11463 | fail: | |
11464 | return NULL; | |
11465 | } | |
11466 | ||
11467 | ||
5eb8189c | 11468 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11469 | PyObject *resultobj = 0; |
5eb8189c | 11470 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11471 | wxFont *arg2 = 0 ; |
11472 | void *argp1 = 0 ; | |
11473 | int res1 = 0 ; | |
11474 | void *argp2 = 0 ; | |
11475 | int res2 = 0 ; | |
11476 | PyObject * obj0 = 0 ; | |
11477 | PyObject * obj1 = 0 ; | |
11478 | char * kwnames[] = { | |
11479 | (char *) "self",(char *) "font", NULL | |
11480 | }; | |
11481 | ||
5eb8189c RD |
11482 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
11483 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
8f514ab4 | 11484 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 11486 | } |
5eb8189c | 11487 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 RD |
11488 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); |
11489 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11490 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11491 | } |
11492 | if (!argp2) { | |
5eb8189c | 11493 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11494 | } |
11495 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11496 | { | |
11497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11498 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
11499 | wxPyEndAllowThreads(__tstate); | |
11500 | if (PyErr_Occurred()) SWIG_fail; | |
11501 | } | |
11502 | resultobj = SWIG_Py_Void(); | |
11503 | return resultobj; | |
11504 | fail: | |
11505 | return NULL; | |
11506 | } | |
11507 | ||
11508 | ||
5eb8189c | 11509 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11510 | PyObject *resultobj = 0; |
5eb8189c | 11511 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
11512 | wxDC *arg2 = (wxDC *) 0 ; |
11513 | wxRect *arg3 = 0 ; | |
11514 | void *argp1 = 0 ; | |
11515 | int res1 = 0 ; | |
11516 | void *argp2 = 0 ; | |
11517 | int res2 = 0 ; | |
11518 | wxRect temp3 ; | |
11519 | PyObject * obj0 = 0 ; | |
11520 | PyObject * obj1 = 0 ; | |
11521 | PyObject * obj2 = 0 ; | |
11522 | char * kwnames[] = { | |
11523 | (char *) "self",(char *) "dc",(char *) "rect", NULL | |
11524 | }; | |
11525 | ||
5eb8189c RD |
11526 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11527 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 11528 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11530 | } |
5eb8189c | 11531 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
5c8c7dd3 RD |
11532 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
11533 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11534 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 RD |
11535 | } |
11536 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11537 | { | |
11538 | arg3 = &temp3; | |
11539 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
11540 | } | |
11541 | { | |
11542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11543 | (arg1)->DrawBackground(arg2,(wxRect const &)*arg3); | |
11544 | wxPyEndAllowThreads(__tstate); | |
11545 | if (PyErr_Occurred()) SWIG_fail; | |
11546 | } | |
11547 | resultobj = SWIG_Py_Void(); | |
11548 | return resultobj; | |
11549 | fail: | |
11550 | return NULL; | |
11551 | } | |
11552 | ||
11553 | ||
5eb8189c | 11554 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11555 | PyObject *resultobj = 0; |
5eb8189c | 11556 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
11557 | wxDC *arg2 = (wxDC *) 0 ; |
11558 | wxRect *arg3 = 0 ; | |
11559 | wxString *arg4 = 0 ; | |
11560 | bool arg5 ; | |
36cb9ebe | 11561 | int arg6 ; |
5eb8189c | 11562 | wxRect *arg7 = (wxRect *) 0 ; |
36cb9ebe RD |
11563 | wxRect *arg8 = (wxRect *) 0 ; |
11564 | int *arg9 = (int *) 0 ; | |
5c8c7dd3 RD |
11565 | void *argp1 = 0 ; |
11566 | int res1 = 0 ; | |
11567 | void *argp2 = 0 ; | |
11568 | int res2 = 0 ; | |
11569 | wxRect temp3 ; | |
11570 | bool temp4 = false ; | |
11571 | bool val5 ; | |
11572 | int ecode5 = 0 ; | |
36cb9ebe | 11573 | int val6 ; |
5eb8189c | 11574 | int ecode6 = 0 ; |
5c8c7dd3 RD |
11575 | void *argp7 = 0 ; |
11576 | int res7 = 0 ; | |
5eb8189c RD |
11577 | void *argp8 = 0 ; |
11578 | int res8 = 0 ; | |
36cb9ebe RD |
11579 | void *argp9 = 0 ; |
11580 | int res9 = 0 ; | |
5c8c7dd3 RD |
11581 | PyObject * obj0 = 0 ; |
11582 | PyObject * obj1 = 0 ; | |
11583 | PyObject * obj2 = 0 ; | |
11584 | PyObject * obj3 = 0 ; | |
11585 | PyObject * obj4 = 0 ; | |
11586 | PyObject * obj5 = 0 ; | |
11587 | PyObject * obj6 = 0 ; | |
5eb8189c | 11588 | PyObject * obj7 = 0 ; |
36cb9ebe | 11589 | PyObject * obj8 = 0 ; |
5c8c7dd3 | 11590 | char * kwnames[] = { |
36cb9ebe | 11591 | (char *) "self",(char *) "dc",(char *) "in_rect",(char *) "caption",(char *) "active",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL |
5c8c7dd3 RD |
11592 | }; |
11593 | ||
36cb9ebe | 11594 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5eb8189c | 11595 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11596 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11597 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11598 | } |
5eb8189c | 11599 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
5c8c7dd3 RD |
11600 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
11601 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11602 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 RD |
11603 | } |
11604 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
11605 | { | |
11606 | arg3 = &temp3; | |
11607 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
11608 | } | |
11609 | { | |
11610 | arg4 = wxString_in_helper(obj3); | |
11611 | if (arg4 == NULL) SWIG_fail; | |
11612 | temp4 = true; | |
11613 | } | |
11614 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
11615 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11616 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawTab" "', expected argument " "5"" of type '" "bool""'"); |
5c8c7dd3 RD |
11617 | } |
11618 | arg5 = static_cast< bool >(val5); | |
36cb9ebe | 11619 | ecode6 = SWIG_AsVal_int(obj5, &val6); |
5eb8189c | 11620 | if (!SWIG_IsOK(ecode6)) { |
36cb9ebe | 11621 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); |
5eb8189c | 11622 | } |
36cb9ebe | 11623 | arg6 = static_cast< int >(val6); |
5eb8189c | 11624 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); |
5c8c7dd3 | 11625 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11626 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); |
5c8c7dd3 | 11627 | } |
5eb8189c | 11628 | arg7 = reinterpret_cast< wxRect * >(argp7); |
36cb9ebe | 11629 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5eb8189c | 11630 | if (!SWIG_IsOK(res8)) { |
36cb9ebe RD |
11631 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); |
11632 | } | |
11633 | arg8 = reinterpret_cast< wxRect * >(argp8); | |
11634 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); | |
11635 | if (!SWIG_IsOK(res9)) { | |
11636 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); | |
5eb8189c | 11637 | } |
36cb9ebe | 11638 | arg9 = reinterpret_cast< int * >(argp9); |
5c8c7dd3 RD |
11639 | { |
11640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36cb9ebe | 11641 | (arg1)->DrawTab(arg2,(wxRect const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8,arg9); |
5c8c7dd3 RD |
11642 | wxPyEndAllowThreads(__tstate); |
11643 | if (PyErr_Occurred()) SWIG_fail; | |
11644 | } | |
11645 | resultobj = SWIG_Py_Void(); | |
11646 | { | |
11647 | if (temp4) | |
11648 | delete arg4; | |
11649 | } | |
11650 | return resultobj; | |
11651 | fail: | |
11652 | { | |
11653 | if (temp4) | |
11654 | delete arg4; | |
11655 | } | |
11656 | return NULL; | |
11657 | } | |
11658 | ||
11659 | ||
5eb8189c | 11660 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11661 | PyObject *resultobj = 0; |
5eb8189c | 11662 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11663 | wxDC *arg2 = (wxDC *) 0 ; |
11664 | wxRect *arg3 = 0 ; | |
11665 | int arg4 ; | |
11666 | int arg5 ; | |
11667 | int arg6 ; | |
11668 | wxBitmap *arg7 = 0 ; | |
11669 | wxRect *arg8 = (wxRect *) 0 ; | |
5c8c7dd3 RD |
11670 | void *argp1 = 0 ; |
11671 | int res1 = 0 ; | |
11672 | void *argp2 = 0 ; | |
11673 | int res2 = 0 ; | |
8f514ab4 RD |
11674 | wxRect temp3 ; |
11675 | int val4 ; | |
11676 | int ecode4 = 0 ; | |
11677 | int val5 ; | |
11678 | int ecode5 = 0 ; | |
11679 | int val6 ; | |
11680 | int ecode6 = 0 ; | |
11681 | void *argp7 = 0 ; | |
11682 | int res7 = 0 ; | |
11683 | void *argp8 = 0 ; | |
11684 | int res8 = 0 ; | |
5c8c7dd3 RD |
11685 | PyObject * obj0 = 0 ; |
11686 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11687 | PyObject * obj2 = 0 ; |
11688 | PyObject * obj3 = 0 ; | |
11689 | PyObject * obj4 = 0 ; | |
11690 | PyObject * obj5 = 0 ; | |
11691 | PyObject * obj6 = 0 ; | |
11692 | PyObject * obj7 = 0 ; | |
5c8c7dd3 | 11693 | char * kwnames[] = { |
8f514ab4 | 11694 | (char *) "self",(char *) "dc",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL |
5c8c7dd3 RD |
11695 | }; |
11696 | ||
5eb8189c RD |
11697 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
11698 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 11699 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11700 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11701 | } |
5eb8189c | 11702 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11703 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
5c8c7dd3 | 11704 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11705 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 | 11706 | } |
8f514ab4 RD |
11707 | arg2 = reinterpret_cast< wxDC * >(argp2); |
11708 | { | |
11709 | arg3 = &temp3; | |
11710 | if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail; | |
5c8c7dd3 | 11711 | } |
8f514ab4 RD |
11712 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11713 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11714 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_DrawButton" "', expected argument " "4"" of type '" "int""'"); |
8f514ab4 RD |
11715 | } |
11716 | arg4 = static_cast< int >(val4); | |
11717 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
11718 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11719 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); |
8f514ab4 RD |
11720 | } |
11721 | arg5 = static_cast< int >(val5); | |
11722 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11723 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 11724 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); |
8f514ab4 RD |
11725 | } |
11726 | arg6 = static_cast< int >(val6); | |
11727 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxBitmap, 0 | 0); | |
11728 | if (!SWIG_IsOK(res7)) { | |
5eb8189c | 11729 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "wxBitmap const &""'"); |
8f514ab4 RD |
11730 | } |
11731 | if (!argp7) { | |
5eb8189c | 11732 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "wxBitmap const &""'"); |
8f514ab4 RD |
11733 | } |
11734 | arg7 = reinterpret_cast< wxBitmap * >(argp7); | |
11735 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11736 | if (!SWIG_IsOK(res8)) { | |
5eb8189c | 11737 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); |
8f514ab4 RD |
11738 | } |
11739 | arg8 = reinterpret_cast< wxRect * >(argp8); | |
5c8c7dd3 RD |
11740 | { |
11741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 11742 | (arg1)->DrawButton(arg2,(wxRect const &)*arg3,arg4,arg5,arg6,(wxBitmap const &)*arg7,arg8); |
5c8c7dd3 RD |
11743 | wxPyEndAllowThreads(__tstate); |
11744 | if (PyErr_Occurred()) SWIG_fail; | |
11745 | } | |
11746 | resultobj = SWIG_Py_Void(); | |
11747 | return resultobj; | |
11748 | fail: | |
11749 | return NULL; | |
11750 | } | |
11751 | ||
11752 | ||
5eb8189c | 11753 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11754 | PyObject *resultobj = 0; |
5eb8189c | 11755 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11756 | wxDC *arg2 = (wxDC *) 0 ; |
11757 | wxString *arg3 = 0 ; | |
11758 | bool arg4 ; | |
36cb9ebe | 11759 | int arg5 ; |
5eb8189c | 11760 | int *arg6 = (int *) 0 ; |
8f514ab4 | 11761 | wxSize result; |
5c8c7dd3 RD |
11762 | void *argp1 = 0 ; |
11763 | int res1 = 0 ; | |
11764 | void *argp2 = 0 ; | |
11765 | int res2 = 0 ; | |
8f514ab4 RD |
11766 | bool temp3 = false ; |
11767 | bool val4 ; | |
11768 | int ecode4 = 0 ; | |
36cb9ebe | 11769 | int val5 ; |
5eb8189c RD |
11770 | int ecode5 = 0 ; |
11771 | void *argp6 = 0 ; | |
11772 | int res6 = 0 ; | |
5c8c7dd3 RD |
11773 | PyObject * obj0 = 0 ; |
11774 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11775 | PyObject * obj2 = 0 ; |
11776 | PyObject * obj3 = 0 ; | |
11777 | PyObject * obj4 = 0 ; | |
5eb8189c | 11778 | PyObject * obj5 = 0 ; |
5c8c7dd3 | 11779 | char * kwnames[] = { |
36cb9ebe | 11780 | (char *) "self",(char *) "dc",(char *) "caption",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL |
5c8c7dd3 RD |
11781 | }; |
11782 | ||
5eb8189c RD |
11783 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11784 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 11785 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11786 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11787 | } |
5eb8189c | 11788 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11789 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
5c8c7dd3 | 11790 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11791 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 | 11792 | } |
8f514ab4 RD |
11793 | arg2 = reinterpret_cast< wxDC * >(argp2); |
11794 | { | |
11795 | arg3 = wxString_in_helper(obj2); | |
11796 | if (arg3 == NULL) SWIG_fail; | |
11797 | temp3 = true; | |
5c8c7dd3 | 11798 | } |
8f514ab4 RD |
11799 | ecode4 = SWIG_AsVal_bool(obj3, &val4); |
11800 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11801 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "4"" of type '" "bool""'"); |
8f514ab4 RD |
11802 | } |
11803 | arg4 = static_cast< bool >(val4); | |
36cb9ebe | 11804 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
5eb8189c | 11805 | if (!SWIG_IsOK(ecode5)) { |
36cb9ebe | 11806 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "int""'"); |
5eb8189c | 11807 | } |
36cb9ebe | 11808 | arg5 = static_cast< int >(val5); |
5eb8189c RD |
11809 | res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_int, 0 | 0 ); |
11810 | if (!SWIG_IsOK(res6)) { | |
11811 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "int *""'"); | |
8f514ab4 | 11812 | } |
5eb8189c | 11813 | arg6 = reinterpret_cast< int * >(argp6); |
5c8c7dd3 RD |
11814 | { |
11815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11816 | result = (arg1)->GetTabSize(arg2,(wxString const &)*arg3,arg4,arg5,arg6); |
5c8c7dd3 RD |
11817 | wxPyEndAllowThreads(__tstate); |
11818 | if (PyErr_Occurred()) SWIG_fail; | |
11819 | } | |
8f514ab4 RD |
11820 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); |
11821 | { | |
11822 | if (temp3) | |
11823 | delete arg3; | |
11824 | } | |
5c8c7dd3 RD |
11825 | return resultobj; |
11826 | fail: | |
8f514ab4 RD |
11827 | { |
11828 | if (temp3) | |
11829 | delete arg3; | |
11830 | } | |
5c8c7dd3 RD |
11831 | return NULL; |
11832 | } | |
11833 | ||
11834 | ||
5eb8189c | 11835 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11836 | PyObject *resultobj = 0; |
5eb8189c | 11837 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11838 | wxWindow *arg2 = (wxWindow *) 0 ; |
11839 | int result; | |
5c8c7dd3 RD |
11840 | void *argp1 = 0 ; |
11841 | int res1 = 0 ; | |
11842 | void *argp2 = 0 ; | |
11843 | int res2 = 0 ; | |
11844 | PyObject * obj0 = 0 ; | |
11845 | PyObject * obj1 = 0 ; | |
11846 | char * kwnames[] = { | |
8f514ab4 | 11847 | (char *) "self",(char *) "wnd", NULL |
5c8c7dd3 RD |
11848 | }; |
11849 | ||
5eb8189c RD |
11850 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1)) SWIG_fail; |
11851 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 11852 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11854 | } |
5eb8189c | 11855 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11856 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
5c8c7dd3 | 11857 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11858 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5c8c7dd3 | 11859 | } |
8f514ab4 | 11860 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
5c8c7dd3 RD |
11861 | { |
11862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 11863 | result = (int)(arg1)->GetBestTabCtrlSize(arg2); |
5c8c7dd3 RD |
11864 | wxPyEndAllowThreads(__tstate); |
11865 | if (PyErr_Occurred()) SWIG_fail; | |
11866 | } | |
8f514ab4 | 11867 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11868 | return resultobj; |
11869 | fail: | |
11870 | return NULL; | |
11871 | } | |
11872 | ||
11873 | ||
5eb8189c | 11874 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
11875 | PyObject *obj; |
11876 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11877 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
11878 | return SWIG_Py_Void(); |
11879 | } | |
11880 | ||
5eb8189c | 11881 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11882 | PyObject *resultobj = 0; |
5eb8189c | 11883 | wxAuiDefaultTabArt *result = 0 ; |
5c8c7dd3 | 11884 | |
5eb8189c | 11885 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
5c8c7dd3 RD |
11886 | { |
11887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11888 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); |
5c8c7dd3 RD |
11889 | wxPyEndAllowThreads(__tstate); |
11890 | if (PyErr_Occurred()) SWIG_fail; | |
11891 | } | |
5eb8189c | 11892 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11893 | return resultobj; |
11894 | fail: | |
11895 | return NULL; | |
11896 | } | |
11897 | ||
11898 | ||
5eb8189c | 11899 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11900 | PyObject *resultobj = 0; |
5eb8189c | 11901 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
5c8c7dd3 RD |
11902 | void *argp1 = 0 ; |
11903 | int res1 = 0 ; | |
11904 | PyObject *swig_obj[1] ; | |
11905 | ||
11906 | if (!args) SWIG_fail; | |
11907 | swig_obj[0] = args; | |
5eb8189c | 11908 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
5c8c7dd3 | 11909 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
5c8c7dd3 | 11911 | } |
5eb8189c | 11912 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
5c8c7dd3 RD |
11913 | { |
11914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11915 | delete arg1; | |
11916 | ||
11917 | wxPyEndAllowThreads(__tstate); | |
11918 | if (PyErr_Occurred()) SWIG_fail; | |
11919 | } | |
11920 | resultobj = SWIG_Py_Void(); | |
11921 | return resultobj; | |
11922 | fail: | |
11923 | return NULL; | |
11924 | } | |
11925 | ||
11926 | ||
5eb8189c | 11927 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
11928 | PyObject *obj; |
11929 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11930 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
11931 | return SWIG_Py_Void(); |
11932 | } | |
11933 | ||
5eb8189c | 11934 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
11935 | return SWIG_Python_InitShadowInstance(args); |
11936 | } | |
11937 | ||
1eeb270e RD |
11938 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11939 | PyObject *resultobj = 0; | |
11940 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
11941 | int arg2 = (int) 0 ; | |
11942 | wxAuiNotebookEvent *result = 0 ; | |
11943 | int val1 ; | |
11944 | int ecode1 = 0 ; | |
11945 | int val2 ; | |
11946 | int ecode2 = 0 ; | |
11947 | PyObject * obj0 = 0 ; | |
11948 | PyObject * obj1 = 0 ; | |
11949 | char * kwnames[] = { | |
11950 | (char *) "command_type",(char *) "win_id", NULL | |
11951 | }; | |
11952 | ||
11953 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
11954 | if (obj0) { | |
11955 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11956 | if (!SWIG_IsOK(ecode1)) { | |
11957 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11958 | } | |
11959 | arg1 = static_cast< wxEventType >(val1); | |
11960 | } | |
11961 | if (obj1) { | |
11962 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11963 | if (!SWIG_IsOK(ecode2)) { | |
11964 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11965 | } | |
11966 | arg2 = static_cast< int >(val2); | |
11967 | } | |
11968 | { | |
11969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11970 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); | |
11971 | wxPyEndAllowThreads(__tstate); | |
11972 | if (PyErr_Occurred()) SWIG_fail; | |
11973 | } | |
11974 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); | |
11975 | return resultobj; | |
11976 | fail: | |
11977 | return NULL; | |
27e45892 RD |
11978 | } |
11979 | ||
1eeb270e RD |
11980 | |
11981 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11982 | PyObject *resultobj = 0; | |
11983 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11984 | int arg2 ; | |
11985 | void *argp1 = 0 ; | |
11986 | int res1 = 0 ; | |
11987 | int val2 ; | |
11988 | int ecode2 = 0 ; | |
11989 | PyObject * obj0 = 0 ; | |
11990 | PyObject * obj1 = 0 ; | |
11991 | char * kwnames[] = { | |
11992 | (char *) "self",(char *) "s", NULL | |
11993 | }; | |
11994 | ||
11995 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
11996 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11997 | if (!SWIG_IsOK(res1)) { | |
11998 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
11999 | } | |
12000 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12001 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12002 | if (!SWIG_IsOK(ecode2)) { | |
12003 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
12004 | } | |
12005 | arg2 = static_cast< int >(val2); | |
12006 | { | |
12007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12008 | (arg1)->SetSelection(arg2); | |
12009 | wxPyEndAllowThreads(__tstate); | |
12010 | if (PyErr_Occurred()) SWIG_fail; | |
12011 | } | |
12012 | resultobj = SWIG_Py_Void(); | |
12013 | return resultobj; | |
12014 | fail: | |
12015 | return NULL; | |
12016 | } | |
12017 | ||
12018 | ||
12019 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12020 | PyObject *resultobj = 0; | |
12021 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12022 | int arg2 ; | |
12023 | void *argp1 = 0 ; | |
12024 | int res1 = 0 ; | |
12025 | int val2 ; | |
12026 | int ecode2 = 0 ; | |
12027 | PyObject * obj0 = 0 ; | |
12028 | PyObject * obj1 = 0 ; | |
12029 | char * kwnames[] = { | |
12030 | (char *) "self",(char *) "s", NULL | |
12031 | }; | |
12032 | ||
12033 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
12034 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12035 | if (!SWIG_IsOK(res1)) { | |
12036 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12037 | } | |
12038 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12039 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12040 | if (!SWIG_IsOK(ecode2)) { | |
12041 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
12042 | } | |
12043 | arg2 = static_cast< int >(val2); | |
12044 | { | |
12045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12046 | (arg1)->SetOldSelection(arg2); | |
12047 | wxPyEndAllowThreads(__tstate); | |
12048 | if (PyErr_Occurred()) SWIG_fail; | |
12049 | } | |
12050 | resultobj = SWIG_Py_Void(); | |
12051 | return resultobj; | |
12052 | fail: | |
12053 | return NULL; | |
12054 | } | |
12055 | ||
12056 | ||
12057 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12058 | PyObject *resultobj = 0; | |
12059 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12060 | int result; | |
12061 | void *argp1 = 0 ; | |
12062 | int res1 = 0 ; | |
12063 | PyObject *swig_obj[1] ; | |
12064 | ||
12065 | if (!args) SWIG_fail; | |
12066 | swig_obj[0] = args; | |
12067 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12068 | if (!SWIG_IsOK(res1)) { | |
12069 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
12070 | } | |
12071 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12072 | { | |
12073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12074 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); | |
12075 | wxPyEndAllowThreads(__tstate); | |
12076 | if (PyErr_Occurred()) SWIG_fail; | |
12077 | } | |
12078 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12079 | return resultobj; | |
12080 | fail: | |
12081 | return NULL; | |
12082 | } | |
12083 | ||
12084 | ||
12085 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12086 | PyObject *resultobj = 0; | |
12087 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12088 | int result; | |
12089 | void *argp1 = 0 ; | |
12090 | int res1 = 0 ; | |
12091 | PyObject *swig_obj[1] ; | |
12092 | ||
12093 | if (!args) SWIG_fail; | |
12094 | swig_obj[0] = args; | |
12095 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12096 | if (!SWIG_IsOK(res1)) { | |
12097 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
12098 | } | |
12099 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12100 | { | |
12101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12102 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); | |
12103 | wxPyEndAllowThreads(__tstate); | |
12104 | if (PyErr_Occurred()) SWIG_fail; | |
12105 | } | |
12106 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12107 | return resultobj; | |
12108 | fail: | |
12109 | return NULL; | |
12110 | } | |
12111 | ||
12112 | ||
12113 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12114 | PyObject *resultobj = 0; | |
12115 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12116 | int arg2 ; | |
12117 | void *argp1 = 0 ; | |
12118 | int res1 = 0 ; | |
12119 | int val2 ; | |
12120 | int ecode2 = 0 ; | |
12121 | PyObject *swig_obj[2] ; | |
12122 | ||
12123 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; | |
12124 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12125 | if (!SWIG_IsOK(res1)) { | |
12126 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12127 | } | |
12128 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12129 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12130 | if (!SWIG_IsOK(ecode2)) { | |
12131 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
12132 | } | |
12133 | arg2 = static_cast< int >(val2); | |
12134 | if (arg1) (arg1)->old_selection = arg2; | |
12135 | ||
12136 | resultobj = SWIG_Py_Void(); | |
12137 | return resultobj; | |
12138 | fail: | |
12139 | return NULL; | |
12140 | } | |
12141 | ||
12142 | ||
12143 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12144 | PyObject *resultobj = 0; | |
12145 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12146 | int result; | |
12147 | void *argp1 = 0 ; | |
12148 | int res1 = 0 ; | |
12149 | PyObject *swig_obj[1] ; | |
12150 | ||
12151 | if (!args) SWIG_fail; | |
12152 | swig_obj[0] = args; | |
12153 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12154 | if (!SWIG_IsOK(res1)) { | |
12155 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12156 | } | |
12157 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12158 | result = (int) ((arg1)->old_selection); | |
12159 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12160 | return resultobj; | |
12161 | fail: | |
12162 | return NULL; | |
12163 | } | |
12164 | ||
12165 | ||
12166 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12167 | PyObject *resultobj = 0; | |
12168 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12169 | int arg2 ; | |
12170 | void *argp1 = 0 ; | |
12171 | int res1 = 0 ; | |
12172 | int val2 ; | |
12173 | int ecode2 = 0 ; | |
12174 | PyObject *swig_obj[2] ; | |
12175 | ||
12176 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12177 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12178 | if (!SWIG_IsOK(res1)) { | |
12179 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12180 | } | |
12181 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12182 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12183 | if (!SWIG_IsOK(ecode2)) { | |
12184 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
12185 | } | |
12186 | arg2 = static_cast< int >(val2); | |
12187 | if (arg1) (arg1)->selection = arg2; | |
12188 | ||
12189 | resultobj = SWIG_Py_Void(); | |
12190 | return resultobj; | |
12191 | fail: | |
12192 | return NULL; | |
12193 | } | |
12194 | ||
12195 | ||
12196 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12197 | PyObject *resultobj = 0; | |
12198 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12199 | int result; | |
12200 | void *argp1 = 0 ; | |
12201 | int res1 = 0 ; | |
12202 | PyObject *swig_obj[1] ; | |
12203 | ||
12204 | if (!args) SWIG_fail; | |
12205 | swig_obj[0] = args; | |
12206 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12207 | if (!SWIG_IsOK(res1)) { | |
12208 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12209 | } | |
12210 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12211 | result = (int) ((arg1)->selection); | |
12212 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12213 | return resultobj; | |
12214 | fail: | |
12215 | return NULL; | |
12216 | } | |
12217 | ||
12218 | ||
12219 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12220 | PyObject *obj; | |
12221 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12222 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12223 | return SWIG_Py_Void(); | |
12224 | } | |
12225 | ||
12226 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12227 | return SWIG_Python_InitShadowInstance(args); | |
12228 | } | |
12229 | ||
12230 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12231 | PyObject *resultobj = 0; | |
12232 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12233 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12234 | void *argp1 = 0 ; | |
12235 | int res1 = 0 ; | |
12236 | void *argp2 = 0 ; | |
12237 | int res2 = 0 ; | |
12238 | PyObject *swig_obj[2] ; | |
12239 | ||
12240 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; | |
12241 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12242 | if (!SWIG_IsOK(res1)) { | |
12243 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12244 | } | |
12245 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12246 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12247 | if (!SWIG_IsOK(res2)) { | |
12248 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12249 | } | |
12250 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12251 | if (arg1) (arg1)->window = arg2; | |
12252 | ||
12253 | resultobj = SWIG_Py_Void(); | |
12254 | return resultobj; | |
12255 | fail: | |
12256 | return NULL; | |
12257 | } | |
12258 | ||
12259 | ||
12260 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12261 | PyObject *resultobj = 0; | |
12262 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12263 | wxWindow *result = 0 ; | |
12264 | void *argp1 = 0 ; | |
12265 | int res1 = 0 ; | |
12266 | PyObject *swig_obj[1] ; | |
12267 | ||
12268 | if (!args) SWIG_fail; | |
12269 | swig_obj[0] = args; | |
12270 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12271 | if (!SWIG_IsOK(res1)) { | |
12272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12273 | } | |
12274 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12275 | result = (wxWindow *) ((arg1)->window); | |
12276 | { | |
12277 | resultobj = wxPyMake_wxObject(result, 0); | |
12278 | } | |
12279 | return resultobj; | |
12280 | fail: | |
12281 | return NULL; | |
12282 | } | |
12283 | ||
12284 | ||
12285 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12286 | PyObject *resultobj = 0; | |
12287 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12288 | wxString *arg2 = (wxString *) 0 ; | |
12289 | void *argp1 = 0 ; | |
12290 | int res1 = 0 ; | |
12291 | bool temp2 = false ; | |
12292 | PyObject *swig_obj[2] ; | |
12293 | ||
12294 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; | |
12295 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12296 | if (!SWIG_IsOK(res1)) { | |
12297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12298 | } | |
12299 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12300 | { | |
12301 | arg2 = wxString_in_helper(swig_obj[1]); | |
12302 | if (arg2 == NULL) SWIG_fail; | |
12303 | temp2 = true; | |
12304 | } | |
12305 | if (arg1) (arg1)->caption = *arg2; | |
12306 | ||
12307 | resultobj = SWIG_Py_Void(); | |
12308 | { | |
12309 | if (temp2) | |
12310 | delete arg2; | |
12311 | } | |
12312 | return resultobj; | |
12313 | fail: | |
12314 | { | |
12315 | if (temp2) | |
12316 | delete arg2; | |
12317 | } | |
12318 | return NULL; | |
12319 | } | |
12320 | ||
12321 | ||
12322 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12323 | PyObject *resultobj = 0; | |
12324 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12325 | wxString *result = 0 ; | |
12326 | void *argp1 = 0 ; | |
12327 | int res1 = 0 ; | |
12328 | PyObject *swig_obj[1] ; | |
12329 | ||
12330 | if (!args) SWIG_fail; | |
12331 | swig_obj[0] = args; | |
12332 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12333 | if (!SWIG_IsOK(res1)) { | |
12334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12335 | } | |
12336 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12337 | result = (wxString *)& ((arg1)->caption); | |
12338 | { | |
12339 | #if wxUSE_UNICODE | |
12340 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12341 | #else | |
12342 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12343 | #endif | |
12344 | } | |
12345 | return resultobj; | |
12346 | fail: | |
12347 | return NULL; | |
12348 | } | |
12349 | ||
12350 | ||
12351 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12352 | PyObject *resultobj = 0; | |
12353 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12354 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12355 | void *argp1 = 0 ; | |
12356 | int res1 = 0 ; | |
12357 | void *argp2 = 0 ; | |
12358 | int res2 = 0 ; | |
12359 | PyObject *swig_obj[2] ; | |
12360 | ||
12361 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12362 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12363 | if (!SWIG_IsOK(res1)) { | |
12364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12365 | } | |
12366 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12367 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12368 | if (!SWIG_IsOK(res2)) { | |
12369 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12370 | } | |
12371 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12372 | if (arg1) (arg1)->bitmap = *arg2; | |
12373 | ||
12374 | resultobj = SWIG_Py_Void(); | |
12375 | return resultobj; | |
12376 | fail: | |
12377 | return NULL; | |
12378 | } | |
12379 | ||
12380 | ||
12381 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12382 | PyObject *resultobj = 0; | |
12383 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12384 | wxBitmap *result = 0 ; | |
12385 | void *argp1 = 0 ; | |
12386 | int res1 = 0 ; | |
12387 | PyObject *swig_obj[1] ; | |
12388 | ||
12389 | if (!args) SWIG_fail; | |
12390 | swig_obj[0] = args; | |
12391 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12392 | if (!SWIG_IsOK(res1)) { | |
12393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12394 | } | |
12395 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12396 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12397 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12398 | return resultobj; | |
12399 | fail: | |
12400 | return NULL; | |
12401 | } | |
12402 | ||
12403 | ||
12404 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12405 | PyObject *resultobj = 0; | |
12406 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12407 | wxRect *arg2 = (wxRect *) 0 ; | |
12408 | void *argp1 = 0 ; | |
12409 | int res1 = 0 ; | |
12410 | void *argp2 = 0 ; | |
12411 | int res2 = 0 ; | |
12412 | PyObject *swig_obj[2] ; | |
12413 | ||
12414 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; | |
12415 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12416 | if (!SWIG_IsOK(res1)) { | |
12417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12418 | } | |
12419 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12420 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12421 | if (!SWIG_IsOK(res2)) { | |
12422 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12423 | } | |
12424 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12425 | if (arg1) (arg1)->rect = *arg2; | |
12426 | ||
12427 | resultobj = SWIG_Py_Void(); | |
12428 | return resultobj; | |
12429 | fail: | |
12430 | return NULL; | |
12431 | } | |
12432 | ||
12433 | ||
12434 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12435 | PyObject *resultobj = 0; | |
12436 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12437 | wxRect *result = 0 ; | |
12438 | void *argp1 = 0 ; | |
12439 | int res1 = 0 ; | |
12440 | PyObject *swig_obj[1] ; | |
12441 | ||
12442 | if (!args) SWIG_fail; | |
12443 | swig_obj[0] = args; | |
12444 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12445 | if (!SWIG_IsOK(res1)) { | |
12446 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12447 | } | |
12448 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12449 | result = (wxRect *)& ((arg1)->rect); | |
12450 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12451 | return resultobj; | |
12452 | fail: | |
12453 | return NULL; | |
12454 | } | |
12455 | ||
12456 | ||
12457 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12458 | PyObject *resultobj = 0; | |
12459 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12460 | bool arg2 ; | |
12461 | void *argp1 = 0 ; | |
12462 | int res1 = 0 ; | |
12463 | bool val2 ; | |
12464 | int ecode2 = 0 ; | |
12465 | PyObject *swig_obj[2] ; | |
12466 | ||
12467 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; | |
12468 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12469 | if (!SWIG_IsOK(res1)) { | |
12470 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12471 | } | |
12472 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12473 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
12474 | if (!SWIG_IsOK(ecode2)) { | |
12475 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); | |
12476 | } | |
12477 | arg2 = static_cast< bool >(val2); | |
12478 | if (arg1) (arg1)->active = arg2; | |
12479 | ||
12480 | resultobj = SWIG_Py_Void(); | |
12481 | return resultobj; | |
12482 | fail: | |
12483 | return NULL; | |
12484 | } | |
12485 | ||
12486 | ||
12487 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12488 | PyObject *resultobj = 0; | |
12489 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12490 | bool result; | |
12491 | void *argp1 = 0 ; | |
12492 | int res1 = 0 ; | |
12493 | PyObject *swig_obj[1] ; | |
12494 | ||
12495 | if (!args) SWIG_fail; | |
12496 | swig_obj[0] = args; | |
12497 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12498 | if (!SWIG_IsOK(res1)) { | |
12499 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12500 | } | |
12501 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12502 | result = (bool) ((arg1)->active); | |
12503 | { | |
12504 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12505 | } | |
12506 | return resultobj; | |
12507 | fail: | |
12508 | return NULL; | |
12509 | } | |
12510 | ||
12511 | ||
12512 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12513 | PyObject *obj; | |
12514 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12515 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12516 | return SWIG_Py_Void(); | |
12517 | } | |
12518 | ||
12519 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12520 | PyObject *resultobj = 0; | |
12521 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12522 | int arg2 ; | |
12523 | void *argp1 = 0 ; | |
12524 | int res1 = 0 ; | |
12525 | int val2 ; | |
12526 | int ecode2 = 0 ; | |
12527 | PyObject *swig_obj[2] ; | |
12528 | ||
12529 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; | |
12530 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12531 | if (!SWIG_IsOK(res1)) { | |
12532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12533 | } | |
12534 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12535 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12536 | if (!SWIG_IsOK(ecode2)) { | |
12537 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); | |
12538 | } | |
12539 | arg2 = static_cast< int >(val2); | |
12540 | if (arg1) (arg1)->id = arg2; | |
12541 | ||
12542 | resultobj = SWIG_Py_Void(); | |
12543 | return resultobj; | |
12544 | fail: | |
12545 | return NULL; | |
12546 | } | |
12547 | ||
12548 | ||
12549 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12550 | PyObject *resultobj = 0; | |
12551 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12552 | int result; | |
12553 | void *argp1 = 0 ; | |
12554 | int res1 = 0 ; | |
12555 | PyObject *swig_obj[1] ; | |
12556 | ||
12557 | if (!args) SWIG_fail; | |
12558 | swig_obj[0] = args; | |
12559 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12560 | if (!SWIG_IsOK(res1)) { | |
12561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12562 | } | |
12563 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12564 | result = (int) ((arg1)->id); | |
12565 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12566 | return resultobj; | |
12567 | fail: | |
12568 | return NULL; | |
12569 | } | |
12570 | ||
12571 | ||
12572 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12573 | PyObject *resultobj = 0; | |
12574 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12575 | int arg2 ; | |
12576 | void *argp1 = 0 ; | |
12577 | int res1 = 0 ; | |
12578 | int val2 ; | |
12579 | int ecode2 = 0 ; | |
12580 | PyObject *swig_obj[2] ; | |
12581 | ||
12582 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; | |
12583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12584 | if (!SWIG_IsOK(res1)) { | |
12585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12586 | } | |
12587 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12588 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12589 | if (!SWIG_IsOK(ecode2)) { | |
12590 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12591 | } | |
12592 | arg2 = static_cast< int >(val2); | |
12593 | if (arg1) (arg1)->cur_state = arg2; | |
12594 | ||
12595 | resultobj = SWIG_Py_Void(); | |
12596 | return resultobj; | |
12597 | fail: | |
12598 | return NULL; | |
12599 | } | |
12600 | ||
12601 | ||
12602 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12603 | PyObject *resultobj = 0; | |
12604 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12605 | int result; | |
12606 | void *argp1 = 0 ; | |
12607 | int res1 = 0 ; | |
12608 | PyObject *swig_obj[1] ; | |
12609 | ||
12610 | if (!args) SWIG_fail; | |
12611 | swig_obj[0] = args; | |
12612 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12613 | if (!SWIG_IsOK(res1)) { | |
12614 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12615 | } | |
12616 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12617 | result = (int) ((arg1)->cur_state); | |
12618 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12619 | return resultobj; | |
12620 | fail: | |
12621 | return NULL; | |
12622 | } | |
12623 | ||
12624 | ||
5c8c7dd3 RD |
12625 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12626 | PyObject *resultobj = 0; | |
12627 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12628 | int arg2 ; | |
12629 | void *argp1 = 0 ; | |
12630 | int res1 = 0 ; | |
12631 | int val2 ; | |
12632 | int ecode2 = 0 ; | |
12633 | PyObject *swig_obj[2] ; | |
12634 | ||
12635 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; | |
12636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12637 | if (!SWIG_IsOK(res1)) { | |
12638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12639 | } | |
12640 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12641 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12642 | if (!SWIG_IsOK(ecode2)) { | |
12643 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12644 | } | |
12645 | arg2 = static_cast< int >(val2); | |
12646 | if (arg1) (arg1)->location = arg2; | |
12647 | ||
12648 | resultobj = SWIG_Py_Void(); | |
12649 | return resultobj; | |
12650 | fail: | |
12651 | return NULL; | |
12652 | } | |
12653 | ||
12654 | ||
12655 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12656 | PyObject *resultobj = 0; | |
12657 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12658 | int result; | |
12659 | void *argp1 = 0 ; | |
12660 | int res1 = 0 ; | |
12661 | PyObject *swig_obj[1] ; | |
12662 | ||
12663 | if (!args) SWIG_fail; | |
12664 | swig_obj[0] = args; | |
12665 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12666 | if (!SWIG_IsOK(res1)) { | |
12667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12668 | } | |
12669 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12670 | result = (int) ((arg1)->location); | |
12671 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12672 | return resultobj; | |
12673 | fail: | |
12674 | return NULL; | |
12675 | } | |
12676 | ||
12677 | ||
1eeb270e RD |
12678 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12679 | PyObject *resultobj = 0; | |
12680 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12681 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12682 | void *argp1 = 0 ; | |
12683 | int res1 = 0 ; | |
12684 | void *argp2 = 0 ; | |
12685 | int res2 = 0 ; | |
12686 | PyObject *swig_obj[2] ; | |
12687 | ||
12688 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12689 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12690 | if (!SWIG_IsOK(res1)) { | |
12691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12692 | } | |
12693 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12694 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12695 | if (!SWIG_IsOK(res2)) { | |
12696 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12697 | } | |
12698 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12699 | if (arg1) (arg1)->bitmap = *arg2; | |
12700 | ||
12701 | resultobj = SWIG_Py_Void(); | |
12702 | return resultobj; | |
12703 | fail: | |
12704 | return NULL; | |
12705 | } | |
12706 | ||
12707 | ||
12708 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12709 | PyObject *resultobj = 0; | |
12710 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12711 | wxBitmap *result = 0 ; | |
12712 | void *argp1 = 0 ; | |
12713 | int res1 = 0 ; | |
12714 | PyObject *swig_obj[1] ; | |
12715 | ||
12716 | if (!args) SWIG_fail; | |
12717 | swig_obj[0] = args; | |
12718 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12719 | if (!SWIG_IsOK(res1)) { | |
12720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12721 | } | |
12722 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12723 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12724 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12725 | return resultobj; | |
12726 | fail: | |
12727 | return NULL; | |
12728 | } | |
12729 | ||
12730 | ||
8f514ab4 RD |
12731 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12732 | PyObject *resultobj = 0; | |
12733 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12734 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12735 | void *argp1 = 0 ; | |
12736 | int res1 = 0 ; | |
12737 | void *argp2 = 0 ; | |
12738 | int res2 = 0 ; | |
12739 | PyObject *swig_obj[2] ; | |
12740 | ||
12741 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12743 | if (!SWIG_IsOK(res1)) { | |
12744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12745 | } | |
12746 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12747 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12748 | if (!SWIG_IsOK(res2)) { | |
12749 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12750 | } | |
12751 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12752 | if (arg1) (arg1)->dis_bitmap = *arg2; | |
12753 | ||
12754 | resultobj = SWIG_Py_Void(); | |
12755 | return resultobj; | |
12756 | fail: | |
12757 | return NULL; | |
12758 | } | |
12759 | ||
12760 | ||
12761 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12762 | PyObject *resultobj = 0; | |
12763 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12764 | wxBitmap *result = 0 ; | |
12765 | void *argp1 = 0 ; | |
12766 | int res1 = 0 ; | |
12767 | PyObject *swig_obj[1] ; | |
12768 | ||
12769 | if (!args) SWIG_fail; | |
12770 | swig_obj[0] = args; | |
12771 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12772 | if (!SWIG_IsOK(res1)) { | |
12773 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12774 | } | |
12775 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12776 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
12777 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12778 | return resultobj; | |
12779 | fail: | |
12780 | return NULL; | |
12781 | } | |
12782 | ||
12783 | ||
1eeb270e RD |
12784 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12785 | PyObject *resultobj = 0; | |
12786 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12787 | wxRect *arg2 = (wxRect *) 0 ; | |
12788 | void *argp1 = 0 ; | |
12789 | int res1 = 0 ; | |
12790 | void *argp2 = 0 ; | |
12791 | int res2 = 0 ; | |
12792 | PyObject *swig_obj[2] ; | |
12793 | ||
12794 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; | |
12795 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12796 | if (!SWIG_IsOK(res1)) { | |
12797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12798 | } | |
12799 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12800 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12801 | if (!SWIG_IsOK(res2)) { | |
12802 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12803 | } | |
12804 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12805 | if (arg1) (arg1)->rect = *arg2; | |
12806 | ||
12807 | resultobj = SWIG_Py_Void(); | |
12808 | return resultobj; | |
12809 | fail: | |
12810 | return NULL; | |
12811 | } | |
12812 | ||
12813 | ||
12814 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12815 | PyObject *resultobj = 0; | |
12816 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12817 | wxRect *result = 0 ; | |
12818 | void *argp1 = 0 ; | |
12819 | int res1 = 0 ; | |
12820 | PyObject *swig_obj[1] ; | |
12821 | ||
12822 | if (!args) SWIG_fail; | |
12823 | swig_obj[0] = args; | |
12824 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12825 | if (!SWIG_IsOK(res1)) { | |
12826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12827 | } | |
12828 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12829 | result = (wxRect *)& ((arg1)->rect); | |
12830 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12831 | return resultobj; | |
12832 | fail: | |
12833 | return NULL; | |
12834 | } | |
12835 | ||
12836 | ||
12837 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12838 | PyObject *obj; | |
12839 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12840 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12841 | return SWIG_Py_Void(); | |
12842 | } | |
12843 | ||
12844 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12845 | PyObject *resultobj = 0; | |
12846 | wxAuiTabContainer *result = 0 ; | |
12847 | ||
12848 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
12849 | { | |
12850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12851 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
12852 | wxPyEndAllowThreads(__tstate); | |
12853 | if (PyErr_Occurred()) SWIG_fail; | |
12854 | } | |
12855 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
12856 | return resultobj; | |
12857 | fail: | |
12858 | return NULL; | |
12859 | } | |
12860 | ||
12861 | ||
12862 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12863 | PyObject *resultobj = 0; | |
12864 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12865 | void *argp1 = 0 ; | |
12866 | int res1 = 0 ; | |
12867 | PyObject *swig_obj[1] ; | |
12868 | ||
12869 | if (!args) SWIG_fail; | |
12870 | swig_obj[0] = args; | |
12871 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
12872 | if (!SWIG_IsOK(res1)) { | |
12873 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12874 | } | |
12875 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12876 | { | |
12877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12878 | delete arg1; | |
12879 | ||
12880 | wxPyEndAllowThreads(__tstate); | |
12881 | if (PyErr_Occurred()) SWIG_fail; | |
12882 | } | |
12883 | resultobj = SWIG_Py_Void(); | |
12884 | return resultobj; | |
12885 | fail: | |
12886 | return NULL; | |
12887 | } | |
12888 | ||
12889 | ||
5c8c7dd3 RD |
12890 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12891 | PyObject *resultobj = 0; | |
12892 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 12893 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
12894 | void *argp1 = 0 ; |
12895 | int res1 = 0 ; | |
12896 | void *argp2 = 0 ; | |
12897 | int res2 = 0 ; | |
12898 | PyObject * obj0 = 0 ; | |
12899 | PyObject * obj1 = 0 ; | |
12900 | char * kwnames[] = { | |
12901 | (char *) "self",(char *) "art", NULL | |
12902 | }; | |
12903 | ||
12904 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
12905 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12906 | if (!SWIG_IsOK(res1)) { | |
12907 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12908 | } | |
12909 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 12910 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 12911 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 12912 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 12913 | } |
5eb8189c | 12914 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
12915 | { |
12916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12917 | (arg1)->SetArtProvider(arg2); | |
12918 | wxPyEndAllowThreads(__tstate); | |
12919 | if (PyErr_Occurred()) SWIG_fail; | |
12920 | } | |
12921 | resultobj = SWIG_Py_Void(); | |
12922 | return resultobj; | |
12923 | fail: | |
12924 | return NULL; | |
12925 | } | |
12926 | ||
12927 | ||
12928 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12929 | PyObject *resultobj = 0; | |
12930 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 12931 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
12932 | void *argp1 = 0 ; |
12933 | int res1 = 0 ; | |
12934 | PyObject *swig_obj[1] ; | |
12935 | ||
12936 | if (!args) SWIG_fail; | |
12937 | swig_obj[0] = args; | |
12938 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12939 | if (!SWIG_IsOK(res1)) { | |
12940 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12941 | } | |
12942 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12943 | { | |
12944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
12945 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); |
12946 | wxPyEndAllowThreads(__tstate); | |
12947 | if (PyErr_Occurred()) SWIG_fail; | |
12948 | } | |
12949 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12950 | return resultobj; | |
12951 | fail: | |
12952 | return NULL; | |
12953 | } | |
12954 | ||
12955 | ||
12956 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12957 | PyObject *resultobj = 0; | |
12958 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12959 | int arg2 ; | |
12960 | void *argp1 = 0 ; | |
12961 | int res1 = 0 ; | |
12962 | int val2 ; | |
12963 | int ecode2 = 0 ; | |
12964 | PyObject * obj0 = 0 ; | |
12965 | PyObject * obj1 = 0 ; | |
12966 | char * kwnames[] = { | |
12967 | (char *) "self",(char *) "flags", NULL | |
12968 | }; | |
12969 | ||
12970 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
12971 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
12972 | if (!SWIG_IsOK(res1)) { | |
12973 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
12974 | } | |
12975 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
12976 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12977 | if (!SWIG_IsOK(ecode2)) { | |
12978 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
12979 | } | |
12980 | arg2 = static_cast< int >(val2); | |
12981 | { | |
12982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12983 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
12984 | wxPyEndAllowThreads(__tstate); |
12985 | if (PyErr_Occurred()) SWIG_fail; | |
12986 | } | |
5eb8189c RD |
12987 | resultobj = SWIG_Py_Void(); |
12988 | return resultobj; | |
12989 | fail: | |
12990 | return NULL; | |
12991 | } | |
12992 | ||
12993 | ||
12994 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12995 | PyObject *resultobj = 0; | |
12996 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12997 | int result; | |
12998 | void *argp1 = 0 ; | |
12999 | int res1 = 0 ; | |
13000 | PyObject *swig_obj[1] ; | |
13001 | ||
13002 | if (!args) SWIG_fail; | |
13003 | swig_obj[0] = args; | |
13004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13005 | if (!SWIG_IsOK(res1)) { | |
13006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13007 | } | |
13008 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13009 | { | |
13010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13011 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13012 | wxPyEndAllowThreads(__tstate); | |
13013 | if (PyErr_Occurred()) SWIG_fail; | |
13014 | } | |
13015 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13016 | return resultobj; |
13017 | fail: | |
13018 | return NULL; | |
13019 | } | |
13020 | ||
13021 | ||
1eeb270e RD |
13022 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13023 | PyObject *resultobj = 0; | |
13024 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13025 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13026 | wxAuiNotebookPage *arg3 = 0 ; | |
13027 | bool result; | |
13028 | void *argp1 = 0 ; | |
13029 | int res1 = 0 ; | |
13030 | void *argp2 = 0 ; | |
13031 | int res2 = 0 ; | |
13032 | void *argp3 = 0 ; | |
13033 | int res3 = 0 ; | |
13034 | PyObject * obj0 = 0 ; | |
13035 | PyObject * obj1 = 0 ; | |
13036 | PyObject * obj2 = 0 ; | |
13037 | char * kwnames[] = { | |
13038 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13039 | }; | |
13040 | ||
13041 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13042 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13043 | if (!SWIG_IsOK(res1)) { | |
13044 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13045 | } | |
13046 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13047 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13048 | if (!SWIG_IsOK(res2)) { | |
13049 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13050 | } | |
13051 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13052 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13053 | if (!SWIG_IsOK(res3)) { | |
13054 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13055 | } | |
13056 | if (!argp3) { | |
13057 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13058 | } | |
13059 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13060 | { | |
13061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13062 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13063 | wxPyEndAllowThreads(__tstate); | |
13064 | if (PyErr_Occurred()) SWIG_fail; | |
13065 | } | |
13066 | { | |
13067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13068 | } | |
13069 | return resultobj; | |
13070 | fail: | |
13071 | return NULL; | |
13072 | } | |
13073 | ||
13074 | ||
13075 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13076 | PyObject *resultobj = 0; | |
13077 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13078 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13079 | wxAuiNotebookPage *arg3 = 0 ; | |
13080 | size_t arg4 ; | |
13081 | bool result; | |
13082 | void *argp1 = 0 ; | |
13083 | int res1 = 0 ; | |
13084 | void *argp2 = 0 ; | |
13085 | int res2 = 0 ; | |
13086 | void *argp3 = 0 ; | |
13087 | int res3 = 0 ; | |
13088 | size_t val4 ; | |
13089 | int ecode4 = 0 ; | |
13090 | PyObject * obj0 = 0 ; | |
13091 | PyObject * obj1 = 0 ; | |
13092 | PyObject * obj2 = 0 ; | |
13093 | PyObject * obj3 = 0 ; | |
13094 | char * kwnames[] = { | |
13095 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13096 | }; | |
13097 | ||
13098 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13099 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13100 | if (!SWIG_IsOK(res1)) { | |
13101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13102 | } | |
13103 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13104 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13105 | if (!SWIG_IsOK(res2)) { | |
13106 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13107 | } | |
13108 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13109 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13110 | if (!SWIG_IsOK(res3)) { | |
13111 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13112 | } | |
13113 | if (!argp3) { | |
13114 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13115 | } | |
13116 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13117 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13118 | if (!SWIG_IsOK(ecode4)) { | |
13119 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13120 | } | |
13121 | arg4 = static_cast< size_t >(val4); | |
13122 | { | |
13123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13124 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13125 | wxPyEndAllowThreads(__tstate); | |
13126 | if (PyErr_Occurred()) SWIG_fail; | |
13127 | } | |
13128 | { | |
13129 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13130 | } | |
13131 | return resultobj; | |
13132 | fail: | |
13133 | return NULL; | |
13134 | } | |
13135 | ||
13136 | ||
580080c5 RD |
13137 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13138 | PyObject *resultobj = 0; | |
13139 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13140 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13141 | size_t arg3 ; | |
13142 | bool result; | |
13143 | void *argp1 = 0 ; | |
13144 | int res1 = 0 ; | |
13145 | void *argp2 = 0 ; | |
13146 | int res2 = 0 ; | |
13147 | size_t val3 ; | |
13148 | int ecode3 = 0 ; | |
13149 | PyObject * obj0 = 0 ; | |
13150 | PyObject * obj1 = 0 ; | |
13151 | PyObject * obj2 = 0 ; | |
13152 | char * kwnames[] = { | |
13153 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13154 | }; | |
13155 | ||
13156 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13157 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13158 | if (!SWIG_IsOK(res1)) { | |
13159 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13160 | } | |
13161 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13162 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13163 | if (!SWIG_IsOK(res2)) { | |
13164 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13165 | } | |
13166 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13167 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13168 | if (!SWIG_IsOK(ecode3)) { | |
13169 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
13170 | } | |
13171 | arg3 = static_cast< size_t >(val3); | |
13172 | { | |
13173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13174 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
13175 | wxPyEndAllowThreads(__tstate); | |
13176 | if (PyErr_Occurred()) SWIG_fail; | |
13177 | } | |
13178 | { | |
13179 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13180 | } | |
13181 | return resultobj; | |
13182 | fail: | |
13183 | return NULL; | |
13184 | } | |
13185 | ||
13186 | ||
1eeb270e RD |
13187 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13188 | PyObject *resultobj = 0; | |
13189 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13190 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13191 | bool result; | |
13192 | void *argp1 = 0 ; | |
13193 | int res1 = 0 ; | |
13194 | void *argp2 = 0 ; | |
13195 | int res2 = 0 ; | |
13196 | PyObject * obj0 = 0 ; | |
13197 | PyObject * obj1 = 0 ; | |
13198 | char * kwnames[] = { | |
13199 | (char *) "self",(char *) "page", NULL | |
13200 | }; | |
13201 | ||
13202 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13203 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13204 | if (!SWIG_IsOK(res1)) { | |
13205 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13206 | } | |
13207 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13208 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13209 | if (!SWIG_IsOK(res2)) { | |
13210 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13211 | } | |
13212 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13213 | { | |
13214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13215 | result = (bool)(arg1)->RemovePage(arg2); | |
13216 | wxPyEndAllowThreads(__tstate); | |
13217 | if (PyErr_Occurred()) SWIG_fail; | |
13218 | } | |
13219 | { | |
13220 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13221 | } | |
13222 | return resultobj; | |
13223 | fail: | |
13224 | return NULL; | |
13225 | } | |
13226 | ||
13227 | ||
13228 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13229 | PyObject *resultobj = 0; | |
13230 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13231 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13232 | bool result; | |
13233 | void *argp1 = 0 ; | |
13234 | int res1 = 0 ; | |
13235 | void *argp2 = 0 ; | |
13236 | int res2 = 0 ; | |
13237 | ||
13238 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13239 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13240 | if (!SWIG_IsOK(res1)) { | |
13241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13242 | } | |
13243 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13244 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13245 | if (!SWIG_IsOK(res2)) { | |
13246 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13247 | } | |
13248 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13249 | { | |
13250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13251 | result = (bool)(arg1)->SetActivePage(arg2); | |
13252 | wxPyEndAllowThreads(__tstate); | |
13253 | if (PyErr_Occurred()) SWIG_fail; | |
13254 | } | |
13255 | { | |
13256 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13257 | } | |
13258 | return resultobj; | |
13259 | fail: | |
13260 | return NULL; | |
13261 | } | |
13262 | ||
13263 | ||
13264 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13265 | PyObject *resultobj = 0; | |
13266 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13267 | size_t arg2 ; | |
13268 | bool result; | |
13269 | void *argp1 = 0 ; | |
13270 | int res1 = 0 ; | |
13271 | size_t val2 ; | |
13272 | int ecode2 = 0 ; | |
13273 | ||
13274 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13275 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13276 | if (!SWIG_IsOK(res1)) { | |
13277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13278 | } | |
13279 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13280 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
13281 | if (!SWIG_IsOK(ecode2)) { | |
13282 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
13283 | } | |
13284 | arg2 = static_cast< size_t >(val2); | |
13285 | { | |
13286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13287 | result = (bool)(arg1)->SetActivePage(arg2); | |
13288 | wxPyEndAllowThreads(__tstate); | |
13289 | if (PyErr_Occurred()) SWIG_fail; | |
13290 | } | |
13291 | { | |
13292 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13293 | } | |
13294 | return resultobj; | |
13295 | fail: | |
13296 | return NULL; | |
13297 | } | |
13298 | ||
13299 | ||
13300 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
13301 | int argc; | |
13302 | PyObject *argv[3]; | |
13303 | ||
13304 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
13305 | --argc; | |
13306 | if (argc == 2) { | |
13307 | int _v = 0; | |
13308 | { | |
13309 | void *vptr = 0; | |
13310 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
13311 | _v = SWIG_CheckState(res); | |
13312 | } | |
13313 | if (!_v) goto check_1; | |
13314 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
13315 | } | |
13316 | check_1: | |
13317 | ||
13318 | if (argc == 2) { | |
13319 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
13320 | } | |
13321 | ||
13322 | fail: | |
13323 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
13324 | return NULL; | |
13325 | } | |
13326 | ||
13327 | ||
13328 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13329 | PyObject *resultobj = 0; | |
13330 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13331 | void *argp1 = 0 ; | |
13332 | int res1 = 0 ; | |
13333 | PyObject *swig_obj[1] ; | |
13334 | ||
13335 | if (!args) SWIG_fail; | |
13336 | swig_obj[0] = args; | |
13337 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13338 | if (!SWIG_IsOK(res1)) { | |
13339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13340 | } | |
13341 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13342 | { | |
13343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13344 | (arg1)->SetNoneActive(); | |
13345 | wxPyEndAllowThreads(__tstate); | |
13346 | if (PyErr_Occurred()) SWIG_fail; | |
13347 | } | |
13348 | resultobj = SWIG_Py_Void(); | |
13349 | return resultobj; | |
13350 | fail: | |
13351 | return NULL; | |
13352 | } | |
13353 | ||
13354 | ||
13355 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13356 | PyObject *resultobj = 0; | |
13357 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13358 | int result; | |
13359 | void *argp1 = 0 ; | |
13360 | int res1 = 0 ; | |
13361 | PyObject *swig_obj[1] ; | |
13362 | ||
13363 | if (!args) SWIG_fail; | |
13364 | swig_obj[0] = args; | |
13365 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13366 | if (!SWIG_IsOK(res1)) { | |
13367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13368 | } | |
13369 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13370 | { | |
13371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13372 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
13373 | wxPyEndAllowThreads(__tstate); | |
13374 | if (PyErr_Occurred()) SWIG_fail; | |
13375 | } | |
13376 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13377 | return resultobj; | |
13378 | fail: | |
13379 | return NULL; | |
13380 | } | |
13381 | ||
13382 | ||
13383 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13384 | PyObject *resultobj = 0; | |
13385 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13386 | int arg2 ; | |
13387 | int arg3 ; | |
13388 | wxWindow **arg4 = (wxWindow **) 0 ; | |
13389 | bool result; | |
13390 | void *argp1 = 0 ; | |
13391 | int res1 = 0 ; | |
13392 | int val2 ; | |
13393 | int ecode2 = 0 ; | |
13394 | int val3 ; | |
13395 | int ecode3 = 0 ; | |
13396 | void *argp4 = 0 ; | |
13397 | int res4 = 0 ; | |
13398 | PyObject * obj0 = 0 ; | |
13399 | PyObject * obj1 = 0 ; | |
13400 | PyObject * obj2 = 0 ; | |
13401 | PyObject * obj3 = 0 ; | |
13402 | char * kwnames[] = { | |
13403 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13404 | }; | |
13405 | ||
13406 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13407 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13408 | if (!SWIG_IsOK(res1)) { | |
13409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13410 | } | |
13411 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13412 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13413 | if (!SWIG_IsOK(ecode2)) { | |
13414 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13415 | } | |
13416 | arg2 = static_cast< int >(val2); | |
13417 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13418 | if (!SWIG_IsOK(ecode3)) { | |
13419 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13420 | } | |
13421 | arg3 = static_cast< int >(val3); | |
13422 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
13423 | if (!SWIG_IsOK(res4)) { | |
13424 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
13425 | } | |
13426 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
13427 | { | |
13428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13429 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
13430 | wxPyEndAllowThreads(__tstate); | |
13431 | if (PyErr_Occurred()) SWIG_fail; | |
13432 | } | |
13433 | { | |
13434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13435 | } | |
13436 | return resultobj; | |
13437 | fail: | |
13438 | return NULL; | |
13439 | } | |
13440 | ||
13441 | ||
13442 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13443 | PyObject *resultobj = 0; | |
13444 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13445 | int arg2 ; | |
13446 | int arg3 ; | |
13447 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
13448 | bool result; | |
13449 | void *argp1 = 0 ; | |
13450 | int res1 = 0 ; | |
13451 | int val2 ; | |
13452 | int ecode2 = 0 ; | |
13453 | int val3 ; | |
13454 | int ecode3 = 0 ; | |
13455 | void *argp4 = 0 ; | |
13456 | int res4 = 0 ; | |
13457 | PyObject * obj0 = 0 ; | |
13458 | PyObject * obj1 = 0 ; | |
13459 | PyObject * obj2 = 0 ; | |
13460 | PyObject * obj3 = 0 ; | |
13461 | char * kwnames[] = { | |
13462 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13463 | }; | |
13464 | ||
13465 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13466 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13467 | if (!SWIG_IsOK(res1)) { | |
13468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13469 | } | |
13470 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13471 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13472 | if (!SWIG_IsOK(ecode2)) { | |
13473 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13474 | } | |
13475 | arg2 = static_cast< int >(val2); | |
13476 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13477 | if (!SWIG_IsOK(ecode3)) { | |
13478 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13479 | } | |
13480 | arg3 = static_cast< int >(val3); | |
13481 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
13482 | if (!SWIG_IsOK(res4)) { | |
13483 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
13484 | } | |
13485 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
13486 | { | |
13487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13488 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
13489 | wxPyEndAllowThreads(__tstate); | |
13490 | if (PyErr_Occurred()) SWIG_fail; | |
13491 | } | |
13492 | { | |
13493 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13494 | } | |
13495 | return resultobj; | |
13496 | fail: | |
13497 | return NULL; | |
13498 | } | |
13499 | ||
13500 | ||
13501 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13502 | PyObject *resultobj = 0; | |
13503 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13504 | size_t arg2 ; | |
13505 | wxWindow *result = 0 ; | |
13506 | void *argp1 = 0 ; | |
13507 | int res1 = 0 ; | |
13508 | size_t val2 ; | |
13509 | int ecode2 = 0 ; | |
13510 | PyObject * obj0 = 0 ; | |
13511 | PyObject * obj1 = 0 ; | |
13512 | char * kwnames[] = { | |
13513 | (char *) "self",(char *) "idx", NULL | |
13514 | }; | |
13515 | ||
13516 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
13517 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13518 | if (!SWIG_IsOK(res1)) { | |
13519 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13520 | } | |
13521 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13522 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13523 | if (!SWIG_IsOK(ecode2)) { | |
13524 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
13525 | } | |
13526 | arg2 = static_cast< size_t >(val2); | |
13527 | { | |
13528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13529 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
13530 | wxPyEndAllowThreads(__tstate); | |
13531 | if (PyErr_Occurred()) SWIG_fail; | |
13532 | } | |
13533 | { | |
13534 | resultobj = wxPyMake_wxObject(result, 0); | |
13535 | } | |
13536 | return resultobj; | |
13537 | fail: | |
13538 | return NULL; | |
13539 | } | |
13540 | ||
13541 | ||
13542 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13543 | PyObject *resultobj = 0; | |
13544 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13545 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13546 | int result; | |
13547 | void *argp1 = 0 ; | |
13548 | int res1 = 0 ; | |
13549 | void *argp2 = 0 ; | |
13550 | int res2 = 0 ; | |
13551 | PyObject * obj0 = 0 ; | |
13552 | PyObject * obj1 = 0 ; | |
13553 | char * kwnames[] = { | |
13554 | (char *) "self",(char *) "page", NULL | |
13555 | }; | |
13556 | ||
13557 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
13558 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13559 | if (!SWIG_IsOK(res1)) { | |
13560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13561 | } | |
13562 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13563 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13564 | if (!SWIG_IsOK(res2)) { | |
13565 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13566 | } | |
13567 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13568 | { | |
13569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13570 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
13571 | wxPyEndAllowThreads(__tstate); | |
13572 | if (PyErr_Occurred()) SWIG_fail; | |
13573 | } | |
13574 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13575 | return resultobj; | |
13576 | fail: | |
13577 | return NULL; | |
13578 | } | |
13579 | ||
13580 | ||
13581 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13582 | PyObject *resultobj = 0; | |
13583 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13584 | size_t result; | |
13585 | void *argp1 = 0 ; | |
13586 | int res1 = 0 ; | |
13587 | PyObject *swig_obj[1] ; | |
13588 | ||
13589 | if (!args) SWIG_fail; | |
13590 | swig_obj[0] = args; | |
13591 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13592 | if (!SWIG_IsOK(res1)) { | |
13593 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13594 | } | |
13595 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13596 | { | |
13597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13598 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
13599 | wxPyEndAllowThreads(__tstate); | |
13600 | if (PyErr_Occurred()) SWIG_fail; | |
13601 | } | |
13602 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13603 | return resultobj; | |
13604 | fail: | |
13605 | return NULL; | |
13606 | } | |
13607 | ||
13608 | ||
13609 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13610 | PyObject *resultobj = 0; | |
13611 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13612 | size_t arg2 ; | |
13613 | wxAuiNotebookPage *result = 0 ; | |
13614 | void *argp1 = 0 ; | |
13615 | int res1 = 0 ; | |
13616 | size_t val2 ; | |
13617 | int ecode2 = 0 ; | |
13618 | PyObject * obj0 = 0 ; | |
13619 | PyObject * obj1 = 0 ; | |
13620 | char * kwnames[] = { | |
13621 | (char *) "self",(char *) "idx", NULL | |
13622 | }; | |
13623 | ||
13624 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13625 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13626 | if (!SWIG_IsOK(res1)) { | |
13627 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13628 | } | |
13629 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13630 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13631 | if (!SWIG_IsOK(ecode2)) { | |
13632 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
13633 | } | |
13634 | arg2 = static_cast< size_t >(val2); | |
13635 | { | |
13636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13637 | { | |
13638 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
13639 | result = (wxAuiNotebookPage *) &_result_ref; | |
13640 | } | |
13641 | wxPyEndAllowThreads(__tstate); | |
13642 | if (PyErr_Occurred()) SWIG_fail; | |
13643 | } | |
13644 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
13645 | return resultobj; | |
13646 | fail: | |
13647 | return NULL; | |
13648 | } | |
13649 | ||
13650 | ||
13651 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13652 | PyObject *resultobj = 0; | |
13653 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13654 | wxAuiNotebookPageArray *result = 0 ; | |
13655 | void *argp1 = 0 ; | |
13656 | int res1 = 0 ; | |
13657 | PyObject *swig_obj[1] ; | |
13658 | ||
13659 | if (!args) SWIG_fail; | |
13660 | swig_obj[0] = args; | |
13661 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13662 | if (!SWIG_IsOK(res1)) { | |
13663 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13664 | } | |
13665 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13666 | { | |
13667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13668 | { | |
13669 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
13670 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
13671 | } | |
13672 | wxPyEndAllowThreads(__tstate); | |
13673 | if (PyErr_Occurred()) SWIG_fail; | |
13674 | } | |
13675 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
13676 | return resultobj; | |
13677 | fail: | |
13678 | return NULL; | |
13679 | } | |
13680 | ||
13681 | ||
13682 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13683 | PyObject *resultobj = 0; | |
13684 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13685 | wxFont *arg2 = 0 ; | |
13686 | void *argp1 = 0 ; | |
13687 | int res1 = 0 ; | |
13688 | void *argp2 = 0 ; | |
13689 | int res2 = 0 ; | |
13690 | PyObject * obj0 = 0 ; | |
13691 | PyObject * obj1 = 0 ; | |
13692 | char * kwnames[] = { | |
13693 | (char *) "self",(char *) "normal_font", NULL | |
13694 | }; | |
13695 | ||
13696 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13697 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13698 | if (!SWIG_IsOK(res1)) { | |
13699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13700 | } | |
13701 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13702 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13703 | if (!SWIG_IsOK(res2)) { | |
13704 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13705 | } | |
13706 | if (!argp2) { | |
13707 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13708 | } | |
13709 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13710 | { | |
13711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13712 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
13713 | wxPyEndAllowThreads(__tstate); | |
13714 | if (PyErr_Occurred()) SWIG_fail; | |
13715 | } | |
13716 | resultobj = SWIG_Py_Void(); | |
13717 | return resultobj; | |
13718 | fail: | |
13719 | return NULL; | |
13720 | } | |
13721 | ||
13722 | ||
13723 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13724 | PyObject *resultobj = 0; | |
13725 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13726 | wxFont *arg2 = 0 ; | |
13727 | void *argp1 = 0 ; | |
13728 | int res1 = 0 ; | |
13729 | void *argp2 = 0 ; | |
13730 | int res2 = 0 ; | |
13731 | PyObject * obj0 = 0 ; | |
13732 | PyObject * obj1 = 0 ; | |
13733 | char * kwnames[] = { | |
13734 | (char *) "self",(char *) "selected_font", NULL | |
13735 | }; | |
13736 | ||
13737 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13738 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13739 | if (!SWIG_IsOK(res1)) { | |
13740 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13741 | } | |
13742 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13743 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13744 | if (!SWIG_IsOK(res2)) { | |
13745 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13746 | } | |
13747 | if (!argp2) { | |
13748 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13749 | } | |
13750 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13751 | { | |
13752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13753 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
13754 | wxPyEndAllowThreads(__tstate); | |
13755 | if (PyErr_Occurred()) SWIG_fail; | |
13756 | } | |
13757 | resultobj = SWIG_Py_Void(); | |
13758 | return resultobj; | |
13759 | fail: | |
13760 | return NULL; | |
13761 | } | |
13762 | ||
13763 | ||
13764 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13765 | PyObject *resultobj = 0; | |
13766 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13767 | wxFont *arg2 = 0 ; | |
13768 | void *argp1 = 0 ; | |
13769 | int res1 = 0 ; | |
13770 | void *argp2 = 0 ; | |
13771 | int res2 = 0 ; | |
13772 | PyObject * obj0 = 0 ; | |
13773 | PyObject * obj1 = 0 ; | |
13774 | char * kwnames[] = { | |
13775 | (char *) "self",(char *) "measuring_font", NULL | |
13776 | }; | |
13777 | ||
13778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13780 | if (!SWIG_IsOK(res1)) { | |
13781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13782 | } | |
13783 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13784 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13785 | if (!SWIG_IsOK(res2)) { | |
13786 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13787 | } | |
13788 | if (!argp2) { | |
13789 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13790 | } | |
13791 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13792 | { | |
13793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13794 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13795 | wxPyEndAllowThreads(__tstate); | |
13796 | if (PyErr_Occurred()) SWIG_fail; | |
13797 | } | |
13798 | resultobj = SWIG_Py_Void(); | |
13799 | return resultobj; | |
13800 | fail: | |
13801 | return NULL; | |
13802 | } | |
13803 | ||
13804 | ||
13805 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13806 | PyObject *resultobj = 0; | |
13807 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13808 | void *argp1 = 0 ; | |
13809 | int res1 = 0 ; | |
13810 | PyObject *swig_obj[1] ; | |
13811 | ||
13812 | if (!args) SWIG_fail; | |
13813 | swig_obj[0] = args; | |
13814 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13815 | if (!SWIG_IsOK(res1)) { | |
13816 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13817 | } | |
13818 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13819 | { | |
13820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13821 | (arg1)->DoShowHide(); | |
13822 | wxPyEndAllowThreads(__tstate); | |
13823 | if (PyErr_Occurred()) SWIG_fail; | |
13824 | } | |
13825 | resultobj = SWIG_Py_Void(); | |
13826 | return resultobj; | |
13827 | fail: | |
13828 | return NULL; | |
13829 | } | |
13830 | ||
13831 | ||
13832 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13833 | PyObject *resultobj = 0; | |
13834 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13835 | wxRect *arg2 = 0 ; | |
13836 | void *argp1 = 0 ; | |
13837 | int res1 = 0 ; | |
13838 | wxRect temp2 ; | |
13839 | PyObject * obj0 = 0 ; | |
13840 | PyObject * obj1 = 0 ; | |
13841 | char * kwnames[] = { | |
13842 | (char *) "self",(char *) "rect", NULL | |
13843 | }; | |
13844 | ||
13845 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
13846 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13847 | if (!SWIG_IsOK(res1)) { | |
13848 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13849 | } | |
13850 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13851 | { | |
13852 | arg2 = &temp2; | |
13853 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
13854 | } | |
13855 | { | |
13856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13857 | (arg1)->SetRect((wxRect const &)*arg2); | |
13858 | wxPyEndAllowThreads(__tstate); | |
13859 | if (PyErr_Occurred()) SWIG_fail; | |
13860 | } | |
13861 | resultobj = SWIG_Py_Void(); | |
13862 | return resultobj; | |
13863 | fail: | |
13864 | return NULL; | |
13865 | } | |
13866 | ||
13867 | ||
36cb9ebe RD |
13868 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13869 | PyObject *resultobj = 0; | |
13870 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13871 | int arg2 ; | |
13872 | void *argp1 = 0 ; | |
13873 | int res1 = 0 ; | |
13874 | int val2 ; | |
13875 | int ecode2 = 0 ; | |
13876 | PyObject * obj0 = 0 ; | |
13877 | PyObject * obj1 = 0 ; | |
13878 | char * kwnames[] = { | |
13879 | (char *) "self",(char *) "id", NULL | |
13880 | }; | |
13881 | ||
13882 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
13883 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13884 | if (!SWIG_IsOK(res1)) { | |
13885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13886 | } | |
13887 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13888 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13889 | if (!SWIG_IsOK(ecode2)) { | |
13890 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
13891 | } | |
13892 | arg2 = static_cast< int >(val2); | |
13893 | { | |
13894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13895 | (arg1)->RemoveButton(arg2); | |
13896 | wxPyEndAllowThreads(__tstate); | |
13897 | if (PyErr_Occurred()) SWIG_fail; | |
13898 | } | |
13899 | resultobj = SWIG_Py_Void(); | |
13900 | return resultobj; | |
13901 | fail: | |
13902 | return NULL; | |
13903 | } | |
13904 | ||
13905 | ||
1eeb270e RD |
13906 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13907 | PyObject *resultobj = 0; | |
13908 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13909 | int arg2 ; | |
5c8c7dd3 | 13910 | int arg3 ; |
8f514ab4 RD |
13911 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
13912 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
13913 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
13914 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
1eeb270e RD |
13915 | void *argp1 = 0 ; |
13916 | int res1 = 0 ; | |
13917 | int val2 ; | |
13918 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
13919 | int val3 ; |
13920 | int ecode3 = 0 ; | |
13921 | void *argp4 = 0 ; | |
13922 | int res4 = 0 ; | |
8f514ab4 RD |
13923 | void *argp5 = 0 ; |
13924 | int res5 = 0 ; | |
1eeb270e RD |
13925 | PyObject * obj0 = 0 ; |
13926 | PyObject * obj1 = 0 ; | |
13927 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 13928 | PyObject * obj3 = 0 ; |
8f514ab4 | 13929 | PyObject * obj4 = 0 ; |
1eeb270e | 13930 | char * kwnames[] = { |
8f514ab4 | 13931 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
1eeb270e RD |
13932 | }; |
13933 | ||
8f514ab4 | 13934 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
1eeb270e RD |
13935 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
13936 | if (!SWIG_IsOK(res1)) { | |
13937 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13938 | } | |
13939 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13940 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13941 | if (!SWIG_IsOK(ecode2)) { | |
13942 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
13943 | } | |
13944 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
13945 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
13946 | if (!SWIG_IsOK(ecode3)) { | |
13947 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
13948 | } | |
13949 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
13950 | if (obj3) { |
13951 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13952 | if (!SWIG_IsOK(res4)) { | |
13953 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
13954 | } | |
13955 | if (!argp4) { | |
13956 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
13957 | } | |
13958 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
1eeb270e | 13959 | } |
8f514ab4 RD |
13960 | if (obj4) { |
13961 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13962 | if (!SWIG_IsOK(res5)) { | |
13963 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13964 | } | |
13965 | if (!argp5) { | |
13966 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13967 | } | |
13968 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
1eeb270e | 13969 | } |
1eeb270e RD |
13970 | { |
13971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
13972 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
13973 | wxPyEndAllowThreads(__tstate); | |
13974 | if (PyErr_Occurred()) SWIG_fail; | |
13975 | } | |
13976 | resultobj = SWIG_Py_Void(); | |
13977 | return resultobj; | |
13978 | fail: | |
13979 | return NULL; | |
13980 | } | |
13981 | ||
13982 | ||
13983 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13984 | PyObject *resultobj = 0; | |
13985 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13986 | size_t result; | |
13987 | void *argp1 = 0 ; | |
13988 | int res1 = 0 ; | |
13989 | PyObject *swig_obj[1] ; | |
13990 | ||
13991 | if (!args) SWIG_fail; | |
13992 | swig_obj[0] = args; | |
13993 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13994 | if (!SWIG_IsOK(res1)) { | |
13995 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13996 | } | |
13997 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13998 | { | |
13999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14000 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14001 | wxPyEndAllowThreads(__tstate); | |
14002 | if (PyErr_Occurred()) SWIG_fail; | |
14003 | } | |
14004 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14005 | return resultobj; | |
14006 | fail: | |
14007 | return NULL; | |
14008 | } | |
14009 | ||
14010 | ||
14011 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14012 | PyObject *resultobj = 0; | |
14013 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14014 | size_t arg2 ; | |
14015 | void *argp1 = 0 ; | |
14016 | int res1 = 0 ; | |
14017 | size_t val2 ; | |
14018 | int ecode2 = 0 ; | |
14019 | PyObject * obj0 = 0 ; | |
14020 | PyObject * obj1 = 0 ; | |
14021 | char * kwnames[] = { | |
14022 | (char *) "self",(char *) "offset", NULL | |
14023 | }; | |
14024 | ||
14025 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14026 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14027 | if (!SWIG_IsOK(res1)) { | |
14028 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14029 | } | |
14030 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14031 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14032 | if (!SWIG_IsOK(ecode2)) { | |
14033 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14034 | } | |
14035 | arg2 = static_cast< size_t >(val2); | |
14036 | { | |
14037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14038 | (arg1)->SetTabOffset(arg2); | |
1eeb270e RD |
14039 | wxPyEndAllowThreads(__tstate); |
14040 | if (PyErr_Occurred()) SWIG_fail; | |
14041 | } | |
14042 | resultobj = SWIG_Py_Void(); | |
14043 | return resultobj; | |
14044 | fail: | |
14045 | return NULL; | |
14046 | } | |
14047 | ||
14048 | ||
14049 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14050 | PyObject *obj; | |
14051 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14052 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14053 | return SWIG_Py_Void(); | |
14054 | } | |
14055 | ||
14056 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14057 | return SWIG_Python_InitShadowInstance(args); | |
14058 | } | |
14059 | ||
14060 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14061 | PyObject *resultobj = 0; | |
14062 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14063 | int arg2 = (int) wxID_ANY ; | |
14064 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14065 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14066 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14067 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14068 | long arg5 = (long) 0 ; | |
14069 | wxAuiTabCtrl *result = 0 ; | |
14070 | void *argp1 = 0 ; | |
14071 | int res1 = 0 ; | |
14072 | int val2 ; | |
14073 | int ecode2 = 0 ; | |
14074 | wxPoint temp3 ; | |
14075 | wxSize temp4 ; | |
14076 | long val5 ; | |
14077 | int ecode5 = 0 ; | |
14078 | PyObject * obj0 = 0 ; | |
14079 | PyObject * obj1 = 0 ; | |
14080 | PyObject * obj2 = 0 ; | |
14081 | PyObject * obj3 = 0 ; | |
14082 | PyObject * obj4 = 0 ; | |
14083 | char * kwnames[] = { | |
14084 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14085 | }; | |
14086 | ||
14087 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14088 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14089 | if (!SWIG_IsOK(res1)) { | |
14090 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14091 | } | |
14092 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14093 | if (obj1) { | |
14094 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14095 | if (!SWIG_IsOK(ecode2)) { | |
14096 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14097 | } | |
14098 | arg2 = static_cast< int >(val2); | |
14099 | } | |
14100 | if (obj2) { | |
14101 | { | |
14102 | arg3 = &temp3; | |
14103 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14104 | } | |
14105 | } | |
14106 | if (obj3) { | |
14107 | { | |
14108 | arg4 = &temp4; | |
14109 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14110 | } | |
14111 | } | |
14112 | if (obj4) { | |
14113 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14114 | if (!SWIG_IsOK(ecode5)) { | |
14115 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14116 | } | |
14117 | arg5 = static_cast< long >(val5); | |
14118 | } | |
14119 | { | |
14120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14121 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14122 | wxPyEndAllowThreads(__tstate); | |
14123 | if (PyErr_Occurred()) SWIG_fail; | |
14124 | } | |
14125 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14126 | return resultobj; | |
14127 | fail: | |
14128 | return NULL; | |
14129 | } | |
14130 | ||
14131 | ||
580080c5 RD |
14132 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14133 | PyObject *resultobj = 0; | |
14134 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14135 | void *argp1 = 0 ; | |
14136 | int res1 = 0 ; | |
14137 | PyObject *swig_obj[1] ; | |
14138 | ||
14139 | if (!args) SWIG_fail; | |
14140 | swig_obj[0] = args; | |
14141 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14142 | if (!SWIG_IsOK(res1)) { | |
14143 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14144 | } | |
14145 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14146 | { | |
14147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14148 | delete arg1; | |
14149 | ||
14150 | wxPyEndAllowThreads(__tstate); | |
14151 | if (PyErr_Occurred()) SWIG_fail; | |
14152 | } | |
14153 | resultobj = SWIG_Py_Void(); | |
14154 | return resultobj; | |
14155 | fail: | |
14156 | return NULL; | |
14157 | } | |
14158 | ||
14159 | ||
1eeb270e RD |
14160 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14161 | PyObject *obj; | |
14162 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14163 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14164 | return SWIG_Py_Void(); | |
14165 | } | |
14166 | ||
14167 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14168 | return SWIG_Python_InitShadowInstance(args); | |
14169 | } | |
14170 | ||
5eb8189c | 14171 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 14172 | PyObject *resultobj = 0; |
5eb8189c | 14173 | wxAuiNotebook *result = 0 ; |
1eeb270e | 14174 | |
5eb8189c | 14175 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
1eeb270e RD |
14176 | { |
14177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14178 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
1eeb270e RD |
14179 | wxPyEndAllowThreads(__tstate); |
14180 | if (PyErr_Occurred()) SWIG_fail; | |
14181 | } | |
5eb8189c | 14182 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
1eeb270e RD |
14183 | return resultobj; |
14184 | fail: | |
14185 | return NULL; | |
14186 | } | |
14187 | ||
14188 | ||
5eb8189c | 14189 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e RD |
14190 | PyObject *resultobj = 0; |
14191 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14192 | int arg2 = (int) wxID_ANY ; | |
14193 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14194 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14195 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14196 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
14197 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
14198 | wxAuiNotebook *result = 0 ; | |
1eeb270e RD |
14199 | void *argp1 = 0 ; |
14200 | int res1 = 0 ; | |
14201 | int val2 ; | |
14202 | int ecode2 = 0 ; | |
14203 | wxPoint temp3 ; | |
14204 | wxSize temp4 ; | |
14205 | long val5 ; | |
14206 | int ecode5 = 0 ; | |
14207 | PyObject * obj0 = 0 ; | |
14208 | PyObject * obj1 = 0 ; | |
14209 | PyObject * obj2 = 0 ; | |
14210 | PyObject * obj3 = 0 ; | |
14211 | PyObject * obj4 = 0 ; | |
14212 | char * kwnames[] = { | |
14213 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14214 | }; | |
14215 | ||
5eb8189c | 14216 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
1eeb270e RD |
14217 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14218 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 14219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
1eeb270e RD |
14220 | } |
14221 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14222 | if (obj1) { | |
14223 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14224 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14225 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
1eeb270e RD |
14226 | } |
14227 | arg2 = static_cast< int >(val2); | |
14228 | } | |
14229 | if (obj2) { | |
14230 | { | |
14231 | arg3 = &temp3; | |
14232 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14233 | } | |
14234 | } | |
14235 | if (obj3) { | |
14236 | { | |
14237 | arg4 = &temp4; | |
14238 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14239 | } | |
14240 | } | |
14241 | if (obj4) { | |
14242 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14243 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14244 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
1eeb270e RD |
14245 | } |
14246 | arg5 = static_cast< long >(val5); | |
14247 | } | |
14248 | { | |
14249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
14250 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
14251 | wxPyEndAllowThreads(__tstate); | |
14252 | if (PyErr_Occurred()) SWIG_fail; | |
14253 | } | |
14254 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
14255 | return resultobj; | |
14256 | fail: | |
14257 | return NULL; | |
14258 | } | |
14259 | ||
14260 | ||
14261 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14262 | PyObject *resultobj = 0; | |
14263 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
14264 | void *argp1 = 0 ; | |
14265 | int res1 = 0 ; | |
14266 | PyObject *swig_obj[1] ; | |
14267 | ||
14268 | if (!args) SWIG_fail; | |
14269 | swig_obj[0] = args; | |
14270 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
14271 | if (!SWIG_IsOK(res1)) { | |
14272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
14273 | } | |
14274 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
14275 | { | |
14276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14277 | delete arg1; | |
14278 | ||
1eeb270e RD |
14279 | wxPyEndAllowThreads(__tstate); |
14280 | if (PyErr_Occurred()) SWIG_fail; | |
14281 | } | |
5eb8189c | 14282 | resultobj = SWIG_Py_Void(); |
1eeb270e RD |
14283 | return resultobj; |
14284 | fail: | |
14285 | return NULL; | |
14286 | } | |
14287 | ||
14288 | ||
5eb8189c | 14289 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14290 | PyObject *resultobj = 0; |
5eb8189c | 14291 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14292 | wxWindow *arg2 = (wxWindow *) 0 ; |
14293 | int arg3 = (int) wxID_ANY ; | |
14294 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14295 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14296 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14297 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14298 | long arg6 = (long) 0 ; | |
14299 | bool result; | |
14300 | void *argp1 = 0 ; | |
14301 | int res1 = 0 ; | |
14302 | void *argp2 = 0 ; | |
14303 | int res2 = 0 ; | |
14304 | int val3 ; | |
14305 | int ecode3 = 0 ; | |
14306 | wxPoint temp4 ; | |
14307 | wxSize temp5 ; | |
14308 | long val6 ; | |
14309 | int ecode6 = 0 ; | |
14310 | PyObject * obj0 = 0 ; | |
14311 | PyObject * obj1 = 0 ; | |
14312 | PyObject * obj2 = 0 ; | |
14313 | PyObject * obj3 = 0 ; | |
14314 | PyObject * obj4 = 0 ; | |
14315 | PyObject * obj5 = 0 ; | |
14316 | char * kwnames[] = { | |
14317 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14318 | }; | |
14319 | ||
5eb8189c RD |
14320 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14321 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14322 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14324 | } |
5eb8189c | 14325 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14326 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14327 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14328 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
1eeb270e RD |
14329 | } |
14330 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14331 | if (obj2) { | |
14332 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14333 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 14334 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
1eeb270e RD |
14335 | } |
14336 | arg3 = static_cast< int >(val3); | |
14337 | } | |
14338 | if (obj3) { | |
14339 | { | |
14340 | arg4 = &temp4; | |
14341 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14342 | } | |
14343 | } | |
14344 | if (obj4) { | |
14345 | { | |
14346 | arg5 = &temp5; | |
14347 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14348 | } | |
14349 | } | |
14350 | if (obj5) { | |
14351 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
14352 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 14353 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
1eeb270e RD |
14354 | } |
14355 | arg6 = static_cast< long >(val6); | |
14356 | } | |
14357 | { | |
14358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14359 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
14360 | wxPyEndAllowThreads(__tstate); | |
14361 | if (PyErr_Occurred()) SWIG_fail; | |
14362 | } | |
14363 | { | |
14364 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14365 | } | |
14366 | return resultobj; | |
14367 | fail: | |
14368 | return NULL; | |
14369 | } | |
14370 | ||
14371 | ||
5eb8189c | 14372 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14373 | PyObject *resultobj = 0; |
5eb8189c | 14374 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14375 | wxWindow *arg2 = (wxWindow *) 0 ; |
14376 | wxString *arg3 = 0 ; | |
14377 | bool arg4 = (bool) false ; | |
14378 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14379 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
14380 | bool result; | |
14381 | void *argp1 = 0 ; | |
14382 | int res1 = 0 ; | |
14383 | void *argp2 = 0 ; | |
14384 | int res2 = 0 ; | |
14385 | bool temp3 = false ; | |
14386 | bool val4 ; | |
14387 | int ecode4 = 0 ; | |
14388 | void *argp5 = 0 ; | |
14389 | int res5 = 0 ; | |
14390 | PyObject * obj0 = 0 ; | |
14391 | PyObject * obj1 = 0 ; | |
14392 | PyObject * obj2 = 0 ; | |
14393 | PyObject * obj3 = 0 ; | |
14394 | PyObject * obj4 = 0 ; | |
14395 | char * kwnames[] = { | |
14396 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14397 | }; | |
14398 | ||
5eb8189c RD |
14399 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14400 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14401 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14403 | } |
5eb8189c | 14404 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14405 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14406 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14407 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
1eeb270e RD |
14408 | } |
14409 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14410 | { | |
14411 | arg3 = wxString_in_helper(obj2); | |
14412 | if (arg3 == NULL) SWIG_fail; | |
14413 | temp3 = true; | |
14414 | } | |
14415 | if (obj3) { | |
14416 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
14417 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 14418 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
1eeb270e RD |
14419 | } |
14420 | arg4 = static_cast< bool >(val4); | |
14421 | } | |
14422 | if (obj4) { | |
14423 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14424 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 14425 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
14426 | } |
14427 | if (!argp5) { | |
5eb8189c | 14428 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
14429 | } |
14430 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
14431 | } | |
14432 | { | |
14433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14434 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
14435 | wxPyEndAllowThreads(__tstate); | |
14436 | if (PyErr_Occurred()) SWIG_fail; | |
14437 | } | |
14438 | { | |
14439 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14440 | } | |
14441 | { | |
14442 | if (temp3) | |
14443 | delete arg3; | |
14444 | } | |
14445 | return resultobj; | |
14446 | fail: | |
14447 | { | |
14448 | if (temp3) | |
14449 | delete arg3; | |
14450 | } | |
14451 | return NULL; | |
14452 | } | |
14453 | ||
14454 | ||
5eb8189c | 14455 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14456 | PyObject *resultobj = 0; |
5eb8189c | 14457 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14458 | size_t arg2 ; |
14459 | wxWindow *arg3 = (wxWindow *) 0 ; | |
14460 | wxString *arg4 = 0 ; | |
14461 | bool arg5 = (bool) false ; | |
14462 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
14463 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
14464 | bool result; | |
14465 | void *argp1 = 0 ; | |
14466 | int res1 = 0 ; | |
14467 | size_t val2 ; | |
14468 | int ecode2 = 0 ; | |
14469 | void *argp3 = 0 ; | |
14470 | int res3 = 0 ; | |
14471 | bool temp4 = false ; | |
14472 | bool val5 ; | |
14473 | int ecode5 = 0 ; | |
14474 | void *argp6 = 0 ; | |
14475 | int res6 = 0 ; | |
14476 | PyObject * obj0 = 0 ; | |
14477 | PyObject * obj1 = 0 ; | |
14478 | PyObject * obj2 = 0 ; | |
14479 | PyObject * obj3 = 0 ; | |
14480 | PyObject * obj4 = 0 ; | |
14481 | PyObject * obj5 = 0 ; | |
14482 | char * kwnames[] = { | |
14483 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14484 | }; | |
14485 | ||
5eb8189c RD |
14486 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14487 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14488 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14490 | } |
5eb8189c | 14491 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14492 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14493 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14494 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
14495 | } |
14496 | arg2 = static_cast< size_t >(val2); | |
14497 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14498 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 14499 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
1eeb270e RD |
14500 | } |
14501 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
14502 | { | |
14503 | arg4 = wxString_in_helper(obj3); | |
14504 | if (arg4 == NULL) SWIG_fail; | |
14505 | temp4 = true; | |
14506 | } | |
14507 | if (obj4) { | |
14508 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
14509 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14510 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
1eeb270e RD |
14511 | } |
14512 | arg5 = static_cast< bool >(val5); | |
14513 | } | |
14514 | if (obj5) { | |
14515 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14516 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 14517 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
14518 | } |
14519 | if (!argp6) { | |
5eb8189c | 14520 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
14521 | } |
14522 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
14523 | } | |
14524 | { | |
14525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14526 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
14527 | wxPyEndAllowThreads(__tstate); | |
14528 | if (PyErr_Occurred()) SWIG_fail; | |
14529 | } | |
14530 | { | |
14531 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14532 | } | |
14533 | { | |
14534 | if (temp4) | |
14535 | delete arg4; | |
14536 | } | |
14537 | return resultobj; | |
14538 | fail: | |
14539 | { | |
14540 | if (temp4) | |
14541 | delete arg4; | |
14542 | } | |
14543 | return NULL; | |
14544 | } | |
14545 | ||
14546 | ||
5eb8189c | 14547 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14548 | PyObject *resultobj = 0; |
5eb8189c | 14549 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14550 | size_t arg2 ; |
14551 | bool result; | |
14552 | void *argp1 = 0 ; | |
14553 | int res1 = 0 ; | |
14554 | size_t val2 ; | |
14555 | int ecode2 = 0 ; | |
14556 | PyObject * obj0 = 0 ; | |
14557 | PyObject * obj1 = 0 ; | |
14558 | char * kwnames[] = { | |
14559 | (char *) "self",(char *) "page", NULL | |
14560 | }; | |
14561 | ||
5eb8189c RD |
14562 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
14563 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14564 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14566 | } |
5eb8189c | 14567 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14568 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14569 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14570 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
14571 | } |
14572 | arg2 = static_cast< size_t >(val2); | |
14573 | { | |
14574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14575 | result = (bool)(arg1)->DeletePage(arg2); | |
14576 | wxPyEndAllowThreads(__tstate); | |
14577 | if (PyErr_Occurred()) SWIG_fail; | |
14578 | } | |
14579 | { | |
14580 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14581 | } | |
14582 | return resultobj; | |
14583 | fail: | |
14584 | return NULL; | |
14585 | } | |
14586 | ||
14587 | ||
5eb8189c | 14588 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14589 | PyObject *resultobj = 0; |
5eb8189c | 14590 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14591 | size_t arg2 ; |
14592 | bool result; | |
14593 | void *argp1 = 0 ; | |
14594 | int res1 = 0 ; | |
14595 | size_t val2 ; | |
14596 | int ecode2 = 0 ; | |
14597 | PyObject * obj0 = 0 ; | |
14598 | PyObject * obj1 = 0 ; | |
14599 | char * kwnames[] = { | |
14600 | (char *) "self",(char *) "page", NULL | |
14601 | }; | |
14602 | ||
5eb8189c RD |
14603 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
14604 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14605 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14607 | } |
5eb8189c | 14608 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14609 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14610 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14611 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
14612 | } |
14613 | arg2 = static_cast< size_t >(val2); | |
14614 | { | |
14615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14616 | result = (bool)(arg1)->RemovePage(arg2); | |
14617 | wxPyEndAllowThreads(__tstate); | |
14618 | if (PyErr_Occurred()) SWIG_fail; | |
14619 | } | |
14620 | { | |
14621 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14622 | } | |
14623 | return resultobj; | |
14624 | fail: | |
14625 | return NULL; | |
14626 | } | |
14627 | ||
14628 | ||
5eb8189c | 14629 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14630 | PyObject *resultobj = 0; |
5eb8189c | 14631 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14632 | size_t arg2 ; |
14633 | wxString *arg3 = 0 ; | |
14634 | bool result; | |
14635 | void *argp1 = 0 ; | |
14636 | int res1 = 0 ; | |
14637 | size_t val2 ; | |
14638 | int ecode2 = 0 ; | |
14639 | bool temp3 = false ; | |
14640 | PyObject * obj0 = 0 ; | |
14641 | PyObject * obj1 = 0 ; | |
14642 | PyObject * obj2 = 0 ; | |
14643 | char * kwnames[] = { | |
14644 | (char *) "self",(char *) "page",(char *) "text", NULL | |
14645 | }; | |
14646 | ||
5eb8189c RD |
14647 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
14648 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14649 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14651 | } |
5eb8189c | 14652 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14653 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14654 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14655 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
14656 | } |
14657 | arg2 = static_cast< size_t >(val2); | |
14658 | { | |
14659 | arg3 = wxString_in_helper(obj2); | |
14660 | if (arg3 == NULL) SWIG_fail; | |
14661 | temp3 = true; | |
14662 | } | |
14663 | { | |
14664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14665 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
14666 | wxPyEndAllowThreads(__tstate); | |
14667 | if (PyErr_Occurred()) SWIG_fail; | |
14668 | } | |
14669 | { | |
14670 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14671 | } | |
14672 | { | |
14673 | if (temp3) | |
14674 | delete arg3; | |
14675 | } | |
14676 | return resultobj; | |
14677 | fail: | |
14678 | { | |
14679 | if (temp3) | |
14680 | delete arg3; | |
14681 | } | |
14682 | return NULL; | |
14683 | } | |
14684 | ||
14685 | ||
5eb8189c | 14686 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14687 | PyObject *resultobj = 0; |
5eb8189c | 14688 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14689 | size_t arg2 ; |
14690 | size_t result; | |
14691 | void *argp1 = 0 ; | |
14692 | int res1 = 0 ; | |
14693 | size_t val2 ; | |
14694 | int ecode2 = 0 ; | |
14695 | PyObject * obj0 = 0 ; | |
14696 | PyObject * obj1 = 0 ; | |
14697 | char * kwnames[] = { | |
14698 | (char *) "self",(char *) "new_page", NULL | |
14699 | }; | |
14700 | ||
5eb8189c RD |
14701 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
14702 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14703 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 14705 | } |
5eb8189c | 14706 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14707 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14708 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14709 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
14710 | } |
14711 | arg2 = static_cast< size_t >(val2); | |
14712 | { | |
14713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14714 | result = (size_t)(arg1)->SetSelection(arg2); | |
14715 | wxPyEndAllowThreads(__tstate); | |
14716 | if (PyErr_Occurred()) SWIG_fail; | |
14717 | } | |
14718 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14719 | return resultobj; | |
14720 | fail: | |
14721 | return NULL; | |
14722 | } | |
14723 | ||
14724 | ||
5eb8189c | 14725 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 14726 | PyObject *resultobj = 0; |
5eb8189c | 14727 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14728 | int result; |
14729 | void *argp1 = 0 ; | |
14730 | int res1 = 0 ; | |
14731 | PyObject *swig_obj[1] ; | |
14732 | ||
14733 | if (!args) SWIG_fail; | |
14734 | swig_obj[0] = args; | |
5eb8189c | 14735 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
1eeb270e | 14736 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14737 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
1eeb270e | 14738 | } |
5eb8189c | 14739 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14740 | { |
14741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14742 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
1eeb270e RD |
14743 | wxPyEndAllowThreads(__tstate); |
14744 | if (PyErr_Occurred()) SWIG_fail; | |
14745 | } | |
14746 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14747 | return resultobj; | |
14748 | fail: | |
14749 | return NULL; | |
14750 | } | |
14751 | ||
14752 | ||
5eb8189c | 14753 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 14754 | PyObject *resultobj = 0; |
5eb8189c | 14755 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14756 | size_t result; |
14757 | void *argp1 = 0 ; | |
14758 | int res1 = 0 ; | |
14759 | PyObject *swig_obj[1] ; | |
14760 | ||
14761 | if (!args) SWIG_fail; | |
14762 | swig_obj[0] = args; | |
5eb8189c | 14763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
1eeb270e | 14764 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
1eeb270e | 14766 | } |
5eb8189c | 14767 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14768 | { |
14769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14770 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
1eeb270e RD |
14771 | wxPyEndAllowThreads(__tstate); |
14772 | if (PyErr_Occurred()) SWIG_fail; | |
14773 | } | |
14774 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14775 | return resultobj; | |
14776 | fail: | |
14777 | return NULL; | |
14778 | } | |
14779 | ||
14780 | ||
5eb8189c | 14781 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 14782 | PyObject *resultobj = 0; |
5eb8189c | 14783 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
14784 | size_t arg2 ; |
14785 | wxWindow *result = 0 ; | |
14786 | void *argp1 = 0 ; | |
14787 | int res1 = 0 ; | |
14788 | size_t val2 ; | |
14789 | int ecode2 = 0 ; | |
14790 | PyObject * obj0 = 0 ; | |
14791 | PyObject * obj1 = 0 ; | |
14792 | char * kwnames[] = { | |
14793 | (char *) "self",(char *) "page_idx", NULL | |
14794 | }; | |
14795 | ||
5eb8189c RD |
14796 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
14797 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 14798 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14799 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
1eeb270e | 14800 | } |
5eb8189c | 14801 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
14802 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14803 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14804 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
14805 | } |
14806 | arg2 = static_cast< size_t >(val2); | |
14807 | { | |
14808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14809 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
1eeb270e RD |
14810 | wxPyEndAllowThreads(__tstate); |
14811 | if (PyErr_Occurred()) SWIG_fail; | |
14812 | } | |
14813 | { | |
14814 | resultobj = wxPyMake_wxObject(result, 0); | |
14815 | } | |
14816 | return resultobj; | |
14817 | fail: | |
14818 | return NULL; | |
14819 | } | |
14820 | ||
14821 | ||
5eb8189c | 14822 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 14823 | PyObject *resultobj = 0; |
5eb8189c RD |
14824 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
14825 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
5c8c7dd3 RD |
14826 | void *argp1 = 0 ; |
14827 | int res1 = 0 ; | |
14828 | void *argp2 = 0 ; | |
14829 | int res2 = 0 ; | |
14830 | PyObject * obj0 = 0 ; | |
14831 | PyObject * obj1 = 0 ; | |
14832 | char * kwnames[] = { | |
14833 | (char *) "self",(char *) "art", NULL | |
14834 | }; | |
14835 | ||
5eb8189c RD |
14836 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
14837 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 14838 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 14840 | } |
5eb8189c RD |
14841 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
14842 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 14843 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 14844 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 14845 | } |
5eb8189c | 14846 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
14847 | { |
14848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14849 | (arg1)->SetArtProvider(arg2); | |
14850 | wxPyEndAllowThreads(__tstate); | |
14851 | if (PyErr_Occurred()) SWIG_fail; | |
14852 | } | |
14853 | resultobj = SWIG_Py_Void(); | |
14854 | return resultobj; | |
14855 | fail: | |
14856 | return NULL; | |
14857 | } | |
14858 | ||
14859 | ||
5eb8189c | 14860 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 14861 | PyObject *resultobj = 0; |
5eb8189c RD |
14862 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
14863 | wxAuiTabArt *result = 0 ; | |
5c8c7dd3 RD |
14864 | void *argp1 = 0 ; |
14865 | int res1 = 0 ; | |
14866 | PyObject *swig_obj[1] ; | |
14867 | ||
14868 | if (!args) SWIG_fail; | |
14869 | swig_obj[0] = args; | |
5eb8189c | 14870 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 14871 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 14873 | } |
5eb8189c | 14874 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
5c8c7dd3 RD |
14875 | { |
14876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14877 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); |
5c8c7dd3 RD |
14878 | wxPyEndAllowThreads(__tstate); |
14879 | if (PyErr_Occurred()) SWIG_fail; | |
14880 | } | |
5eb8189c | 14881 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 RD |
14882 | return resultobj; |
14883 | fail: | |
14884 | return NULL; | |
14885 | } | |
14886 | ||
14887 | ||
5eb8189c | 14888 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
14889 | PyObject *obj; |
14890 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 14891 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
1eeb270e RD |
14892 | return SWIG_Py_Void(); |
14893 | } | |
14894 | ||
5eb8189c | 14895 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
14896 | return SWIG_Python_InitShadowInstance(args); |
14897 | } | |
14898 | ||
5eb8189c | 14899 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
14900 | PyObject *obj; |
14901 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 14902 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
1eeb270e RD |
14903 | return SWIG_Py_Void(); |
14904 | } | |
14905 | ||
5eb8189c | 14906 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
14907 | PyObject *obj; |
14908 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 14909 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
14910 | return SWIG_Py_Void(); |
14911 | } | |
14912 | ||
1eeb270e | 14913 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
14914 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
14915 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
14916 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14917 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
14918 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
14919 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
14920 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
14921 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
14922 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
14923 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
14924 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
14925 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
14926 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
14927 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
14928 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
14929 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
14930 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
14931 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
14932 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
14933 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
14934 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
14935 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
14936 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
14937 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
14938 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
14939 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
14940 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14941 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14942 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14943 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
14944 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
14945 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
14946 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
14947 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
14948 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
14949 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14950 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14951 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14952 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14953 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14954 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14955 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14956 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14957 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14958 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
14959 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14960 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
14961 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
14962 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
14963 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14964 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14965 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
14966 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
14967 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14968 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14969 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14970 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14971 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14972 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14973 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14974 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14975 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14976 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14977 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14978 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14979 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14980 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14981 | { (char *)"AuiPaneInfo_SaveHidden", (PyCFunction)_wrap_AuiPaneInfo_SaveHidden, METH_O, NULL}, | |
14982 | { (char *)"AuiPaneInfo_RestoreHidden", (PyCFunction)_wrap_AuiPaneInfo_RestoreHidden, METH_O, NULL}, | |
14983 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14984 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
14985 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
14986 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
14987 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
14988 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14989 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
14990 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
14991 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
14992 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
14993 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
14994 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
14995 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
14996 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
14997 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
14998 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
14999 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
15000 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15001 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
15002 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15003 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
15004 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
15005 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
15006 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
15007 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
15008 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
15009 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
15010 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
15011 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
15012 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
15013 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
15014 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
15015 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
15016 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
15017 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
15018 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
15019 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
15020 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
15021 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
15022 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
15023 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
15024 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
15025 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
15026 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15027 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
15028 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
15029 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15030 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
15031 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15032 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
15033 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15034 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
15035 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15036 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15037 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
15038 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
15039 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
15040 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
15041 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15042 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15043 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15044 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15045 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15046 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
15047 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15048 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15049 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
15050 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15051 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
15052 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15053 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15054 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15055 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
15056 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15057 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15058 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
15059 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
15060 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15061 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
15062 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15063 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15064 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15065 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
15066 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
15067 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
15068 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15069 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
15070 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15071 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
15072 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
15073 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
15074 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
15075 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
15076 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
15077 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
15078 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
15079 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
15080 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
15081 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
15082 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
15083 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
15084 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
15085 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
15086 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
15087 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
15088 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
15089 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
15090 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
15091 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
15092 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15093 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
15094 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15095 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
15096 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
15097 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
15098 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
15099 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
15100 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
15101 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
15102 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
15103 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
15104 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
15105 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
15106 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
15107 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
15108 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
15109 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
15110 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
15111 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
15112 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
15113 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
15114 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
15115 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
15116 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
15117 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
15118 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
15119 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
15120 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
15121 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
15122 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
15123 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
15124 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
15125 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
15126 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
15127 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
15128 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
15129 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
15130 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
15131 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
15132 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
15133 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
15134 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15135 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15136 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15137 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15138 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15139 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15140 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15141 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15142 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15143 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15144 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15145 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15146 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15147 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15148 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15149 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
15150 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
15151 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
15152 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15153 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
15154 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15155 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
15156 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
15157 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, | |
15158 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15159 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15160 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15161 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15162 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15163 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15164 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15165 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15166 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
15167 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
15168 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
15169 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
15170 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
1eeb270e RD |
15171 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
15172 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15173 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15174 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
15175 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
15176 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
15177 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
15178 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
15179 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
15180 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
15181 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
15182 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
15183 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
15184 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
15185 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
15186 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
15187 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
15188 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
15189 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
15190 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
15191 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
15192 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
15193 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
15194 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
15195 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
15196 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
15197 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
15198 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
1eeb270e RD |
15199 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
15200 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
15201 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
15202 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
1eeb270e RD |
15203 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
15204 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
15205 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
15206 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
15207 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
15208 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
15209 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
15210 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
15211 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
1eeb270e RD |
15212 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15213 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15214 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
1eeb270e RD |
15215 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15216 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
15217 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
15218 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
15219 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15220 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15221 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15222 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15223 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
15224 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15225 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
15226 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15227 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15228 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15229 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
15230 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 15231 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
1eeb270e | 15232 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
15233 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
15234 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
1eeb270e RD |
15235 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
15236 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
15237 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15238 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
1eeb270e RD |
15239 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
15240 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
15241 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
15242 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15243 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
15244 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15245 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15246 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15247 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15248 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15249 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15250 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15251 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
15252 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
15253 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15254 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15255 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
15256 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, | |
15257 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
15258 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15259 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
15260 | { NULL, NULL, 0, NULL } |
15261 | }; | |
15262 | ||
15263 | ||
15264 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
15265 | ||
5eb8189c RD |
15266 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
15267 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
15268 | } |
15269 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
15270 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
15271 | } | |
15272 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
15273 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15274 | } | |
15275 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
15276 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
15277 | } | |
15278 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
15279 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15280 | } | |
15281 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
15282 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
15283 | } | |
15284 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
15285 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15286 | } | |
15287 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
15288 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
15289 | } | |
5eb8189c RD |
15290 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
15291 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
15292 | } | |
15293 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { | |
15294 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
15295 | } | |
1eeb270e RD |
15296 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
15297 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15298 | } | |
15299 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
15300 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15301 | } | |
27e45892 RD |
15302 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
15303 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
15304 | } | |
15305 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
15306 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
15307 | } | |
15308 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
15309 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
15310 | } | |
15311 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
15312 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
15313 | } | |
15314 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
15315 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
15316 | } | |
15317 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
15318 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
15319 | } | |
15320 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
15321 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
15322 | } | |
15323 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
15324 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
15325 | } | |
15326 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
15327 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
15328 | } | |
15329 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
15330 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
15331 | } | |
5eb8189c RD |
15332 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
15333 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
15334 | } |
15335 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15336 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
15337 | } | |
15338 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15339 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15340 | } | |
15341 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15342 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
15343 | } | |
15344 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
15345 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15346 | } | |
15347 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
15348 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15349 | } | |
15350 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
15351 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
15352 | } | |
15353 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
15354 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
15355 | } | |
15356 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
15357 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
15358 | } | |
15359 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
15360 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
15361 | } | |
15362 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
15363 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
15364 | } | |
15365 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
15366 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15367 | } | |
15368 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
15369 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
15370 | } | |
15371 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
15372 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
15373 | } | |
15374 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
15375 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
15376 | } | |
15377 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15378 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15379 | } | |
15380 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
15381 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
15382 | } | |
15383 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
15384 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
15385 | } | |
15386 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
15387 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
15388 | } | |
15389 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
15390 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
15391 | } | |
15392 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
15393 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15394 | } | |
15395 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
15396 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
15397 | } | |
15398 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
15399 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15400 | } | |
15401 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
15402 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15403 | } | |
15404 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
15405 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
15406 | } | |
15407 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
15408 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
15409 | } | |
15410 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
15411 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
15412 | } | |
15413 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
15414 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
15415 | } | |
15416 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
15417 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
15418 | } | |
15419 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
15420 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
15421 | } | |
15422 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
15423 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
15424 | } | |
15425 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
15426 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
15427 | } | |
15428 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
15429 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
15430 | } | |
15431 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
15432 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
15433 | } | |
15434 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
15435 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
15436 | } | |
15437 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
15438 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
15439 | } | |
15440 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
15441 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
15442 | } | |
15443 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
15444 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
15445 | } | |
15446 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
15447 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
15448 | } | |
15449 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
15450 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15451 | } | |
15452 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
15453 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15454 | } | |
15455 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
15456 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15457 | } | |
15458 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
15459 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
15460 | } | |
15461 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15462 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15463 | } | |
15464 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
15465 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
15466 | } | |
15467 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
15468 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15469 | } | |
27e45892 RD |
15470 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
15471 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
15472 | } | |
15473 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
15474 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
15475 | } | |
5eb8189c RD |
15476 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
15477 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 15478 | } |
27e45892 RD |
15479 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
15480 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
15481 | } | |
15482 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
15483 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
15484 | } | |
1eeb270e RD |
15485 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
15486 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
15487 | } | |
27e45892 RD |
15488 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
15489 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
15490 | } | |
15491 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
15492 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15493 | } | |
15494 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
15495 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
15496 | } | |
15497 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
15498 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
15499 | } | |
15500 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
15501 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
15502 | } | |
5eb8189c RD |
15503 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
15504 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
15505 | } | |
27e45892 RD |
15506 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
15507 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15508 | } | |
1eeb270e RD |
15509 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
15510 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
15511 | } | |
15512 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
15513 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
15514 | } | |
15515 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
15516 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
15517 | } | |
15518 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
15519 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
15520 | } | |
15521 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
15522 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
15523 | } | |
15524 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
15525 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
15526 | } | |
15527 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
15528 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
15529 | } | |
15530 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
15531 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
15532 | } | |
15533 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
15534 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
15535 | } | |
15536 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
15537 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
15538 | } | |
15539 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
15540 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
15541 | } | |
15542 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
15543 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
15544 | } | |
15545 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
15546 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
15547 | } | |
15548 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
15549 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
15550 | } | |
15551 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
15552 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
15553 | } | |
15554 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
15555 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
15556 | } | |
15557 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
15558 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow **) x)); | |
15559 | } | |
15560 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
15561 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
15562 | } | |
15563 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
15564 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
15565 | } | |
15566 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
15567 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
15568 | } | |
15569 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
15570 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
15571 | } | |
15572 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
15573 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
15574 | } | |
15575 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
15576 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
15577 | } | |
15578 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
15579 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
15580 | } | |
15581 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
15582 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
15583 | } | |
15584 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
15585 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
15586 | } | |
15587 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
15588 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
15589 | } | |
15590 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
15591 | return (void *)((wxWindow **) ((wxControl **) x)); | |
15592 | } | |
15593 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
15594 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
15595 | } | |
15596 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
15597 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
15598 | } | |
15599 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
15600 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
15601 | } | |
15602 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
15603 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
15604 | } | |
15605 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
15606 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
15607 | } | |
15608 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
15609 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
15610 | } | |
1eeb270e RD |
15611 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
15612 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
15613 | } | |
15614 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
15615 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
15616 | } | |
5eb8189c RD |
15617 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
15618 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
1eeb270e RD |
15619 | } |
15620 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15621 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
15622 | } | |
15623 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15624 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
15625 | } | |
15626 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
15627 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
15628 | } | |
15629 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
15630 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
15631 | } | |
15632 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
15633 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
15634 | } | |
15635 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
15636 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
15637 | } | |
15638 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
15639 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
15640 | } | |
15641 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
15642 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
15643 | } | |
5eb8189c RD |
15644 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
15645 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
15646 | } | |
1eeb270e RD |
15647 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
15648 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
15649 | } | |
15650 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
15651 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15652 | } | |
15653 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
15654 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
15655 | } | |
5eb8189c RD |
15656 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
15657 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 15658 | } |
27e45892 RD |
15659 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
15660 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15661 | } | |
15662 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15663 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15664 | } | |
15665 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15666 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15667 | } | |
15668 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15669 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15670 | } | |
15671 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15672 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15673 | } | |
15674 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15675 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15676 | } | |
15677 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
15678 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15679 | } | |
5eb8189c RD |
15680 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
15681 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
15682 | } |
15683 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
15684 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15685 | } | |
15686 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15687 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15688 | } | |
15689 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
15690 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15691 | } | |
15692 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15693 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15694 | } | |
34e0a3bb RD |
15695 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
15696 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
15697 | } | |
27e45892 RD |
15698 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
15699 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15700 | } | |
15701 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
15702 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
15703 | } | |
1eeb270e RD |
15704 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
15705 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15706 | } | |
27e45892 RD |
15707 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15708 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15709 | } | |
15710 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15711 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15712 | } | |
15713 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15714 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15715 | } | |
15716 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15717 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15718 | } | |
15719 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15720 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15721 | } | |
15722 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15723 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15724 | } | |
15725 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15726 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15727 | } | |
15728 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15729 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15730 | } | |
15731 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
15732 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
15733 | } | |
27e45892 RD |
15734 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
15735 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15736 | } | |
15737 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15738 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15739 | } | |
34e0a3bb RD |
15740 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
15741 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
15742 | } | |
27e45892 RD |
15743 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
15744 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15745 | } | |
15746 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15747 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15748 | } | |
15749 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15750 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15751 | } | |
15752 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15753 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15754 | } | |
15755 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15756 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15757 | } | |
15758 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15759 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15760 | } | |
15761 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15762 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15763 | } | |
15764 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15765 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15766 | } | |
15767 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
15768 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
15769 | } | |
15770 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
15771 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
15772 | } | |
15773 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
15774 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15775 | } | |
15776 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15777 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15778 | } | |
15779 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15780 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15781 | } | |
15782 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15783 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15784 | } | |
15785 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15786 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15787 | } | |
15788 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15789 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15790 | } | |
15791 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15792 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15793 | } | |
15794 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
15795 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
15796 | } | |
15797 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
15798 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
15799 | } | |
15800 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
15801 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
15802 | } | |
15803 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
15804 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15805 | } | |
15806 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
15807 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15808 | } | |
27e45892 RD |
15809 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
15810 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
15811 | } | |
34e0a3bb RD |
15812 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
15813 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
15814 | } | |
27e45892 RD |
15815 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
15816 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
15817 | } | |
15818 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
15819 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
15820 | } | |
15821 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
15822 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15823 | } | |
15824 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
15825 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
15826 | } | |
15827 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
15828 | return (void *)((wxObject *) ((wxSizer *) x)); | |
15829 | } | |
15830 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
15831 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15832 | } | |
15833 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
15834 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15835 | } | |
15836 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
15837 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
15838 | } | |
15839 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
15840 | return (void *)((wxObject *) ((wxEvent *) x)); | |
15841 | } | |
15842 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
15843 | return (void *)((wxObject *) ((wxFontData *) x)); | |
15844 | } | |
15845 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
15846 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
15847 | } | |
15848 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
15849 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15850 | } | |
15851 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
15852 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
15853 | } | |
15854 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
15855 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
15856 | } | |
15857 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
15858 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
15859 | } | |
15860 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
15861 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
15862 | } | |
15863 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
15864 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15865 | } | |
1eeb270e RD |
15866 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
15867 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
15868 | } | |
27e45892 RD |
15869 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
15870 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
15871 | } | |
15872 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
15873 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
15874 | } | |
15875 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15876 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15877 | } | |
15878 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
15879 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15880 | } | |
15881 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
15882 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15883 | } | |
15884 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
15885 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15886 | } | |
15887 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
15888 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15889 | } | |
15890 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
15891 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15892 | } | |
15893 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
15894 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
15895 | } | |
15896 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
15897 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
15898 | } | |
15899 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
15900 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15901 | } | |
5eb8189c RD |
15902 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
15903 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
15904 | } |
15905 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
15906 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
15907 | } | |
15908 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
15909 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
15910 | } | |
5eb8189c RD |
15911 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
15912 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
15913 | } | |
27e45892 RD |
15914 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
15915 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
15916 | } | |
15917 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
15918 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
15919 | } | |
5eb8189c RD |
15920 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
15921 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 15922 | } |
27e45892 RD |
15923 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
15924 | return (void *)((wxObject *) ((wxColourData *) x)); | |
15925 | } | |
15926 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15927 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15928 | } | |
15929 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
15930 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15931 | } | |
15932 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
15933 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
15934 | } | |
15935 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
15936 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
15937 | } | |
15938 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
15939 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
15940 | } | |
15941 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
15942 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15943 | } | |
15944 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
15945 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15946 | } | |
15947 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
15948 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
15949 | } | |
15950 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
15951 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15952 | } | |
15953 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
15954 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
15955 | } | |
15956 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
15957 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
15958 | } | |
15959 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
15960 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
15961 | } | |
15962 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
15963 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
15964 | } | |
15965 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
15966 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
15967 | } | |
15968 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
15969 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
15970 | } | |
15971 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
15972 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
15973 | } | |
15974 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
15975 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
15976 | } | |
15977 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
15978 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
15979 | } | |
15980 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
15981 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15982 | } | |
15983 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
15984 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15985 | } | |
15986 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
15987 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
15988 | } | |
15989 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
15990 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
15991 | } | |
15992 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
15993 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
15994 | } | |
15995 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
15996 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
15997 | } | |
15998 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
15999 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
16000 | } | |
16001 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
16002 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
16003 | } | |
16004 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
16005 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
16006 | } | |
16007 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
16008 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
16009 | } | |
16010 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
16011 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
16012 | } | |
16013 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
16014 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
16015 | } | |
16016 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
16017 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
16018 | } | |
16019 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
16020 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
16021 | } | |
16022 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
16023 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
16024 | } | |
16025 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
16026 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
16027 | } | |
16028 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
16029 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
16030 | } | |
16031 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
16032 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
16033 | } | |
16034 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
16035 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
16036 | } | |
16037 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
16038 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
16039 | } | |
580080c5 RD |
16040 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
16041 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
16042 | } | |
27e45892 RD |
16043 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
16044 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
16045 | } | |
34e0a3bb RD |
16046 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
16047 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16048 | } | |
27e45892 RD |
16049 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
16050 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16051 | } | |
16052 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
16053 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16054 | } | |
16055 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
16056 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16057 | } | |
27e45892 RD |
16058 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
16059 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
16060 | } | |
580080c5 RD |
16061 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
16062 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16063 | } | |
27e45892 RD |
16064 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
16065 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16066 | } | |
16067 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
16068 | return (void *)((wxObject *) ((wxImage *) x)); | |
16069 | } | |
16070 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
16071 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16072 | } | |
16073 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
16074 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
16075 | } | |
16076 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
16077 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
16078 | } | |
16079 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
16080 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16081 | } | |
27e45892 RD |
16082 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
16083 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
16084 | } | |
5eb8189c RD |
16085 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
16086 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
16087 | } |
16088 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
16089 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16090 | } | |
1eeb270e RD |
16091 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
16092 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16093 | } | |
27e45892 RD |
16094 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
16095 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16096 | } | |
16097 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
16098 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16099 | } | |
16100 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
16101 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
16102 | } | |
16103 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
16104 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
16105 | } | |
16106 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
16107 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
16108 | } | |
16109 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
16110 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
16111 | } | |
16112 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
16113 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16114 | } | |
16115 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
16116 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
16117 | } | |
16118 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
16119 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
16120 | } | |
16121 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
16122 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
16123 | } | |
16124 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
16125 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
16126 | } | |
16127 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
16128 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16129 | } | |
16130 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
16131 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
16132 | } | |
16133 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
16134 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16135 | } | |
16136 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
16137 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
16138 | } | |
16139 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
16140 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16141 | } | |
16142 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
16143 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
16144 | } | |
16145 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
16146 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16147 | } | |
16148 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
16149 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
16150 | } | |
16151 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
16152 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
16153 | } | |
16154 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
16155 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
16156 | } | |
16157 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
16158 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
16159 | } | |
16160 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
16161 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16162 | } | |
16163 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
16164 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16165 | } | |
16166 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
16167 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16168 | } | |
16169 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
16170 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16171 | } | |
16172 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
16173 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
16174 | } | |
16175 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
16176 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
16177 | } | |
16178 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
16179 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
16180 | } | |
16181 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
16182 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16183 | } | |
16184 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
16185 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
16186 | } | |
16187 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
16188 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
16189 | } | |
16190 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
16191 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
16192 | } | |
16193 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
16194 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
16195 | } | |
16196 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
16197 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
16198 | } | |
16199 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
16200 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16201 | } | |
16202 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
16203 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
16204 | } | |
16205 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
16206 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16207 | } | |
16208 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
16209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16210 | } | |
16211 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
16212 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
16213 | } | |
16214 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
16215 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
16216 | } | |
16217 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
16218 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16219 | } | |
16220 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
16221 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16222 | } | |
16223 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
16224 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
16225 | } | |
16226 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
16227 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
16228 | } | |
16229 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
16230 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
16231 | } | |
16232 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
16233 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
16234 | } | |
16235 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
16236 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16237 | } | |
16238 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
16239 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16240 | } | |
16241 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
16242 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16243 | } | |
16244 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
16245 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
16246 | } | |
16247 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
16248 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
16249 | } | |
16250 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
16251 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
16252 | } | |
16253 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
16254 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
16255 | } | |
16256 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
16257 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16258 | } | |
16259 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
16260 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16261 | } | |
16262 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
16263 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16264 | } | |
16265 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
16266 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16267 | } | |
16268 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
16269 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16270 | } | |
16271 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
16272 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16273 | } | |
16274 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
16275 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16276 | } | |
16277 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
16278 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16279 | } | |
16280 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
16281 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16282 | } | |
16283 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
16284 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
16285 | } | |
16286 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
16287 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
16288 | } | |
16289 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16290 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16291 | } | |
16292 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
16293 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
16294 | } | |
16295 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
16296 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16297 | } | |
16298 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
16299 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
16300 | } | |
16301 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
16302 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16303 | } | |
16304 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
16305 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
16306 | } | |
16307 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
16308 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
16309 | } | |
16310 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
16311 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
16312 | } | |
16313 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
16314 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
16315 | } | |
16316 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16317 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16318 | } | |
16319 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
16320 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
16321 | } | |
16322 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
16323 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
16324 | } | |
16325 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16326 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16327 | } | |
16328 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
16329 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
16330 | } | |
16331 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
16332 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16333 | } | |
16334 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
16335 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16336 | } | |
16337 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
16338 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16339 | } | |
16340 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
16341 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
16342 | } | |
16343 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
16344 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16345 | } | |
16346 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
16347 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
16348 | } | |
16349 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
16350 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16351 | } | |
27e45892 RD |
16352 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
16353 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16354 | } | |
16355 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
16356 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16357 | } | |
5eb8189c RD |
16358 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
16359 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 16360 | } |
27e45892 RD |
16361 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
16362 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16363 | } | |
16364 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
16365 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16366 | } | |
16367 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
16368 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
16369 | } | |
1eeb270e RD |
16370 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
16371 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
16372 | } | |
27e45892 RD |
16373 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
16374 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16375 | } | |
16376 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
16377 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16378 | } | |
16379 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
16380 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16381 | } | |
16382 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
16383 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16384 | } | |
16385 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
16386 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16387 | } | |
5eb8189c RD |
16388 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
16389 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16390 | } | |
27e45892 RD |
16391 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
16392 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16393 | } | |
5eb8189c RD |
16394 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
16395 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 16396 | } |
1eeb270e RD |
16397 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
16398 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
16399 | } | |
27e45892 RD |
16400 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
16401 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
16402 | } | |
16403 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
16404 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
16405 | } | |
16406 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
16407 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
16408 | } | |
16409 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
16410 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
16411 | } | |
16412 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
16413 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
16414 | } | |
16415 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
16416 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16417 | } | |
27e45892 RD |
16418 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
16419 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
16420 | } | |
16421 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
16422 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
16423 | } | |
16424 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
16425 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
16426 | } | |
5eb8189c RD |
16427 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
16428 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16429 | } | |
1eeb270e RD |
16430 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
16431 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
16432 | } | |
16433 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
16434 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16435 | } | |
16436 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
16437 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16438 | } | |
16439 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
16440 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16441 | } | |
16442 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
16443 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
16444 | } | |
16445 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
16446 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16447 | } | |
16448 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
16449 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16450 | } | |
16451 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
16452 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16453 | } | |
16454 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
16455 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16456 | } | |
16457 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
16458 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
16459 | } | |
16460 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
16461 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16462 | } | |
16463 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
16464 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16465 | } | |
16466 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
16467 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16468 | } | |
16469 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
16470 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16471 | } | |
5eb8189c RD |
16472 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
16473 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 16474 | } |
5eb8189c RD |
16475 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
16476 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 16477 | } |
5eb8189c RD |
16478 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
16479 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
8f514ab4 | 16480 | } |
5eb8189c RD |
16481 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
16482 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 16483 | } |
27e45892 RD |
16484 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
16485 | 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 | 16486 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
1eeb270e RD |
16487 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
16488 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
16489 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16490 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
16491 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16492 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16493 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16494 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16495 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16496 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16497 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16498 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16499 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16500 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16501 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16502 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
16503 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16504 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16505 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16506 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16507 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16508 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16509 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16510 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
16511 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16512 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16513 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16514 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16515 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16516 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
16517 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16518 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
16519 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
16520 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
16521 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
16522 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
1eeb270e RD |
16523 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
16524 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 16525 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
1eeb270e RD |
16526 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
16527 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16528 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
16529 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
16530 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16531 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16532 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16533 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 16534 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
1eeb270e | 16535 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
16536 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
16537 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
16538 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16539 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
16540 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
16541 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
16542 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
16543 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
16544 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
16545 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
16546 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
16547 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
16548 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
16549 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
16550 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16551 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
16552 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
16553 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
16554 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
16555 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
16556 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
16557 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
16558 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
16559 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16560 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
16561 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
16562 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
16563 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
16564 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
16565 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
16566 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
16567 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
16568 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
16569 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
16570 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
16571 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
16572 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
16573 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
16574 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
16575 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
16576 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 16577 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16578 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
16579 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16580 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
16581 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
16582 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
16583 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
16584 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 16585 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 16586 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
34e0a3bb | 16587 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
16588 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
16589 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16590 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
16591 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
16592 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
16593 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
16594 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
16595 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16596 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
16597 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16598 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
16599 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
16600 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
16601 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
16602 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
16603 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16604 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
16605 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16606 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
16607 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
16608 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
16609 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
16610 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
16611 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16612 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16613 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16614 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
16615 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
16616 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16617 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16618 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16619 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16620 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16621 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16622 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16623 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16624 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16625 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; | |
16626 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16627 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16628 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16629 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16630 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16631 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16632 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16633 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16634 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16635 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16636 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16637 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16638 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16639 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16640 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
16641 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16642 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
16643 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
16644 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
16645 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
16646 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
16647 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16648 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
16649 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16650 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16651 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16652 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
16653 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
16654 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16655 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
16656 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 16657 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
1eeb270e | 16658 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16659 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
16660 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
16661 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
16662 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
16663 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
16664 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
16665 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
16666 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
16667 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
16668 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
16669 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
16670 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
16671 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
16672 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
16673 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
16674 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
16675 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
16676 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16677 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
16678 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
16679 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
16680 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
16681 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 16682 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
1eeb270e RD |
16683 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
16684 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16685 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
16686 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
16687 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
16688 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
16689 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 16690 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
16691 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
16692 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
16693 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
16694 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
16695 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
16696 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
16697 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
16698 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
16699 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
16700 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
16701 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16702 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
16703 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16704 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
16705 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16706 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
16707 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
16708 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
16709 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
16710 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
16711 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
16712 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
16713 | ||
16714 | static swig_type_info *swig_type_initial[] = { | |
16715 | &_swigt__p_char, | |
16716 | &_swigt__p_form_ops_t, | |
16717 | &_swigt__p_int, | |
5eb8189c RD |
16718 | &_swigt__p_p_wxAuiFloatingFrame, |
16719 | &_swigt__p_p_wxAuiNotebook, | |
1eeb270e RD |
16720 | &_swigt__p_p_wxAuiTabContainerButton, |
16721 | &_swigt__p_p_wxAuiTabCtrl, | |
16722 | &_swigt__p_p_wxColourDialog, | |
16723 | &_swigt__p_p_wxControl, | |
16724 | &_swigt__p_p_wxControlWithItems, | |
16725 | &_swigt__p_p_wxDialog, | |
16726 | &_swigt__p_p_wxDirDialog, | |
16727 | &_swigt__p_p_wxFileDialog, | |
16728 | &_swigt__p_p_wxFindReplaceDialog, | |
1eeb270e RD |
16729 | &_swigt__p_p_wxFontDialog, |
16730 | &_swigt__p_p_wxFrame, | |
16731 | &_swigt__p_p_wxMDIChildFrame, | |
16732 | &_swigt__p_p_wxMDIClientWindow, | |
16733 | &_swigt__p_p_wxMDIParentFrame, | |
16734 | &_swigt__p_p_wxMenuBar, | |
16735 | &_swigt__p_p_wxMessageDialog, | |
16736 | &_swigt__p_p_wxMiniFrame, | |
16737 | &_swigt__p_p_wxMultiChoiceDialog, | |
16738 | &_swigt__p_p_wxNumberEntryDialog, | |
16739 | &_swigt__p_p_wxPanel, | |
16740 | &_swigt__p_p_wxPasswordEntryDialog, | |
16741 | &_swigt__p_p_wxPopupWindow, | |
16742 | &_swigt__p_p_wxPreviewCanvas, | |
16743 | &_swigt__p_p_wxPreviewControlBar, | |
16744 | &_swigt__p_p_wxPreviewFrame, | |
16745 | &_swigt__p_p_wxProgressDialog, | |
16746 | &_swigt__p_p_wxPyHtmlListBox, | |
16747 | &_swigt__p_p_wxPyPanel, | |
16748 | &_swigt__p_p_wxPyPopupTransientWindow, | |
16749 | &_swigt__p_p_wxPyPreviewControlBar, | |
16750 | &_swigt__p_p_wxPyPreviewFrame, | |
16751 | &_swigt__p_p_wxPyScrolledWindow, | |
16752 | &_swigt__p_p_wxPyVListBox, | |
16753 | &_swigt__p_p_wxPyVScrolledWindow, | |
16754 | &_swigt__p_p_wxPyWindow, | |
16755 | &_swigt__p_p_wxSashLayoutWindow, | |
16756 | &_swigt__p_p_wxSashWindow, | |
16757 | &_swigt__p_p_wxScrolledWindow, | |
16758 | &_swigt__p_p_wxSingleChoiceDialog, | |
16759 | &_swigt__p_p_wxSplashScreen, | |
16760 | &_swigt__p_p_wxSplashScreenWindow, | |
16761 | &_swigt__p_p_wxSplitterWindow, | |
16762 | &_swigt__p_p_wxStatusBar, | |
16763 | &_swigt__p_p_wxTextEntryDialog, | |
16764 | &_swigt__p_p_wxTipWindow, | |
16765 | &_swigt__p_p_wxTopLevelWindow, | |
16766 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
16767 | &_swigt__p_unsigned_char, |
16768 | &_swigt__p_unsigned_int, | |
16769 | &_swigt__p_unsigned_long, | |
16770 | &_swigt__p_wxANIHandler, | |
16771 | &_swigt__p_wxAcceleratorTable, | |
16772 | &_swigt__p_wxActivateEvent, | |
5eb8189c RD |
16773 | &_swigt__p_wxAuiDefaultDockArt, |
16774 | &_swigt__p_wxAuiDefaultTabArt, | |
16775 | &_swigt__p_wxAuiDockArt, | |
16776 | &_swigt__p_wxAuiDockInfo, | |
16777 | &_swigt__p_wxAuiDockUIPart, | |
16778 | &_swigt__p_wxAuiFloatingFrame, | |
16779 | &_swigt__p_wxAuiManager, | |
16780 | &_swigt__p_wxAuiManagerEvent, | |
16781 | &_swigt__p_wxAuiNotebook, | |
1eeb270e RD |
16782 | &_swigt__p_wxAuiNotebookEvent, |
16783 | &_swigt__p_wxAuiNotebookPage, | |
16784 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
16785 | &_swigt__p_wxAuiPaneButton, |
16786 | &_swigt__p_wxAuiPaneButtonArray, | |
16787 | &_swigt__p_wxAuiPaneInfo, | |
16788 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
16789 | &_swigt__p_wxAuiTabArt, | |
1eeb270e RD |
16790 | &_swigt__p_wxAuiTabContainer, |
16791 | &_swigt__p_wxAuiTabContainerButton, | |
16792 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 16793 | &_swigt__p_wxBMPHandler, |
1eeb270e | 16794 | &_swigt__p_wxBitmap, |
27e45892 RD |
16795 | &_swigt__p_wxBoxSizer, |
16796 | &_swigt__p_wxCURHandler, | |
16797 | &_swigt__p_wxCalculateLayoutEvent, | |
16798 | &_swigt__p_wxChildFocusEvent, | |
16799 | &_swigt__p_wxClipboardTextEvent, | |
16800 | &_swigt__p_wxCloseEvent, | |
16801 | &_swigt__p_wxColor, | |
16802 | &_swigt__p_wxColour, | |
16803 | &_swigt__p_wxColourData, | |
16804 | &_swigt__p_wxColourDialog, | |
16805 | &_swigt__p_wxCommandEvent, | |
16806 | &_swigt__p_wxContextMenuEvent, | |
16807 | &_swigt__p_wxControl, | |
16808 | &_swigt__p_wxControlWithItems, | |
16809 | &_swigt__p_wxDC, | |
16810 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
16811 | &_swigt__p_wxDialog, |
16812 | &_swigt__p_wxDirDialog, | |
16813 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
16814 | &_swigt__p_wxDropFilesEvent, |
16815 | &_swigt__p_wxDuplexMode, | |
16816 | &_swigt__p_wxEraseEvent, | |
16817 | &_swigt__p_wxEvent, | |
16818 | &_swigt__p_wxEvtHandler, | |
16819 | &_swigt__p_wxFSFile, | |
16820 | &_swigt__p_wxFileDialog, | |
16821 | &_swigt__p_wxFileSystem, | |
16822 | &_swigt__p_wxFindDialogEvent, | |
16823 | &_swigt__p_wxFindReplaceData, | |
16824 | &_swigt__p_wxFindReplaceDialog, | |
16825 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
16826 | &_swigt__p_wxFocusEvent, |
16827 | &_swigt__p_wxFont, | |
16828 | &_swigt__p_wxFontData, | |
16829 | &_swigt__p_wxFontDialog, | |
16830 | &_swigt__p_wxFrame, | |
27e45892 RD |
16831 | &_swigt__p_wxGBSizerItem, |
16832 | &_swigt__p_wxGIFHandler, | |
16833 | &_swigt__p_wxGridBagSizer, | |
16834 | &_swigt__p_wxGridSizer, | |
16835 | &_swigt__p_wxICOHandler, | |
16836 | &_swigt__p_wxIconizeEvent, | |
16837 | &_swigt__p_wxIdleEvent, | |
16838 | &_swigt__p_wxImage, | |
16839 | &_swigt__p_wxImageHandler, | |
16840 | &_swigt__p_wxIndividualLayoutConstraint, | |
16841 | &_swigt__p_wxInitDialogEvent, | |
16842 | &_swigt__p_wxJPEGHandler, | |
16843 | &_swigt__p_wxKeyEvent, | |
16844 | &_swigt__p_wxLayoutAlgorithm, | |
16845 | &_swigt__p_wxLayoutConstraints, | |
16846 | &_swigt__p_wxMDIChildFrame, | |
16847 | &_swigt__p_wxMDIClientWindow, | |
16848 | &_swigt__p_wxMDIParentFrame, | |
16849 | &_swigt__p_wxMaximizeEvent, | |
16850 | &_swigt__p_wxMenu, | |
16851 | &_swigt__p_wxMenuBar, | |
16852 | &_swigt__p_wxMenuEvent, | |
16853 | &_swigt__p_wxMenuItem, | |
16854 | &_swigt__p_wxMessageDialog, | |
16855 | &_swigt__p_wxMiniFrame, | |
16856 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 16857 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
16858 | &_swigt__p_wxMouseEvent, |
16859 | &_swigt__p_wxMoveEvent, | |
16860 | &_swigt__p_wxMultiChoiceDialog, | |
16861 | &_swigt__p_wxNavigationKeyEvent, | |
16862 | &_swigt__p_wxNcPaintEvent, | |
16863 | &_swigt__p_wxNotifyEvent, | |
16864 | &_swigt__p_wxNumberEntryDialog, | |
16865 | &_swigt__p_wxObject, | |
16866 | &_swigt__p_wxPCXHandler, | |
16867 | &_swigt__p_wxPNGHandler, | |
16868 | &_swigt__p_wxPNMHandler, | |
16869 | &_swigt__p_wxPageSetupDialog, | |
16870 | &_swigt__p_wxPageSetupDialogData, | |
16871 | &_swigt__p_wxPaintEvent, | |
16872 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
16873 | &_swigt__p_wxPanel, |
16874 | &_swigt__p_wxPaperSize, | |
16875 | &_swigt__p_wxPasswordEntryDialog, | |
16876 | &_swigt__p_wxPoint, | |
16877 | &_swigt__p_wxPopupWindow, | |
16878 | &_swigt__p_wxPreviewCanvas, | |
16879 | &_swigt__p_wxPreviewControlBar, | |
16880 | &_swigt__p_wxPreviewFrame, | |
16881 | &_swigt__p_wxPrintData, | |
16882 | &_swigt__p_wxPrintDialog, | |
16883 | &_swigt__p_wxPrintDialogData, | |
16884 | &_swigt__p_wxPrintPreview, | |
16885 | &_swigt__p_wxPrinter, | |
16886 | &_swigt__p_wxProgressDialog, | |
16887 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
16888 | &_swigt__p_wxPyAuiDockArt, |
16889 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 16890 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
16891 | &_swigt__p_wxPyEvent, |
16892 | &_swigt__p_wxPyHtmlListBox, | |
16893 | &_swigt__p_wxPyImageHandler, | |
16894 | &_swigt__p_wxPyPanel, | |
16895 | &_swigt__p_wxPyPopupTransientWindow, | |
16896 | &_swigt__p_wxPyPreviewControlBar, | |
16897 | &_swigt__p_wxPyPreviewFrame, | |
16898 | &_swigt__p_wxPyPrintPreview, | |
16899 | &_swigt__p_wxPyPrintout, | |
16900 | &_swigt__p_wxPyScrolledWindow, | |
16901 | &_swigt__p_wxPySizer, | |
16902 | &_swigt__p_wxPyTaskBarIcon, | |
16903 | &_swigt__p_wxPyVListBox, | |
16904 | &_swigt__p_wxPyVScrolledWindow, | |
16905 | &_swigt__p_wxPyValidator, | |
16906 | &_swigt__p_wxPyWindow, | |
16907 | &_swigt__p_wxQueryLayoutInfoEvent, | |
16908 | &_swigt__p_wxQueryNewPaletteEvent, | |
16909 | &_swigt__p_wxRect, | |
16910 | &_swigt__p_wxSashEvent, | |
16911 | &_swigt__p_wxSashLayoutWindow, | |
16912 | &_swigt__p_wxSashWindow, | |
16913 | &_swigt__p_wxScrollEvent, | |
16914 | &_swigt__p_wxScrollWinEvent, | |
16915 | &_swigt__p_wxScrolledWindow, | |
16916 | &_swigt__p_wxSetCursorEvent, | |
16917 | &_swigt__p_wxShowEvent, | |
16918 | &_swigt__p_wxSingleChoiceDialog, | |
16919 | &_swigt__p_wxSize, | |
16920 | &_swigt__p_wxSizeEvent, | |
16921 | &_swigt__p_wxSizer, | |
16922 | &_swigt__p_wxSizerItem, | |
16923 | &_swigt__p_wxSplashScreen, | |
16924 | &_swigt__p_wxSplashScreenWindow, | |
16925 | &_swigt__p_wxSplitterEvent, | |
16926 | &_swigt__p_wxSplitterWindow, | |
16927 | &_swigt__p_wxStaticBoxSizer, | |
16928 | &_swigt__p_wxStatusBar, | |
16929 | &_swigt__p_wxStdDialogButtonSizer, | |
16930 | &_swigt__p_wxString, | |
16931 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 16932 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
16933 | &_swigt__p_wxTIFFHandler, |
16934 | &_swigt__p_wxTaskBarIconEvent, | |
16935 | &_swigt__p_wxTextEntryDialog, | |
16936 | &_swigt__p_wxTipWindow, | |
16937 | &_swigt__p_wxTopLevelWindow, | |
16938 | &_swigt__p_wxUpdateUIEvent, | |
16939 | &_swigt__p_wxValidator, | |
16940 | &_swigt__p_wxWindow, | |
16941 | &_swigt__p_wxWindowCreateEvent, | |
16942 | &_swigt__p_wxWindowDestroyEvent, | |
16943 | &_swigt__p_wxXPMHandler, | |
16944 | }; | |
16945 | ||
16946 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
16947 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
16948 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
16949 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
16950 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
16951 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16952 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
16953 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16954 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16955 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16956 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16957 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16958 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16959 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16960 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16961 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16962 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16963 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
16964 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16965 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16966 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16967 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16968 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16969 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16970 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16971 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16972 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16973 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16974 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16975 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16976 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16977 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16978 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16979 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
16980 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16981 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
16982 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
16983 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
16984 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
16985 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 16986 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e RD |
16987 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
16988 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
16989 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
16990 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
16991 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16992 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16993 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
16994 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 16995 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e | 16996 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c | 16997 | 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_wxPyHtmlListBox, _p_p_wxPyHtmlListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVListBox, _p_p_wxPyVListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiNotebook, _p_p_wxAuiNotebookTo_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_wxAuiFloatingFrame, _p_p_wxAuiFloatingFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIParentFrame, _p_p_wxMDIParentFrameTo_p_p_wxWindow, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
16998 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
16999 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
17000 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17001 | static swig_cast_info _swigc__p_wxAuiDefaultDockArt[] = { {&_swigt__p_wxAuiDefaultDockArt, 0, 0, 0}, {&_swigt__p_wxPyAuiDockArt, _p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt, 0, 0},{0, 0, 0, 0}}; |
17002 | static swig_cast_info _swigc__p_wxAuiDefaultTabArt[] = { {&_swigt__p_wxAuiDefaultTabArt, 0, 0, 0}, {&_swigt__p_wxPyAuiTabArt, _p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt, 0, 0},{0, 0, 0, 0}}; | |
17003 | static swig_cast_info _swigc__p_wxAuiDockArt[] = { {&_swigt__p_wxAuiDockArt, 0, 0, 0}, {&_swigt__p_wxAuiDefaultDockArt, _p_wxAuiDefaultDockArtTo_p_wxAuiDockArt, 0, 0}, {&_swigt__p_wxPyAuiDockArt, _p_wxPyAuiDockArtTo_p_wxAuiDockArt, 0, 0},{0, 0, 0, 0}}; | |
17004 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17005 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
17006 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17007 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
17008 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17009 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
17010 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17011 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
17012 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17013 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
17014 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17015 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17016 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17017 | static swig_cast_info _swigc__p_wxAuiTabArt[] = { {&_swigt__p_wxAuiDefaultTabArt, _p_wxAuiDefaultTabArtTo_p_wxAuiTabArt, 0, 0}, {&_swigt__p_wxAuiTabArt, 0, 0, 0}, {&_swigt__p_wxPyAuiTabArt, _p_wxPyAuiTabArtTo_p_wxAuiTabArt, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
17018 | 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}}; |
17019 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
17020 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17021 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17022 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
17023 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
17024 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17025 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17026 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17027 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17028 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17029 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17030 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17031 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17032 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17033 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17034 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17035 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17036 | 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}}; | |
17037 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17038 | 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_wxAuiNotebook, _p_wxAuiNotebookTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17039 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17040 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17041 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17042 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17043 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17044 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17045 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 17046 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17047 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 17048 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17049 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17050 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17051 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17052 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17053 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17054 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17055 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17056 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17057 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17058 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17059 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17060 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17061 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17062 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17063 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17064 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17065 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17066 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17067 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17068 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17069 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17070 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17071 | 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_wxAuiManagerEvent, _p_wxAuiManagerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17072 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
17073 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17074 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17075 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17076 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17077 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17078 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17079 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17080 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17081 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17082 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17083 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17084 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17085 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17086 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17087 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17088 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17089 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17090 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17091 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17092 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17093 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17094 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17095 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17096 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17097 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17098 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17099 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17100 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17101 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
17102 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17103 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
17104 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
17105 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17106 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17107 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17108 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17109 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
17110 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17111 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17112 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17113 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17114 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
17115 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17116 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_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_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiManager, _p_wxAuiManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17117 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17118 | static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_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}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}}; |
17119 | static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxMiniFrame, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e | 17120 | 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 |
17121 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
17122 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
17123 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
17124 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17125 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17126 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17127 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
17128 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
17129 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17130 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17131 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
17132 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
17133 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
17134 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17135 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
17136 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
17137 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17138 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17139 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17140 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17141 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17142 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17143 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e RD |
17144 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17145 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17146 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17147 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17148 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17149 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17150 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 17151 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17152 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
17153 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
17154 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
17155 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
17156 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17157 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17158 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17159 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17160 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
17161 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
17162 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17163 | 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_wxAuiManagerEvent, _p_wxAuiManagerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_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_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_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiManager, _p_wxAuiManagerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17164 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
17165 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17166 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
17167 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17168 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
17169 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
17170 | 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}}; | |
17171 | 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}}; | |
17172 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17173 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; |
17174 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_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_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17175 | |
17176 | static swig_cast_info *swig_cast_initial[] = { | |
17177 | _swigc__p_char, | |
17178 | _swigc__p_form_ops_t, | |
17179 | _swigc__p_int, | |
5eb8189c RD |
17180 | _swigc__p_p_wxAuiFloatingFrame, |
17181 | _swigc__p_p_wxAuiNotebook, | |
1eeb270e RD |
17182 | _swigc__p_p_wxAuiTabContainerButton, |
17183 | _swigc__p_p_wxAuiTabCtrl, | |
17184 | _swigc__p_p_wxColourDialog, | |
17185 | _swigc__p_p_wxControl, | |
17186 | _swigc__p_p_wxControlWithItems, | |
17187 | _swigc__p_p_wxDialog, | |
17188 | _swigc__p_p_wxDirDialog, | |
17189 | _swigc__p_p_wxFileDialog, | |
17190 | _swigc__p_p_wxFindReplaceDialog, | |
1eeb270e RD |
17191 | _swigc__p_p_wxFontDialog, |
17192 | _swigc__p_p_wxFrame, | |
17193 | _swigc__p_p_wxMDIChildFrame, | |
17194 | _swigc__p_p_wxMDIClientWindow, | |
17195 | _swigc__p_p_wxMDIParentFrame, | |
17196 | _swigc__p_p_wxMenuBar, | |
17197 | _swigc__p_p_wxMessageDialog, | |
17198 | _swigc__p_p_wxMiniFrame, | |
17199 | _swigc__p_p_wxMultiChoiceDialog, | |
17200 | _swigc__p_p_wxNumberEntryDialog, | |
17201 | _swigc__p_p_wxPanel, | |
17202 | _swigc__p_p_wxPasswordEntryDialog, | |
17203 | _swigc__p_p_wxPopupWindow, | |
17204 | _swigc__p_p_wxPreviewCanvas, | |
17205 | _swigc__p_p_wxPreviewControlBar, | |
17206 | _swigc__p_p_wxPreviewFrame, | |
17207 | _swigc__p_p_wxProgressDialog, | |
17208 | _swigc__p_p_wxPyHtmlListBox, | |
17209 | _swigc__p_p_wxPyPanel, | |
17210 | _swigc__p_p_wxPyPopupTransientWindow, | |
17211 | _swigc__p_p_wxPyPreviewControlBar, | |
17212 | _swigc__p_p_wxPyPreviewFrame, | |
17213 | _swigc__p_p_wxPyScrolledWindow, | |
17214 | _swigc__p_p_wxPyVListBox, | |
17215 | _swigc__p_p_wxPyVScrolledWindow, | |
17216 | _swigc__p_p_wxPyWindow, | |
17217 | _swigc__p_p_wxSashLayoutWindow, | |
17218 | _swigc__p_p_wxSashWindow, | |
17219 | _swigc__p_p_wxScrolledWindow, | |
17220 | _swigc__p_p_wxSingleChoiceDialog, | |
17221 | _swigc__p_p_wxSplashScreen, | |
17222 | _swigc__p_p_wxSplashScreenWindow, | |
17223 | _swigc__p_p_wxSplitterWindow, | |
17224 | _swigc__p_p_wxStatusBar, | |
17225 | _swigc__p_p_wxTextEntryDialog, | |
17226 | _swigc__p_p_wxTipWindow, | |
17227 | _swigc__p_p_wxTopLevelWindow, | |
17228 | _swigc__p_p_wxWindow, | |
27e45892 RD |
17229 | _swigc__p_unsigned_char, |
17230 | _swigc__p_unsigned_int, | |
17231 | _swigc__p_unsigned_long, | |
17232 | _swigc__p_wxANIHandler, | |
17233 | _swigc__p_wxAcceleratorTable, | |
17234 | _swigc__p_wxActivateEvent, | |
5eb8189c RD |
17235 | _swigc__p_wxAuiDefaultDockArt, |
17236 | _swigc__p_wxAuiDefaultTabArt, | |
17237 | _swigc__p_wxAuiDockArt, | |
17238 | _swigc__p_wxAuiDockInfo, | |
17239 | _swigc__p_wxAuiDockUIPart, | |
17240 | _swigc__p_wxAuiFloatingFrame, | |
17241 | _swigc__p_wxAuiManager, | |
17242 | _swigc__p_wxAuiManagerEvent, | |
17243 | _swigc__p_wxAuiNotebook, | |
1eeb270e RD |
17244 | _swigc__p_wxAuiNotebookEvent, |
17245 | _swigc__p_wxAuiNotebookPage, | |
17246 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17247 | _swigc__p_wxAuiPaneButton, |
17248 | _swigc__p_wxAuiPaneButtonArray, | |
17249 | _swigc__p_wxAuiPaneInfo, | |
17250 | _swigc__p_wxAuiPaneInfoPtrArray, | |
17251 | _swigc__p_wxAuiTabArt, | |
1eeb270e RD |
17252 | _swigc__p_wxAuiTabContainer, |
17253 | _swigc__p_wxAuiTabContainerButton, | |
17254 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 17255 | _swigc__p_wxBMPHandler, |
1eeb270e | 17256 | _swigc__p_wxBitmap, |
27e45892 RD |
17257 | _swigc__p_wxBoxSizer, |
17258 | _swigc__p_wxCURHandler, | |
17259 | _swigc__p_wxCalculateLayoutEvent, | |
17260 | _swigc__p_wxChildFocusEvent, | |
17261 | _swigc__p_wxClipboardTextEvent, | |
17262 | _swigc__p_wxCloseEvent, | |
17263 | _swigc__p_wxColor, | |
17264 | _swigc__p_wxColour, | |
17265 | _swigc__p_wxColourData, | |
17266 | _swigc__p_wxColourDialog, | |
17267 | _swigc__p_wxCommandEvent, | |
17268 | _swigc__p_wxContextMenuEvent, | |
17269 | _swigc__p_wxControl, | |
17270 | _swigc__p_wxControlWithItems, | |
17271 | _swigc__p_wxDC, | |
17272 | _swigc__p_wxDateEvent, | |
27e45892 RD |
17273 | _swigc__p_wxDialog, |
17274 | _swigc__p_wxDirDialog, | |
17275 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
17276 | _swigc__p_wxDropFilesEvent, |
17277 | _swigc__p_wxDuplexMode, | |
17278 | _swigc__p_wxEraseEvent, | |
17279 | _swigc__p_wxEvent, | |
17280 | _swigc__p_wxEvtHandler, | |
17281 | _swigc__p_wxFSFile, | |
17282 | _swigc__p_wxFileDialog, | |
17283 | _swigc__p_wxFileSystem, | |
17284 | _swigc__p_wxFindDialogEvent, | |
17285 | _swigc__p_wxFindReplaceData, | |
17286 | _swigc__p_wxFindReplaceDialog, | |
17287 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
17288 | _swigc__p_wxFocusEvent, |
17289 | _swigc__p_wxFont, | |
17290 | _swigc__p_wxFontData, | |
17291 | _swigc__p_wxFontDialog, | |
17292 | _swigc__p_wxFrame, | |
27e45892 RD |
17293 | _swigc__p_wxGBSizerItem, |
17294 | _swigc__p_wxGIFHandler, | |
17295 | _swigc__p_wxGridBagSizer, | |
17296 | _swigc__p_wxGridSizer, | |
17297 | _swigc__p_wxICOHandler, | |
17298 | _swigc__p_wxIconizeEvent, | |
17299 | _swigc__p_wxIdleEvent, | |
17300 | _swigc__p_wxImage, | |
17301 | _swigc__p_wxImageHandler, | |
17302 | _swigc__p_wxIndividualLayoutConstraint, | |
17303 | _swigc__p_wxInitDialogEvent, | |
17304 | _swigc__p_wxJPEGHandler, | |
17305 | _swigc__p_wxKeyEvent, | |
17306 | _swigc__p_wxLayoutAlgorithm, | |
17307 | _swigc__p_wxLayoutConstraints, | |
17308 | _swigc__p_wxMDIChildFrame, | |
17309 | _swigc__p_wxMDIClientWindow, | |
17310 | _swigc__p_wxMDIParentFrame, | |
17311 | _swigc__p_wxMaximizeEvent, | |
17312 | _swigc__p_wxMenu, | |
17313 | _swigc__p_wxMenuBar, | |
17314 | _swigc__p_wxMenuEvent, | |
17315 | _swigc__p_wxMenuItem, | |
17316 | _swigc__p_wxMessageDialog, | |
17317 | _swigc__p_wxMiniFrame, | |
17318 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 17319 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
17320 | _swigc__p_wxMouseEvent, |
17321 | _swigc__p_wxMoveEvent, | |
17322 | _swigc__p_wxMultiChoiceDialog, | |
17323 | _swigc__p_wxNavigationKeyEvent, | |
17324 | _swigc__p_wxNcPaintEvent, | |
17325 | _swigc__p_wxNotifyEvent, | |
17326 | _swigc__p_wxNumberEntryDialog, | |
17327 | _swigc__p_wxObject, | |
17328 | _swigc__p_wxPCXHandler, | |
17329 | _swigc__p_wxPNGHandler, | |
17330 | _swigc__p_wxPNMHandler, | |
17331 | _swigc__p_wxPageSetupDialog, | |
17332 | _swigc__p_wxPageSetupDialogData, | |
17333 | _swigc__p_wxPaintEvent, | |
17334 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
17335 | _swigc__p_wxPanel, |
17336 | _swigc__p_wxPaperSize, | |
17337 | _swigc__p_wxPasswordEntryDialog, | |
17338 | _swigc__p_wxPoint, | |
17339 | _swigc__p_wxPopupWindow, | |
17340 | _swigc__p_wxPreviewCanvas, | |
17341 | _swigc__p_wxPreviewControlBar, | |
17342 | _swigc__p_wxPreviewFrame, | |
17343 | _swigc__p_wxPrintData, | |
17344 | _swigc__p_wxPrintDialog, | |
17345 | _swigc__p_wxPrintDialogData, | |
17346 | _swigc__p_wxPrintPreview, | |
17347 | _swigc__p_wxPrinter, | |
17348 | _swigc__p_wxProgressDialog, | |
17349 | _swigc__p_wxPyApp, | |
5eb8189c RD |
17350 | _swigc__p_wxPyAuiDockArt, |
17351 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 17352 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
17353 | _swigc__p_wxPyEvent, |
17354 | _swigc__p_wxPyHtmlListBox, | |
17355 | _swigc__p_wxPyImageHandler, | |
17356 | _swigc__p_wxPyPanel, | |
17357 | _swigc__p_wxPyPopupTransientWindow, | |
17358 | _swigc__p_wxPyPreviewControlBar, | |
17359 | _swigc__p_wxPyPreviewFrame, | |
17360 | _swigc__p_wxPyPrintPreview, | |
17361 | _swigc__p_wxPyPrintout, | |
17362 | _swigc__p_wxPyScrolledWindow, | |
17363 | _swigc__p_wxPySizer, | |
17364 | _swigc__p_wxPyTaskBarIcon, | |
17365 | _swigc__p_wxPyVListBox, | |
17366 | _swigc__p_wxPyVScrolledWindow, | |
17367 | _swigc__p_wxPyValidator, | |
17368 | _swigc__p_wxPyWindow, | |
17369 | _swigc__p_wxQueryLayoutInfoEvent, | |
17370 | _swigc__p_wxQueryNewPaletteEvent, | |
17371 | _swigc__p_wxRect, | |
17372 | _swigc__p_wxSashEvent, | |
17373 | _swigc__p_wxSashLayoutWindow, | |
17374 | _swigc__p_wxSashWindow, | |
17375 | _swigc__p_wxScrollEvent, | |
17376 | _swigc__p_wxScrollWinEvent, | |
17377 | _swigc__p_wxScrolledWindow, | |
17378 | _swigc__p_wxSetCursorEvent, | |
17379 | _swigc__p_wxShowEvent, | |
17380 | _swigc__p_wxSingleChoiceDialog, | |
17381 | _swigc__p_wxSize, | |
17382 | _swigc__p_wxSizeEvent, | |
17383 | _swigc__p_wxSizer, | |
17384 | _swigc__p_wxSizerItem, | |
17385 | _swigc__p_wxSplashScreen, | |
17386 | _swigc__p_wxSplashScreenWindow, | |
17387 | _swigc__p_wxSplitterEvent, | |
17388 | _swigc__p_wxSplitterWindow, | |
17389 | _swigc__p_wxStaticBoxSizer, | |
17390 | _swigc__p_wxStatusBar, | |
17391 | _swigc__p_wxStdDialogButtonSizer, | |
17392 | _swigc__p_wxString, | |
17393 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 17394 | _swigc__p_wxTGAHandler, |
27e45892 RD |
17395 | _swigc__p_wxTIFFHandler, |
17396 | _swigc__p_wxTaskBarIconEvent, | |
17397 | _swigc__p_wxTextEntryDialog, | |
17398 | _swigc__p_wxTipWindow, | |
17399 | _swigc__p_wxTopLevelWindow, | |
17400 | _swigc__p_wxUpdateUIEvent, | |
17401 | _swigc__p_wxValidator, | |
17402 | _swigc__p_wxWindow, | |
17403 | _swigc__p_wxWindowCreateEvent, | |
17404 | _swigc__p_wxWindowDestroyEvent, | |
17405 | _swigc__p_wxXPMHandler, | |
17406 | }; | |
17407 | ||
17408 | ||
17409 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
17410 | ||
17411 | static swig_const_info swig_const_table[] = { | |
17412 | {0, 0, 0, 0.0, 0, 0}}; | |
17413 | ||
17414 | #ifdef __cplusplus | |
17415 | } | |
17416 | #endif | |
17417 | /* ----------------------------------------------------------------------------- | |
17418 | * Type initialization: | |
17419 | * This problem is tough by the requirement that no dynamic | |
17420 | * memory is used. Also, since swig_type_info structures store pointers to | |
17421 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
17422 | * to swig_type_info structures, we need some lookup code at initialization. | |
17423 | * The idea is that swig generates all the structures that are needed. | |
17424 | * The runtime then collects these partially filled structures. | |
17425 | * The SWIG_InitializeModule function takes these initial arrays out of | |
17426 | * swig_module, and does all the lookup, filling in the swig_module.types | |
17427 | * array with the correct data and linking the correct swig_cast_info | |
17428 | * structures together. | |
17429 | * | |
17430 | * The generated swig_type_info structures are assigned staticly to an initial | |
17431 | * array. We just loop though that array, and handle each type individually. | |
17432 | * First we lookup if this type has been already loaded, and if so, use the | |
17433 | * loaded structure instead of the generated one. Then we have to fill in the | |
17434 | * cast linked list. The cast data is initially stored in something like a | |
17435 | * two-dimensional array. Each row corresponds to a type (there are the same | |
17436 | * number of rows as there are in the swig_type_initial array). Each entry in | |
17437 | * a column is one of the swig_cast_info structures for that type. | |
17438 | * The cast_initial array is actually an array of arrays, because each row has | |
17439 | * a variable number of columns. So to actually build the cast linked list, | |
17440 | * we find the array of casts associated with the type, and loop through it | |
17441 | * adding the casts to the list. The one last trick we need to do is making | |
17442 | * sure the type pointer in the swig_cast_info struct is correct. | |
17443 | * | |
17444 | * First off, we lookup the cast->type name to see if it is already loaded. | |
17445 | * There are three cases to handle: | |
17446 | * 1) If the cast->type has already been loaded AND the type we are adding | |
17447 | * casting info to has not been loaded (it is in this module), THEN we | |
17448 | * replace the cast->type pointer with the type pointer that has already | |
17449 | * been loaded. | |
17450 | * 2) If BOTH types (the one we are adding casting info to, and the | |
17451 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
17452 | * the previous module so we just ignore it. | |
17453 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
17454 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
17455 | * be correct. | |
17456 | * ----------------------------------------------------------------------------- */ | |
17457 | ||
17458 | #ifdef __cplusplus | |
17459 | extern "C" { | |
17460 | #if 0 | |
17461 | } /* c-mode */ | |
17462 | #endif | |
17463 | #endif | |
17464 | ||
17465 | #if 0 | |
17466 | #define SWIGRUNTIME_DEBUG | |
17467 | #endif | |
17468 | ||
17469 | SWIGRUNTIME void | |
17470 | SWIG_InitializeModule(void *clientdata) { | |
17471 | size_t i; | |
17472 | swig_module_info *module_head; | |
17473 | static int init_run = 0; | |
17474 | ||
17475 | clientdata = clientdata; | |
17476 | ||
17477 | if (init_run) return; | |
17478 | init_run = 1; | |
17479 | ||
17480 | /* Initialize the swig_module */ | |
17481 | swig_module.type_initial = swig_type_initial; | |
17482 | swig_module.cast_initial = swig_cast_initial; | |
17483 | ||
17484 | /* Try and load any already created modules */ | |
17485 | module_head = SWIG_GetModule(clientdata); | |
17486 | if (module_head) { | |
17487 | swig_module.next = module_head->next; | |
17488 | module_head->next = &swig_module; | |
17489 | } else { | |
17490 | /* This is the first module loaded */ | |
17491 | swig_module.next = &swig_module; | |
17492 | SWIG_SetModule(clientdata, &swig_module); | |
17493 | } | |
17494 | ||
17495 | /* Now work on filling in swig_module.types */ | |
17496 | #ifdef SWIGRUNTIME_DEBUG | |
17497 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
17498 | #endif | |
17499 | for (i = 0; i < swig_module.size; ++i) { | |
17500 | swig_type_info *type = 0; | |
17501 | swig_type_info *ret; | |
17502 | swig_cast_info *cast; | |
17503 | ||
17504 | #ifdef SWIGRUNTIME_DEBUG | |
17505 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17506 | #endif | |
17507 | ||
17508 | /* if there is another module already loaded */ | |
17509 | if (swig_module.next != &swig_module) { | |
17510 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
17511 | } | |
17512 | if (type) { | |
17513 | /* Overwrite clientdata field */ | |
17514 | #ifdef SWIGRUNTIME_DEBUG | |
17515 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
17516 | #endif | |
17517 | if (swig_module.type_initial[i]->clientdata) { | |
17518 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
17519 | #ifdef SWIGRUNTIME_DEBUG | |
17520 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
17521 | #endif | |
17522 | } | |
17523 | } else { | |
17524 | type = swig_module.type_initial[i]; | |
17525 | } | |
17526 | ||
17527 | /* Insert casting types */ | |
17528 | cast = swig_module.cast_initial[i]; | |
17529 | while (cast->type) { | |
17530 | /* Don't need to add information already in the list */ | |
17531 | ret = 0; | |
17532 | #ifdef SWIGRUNTIME_DEBUG | |
17533 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
17534 | #endif | |
17535 | if (swig_module.next != &swig_module) { | |
17536 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
17537 | #ifdef SWIGRUNTIME_DEBUG | |
17538 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
17539 | #endif | |
17540 | } | |
17541 | if (ret) { | |
17542 | if (type == swig_module.type_initial[i]) { | |
17543 | #ifdef SWIGRUNTIME_DEBUG | |
17544 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
17545 | #endif | |
17546 | cast->type = ret; | |
17547 | ret = 0; | |
17548 | } else { | |
17549 | /* Check for casting already in the list */ | |
17550 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
17551 | #ifdef SWIGRUNTIME_DEBUG | |
17552 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
17553 | #endif | |
17554 | if (!ocast) ret = 0; | |
17555 | } | |
17556 | } | |
17557 | ||
17558 | if (!ret) { | |
17559 | #ifdef SWIGRUNTIME_DEBUG | |
17560 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
17561 | #endif | |
17562 | if (type->cast) { | |
17563 | type->cast->prev = cast; | |
17564 | cast->next = type->cast; | |
17565 | } | |
17566 | type->cast = cast; | |
17567 | } | |
17568 | cast++; | |
17569 | } | |
17570 | /* Set entry in modules->types array equal to the type */ | |
17571 | swig_module.types[i] = type; | |
17572 | } | |
17573 | swig_module.types[i] = 0; | |
17574 | ||
17575 | #ifdef SWIGRUNTIME_DEBUG | |
17576 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17577 | for (i = 0; i < swig_module.size; ++i) { | |
17578 | int j = 0; | |
17579 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
17580 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17581 | while (cast->type) { | |
17582 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
17583 | cast++; | |
17584 | ++j; | |
17585 | } | |
17586 | printf("---- Total casts: %d\n",j); | |
17587 | } | |
17588 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17589 | #endif | |
17590 | } | |
17591 | ||
17592 | /* This function will propagate the clientdata field of type to | |
17593 | * any new swig_type_info structures that have been added into the list | |
17594 | * of equivalent types. It is like calling | |
17595 | * SWIG_TypeClientData(type, clientdata) a second time. | |
17596 | */ | |
17597 | SWIGRUNTIME void | |
17598 | SWIG_PropagateClientData(void) { | |
17599 | size_t i; | |
17600 | swig_cast_info *equiv; | |
17601 | static int init_run = 0; | |
17602 | ||
17603 | if (init_run) return; | |
17604 | init_run = 1; | |
17605 | ||
17606 | for (i = 0; i < swig_module.size; i++) { | |
17607 | if (swig_module.types[i]->clientdata) { | |
17608 | equiv = swig_module.types[i]->cast; | |
17609 | while (equiv) { | |
17610 | if (!equiv->converter) { | |
17611 | if (equiv->type && !equiv->type->clientdata) | |
17612 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
17613 | } | |
17614 | equiv = equiv->next; | |
17615 | } | |
17616 | } | |
17617 | } | |
17618 | } | |
17619 | ||
17620 | #ifdef __cplusplus | |
17621 | #if 0 | |
17622 | { | |
17623 | /* c-mode */ | |
17624 | #endif | |
17625 | } | |
17626 | #endif | |
17627 | ||
17628 | ||
17629 | ||
17630 | #ifdef __cplusplus | |
17631 | extern "C" { | |
17632 | #endif | |
17633 | ||
17634 | /* Python-specific SWIG API */ | |
17635 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
17636 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
17637 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
17638 | ||
17639 | /* ----------------------------------------------------------------------------- | |
17640 | * global variable support code. | |
17641 | * ----------------------------------------------------------------------------- */ | |
17642 | ||
17643 | typedef struct swig_globalvar { | |
17644 | char *name; /* Name of global variable */ | |
17645 | PyObject *(*get_attr)(void); /* Return the current value */ | |
17646 | int (*set_attr)(PyObject *); /* Set the value */ | |
17647 | struct swig_globalvar *next; | |
17648 | } swig_globalvar; | |
17649 | ||
17650 | typedef struct swig_varlinkobject { | |
17651 | PyObject_HEAD | |
17652 | swig_globalvar *vars; | |
17653 | } swig_varlinkobject; | |
17654 | ||
17655 | SWIGINTERN PyObject * | |
17656 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
17657 | return PyString_FromString("<Swig global variables>"); | |
17658 | } | |
17659 | ||
17660 | SWIGINTERN PyObject * | |
17661 | swig_varlink_str(swig_varlinkobject *v) { | |
17662 | PyObject *str = PyString_FromString("("); | |
17663 | swig_globalvar *var; | |
17664 | for (var = v->vars; var; var=var->next) { | |
17665 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
17666 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
17667 | } | |
17668 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
17669 | return str; | |
17670 | } | |
17671 | ||
17672 | SWIGINTERN int | |
17673 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
17674 | PyObject *str = swig_varlink_str(v); | |
17675 | fprintf(fp,"Swig global variables "); | |
17676 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
17677 | Py_DECREF(str); | |
17678 | return 0; | |
17679 | } | |
17680 | ||
17681 | SWIGINTERN void | |
17682 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
17683 | swig_globalvar *var = v->vars; | |
17684 | while (var) { | |
17685 | swig_globalvar *n = var->next; | |
17686 | free(var->name); | |
17687 | free(var); | |
17688 | var = n; | |
17689 | } | |
17690 | } | |
17691 | ||
17692 | SWIGINTERN PyObject * | |
17693 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
17694 | PyObject *res = NULL; | |
17695 | swig_globalvar *var = v->vars; | |
17696 | while (var) { | |
17697 | if (strcmp(var->name,n) == 0) { | |
17698 | res = (*var->get_attr)(); | |
17699 | break; | |
17700 | } | |
17701 | var = var->next; | |
17702 | } | |
17703 | if (res == NULL && !PyErr_Occurred()) { | |
17704 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17705 | } | |
17706 | return res; | |
17707 | } | |
17708 | ||
17709 | SWIGINTERN int | |
17710 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
17711 | int res = 1; | |
17712 | swig_globalvar *var = v->vars; | |
17713 | while (var) { | |
17714 | if (strcmp(var->name,n) == 0) { | |
17715 | res = (*var->set_attr)(p); | |
17716 | break; | |
17717 | } | |
17718 | var = var->next; | |
17719 | } | |
17720 | if (res == 1 && !PyErr_Occurred()) { | |
17721 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17722 | } | |
17723 | return res; | |
17724 | } | |
17725 | ||
17726 | SWIGINTERN PyTypeObject* | |
17727 | swig_varlink_type(void) { | |
17728 | static char varlink__doc__[] = "Swig var link object"; | |
17729 | static PyTypeObject varlink_type; | |
17730 | static int type_init = 0; | |
17731 | if (!type_init) { | |
17732 | const PyTypeObject tmp | |
17733 | = { | |
17734 | PyObject_HEAD_INIT(NULL) | |
17735 | 0, /* Number of items in variable part (ob_size) */ | |
17736 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
17737 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
17738 | 0, /* Itemsize (tp_itemsize) */ | |
17739 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
17740 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
17741 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
17742 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
17743 | 0, /* tp_compare */ | |
17744 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
17745 | 0, /* tp_as_number */ | |
17746 | 0, /* tp_as_sequence */ | |
17747 | 0, /* tp_as_mapping */ | |
17748 | 0, /* tp_hash */ | |
17749 | 0, /* tp_call */ | |
17750 | (reprfunc)swig_varlink_str, /* tp_str */ | |
17751 | 0, /* tp_getattro */ | |
17752 | 0, /* tp_setattro */ | |
17753 | 0, /* tp_as_buffer */ | |
17754 | 0, /* tp_flags */ | |
17755 | varlink__doc__, /* tp_doc */ | |
17756 | 0, /* tp_traverse */ | |
17757 | 0, /* tp_clear */ | |
17758 | 0, /* tp_richcompare */ | |
17759 | 0, /* tp_weaklistoffset */ | |
17760 | #if PY_VERSION_HEX >= 0x02020000 | |
17761 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
17762 | #endif | |
17763 | #if PY_VERSION_HEX >= 0x02030000 | |
17764 | 0, /* tp_del */ | |
17765 | #endif | |
17766 | #ifdef COUNT_ALLOCS | |
17767 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
17768 | #endif | |
17769 | }; | |
17770 | varlink_type = tmp; | |
17771 | varlink_type.ob_type = &PyType_Type; | |
17772 | type_init = 1; | |
17773 | } | |
17774 | return &varlink_type; | |
17775 | } | |
17776 | ||
17777 | /* Create a variable linking object for use later */ | |
17778 | SWIGINTERN PyObject * | |
17779 | SWIG_Python_newvarlink(void) { | |
17780 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
17781 | if (result) { | |
17782 | result->vars = 0; | |
17783 | } | |
17784 | return ((PyObject*) result); | |
17785 | } | |
17786 | ||
17787 | SWIGINTERN void | |
17788 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
17789 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
17790 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
17791 | if (gv) { | |
17792 | size_t size = strlen(name)+1; | |
17793 | gv->name = (char *)malloc(size); | |
17794 | if (gv->name) { | |
17795 | strncpy(gv->name,name,size); | |
17796 | gv->get_attr = get_attr; | |
17797 | gv->set_attr = set_attr; | |
17798 | gv->next = v->vars; | |
17799 | } | |
17800 | } | |
17801 | v->vars = gv; | |
17802 | } | |
17803 | ||
17804 | SWIGINTERN PyObject * | |
17805 | SWIG_globals() { | |
17806 | static PyObject *_SWIG_globals = 0; | |
17807 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
17808 | return _SWIG_globals; | |
17809 | } | |
17810 | ||
17811 | /* ----------------------------------------------------------------------------- | |
17812 | * constants/methods manipulation | |
17813 | * ----------------------------------------------------------------------------- */ | |
17814 | ||
17815 | /* Install Constants */ | |
17816 | SWIGINTERN void | |
17817 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
17818 | PyObject *obj = 0; | |
17819 | size_t i; | |
17820 | for (i = 0; constants[i].type; ++i) { | |
17821 | switch(constants[i].type) { | |
17822 | case SWIG_PY_POINTER: | |
17823 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
17824 | break; | |
17825 | case SWIG_PY_BINARY: | |
17826 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
17827 | break; | |
17828 | default: | |
17829 | obj = 0; | |
17830 | break; | |
17831 | } | |
17832 | if (obj) { | |
17833 | PyDict_SetItemString(d, constants[i].name, obj); | |
17834 | Py_DECREF(obj); | |
17835 | } | |
17836 | } | |
17837 | } | |
17838 | ||
17839 | /* -----------------------------------------------------------------------------*/ | |
17840 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17841 | /* -----------------------------------------------------------------------------*/ | |
17842 | ||
17843 | SWIGINTERN void | |
17844 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
17845 | swig_const_info *const_table, | |
17846 | swig_type_info **types, | |
17847 | swig_type_info **types_initial) { | |
17848 | size_t i; | |
17849 | for (i = 0; methods[i].ml_name; ++i) { | |
17850 | const char *c = methods[i].ml_doc; | |
17851 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
17852 | int j; | |
17853 | swig_const_info *ci = 0; | |
17854 | const char *name = c + 10; | |
17855 | for (j = 0; const_table[j].type; ++j) { | |
17856 | if (strncmp(const_table[j].name, name, | |
17857 | strlen(const_table[j].name)) == 0) { | |
17858 | ci = &(const_table[j]); | |
17859 | break; | |
17860 | } | |
17861 | } | |
17862 | if (ci) { | |
17863 | size_t shift = (ci->ptype) - types; | |
17864 | swig_type_info *ty = types_initial[shift]; | |
17865 | size_t ldoc = (c - methods[i].ml_doc); | |
17866 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
17867 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
17868 | if (ndoc) { | |
17869 | char *buff = ndoc; | |
17870 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
17871 | if (ptr) { | |
17872 | strncpy(buff, methods[i].ml_doc, ldoc); | |
17873 | buff += ldoc; | |
17874 | strncpy(buff, "swig_ptr: ", 10); | |
17875 | buff += 10; | |
17876 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
17877 | methods[i].ml_doc = ndoc; | |
17878 | } | |
17879 | } | |
17880 | } | |
17881 | } | |
17882 | } | |
17883 | } | |
17884 | ||
17885 | #ifdef __cplusplus | |
17886 | } | |
17887 | #endif | |
17888 | ||
17889 | /* -----------------------------------------------------------------------------* | |
17890 | * Partial Init method | |
17891 | * -----------------------------------------------------------------------------*/ | |
17892 | ||
17893 | #ifdef __cplusplus | |
17894 | extern "C" | |
17895 | #endif | |
17896 | SWIGEXPORT void SWIG_init(void) { | |
17897 | PyObject *m, *d; | |
17898 | ||
17899 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17900 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
17901 | ||
17902 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
17903 | d = PyModule_GetDict(m); | |
17904 | ||
17905 | SWIG_InitializeModule(0); | |
17906 | SWIG_InstallConstants(d,swig_const_table); | |
17907 | ||
17908 | ||
17909 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
17910 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
17911 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
17912 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
17913 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
17914 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
17915 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
17916 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
17917 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
17918 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
17919 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
17920 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
17921 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
17922 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
17923 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
17924 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
17925 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
17926 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
17927 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
17928 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
17929 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
17930 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
17931 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
17932 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
17933 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
17934 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
17935 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
17936 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
17937 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
17938 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
17939 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
17940 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
17941 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
17942 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
17943 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
17944 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
17945 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
17946 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
17947 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
17948 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
17949 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
17950 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
17951 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); | |
5eb8189c | 17952 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
17953 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
17954 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
17955 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
17956 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); | |
17957 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
17958 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
17959 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
17960 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
17961 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
17962 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
17963 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
17964 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
17965 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
17966 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
17967 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
17968 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
17969 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
17970 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
17971 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
17972 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
17973 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
17974 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
17975 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
17976 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
17977 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
17978 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
17979 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
17980 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
17981 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
17982 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
17983 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
17984 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
17985 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
17986 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionSavedHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionSavedHidden))); | |
17987 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); | |
17988 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
17989 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
17990 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
17991 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
17992 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
17993 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
17994 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); | |
17995 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
17996 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
17997 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
17998 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
17999 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
18000 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
18001 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
18002 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
18003 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
27e45892 RD |
18004 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); |
18005 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
5eb8189c RD |
18006 | PyDict_SetItemString(d, "wxEVT_AUI_PANEMAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANEMAXIMIZE)); |
18007 | PyDict_SetItemString(d, "wxEVT_AUI_PANERESTORE", PyInt_FromLong(wxEVT_AUI_PANERESTORE)); | |
1d5ee749 | 18008 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
5eb8189c RD |
18009 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
18010 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
18011 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
18012 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
18013 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
18014 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
18015 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); | |
5eb8189c | 18016 | SWIG_Python_SetConstant(d, "AUI_NB_PAGELIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_PAGELIST_BUTTON))); |
36cb9ebe | 18017 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
18018 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
18019 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
18020 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
1eeb270e RD |
18021 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
18022 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
18023 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
18024 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
18025 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
18026 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
27e45892 RD |
18027 | } |
18028 |