]>
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] | |
10044bf1 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] | |
26c4d26f RD |
2524 | #define SWIGTYPE_p_wxArrayString swig_types[58] |
2525 | #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[59] | |
2526 | #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[60] | |
2527 | #define SWIGTYPE_p_wxAuiDockArt swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiDockInfo swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiDockUIPart swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[64] | |
2531 | #define SWIGTYPE_p_wxAuiManager swig_types[65] | |
2532 | #define SWIGTYPE_p_wxAuiManagerEvent swig_types[66] | |
2533 | #define SWIGTYPE_p_wxAuiNotebook swig_types[67] | |
2534 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[68] | |
2535 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[69] | |
2536 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[70] | |
2537 | #define SWIGTYPE_p_wxAuiPaneButton swig_types[71] | |
2538 | #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[72] | |
2539 | #define SWIGTYPE_p_wxAuiPaneInfo swig_types[73] | |
2540 | #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[74] | |
2541 | #define SWIGTYPE_p_wxAuiTabArt swig_types[75] | |
2542 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[76] | |
2543 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[77] | |
2544 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[78] | |
2545 | #define SWIGTYPE_p_wxBMPHandler swig_types[79] | |
2546 | #define SWIGTYPE_p_wxBitmap swig_types[80] | |
2547 | #define SWIGTYPE_p_wxBoxSizer swig_types[81] | |
2548 | #define SWIGTYPE_p_wxCURHandler swig_types[82] | |
2549 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[83] | |
2550 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[84] | |
2551 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[85] | |
2552 | #define SWIGTYPE_p_wxCloseEvent swig_types[86] | |
2553 | #define SWIGTYPE_p_wxColor swig_types[87] | |
2554 | #define SWIGTYPE_p_wxColour swig_types[88] | |
2555 | #define SWIGTYPE_p_wxColourData swig_types[89] | |
2556 | #define SWIGTYPE_p_wxColourDialog swig_types[90] | |
2557 | #define SWIGTYPE_p_wxCommandEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[92] | |
2559 | #define SWIGTYPE_p_wxControl swig_types[93] | |
2560 | #define SWIGTYPE_p_wxControlWithItems swig_types[94] | |
2561 | #define SWIGTYPE_p_wxDC swig_types[95] | |
2562 | #define SWIGTYPE_p_wxDateEvent swig_types[96] | |
2563 | #define SWIGTYPE_p_wxDialog swig_types[97] | |
2564 | #define SWIGTYPE_p_wxDirDialog swig_types[98] | |
2565 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[99] | |
2566 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[100] | |
2567 | #define SWIGTYPE_p_wxDuplexMode swig_types[101] | |
2568 | #define SWIGTYPE_p_wxEraseEvent swig_types[102] | |
2569 | #define SWIGTYPE_p_wxEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxEvtHandler swig_types[104] | |
2571 | #define SWIGTYPE_p_wxFSFile swig_types[105] | |
2572 | #define SWIGTYPE_p_wxFileDialog swig_types[106] | |
2573 | #define SWIGTYPE_p_wxFileSystem swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFindReplaceData swig_types[109] | |
2576 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[110] | |
2577 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[111] | |
2578 | #define SWIGTYPE_p_wxFocusEvent swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFont swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFontData swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFontDialog swig_types[115] | |
2582 | #define SWIGTYPE_p_wxFrame swig_types[116] | |
2583 | #define SWIGTYPE_p_wxGBSizerItem swig_types[117] | |
2584 | #define SWIGTYPE_p_wxGIFHandler swig_types[118] | |
2585 | #define SWIGTYPE_p_wxGridBagSizer swig_types[119] | |
2586 | #define SWIGTYPE_p_wxGridSizer swig_types[120] | |
2587 | #define SWIGTYPE_p_wxICOHandler swig_types[121] | |
2588 | #define SWIGTYPE_p_wxIconizeEvent swig_types[122] | |
2589 | #define SWIGTYPE_p_wxIdleEvent swig_types[123] | |
2590 | #define SWIGTYPE_p_wxImage swig_types[124] | |
2591 | #define SWIGTYPE_p_wxImageHandler swig_types[125] | |
2592 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[126] | |
2593 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[127] | |
2594 | #define SWIGTYPE_p_wxJPEGHandler swig_types[128] | |
2595 | #define SWIGTYPE_p_wxKeyEvent swig_types[129] | |
2596 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[130] | |
2597 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[131] | |
2598 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[132] | |
2599 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[133] | |
2600 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[135] | |
2602 | #define SWIGTYPE_p_wxMenu swig_types[136] | |
2603 | #define SWIGTYPE_p_wxMenuBar swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMenuEvent swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMenuItem swig_types[139] | |
2606 | #define SWIGTYPE_p_wxMessageDialog swig_types[140] | |
2607 | #define SWIGTYPE_p_wxMiniFrame swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMouseEvent swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMoveEvent swig_types[145] | |
2612 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[146] | |
2613 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[147] | |
2614 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[148] | |
2615 | #define SWIGTYPE_p_wxNotifyEvent swig_types[149] | |
2616 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[150] | |
2617 | #define SWIGTYPE_p_wxObject swig_types[151] | |
2618 | #define SWIGTYPE_p_wxPCXHandler swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPNGHandler swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPNMHandler swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPaintEvent swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPanel swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPaperSize swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPoint swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPopupWindow swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPreviewFrame swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPrintData swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPrintDialog swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPrintDialogData swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPrintPreview swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPrinter swig_types[171] | |
2638 | #define SWIGTYPE_p_wxProgressDialog swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPyApp swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyEvent swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyImageHandler swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyPanel swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyPrintout swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPySizer swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyVListBox swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyValidator swig_types[191] | |
2658 | #define SWIGTYPE_p_wxPyWindow swig_types[192] | |
2659 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[193] | |
2660 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[194] | |
2661 | #define SWIGTYPE_p_wxRect swig_types[195] | |
2662 | #define SWIGTYPE_p_wxSashEvent swig_types[196] | |
2663 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[197] | |
2664 | #define SWIGTYPE_p_wxSashWindow swig_types[198] | |
2665 | #define SWIGTYPE_p_wxScrollEvent swig_types[199] | |
2666 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[200] | |
2667 | #define SWIGTYPE_p_wxScrolledWindow swig_types[201] | |
2668 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[202] | |
2669 | #define SWIGTYPE_p_wxShowEvent swig_types[203] | |
2670 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSize swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSizeEvent swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSizer swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSizerItem swig_types[208] | |
2675 | #define SWIGTYPE_p_wxSplashScreen swig_types[209] | |
2676 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSplitterEvent swig_types[211] | |
2678 | #define SWIGTYPE_p_wxSplitterWindow swig_types[212] | |
2679 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[213] | |
2680 | #define SWIGTYPE_p_wxStatusBar swig_types[214] | |
2681 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[215] | |
2682 | #define SWIGTYPE_p_wxString swig_types[216] | |
2683 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[217] | |
2684 | #define SWIGTYPE_p_wxTGAHandler swig_types[218] | |
2685 | #define SWIGTYPE_p_wxTIFFHandler swig_types[219] | |
2686 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[220] | |
2687 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[221] | |
2688 | #define SWIGTYPE_p_wxTipWindow swig_types[222] | |
2689 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[223] | |
2690 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[224] | |
2691 | #define SWIGTYPE_p_wxValidator swig_types[225] | |
2692 | #define SWIGTYPE_p_wxWindow swig_types[226] | |
2693 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[227] | |
2694 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[228] | |
2695 | #define SWIGTYPE_p_wxXPMHandler swig_types[229] | |
2696 | static swig_type_info *swig_types[231]; | |
2697 | static swig_module_info swig_module = {swig_types, 230, 0, 0, 0, 0}; | |
27e45892 RD |
2698 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2699 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2700 | ||
2701 | /* -------- TYPES TABLE (END) -------- */ | |
2702 | ||
2703 | #if (PY_VERSION_HEX <= 0x02000000) | |
2704 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2705 | # error "This python version requires to use swig with the '-classic' option" | |
2706 | # endif | |
2707 | #endif | |
2708 | #if (PY_VERSION_HEX <= 0x02020000) | |
2709 | # error "This python version requires to use swig with the '-nomodern' option" | |
2710 | #endif | |
2711 | #if (PY_VERSION_HEX <= 0x02020000) | |
2712 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2713 | #endif | |
2714 | #ifndef METH_O | |
2715 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2716 | #endif | |
2717 | ||
2718 | /*----------------------------------------------- | |
2719 | @(target):= _aui.so | |
2720 | ------------------------------------------------*/ | |
2721 | #define SWIG_init init_aui | |
2722 | ||
2723 | #define SWIG_name "_aui" | |
2724 | ||
2725 | #define SWIGVERSION 0x010329 | |
2726 | ||
2727 | ||
2728 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2729 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2730 | ||
2731 | ||
2732 | #include <stdexcept> | |
2733 | ||
2734 | ||
2735 | namespace swig { | |
2736 | class PyObject_ptr { | |
2737 | protected: | |
2738 | PyObject *_obj; | |
2739 | ||
2740 | public: | |
2741 | PyObject_ptr() :_obj(0) | |
2742 | { | |
2743 | } | |
2744 | ||
2745 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2746 | { | |
2747 | Py_XINCREF(_obj); | |
2748 | } | |
2749 | ||
2750 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2751 | { | |
2752 | if (initial_ref) Py_XINCREF(_obj); | |
2753 | } | |
2754 | ||
2755 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2756 | { | |
2757 | Py_XINCREF(item._obj); | |
2758 | Py_XDECREF(_obj); | |
2759 | _obj = item._obj; | |
2760 | return *this; | |
2761 | } | |
2762 | ||
2763 | ~PyObject_ptr() | |
2764 | { | |
2765 | Py_XDECREF(_obj); | |
2766 | } | |
2767 | ||
2768 | operator PyObject *() const | |
2769 | { | |
2770 | return _obj; | |
2771 | } | |
2772 | ||
2773 | PyObject *operator->() const | |
2774 | { | |
2775 | return _obj; | |
2776 | } | |
2777 | }; | |
2778 | } | |
2779 | ||
2780 | ||
2781 | namespace swig { | |
2782 | struct PyObject_var : PyObject_ptr { | |
2783 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2784 | ||
2785 | PyObject_var & operator = (PyObject* obj) | |
2786 | { | |
2787 | Py_XDECREF(_obj); | |
2788 | _obj = obj; | |
2789 | return *this; | |
2790 | } | |
2791 | }; | |
2792 | } | |
2793 | ||
2794 | ||
2795 | #include "wx/wxPython/wxPython.h" | |
2796 | #include "wx/wxPython/pyclasses.h" | |
2797 | #include <wx/aui/aui.h> | |
2798 | ||
2799 | ||
2800 | #define SWIG_From_long PyInt_FromLong | |
2801 | ||
2802 | ||
2803 | SWIGINTERNINLINE PyObject * | |
2804 | SWIG_From_int (int value) | |
2805 | { | |
2806 | return SWIG_From_long (value); | |
2807 | } | |
2808 | ||
2809 | ||
2810 | #include <limits.h> | |
2811 | #ifndef LLONG_MIN | |
2812 | # define LLONG_MIN LONG_LONG_MIN | |
2813 | #endif | |
2814 | #ifndef LLONG_MAX | |
2815 | # define LLONG_MAX LONG_LONG_MAX | |
2816 | #endif | |
2817 | #ifndef ULLONG_MAX | |
2818 | # define ULLONG_MAX ULONG_LONG_MAX | |
2819 | #endif | |
2820 | ||
2821 | ||
2822 | SWIGINTERN int | |
2823 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2824 | { | |
2825 | if (PyNumber_Check(obj)) { | |
2826 | if (val) *val = PyInt_AsLong(obj); | |
2827 | return SWIG_OK; | |
2828 | } | |
2829 | return SWIG_TypeError; | |
2830 | } | |
2831 | ||
2832 | ||
2833 | SWIGINTERN int | |
2834 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2835 | { | |
2836 | long v; | |
2837 | int res = SWIG_AsVal_long (obj, &v); | |
2838 | if (SWIG_IsOK(res)) { | |
2839 | if ((v < INT_MIN || v > INT_MAX)) { | |
2840 | return SWIG_OverflowError; | |
2841 | } else { | |
2842 | if (val) *val = static_cast< int >(v); | |
2843 | } | |
2844 | } | |
2845 | return res; | |
2846 | } | |
2847 | ||
2848 | ||
2849 | SWIGINTERN int | |
2850 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2851 | { | |
2852 | if (obj == Py_True) { | |
2853 | if (val) *val = true; | |
2854 | return SWIG_OK; | |
2855 | } else if (obj == Py_False) { | |
2856 | if (val) *val = false; | |
2857 | return SWIG_OK; | |
2858 | } else { | |
2859 | long v = 0; | |
2860 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2861 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2862 | return res; | |
2863 | } | |
2864 | } | |
2865 | ||
5eb8189c RD |
2866 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2867 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2868 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2869 | |
10044bf1 RD |
2870 | SWIGINTERN int |
2871 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2872 | { | |
2873 | long v = 0; | |
2874 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2875 | return SWIG_TypeError; | |
2876 | } | |
2877 | else if (val) | |
2878 | *val = (unsigned long)v; | |
2879 | return SWIG_OK; | |
2880 | } | |
2881 | ||
2882 | ||
2883 | SWIGINTERNINLINE int | |
2884 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2885 | { | |
2886 | unsigned long v; | |
2887 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2888 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2889 | return res; | |
2890 | } | |
2891 | ||
2892 | ||
2893 | SWIGINTERNINLINE PyObject* | |
2894 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2895 | { | |
2896 | return (value > LONG_MAX) ? | |
2897 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2898 | } | |
2899 | ||
2900 | ||
2901 | SWIGINTERNINLINE PyObject * | |
2902 | SWIG_From_size_t (size_t value) | |
2903 | { | |
2904 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2905 | } | |
2906 | ||
2907 | ||
5c8c7dd3 | 2908 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2909 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2910 | { |
5eb8189c | 2911 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2912 | |
2913 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2914 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2915 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2916 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2917 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2918 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2919 | ||
2920 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2921 | wxWindow* window, |
27e45892 RD |
2922 | int orientation, |
2923 | const wxRect& rect) | |
2924 | { | |
2925 | bool found; | |
2926 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2927 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2928 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2929 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2930 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2931 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2932 | odc, owin, orientation, orect)); | |
27e45892 | 2933 | Py_DECREF(odc); |
8f514ab4 | 2934 | Py_DECREF(owin); |
27e45892 RD |
2935 | Py_DECREF(orect); |
2936 | } | |
2937 | wxPyEndBlockThreads(blocked); | |
2938 | if (! found) | |
5eb8189c | 2939 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2940 | } |
2941 | ||
2942 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2943 | wxWindow* window, |
27e45892 RD |
2944 | int orientation, |
2945 | const wxRect& rect) | |
2946 | { | |
2947 | bool found; | |
2948 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2949 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2950 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2951 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2952 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2953 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2954 | odc, owin, orientation, orect)); | |
27e45892 | 2955 | Py_DECREF(odc); |
8f514ab4 | 2956 | Py_DECREF(owin); |
27e45892 RD |
2957 | Py_DECREF(orect); |
2958 | } | |
2959 | wxPyEndBlockThreads(blocked); | |
2960 | if (! found) | |
5eb8189c | 2961 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2962 | } |
2963 | ||
2964 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2965 | wxWindow* window, |
27e45892 RD |
2966 | const wxString& text, |
2967 | const wxRect& rect, | |
5eb8189c | 2968 | wxAuiPaneInfo& pane) |
27e45892 RD |
2969 | { |
2970 | bool found; | |
2971 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2972 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2973 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2974 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2975 | PyObject* otext = wx2PyString(text); |
2976 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2977 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
2978 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2979 | odc, owin, otext, orect, opane)); | |
27e45892 | 2980 | Py_DECREF(odc); |
8f514ab4 | 2981 | Py_DECREF(owin); |
27e45892 RD |
2982 | Py_DECREF(otext); |
2983 | Py_DECREF(orect); | |
2984 | Py_DECREF(opane); | |
2985 | } | |
2986 | wxPyEndBlockThreads(blocked); | |
2987 | if (! found) | |
5eb8189c | 2988 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
2989 | } |
2990 | ||
2991 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 2992 | wxWindow* window, |
27e45892 | 2993 | const wxRect& rect, |
5eb8189c | 2994 | wxAuiPaneInfo& pane) |
27e45892 RD |
2995 | { |
2996 | bool found; | |
2997 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2998 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
2999 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3000 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3001 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3002 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3003 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3004 | Py_DECREF(odc); |
3005 | Py_DECREF(orect); | |
3006 | Py_DECREF(opane); | |
3007 | } | |
3008 | wxPyEndBlockThreads(blocked); | |
3009 | if (! found) | |
5eb8189c | 3010 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3011 | } |
3012 | ||
3013 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3014 | wxWindow* window, |
27e45892 | 3015 | const wxRect& rect, |
5eb8189c | 3016 | wxAuiPaneInfo& pane) |
27e45892 RD |
3017 | { |
3018 | bool found; | |
3019 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3020 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3021 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3022 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3023 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3024 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3025 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3026 | Py_DECREF(odc); | |
8f514ab4 | 3027 | Py_DECREF(owin); |
27e45892 RD |
3028 | Py_DECREF(orect); |
3029 | Py_DECREF(opane); | |
3030 | } | |
3031 | wxPyEndBlockThreads(blocked); | |
3032 | if (! found) | |
5eb8189c | 3033 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3034 | } |
3035 | ||
3036 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3037 | wxWindow* window, |
27e45892 RD |
3038 | int button, |
3039 | int button_state, | |
3040 | const wxRect& rect, | |
5eb8189c | 3041 | wxAuiPaneInfo& pane) |
27e45892 RD |
3042 | { |
3043 | bool found; | |
3044 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3045 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3046 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3047 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3048 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3049 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3050 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3051 | odc, owin, button, button_state, | |
27e45892 RD |
3052 | orect, opane)); |
3053 | Py_DECREF(odc); | |
8f514ab4 | 3054 | Py_DECREF(owin); |
27e45892 RD |
3055 | Py_DECREF(orect); |
3056 | Py_DECREF(opane); | |
3057 | } | |
3058 | wxPyEndBlockThreads(blocked); | |
3059 | if (! found) | |
5eb8189c | 3060 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3061 | } |
3062 | ||
3063 | PYPRIVATE; | |
3064 | ||
3065 | }; | |
3066 | ||
5eb8189c RD |
3067 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3068 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3069 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3070 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3071 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3072 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3073 | |
3074 | ||
5c8c7dd3 RD |
3075 | |
3076 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3077 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3078 | { |
5eb8189c | 3079 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3080 | |
8f514ab4 | 3081 | |
5c8c7dd3 | 3082 | virtual void DrawBackground( wxDC* dc, |
26c4d26f | 3083 | wxWindow* wnd, |
5c8c7dd3 RD |
3084 | const wxRect& rect ) |
3085 | { | |
3086 | bool found; | |
3087 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3088 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
3089 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
26c4d26f | 3090 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3091 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3092 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3093 | Py_DECREF(odc); |
26c4d26f | 3094 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3095 | Py_DECREF(orect); |
3096 | } | |
3097 | wxPyEndBlockThreads(blocked); | |
3098 | if (!found) | |
26c4d26f | 3099 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3100 | } |
3101 | ||
3102 | virtual void DrawTab( wxDC* dc, | |
26c4d26f | 3103 | wxWindow* wnd, |
5c8c7dd3 RD |
3104 | const wxRect& in_rect, |
3105 | const wxString& caption, | |
3106 | bool active, | |
36cb9ebe RD |
3107 | int close_button_state, |
3108 | wxRect* out_tab_rect, | |
3109 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3110 | int* x_extent) |
3111 | { | |
3112 | bool found; | |
36cb9ebe | 3113 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3114 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3115 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
3116 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
26c4d26f | 3117 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 RD |
3118 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
3119 | PyObject* otext = wx2PyString(caption); | |
3120 | PyObject* ro; | |
5eb8189c | 3121 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
26c4d26f RD |
3122 | "(OOOOii)", |
3123 | odc, ownd, orect, otext, | |
36cb9ebe | 3124 | (int)active, close_button_state)); |
5c8c7dd3 | 3125 | if (ro) { |
36cb9ebe | 3126 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3127 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3128 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3129 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3130 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3131 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3132 | else if (!wxRect_helper(o2, &out_button_rect)) |
3133 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3134 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3135 | PyErr_SetString(PyExc_TypeError, errmsg); |
3136 | else | |
36cb9ebe | 3137 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3138 | |
3139 | Py_DECREF(o1); | |
3140 | Py_DECREF(o2); | |
36cb9ebe | 3141 | Py_DECREF(o3); |
5c8c7dd3 RD |
3142 | } |
3143 | else { | |
3144 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3145 | } | |
3146 | Py_DECREF(ro); | |
3147 | } | |
3148 | ||
3149 | Py_DECREF(odc); | |
26c4d26f | 3150 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3151 | Py_DECREF(orect); |
3152 | Py_DECREF(otext); | |
3153 | } | |
3154 | wxPyEndBlockThreads(blocked); | |
3155 | if (!found) | |
26c4d26f | 3156 | wxAuiDefaultTabArt::DrawTab(dc, wnd, in_rect, caption, active, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3157 | } |
3158 | ||
3159 | ||
8f514ab4 | 3160 | virtual void DrawButton( wxDC* dc, |
26c4d26f | 3161 | wxWindow* wnd, |
8f514ab4 RD |
3162 | const wxRect& in_rect, |
3163 | int bitmap_id, | |
3164 | int button_state, | |
3165 | int orientation, | |
3166 | const wxBitmap& bitmap_override, | |
3167 | wxRect* out_rect) | |
3168 | { | |
3169 | bool found; | |
3170 | const char* errmsg = "DrawButton should return a wxRect"; | |
3171 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3172 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
3173 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
26c4d26f | 3174 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 RD |
3175 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
3176 | PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0); | |
3177 | PyObject* ro; | |
26c4d26f | 3178 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
8f514ab4 RD |
3179 | bitmap_id, button_state, orientation, |
3180 | obmp)); | |
3181 | if (ro) { | |
3182 | if (!wxRect_helper(ro, &out_rect)) | |
3183 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3184 | Py_DECREF(ro); | |
3185 | } | |
3186 | ||
3187 | Py_DECREF(odc); | |
26c4d26f | 3188 | Py_DECREF(ownd); |
8f514ab4 RD |
3189 | Py_DECREF(orect); |
3190 | Py_DECREF(obmp); | |
3191 | } | |
3192 | wxPyEndBlockThreads(blocked); | |
3193 | if (!found) | |
26c4d26f | 3194 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect); |
8f514ab4 RD |
3195 | } |
3196 | ||
26c4d26f RD |
3197 | |
3198 | // TODO | |
3199 | // virtual int ShowWindowList( | |
3200 | // wxWindow* wnd, | |
3201 | // const wxArrayString& items, | |
3202 | // int active_idx); | |
8f514ab4 RD |
3203 | |
3204 | virtual wxSize GetTabSize( wxDC* dc, | |
26c4d26f | 3205 | wxWindow* wnd, |
8f514ab4 RD |
3206 | const wxString& caption, |
3207 | bool active, | |
36cb9ebe | 3208 | int close_button_state, |
8f514ab4 RD |
3209 | int* x_extent) |
3210 | { | |
3211 | bool found; | |
3212 | wxSize rv, *prv = &rv; | |
3213 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3214 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3215 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
3216 | PyObject* odc = wxPyMake_wxObject(dc, false); | |
26c4d26f | 3217 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 RD |
3218 | PyObject* otext = wx2PyString(caption); |
3219 | PyObject* ro; | |
5eb8189c | 3220 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
26c4d26f | 3221 | "(OOOi)", odc, ownd, otext, (int)active, close_button_state)); |
8f514ab4 RD |
3222 | if (ro) { |
3223 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3224 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3225 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3226 | if (!wxSize_helper(o1, &prv)) | |
3227 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3228 | else if (!PyInt_Check(o2)) | |
3229 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3230 | else | |
3231 | *x_extent = PyInt_AsLong(o2); | |
3232 | ||
3233 | Py_DECREF(o1); | |
3234 | Py_DECREF(o2); | |
3235 | } | |
3236 | else { | |
3237 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3238 | } | |
3239 | Py_DECREF(ro); | |
3240 | } | |
3241 | ||
3242 | Py_DECREF(odc); | |
26c4d26f | 3243 | Py_DECREF(ownd); |
8f514ab4 RD |
3244 | Py_DECREF(otext); |
3245 | } | |
3246 | wxPyEndBlockThreads(blocked); | |
3247 | if (!found) | |
26c4d26f | 3248 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, active, close_button_state, x_extent); |
8f514ab4 RD |
3249 | return rv; |
3250 | } | |
26c4d26f RD |
3251 | |
3252 | // TODO | |
3253 | // virtual int GetBestTabCtrlSize(wxWindow* wnd); | |
3254 | ||
8f514ab4 | 3255 | |
5c8c7dd3 RD |
3256 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3257 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3258 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
8f514ab4 | 3259 | DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3260 | |
3261 | PYPRIVATE; | |
3262 | }; | |
3263 | ||
3264 | ||
5eb8189c RD |
3265 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3266 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3267 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
3268 | IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); | |
5c8c7dd3 | 3269 | |
27e45892 RD |
3270 | #ifdef __cplusplus |
3271 | extern "C" { | |
3272 | #endif | |
5eb8189c | 3273 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3274 | { |
3275 | void *argp = 0; | |
5eb8189c | 3276 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3277 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3278 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3279 | } |
3280 | if (!argp) { | |
5eb8189c | 3281 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3282 | } else { |
5eb8189c RD |
3283 | wxAuiDockInfo * temp; |
3284 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3285 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3286 | if (SWIG_IsNewObj(res)) delete temp; |
3287 | } | |
3288 | } | |
3289 | return 0; | |
3290 | fail: | |
3291 | return 1; | |
3292 | } | |
3293 | ||
3294 | ||
5eb8189c | 3295 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3296 | PyObject *pyobj = 0; |
3297 | ||
5eb8189c | 3298 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3299 | return pyobj; |
3300 | } | |
3301 | ||
3302 | ||
5eb8189c | 3303 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3304 | { |
3305 | void *argp = 0; | |
5eb8189c | 3306 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3307 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3308 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3309 | } |
3310 | if (!argp) { | |
5eb8189c | 3311 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3312 | } else { |
5eb8189c RD |
3313 | wxAuiPaneInfo * temp; |
3314 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3315 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3316 | if (SWIG_IsNewObj(res)) delete temp; |
3317 | } | |
3318 | } | |
3319 | return 0; | |
3320 | fail: | |
3321 | return 1; | |
3322 | } | |
3323 | ||
3324 | ||
5eb8189c | 3325 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3326 | PyObject *pyobj = 0; |
3327 | ||
5eb8189c | 3328 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3329 | return pyobj; |
3330 | } | |
3331 | ||
3332 | ||
5eb8189c | 3333 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3334 | PyObject *resultobj = 0; |
5eb8189c | 3335 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3336 | |
5eb8189c | 3337 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3338 | { |
3339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3340 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3341 | wxPyEndAllowThreads(__tstate); |
3342 | if (PyErr_Occurred()) SWIG_fail; | |
3343 | } | |
5eb8189c | 3344 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3345 | return resultobj; |
3346 | fail: | |
3347 | return NULL; | |
3348 | } | |
3349 | ||
3350 | ||
5eb8189c | 3351 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3352 | PyObject *resultobj = 0; |
5eb8189c | 3353 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3354 | void *argp1 = 0 ; |
3355 | int res1 = 0 ; | |
3356 | PyObject *swig_obj[1] ; | |
3357 | ||
3358 | if (!args) SWIG_fail; | |
3359 | swig_obj[0] = args; | |
5eb8189c | 3360 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3361 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3362 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3363 | } |
5eb8189c | 3364 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3365 | { |
3366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3367 | delete arg1; | |
3368 | ||
3369 | wxPyEndAllowThreads(__tstate); | |
3370 | if (PyErr_Occurred()) SWIG_fail; | |
3371 | } | |
3372 | resultobj = SWIG_Py_Void(); | |
3373 | return resultobj; | |
3374 | fail: | |
3375 | return NULL; | |
3376 | } | |
3377 | ||
3378 | ||
5eb8189c | 3379 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 3380 | PyObject *resultobj = 0; |
5eb8189c RD |
3381 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3382 | wxAuiPaneInfo arg2 ; | |
0f83f5da RD |
3383 | void *argp1 = 0 ; |
3384 | int res1 = 0 ; | |
3385 | void *argp2 ; | |
3386 | int res2 = 0 ; | |
3387 | PyObject * obj0 = 0 ; | |
3388 | PyObject * obj1 = 0 ; | |
3389 | char * kwnames[] = { | |
3390 | (char *) "self",(char *) "source", NULL | |
3391 | }; | |
3392 | ||
5eb8189c RD |
3393 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3394 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
0f83f5da | 3395 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
0f83f5da | 3397 | } |
5eb8189c | 3398 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
0f83f5da | 3399 | { |
5eb8189c | 3400 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
0f83f5da | 3401 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3402 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da RD |
3403 | } |
3404 | if (!argp2) { | |
5eb8189c | 3405 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da | 3406 | } else { |
5eb8189c | 3407 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
3408 | arg2 = *temp; |
3409 | if (SWIG_IsNewObj(res2)) delete temp; | |
3410 | } | |
3411 | } | |
3412 | { | |
3413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3414 | (arg1)->SafeSet(arg2); | |
3415 | wxPyEndAllowThreads(__tstate); | |
3416 | if (PyErr_Occurred()) SWIG_fail; | |
3417 | } | |
3418 | resultobj = SWIG_Py_Void(); | |
3419 | return resultobj; | |
3420 | fail: | |
3421 | return NULL; | |
3422 | } | |
3423 | ||
3424 | ||
5eb8189c | 3425 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3426 | PyObject *resultobj = 0; |
5eb8189c | 3427 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3428 | bool result; |
3429 | void *argp1 = 0 ; | |
3430 | int res1 = 0 ; | |
3431 | PyObject *swig_obj[1] ; | |
3432 | ||
3433 | if (!args) SWIG_fail; | |
3434 | swig_obj[0] = args; | |
5eb8189c | 3435 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3436 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3437 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3438 | } |
5eb8189c | 3439 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3440 | { |
3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3442 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3443 | wxPyEndAllowThreads(__tstate); |
3444 | if (PyErr_Occurred()) SWIG_fail; | |
3445 | } | |
3446 | { | |
3447 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3448 | } | |
3449 | return resultobj; | |
3450 | fail: | |
3451 | return NULL; | |
3452 | } | |
3453 | ||
3454 | ||
5eb8189c | 3455 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3456 | PyObject *resultobj = 0; |
5eb8189c | 3457 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3458 | bool result; |
3459 | void *argp1 = 0 ; | |
3460 | int res1 = 0 ; | |
3461 | PyObject *swig_obj[1] ; | |
3462 | ||
3463 | if (!args) SWIG_fail; | |
3464 | swig_obj[0] = args; | |
5eb8189c | 3465 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3466 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3467 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3468 | } |
5eb8189c | 3469 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3470 | { |
3471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3472 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3473 | wxPyEndAllowThreads(__tstate); |
3474 | if (PyErr_Occurred()) SWIG_fail; | |
3475 | } | |
3476 | { | |
3477 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3478 | } | |
3479 | return resultobj; | |
3480 | fail: | |
3481 | return NULL; | |
3482 | } | |
3483 | ||
3484 | ||
5eb8189c | 3485 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3486 | PyObject *resultobj = 0; |
5eb8189c | 3487 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3488 | bool result; |
3489 | void *argp1 = 0 ; | |
3490 | int res1 = 0 ; | |
3491 | PyObject *swig_obj[1] ; | |
3492 | ||
3493 | if (!args) SWIG_fail; | |
3494 | swig_obj[0] = args; | |
5eb8189c | 3495 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3496 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3498 | } |
5eb8189c | 3499 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3500 | { |
3501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3502 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3503 | wxPyEndAllowThreads(__tstate); |
3504 | if (PyErr_Occurred()) SWIG_fail; | |
3505 | } | |
3506 | { | |
3507 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3508 | } | |
3509 | return resultobj; | |
3510 | fail: | |
3511 | return NULL; | |
3512 | } | |
3513 | ||
3514 | ||
5eb8189c | 3515 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3516 | PyObject *resultobj = 0; |
5eb8189c | 3517 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3518 | bool result; |
3519 | void *argp1 = 0 ; | |
3520 | int res1 = 0 ; | |
3521 | PyObject *swig_obj[1] ; | |
3522 | ||
3523 | if (!args) SWIG_fail; | |
3524 | swig_obj[0] = args; | |
5eb8189c | 3525 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3526 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3528 | } |
5eb8189c | 3529 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3530 | { |
3531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3532 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3533 | wxPyEndAllowThreads(__tstate); |
3534 | if (PyErr_Occurred()) SWIG_fail; | |
3535 | } | |
3536 | { | |
3537 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3538 | } | |
3539 | return resultobj; | |
3540 | fail: | |
3541 | return NULL; | |
3542 | } | |
3543 | ||
3544 | ||
5eb8189c | 3545 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3546 | PyObject *resultobj = 0; |
5eb8189c | 3547 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3548 | bool result; |
3549 | void *argp1 = 0 ; | |
3550 | int res1 = 0 ; | |
3551 | PyObject *swig_obj[1] ; | |
3552 | ||
3553 | if (!args) SWIG_fail; | |
3554 | swig_obj[0] = args; | |
5eb8189c | 3555 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3556 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3557 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3558 | } |
5eb8189c | 3559 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3560 | { |
3561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3562 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3563 | wxPyEndAllowThreads(__tstate); |
3564 | if (PyErr_Occurred()) SWIG_fail; | |
3565 | } | |
3566 | { | |
3567 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3568 | } | |
3569 | return resultobj; | |
3570 | fail: | |
3571 | return NULL; | |
3572 | } | |
3573 | ||
3574 | ||
5eb8189c | 3575 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3576 | PyObject *resultobj = 0; |
5eb8189c | 3577 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3578 | bool result; |
3579 | void *argp1 = 0 ; | |
3580 | int res1 = 0 ; | |
3581 | PyObject *swig_obj[1] ; | |
3582 | ||
3583 | if (!args) SWIG_fail; | |
3584 | swig_obj[0] = args; | |
5eb8189c | 3585 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3586 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3588 | } |
5eb8189c | 3589 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3590 | { |
3591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3592 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3593 | wxPyEndAllowThreads(__tstate); |
3594 | if (PyErr_Occurred()) SWIG_fail; | |
3595 | } | |
3596 | { | |
3597 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3598 | } | |
3599 | return resultobj; | |
3600 | fail: | |
3601 | return NULL; | |
3602 | } | |
3603 | ||
3604 | ||
5eb8189c | 3605 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3606 | PyObject *resultobj = 0; |
5eb8189c | 3607 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3608 | bool result; |
3609 | void *argp1 = 0 ; | |
3610 | int res1 = 0 ; | |
3611 | PyObject *swig_obj[1] ; | |
3612 | ||
3613 | if (!args) SWIG_fail; | |
3614 | swig_obj[0] = args; | |
5eb8189c | 3615 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3616 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3618 | } |
5eb8189c | 3619 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3620 | { |
3621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3622 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3623 | wxPyEndAllowThreads(__tstate); |
3624 | if (PyErr_Occurred()) SWIG_fail; | |
3625 | } | |
3626 | { | |
3627 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3628 | } | |
3629 | return resultobj; | |
3630 | fail: | |
3631 | return NULL; | |
3632 | } | |
3633 | ||
3634 | ||
5eb8189c | 3635 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3636 | PyObject *resultobj = 0; |
5eb8189c | 3637 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3638 | bool result; |
3639 | void *argp1 = 0 ; | |
3640 | int res1 = 0 ; | |
3641 | PyObject *swig_obj[1] ; | |
3642 | ||
3643 | if (!args) SWIG_fail; | |
3644 | swig_obj[0] = args; | |
5eb8189c | 3645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3646 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3648 | } |
5eb8189c | 3649 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3650 | { |
3651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3652 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3653 | wxPyEndAllowThreads(__tstate); |
3654 | if (PyErr_Occurred()) SWIG_fail; | |
3655 | } | |
3656 | { | |
3657 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3658 | } | |
3659 | return resultobj; | |
3660 | fail: | |
3661 | return NULL; | |
3662 | } | |
3663 | ||
3664 | ||
5eb8189c | 3665 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3666 | PyObject *resultobj = 0; |
5eb8189c | 3667 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3668 | bool result; |
3669 | void *argp1 = 0 ; | |
3670 | int res1 = 0 ; | |
3671 | PyObject *swig_obj[1] ; | |
3672 | ||
3673 | if (!args) SWIG_fail; | |
3674 | swig_obj[0] = args; | |
5eb8189c | 3675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3676 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3678 | } |
5eb8189c | 3679 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3680 | { |
3681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3682 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3683 | wxPyEndAllowThreads(__tstate); |
3684 | if (PyErr_Occurred()) SWIG_fail; | |
3685 | } | |
3686 | { | |
3687 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3688 | } | |
3689 | return resultobj; | |
3690 | fail: | |
3691 | return NULL; | |
3692 | } | |
3693 | ||
3694 | ||
5eb8189c | 3695 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3696 | PyObject *resultobj = 0; |
5eb8189c | 3697 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3698 | bool result; |
3699 | void *argp1 = 0 ; | |
3700 | int res1 = 0 ; | |
3701 | PyObject *swig_obj[1] ; | |
3702 | ||
3703 | if (!args) SWIG_fail; | |
3704 | swig_obj[0] = args; | |
5eb8189c | 3705 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3706 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3708 | } |
5eb8189c | 3709 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3710 | { |
3711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3712 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3713 | wxPyEndAllowThreads(__tstate); |
3714 | if (PyErr_Occurred()) SWIG_fail; | |
3715 | } | |
3716 | { | |
3717 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3718 | } | |
3719 | return resultobj; | |
3720 | fail: | |
3721 | return NULL; | |
3722 | } | |
3723 | ||
3724 | ||
5eb8189c | 3725 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3726 | PyObject *resultobj = 0; |
5eb8189c | 3727 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3728 | bool result; |
3729 | void *argp1 = 0 ; | |
3730 | int res1 = 0 ; | |
3731 | PyObject *swig_obj[1] ; | |
3732 | ||
3733 | if (!args) SWIG_fail; | |
3734 | swig_obj[0] = args; | |
5eb8189c | 3735 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3736 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3737 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3738 | } |
5eb8189c | 3739 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3740 | { |
3741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3742 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3743 | wxPyEndAllowThreads(__tstate); |
3744 | if (PyErr_Occurred()) SWIG_fail; | |
3745 | } | |
3746 | { | |
3747 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3748 | } | |
3749 | return resultobj; | |
3750 | fail: | |
3751 | return NULL; | |
3752 | } | |
3753 | ||
3754 | ||
5eb8189c | 3755 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3756 | PyObject *resultobj = 0; |
5eb8189c | 3757 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3758 | bool result; |
3759 | void *argp1 = 0 ; | |
3760 | int res1 = 0 ; | |
3761 | PyObject *swig_obj[1] ; | |
3762 | ||
3763 | if (!args) SWIG_fail; | |
3764 | swig_obj[0] = args; | |
5eb8189c | 3765 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3766 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3768 | } |
5eb8189c | 3769 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3770 | { |
3771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3772 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3773 | wxPyEndAllowThreads(__tstate); |
3774 | if (PyErr_Occurred()) SWIG_fail; | |
3775 | } | |
3776 | { | |
3777 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3778 | } | |
3779 | return resultobj; | |
3780 | fail: | |
3781 | return NULL; | |
3782 | } | |
3783 | ||
3784 | ||
5eb8189c | 3785 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3786 | PyObject *resultobj = 0; |
5eb8189c | 3787 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3788 | bool result; |
3789 | void *argp1 = 0 ; | |
3790 | int res1 = 0 ; | |
3791 | PyObject *swig_obj[1] ; | |
3792 | ||
3793 | if (!args) SWIG_fail; | |
3794 | swig_obj[0] = args; | |
5eb8189c | 3795 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3796 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3798 | } |
5eb8189c | 3799 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3800 | { |
3801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3802 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3803 | wxPyEndAllowThreads(__tstate); |
3804 | if (PyErr_Occurred()) SWIG_fail; | |
3805 | } | |
3806 | { | |
3807 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3808 | } | |
3809 | return resultobj; | |
3810 | fail: | |
3811 | return NULL; | |
3812 | } | |
3813 | ||
3814 | ||
5eb8189c | 3815 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3816 | PyObject *resultobj = 0; |
5eb8189c | 3817 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3818 | bool result; |
3819 | void *argp1 = 0 ; | |
3820 | int res1 = 0 ; | |
3821 | PyObject *swig_obj[1] ; | |
3822 | ||
3823 | if (!args) SWIG_fail; | |
3824 | swig_obj[0] = args; | |
5eb8189c | 3825 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3826 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3828 | } |
5eb8189c | 3829 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3830 | { |
3831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3832 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3833 | wxPyEndAllowThreads(__tstate); |
3834 | if (PyErr_Occurred()) SWIG_fail; | |
3835 | } | |
3836 | { | |
3837 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3838 | } | |
3839 | return resultobj; | |
3840 | fail: | |
3841 | return NULL; | |
3842 | } | |
3843 | ||
3844 | ||
5eb8189c | 3845 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3846 | PyObject *resultobj = 0; |
5eb8189c | 3847 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3848 | bool result; |
3849 | void *argp1 = 0 ; | |
3850 | int res1 = 0 ; | |
3851 | PyObject *swig_obj[1] ; | |
3852 | ||
3853 | if (!args) SWIG_fail; | |
3854 | swig_obj[0] = args; | |
5eb8189c | 3855 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3856 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3858 | } |
5eb8189c | 3859 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3860 | { |
3861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3862 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3863 | wxPyEndAllowThreads(__tstate); |
3864 | if (PyErr_Occurred()) SWIG_fail; | |
3865 | } | |
3866 | { | |
3867 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3868 | } | |
3869 | return resultobj; | |
3870 | fail: | |
3871 | return NULL; | |
3872 | } | |
3873 | ||
3874 | ||
5eb8189c | 3875 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3876 | PyObject *resultobj = 0; |
5eb8189c | 3877 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3878 | bool result; |
3879 | void *argp1 = 0 ; | |
3880 | int res1 = 0 ; | |
3881 | PyObject *swig_obj[1] ; | |
3882 | ||
3883 | if (!args) SWIG_fail; | |
3884 | swig_obj[0] = args; | |
5eb8189c | 3885 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3886 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3888 | } |
5eb8189c | 3889 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3890 | { |
3891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3892 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3893 | wxPyEndAllowThreads(__tstate); |
3894 | if (PyErr_Occurred()) SWIG_fail; | |
3895 | } | |
3896 | { | |
3897 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3898 | } | |
3899 | return resultobj; | |
3900 | fail: | |
3901 | return NULL; | |
3902 | } | |
3903 | ||
3904 | ||
5eb8189c | 3905 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3906 | PyObject *resultobj = 0; |
5eb8189c | 3907 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3908 | bool result; |
3909 | void *argp1 = 0 ; | |
3910 | int res1 = 0 ; | |
3911 | PyObject *swig_obj[1] ; | |
3912 | ||
3913 | if (!args) SWIG_fail; | |
3914 | swig_obj[0] = args; | |
5eb8189c | 3915 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3916 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3917 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3918 | } |
5eb8189c | 3919 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3920 | { |
3921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3922 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3923 | wxPyEndAllowThreads(__tstate); |
3924 | if (PyErr_Occurred()) SWIG_fail; | |
3925 | } | |
3926 | { | |
3927 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3928 | } | |
3929 | return resultobj; | |
3930 | fail: | |
3931 | return NULL; | |
3932 | } | |
3933 | ||
3934 | ||
5eb8189c | 3935 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3936 | PyObject *resultobj = 0; |
5eb8189c | 3937 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3938 | bool result; |
3939 | void *argp1 = 0 ; | |
3940 | int res1 = 0 ; | |
3941 | PyObject *swig_obj[1] ; | |
3942 | ||
3943 | if (!args) SWIG_fail; | |
3944 | swig_obj[0] = args; | |
5eb8189c | 3945 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3946 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3948 | } |
5eb8189c | 3949 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3950 | { |
3951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3952 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3953 | wxPyEndAllowThreads(__tstate); |
3954 | if (PyErr_Occurred()) SWIG_fail; | |
3955 | } | |
3956 | { | |
3957 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3958 | } | |
3959 | return resultobj; | |
3960 | fail: | |
3961 | return NULL; | |
3962 | } | |
3963 | ||
3964 | ||
5eb8189c | 3965 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3966 | PyObject *resultobj = 0; |
5eb8189c | 3967 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3968 | bool result; |
3969 | void *argp1 = 0 ; | |
3970 | int res1 = 0 ; | |
3971 | PyObject *swig_obj[1] ; | |
3972 | ||
3973 | if (!args) SWIG_fail; | |
3974 | swig_obj[0] = args; | |
5eb8189c | 3975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3976 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3978 | } |
5eb8189c | 3979 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3980 | { |
3981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3982 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
3983 | wxPyEndAllowThreads(__tstate); |
3984 | if (PyErr_Occurred()) SWIG_fail; | |
3985 | } | |
3986 | { | |
3987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3988 | } | |
3989 | return resultobj; | |
3990 | fail: | |
3991 | return NULL; | |
3992 | } | |
3993 | ||
3994 | ||
5eb8189c | 3995 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3996 | PyObject *resultobj = 0; |
5eb8189c | 3997 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3998 | bool result; |
3999 | void *argp1 = 0 ; | |
4000 | int res1 = 0 ; | |
4001 | PyObject *swig_obj[1] ; | |
4002 | ||
4003 | if (!args) SWIG_fail; | |
4004 | swig_obj[0] = args; | |
5eb8189c | 4005 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4006 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4007 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4008 | } |
5eb8189c | 4009 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4010 | { |
4011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4012 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4013 | wxPyEndAllowThreads(__tstate); |
4014 | if (PyErr_Occurred()) SWIG_fail; | |
4015 | } | |
4016 | { | |
4017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4018 | } | |
4019 | return resultobj; | |
4020 | fail: | |
4021 | return NULL; | |
4022 | } | |
4023 | ||
4024 | ||
5eb8189c | 4025 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4026 | PyObject *resultobj = 0; |
5eb8189c | 4027 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4028 | bool result; |
4029 | void *argp1 = 0 ; | |
4030 | int res1 = 0 ; | |
4031 | PyObject *swig_obj[1] ; | |
4032 | ||
4033 | if (!args) SWIG_fail; | |
4034 | swig_obj[0] = args; | |
5eb8189c | 4035 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4036 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4038 | } |
5eb8189c | 4039 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4040 | { |
4041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4042 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4043 | wxPyEndAllowThreads(__tstate); |
4044 | if (PyErr_Occurred()) SWIG_fail; | |
4045 | } | |
4046 | { | |
4047 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4048 | } | |
4049 | return resultobj; | |
4050 | fail: | |
4051 | return NULL; | |
4052 | } | |
4053 | ||
4054 | ||
5eb8189c | 4055 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4056 | PyObject *resultobj = 0; |
5eb8189c | 4057 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4058 | bool result; |
4059 | void *argp1 = 0 ; | |
4060 | int res1 = 0 ; | |
4061 | PyObject *swig_obj[1] ; | |
4062 | ||
4063 | if (!args) SWIG_fail; | |
4064 | swig_obj[0] = args; | |
5eb8189c | 4065 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4066 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4067 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4068 | } |
5eb8189c | 4069 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4070 | { |
4071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4072 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4073 | wxPyEndAllowThreads(__tstate); |
4074 | if (PyErr_Occurred()) SWIG_fail; | |
4075 | } | |
4076 | { | |
4077 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4078 | } | |
4079 | return resultobj; | |
4080 | fail: | |
4081 | return NULL; | |
4082 | } | |
4083 | ||
4084 | ||
5eb8189c | 4085 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4086 | PyObject *resultobj = 0; |
5eb8189c RD |
4087 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4088 | bool result; | |
4089 | void *argp1 = 0 ; | |
4090 | int res1 = 0 ; | |
4091 | PyObject *swig_obj[1] ; | |
4092 | ||
4093 | if (!args) SWIG_fail; | |
4094 | swig_obj[0] = args; | |
4095 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4096 | if (!SWIG_IsOK(res1)) { | |
4097 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4098 | } | |
4099 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4100 | { | |
4101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4102 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4103 | wxPyEndAllowThreads(__tstate); | |
4104 | if (PyErr_Occurred()) SWIG_fail; | |
4105 | } | |
4106 | { | |
4107 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4108 | } | |
4109 | return resultobj; | |
4110 | fail: | |
4111 | return NULL; | |
4112 | } | |
4113 | ||
4114 | ||
4115 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4116 | PyObject *resultobj = 0; | |
4117 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4118 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4119 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4120 | void *argp1 = 0 ; |
4121 | int res1 = 0 ; | |
4122 | void *argp2 = 0 ; | |
4123 | int res2 = 0 ; | |
4124 | PyObject * obj0 = 0 ; | |
4125 | PyObject * obj1 = 0 ; | |
4126 | char * kwnames[] = { | |
4127 | (char *) "self",(char *) "w", NULL | |
4128 | }; | |
4129 | ||
5eb8189c RD |
4130 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4131 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4132 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4133 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4134 | } |
5eb8189c | 4135 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4136 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4137 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4138 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4139 | } |
4140 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4141 | { | |
4142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4143 | { | |
5eb8189c RD |
4144 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4145 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4146 | } |
4147 | wxPyEndAllowThreads(__tstate); | |
4148 | if (PyErr_Occurred()) SWIG_fail; | |
4149 | } | |
4150 | { | |
4151 | resultobj = obj0; Py_INCREF(resultobj); | |
4152 | } | |
4153 | return resultobj; | |
4154 | fail: | |
4155 | return NULL; | |
4156 | } | |
4157 | ||
4158 | ||
5eb8189c | 4159 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4160 | PyObject *resultobj = 0; |
5eb8189c | 4161 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4162 | wxString *arg2 = 0 ; |
5eb8189c | 4163 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4164 | void *argp1 = 0 ; |
4165 | int res1 = 0 ; | |
4166 | bool temp2 = false ; | |
4167 | PyObject * obj0 = 0 ; | |
4168 | PyObject * obj1 = 0 ; | |
4169 | char * kwnames[] = { | |
4170 | (char *) "self",(char *) "n", NULL | |
4171 | }; | |
4172 | ||
5eb8189c RD |
4173 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4174 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4175 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4177 | } |
5eb8189c | 4178 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4179 | { |
4180 | arg2 = wxString_in_helper(obj1); | |
4181 | if (arg2 == NULL) SWIG_fail; | |
4182 | temp2 = true; | |
4183 | } | |
4184 | { | |
4185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4186 | { | |
5eb8189c RD |
4187 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4188 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4189 | } |
4190 | wxPyEndAllowThreads(__tstate); | |
4191 | if (PyErr_Occurred()) SWIG_fail; | |
4192 | } | |
4193 | { | |
4194 | resultobj = obj0; Py_INCREF(resultobj); | |
4195 | } | |
4196 | { | |
4197 | if (temp2) | |
4198 | delete arg2; | |
4199 | } | |
4200 | return resultobj; | |
4201 | fail: | |
4202 | { | |
4203 | if (temp2) | |
4204 | delete arg2; | |
4205 | } | |
4206 | return NULL; | |
4207 | } | |
4208 | ||
4209 | ||
5eb8189c | 4210 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4211 | PyObject *resultobj = 0; |
5eb8189c | 4212 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4213 | wxString *arg2 = 0 ; |
5eb8189c | 4214 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4215 | void *argp1 = 0 ; |
4216 | int res1 = 0 ; | |
4217 | bool temp2 = false ; | |
4218 | PyObject * obj0 = 0 ; | |
4219 | PyObject * obj1 = 0 ; | |
4220 | char * kwnames[] = { | |
4221 | (char *) "self",(char *) "c", NULL | |
4222 | }; | |
4223 | ||
5eb8189c RD |
4224 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4225 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4226 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4228 | } |
5eb8189c | 4229 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4230 | { |
4231 | arg2 = wxString_in_helper(obj1); | |
4232 | if (arg2 == NULL) SWIG_fail; | |
4233 | temp2 = true; | |
4234 | } | |
4235 | { | |
4236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4237 | { | |
5eb8189c RD |
4238 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4239 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4240 | } |
4241 | wxPyEndAllowThreads(__tstate); | |
4242 | if (PyErr_Occurred()) SWIG_fail; | |
4243 | } | |
4244 | { | |
4245 | resultobj = obj0; Py_INCREF(resultobj); | |
4246 | } | |
4247 | { | |
4248 | if (temp2) | |
4249 | delete arg2; | |
4250 | } | |
4251 | return resultobj; | |
4252 | fail: | |
4253 | { | |
4254 | if (temp2) | |
4255 | delete arg2; | |
4256 | } | |
4257 | return NULL; | |
4258 | } | |
4259 | ||
4260 | ||
5eb8189c | 4261 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4262 | PyObject *resultobj = 0; |
5eb8189c RD |
4263 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4264 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4265 | void *argp1 = 0 ; |
4266 | int res1 = 0 ; | |
4267 | PyObject *swig_obj[1] ; | |
4268 | ||
4269 | if (!args) SWIG_fail; | |
4270 | swig_obj[0] = args; | |
5eb8189c | 4271 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4272 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4274 | } |
5eb8189c | 4275 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4276 | { |
4277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4278 | { | |
5eb8189c RD |
4279 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4280 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4281 | } |
4282 | wxPyEndAllowThreads(__tstate); | |
4283 | if (PyErr_Occurred()) SWIG_fail; | |
4284 | } | |
4285 | { | |
4286 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4287 | } | |
4288 | return resultobj; | |
4289 | fail: | |
4290 | return NULL; | |
4291 | } | |
4292 | ||
4293 | ||
5eb8189c | 4294 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4295 | PyObject *resultobj = 0; |
5eb8189c RD |
4296 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4297 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4298 | void *argp1 = 0 ; |
4299 | int res1 = 0 ; | |
4300 | PyObject *swig_obj[1] ; | |
4301 | ||
4302 | if (!args) SWIG_fail; | |
4303 | swig_obj[0] = args; | |
5eb8189c | 4304 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4305 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4307 | } |
5eb8189c | 4308 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4309 | { |
4310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4311 | { | |
5eb8189c RD |
4312 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4313 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4314 | } |
4315 | wxPyEndAllowThreads(__tstate); | |
4316 | if (PyErr_Occurred()) SWIG_fail; | |
4317 | } | |
4318 | { | |
4319 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4320 | } | |
4321 | return resultobj; | |
4322 | fail: | |
4323 | return NULL; | |
4324 | } | |
4325 | ||
4326 | ||
5eb8189c | 4327 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4328 | PyObject *resultobj = 0; |
5eb8189c RD |
4329 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4330 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4331 | void *argp1 = 0 ; |
4332 | int res1 = 0 ; | |
4333 | PyObject *swig_obj[1] ; | |
4334 | ||
4335 | if (!args) SWIG_fail; | |
4336 | swig_obj[0] = args; | |
5eb8189c | 4337 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4338 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4340 | } |
5eb8189c | 4341 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4342 | { |
4343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4344 | { | |
5eb8189c RD |
4345 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4346 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4347 | } |
4348 | wxPyEndAllowThreads(__tstate); | |
4349 | if (PyErr_Occurred()) SWIG_fail; | |
4350 | } | |
4351 | { | |
4352 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4353 | } | |
4354 | return resultobj; | |
4355 | fail: | |
4356 | return NULL; | |
4357 | } | |
4358 | ||
4359 | ||
5eb8189c | 4360 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4361 | PyObject *resultobj = 0; |
5eb8189c RD |
4362 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4363 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4364 | void *argp1 = 0 ; |
4365 | int res1 = 0 ; | |
4366 | PyObject *swig_obj[1] ; | |
4367 | ||
4368 | if (!args) SWIG_fail; | |
4369 | swig_obj[0] = args; | |
5eb8189c | 4370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4371 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4373 | } |
5eb8189c | 4374 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4375 | { |
4376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4377 | { | |
5eb8189c RD |
4378 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4379 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4380 | } |
4381 | wxPyEndAllowThreads(__tstate); | |
4382 | if (PyErr_Occurred()) SWIG_fail; | |
4383 | } | |
4384 | { | |
4385 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4386 | } | |
4387 | return resultobj; | |
4388 | fail: | |
4389 | return NULL; | |
4390 | } | |
4391 | ||
4392 | ||
5eb8189c | 4393 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4394 | PyObject *resultobj = 0; |
5eb8189c RD |
4395 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4396 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4397 | void *argp1 = 0 ; |
4398 | int res1 = 0 ; | |
4399 | PyObject *swig_obj[1] ; | |
4400 | ||
4401 | if (!args) SWIG_fail; | |
4402 | swig_obj[0] = args; | |
5eb8189c | 4403 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4404 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4405 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4406 | } |
5eb8189c | 4407 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4408 | { |
4409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4410 | { | |
5eb8189c RD |
4411 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4412 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4413 | } |
4414 | wxPyEndAllowThreads(__tstate); | |
4415 | if (PyErr_Occurred()) SWIG_fail; | |
4416 | } | |
4417 | { | |
4418 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4419 | } | |
4420 | return resultobj; | |
4421 | fail: | |
4422 | return NULL; | |
4423 | } | |
4424 | ||
4425 | ||
5eb8189c | 4426 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4427 | PyObject *resultobj = 0; |
5eb8189c RD |
4428 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4429 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4430 | void *argp1 = 0 ; |
4431 | int res1 = 0 ; | |
4432 | PyObject *swig_obj[1] ; | |
4433 | ||
4434 | if (!args) SWIG_fail; | |
4435 | swig_obj[0] = args; | |
5eb8189c | 4436 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4437 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4438 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4439 | } |
5eb8189c | 4440 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4441 | { |
4442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4443 | { | |
5eb8189c RD |
4444 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4445 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4446 | } |
4447 | wxPyEndAllowThreads(__tstate); | |
4448 | if (PyErr_Occurred()) SWIG_fail; | |
4449 | } | |
4450 | { | |
4451 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4452 | } | |
4453 | return resultobj; | |
4454 | fail: | |
4455 | return NULL; | |
4456 | } | |
4457 | ||
4458 | ||
5eb8189c | 4459 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4460 | PyObject *resultobj = 0; |
5eb8189c | 4461 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4462 | int arg2 ; |
5eb8189c | 4463 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4464 | void *argp1 = 0 ; |
4465 | int res1 = 0 ; | |
4466 | int val2 ; | |
4467 | int ecode2 = 0 ; | |
4468 | PyObject * obj0 = 0 ; | |
4469 | PyObject * obj1 = 0 ; | |
4470 | char * kwnames[] = { | |
4471 | (char *) "self",(char *) "direction", NULL | |
4472 | }; | |
4473 | ||
5eb8189c RD |
4474 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4475 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4476 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4477 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4478 | } |
5eb8189c | 4479 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4480 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4481 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4482 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4483 | } |
4484 | arg2 = static_cast< int >(val2); | |
4485 | { | |
4486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4487 | { | |
5eb8189c RD |
4488 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4489 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4490 | } |
4491 | wxPyEndAllowThreads(__tstate); | |
4492 | if (PyErr_Occurred()) SWIG_fail; | |
4493 | } | |
4494 | { | |
4495 | resultobj = obj0; Py_INCREF(resultobj); | |
4496 | } | |
4497 | return resultobj; | |
4498 | fail: | |
4499 | return NULL; | |
4500 | } | |
4501 | ||
4502 | ||
5eb8189c | 4503 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4504 | PyObject *resultobj = 0; |
5eb8189c | 4505 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4506 | int arg2 ; |
5eb8189c | 4507 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4508 | void *argp1 = 0 ; |
4509 | int res1 = 0 ; | |
4510 | int val2 ; | |
4511 | int ecode2 = 0 ; | |
4512 | PyObject * obj0 = 0 ; | |
4513 | PyObject * obj1 = 0 ; | |
4514 | char * kwnames[] = { | |
4515 | (char *) "self",(char *) "layer", NULL | |
4516 | }; | |
4517 | ||
5eb8189c RD |
4518 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4519 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4520 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4521 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4522 | } |
5eb8189c | 4523 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4524 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4525 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4526 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4527 | } |
4528 | arg2 = static_cast< int >(val2); | |
4529 | { | |
4530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4531 | { | |
5eb8189c RD |
4532 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4533 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4534 | } |
4535 | wxPyEndAllowThreads(__tstate); | |
4536 | if (PyErr_Occurred()) SWIG_fail; | |
4537 | } | |
4538 | { | |
4539 | resultobj = obj0; Py_INCREF(resultobj); | |
4540 | } | |
4541 | return resultobj; | |
4542 | fail: | |
4543 | return NULL; | |
4544 | } | |
4545 | ||
4546 | ||
5eb8189c | 4547 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4548 | PyObject *resultobj = 0; |
5eb8189c | 4549 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4550 | int arg2 ; |
5eb8189c | 4551 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4552 | void *argp1 = 0 ; |
4553 | int res1 = 0 ; | |
4554 | int val2 ; | |
4555 | int ecode2 = 0 ; | |
4556 | PyObject * obj0 = 0 ; | |
4557 | PyObject * obj1 = 0 ; | |
4558 | char * kwnames[] = { | |
4559 | (char *) "self",(char *) "row", NULL | |
4560 | }; | |
4561 | ||
5eb8189c RD |
4562 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4563 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4564 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4566 | } |
5eb8189c | 4567 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4568 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4569 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4570 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4571 | } |
4572 | arg2 = static_cast< int >(val2); | |
4573 | { | |
4574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4575 | { | |
5eb8189c RD |
4576 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4577 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4578 | } |
4579 | wxPyEndAllowThreads(__tstate); | |
4580 | if (PyErr_Occurred()) SWIG_fail; | |
4581 | } | |
4582 | { | |
4583 | resultobj = obj0; Py_INCREF(resultobj); | |
4584 | } | |
4585 | return resultobj; | |
4586 | fail: | |
4587 | return NULL; | |
4588 | } | |
4589 | ||
4590 | ||
5eb8189c | 4591 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4592 | PyObject *resultobj = 0; |
5eb8189c | 4593 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4594 | int arg2 ; |
5eb8189c | 4595 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4596 | void *argp1 = 0 ; |
4597 | int res1 = 0 ; | |
4598 | int val2 ; | |
4599 | int ecode2 = 0 ; | |
4600 | PyObject * obj0 = 0 ; | |
4601 | PyObject * obj1 = 0 ; | |
4602 | char * kwnames[] = { | |
4603 | (char *) "self",(char *) "pos", NULL | |
4604 | }; | |
4605 | ||
5eb8189c RD |
4606 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4607 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4608 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4610 | } |
5eb8189c | 4611 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4612 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4613 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4614 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4615 | } |
4616 | arg2 = static_cast< int >(val2); | |
4617 | { | |
4618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4619 | { | |
5eb8189c RD |
4620 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4621 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4622 | } |
4623 | wxPyEndAllowThreads(__tstate); | |
4624 | if (PyErr_Occurred()) SWIG_fail; | |
4625 | } | |
4626 | { | |
4627 | resultobj = obj0; Py_INCREF(resultobj); | |
4628 | } | |
4629 | return resultobj; | |
4630 | fail: | |
4631 | return NULL; | |
4632 | } | |
4633 | ||
4634 | ||
5eb8189c | 4635 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4636 | PyObject *resultobj = 0; |
5eb8189c | 4637 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4638 | wxSize *arg2 = 0 ; |
5eb8189c | 4639 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4640 | void *argp1 = 0 ; |
4641 | int res1 = 0 ; | |
4642 | wxSize temp2 ; | |
4643 | PyObject * obj0 = 0 ; | |
4644 | PyObject * obj1 = 0 ; | |
4645 | char * kwnames[] = { | |
4646 | (char *) "self",(char *) "size", NULL | |
4647 | }; | |
4648 | ||
5eb8189c RD |
4649 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4650 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4651 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4652 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4653 | } |
5eb8189c | 4654 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4655 | { |
4656 | arg2 = &temp2; | |
4657 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4658 | } | |
4659 | { | |
4660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4661 | { | |
5eb8189c RD |
4662 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4663 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4664 | } |
4665 | wxPyEndAllowThreads(__tstate); | |
4666 | if (PyErr_Occurred()) SWIG_fail; | |
4667 | } | |
4668 | { | |
4669 | resultobj = obj0; Py_INCREF(resultobj); | |
4670 | } | |
4671 | return resultobj; | |
4672 | fail: | |
4673 | return NULL; | |
4674 | } | |
4675 | ||
4676 | ||
5eb8189c | 4677 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4678 | PyObject *resultobj = 0; |
5eb8189c | 4679 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4680 | wxSize *arg2 = 0 ; |
5eb8189c | 4681 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4682 | void *argp1 = 0 ; |
4683 | int res1 = 0 ; | |
4684 | wxSize temp2 ; | |
4685 | PyObject * obj0 = 0 ; | |
4686 | PyObject * obj1 = 0 ; | |
4687 | char * kwnames[] = { | |
4688 | (char *) "self",(char *) "size", NULL | |
4689 | }; | |
4690 | ||
5eb8189c RD |
4691 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4692 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4693 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4694 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4695 | } |
5eb8189c | 4696 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4697 | { |
4698 | arg2 = &temp2; | |
4699 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4700 | } | |
4701 | { | |
4702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4703 | { | |
5eb8189c RD |
4704 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4705 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4706 | } |
4707 | wxPyEndAllowThreads(__tstate); | |
4708 | if (PyErr_Occurred()) SWIG_fail; | |
4709 | } | |
4710 | { | |
4711 | resultobj = obj0; Py_INCREF(resultobj); | |
4712 | } | |
4713 | return resultobj; | |
4714 | fail: | |
4715 | return NULL; | |
4716 | } | |
4717 | ||
4718 | ||
5eb8189c | 4719 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4720 | PyObject *resultobj = 0; |
5eb8189c | 4721 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4722 | wxSize *arg2 = 0 ; |
5eb8189c | 4723 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4724 | void *argp1 = 0 ; |
4725 | int res1 = 0 ; | |
4726 | wxSize temp2 ; | |
4727 | PyObject * obj0 = 0 ; | |
4728 | PyObject * obj1 = 0 ; | |
4729 | char * kwnames[] = { | |
4730 | (char *) "self",(char *) "size", NULL | |
4731 | }; | |
4732 | ||
5eb8189c RD |
4733 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4734 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4735 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4736 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4737 | } |
5eb8189c | 4738 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4739 | { |
4740 | arg2 = &temp2; | |
4741 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4742 | } | |
4743 | { | |
4744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4745 | { | |
5eb8189c RD |
4746 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4747 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4748 | } |
4749 | wxPyEndAllowThreads(__tstate); | |
4750 | if (PyErr_Occurred()) SWIG_fail; | |
4751 | } | |
4752 | { | |
4753 | resultobj = obj0; Py_INCREF(resultobj); | |
4754 | } | |
4755 | return resultobj; | |
4756 | fail: | |
4757 | return NULL; | |
4758 | } | |
4759 | ||
4760 | ||
5eb8189c | 4761 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4762 | PyObject *resultobj = 0; |
5eb8189c | 4763 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4764 | wxPoint *arg2 = 0 ; |
5eb8189c | 4765 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4766 | void *argp1 = 0 ; |
4767 | int res1 = 0 ; | |
4768 | wxPoint temp2 ; | |
4769 | PyObject * obj0 = 0 ; | |
4770 | PyObject * obj1 = 0 ; | |
4771 | char * kwnames[] = { | |
4772 | (char *) "self",(char *) "pos", NULL | |
4773 | }; | |
4774 | ||
5eb8189c RD |
4775 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4776 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4777 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4779 | } |
5eb8189c | 4780 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4781 | { |
4782 | arg2 = &temp2; | |
4783 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4784 | } | |
4785 | { | |
4786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4787 | { | |
5eb8189c RD |
4788 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4789 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4790 | } |
4791 | wxPyEndAllowThreads(__tstate); | |
4792 | if (PyErr_Occurred()) SWIG_fail; | |
4793 | } | |
4794 | { | |
4795 | resultobj = obj0; Py_INCREF(resultobj); | |
4796 | } | |
4797 | return resultobj; | |
4798 | fail: | |
4799 | return NULL; | |
4800 | } | |
4801 | ||
4802 | ||
5eb8189c | 4803 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4804 | PyObject *resultobj = 0; |
5eb8189c | 4805 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4806 | wxSize *arg2 = 0 ; |
5eb8189c | 4807 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4808 | void *argp1 = 0 ; |
4809 | int res1 = 0 ; | |
4810 | wxSize temp2 ; | |
4811 | PyObject * obj0 = 0 ; | |
4812 | PyObject * obj1 = 0 ; | |
4813 | char * kwnames[] = { | |
4814 | (char *) "self",(char *) "size", NULL | |
4815 | }; | |
4816 | ||
5eb8189c RD |
4817 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4818 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4819 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4820 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4821 | } |
5eb8189c | 4822 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4823 | { |
4824 | arg2 = &temp2; | |
4825 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4826 | } | |
4827 | { | |
4828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4829 | { | |
5eb8189c RD |
4830 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4831 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4832 | } |
4833 | wxPyEndAllowThreads(__tstate); | |
4834 | if (PyErr_Occurred()) SWIG_fail; | |
4835 | } | |
4836 | { | |
4837 | resultobj = obj0; Py_INCREF(resultobj); | |
4838 | } | |
4839 | return resultobj; | |
4840 | fail: | |
4841 | return NULL; | |
4842 | } | |
4843 | ||
4844 | ||
5eb8189c | 4845 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4846 | PyObject *resultobj = 0; |
5eb8189c RD |
4847 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4848 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4849 | void *argp1 = 0 ; |
4850 | int res1 = 0 ; | |
4851 | PyObject *swig_obj[1] ; | |
4852 | ||
4853 | if (!args) SWIG_fail; | |
4854 | swig_obj[0] = args; | |
5eb8189c | 4855 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4856 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4858 | } |
5eb8189c | 4859 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4860 | { |
4861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4862 | { | |
5eb8189c RD |
4863 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4864 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4865 | } |
4866 | wxPyEndAllowThreads(__tstate); | |
4867 | if (PyErr_Occurred()) SWIG_fail; | |
4868 | } | |
4869 | { | |
4870 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4871 | } | |
4872 | return resultobj; | |
4873 | fail: | |
4874 | return NULL; | |
4875 | } | |
4876 | ||
4877 | ||
5eb8189c | 4878 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4879 | PyObject *resultobj = 0; |
5eb8189c | 4880 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4881 | bool arg2 = (bool) true ; |
5eb8189c | 4882 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4883 | void *argp1 = 0 ; |
4884 | int res1 = 0 ; | |
4885 | bool val2 ; | |
4886 | int ecode2 = 0 ; | |
4887 | PyObject * obj0 = 0 ; | |
4888 | PyObject * obj1 = 0 ; | |
4889 | char * kwnames[] = { | |
4890 | (char *) "self",(char *) "resizable", NULL | |
4891 | }; | |
4892 | ||
5eb8189c RD |
4893 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4894 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4895 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4897 | } |
5eb8189c | 4898 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4899 | if (obj1) { |
4900 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4901 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4902 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4903 | } |
4904 | arg2 = static_cast< bool >(val2); | |
4905 | } | |
4906 | { | |
4907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4908 | { | |
5eb8189c RD |
4909 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4910 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4911 | } |
4912 | wxPyEndAllowThreads(__tstate); | |
4913 | if (PyErr_Occurred()) SWIG_fail; | |
4914 | } | |
4915 | { | |
4916 | resultobj = obj0; Py_INCREF(resultobj); | |
4917 | } | |
4918 | return resultobj; | |
4919 | fail: | |
4920 | return NULL; | |
4921 | } | |
4922 | ||
4923 | ||
5eb8189c | 4924 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4925 | PyObject *resultobj = 0; |
5eb8189c RD |
4926 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4927 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4928 | void *argp1 = 0 ; |
4929 | int res1 = 0 ; | |
4930 | PyObject *swig_obj[1] ; | |
4931 | ||
4932 | if (!args) SWIG_fail; | |
4933 | swig_obj[0] = args; | |
5eb8189c | 4934 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4935 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4936 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4937 | } |
5eb8189c | 4938 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4939 | { |
4940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4941 | { | |
5eb8189c RD |
4942 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4943 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4944 | } |
4945 | wxPyEndAllowThreads(__tstate); | |
4946 | if (PyErr_Occurred()) SWIG_fail; | |
4947 | } | |
4948 | { | |
4949 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4950 | } | |
4951 | return resultobj; | |
4952 | fail: | |
4953 | return NULL; | |
4954 | } | |
4955 | ||
4956 | ||
5eb8189c | 4957 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4958 | PyObject *resultobj = 0; |
5eb8189c RD |
4959 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4960 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4961 | void *argp1 = 0 ; |
4962 | int res1 = 0 ; | |
4963 | PyObject *swig_obj[1] ; | |
4964 | ||
4965 | if (!args) SWIG_fail; | |
4966 | swig_obj[0] = args; | |
5eb8189c | 4967 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4968 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4969 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4970 | } |
5eb8189c | 4971 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4972 | { |
4973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4974 | { | |
5eb8189c RD |
4975 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
4976 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4977 | } |
4978 | wxPyEndAllowThreads(__tstate); | |
4979 | if (PyErr_Occurred()) SWIG_fail; | |
4980 | } | |
4981 | { | |
4982 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4983 | } | |
4984 | return resultobj; | |
4985 | fail: | |
4986 | return NULL; | |
4987 | } | |
4988 | ||
4989 | ||
5eb8189c | 4990 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4991 | PyObject *resultobj = 0; |
5eb8189c RD |
4992 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4993 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4994 | void *argp1 = 0 ; |
4995 | int res1 = 0 ; | |
4996 | PyObject *swig_obj[1] ; | |
4997 | ||
4998 | if (!args) SWIG_fail; | |
4999 | swig_obj[0] = args; | |
5eb8189c | 5000 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5001 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5003 | } |
5eb8189c | 5004 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5005 | { |
5006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5007 | { | |
5eb8189c RD |
5008 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5009 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5010 | } |
5011 | wxPyEndAllowThreads(__tstate); | |
5012 | if (PyErr_Occurred()) SWIG_fail; | |
5013 | } | |
5014 | { | |
5015 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5016 | } | |
5017 | return resultobj; | |
5018 | fail: | |
5019 | return NULL; | |
5020 | } | |
5021 | ||
5022 | ||
5eb8189c | 5023 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5024 | PyObject *resultobj = 0; |
5eb8189c | 5025 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5026 | bool arg2 = (bool) true ; |
5eb8189c | 5027 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5028 | void *argp1 = 0 ; |
5029 | int res1 = 0 ; | |
5030 | bool val2 ; | |
5031 | int ecode2 = 0 ; | |
5032 | PyObject * obj0 = 0 ; | |
5033 | PyObject * obj1 = 0 ; | |
5034 | char * kwnames[] = { | |
5035 | (char *) "self",(char *) "show", NULL | |
5036 | }; | |
5037 | ||
5eb8189c RD |
5038 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5039 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5040 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5042 | } |
5eb8189c | 5043 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5044 | if (obj1) { |
5045 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5046 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5047 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5048 | } |
5049 | arg2 = static_cast< bool >(val2); | |
5050 | } | |
5051 | { | |
5052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5053 | { | |
5eb8189c RD |
5054 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5055 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5056 | } |
5057 | wxPyEndAllowThreads(__tstate); | |
5058 | if (PyErr_Occurred()) SWIG_fail; | |
5059 | } | |
5060 | { | |
5061 | resultobj = obj0; Py_INCREF(resultobj); | |
5062 | } | |
5063 | return resultobj; | |
5064 | fail: | |
5065 | return NULL; | |
5066 | } | |
5067 | ||
5068 | ||
5eb8189c | 5069 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5070 | PyObject *resultobj = 0; |
5eb8189c | 5071 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5072 | bool arg2 = (bool) true ; |
5eb8189c | 5073 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5074 | void *argp1 = 0 ; |
5075 | int res1 = 0 ; | |
5076 | bool val2 ; | |
5077 | int ecode2 = 0 ; | |
5078 | PyObject * obj0 = 0 ; | |
5079 | PyObject * obj1 = 0 ; | |
5080 | char * kwnames[] = { | |
5081 | (char *) "self",(char *) "visible", NULL | |
5082 | }; | |
5083 | ||
5eb8189c RD |
5084 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5085 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5086 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5088 | } |
5eb8189c | 5089 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5090 | if (obj1) { |
5091 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5092 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5093 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5094 | } |
5095 | arg2 = static_cast< bool >(val2); | |
5096 | } | |
5097 | { | |
5098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5099 | { | |
5eb8189c RD |
5100 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5101 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5102 | } |
5103 | wxPyEndAllowThreads(__tstate); | |
5104 | if (PyErr_Occurred()) SWIG_fail; | |
5105 | } | |
5106 | { | |
5107 | resultobj = obj0; Py_INCREF(resultobj); | |
5108 | } | |
5109 | return resultobj; | |
5110 | fail: | |
5111 | return NULL; | |
5112 | } | |
5113 | ||
5114 | ||
5eb8189c RD |
5115 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5116 | PyObject *resultobj = 0; | |
5117 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5118 | wxAuiPaneInfo *result = 0 ; | |
5119 | void *argp1 = 0 ; | |
5120 | int res1 = 0 ; | |
5121 | PyObject *swig_obj[1] ; | |
5122 | ||
5123 | if (!args) SWIG_fail; | |
5124 | swig_obj[0] = args; | |
5125 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5126 | if (!SWIG_IsOK(res1)) { | |
5127 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5128 | } | |
5129 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5130 | { | |
5131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5132 | { | |
5133 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5134 | result = (wxAuiPaneInfo *) &_result_ref; | |
5135 | } | |
5136 | wxPyEndAllowThreads(__tstate); | |
5137 | if (PyErr_Occurred()) SWIG_fail; | |
5138 | } | |
5139 | { | |
5140 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5141 | } | |
5142 | return resultobj; | |
5143 | fail: | |
5144 | return NULL; | |
5145 | } | |
5146 | ||
5147 | ||
5148 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5149 | PyObject *resultobj = 0; |
5eb8189c RD |
5150 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5151 | wxAuiPaneInfo *result = 0 ; | |
5152 | void *argp1 = 0 ; | |
5153 | int res1 = 0 ; | |
5154 | PyObject *swig_obj[1] ; | |
5155 | ||
5156 | if (!args) SWIG_fail; | |
5157 | swig_obj[0] = args; | |
5158 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5159 | if (!SWIG_IsOK(res1)) { | |
5160 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5161 | } | |
5162 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5163 | { | |
5164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5165 | { | |
5166 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5167 | result = (wxAuiPaneInfo *) &_result_ref; | |
5168 | } | |
5169 | wxPyEndAllowThreads(__tstate); | |
5170 | if (PyErr_Occurred()) SWIG_fail; | |
5171 | } | |
5172 | { | |
5173 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5174 | } | |
5175 | return resultobj; | |
5176 | fail: | |
5177 | return NULL; | |
5178 | } | |
5179 | ||
5180 | ||
5181 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5182 | PyObject *resultobj = 0; | |
5183 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5184 | bool arg2 = (bool) true ; |
5eb8189c | 5185 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5186 | void *argp1 = 0 ; |
5187 | int res1 = 0 ; | |
5188 | bool val2 ; | |
5189 | int ecode2 = 0 ; | |
5190 | PyObject * obj0 = 0 ; | |
5191 | PyObject * obj1 = 0 ; | |
5192 | char * kwnames[] = { | |
5193 | (char *) "self",(char *) "visible", NULL | |
5194 | }; | |
5195 | ||
5eb8189c RD |
5196 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5197 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5198 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5199 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5200 | } |
5eb8189c | 5201 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5202 | if (obj1) { |
5203 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5204 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5205 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5206 | } |
5207 | arg2 = static_cast< bool >(val2); | |
5208 | } | |
5209 | { | |
5210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5211 | { | |
5eb8189c RD |
5212 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5213 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5214 | } |
5215 | wxPyEndAllowThreads(__tstate); | |
5216 | if (PyErr_Occurred()) SWIG_fail; | |
5217 | } | |
5218 | { | |
5219 | resultobj = obj0; Py_INCREF(resultobj); | |
5220 | } | |
5221 | return resultobj; | |
5222 | fail: | |
5223 | return NULL; | |
5224 | } | |
5225 | ||
5226 | ||
5eb8189c | 5227 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5228 | PyObject *resultobj = 0; |
5eb8189c | 5229 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5230 | bool arg2 = (bool) true ; |
5eb8189c | 5231 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5232 | void *argp1 = 0 ; |
5233 | int res1 = 0 ; | |
5234 | bool val2 ; | |
5235 | int ecode2 = 0 ; | |
5236 | PyObject * obj0 = 0 ; | |
5237 | PyObject * obj1 = 0 ; | |
5238 | char * kwnames[] = { | |
5239 | (char *) "self",(char *) "visible", NULL | |
5240 | }; | |
5241 | ||
5eb8189c RD |
5242 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5243 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5244 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5245 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5246 | } |
5eb8189c | 5247 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5248 | if (obj1) { |
5249 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5250 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5251 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5252 | } |
5253 | arg2 = static_cast< bool >(val2); | |
5254 | } | |
5255 | { | |
5256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5257 | { | |
5eb8189c RD |
5258 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5259 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5260 | } |
5261 | wxPyEndAllowThreads(__tstate); | |
5262 | if (PyErr_Occurred()) SWIG_fail; | |
5263 | } | |
5264 | { | |
5265 | resultobj = obj0; Py_INCREF(resultobj); | |
5266 | } | |
5267 | return resultobj; | |
5268 | fail: | |
5269 | return NULL; | |
5270 | } | |
5271 | ||
5272 | ||
5eb8189c | 5273 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5274 | PyObject *resultobj = 0; |
5eb8189c | 5275 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5276 | bool arg2 = (bool) true ; |
5eb8189c | 5277 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5278 | void *argp1 = 0 ; |
5279 | int res1 = 0 ; | |
5280 | bool val2 ; | |
5281 | int ecode2 = 0 ; | |
5282 | PyObject * obj0 = 0 ; | |
5283 | PyObject * obj1 = 0 ; | |
5284 | char * kwnames[] = { | |
5285 | (char *) "self",(char *) "attop", NULL | |
5286 | }; | |
5287 | ||
5eb8189c RD |
5288 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5289 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5290 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5291 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5292 | } |
5eb8189c | 5293 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5294 | if (obj1) { |
5295 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5296 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5297 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5298 | } |
5299 | arg2 = static_cast< bool >(val2); | |
5300 | } | |
5301 | { | |
5302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5303 | { | |
5eb8189c RD |
5304 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5305 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5306 | } |
5307 | wxPyEndAllowThreads(__tstate); | |
5308 | if (PyErr_Occurred()) SWIG_fail; | |
5309 | } | |
5310 | { | |
5311 | resultobj = obj0; Py_INCREF(resultobj); | |
5312 | } | |
5313 | return resultobj; | |
5314 | fail: | |
5315 | return NULL; | |
5316 | } | |
5317 | ||
5318 | ||
5eb8189c | 5319 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5320 | PyObject *resultobj = 0; |
5eb8189c | 5321 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5322 | bool arg2 = (bool) true ; |
5eb8189c | 5323 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5324 | void *argp1 = 0 ; |
5325 | int res1 = 0 ; | |
5326 | bool val2 ; | |
5327 | int ecode2 = 0 ; | |
5328 | PyObject * obj0 = 0 ; | |
5329 | PyObject * obj1 = 0 ; | |
5330 | char * kwnames[] = { | |
5331 | (char *) "self",(char *) "visible", NULL | |
5332 | }; | |
5333 | ||
5eb8189c RD |
5334 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5335 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5336 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5338 | } |
5eb8189c | 5339 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5340 | if (obj1) { |
5341 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5342 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5343 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5344 | } |
5345 | arg2 = static_cast< bool >(val2); | |
5346 | } | |
5347 | { | |
5348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5349 | { | |
5eb8189c RD |
5350 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5351 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5352 | } |
5353 | wxPyEndAllowThreads(__tstate); | |
5354 | if (PyErr_Occurred()) SWIG_fail; | |
5355 | } | |
5356 | { | |
5357 | resultobj = obj0; Py_INCREF(resultobj); | |
5358 | } | |
5359 | return resultobj; | |
5360 | fail: | |
5361 | return NULL; | |
5362 | } | |
5363 | ||
5364 | ||
5eb8189c | 5365 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5366 | PyObject *resultobj = 0; |
5eb8189c | 5367 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5368 | bool arg2 = (bool) true ; |
5eb8189c | 5369 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5370 | void *argp1 = 0 ; |
5371 | int res1 = 0 ; | |
5372 | bool val2 ; | |
5373 | int ecode2 = 0 ; | |
5374 | PyObject * obj0 = 0 ; | |
5375 | PyObject * obj1 = 0 ; | |
5376 | char * kwnames[] = { | |
5377 | (char *) "self",(char *) "visible", NULL | |
5378 | }; | |
5379 | ||
5eb8189c RD |
5380 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5381 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5382 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5384 | } |
5eb8189c | 5385 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5386 | if (obj1) { |
5387 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5388 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5389 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5390 | } |
5391 | arg2 = static_cast< bool >(val2); | |
5392 | } | |
5393 | { | |
5394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5395 | { | |
5eb8189c RD |
5396 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5397 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5398 | } |
5399 | wxPyEndAllowThreads(__tstate); | |
5400 | if (PyErr_Occurred()) SWIG_fail; | |
5401 | } | |
5402 | { | |
5403 | resultobj = obj0; Py_INCREF(resultobj); | |
5404 | } | |
5405 | return resultobj; | |
5406 | fail: | |
5407 | return NULL; | |
5408 | } | |
5409 | ||
5410 | ||
5eb8189c | 5411 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5412 | PyObject *resultobj = 0; |
5eb8189c | 5413 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5414 | bool arg2 = (bool) true ; |
5eb8189c | 5415 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5416 | void *argp1 = 0 ; |
5417 | int res1 = 0 ; | |
5418 | bool val2 ; | |
5419 | int ecode2 = 0 ; | |
5420 | PyObject * obj0 = 0 ; | |
5421 | PyObject * obj1 = 0 ; | |
5422 | char * kwnames[] = { | |
5423 | (char *) "self",(char *) "visible", NULL | |
5424 | }; | |
5425 | ||
5eb8189c RD |
5426 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5427 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5428 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5429 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5430 | } |
5eb8189c | 5431 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5432 | if (obj1) { |
5433 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5434 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5435 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5436 | } |
5437 | arg2 = static_cast< bool >(val2); | |
5438 | } | |
5439 | { | |
5440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5441 | { | |
5eb8189c RD |
5442 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5443 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5444 | } |
5445 | wxPyEndAllowThreads(__tstate); | |
5446 | if (PyErr_Occurred()) SWIG_fail; | |
5447 | } | |
5448 | { | |
5449 | resultobj = obj0; Py_INCREF(resultobj); | |
5450 | } | |
5451 | return resultobj; | |
5452 | fail: | |
5453 | return NULL; | |
5454 | } | |
5455 | ||
5456 | ||
5eb8189c | 5457 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5458 | PyObject *resultobj = 0; |
5eb8189c | 5459 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5460 | bool arg2 = (bool) true ; |
5eb8189c | 5461 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5462 | void *argp1 = 0 ; |
5463 | int res1 = 0 ; | |
5464 | bool val2 ; | |
5465 | int ecode2 = 0 ; | |
5466 | PyObject * obj0 = 0 ; | |
5467 | PyObject * obj1 = 0 ; | |
5468 | char * kwnames[] = { | |
5469 | (char *) "self",(char *) "visible", NULL | |
5470 | }; | |
5471 | ||
5eb8189c RD |
5472 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5473 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5474 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5476 | } |
5eb8189c | 5477 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5478 | if (obj1) { |
5479 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5480 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5481 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5482 | } |
5483 | arg2 = static_cast< bool >(val2); | |
5484 | } | |
5485 | { | |
5486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5487 | { | |
5eb8189c RD |
5488 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5489 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5490 | } |
5491 | wxPyEndAllowThreads(__tstate); | |
5492 | if (PyErr_Occurred()) SWIG_fail; | |
5493 | } | |
5494 | { | |
5495 | resultobj = obj0; Py_INCREF(resultobj); | |
5496 | } | |
5497 | return resultobj; | |
5498 | fail: | |
5499 | return NULL; | |
5500 | } | |
5501 | ||
5502 | ||
5eb8189c | 5503 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5504 | PyObject *resultobj = 0; |
5eb8189c | 5505 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5506 | bool arg2 = (bool) true ; |
5eb8189c | 5507 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5508 | void *argp1 = 0 ; |
5509 | int res1 = 0 ; | |
5510 | bool val2 ; | |
5511 | int ecode2 = 0 ; | |
5512 | PyObject * obj0 = 0 ; | |
5513 | PyObject * obj1 = 0 ; | |
5514 | char * kwnames[] = { | |
5515 | (char *) "self",(char *) "b", NULL | |
5516 | }; | |
5517 | ||
5eb8189c RD |
5518 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5519 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5520 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5521 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5522 | } |
5eb8189c | 5523 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5524 | if (obj1) { |
5525 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5526 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5527 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5528 | } |
5529 | arg2 = static_cast< bool >(val2); | |
5530 | } | |
5531 | { | |
5532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5533 | { | |
5eb8189c RD |
5534 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5535 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5536 | } |
5537 | wxPyEndAllowThreads(__tstate); | |
5538 | if (PyErr_Occurred()) SWIG_fail; | |
5539 | } | |
5540 | { | |
5541 | resultobj = obj0; Py_INCREF(resultobj); | |
5542 | } | |
5543 | return resultobj; | |
5544 | fail: | |
5545 | return NULL; | |
5546 | } | |
5547 | ||
5548 | ||
5eb8189c | 5549 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5550 | PyObject *resultobj = 0; |
5eb8189c | 5551 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5552 | bool arg2 = (bool) true ; |
5eb8189c | 5553 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5554 | void *argp1 = 0 ; |
5555 | int res1 = 0 ; | |
5556 | bool val2 ; | |
5557 | int ecode2 = 0 ; | |
5558 | PyObject * obj0 = 0 ; | |
5559 | PyObject * obj1 = 0 ; | |
5560 | char * kwnames[] = { | |
5561 | (char *) "self",(char *) "b", NULL | |
5562 | }; | |
5563 | ||
5eb8189c RD |
5564 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5565 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5566 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5568 | } |
5eb8189c | 5569 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5570 | if (obj1) { |
5571 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5572 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5573 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5574 | } |
5575 | arg2 = static_cast< bool >(val2); | |
5576 | } | |
5577 | { | |
5578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5579 | { | |
5eb8189c RD |
5580 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5581 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5582 | } |
5583 | wxPyEndAllowThreads(__tstate); | |
5584 | if (PyErr_Occurred()) SWIG_fail; | |
5585 | } | |
5586 | { | |
5587 | resultobj = obj0; Py_INCREF(resultobj); | |
5588 | } | |
5589 | return resultobj; | |
5590 | fail: | |
5591 | return NULL; | |
5592 | } | |
5593 | ||
5594 | ||
5eb8189c | 5595 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5596 | PyObject *resultobj = 0; |
5eb8189c | 5597 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5598 | bool arg2 = (bool) true ; |
5eb8189c | 5599 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5600 | void *argp1 = 0 ; |
5601 | int res1 = 0 ; | |
5602 | bool val2 ; | |
5603 | int ecode2 = 0 ; | |
5604 | PyObject * obj0 = 0 ; | |
5605 | PyObject * obj1 = 0 ; | |
5606 | char * kwnames[] = { | |
5607 | (char *) "self",(char *) "b", NULL | |
5608 | }; | |
5609 | ||
5eb8189c RD |
5610 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5611 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5612 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5614 | } |
5eb8189c | 5615 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5616 | if (obj1) { |
5617 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5618 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5619 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5620 | } |
5621 | arg2 = static_cast< bool >(val2); | |
5622 | } | |
5623 | { | |
5624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5625 | { | |
5eb8189c RD |
5626 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5627 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5628 | } |
5629 | wxPyEndAllowThreads(__tstate); | |
5630 | if (PyErr_Occurred()) SWIG_fail; | |
5631 | } | |
5632 | { | |
5633 | resultobj = obj0; Py_INCREF(resultobj); | |
5634 | } | |
5635 | return resultobj; | |
5636 | fail: | |
5637 | return NULL; | |
5638 | } | |
5639 | ||
5640 | ||
5eb8189c | 5641 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5642 | PyObject *resultobj = 0; |
5eb8189c | 5643 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5644 | bool arg2 = (bool) true ; |
5eb8189c | 5645 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5646 | void *argp1 = 0 ; |
5647 | int res1 = 0 ; | |
5648 | bool val2 ; | |
5649 | int ecode2 = 0 ; | |
5650 | PyObject * obj0 = 0 ; | |
5651 | PyObject * obj1 = 0 ; | |
5652 | char * kwnames[] = { | |
5653 | (char *) "self",(char *) "b", NULL | |
5654 | }; | |
5655 | ||
5eb8189c RD |
5656 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5657 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5658 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5660 | } |
5eb8189c | 5661 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5662 | if (obj1) { |
5663 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5664 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5665 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5666 | } |
5667 | arg2 = static_cast< bool >(val2); | |
5668 | } | |
5669 | { | |
5670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5671 | { | |
5eb8189c RD |
5672 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5673 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5674 | } |
5675 | wxPyEndAllowThreads(__tstate); | |
5676 | if (PyErr_Occurred()) SWIG_fail; | |
5677 | } | |
5678 | { | |
5679 | resultobj = obj0; Py_INCREF(resultobj); | |
5680 | } | |
5681 | return resultobj; | |
5682 | fail: | |
5683 | return NULL; | |
5684 | } | |
5685 | ||
5686 | ||
5eb8189c | 5687 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5688 | PyObject *resultobj = 0; |
5eb8189c | 5689 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5690 | bool arg2 = (bool) true ; |
5eb8189c | 5691 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5692 | void *argp1 = 0 ; |
5693 | int res1 = 0 ; | |
5694 | bool val2 ; | |
5695 | int ecode2 = 0 ; | |
5696 | PyObject * obj0 = 0 ; | |
5697 | PyObject * obj1 = 0 ; | |
5698 | char * kwnames[] = { | |
5699 | (char *) "self",(char *) "b", NULL | |
5700 | }; | |
5701 | ||
5eb8189c RD |
5702 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5703 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5704 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5706 | } |
5eb8189c | 5707 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5708 | if (obj1) { |
5709 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5710 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5711 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5712 | } |
5713 | arg2 = static_cast< bool >(val2); | |
5714 | } | |
5715 | { | |
5716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5717 | { | |
5eb8189c RD |
5718 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5719 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5720 | } |
5721 | wxPyEndAllowThreads(__tstate); | |
5722 | if (PyErr_Occurred()) SWIG_fail; | |
5723 | } | |
5724 | { | |
5725 | resultobj = obj0; Py_INCREF(resultobj); | |
5726 | } | |
5727 | return resultobj; | |
5728 | fail: | |
5729 | return NULL; | |
5730 | } | |
5731 | ||
5732 | ||
5eb8189c | 5733 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5734 | PyObject *resultobj = 0; |
5eb8189c | 5735 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5736 | bool arg2 = (bool) true ; |
5eb8189c | 5737 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5738 | void *argp1 = 0 ; |
5739 | int res1 = 0 ; | |
5740 | bool val2 ; | |
5741 | int ecode2 = 0 ; | |
5742 | PyObject * obj0 = 0 ; | |
5743 | PyObject * obj1 = 0 ; | |
5744 | char * kwnames[] = { | |
5745 | (char *) "self",(char *) "b", NULL | |
5746 | }; | |
5747 | ||
5eb8189c RD |
5748 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5749 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5752 | } |
5eb8189c | 5753 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5754 | if (obj1) { |
5755 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5756 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5757 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5758 | } |
5759 | arg2 = static_cast< bool >(val2); | |
5760 | } | |
5761 | { | |
5762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5763 | { | |
5eb8189c RD |
5764 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5765 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5766 | } |
5767 | wxPyEndAllowThreads(__tstate); | |
5768 | if (PyErr_Occurred()) SWIG_fail; | |
5769 | } | |
5770 | { | |
5771 | resultobj = obj0; Py_INCREF(resultobj); | |
5772 | } | |
5773 | return resultobj; | |
5774 | fail: | |
5775 | return NULL; | |
5776 | } | |
5777 | ||
5778 | ||
5eb8189c | 5779 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5780 | PyObject *resultobj = 0; |
5eb8189c | 5781 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5782 | bool arg2 = (bool) true ; |
5eb8189c | 5783 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5784 | void *argp1 = 0 ; |
5785 | int res1 = 0 ; | |
5786 | bool val2 ; | |
5787 | int ecode2 = 0 ; | |
5788 | PyObject * obj0 = 0 ; | |
5789 | PyObject * obj1 = 0 ; | |
5790 | char * kwnames[] = { | |
5791 | (char *) "self",(char *) "b", NULL | |
5792 | }; | |
5793 | ||
5eb8189c RD |
5794 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5795 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5796 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5798 | } |
5eb8189c | 5799 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5800 | if (obj1) { |
5801 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5802 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5803 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5804 | } |
5805 | arg2 = static_cast< bool >(val2); | |
5806 | } | |
5807 | { | |
5808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5809 | { | |
5eb8189c RD |
5810 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5811 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5812 | } |
5813 | wxPyEndAllowThreads(__tstate); | |
5814 | if (PyErr_Occurred()) SWIG_fail; | |
5815 | } | |
5816 | { | |
5817 | resultobj = obj0; Py_INCREF(resultobj); | |
5818 | } | |
5819 | return resultobj; | |
5820 | fail: | |
5821 | return NULL; | |
5822 | } | |
5823 | ||
5824 | ||
5eb8189c | 5825 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SaveHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5826 | PyObject *resultobj = 0; |
5eb8189c RD |
5827 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5828 | wxAuiPaneInfo *result = 0 ; | |
5829 | void *argp1 = 0 ; | |
5830 | int res1 = 0 ; | |
5831 | PyObject *swig_obj[1] ; | |
5832 | ||
5833 | if (!args) SWIG_fail; | |
5834 | swig_obj[0] = args; | |
5835 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5836 | if (!SWIG_IsOK(res1)) { | |
5837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SaveHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5838 | } | |
5839 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5840 | { | |
5841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5842 | { | |
5843 | wxAuiPaneInfo &_result_ref = (arg1)->SaveHidden(); | |
5844 | result = (wxAuiPaneInfo *) &_result_ref; | |
5845 | } | |
5846 | wxPyEndAllowThreads(__tstate); | |
5847 | if (PyErr_Occurred()) SWIG_fail; | |
5848 | } | |
5849 | { | |
5850 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5851 | } | |
5852 | return resultobj; | |
5853 | fail: | |
5854 | return NULL; | |
5855 | } | |
5856 | ||
5857 | ||
5858 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RestoreHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5859 | PyObject *resultobj = 0; | |
5860 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5861 | wxAuiPaneInfo *result = 0 ; | |
5862 | void *argp1 = 0 ; | |
5863 | int res1 = 0 ; | |
5864 | PyObject *swig_obj[1] ; | |
5865 | ||
5866 | if (!args) SWIG_fail; | |
5867 | swig_obj[0] = args; | |
5868 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5869 | if (!SWIG_IsOK(res1)) { | |
5870 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RestoreHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5871 | } | |
5872 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5873 | { | |
5874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5875 | { | |
5876 | wxAuiPaneInfo &_result_ref = (arg1)->RestoreHidden(); | |
5877 | result = (wxAuiPaneInfo *) &_result_ref; | |
5878 | } | |
5879 | wxPyEndAllowThreads(__tstate); | |
5880 | if (PyErr_Occurred()) SWIG_fail; | |
5881 | } | |
5882 | { | |
5883 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5884 | } | |
5885 | return resultobj; | |
5886 | fail: | |
5887 | return NULL; | |
5888 | } | |
5889 | ||
5890 | ||
5891 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5892 | PyObject *resultobj = 0; | |
5893 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5894 | bool arg2 = (bool) true ; |
5eb8189c | 5895 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5896 | void *argp1 = 0 ; |
5897 | int res1 = 0 ; | |
5898 | bool val2 ; | |
5899 | int ecode2 = 0 ; | |
5900 | PyObject * obj0 = 0 ; | |
5901 | PyObject * obj1 = 0 ; | |
5902 | char * kwnames[] = { | |
5903 | (char *) "self",(char *) "b", NULL | |
5904 | }; | |
5905 | ||
5eb8189c RD |
5906 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5907 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5908 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5909 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5910 | } |
5eb8189c | 5911 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5912 | if (obj1) { |
5913 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5914 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5915 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5916 | } |
5917 | arg2 = static_cast< bool >(val2); | |
5918 | } | |
5919 | { | |
5920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5921 | { | |
5eb8189c RD |
5922 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5923 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5924 | } |
5925 | wxPyEndAllowThreads(__tstate); | |
5926 | if (PyErr_Occurred()) SWIG_fail; | |
5927 | } | |
5928 | { | |
5929 | resultobj = obj0; Py_INCREF(resultobj); | |
5930 | } | |
5931 | return resultobj; | |
5932 | fail: | |
5933 | return NULL; | |
5934 | } | |
5935 | ||
5936 | ||
5eb8189c | 5937 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5938 | PyObject *resultobj = 0; |
5eb8189c RD |
5939 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5940 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5941 | void *argp1 = 0 ; |
5942 | int res1 = 0 ; | |
5943 | PyObject *swig_obj[1] ; | |
5944 | ||
5945 | if (!args) SWIG_fail; | |
5946 | swig_obj[0] = args; | |
5eb8189c | 5947 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5948 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5949 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5950 | } |
5eb8189c | 5951 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5952 | { |
5953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5954 | { | |
5eb8189c RD |
5955 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5956 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5957 | } |
5958 | wxPyEndAllowThreads(__tstate); | |
5959 | if (PyErr_Occurred()) SWIG_fail; | |
5960 | } | |
5961 | { | |
5962 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5963 | } | |
5964 | return resultobj; | |
5965 | fail: | |
5966 | return NULL; | |
5967 | } | |
5968 | ||
5969 | ||
5eb8189c | 5970 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5971 | PyObject *resultobj = 0; |
5eb8189c RD |
5972 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5973 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5974 | void *argp1 = 0 ; |
5975 | int res1 = 0 ; | |
5976 | PyObject *swig_obj[1] ; | |
5977 | ||
5978 | if (!args) SWIG_fail; | |
5979 | swig_obj[0] = args; | |
5eb8189c | 5980 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5981 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5983 | } |
5eb8189c | 5984 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5985 | { |
5986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5987 | { | |
5eb8189c RD |
5988 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5989 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5990 | } |
5991 | wxPyEndAllowThreads(__tstate); | |
5992 | if (PyErr_Occurred()) SWIG_fail; | |
5993 | } | |
5994 | { | |
5995 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5996 | } | |
5997 | return resultobj; | |
5998 | fail: | |
5999 | return NULL; | |
6000 | } | |
6001 | ||
6002 | ||
5eb8189c | 6003 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6004 | PyObject *resultobj = 0; |
5eb8189c RD |
6005 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6006 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6007 | void *argp1 = 0 ; |
6008 | int res1 = 0 ; | |
6009 | PyObject *swig_obj[1] ; | |
6010 | ||
6011 | if (!args) SWIG_fail; | |
6012 | swig_obj[0] = args; | |
5eb8189c | 6013 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6014 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6015 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6016 | } |
5eb8189c | 6017 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6018 | { |
6019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6020 | { | |
5eb8189c RD |
6021 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
6022 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6023 | } |
6024 | wxPyEndAllowThreads(__tstate); | |
6025 | if (PyErr_Occurred()) SWIG_fail; | |
6026 | } | |
6027 | { | |
6028 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6029 | } | |
6030 | return resultobj; | |
6031 | fail: | |
6032 | return NULL; | |
6033 | } | |
6034 | ||
6035 | ||
5eb8189c | 6036 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6037 | PyObject *resultobj = 0; |
5eb8189c RD |
6038 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6039 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6040 | void *argp1 = 0 ; |
6041 | int res1 = 0 ; | |
6042 | PyObject *swig_obj[1] ; | |
6043 | ||
6044 | if (!args) SWIG_fail; | |
6045 | swig_obj[0] = args; | |
5eb8189c | 6046 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6047 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6049 | } |
5eb8189c | 6050 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6051 | { |
6052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6053 | { | |
5eb8189c RD |
6054 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6055 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6056 | } |
6057 | wxPyEndAllowThreads(__tstate); | |
6058 | if (PyErr_Occurred()) SWIG_fail; | |
6059 | } | |
6060 | { | |
6061 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6062 | } | |
6063 | return resultobj; | |
6064 | fail: | |
6065 | return NULL; | |
6066 | } | |
6067 | ||
6068 | ||
5eb8189c | 6069 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6070 | PyObject *resultobj = 0; |
5eb8189c | 6071 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6072 | int arg2 ; |
6073 | bool arg3 ; | |
5eb8189c | 6074 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6075 | void *argp1 = 0 ; |
6076 | int res1 = 0 ; | |
6077 | int val2 ; | |
6078 | int ecode2 = 0 ; | |
6079 | bool val3 ; | |
6080 | int ecode3 = 0 ; | |
6081 | PyObject * obj0 = 0 ; | |
6082 | PyObject * obj1 = 0 ; | |
6083 | PyObject * obj2 = 0 ; | |
6084 | char * kwnames[] = { | |
6085 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6086 | }; | |
6087 | ||
5eb8189c RD |
6088 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6089 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6090 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6091 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6092 | } |
5eb8189c | 6093 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6094 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6095 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6096 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6097 | } |
6098 | arg2 = static_cast< int >(val2); | |
6099 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6100 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6101 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6102 | } |
6103 | arg3 = static_cast< bool >(val3); | |
6104 | { | |
6105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6106 | { | |
5eb8189c RD |
6107 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6108 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6109 | } |
6110 | wxPyEndAllowThreads(__tstate); | |
6111 | if (PyErr_Occurred()) SWIG_fail; | |
6112 | } | |
6113 | { | |
6114 | resultobj = obj0; Py_INCREF(resultobj); | |
6115 | } | |
6116 | return resultobj; | |
6117 | fail: | |
6118 | return NULL; | |
6119 | } | |
6120 | ||
6121 | ||
5eb8189c | 6122 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6123 | PyObject *resultobj = 0; |
5eb8189c | 6124 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6125 | int arg2 ; |
6126 | bool result; | |
6127 | void *argp1 = 0 ; | |
6128 | int res1 = 0 ; | |
6129 | int val2 ; | |
6130 | int ecode2 = 0 ; | |
6131 | PyObject * obj0 = 0 ; | |
6132 | PyObject * obj1 = 0 ; | |
6133 | char * kwnames[] = { | |
6134 | (char *) "self",(char *) "flag", NULL | |
6135 | }; | |
6136 | ||
5eb8189c RD |
6137 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6138 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6139 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6140 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6141 | } |
5eb8189c | 6142 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6143 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6144 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6145 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6146 | } |
6147 | arg2 = static_cast< int >(val2); | |
6148 | { | |
6149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6150 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6151 | wxPyEndAllowThreads(__tstate); |
6152 | if (PyErr_Occurred()) SWIG_fail; | |
6153 | } | |
6154 | { | |
6155 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6156 | } | |
6157 | return resultobj; | |
6158 | fail: | |
6159 | return NULL; | |
6160 | } | |
6161 | ||
6162 | ||
5eb8189c | 6163 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6164 | PyObject *resultobj = 0; |
5eb8189c | 6165 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6166 | wxString *arg2 = (wxString *) 0 ; |
6167 | void *argp1 = 0 ; | |
6168 | int res1 = 0 ; | |
6169 | bool temp2 = false ; | |
6170 | PyObject *swig_obj[2] ; | |
6171 | ||
5eb8189c RD |
6172 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6173 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6174 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6176 | } |
5eb8189c | 6177 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6178 | { |
6179 | arg2 = wxString_in_helper(swig_obj[1]); | |
6180 | if (arg2 == NULL) SWIG_fail; | |
6181 | temp2 = true; | |
6182 | } | |
6183 | if (arg1) (arg1)->name = *arg2; | |
6184 | ||
6185 | resultobj = SWIG_Py_Void(); | |
6186 | { | |
6187 | if (temp2) | |
6188 | delete arg2; | |
6189 | } | |
6190 | return resultobj; | |
6191 | fail: | |
6192 | { | |
6193 | if (temp2) | |
6194 | delete arg2; | |
6195 | } | |
6196 | return NULL; | |
6197 | } | |
6198 | ||
6199 | ||
5eb8189c | 6200 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6201 | PyObject *resultobj = 0; |
5eb8189c | 6202 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6203 | wxString *result = 0 ; |
6204 | void *argp1 = 0 ; | |
6205 | int res1 = 0 ; | |
6206 | PyObject *swig_obj[1] ; | |
6207 | ||
6208 | if (!args) SWIG_fail; | |
6209 | swig_obj[0] = args; | |
5eb8189c | 6210 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6211 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6213 | } |
5eb8189c | 6214 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6215 | result = (wxString *)& ((arg1)->name); |
6216 | { | |
6217 | #if wxUSE_UNICODE | |
6218 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6219 | #else | |
6220 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6221 | #endif | |
6222 | } | |
6223 | return resultobj; | |
6224 | fail: | |
6225 | return NULL; | |
6226 | } | |
6227 | ||
6228 | ||
5eb8189c | 6229 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6230 | PyObject *resultobj = 0; |
5eb8189c | 6231 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6232 | wxString *arg2 = (wxString *) 0 ; |
6233 | void *argp1 = 0 ; | |
6234 | int res1 = 0 ; | |
6235 | bool temp2 = false ; | |
6236 | PyObject *swig_obj[2] ; | |
6237 | ||
5eb8189c RD |
6238 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6239 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6240 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6242 | } |
5eb8189c | 6243 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6244 | { |
6245 | arg2 = wxString_in_helper(swig_obj[1]); | |
6246 | if (arg2 == NULL) SWIG_fail; | |
6247 | temp2 = true; | |
6248 | } | |
6249 | if (arg1) (arg1)->caption = *arg2; | |
6250 | ||
6251 | resultobj = SWIG_Py_Void(); | |
6252 | { | |
6253 | if (temp2) | |
6254 | delete arg2; | |
6255 | } | |
6256 | return resultobj; | |
6257 | fail: | |
6258 | { | |
6259 | if (temp2) | |
6260 | delete arg2; | |
6261 | } | |
6262 | return NULL; | |
6263 | } | |
6264 | ||
6265 | ||
5eb8189c | 6266 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6267 | PyObject *resultobj = 0; |
5eb8189c | 6268 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6269 | wxString *result = 0 ; |
6270 | void *argp1 = 0 ; | |
6271 | int res1 = 0 ; | |
6272 | PyObject *swig_obj[1] ; | |
6273 | ||
6274 | if (!args) SWIG_fail; | |
6275 | swig_obj[0] = args; | |
5eb8189c | 6276 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6277 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6278 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6279 | } |
5eb8189c | 6280 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6281 | result = (wxString *)& ((arg1)->caption); |
6282 | { | |
6283 | #if wxUSE_UNICODE | |
6284 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6285 | #else | |
6286 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6287 | #endif | |
6288 | } | |
6289 | return resultobj; | |
6290 | fail: | |
6291 | return NULL; | |
6292 | } | |
6293 | ||
6294 | ||
5eb8189c | 6295 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6296 | PyObject *resultobj = 0; |
5eb8189c | 6297 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6298 | wxWindow *arg2 = (wxWindow *) 0 ; |
6299 | void *argp1 = 0 ; | |
6300 | int res1 = 0 ; | |
6301 | void *argp2 = 0 ; | |
6302 | int res2 = 0 ; | |
6303 | PyObject *swig_obj[2] ; | |
6304 | ||
5eb8189c RD |
6305 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6306 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6307 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6308 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6309 | } |
5eb8189c | 6310 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6311 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6312 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6313 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6314 | } |
6315 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6316 | if (arg1) (arg1)->window = arg2; | |
6317 | ||
6318 | resultobj = SWIG_Py_Void(); | |
6319 | return resultobj; | |
6320 | fail: | |
6321 | return NULL; | |
6322 | } | |
6323 | ||
6324 | ||
5eb8189c | 6325 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6326 | PyObject *resultobj = 0; |
5eb8189c | 6327 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6328 | wxWindow *result = 0 ; |
6329 | void *argp1 = 0 ; | |
6330 | int res1 = 0 ; | |
6331 | PyObject *swig_obj[1] ; | |
6332 | ||
6333 | if (!args) SWIG_fail; | |
6334 | swig_obj[0] = args; | |
5eb8189c | 6335 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6336 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6338 | } |
5eb8189c | 6339 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6340 | result = (wxWindow *) ((arg1)->window); |
6341 | { | |
6342 | resultobj = wxPyMake_wxObject(result, 0); | |
6343 | } | |
6344 | return resultobj; | |
6345 | fail: | |
6346 | return NULL; | |
6347 | } | |
6348 | ||
6349 | ||
5eb8189c | 6350 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6351 | PyObject *resultobj = 0; |
5eb8189c | 6352 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6353 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6354 | void *argp1 = 0 ; |
6355 | int res1 = 0 ; | |
6356 | void *argp2 = 0 ; | |
6357 | int res2 = 0 ; | |
6358 | PyObject *swig_obj[2] ; | |
6359 | ||
5eb8189c RD |
6360 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6361 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6362 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6364 | } |
5eb8189c | 6365 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6366 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6367 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6368 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6369 | } |
10044bf1 | 6370 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6371 | if (arg1) (arg1)->frame = arg2; |
6372 | ||
6373 | resultobj = SWIG_Py_Void(); | |
6374 | return resultobj; | |
6375 | fail: | |
6376 | return NULL; | |
6377 | } | |
6378 | ||
6379 | ||
5eb8189c | 6380 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6381 | PyObject *resultobj = 0; |
5eb8189c | 6382 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6383 | wxFrame *result = 0 ; |
27e45892 RD |
6384 | void *argp1 = 0 ; |
6385 | int res1 = 0 ; | |
6386 | PyObject *swig_obj[1] ; | |
6387 | ||
6388 | if (!args) SWIG_fail; | |
6389 | swig_obj[0] = args; | |
5eb8189c | 6390 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6391 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6393 | } |
5eb8189c | 6394 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6395 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6396 | { |
6397 | resultobj = wxPyMake_wxObject(result, 0); | |
6398 | } | |
6399 | return resultobj; | |
6400 | fail: | |
6401 | return NULL; | |
6402 | } | |
6403 | ||
6404 | ||
5eb8189c | 6405 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6406 | PyObject *resultobj = 0; |
5eb8189c | 6407 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6408 | int arg2 ; |
6409 | void *argp1 = 0 ; | |
6410 | int res1 = 0 ; | |
6411 | int val2 ; | |
6412 | int ecode2 = 0 ; | |
6413 | PyObject *swig_obj[2] ; | |
6414 | ||
5eb8189c RD |
6415 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6416 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6417 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6419 | } |
5eb8189c | 6420 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6421 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6422 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6423 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6424 | } |
6425 | arg2 = static_cast< int >(val2); | |
6426 | if (arg1) (arg1)->state = arg2; | |
6427 | ||
6428 | resultobj = SWIG_Py_Void(); | |
6429 | return resultobj; | |
6430 | fail: | |
6431 | return NULL; | |
6432 | } | |
6433 | ||
6434 | ||
5eb8189c | 6435 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6436 | PyObject *resultobj = 0; |
5eb8189c | 6437 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6438 | int result; |
6439 | void *argp1 = 0 ; | |
6440 | int res1 = 0 ; | |
6441 | PyObject *swig_obj[1] ; | |
6442 | ||
6443 | if (!args) SWIG_fail; | |
6444 | swig_obj[0] = args; | |
5eb8189c | 6445 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6446 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6447 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6448 | } |
5eb8189c | 6449 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6450 | result = (int) ((arg1)->state); |
6451 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6452 | return resultobj; | |
6453 | fail: | |
6454 | return NULL; | |
6455 | } | |
6456 | ||
6457 | ||
5eb8189c | 6458 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6459 | PyObject *resultobj = 0; |
5eb8189c | 6460 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6461 | int arg2 ; |
6462 | void *argp1 = 0 ; | |
6463 | int res1 = 0 ; | |
6464 | int val2 ; | |
6465 | int ecode2 = 0 ; | |
6466 | PyObject *swig_obj[2] ; | |
6467 | ||
5eb8189c RD |
6468 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6469 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6470 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6471 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6472 | } |
5eb8189c | 6473 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6474 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6475 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6476 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6477 | } |
6478 | arg2 = static_cast< int >(val2); | |
6479 | if (arg1) (arg1)->dock_direction = arg2; | |
6480 | ||
6481 | resultobj = SWIG_Py_Void(); | |
6482 | return resultobj; | |
6483 | fail: | |
6484 | return NULL; | |
6485 | } | |
6486 | ||
6487 | ||
5eb8189c | 6488 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6489 | PyObject *resultobj = 0; |
5eb8189c | 6490 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6491 | int result; |
6492 | void *argp1 = 0 ; | |
6493 | int res1 = 0 ; | |
6494 | PyObject *swig_obj[1] ; | |
6495 | ||
6496 | if (!args) SWIG_fail; | |
6497 | swig_obj[0] = args; | |
5eb8189c | 6498 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6499 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6501 | } |
5eb8189c | 6502 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6503 | result = (int) ((arg1)->dock_direction); |
6504 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6505 | return resultobj; | |
6506 | fail: | |
6507 | return NULL; | |
6508 | } | |
6509 | ||
6510 | ||
5eb8189c | 6511 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6512 | PyObject *resultobj = 0; |
5eb8189c | 6513 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6514 | int arg2 ; |
6515 | void *argp1 = 0 ; | |
6516 | int res1 = 0 ; | |
6517 | int val2 ; | |
6518 | int ecode2 = 0 ; | |
6519 | PyObject *swig_obj[2] ; | |
6520 | ||
5eb8189c RD |
6521 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6522 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6523 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6525 | } |
5eb8189c | 6526 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6527 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6528 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6529 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6530 | } |
6531 | arg2 = static_cast< int >(val2); | |
6532 | if (arg1) (arg1)->dock_layer = arg2; | |
6533 | ||
6534 | resultobj = SWIG_Py_Void(); | |
6535 | return resultobj; | |
6536 | fail: | |
6537 | return NULL; | |
6538 | } | |
6539 | ||
6540 | ||
5eb8189c | 6541 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6542 | PyObject *resultobj = 0; |
5eb8189c | 6543 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6544 | int result; |
6545 | void *argp1 = 0 ; | |
6546 | int res1 = 0 ; | |
6547 | PyObject *swig_obj[1] ; | |
6548 | ||
6549 | if (!args) SWIG_fail; | |
6550 | swig_obj[0] = args; | |
5eb8189c | 6551 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6552 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6553 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6554 | } |
5eb8189c | 6555 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6556 | result = (int) ((arg1)->dock_layer); |
6557 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6558 | return resultobj; | |
6559 | fail: | |
6560 | return NULL; | |
6561 | } | |
6562 | ||
6563 | ||
5eb8189c | 6564 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6565 | PyObject *resultobj = 0; |
5eb8189c | 6566 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6567 | int arg2 ; |
6568 | void *argp1 = 0 ; | |
6569 | int res1 = 0 ; | |
6570 | int val2 ; | |
6571 | int ecode2 = 0 ; | |
6572 | PyObject *swig_obj[2] ; | |
6573 | ||
5eb8189c RD |
6574 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6576 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6578 | } |
5eb8189c | 6579 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6580 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6581 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6582 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6583 | } |
6584 | arg2 = static_cast< int >(val2); | |
6585 | if (arg1) (arg1)->dock_row = arg2; | |
6586 | ||
6587 | resultobj = SWIG_Py_Void(); | |
6588 | return resultobj; | |
6589 | fail: | |
6590 | return NULL; | |
6591 | } | |
6592 | ||
6593 | ||
5eb8189c | 6594 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6595 | PyObject *resultobj = 0; |
5eb8189c | 6596 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6597 | int result; |
6598 | void *argp1 = 0 ; | |
6599 | int res1 = 0 ; | |
6600 | PyObject *swig_obj[1] ; | |
6601 | ||
6602 | if (!args) SWIG_fail; | |
6603 | swig_obj[0] = args; | |
5eb8189c | 6604 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6605 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6607 | } |
5eb8189c | 6608 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6609 | result = (int) ((arg1)->dock_row); |
6610 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6611 | return resultobj; | |
6612 | fail: | |
6613 | return NULL; | |
6614 | } | |
6615 | ||
6616 | ||
5eb8189c | 6617 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6618 | PyObject *resultobj = 0; |
5eb8189c | 6619 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6620 | int arg2 ; |
6621 | void *argp1 = 0 ; | |
6622 | int res1 = 0 ; | |
6623 | int val2 ; | |
6624 | int ecode2 = 0 ; | |
6625 | PyObject *swig_obj[2] ; | |
6626 | ||
5eb8189c RD |
6627 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6628 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6629 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6631 | } |
5eb8189c | 6632 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6633 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6634 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6635 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6636 | } |
6637 | arg2 = static_cast< int >(val2); | |
6638 | if (arg1) (arg1)->dock_pos = arg2; | |
6639 | ||
6640 | resultobj = SWIG_Py_Void(); | |
6641 | return resultobj; | |
6642 | fail: | |
6643 | return NULL; | |
6644 | } | |
6645 | ||
6646 | ||
5eb8189c | 6647 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6648 | PyObject *resultobj = 0; |
5eb8189c | 6649 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6650 | int result; |
6651 | void *argp1 = 0 ; | |
6652 | int res1 = 0 ; | |
6653 | PyObject *swig_obj[1] ; | |
6654 | ||
6655 | if (!args) SWIG_fail; | |
6656 | swig_obj[0] = args; | |
5eb8189c | 6657 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6658 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6660 | } |
5eb8189c | 6661 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6662 | result = (int) ((arg1)->dock_pos); |
6663 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6664 | return resultobj; | |
6665 | fail: | |
6666 | return NULL; | |
6667 | } | |
6668 | ||
6669 | ||
5eb8189c | 6670 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6671 | PyObject *resultobj = 0; |
5eb8189c | 6672 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6673 | wxSize *arg2 = (wxSize *) 0 ; |
6674 | void *argp1 = 0 ; | |
6675 | int res1 = 0 ; | |
6676 | void *argp2 = 0 ; | |
6677 | int res2 = 0 ; | |
6678 | PyObject *swig_obj[2] ; | |
6679 | ||
5eb8189c RD |
6680 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6681 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6682 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6683 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6684 | } |
5eb8189c | 6685 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6686 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6687 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6688 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6689 | } |
6690 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6691 | if (arg1) (arg1)->best_size = *arg2; | |
6692 | ||
6693 | resultobj = SWIG_Py_Void(); | |
6694 | return resultobj; | |
6695 | fail: | |
6696 | return NULL; | |
6697 | } | |
6698 | ||
6699 | ||
5eb8189c | 6700 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6701 | PyObject *resultobj = 0; |
5eb8189c | 6702 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6703 | wxSize *result = 0 ; |
6704 | void *argp1 = 0 ; | |
6705 | int res1 = 0 ; | |
6706 | PyObject *swig_obj[1] ; | |
6707 | ||
6708 | if (!args) SWIG_fail; | |
6709 | swig_obj[0] = args; | |
5eb8189c | 6710 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6711 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6713 | } |
5eb8189c | 6714 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6715 | result = (wxSize *)& ((arg1)->best_size); |
6716 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6717 | return resultobj; | |
6718 | fail: | |
6719 | return NULL; | |
6720 | } | |
6721 | ||
6722 | ||
5eb8189c | 6723 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6724 | PyObject *resultobj = 0; |
5eb8189c | 6725 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6726 | wxSize *arg2 = (wxSize *) 0 ; |
6727 | void *argp1 = 0 ; | |
6728 | int res1 = 0 ; | |
6729 | void *argp2 = 0 ; | |
6730 | int res2 = 0 ; | |
6731 | PyObject *swig_obj[2] ; | |
6732 | ||
5eb8189c RD |
6733 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6734 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6735 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6736 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6737 | } |
5eb8189c | 6738 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6739 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6740 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6741 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6742 | } |
6743 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6744 | if (arg1) (arg1)->min_size = *arg2; | |
6745 | ||
6746 | resultobj = SWIG_Py_Void(); | |
6747 | return resultobj; | |
6748 | fail: | |
6749 | return NULL; | |
6750 | } | |
6751 | ||
6752 | ||
5eb8189c | 6753 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6754 | PyObject *resultobj = 0; |
5eb8189c | 6755 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6756 | wxSize *result = 0 ; |
6757 | void *argp1 = 0 ; | |
6758 | int res1 = 0 ; | |
6759 | PyObject *swig_obj[1] ; | |
6760 | ||
6761 | if (!args) SWIG_fail; | |
6762 | swig_obj[0] = args; | |
5eb8189c | 6763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6764 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6766 | } |
5eb8189c | 6767 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6768 | result = (wxSize *)& ((arg1)->min_size); |
6769 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6770 | return resultobj; | |
6771 | fail: | |
6772 | return NULL; | |
6773 | } | |
6774 | ||
6775 | ||
5eb8189c | 6776 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6777 | PyObject *resultobj = 0; |
5eb8189c | 6778 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6779 | wxSize *arg2 = (wxSize *) 0 ; |
6780 | void *argp1 = 0 ; | |
6781 | int res1 = 0 ; | |
6782 | void *argp2 = 0 ; | |
6783 | int res2 = 0 ; | |
6784 | PyObject *swig_obj[2] ; | |
6785 | ||
5eb8189c RD |
6786 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6787 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6788 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6789 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6790 | } |
5eb8189c | 6791 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6792 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6793 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6794 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6795 | } |
6796 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6797 | if (arg1) (arg1)->max_size = *arg2; | |
6798 | ||
6799 | resultobj = SWIG_Py_Void(); | |
6800 | return resultobj; | |
6801 | fail: | |
6802 | return NULL; | |
6803 | } | |
6804 | ||
6805 | ||
5eb8189c | 6806 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6807 | PyObject *resultobj = 0; |
5eb8189c | 6808 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6809 | wxSize *result = 0 ; |
6810 | void *argp1 = 0 ; | |
6811 | int res1 = 0 ; | |
6812 | PyObject *swig_obj[1] ; | |
6813 | ||
6814 | if (!args) SWIG_fail; | |
6815 | swig_obj[0] = args; | |
5eb8189c | 6816 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6817 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6819 | } |
5eb8189c | 6820 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6821 | result = (wxSize *)& ((arg1)->max_size); |
6822 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6823 | return resultobj; | |
6824 | fail: | |
6825 | return NULL; | |
6826 | } | |
6827 | ||
6828 | ||
5eb8189c | 6829 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6830 | PyObject *resultobj = 0; |
5eb8189c | 6831 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6832 | wxPoint *arg2 = (wxPoint *) 0 ; |
6833 | void *argp1 = 0 ; | |
6834 | int res1 = 0 ; | |
6835 | void *argp2 = 0 ; | |
6836 | int res2 = 0 ; | |
6837 | PyObject *swig_obj[2] ; | |
6838 | ||
5eb8189c RD |
6839 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6840 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6841 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6843 | } |
5eb8189c | 6844 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6845 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6846 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6847 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6848 | } |
6849 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6850 | if (arg1) (arg1)->floating_pos = *arg2; | |
6851 | ||
6852 | resultobj = SWIG_Py_Void(); | |
6853 | return resultobj; | |
6854 | fail: | |
6855 | return NULL; | |
6856 | } | |
6857 | ||
6858 | ||
5eb8189c | 6859 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6860 | PyObject *resultobj = 0; |
5eb8189c | 6861 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6862 | wxPoint *result = 0 ; |
6863 | void *argp1 = 0 ; | |
6864 | int res1 = 0 ; | |
6865 | PyObject *swig_obj[1] ; | |
6866 | ||
6867 | if (!args) SWIG_fail; | |
6868 | swig_obj[0] = args; | |
5eb8189c | 6869 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6870 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6872 | } |
5eb8189c | 6873 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6874 | result = (wxPoint *)& ((arg1)->floating_pos); |
6875 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6876 | return resultobj; | |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
5eb8189c | 6882 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6883 | PyObject *resultobj = 0; |
5eb8189c | 6884 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6885 | wxSize *arg2 = (wxSize *) 0 ; |
6886 | void *argp1 = 0 ; | |
6887 | int res1 = 0 ; | |
6888 | void *argp2 = 0 ; | |
6889 | int res2 = 0 ; | |
6890 | PyObject *swig_obj[2] ; | |
6891 | ||
5eb8189c RD |
6892 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6893 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6894 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6895 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6896 | } |
5eb8189c | 6897 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6898 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6899 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6900 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6901 | } |
6902 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6903 | if (arg1) (arg1)->floating_size = *arg2; | |
6904 | ||
6905 | resultobj = SWIG_Py_Void(); | |
6906 | return resultobj; | |
6907 | fail: | |
6908 | return NULL; | |
6909 | } | |
6910 | ||
6911 | ||
5eb8189c | 6912 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6913 | PyObject *resultobj = 0; |
5eb8189c | 6914 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6915 | wxSize *result = 0 ; |
6916 | void *argp1 = 0 ; | |
6917 | int res1 = 0 ; | |
6918 | PyObject *swig_obj[1] ; | |
6919 | ||
6920 | if (!args) SWIG_fail; | |
6921 | swig_obj[0] = args; | |
5eb8189c | 6922 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6923 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6925 | } |
5eb8189c | 6926 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6927 | result = (wxSize *)& ((arg1)->floating_size); |
6928 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6929 | return resultobj; | |
6930 | fail: | |
6931 | return NULL; | |
6932 | } | |
6933 | ||
6934 | ||
5eb8189c | 6935 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6936 | PyObject *resultobj = 0; |
5eb8189c | 6937 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6938 | int arg2 ; |
6939 | void *argp1 = 0 ; | |
6940 | int res1 = 0 ; | |
6941 | int val2 ; | |
6942 | int ecode2 = 0 ; | |
6943 | PyObject *swig_obj[2] ; | |
6944 | ||
5eb8189c RD |
6945 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6947 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6949 | } |
5eb8189c | 6950 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6951 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6952 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6953 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6954 | } |
6955 | arg2 = static_cast< int >(val2); | |
6956 | if (arg1) (arg1)->dock_proportion = arg2; | |
6957 | ||
6958 | resultobj = SWIG_Py_Void(); | |
6959 | return resultobj; | |
6960 | fail: | |
6961 | return NULL; | |
6962 | } | |
6963 | ||
6964 | ||
5eb8189c | 6965 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6966 | PyObject *resultobj = 0; |
5eb8189c | 6967 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6968 | int result; |
6969 | void *argp1 = 0 ; | |
6970 | int res1 = 0 ; | |
6971 | PyObject *swig_obj[1] ; | |
6972 | ||
6973 | if (!args) SWIG_fail; | |
6974 | swig_obj[0] = args; | |
5eb8189c | 6975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6976 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6978 | } |
5eb8189c | 6979 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6980 | result = (int) ((arg1)->dock_proportion); |
6981 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6982 | return resultobj; | |
6983 | fail: | |
6984 | return NULL; | |
6985 | } | |
6986 | ||
6987 | ||
5eb8189c | 6988 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6989 | PyObject *resultobj = 0; |
5eb8189c RD |
6990 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6991 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6992 | void *argp1 = 0 ; |
6993 | int res1 = 0 ; | |
6994 | void *argp2 ; | |
6995 | int res2 = 0 ; | |
6996 | PyObject *swig_obj[2] ; | |
6997 | ||
5eb8189c RD |
6998 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6999 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7000 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7001 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7002 | } |
5eb8189c | 7003 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7004 | { |
5eb8189c | 7005 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 7006 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7007 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
7008 | } |
7009 | if (!argp2) { | |
5eb8189c | 7010 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 7011 | } else { |
5eb8189c | 7012 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
7013 | arg2 = *temp; |
7014 | if (SWIG_IsNewObj(res2)) delete temp; | |
7015 | } | |
7016 | } | |
7017 | if (arg1) (arg1)->buttons = arg2; | |
7018 | ||
7019 | resultobj = SWIG_Py_Void(); | |
7020 | return resultobj; | |
7021 | fail: | |
7022 | return NULL; | |
7023 | } | |
7024 | ||
7025 | ||
5eb8189c | 7026 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7027 | PyObject *resultobj = 0; |
5eb8189c RD |
7028 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
7029 | wxAuiPaneButtonArray result; | |
27e45892 RD |
7030 | void *argp1 = 0 ; |
7031 | int res1 = 0 ; | |
7032 | PyObject *swig_obj[1] ; | |
7033 | ||
7034 | if (!args) SWIG_fail; | |
7035 | swig_obj[0] = args; | |
5eb8189c | 7036 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7037 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7039 | } |
5eb8189c | 7040 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7041 | result = ((arg1)->buttons); |
5eb8189c | 7042 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7043 | return resultobj; |
7044 | fail: | |
7045 | return NULL; | |
7046 | } | |
7047 | ||
7048 | ||
5eb8189c | 7049 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7050 | PyObject *resultobj = 0; |
5eb8189c | 7051 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7052 | wxRect *arg2 = (wxRect *) 0 ; |
7053 | void *argp1 = 0 ; | |
7054 | int res1 = 0 ; | |
7055 | void *argp2 = 0 ; | |
7056 | int res2 = 0 ; | |
7057 | PyObject *swig_obj[2] ; | |
7058 | ||
5eb8189c RD |
7059 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7060 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7061 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7063 | } |
5eb8189c | 7064 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7065 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7066 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7067 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7068 | } |
7069 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7070 | if (arg1) (arg1)->rect = *arg2; | |
7071 | ||
7072 | resultobj = SWIG_Py_Void(); | |
7073 | return resultobj; | |
7074 | fail: | |
7075 | return NULL; | |
7076 | } | |
7077 | ||
7078 | ||
5eb8189c | 7079 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7080 | PyObject *resultobj = 0; |
5eb8189c | 7081 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7082 | wxRect *result = 0 ; |
7083 | void *argp1 = 0 ; | |
7084 | int res1 = 0 ; | |
7085 | PyObject *swig_obj[1] ; | |
7086 | ||
7087 | if (!args) SWIG_fail; | |
7088 | swig_obj[0] = args; | |
5eb8189c | 7089 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7090 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7091 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7092 | } |
5eb8189c | 7093 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7094 | result = (wxRect *)& ((arg1)->rect); |
7095 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7096 | return resultobj; | |
7097 | fail: | |
7098 | return NULL; | |
7099 | } | |
7100 | ||
7101 | ||
5eb8189c | 7102 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7103 | PyObject *obj; |
7104 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7105 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7106 | return SWIG_Py_Void(); |
7107 | } | |
7108 | ||
5eb8189c | 7109 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7110 | return SWIG_Python_InitShadowInstance(args); |
7111 | } | |
7112 | ||
5eb8189c | 7113 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7114 | PyObject *resultobj = 0; |
10044bf1 | 7115 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7116 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7117 | wxAuiManager *result = 0 ; |
27e45892 RD |
7118 | void *argp1 = 0 ; |
7119 | int res1 = 0 ; | |
7120 | int val2 ; | |
7121 | int ecode2 = 0 ; | |
7122 | PyObject * obj0 = 0 ; | |
7123 | PyObject * obj1 = 0 ; | |
7124 | char * kwnames[] = { | |
10044bf1 | 7125 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7126 | }; |
7127 | ||
5eb8189c | 7128 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7129 | if (obj0) { |
10044bf1 | 7130 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7131 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7133 | } |
10044bf1 | 7134 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7135 | } |
7136 | if (obj1) { | |
7137 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7138 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7139 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7140 | } |
7141 | arg2 = static_cast< int >(val2); | |
7142 | } | |
7143 | { | |
7144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7145 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7146 | wxPyEndAllowThreads(__tstate); |
7147 | if (PyErr_Occurred()) SWIG_fail; | |
7148 | } | |
5eb8189c | 7149 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7150 | return resultobj; |
7151 | fail: | |
7152 | return NULL; | |
7153 | } | |
7154 | ||
7155 | ||
5eb8189c | 7156 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7157 | PyObject *resultobj = 0; |
5eb8189c | 7158 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7159 | void *argp1 = 0 ; |
7160 | int res1 = 0 ; | |
7161 | PyObject *swig_obj[1] ; | |
7162 | ||
7163 | if (!args) SWIG_fail; | |
7164 | swig_obj[0] = args; | |
5eb8189c | 7165 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7166 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7168 | } |
5eb8189c | 7169 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7170 | { |
7171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7172 | delete arg1; | |
7173 | ||
7174 | wxPyEndAllowThreads(__tstate); | |
7175 | if (PyErr_Occurred()) SWIG_fail; | |
7176 | } | |
7177 | resultobj = SWIG_Py_Void(); | |
7178 | return resultobj; | |
7179 | fail: | |
7180 | return NULL; | |
7181 | } | |
7182 | ||
7183 | ||
5eb8189c | 7184 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7185 | PyObject *resultobj = 0; |
5eb8189c | 7186 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7187 | void *argp1 = 0 ; |
7188 | int res1 = 0 ; | |
7189 | PyObject *swig_obj[1] ; | |
7190 | ||
7191 | if (!args) SWIG_fail; | |
7192 | swig_obj[0] = args; | |
5eb8189c | 7193 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7194 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7196 | } |
5eb8189c | 7197 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7198 | { |
7199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7200 | (arg1)->UnInit(); | |
7201 | wxPyEndAllowThreads(__tstate); | |
7202 | if (PyErr_Occurred()) SWIG_fail; | |
7203 | } | |
7204 | resultobj = SWIG_Py_Void(); | |
7205 | return resultobj; | |
7206 | fail: | |
7207 | return NULL; | |
7208 | } | |
7209 | ||
7210 | ||
5eb8189c | 7211 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7212 | PyObject *resultobj = 0; |
5eb8189c | 7213 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7214 | int arg2 ; |
7215 | void *argp1 = 0 ; | |
7216 | int res1 = 0 ; | |
7217 | int val2 ; | |
7218 | int ecode2 = 0 ; | |
7219 | PyObject * obj0 = 0 ; | |
7220 | PyObject * obj1 = 0 ; | |
7221 | char * kwnames[] = { | |
7222 | (char *) "self",(char *) "flags", NULL | |
7223 | }; | |
7224 | ||
5eb8189c RD |
7225 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7227 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7229 | } |
5eb8189c | 7230 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7231 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7232 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7233 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7234 | } |
7235 | arg2 = static_cast< int >(val2); | |
7236 | { | |
7237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7238 | (arg1)->SetFlags(arg2); | |
7239 | wxPyEndAllowThreads(__tstate); | |
7240 | if (PyErr_Occurred()) SWIG_fail; | |
7241 | } | |
7242 | resultobj = SWIG_Py_Void(); | |
7243 | return resultobj; | |
7244 | fail: | |
7245 | return NULL; | |
7246 | } | |
7247 | ||
7248 | ||
5eb8189c | 7249 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7250 | PyObject *resultobj = 0; |
5eb8189c | 7251 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7252 | int result; |
7253 | void *argp1 = 0 ; | |
7254 | int res1 = 0 ; | |
7255 | PyObject *swig_obj[1] ; | |
7256 | ||
7257 | if (!args) SWIG_fail; | |
7258 | swig_obj[0] = args; | |
5eb8189c | 7259 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7260 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7261 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7262 | } |
5eb8189c | 7263 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7264 | { |
7265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7266 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7267 | wxPyEndAllowThreads(__tstate); |
7268 | if (PyErr_Occurred()) SWIG_fail; | |
7269 | } | |
7270 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7271 | return resultobj; | |
7272 | fail: | |
7273 | return NULL; | |
7274 | } | |
7275 | ||
7276 | ||
5eb8189c | 7277 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7278 | PyObject *resultobj = 0; |
5eb8189c | 7279 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7280 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7281 | void *argp1 = 0 ; |
7282 | int res1 = 0 ; | |
7283 | void *argp2 = 0 ; | |
7284 | int res2 = 0 ; | |
7285 | PyObject * obj0 = 0 ; | |
7286 | PyObject * obj1 = 0 ; | |
7287 | char * kwnames[] = { | |
10044bf1 | 7288 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7289 | }; |
7290 | ||
5eb8189c RD |
7291 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7292 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7293 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7295 | } |
5eb8189c | 7296 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7297 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7298 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7299 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7300 | } |
1d5ee749 | 7301 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7302 | { |
7303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7304 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7305 | wxPyEndAllowThreads(__tstate); |
7306 | if (PyErr_Occurred()) SWIG_fail; | |
7307 | } | |
7308 | resultobj = SWIG_Py_Void(); | |
7309 | return resultobj; | |
7310 | fail: | |
7311 | return NULL; | |
7312 | } | |
7313 | ||
7314 | ||
5eb8189c | 7315 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7316 | PyObject *resultobj = 0; |
5eb8189c | 7317 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7318 | wxWindow *result = 0 ; |
27e45892 RD |
7319 | void *argp1 = 0 ; |
7320 | int res1 = 0 ; | |
7321 | PyObject *swig_obj[1] ; | |
7322 | ||
7323 | if (!args) SWIG_fail; | |
7324 | swig_obj[0] = args; | |
5eb8189c | 7325 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7326 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7327 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7328 | } |
5eb8189c | 7329 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7330 | { |
7331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7332 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7333 | wxPyEndAllowThreads(__tstate); |
7334 | if (PyErr_Occurred()) SWIG_fail; | |
7335 | } | |
7336 | { | |
7337 | resultobj = wxPyMake_wxObject(result, 0); | |
7338 | } | |
7339 | return resultobj; | |
7340 | fail: | |
7341 | return NULL; | |
7342 | } | |
7343 | ||
7344 | ||
5eb8189c | 7345 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7346 | PyObject *resultobj = 0; |
5eb8189c RD |
7347 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7348 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7349 | void *argp1 = 0 ; |
7350 | int res1 = 0 ; | |
7351 | int res2 = 0 ; | |
7352 | PyObject * obj0 = 0 ; | |
7353 | PyObject * obj1 = 0 ; | |
7354 | char * kwnames[] = { | |
7355 | (char *) "self",(char *) "art_provider", NULL | |
7356 | }; | |
7357 | ||
5eb8189c RD |
7358 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7359 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7360 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7361 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7362 | } |
5eb8189c RD |
7363 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7364 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7365 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7366 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7367 | } |
7368 | { | |
7369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7370 | (arg1)->SetArtProvider(arg2); | |
7371 | wxPyEndAllowThreads(__tstate); | |
7372 | if (PyErr_Occurred()) SWIG_fail; | |
7373 | } | |
7374 | resultobj = SWIG_Py_Void(); | |
7375 | return resultobj; | |
7376 | fail: | |
7377 | return NULL; | |
7378 | } | |
7379 | ||
7380 | ||
5eb8189c | 7381 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7382 | PyObject *resultobj = 0; |
5eb8189c RD |
7383 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7384 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7385 | void *argp1 = 0 ; |
7386 | int res1 = 0 ; | |
7387 | PyObject *swig_obj[1] ; | |
7388 | ||
7389 | if (!args) SWIG_fail; | |
7390 | swig_obj[0] = args; | |
5eb8189c | 7391 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7392 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7394 | } |
5eb8189c | 7395 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7396 | { |
7397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7398 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7399 | wxPyEndAllowThreads(__tstate); |
7400 | if (PyErr_Occurred()) SWIG_fail; | |
7401 | } | |
5eb8189c | 7402 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7403 | return resultobj; |
7404 | fail: | |
7405 | return NULL; | |
7406 | } | |
7407 | ||
7408 | ||
5eb8189c | 7409 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7410 | PyObject *resultobj = 0; |
5eb8189c | 7411 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7412 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7413 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7414 | void *argp1 = 0 ; |
7415 | int res1 = 0 ; | |
7416 | void *argp2 = 0 ; | |
7417 | int res2 = 0 ; | |
7418 | PyObject * obj0 = 0 ; | |
7419 | PyObject * obj1 = 0 ; | |
7420 | char * kwnames[] = { | |
7421 | (char *) "self",(char *) "window", NULL | |
7422 | }; | |
7423 | ||
5eb8189c RD |
7424 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7425 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7426 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7428 | } |
5eb8189c | 7429 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7430 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7431 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7432 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7433 | } |
7434 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7435 | { | |
7436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7437 | { | |
5eb8189c RD |
7438 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7439 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7440 | } |
7441 | wxPyEndAllowThreads(__tstate); | |
7442 | if (PyErr_Occurred()) SWIG_fail; | |
7443 | } | |
5eb8189c | 7444 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7445 | return resultobj; |
7446 | fail: | |
7447 | return NULL; | |
7448 | } | |
7449 | ||
7450 | ||
5eb8189c | 7451 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7452 | PyObject *resultobj = 0; |
5eb8189c | 7453 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7454 | wxString *arg2 = 0 ; |
5eb8189c | 7455 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7456 | void *argp1 = 0 ; |
7457 | int res1 = 0 ; | |
7458 | bool temp2 = false ; | |
7459 | PyObject * obj0 = 0 ; | |
7460 | PyObject * obj1 = 0 ; | |
7461 | char * kwnames[] = { | |
7462 | (char *) "self",(char *) "name", NULL | |
7463 | }; | |
7464 | ||
5eb8189c RD |
7465 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7466 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7467 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7469 | } |
5eb8189c | 7470 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7471 | { |
7472 | arg2 = wxString_in_helper(obj1); | |
7473 | if (arg2 == NULL) SWIG_fail; | |
7474 | temp2 = true; | |
7475 | } | |
7476 | { | |
7477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7478 | { | |
5eb8189c RD |
7479 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7480 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7481 | } |
7482 | wxPyEndAllowThreads(__tstate); | |
7483 | if (PyErr_Occurred()) SWIG_fail; | |
7484 | } | |
5eb8189c | 7485 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7486 | { |
7487 | if (temp2) | |
7488 | delete arg2; | |
7489 | } | |
7490 | return resultobj; | |
7491 | fail: | |
7492 | { | |
7493 | if (temp2) | |
7494 | delete arg2; | |
7495 | } | |
7496 | return NULL; | |
7497 | } | |
7498 | ||
7499 | ||
5eb8189c | 7500 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7501 | PyObject *resultobj = 0; |
5eb8189c RD |
7502 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7503 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7504 | void *argp1 = 0 ; |
7505 | int res1 = 0 ; | |
7506 | PyObject *swig_obj[1] ; | |
7507 | ||
7508 | if (!args) SWIG_fail; | |
7509 | swig_obj[0] = args; | |
5eb8189c | 7510 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7511 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7512 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7513 | } |
5eb8189c | 7514 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7515 | { |
7516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7517 | { | |
5eb8189c RD |
7518 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7519 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7520 | } |
7521 | wxPyEndAllowThreads(__tstate); | |
7522 | if (PyErr_Occurred()) SWIG_fail; | |
7523 | } | |
7524 | { | |
7525 | resultobj = PyList_New(0); | |
7526 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7527 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7528 | PyList_Append(resultobj, pane_obj); |
7529 | } | |
7530 | } | |
7531 | return resultobj; | |
7532 | fail: | |
7533 | return NULL; | |
7534 | } | |
7535 | ||
7536 | ||
36cb9ebe | 7537 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7538 | PyObject *resultobj = 0; |
5eb8189c | 7539 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7540 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7541 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7542 | bool result; |
7543 | void *argp1 = 0 ; | |
7544 | int res1 = 0 ; | |
7545 | void *argp2 = 0 ; | |
7546 | int res2 = 0 ; | |
7547 | void *argp3 = 0 ; | |
7548 | int res3 = 0 ; | |
36cb9ebe RD |
7549 | PyObject * obj0 = 0 ; |
7550 | PyObject * obj1 = 0 ; | |
7551 | PyObject * obj2 = 0 ; | |
7552 | char * kwnames[] = { | |
7553 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7554 | }; | |
27e45892 | 7555 | |
36cb9ebe RD |
7556 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7557 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7558 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7559 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7560 | } |
5eb8189c | 7561 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7562 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7563 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7564 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7565 | } |
7566 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7567 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7568 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7569 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7570 | } |
7571 | if (!argp3) { | |
36cb9ebe | 7572 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7573 | } |
5eb8189c | 7574 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7575 | { |
7576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7577 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7578 | wxPyEndAllowThreads(__tstate); |
7579 | if (PyErr_Occurred()) SWIG_fail; | |
7580 | } | |
7581 | { | |
7582 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7583 | } | |
7584 | return resultobj; | |
7585 | fail: | |
7586 | return NULL; | |
7587 | } | |
7588 | ||
7589 | ||
36cb9ebe | 7590 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7591 | PyObject *resultobj = 0; |
5eb8189c | 7592 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7593 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7594 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7595 | wxPoint *arg4 = 0 ; |
7596 | bool result; | |
7597 | void *argp1 = 0 ; | |
7598 | int res1 = 0 ; | |
7599 | void *argp2 = 0 ; | |
7600 | int res2 = 0 ; | |
7601 | void *argp3 = 0 ; | |
7602 | int res3 = 0 ; | |
7603 | wxPoint temp4 ; | |
36cb9ebe RD |
7604 | PyObject * obj0 = 0 ; |
7605 | PyObject * obj1 = 0 ; | |
7606 | PyObject * obj2 = 0 ; | |
7607 | PyObject * obj3 = 0 ; | |
7608 | char * kwnames[] = { | |
7609 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7610 | }; | |
10044bf1 | 7611 | |
36cb9ebe RD |
7612 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7613 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7614 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7616 | } |
5eb8189c | 7617 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7618 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7619 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7620 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7621 | } |
7622 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7623 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7624 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7625 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7626 | } |
7627 | if (!argp3) { | |
5eb8189c | 7628 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7629 | } |
5eb8189c | 7630 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7631 | { |
7632 | arg4 = &temp4; | |
36cb9ebe | 7633 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7634 | } |
7635 | { | |
7636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7637 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7638 | wxPyEndAllowThreads(__tstate); |
7639 | if (PyErr_Occurred()) SWIG_fail; | |
7640 | } | |
7641 | { | |
7642 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7643 | } | |
7644 | return resultobj; | |
7645 | fail: | |
7646 | return NULL; | |
7647 | } | |
7648 | ||
7649 | ||
5eb8189c | 7650 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7651 | PyObject *resultobj = 0; |
5eb8189c | 7652 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7653 | wxWindow *arg2 = (wxWindow *) 0 ; |
7654 | int arg3 = (int) wxLEFT ; | |
7655 | wxString const &arg4_defvalue = wxEmptyString ; | |
7656 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7657 | bool result; | |
7658 | void *argp1 = 0 ; | |
7659 | int res1 = 0 ; | |
7660 | void *argp2 = 0 ; | |
7661 | int res2 = 0 ; | |
7662 | int val3 ; | |
7663 | int ecode3 = 0 ; | |
7664 | bool temp4 = false ; | |
7665 | PyObject * obj0 = 0 ; | |
7666 | PyObject * obj1 = 0 ; | |
7667 | PyObject * obj2 = 0 ; | |
7668 | PyObject * obj3 = 0 ; | |
7669 | char * kwnames[] = { | |
7670 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7671 | }; | |
7672 | ||
5eb8189c RD |
7673 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7674 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7675 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7677 | } |
5eb8189c | 7678 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7679 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7680 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7681 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7682 | } |
7683 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7684 | if (obj2) { | |
7685 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7686 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7687 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7688 | } |
7689 | arg3 = static_cast< int >(val3); | |
7690 | } | |
7691 | if (obj3) { | |
7692 | { | |
7693 | arg4 = wxString_in_helper(obj3); | |
7694 | if (arg4 == NULL) SWIG_fail; | |
7695 | temp4 = true; | |
7696 | } | |
7697 | } | |
7698 | { | |
7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7700 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7701 | wxPyEndAllowThreads(__tstate); | |
7702 | if (PyErr_Occurred()) SWIG_fail; | |
7703 | } | |
7704 | { | |
7705 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7706 | } | |
7707 | { | |
7708 | if (temp4) | |
7709 | delete arg4; | |
7710 | } | |
7711 | return resultobj; | |
7712 | fail: | |
7713 | { | |
7714 | if (temp4) | |
7715 | delete arg4; | |
7716 | } | |
7717 | return NULL; | |
7718 | } | |
7719 | ||
7720 | ||
5eb8189c | 7721 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7722 | PyObject *resultobj = 0; |
5eb8189c | 7723 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7724 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7725 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7726 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7727 | bool result; | |
7728 | void *argp1 = 0 ; | |
7729 | int res1 = 0 ; | |
7730 | void *argp2 = 0 ; | |
7731 | int res2 = 0 ; | |
7732 | void *argp3 = 0 ; | |
7733 | int res3 = 0 ; | |
7734 | int val4 ; | |
7735 | int ecode4 = 0 ; | |
7736 | PyObject * obj0 = 0 ; | |
7737 | PyObject * obj1 = 0 ; | |
7738 | PyObject * obj2 = 0 ; | |
7739 | PyObject * obj3 = 0 ; | |
7740 | char * kwnames[] = { | |
7741 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7742 | }; | |
7743 | ||
5eb8189c RD |
7744 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7745 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7746 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7747 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7748 | } |
5eb8189c | 7749 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7750 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7751 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7752 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7753 | } |
7754 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7755 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7756 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7757 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7758 | } |
7759 | if (!argp3) { | |
5eb8189c | 7760 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7761 | } |
5eb8189c | 7762 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7763 | if (obj3) { |
7764 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7765 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7766 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7767 | } |
7768 | arg4 = static_cast< int >(val4); | |
7769 | } | |
7770 | { | |
7771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7772 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7773 | wxPyEndAllowThreads(__tstate); |
7774 | if (PyErr_Occurred()) SWIG_fail; | |
7775 | } | |
7776 | { | |
7777 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7778 | } | |
7779 | return resultobj; | |
7780 | fail: | |
7781 | return NULL; | |
7782 | } | |
7783 | ||
7784 | ||
5eb8189c | 7785 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7786 | PyObject *resultobj = 0; |
5eb8189c | 7787 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7788 | wxWindow *arg2 = (wxWindow *) 0 ; |
7789 | bool result; | |
7790 | void *argp1 = 0 ; | |
7791 | int res1 = 0 ; | |
7792 | void *argp2 = 0 ; | |
7793 | int res2 = 0 ; | |
7794 | PyObject * obj0 = 0 ; | |
7795 | PyObject * obj1 = 0 ; | |
7796 | char * kwnames[] = { | |
7797 | (char *) "self",(char *) "window", NULL | |
7798 | }; | |
7799 | ||
5eb8189c RD |
7800 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7801 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7802 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7803 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7804 | } |
5eb8189c | 7805 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7806 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7807 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7808 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7809 | } |
7810 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7811 | { | |
7812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7813 | result = (bool)(arg1)->DetachPane(arg2); | |
7814 | wxPyEndAllowThreads(__tstate); | |
7815 | if (PyErr_Occurred()) SWIG_fail; | |
7816 | } | |
7817 | { | |
7818 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7819 | } | |
7820 | return resultobj; | |
7821 | fail: | |
7822 | return NULL; | |
7823 | } | |
7824 | ||
7825 | ||
5eb8189c | 7826 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 7827 | PyObject *resultobj = 0; |
5eb8189c RD |
7828 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7829 | wxAuiPaneInfo *arg2 = 0 ; | |
9b940138 RD |
7830 | void *argp1 = 0 ; |
7831 | int res1 = 0 ; | |
7832 | void *argp2 = 0 ; | |
7833 | int res2 = 0 ; | |
7834 | PyObject * obj0 = 0 ; | |
7835 | PyObject * obj1 = 0 ; | |
7836 | char * kwnames[] = { | |
7837 | (char *) "self",(char *) "pane_info", NULL | |
7838 | }; | |
7839 | ||
5eb8189c RD |
7840 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; |
7841 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 7842 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7843 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 7844 | } |
5eb8189c RD |
7845 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7846 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
9b940138 | 7847 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7848 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
9b940138 RD |
7849 | } |
7850 | if (!argp2) { | |
5eb8189c | 7851 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
9b940138 | 7852 | } |
5eb8189c | 7853 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
9b940138 RD |
7854 | { |
7855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7856 | (arg1)->ClosePane(*arg2); | |
7857 | wxPyEndAllowThreads(__tstate); | |
7858 | if (PyErr_Occurred()) SWIG_fail; | |
7859 | } | |
7860 | resultobj = SWIG_Py_Void(); | |
7861 | return resultobj; | |
7862 | fail: | |
7863 | return NULL; | |
7864 | } | |
7865 | ||
7866 | ||
5eb8189c | 7867 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 7868 | PyObject *resultobj = 0; |
5eb8189c RD |
7869 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7870 | wxAuiPaneInfo *arg2 = 0 ; | |
7871 | void *argp1 = 0 ; | |
7872 | int res1 = 0 ; | |
7873 | void *argp2 = 0 ; | |
7874 | int res2 = 0 ; | |
7875 | PyObject * obj0 = 0 ; | |
7876 | PyObject * obj1 = 0 ; | |
7877 | char * kwnames[] = { | |
7878 | (char *) "self",(char *) "pane_info", NULL | |
7879 | }; | |
7880 | ||
7881 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7882 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7883 | if (!SWIG_IsOK(res1)) { | |
7884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7885 | } | |
7886 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7887 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
7888 | if (!SWIG_IsOK(res2)) { | |
7889 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7890 | } | |
7891 | if (!argp2) { | |
7892 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7893 | } | |
7894 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
7895 | { | |
7896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7897 | (arg1)->MaximizePane(*arg2); | |
7898 | wxPyEndAllowThreads(__tstate); | |
7899 | if (PyErr_Occurred()) SWIG_fail; | |
7900 | } | |
7901 | resultobj = SWIG_Py_Void(); | |
7902 | return resultobj; | |
7903 | fail: | |
7904 | return NULL; | |
7905 | } | |
7906 | ||
7907 | ||
7908 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7909 | PyObject *resultobj = 0; | |
7910 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7911 | wxAuiPaneInfo *arg2 = 0 ; | |
7912 | void *argp1 = 0 ; | |
7913 | int res1 = 0 ; | |
7914 | void *argp2 = 0 ; | |
7915 | int res2 = 0 ; | |
7916 | PyObject * obj0 = 0 ; | |
7917 | PyObject * obj1 = 0 ; | |
7918 | char * kwnames[] = { | |
7919 | (char *) "self",(char *) "pane_info", NULL | |
7920 | }; | |
7921 | ||
7922 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7923 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7924 | if (!SWIG_IsOK(res1)) { | |
7925 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7926 | } | |
7927 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7928 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
7929 | if (!SWIG_IsOK(res2)) { | |
7930 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7931 | } | |
7932 | if (!argp2) { | |
7933 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7934 | } | |
7935 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
7936 | { | |
7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7938 | (arg1)->RestorePane(*arg2); | |
7939 | wxPyEndAllowThreads(__tstate); | |
7940 | if (PyErr_Occurred()) SWIG_fail; | |
7941 | } | |
7942 | resultobj = SWIG_Py_Void(); | |
7943 | return resultobj; | |
7944 | fail: | |
7945 | return NULL; | |
7946 | } | |
7947 | ||
7948 | ||
7949 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7950 | PyObject *resultobj = 0; | |
7951 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7952 | void *argp1 = 0 ; | |
7953 | int res1 = 0 ; | |
7954 | PyObject *swig_obj[1] ; | |
7955 | ||
7956 | if (!args) SWIG_fail; | |
7957 | swig_obj[0] = args; | |
7958 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7959 | if (!SWIG_IsOK(res1)) { | |
7960 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7961 | } | |
7962 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7963 | { | |
7964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7965 | (arg1)->RestoreMaximizedPane(); | |
7966 | wxPyEndAllowThreads(__tstate); | |
7967 | if (PyErr_Occurred()) SWIG_fail; | |
7968 | } | |
7969 | resultobj = SWIG_Py_Void(); | |
7970 | return resultobj; | |
7971 | fail: | |
7972 | return NULL; | |
7973 | } | |
7974 | ||
7975 | ||
7976 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7977 | PyObject *resultobj = 0; | |
7978 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7979 | wxAuiPaneInfo *arg2 = 0 ; | |
0f83f5da RD |
7980 | wxString result; |
7981 | void *argp1 = 0 ; | |
7982 | int res1 = 0 ; | |
7983 | void *argp2 = 0 ; | |
7984 | int res2 = 0 ; | |
7985 | PyObject * obj0 = 0 ; | |
7986 | PyObject * obj1 = 0 ; | |
7987 | char * kwnames[] = { | |
7988 | (char *) "self",(char *) "pane", NULL | |
7989 | }; | |
7990 | ||
5eb8189c RD |
7991 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7992 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7993 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7994 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7995 | } |
5eb8189c RD |
7996 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7997 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
0f83f5da | 7998 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7999 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
8000 | } |
8001 | if (!argp2) { | |
5eb8189c | 8002 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 8003 | } |
5eb8189c | 8004 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
8005 | { |
8006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8007 | result = (arg1)->SavePaneInfo(*arg2); | |
8008 | wxPyEndAllowThreads(__tstate); | |
8009 | if (PyErr_Occurred()) SWIG_fail; | |
8010 | } | |
8011 | { | |
8012 | #if wxUSE_UNICODE | |
8013 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8014 | #else | |
8015 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8016 | #endif | |
8017 | } | |
8018 | return resultobj; | |
8019 | fail: | |
8020 | return NULL; | |
8021 | } | |
8022 | ||
8023 | ||
5eb8189c | 8024 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 8025 | PyObject *resultobj = 0; |
5eb8189c | 8026 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
0f83f5da | 8027 | wxString arg2 ; |
5eb8189c | 8028 | wxAuiPaneInfo *arg3 = 0 ; |
0f83f5da RD |
8029 | void *argp1 = 0 ; |
8030 | int res1 = 0 ; | |
8031 | void *argp3 = 0 ; | |
8032 | int res3 = 0 ; | |
8033 | PyObject * obj0 = 0 ; | |
8034 | PyObject * obj1 = 0 ; | |
8035 | PyObject * obj2 = 0 ; | |
8036 | char * kwnames[] = { | |
8037 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
8038 | }; | |
8039 | ||
5eb8189c RD |
8040 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8041 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 8042 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8043 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 8044 | } |
5eb8189c | 8045 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
0f83f5da RD |
8046 | { |
8047 | wxString* sptr = wxString_in_helper(obj1); | |
8048 | if (sptr == NULL) SWIG_fail; | |
8049 | arg2 = *sptr; | |
8050 | delete sptr; | |
8051 | } | |
5eb8189c | 8052 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
0f83f5da | 8053 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8054 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
8055 | } |
8056 | if (!argp3) { | |
5eb8189c | 8057 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 8058 | } |
5eb8189c | 8059 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
0f83f5da RD |
8060 | { |
8061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8062 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
8063 | wxPyEndAllowThreads(__tstate); | |
8064 | if (PyErr_Occurred()) SWIG_fail; | |
8065 | } | |
8066 | resultobj = SWIG_Py_Void(); | |
8067 | return resultobj; | |
8068 | fail: | |
8069 | return NULL; | |
8070 | } | |
8071 | ||
8072 | ||
5eb8189c | 8073 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8074 | PyObject *resultobj = 0; |
5eb8189c | 8075 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8076 | wxString result; |
8077 | void *argp1 = 0 ; | |
8078 | int res1 = 0 ; | |
8079 | PyObject *swig_obj[1] ; | |
8080 | ||
8081 | if (!args) SWIG_fail; | |
8082 | swig_obj[0] = args; | |
5eb8189c | 8083 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8084 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8085 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8086 | } |
5eb8189c | 8087 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8088 | { |
8089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8090 | result = (arg1)->SavePerspective(); | |
8091 | wxPyEndAllowThreads(__tstate); | |
8092 | if (PyErr_Occurred()) SWIG_fail; | |
8093 | } | |
8094 | { | |
8095 | #if wxUSE_UNICODE | |
8096 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8097 | #else | |
8098 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8099 | #endif | |
8100 | } | |
8101 | return resultobj; | |
8102 | fail: | |
8103 | return NULL; | |
8104 | } | |
8105 | ||
8106 | ||
5eb8189c | 8107 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8108 | PyObject *resultobj = 0; |
5eb8189c | 8109 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8110 | wxString *arg2 = 0 ; |
8111 | bool arg3 = (bool) true ; | |
8112 | bool result; | |
8113 | void *argp1 = 0 ; | |
8114 | int res1 = 0 ; | |
8115 | bool temp2 = false ; | |
8116 | bool val3 ; | |
8117 | int ecode3 = 0 ; | |
8118 | PyObject * obj0 = 0 ; | |
8119 | PyObject * obj1 = 0 ; | |
8120 | PyObject * obj2 = 0 ; | |
8121 | char * kwnames[] = { | |
8122 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
8123 | }; | |
8124 | ||
5eb8189c RD |
8125 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8126 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 8127 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8128 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8129 | } |
5eb8189c | 8130 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8131 | { |
8132 | arg2 = wxString_in_helper(obj1); | |
8133 | if (arg2 == NULL) SWIG_fail; | |
8134 | temp2 = true; | |
8135 | } | |
8136 | if (obj2) { | |
8137 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8138 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8139 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8140 | } |
8141 | arg3 = static_cast< bool >(val3); | |
8142 | } | |
8143 | { | |
8144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8145 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8146 | wxPyEndAllowThreads(__tstate); | |
8147 | if (PyErr_Occurred()) SWIG_fail; | |
8148 | } | |
8149 | { | |
8150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8151 | } | |
8152 | { | |
8153 | if (temp2) | |
8154 | delete arg2; | |
8155 | } | |
8156 | return resultobj; | |
8157 | fail: | |
8158 | { | |
8159 | if (temp2) | |
8160 | delete arg2; | |
8161 | } | |
8162 | return NULL; | |
8163 | } | |
8164 | ||
8165 | ||
5eb8189c | 8166 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8167 | PyObject *resultobj = 0; |
5eb8189c | 8168 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8169 | void *argp1 = 0 ; |
8170 | int res1 = 0 ; | |
8171 | PyObject *swig_obj[1] ; | |
8172 | ||
8173 | if (!args) SWIG_fail; | |
8174 | swig_obj[0] = args; | |
5eb8189c | 8175 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8176 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8177 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8178 | } |
5eb8189c | 8179 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8180 | { |
8181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8182 | (arg1)->Update(); | |
8183 | wxPyEndAllowThreads(__tstate); | |
8184 | if (PyErr_Occurred()) SWIG_fail; | |
8185 | } | |
8186 | resultobj = SWIG_Py_Void(); | |
8187 | return resultobj; | |
8188 | fail: | |
8189 | return NULL; | |
8190 | } | |
8191 | ||
8192 | ||
5eb8189c | 8193 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8194 | PyObject *resultobj = 0; |
5eb8189c | 8195 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8196 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8197 | wxAuiPaneInfo *arg3 = 0 ; |
8198 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8199 | void *argp1 = 0 ; |
8200 | int res1 = 0 ; | |
8201 | void *argp2 = 0 ; | |
8202 | int res2 = 0 ; | |
8203 | void *argp3 = 0 ; | |
8204 | int res3 = 0 ; | |
8205 | PyObject * obj0 = 0 ; | |
8206 | PyObject * obj1 = 0 ; | |
8207 | PyObject * obj2 = 0 ; | |
8208 | char * kwnames[] = { | |
8209 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8210 | }; | |
8211 | ||
5eb8189c RD |
8212 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8213 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8214 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8215 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8216 | } |
5eb8189c | 8217 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8218 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8219 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8220 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8221 | } |
8222 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8223 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8224 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8225 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8226 | } |
8227 | if (!argp3) { | |
5eb8189c | 8228 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8229 | } |
5eb8189c | 8230 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8231 | { |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8233 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8234 | wxPyEndAllowThreads(__tstate); |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
5eb8189c | 8237 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8238 | return resultobj; |
8239 | fail: | |
8240 | return NULL; | |
8241 | } | |
8242 | ||
8243 | ||
5eb8189c | 8244 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8245 | PyObject *resultobj = 0; |
5eb8189c | 8246 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8247 | wxWindow *arg2 = (wxWindow *) 0 ; |
8248 | wxPoint *arg3 = 0 ; | |
8249 | wxPoint *arg4 = 0 ; | |
8250 | void *argp1 = 0 ; | |
8251 | int res1 = 0 ; | |
8252 | void *argp2 = 0 ; | |
8253 | int res2 = 0 ; | |
8254 | wxPoint temp3 ; | |
8255 | wxPoint temp4 ; | |
8256 | PyObject * obj0 = 0 ; | |
8257 | PyObject * obj1 = 0 ; | |
8258 | PyObject * obj2 = 0 ; | |
8259 | PyObject * obj3 = 0 ; | |
8260 | char * kwnames[] = { | |
8261 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8262 | }; | |
8263 | ||
5eb8189c RD |
8264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8265 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8266 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8268 | } |
5eb8189c | 8269 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8270 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8271 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8272 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8273 | } |
8274 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8275 | { | |
8276 | arg3 = &temp3; | |
8277 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8278 | } | |
8279 | { | |
8280 | arg4 = &temp4; | |
8281 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8282 | } | |
8283 | { | |
8284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8285 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8286 | wxPyEndAllowThreads(__tstate); | |
8287 | if (PyErr_Occurred()) SWIG_fail; | |
8288 | } | |
8289 | resultobj = SWIG_Py_Void(); | |
8290 | return resultobj; | |
8291 | fail: | |
8292 | return NULL; | |
8293 | } | |
8294 | ||
8295 | ||
5eb8189c | 8296 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8297 | PyObject *resultobj = 0; |
5eb8189c | 8298 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8299 | wxRect *arg2 = 0 ; |
8300 | void *argp1 = 0 ; | |
8301 | int res1 = 0 ; | |
8302 | wxRect temp2 ; | |
8303 | PyObject * obj0 = 0 ; | |
8304 | PyObject * obj1 = 0 ; | |
8305 | char * kwnames[] = { | |
8306 | (char *) "self",(char *) "rect", NULL | |
8307 | }; | |
8308 | ||
5eb8189c RD |
8309 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8310 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8311 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8312 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8313 | } |
5eb8189c | 8314 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8315 | { |
8316 | arg2 = &temp2; | |
8317 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8318 | } | |
8319 | { | |
8320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8321 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8322 | wxPyEndAllowThreads(__tstate); | |
8323 | if (PyErr_Occurred()) SWIG_fail; | |
8324 | } | |
8325 | resultobj = SWIG_Py_Void(); | |
8326 | return resultobj; | |
8327 | fail: | |
8328 | return NULL; | |
8329 | } | |
8330 | ||
8331 | ||
5eb8189c | 8332 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8333 | PyObject *resultobj = 0; |
5eb8189c | 8334 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8335 | void *argp1 = 0 ; |
8336 | int res1 = 0 ; | |
8337 | PyObject *swig_obj[1] ; | |
8338 | ||
8339 | if (!args) SWIG_fail; | |
8340 | swig_obj[0] = args; | |
5eb8189c | 8341 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8342 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8344 | } |
5eb8189c | 8345 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8346 | { |
8347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8348 | (arg1)->HideHint(); | |
8349 | wxPyEndAllowThreads(__tstate); | |
8350 | if (PyErr_Occurred()) SWIG_fail; | |
8351 | } | |
8352 | resultobj = SWIG_Py_Void(); | |
8353 | return resultobj; | |
8354 | fail: | |
8355 | return NULL; | |
8356 | } | |
8357 | ||
8358 | ||
5eb8189c | 8359 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8360 | PyObject *resultobj = 0; |
5eb8189c RD |
8361 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8362 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8363 | void *argp1 = 0 ; |
8364 | int res1 = 0 ; | |
8365 | void *argp2 = 0 ; | |
8366 | int res2 = 0 ; | |
8367 | PyObject * obj0 = 0 ; | |
8368 | PyObject * obj1 = 0 ; | |
8369 | char * kwnames[] = { | |
8370 | (char *) "self",(char *) "evt", NULL | |
8371 | }; | |
8372 | ||
5eb8189c RD |
8373 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8374 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8375 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8377 | } |
5eb8189c RD |
8378 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8379 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8380 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8381 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8382 | } |
8383 | if (!argp2) { | |
5eb8189c | 8384 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8385 | } |
5eb8189c | 8386 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8387 | { |
8388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8389 | (arg1)->OnRender(*arg2); | |
8390 | wxPyEndAllowThreads(__tstate); | |
8391 | if (PyErr_Occurred()) SWIG_fail; | |
8392 | } | |
8393 | resultobj = SWIG_Py_Void(); | |
8394 | return resultobj; | |
8395 | fail: | |
8396 | return NULL; | |
8397 | } | |
8398 | ||
8399 | ||
5eb8189c | 8400 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8401 | PyObject *resultobj = 0; |
5eb8189c RD |
8402 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8403 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8404 | void *argp1 = 0 ; |
8405 | int res1 = 0 ; | |
8406 | void *argp2 = 0 ; | |
8407 | int res2 = 0 ; | |
8408 | PyObject * obj0 = 0 ; | |
8409 | PyObject * obj1 = 0 ; | |
8410 | char * kwnames[] = { | |
8411 | (char *) "self",(char *) "evt", NULL | |
8412 | }; | |
8413 | ||
5eb8189c RD |
8414 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8415 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8416 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8418 | } |
5eb8189c RD |
8419 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8420 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8421 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8422 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8423 | } |
8424 | if (!argp2) { | |
5eb8189c | 8425 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8426 | } |
5eb8189c | 8427 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8428 | { |
8429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8430 | (arg1)->OnPaneButton(*arg2); | |
8431 | wxPyEndAllowThreads(__tstate); | |
8432 | if (PyErr_Occurred()) SWIG_fail; | |
8433 | } | |
8434 | resultobj = SWIG_Py_Void(); | |
8435 | return resultobj; | |
8436 | fail: | |
8437 | return NULL; | |
8438 | } | |
8439 | ||
8440 | ||
5eb8189c | 8441 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8442 | PyObject *obj; |
8443 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8444 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8445 | return SWIG_Py_Void(); |
8446 | } | |
8447 | ||
5eb8189c | 8448 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8449 | return SWIG_Python_InitShadowInstance(args); |
8450 | } | |
8451 | ||
5eb8189c | 8452 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8453 | PyObject *resultobj = 0; |
8454 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8455 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8456 | int val1 ; |
8457 | int ecode1 = 0 ; | |
8458 | PyObject * obj0 = 0 ; | |
8459 | char * kwnames[] = { | |
8460 | (char *) "type", NULL | |
8461 | }; | |
8462 | ||
5eb8189c | 8463 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8464 | if (obj0) { |
8465 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8466 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8467 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8468 | } |
8469 | arg1 = static_cast< wxEventType >(val1); | |
8470 | } | |
8471 | { | |
8472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8473 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8474 | wxPyEndAllowThreads(__tstate); |
8475 | if (PyErr_Occurred()) SWIG_fail; | |
8476 | } | |
5eb8189c | 8477 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8478 | return resultobj; |
8479 | fail: | |
8480 | return NULL; | |
8481 | } | |
8482 | ||
8483 | ||
5eb8189c | 8484 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8485 | PyObject *resultobj = 0; |
5eb8189c | 8486 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8487 | wxEvent *result = 0 ; |
8488 | void *argp1 = 0 ; | |
8489 | int res1 = 0 ; | |
8490 | PyObject *swig_obj[1] ; | |
8491 | ||
8492 | if (!args) SWIG_fail; | |
8493 | swig_obj[0] = args; | |
5eb8189c | 8494 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8495 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8497 | } |
5eb8189c | 8498 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8499 | { |
8500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8501 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8502 | wxPyEndAllowThreads(__tstate); |
8503 | if (PyErr_Occurred()) SWIG_fail; | |
8504 | } | |
8505 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8506 | return resultobj; | |
8507 | fail: | |
8508 | return NULL; | |
8509 | } | |
8510 | ||
8511 | ||
5eb8189c | 8512 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8513 | PyObject *resultobj = 0; |
5eb8189c RD |
8514 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8515 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8516 | void *argp1 = 0 ; |
8517 | int res1 = 0 ; | |
8518 | void *argp2 = 0 ; | |
8519 | int res2 = 0 ; | |
8520 | PyObject * obj0 = 0 ; | |
8521 | PyObject * obj1 = 0 ; | |
8522 | char * kwnames[] = { | |
8523 | (char *) "self",(char *) "p", NULL | |
8524 | }; | |
8525 | ||
5eb8189c RD |
8526 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8527 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8528 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8530 | } |
5eb8189c RD |
8531 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8532 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8533 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8534 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8535 | } |
5eb8189c | 8536 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8537 | { |
8538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8539 | (arg1)->SetPane(arg2); | |
8540 | wxPyEndAllowThreads(__tstate); | |
8541 | if (PyErr_Occurred()) SWIG_fail; | |
8542 | } | |
8543 | resultobj = SWIG_Py_Void(); | |
8544 | return resultobj; | |
8545 | fail: | |
8546 | return NULL; | |
8547 | } | |
8548 | ||
8549 | ||
5eb8189c | 8550 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8551 | PyObject *resultobj = 0; |
5eb8189c | 8552 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8553 | int arg2 ; |
8554 | void *argp1 = 0 ; | |
8555 | int res1 = 0 ; | |
8556 | int val2 ; | |
8557 | int ecode2 = 0 ; | |
8558 | PyObject * obj0 = 0 ; | |
8559 | PyObject * obj1 = 0 ; | |
8560 | char * kwnames[] = { | |
8561 | (char *) "self",(char *) "b", NULL | |
8562 | }; | |
8563 | ||
5eb8189c RD |
8564 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8565 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8566 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8568 | } |
5eb8189c | 8569 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8570 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8571 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8572 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8573 | } |
8574 | arg2 = static_cast< int >(val2); | |
8575 | { | |
8576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8577 | (arg1)->SetButton(arg2); | |
8578 | wxPyEndAllowThreads(__tstate); | |
8579 | if (PyErr_Occurred()) SWIG_fail; | |
8580 | } | |
8581 | resultobj = SWIG_Py_Void(); | |
8582 | return resultobj; | |
8583 | fail: | |
8584 | return NULL; | |
8585 | } | |
8586 | ||
8587 | ||
5eb8189c | 8588 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8589 | PyObject *resultobj = 0; |
5eb8189c | 8590 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8591 | wxDC *arg2 = (wxDC *) 0 ; |
8592 | void *argp1 = 0 ; | |
8593 | int res1 = 0 ; | |
8594 | void *argp2 = 0 ; | |
8595 | int res2 = 0 ; | |
8596 | PyObject * obj0 = 0 ; | |
8597 | PyObject * obj1 = 0 ; | |
8598 | char * kwnames[] = { | |
8599 | (char *) "self",(char *) "pdc", NULL | |
8600 | }; | |
8601 | ||
5eb8189c RD |
8602 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8603 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8604 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8605 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8606 | } |
5eb8189c | 8607 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8608 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8609 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8610 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8611 | } |
8612 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8613 | { | |
8614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8615 | (arg1)->SetDC(arg2); | |
8616 | wxPyEndAllowThreads(__tstate); | |
8617 | if (PyErr_Occurred()) SWIG_fail; | |
8618 | } | |
8619 | resultobj = SWIG_Py_Void(); | |
8620 | return resultobj; | |
8621 | fail: | |
8622 | return NULL; | |
8623 | } | |
8624 | ||
8625 | ||
5eb8189c | 8626 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8627 | PyObject *resultobj = 0; |
5eb8189c RD |
8628 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8629 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8630 | void *argp1 = 0 ; |
8631 | int res1 = 0 ; | |
8632 | PyObject *swig_obj[1] ; | |
8633 | ||
8634 | if (!args) SWIG_fail; | |
8635 | swig_obj[0] = args; | |
5eb8189c | 8636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8637 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8639 | } |
5eb8189c | 8640 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8641 | { |
8642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8643 | result = (wxAuiPaneInfo *)(arg1)->GetPane(); |
27e45892 RD |
8644 | wxPyEndAllowThreads(__tstate); |
8645 | if (PyErr_Occurred()) SWIG_fail; | |
8646 | } | |
5eb8189c | 8647 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8648 | return resultobj; |
8649 | fail: | |
8650 | return NULL; | |
8651 | } | |
8652 | ||
8653 | ||
5eb8189c | 8654 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8655 | PyObject *resultobj = 0; |
5eb8189c | 8656 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8657 | int result; |
8658 | void *argp1 = 0 ; | |
8659 | int res1 = 0 ; | |
8660 | PyObject *swig_obj[1] ; | |
8661 | ||
8662 | if (!args) SWIG_fail; | |
8663 | swig_obj[0] = args; | |
5eb8189c | 8664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8665 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8667 | } |
5eb8189c | 8668 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8669 | { |
8670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8671 | result = (int)(arg1)->GetButton(); | |
8672 | wxPyEndAllowThreads(__tstate); | |
8673 | if (PyErr_Occurred()) SWIG_fail; | |
8674 | } | |
8675 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8676 | return resultobj; | |
8677 | fail: | |
8678 | return NULL; | |
8679 | } | |
8680 | ||
8681 | ||
5eb8189c | 8682 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8683 | PyObject *resultobj = 0; |
5eb8189c | 8684 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8685 | wxDC *result = 0 ; |
8686 | void *argp1 = 0 ; | |
8687 | int res1 = 0 ; | |
8688 | PyObject *swig_obj[1] ; | |
8689 | ||
8690 | if (!args) SWIG_fail; | |
8691 | swig_obj[0] = args; | |
5eb8189c | 8692 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8693 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8694 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8695 | } |
5eb8189c | 8696 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8697 | { |
8698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8699 | result = (wxDC *)(arg1)->GetDC(); | |
8700 | wxPyEndAllowThreads(__tstate); | |
8701 | if (PyErr_Occurred()) SWIG_fail; | |
8702 | } | |
8703 | { | |
8704 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8705 | } | |
8706 | return resultobj; | |
8707 | fail: | |
8708 | return NULL; | |
8709 | } | |
8710 | ||
8711 | ||
5eb8189c | 8712 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8713 | PyObject *resultobj = 0; |
5eb8189c | 8714 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8715 | bool arg2 = (bool) true ; |
8716 | void *argp1 = 0 ; | |
8717 | int res1 = 0 ; | |
8718 | bool val2 ; | |
8719 | int ecode2 = 0 ; | |
8720 | PyObject * obj0 = 0 ; | |
8721 | PyObject * obj1 = 0 ; | |
8722 | char * kwnames[] = { | |
8723 | (char *) "self",(char *) "veto", NULL | |
8724 | }; | |
8725 | ||
5eb8189c RD |
8726 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8727 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8728 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8729 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8730 | } |
5eb8189c | 8731 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8732 | if (obj1) { |
8733 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8734 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8735 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8736 | } |
8737 | arg2 = static_cast< bool >(val2); | |
8738 | } | |
8739 | { | |
8740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8741 | (arg1)->Veto(arg2); | |
8742 | wxPyEndAllowThreads(__tstate); | |
8743 | if (PyErr_Occurred()) SWIG_fail; | |
8744 | } | |
8745 | resultobj = SWIG_Py_Void(); | |
8746 | return resultobj; | |
8747 | fail: | |
8748 | return NULL; | |
8749 | } | |
8750 | ||
8751 | ||
5eb8189c | 8752 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8753 | PyObject *resultobj = 0; |
5eb8189c | 8754 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8755 | bool result; |
8756 | void *argp1 = 0 ; | |
8757 | int res1 = 0 ; | |
8758 | PyObject *swig_obj[1] ; | |
8759 | ||
8760 | if (!args) SWIG_fail; | |
8761 | swig_obj[0] = args; | |
5eb8189c | 8762 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8763 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8764 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8765 | } |
5eb8189c | 8766 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8767 | { |
8768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8769 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
8770 | wxPyEndAllowThreads(__tstate); |
8771 | if (PyErr_Occurred()) SWIG_fail; | |
8772 | } | |
8773 | { | |
8774 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8775 | } | |
8776 | return resultobj; | |
8777 | fail: | |
8778 | return NULL; | |
8779 | } | |
8780 | ||
8781 | ||
5eb8189c | 8782 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8783 | PyObject *resultobj = 0; |
5eb8189c | 8784 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8785 | bool arg2 ; |
8786 | void *argp1 = 0 ; | |
8787 | int res1 = 0 ; | |
8788 | bool val2 ; | |
8789 | int ecode2 = 0 ; | |
8790 | PyObject * obj0 = 0 ; | |
8791 | PyObject * obj1 = 0 ; | |
8792 | char * kwnames[] = { | |
8793 | (char *) "self",(char *) "can_veto", NULL | |
8794 | }; | |
8795 | ||
5eb8189c RD |
8796 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
8797 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8798 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8799 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8800 | } |
5eb8189c | 8801 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8802 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
8803 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8804 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8805 | } |
8806 | arg2 = static_cast< bool >(val2); | |
8807 | { | |
8808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8809 | (arg1)->SetCanVeto(arg2); | |
8810 | wxPyEndAllowThreads(__tstate); | |
8811 | if (PyErr_Occurred()) SWIG_fail; | |
8812 | } | |
8813 | resultobj = SWIG_Py_Void(); | |
8814 | return resultobj; | |
8815 | fail: | |
8816 | return NULL; | |
8817 | } | |
8818 | ||
8819 | ||
5eb8189c | 8820 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8821 | PyObject *resultobj = 0; |
5eb8189c | 8822 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8823 | bool result; |
8824 | void *argp1 = 0 ; | |
8825 | int res1 = 0 ; | |
8826 | PyObject *swig_obj[1] ; | |
8827 | ||
8828 | if (!args) SWIG_fail; | |
8829 | swig_obj[0] = args; | |
5eb8189c | 8830 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8831 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8833 | } |
5eb8189c | 8834 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8835 | { |
8836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8837 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
8838 | wxPyEndAllowThreads(__tstate); |
8839 | if (PyErr_Occurred()) SWIG_fail; | |
8840 | } | |
8841 | { | |
8842 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8843 | } | |
8844 | return resultobj; | |
8845 | fail: | |
8846 | return NULL; | |
8847 | } | |
8848 | ||
8849 | ||
5eb8189c | 8850 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8851 | PyObject *resultobj = 0; |
5eb8189c RD |
8852 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8853 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8854 | void *argp1 = 0 ; |
8855 | int res1 = 0 ; | |
8856 | void *argp2 = 0 ; | |
8857 | int res2 = 0 ; | |
8858 | PyObject *swig_obj[2] ; | |
8859 | ||
5eb8189c RD |
8860 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
8861 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8862 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8864 | } |
5eb8189c RD |
8865 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8866 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 8867 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8868 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8869 | } |
5eb8189c | 8870 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8871 | if (arg1) (arg1)->pane = arg2; |
8872 | ||
8873 | resultobj = SWIG_Py_Void(); | |
8874 | return resultobj; | |
8875 | fail: | |
8876 | return NULL; | |
8877 | } | |
8878 | ||
8879 | ||
5eb8189c | 8880 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8881 | PyObject *resultobj = 0; |
5eb8189c RD |
8882 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8883 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8884 | void *argp1 = 0 ; |
8885 | int res1 = 0 ; | |
8886 | PyObject *swig_obj[1] ; | |
8887 | ||
8888 | if (!args) SWIG_fail; | |
8889 | swig_obj[0] = args; | |
5eb8189c | 8890 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8891 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8893 | } |
5eb8189c RD |
8894 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8895 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
8896 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
8897 | return resultobj; |
8898 | fail: | |
8899 | return NULL; | |
8900 | } | |
8901 | ||
8902 | ||
5eb8189c | 8903 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8904 | PyObject *resultobj = 0; |
5eb8189c | 8905 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8906 | int arg2 ; |
8907 | void *argp1 = 0 ; | |
8908 | int res1 = 0 ; | |
8909 | int val2 ; | |
8910 | int ecode2 = 0 ; | |
8911 | PyObject *swig_obj[2] ; | |
8912 | ||
5eb8189c RD |
8913 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
8914 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8915 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8916 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8917 | } |
5eb8189c | 8918 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8919 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
8920 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8921 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8922 | } |
8923 | arg2 = static_cast< int >(val2); | |
8924 | if (arg1) (arg1)->button = arg2; | |
8925 | ||
8926 | resultobj = SWIG_Py_Void(); | |
8927 | return resultobj; | |
8928 | fail: | |
8929 | return NULL; | |
8930 | } | |
8931 | ||
8932 | ||
5eb8189c | 8933 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8934 | PyObject *resultobj = 0; |
5eb8189c | 8935 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8936 | int result; |
8937 | void *argp1 = 0 ; | |
8938 | int res1 = 0 ; | |
8939 | PyObject *swig_obj[1] ; | |
8940 | ||
8941 | if (!args) SWIG_fail; | |
8942 | swig_obj[0] = args; | |
5eb8189c | 8943 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8944 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8946 | } |
5eb8189c | 8947 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8948 | result = (int) ((arg1)->button); |
8949 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8950 | return resultobj; | |
8951 | fail: | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
5eb8189c | 8956 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8957 | PyObject *resultobj = 0; |
5eb8189c | 8958 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8959 | bool arg2 ; |
8960 | void *argp1 = 0 ; | |
8961 | int res1 = 0 ; | |
8962 | bool val2 ; | |
8963 | int ecode2 = 0 ; | |
8964 | PyObject *swig_obj[2] ; | |
8965 | ||
5eb8189c RD |
8966 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
8967 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8968 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8969 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8970 | } |
5eb8189c | 8971 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8972 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
8973 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8974 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8975 | } |
8976 | arg2 = static_cast< bool >(val2); | |
8977 | if (arg1) (arg1)->veto_flag = arg2; | |
8978 | ||
8979 | resultobj = SWIG_Py_Void(); | |
8980 | return resultobj; | |
8981 | fail: | |
8982 | return NULL; | |
8983 | } | |
8984 | ||
8985 | ||
5eb8189c | 8986 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8987 | PyObject *resultobj = 0; |
5eb8189c | 8988 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8989 | bool result; |
8990 | void *argp1 = 0 ; | |
8991 | int res1 = 0 ; | |
8992 | PyObject *swig_obj[1] ; | |
8993 | ||
8994 | if (!args) SWIG_fail; | |
8995 | swig_obj[0] = args; | |
5eb8189c | 8996 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8997 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8998 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8999 | } |
5eb8189c | 9000 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9001 | result = (bool) ((arg1)->veto_flag); |
9002 | { | |
9003 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9004 | } | |
9005 | return resultobj; | |
9006 | fail: | |
9007 | return NULL; | |
9008 | } | |
9009 | ||
9010 | ||
5eb8189c | 9011 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9012 | PyObject *resultobj = 0; |
5eb8189c | 9013 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9014 | bool arg2 ; |
9015 | void *argp1 = 0 ; | |
9016 | int res1 = 0 ; | |
9017 | bool val2 ; | |
9018 | int ecode2 = 0 ; | |
9019 | PyObject *swig_obj[2] ; | |
9020 | ||
5eb8189c RD |
9021 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9022 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9023 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9024 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9025 | } |
5eb8189c | 9026 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9027 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9028 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9029 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9030 | } |
9031 | arg2 = static_cast< bool >(val2); | |
9032 | if (arg1) (arg1)->canveto_flag = arg2; | |
9033 | ||
9034 | resultobj = SWIG_Py_Void(); | |
9035 | return resultobj; | |
9036 | fail: | |
9037 | return NULL; | |
9038 | } | |
9039 | ||
9040 | ||
5eb8189c | 9041 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9042 | PyObject *resultobj = 0; |
5eb8189c | 9043 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9044 | bool result; |
9045 | void *argp1 = 0 ; | |
9046 | int res1 = 0 ; | |
9047 | PyObject *swig_obj[1] ; | |
9048 | ||
9049 | if (!args) SWIG_fail; | |
9050 | swig_obj[0] = args; | |
5eb8189c | 9051 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9052 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9054 | } |
5eb8189c | 9055 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9056 | result = (bool) ((arg1)->canveto_flag); |
9057 | { | |
9058 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9059 | } | |
9060 | return resultobj; | |
9061 | fail: | |
9062 | return NULL; | |
9063 | } | |
9064 | ||
9065 | ||
5eb8189c | 9066 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9067 | PyObject *resultobj = 0; |
5eb8189c | 9068 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9069 | wxDC *arg2 = (wxDC *) 0 ; |
9070 | void *argp1 = 0 ; | |
9071 | int res1 = 0 ; | |
9072 | void *argp2 = 0 ; | |
9073 | int res2 = 0 ; | |
9074 | PyObject *swig_obj[2] ; | |
9075 | ||
5eb8189c RD |
9076 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9077 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9078 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9080 | } |
5eb8189c | 9081 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9082 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9083 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9084 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9085 | } |
9086 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9087 | if (arg1) (arg1)->dc = arg2; | |
9088 | ||
9089 | resultobj = SWIG_Py_Void(); | |
9090 | return resultobj; | |
9091 | fail: | |
9092 | return NULL; | |
9093 | } | |
9094 | ||
9095 | ||
5eb8189c | 9096 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9097 | PyObject *resultobj = 0; |
5eb8189c | 9098 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9099 | wxDC *result = 0 ; |
9100 | void *argp1 = 0 ; | |
9101 | int res1 = 0 ; | |
9102 | PyObject *swig_obj[1] ; | |
9103 | ||
9104 | if (!args) SWIG_fail; | |
9105 | swig_obj[0] = args; | |
5eb8189c | 9106 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9107 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9109 | } |
5eb8189c | 9110 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9111 | result = (wxDC *) ((arg1)->dc); |
9112 | { | |
9113 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9114 | } | |
9115 | return resultobj; | |
9116 | fail: | |
9117 | return NULL; | |
9118 | } | |
9119 | ||
9120 | ||
5eb8189c | 9121 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9122 | PyObject *obj; |
9123 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9124 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9125 | return SWIG_Py_Void(); |
9126 | } | |
9127 | ||
5eb8189c | 9128 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9129 | return SWIG_Python_InitShadowInstance(args); |
9130 | } | |
9131 | ||
5eb8189c | 9132 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9133 | PyObject *resultobj = 0; |
5eb8189c | 9134 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9135 | |
5eb8189c | 9136 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9137 | { |
9138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9139 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9140 | wxPyEndAllowThreads(__tstate); |
9141 | if (PyErr_Occurred()) SWIG_fail; | |
9142 | } | |
5eb8189c | 9143 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9144 | return resultobj; |
9145 | fail: | |
9146 | return NULL; | |
9147 | } | |
9148 | ||
9149 | ||
5eb8189c | 9150 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9151 | PyObject *resultobj = 0; |
5eb8189c | 9152 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9153 | bool result; |
9154 | void *argp1 = 0 ; | |
9155 | int res1 = 0 ; | |
9156 | PyObject *swig_obj[1] ; | |
9157 | ||
9158 | if (!args) SWIG_fail; | |
9159 | swig_obj[0] = args; | |
5eb8189c | 9160 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9161 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9163 | } |
5eb8189c | 9164 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9165 | { |
9166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9167 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9168 | wxPyEndAllowThreads(__tstate); |
9169 | if (PyErr_Occurred()) SWIG_fail; | |
9170 | } | |
9171 | { | |
9172 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9173 | } | |
9174 | return resultobj; | |
9175 | fail: | |
9176 | return NULL; | |
9177 | } | |
9178 | ||
9179 | ||
5eb8189c | 9180 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9181 | PyObject *resultobj = 0; |
5eb8189c | 9182 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9183 | bool result; |
9184 | void *argp1 = 0 ; | |
9185 | int res1 = 0 ; | |
9186 | PyObject *swig_obj[1] ; | |
9187 | ||
9188 | if (!args) SWIG_fail; | |
9189 | swig_obj[0] = args; | |
5eb8189c | 9190 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9191 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9192 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9193 | } |
5eb8189c | 9194 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9195 | { |
9196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9197 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9198 | wxPyEndAllowThreads(__tstate); |
9199 | if (PyErr_Occurred()) SWIG_fail; | |
9200 | } | |
9201 | { | |
9202 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9203 | } | |
9204 | return resultobj; | |
9205 | fail: | |
9206 | return NULL; | |
9207 | } | |
9208 | ||
9209 | ||
5eb8189c | 9210 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9211 | PyObject *resultobj = 0; |
5eb8189c | 9212 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9213 | bool result; |
9214 | void *argp1 = 0 ; | |
9215 | int res1 = 0 ; | |
9216 | PyObject *swig_obj[1] ; | |
9217 | ||
9218 | if (!args) SWIG_fail; | |
9219 | swig_obj[0] = args; | |
5eb8189c | 9220 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9221 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9222 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9223 | } |
5eb8189c | 9224 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9225 | { |
9226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9227 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9228 | wxPyEndAllowThreads(__tstate); |
9229 | if (PyErr_Occurred()) SWIG_fail; | |
9230 | } | |
9231 | { | |
9232 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9233 | } | |
9234 | return resultobj; | |
9235 | fail: | |
9236 | return NULL; | |
9237 | } | |
9238 | ||
9239 | ||
5eb8189c | 9240 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9241 | PyObject *resultobj = 0; |
5eb8189c RD |
9242 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9243 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9244 | void *argp1 = 0 ; |
9245 | int res1 = 0 ; | |
9246 | void *argp2 ; | |
9247 | int res2 = 0 ; | |
9248 | PyObject *swig_obj[2] ; | |
9249 | ||
5eb8189c RD |
9250 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9252 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9254 | } |
5eb8189c | 9255 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9256 | { |
5eb8189c | 9257 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9258 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9259 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9260 | } |
9261 | if (!argp2) { | |
5eb8189c | 9262 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9263 | } else { |
5eb8189c | 9264 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9265 | arg2 = *temp; |
9266 | if (SWIG_IsNewObj(res2)) delete temp; | |
9267 | } | |
9268 | } | |
9269 | if (arg1) (arg1)->panes = arg2; | |
9270 | ||
9271 | resultobj = SWIG_Py_Void(); | |
9272 | return resultobj; | |
9273 | fail: | |
9274 | return NULL; | |
9275 | } | |
9276 | ||
9277 | ||
5eb8189c | 9278 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9279 | PyObject *resultobj = 0; |
5eb8189c RD |
9280 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9281 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9282 | void *argp1 = 0 ; |
9283 | int res1 = 0 ; | |
9284 | PyObject *swig_obj[1] ; | |
9285 | ||
9286 | if (!args) SWIG_fail; | |
9287 | swig_obj[0] = args; | |
5eb8189c | 9288 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9289 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9290 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9291 | } |
5eb8189c | 9292 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9293 | result = ((arg1)->panes); |
5eb8189c | 9294 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9295 | return resultobj; |
9296 | fail: | |
9297 | return NULL; | |
9298 | } | |
9299 | ||
9300 | ||
5eb8189c | 9301 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9302 | PyObject *resultobj = 0; |
5eb8189c | 9303 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9304 | wxRect *arg2 = (wxRect *) 0 ; |
9305 | void *argp1 = 0 ; | |
9306 | int res1 = 0 ; | |
9307 | void *argp2 = 0 ; | |
9308 | int res2 = 0 ; | |
9309 | PyObject *swig_obj[2] ; | |
9310 | ||
5eb8189c RD |
9311 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9312 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9313 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9314 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9315 | } |
5eb8189c | 9316 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9317 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9318 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9319 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9320 | } |
9321 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9322 | if (arg1) (arg1)->rect = *arg2; | |
9323 | ||
9324 | resultobj = SWIG_Py_Void(); | |
9325 | return resultobj; | |
9326 | fail: | |
9327 | return NULL; | |
9328 | } | |
9329 | ||
9330 | ||
5eb8189c | 9331 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9332 | PyObject *resultobj = 0; |
5eb8189c | 9333 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9334 | wxRect *result = 0 ; |
9335 | void *argp1 = 0 ; | |
9336 | int res1 = 0 ; | |
9337 | PyObject *swig_obj[1] ; | |
9338 | ||
9339 | if (!args) SWIG_fail; | |
9340 | swig_obj[0] = args; | |
5eb8189c | 9341 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9342 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9344 | } |
5eb8189c | 9345 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9346 | result = (wxRect *)& ((arg1)->rect); |
9347 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9348 | return resultobj; | |
9349 | fail: | |
9350 | return NULL; | |
9351 | } | |
9352 | ||
9353 | ||
5eb8189c | 9354 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9355 | PyObject *resultobj = 0; |
5eb8189c | 9356 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9357 | int arg2 ; |
9358 | void *argp1 = 0 ; | |
9359 | int res1 = 0 ; | |
9360 | int val2 ; | |
9361 | int ecode2 = 0 ; | |
9362 | PyObject *swig_obj[2] ; | |
9363 | ||
5eb8189c RD |
9364 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9365 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9366 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9368 | } |
5eb8189c | 9369 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9370 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9371 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9372 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9373 | } |
9374 | arg2 = static_cast< int >(val2); | |
9375 | if (arg1) (arg1)->dock_direction = arg2; | |
9376 | ||
9377 | resultobj = SWIG_Py_Void(); | |
9378 | return resultobj; | |
9379 | fail: | |
9380 | return NULL; | |
9381 | } | |
9382 | ||
9383 | ||
5eb8189c | 9384 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9385 | PyObject *resultobj = 0; |
5eb8189c | 9386 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9387 | int result; |
9388 | void *argp1 = 0 ; | |
9389 | int res1 = 0 ; | |
9390 | PyObject *swig_obj[1] ; | |
9391 | ||
9392 | if (!args) SWIG_fail; | |
9393 | swig_obj[0] = args; | |
5eb8189c | 9394 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9395 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9397 | } |
5eb8189c | 9398 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9399 | result = (int) ((arg1)->dock_direction); |
9400 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9401 | return resultobj; | |
9402 | fail: | |
9403 | return NULL; | |
9404 | } | |
9405 | ||
9406 | ||
5eb8189c | 9407 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9408 | PyObject *resultobj = 0; |
5eb8189c | 9409 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9410 | int arg2 ; |
9411 | void *argp1 = 0 ; | |
9412 | int res1 = 0 ; | |
9413 | int val2 ; | |
9414 | int ecode2 = 0 ; | |
9415 | PyObject *swig_obj[2] ; | |
9416 | ||
5eb8189c RD |
9417 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9418 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9419 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9420 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9421 | } |
5eb8189c | 9422 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9423 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9424 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9425 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9426 | } |
9427 | arg2 = static_cast< int >(val2); | |
9428 | if (arg1) (arg1)->dock_layer = arg2; | |
9429 | ||
9430 | resultobj = SWIG_Py_Void(); | |
9431 | return resultobj; | |
9432 | fail: | |
9433 | return NULL; | |
9434 | } | |
9435 | ||
9436 | ||
5eb8189c | 9437 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9438 | PyObject *resultobj = 0; |
5eb8189c | 9439 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9440 | int result; |
9441 | void *argp1 = 0 ; | |
9442 | int res1 = 0 ; | |
9443 | PyObject *swig_obj[1] ; | |
9444 | ||
9445 | if (!args) SWIG_fail; | |
9446 | swig_obj[0] = args; | |
5eb8189c | 9447 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9448 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9449 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9450 | } |
5eb8189c | 9451 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9452 | result = (int) ((arg1)->dock_layer); |
9453 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9454 | return resultobj; | |
9455 | fail: | |
9456 | return NULL; | |
9457 | } | |
9458 | ||
9459 | ||
5eb8189c | 9460 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9461 | PyObject *resultobj = 0; |
5eb8189c | 9462 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9463 | int arg2 ; |
9464 | void *argp1 = 0 ; | |
9465 | int res1 = 0 ; | |
9466 | int val2 ; | |
9467 | int ecode2 = 0 ; | |
9468 | PyObject *swig_obj[2] ; | |
9469 | ||
5eb8189c RD |
9470 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9471 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9472 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9473 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9474 | } |
5eb8189c | 9475 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9476 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9477 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9478 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9479 | } |
9480 | arg2 = static_cast< int >(val2); | |
9481 | if (arg1) (arg1)->dock_row = arg2; | |
9482 | ||
9483 | resultobj = SWIG_Py_Void(); | |
9484 | return resultobj; | |
9485 | fail: | |
9486 | return NULL; | |
9487 | } | |
9488 | ||
9489 | ||
5eb8189c | 9490 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9491 | PyObject *resultobj = 0; |
5eb8189c | 9492 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9493 | int result; |
9494 | void *argp1 = 0 ; | |
9495 | int res1 = 0 ; | |
9496 | PyObject *swig_obj[1] ; | |
9497 | ||
9498 | if (!args) SWIG_fail; | |
9499 | swig_obj[0] = args; | |
5eb8189c | 9500 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9501 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9503 | } |
5eb8189c | 9504 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9505 | result = (int) ((arg1)->dock_row); |
9506 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9507 | return resultobj; | |
9508 | fail: | |
9509 | return NULL; | |
9510 | } | |
9511 | ||
9512 | ||
5eb8189c | 9513 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9514 | PyObject *resultobj = 0; |
5eb8189c | 9515 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9516 | int arg2 ; |
9517 | void *argp1 = 0 ; | |
9518 | int res1 = 0 ; | |
9519 | int val2 ; | |
9520 | int ecode2 = 0 ; | |
9521 | PyObject *swig_obj[2] ; | |
9522 | ||
5eb8189c RD |
9523 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9524 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9525 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9526 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9527 | } |
5eb8189c | 9528 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9529 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9530 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9531 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9532 | } |
9533 | arg2 = static_cast< int >(val2); | |
9534 | if (arg1) (arg1)->size = arg2; | |
9535 | ||
9536 | resultobj = SWIG_Py_Void(); | |
9537 | return resultobj; | |
9538 | fail: | |
9539 | return NULL; | |
9540 | } | |
9541 | ||
9542 | ||
5eb8189c | 9543 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9544 | PyObject *resultobj = 0; |
5eb8189c | 9545 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9546 | int result; |
9547 | void *argp1 = 0 ; | |
9548 | int res1 = 0 ; | |
9549 | PyObject *swig_obj[1] ; | |
9550 | ||
9551 | if (!args) SWIG_fail; | |
9552 | swig_obj[0] = args; | |
5eb8189c | 9553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9554 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9556 | } |
5eb8189c | 9557 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9558 | result = (int) ((arg1)->size); |
9559 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9560 | return resultobj; | |
9561 | fail: | |
9562 | return NULL; | |
9563 | } | |
9564 | ||
9565 | ||
5eb8189c | 9566 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9567 | PyObject *resultobj = 0; |
5eb8189c | 9568 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9569 | int arg2 ; |
9570 | void *argp1 = 0 ; | |
9571 | int res1 = 0 ; | |
9572 | int val2 ; | |
9573 | int ecode2 = 0 ; | |
9574 | PyObject *swig_obj[2] ; | |
9575 | ||
5eb8189c RD |
9576 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9577 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9578 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9579 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9580 | } |
5eb8189c | 9581 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9582 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9583 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9584 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9585 | } |
9586 | arg2 = static_cast< int >(val2); | |
9587 | if (arg1) (arg1)->min_size = arg2; | |
9588 | ||
9589 | resultobj = SWIG_Py_Void(); | |
9590 | return resultobj; | |
9591 | fail: | |
9592 | return NULL; | |
9593 | } | |
9594 | ||
9595 | ||
5eb8189c | 9596 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9597 | PyObject *resultobj = 0; |
5eb8189c | 9598 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9599 | int result; |
9600 | void *argp1 = 0 ; | |
9601 | int res1 = 0 ; | |
9602 | PyObject *swig_obj[1] ; | |
9603 | ||
9604 | if (!args) SWIG_fail; | |
9605 | swig_obj[0] = args; | |
5eb8189c | 9606 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9607 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9609 | } |
5eb8189c | 9610 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9611 | result = (int) ((arg1)->min_size); |
9612 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9613 | return resultobj; | |
9614 | fail: | |
9615 | return NULL; | |
9616 | } | |
9617 | ||
9618 | ||
5eb8189c | 9619 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9620 | PyObject *resultobj = 0; |
5eb8189c | 9621 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9622 | bool arg2 ; |
9623 | void *argp1 = 0 ; | |
9624 | int res1 = 0 ; | |
9625 | bool val2 ; | |
9626 | int ecode2 = 0 ; | |
9627 | PyObject *swig_obj[2] ; | |
9628 | ||
5eb8189c RD |
9629 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9630 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9631 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9633 | } |
5eb8189c | 9634 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9635 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9636 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9637 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9638 | } |
9639 | arg2 = static_cast< bool >(val2); | |
9640 | if (arg1) (arg1)->resizable = arg2; | |
9641 | ||
9642 | resultobj = SWIG_Py_Void(); | |
9643 | return resultobj; | |
9644 | fail: | |
9645 | return NULL; | |
9646 | } | |
9647 | ||
9648 | ||
5eb8189c | 9649 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9650 | PyObject *resultobj = 0; |
5eb8189c | 9651 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9652 | bool result; |
9653 | void *argp1 = 0 ; | |
9654 | int res1 = 0 ; | |
9655 | PyObject *swig_obj[1] ; | |
9656 | ||
9657 | if (!args) SWIG_fail; | |
9658 | swig_obj[0] = args; | |
5eb8189c | 9659 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9660 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9662 | } |
5eb8189c | 9663 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9664 | result = (bool) ((arg1)->resizable); |
9665 | { | |
9666 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9667 | } | |
9668 | return resultobj; | |
9669 | fail: | |
9670 | return NULL; | |
9671 | } | |
9672 | ||
9673 | ||
5eb8189c | 9674 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9675 | PyObject *resultobj = 0; |
5eb8189c | 9676 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9677 | bool arg2 ; |
9678 | void *argp1 = 0 ; | |
9679 | int res1 = 0 ; | |
9680 | bool val2 ; | |
9681 | int ecode2 = 0 ; | |
9682 | PyObject *swig_obj[2] ; | |
9683 | ||
5eb8189c RD |
9684 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9686 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9688 | } |
5eb8189c | 9689 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9690 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9691 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9692 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9693 | } |
9694 | arg2 = static_cast< bool >(val2); | |
9695 | if (arg1) (arg1)->toolbar = arg2; | |
9696 | ||
9697 | resultobj = SWIG_Py_Void(); | |
9698 | return resultobj; | |
9699 | fail: | |
9700 | return NULL; | |
9701 | } | |
9702 | ||
9703 | ||
5eb8189c | 9704 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9705 | PyObject *resultobj = 0; |
5eb8189c | 9706 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9707 | bool result; |
9708 | void *argp1 = 0 ; | |
9709 | int res1 = 0 ; | |
9710 | PyObject *swig_obj[1] ; | |
9711 | ||
9712 | if (!args) SWIG_fail; | |
9713 | swig_obj[0] = args; | |
5eb8189c | 9714 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9715 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9717 | } |
5eb8189c | 9718 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9719 | result = (bool) ((arg1)->toolbar); |
9720 | { | |
9721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9722 | } | |
9723 | return resultobj; | |
9724 | fail: | |
9725 | return NULL; | |
9726 | } | |
9727 | ||
9728 | ||
5eb8189c | 9729 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9730 | PyObject *resultobj = 0; |
5eb8189c | 9731 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9732 | bool arg2 ; |
9733 | void *argp1 = 0 ; | |
9734 | int res1 = 0 ; | |
9735 | bool val2 ; | |
9736 | int ecode2 = 0 ; | |
9737 | PyObject *swig_obj[2] ; | |
9738 | ||
5eb8189c RD |
9739 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
9740 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9741 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9742 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9743 | } |
5eb8189c | 9744 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9745 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9746 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9747 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9748 | } |
9749 | arg2 = static_cast< bool >(val2); | |
9750 | if (arg1) (arg1)->fixed = arg2; | |
9751 | ||
9752 | resultobj = SWIG_Py_Void(); | |
9753 | return resultobj; | |
9754 | fail: | |
9755 | return NULL; | |
9756 | } | |
9757 | ||
9758 | ||
5eb8189c | 9759 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9760 | PyObject *resultobj = 0; |
5eb8189c | 9761 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9762 | bool result; |
9763 | void *argp1 = 0 ; | |
9764 | int res1 = 0 ; | |
9765 | PyObject *swig_obj[1] ; | |
9766 | ||
9767 | if (!args) SWIG_fail; | |
9768 | swig_obj[0] = args; | |
5eb8189c | 9769 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9770 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9772 | } |
5eb8189c | 9773 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9774 | result = (bool) ((arg1)->fixed); |
9775 | { | |
9776 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9777 | } | |
9778 | return resultobj; | |
9779 | fail: | |
9780 | return NULL; | |
9781 | } | |
9782 | ||
9783 | ||
5eb8189c | 9784 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 9785 | PyObject *resultobj = 0; |
5eb8189c | 9786 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
9787 | void *argp1 = 0 ; |
9788 | int res1 = 0 ; | |
9789 | PyObject *swig_obj[1] ; | |
9790 | ||
9791 | if (!args) SWIG_fail; | |
9792 | swig_obj[0] = args; | |
5eb8189c | 9793 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 9794 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 9796 | } |
5eb8189c | 9797 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
9798 | { |
9799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9800 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
9801 | |
9802 | wxPyEndAllowThreads(__tstate); | |
9803 | if (PyErr_Occurred()) SWIG_fail; | |
9804 | } | |
9805 | resultobj = SWIG_Py_Void(); | |
9806 | return resultobj; | |
9807 | fail: | |
9808 | return NULL; | |
9809 | } | |
9810 | ||
9811 | ||
5eb8189c | 9812 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9813 | PyObject *obj; |
9814 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9815 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
9816 | return SWIG_Py_Void(); |
9817 | } | |
9818 | ||
5eb8189c | 9819 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9820 | return SWIG_Python_InitShadowInstance(args); |
9821 | } | |
9822 | ||
5eb8189c | 9823 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9824 | PyObject *resultobj = 0; |
5eb8189c | 9825 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9826 | int arg2 ; |
9827 | void *argp1 = 0 ; | |
9828 | int res1 = 0 ; | |
9829 | int val2 ; | |
9830 | int ecode2 = 0 ; | |
9831 | PyObject *swig_obj[2] ; | |
9832 | ||
5eb8189c RD |
9833 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
9834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9835 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9837 | } |
5eb8189c | 9838 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9839 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9840 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9841 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9842 | } |
9843 | arg2 = static_cast< int >(val2); | |
9844 | if (arg1) (arg1)->type = arg2; | |
9845 | ||
9846 | resultobj = SWIG_Py_Void(); | |
9847 | return resultobj; | |
9848 | fail: | |
9849 | return NULL; | |
9850 | } | |
9851 | ||
9852 | ||
5eb8189c | 9853 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9854 | PyObject *resultobj = 0; |
5eb8189c | 9855 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9856 | int result; |
9857 | void *argp1 = 0 ; | |
9858 | int res1 = 0 ; | |
9859 | PyObject *swig_obj[1] ; | |
9860 | ||
9861 | if (!args) SWIG_fail; | |
9862 | swig_obj[0] = args; | |
5eb8189c | 9863 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9864 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9866 | } |
5eb8189c | 9867 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9868 | result = (int) ((arg1)->type); |
9869 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9870 | return resultobj; | |
9871 | fail: | |
9872 | return NULL; | |
9873 | } | |
9874 | ||
9875 | ||
5eb8189c | 9876 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9877 | PyObject *resultobj = 0; |
5eb8189c | 9878 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9879 | int arg2 ; |
9880 | void *argp1 = 0 ; | |
9881 | int res1 = 0 ; | |
9882 | int val2 ; | |
9883 | int ecode2 = 0 ; | |
9884 | PyObject *swig_obj[2] ; | |
9885 | ||
5eb8189c RD |
9886 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
9887 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9888 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9890 | } |
5eb8189c | 9891 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9892 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9893 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9894 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9895 | } |
9896 | arg2 = static_cast< int >(val2); | |
9897 | if (arg1) (arg1)->orientation = arg2; | |
9898 | ||
9899 | resultobj = SWIG_Py_Void(); | |
9900 | return resultobj; | |
9901 | fail: | |
9902 | return NULL; | |
9903 | } | |
9904 | ||
9905 | ||
5eb8189c | 9906 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9907 | PyObject *resultobj = 0; |
5eb8189c | 9908 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9909 | int result; |
9910 | void *argp1 = 0 ; | |
9911 | int res1 = 0 ; | |
9912 | PyObject *swig_obj[1] ; | |
9913 | ||
9914 | if (!args) SWIG_fail; | |
9915 | swig_obj[0] = args; | |
5eb8189c | 9916 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9917 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9919 | } |
5eb8189c | 9920 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9921 | result = (int) ((arg1)->orientation); |
9922 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9923 | return resultobj; | |
9924 | fail: | |
9925 | return NULL; | |
9926 | } | |
9927 | ||
9928 | ||
5eb8189c | 9929 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9930 | PyObject *resultobj = 0; |
5eb8189c RD |
9931 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9932 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
9933 | void *argp1 = 0 ; |
9934 | int res1 = 0 ; | |
9935 | void *argp2 = 0 ; | |
9936 | int res2 = 0 ; | |
9937 | PyObject *swig_obj[2] ; | |
9938 | ||
5eb8189c RD |
9939 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
9940 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9941 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9942 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9943 | } |
5eb8189c RD |
9944 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
9945 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9946 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9947 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9948 | } |
5eb8189c | 9949 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
9950 | if (arg1) (arg1)->dock = arg2; |
9951 | ||
9952 | resultobj = SWIG_Py_Void(); | |
9953 | return resultobj; | |
9954 | fail: | |
9955 | return NULL; | |
9956 | } | |
9957 | ||
9958 | ||
5eb8189c | 9959 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9960 | PyObject *resultobj = 0; |
5eb8189c RD |
9961 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9962 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
9963 | void *argp1 = 0 ; |
9964 | int res1 = 0 ; | |
9965 | PyObject *swig_obj[1] ; | |
9966 | ||
9967 | if (!args) SWIG_fail; | |
9968 | swig_obj[0] = args; | |
5eb8189c | 9969 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9970 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9972 | } |
5eb8189c RD |
9973 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
9974 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
9975 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
9976 | return resultobj; |
9977 | fail: | |
9978 | return NULL; | |
9979 | } | |
9980 | ||
9981 | ||
5eb8189c | 9982 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9983 | PyObject *resultobj = 0; |
5eb8189c RD |
9984 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
9985 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9986 | void *argp1 = 0 ; |
9987 | int res1 = 0 ; | |
9988 | void *argp2 = 0 ; | |
9989 | int res2 = 0 ; | |
9990 | PyObject *swig_obj[2] ; | |
9991 | ||
5eb8189c RD |
9992 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
9993 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9994 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9995 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9996 | } |
5eb8189c RD |
9997 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
9998 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9999 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10000 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10001 | } |
5eb8189c | 10002 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10003 | if (arg1) (arg1)->pane = arg2; |
10004 | ||
10005 | resultobj = SWIG_Py_Void(); | |
10006 | return resultobj; | |
10007 | fail: | |
10008 | return NULL; | |
10009 | } | |
10010 | ||
10011 | ||
5eb8189c | 10012 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10013 | PyObject *resultobj = 0; |
5eb8189c RD |
10014 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10015 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10016 | void *argp1 = 0 ; |
10017 | int res1 = 0 ; | |
10018 | PyObject *swig_obj[1] ; | |
10019 | ||
10020 | if (!args) SWIG_fail; | |
10021 | swig_obj[0] = args; | |
5eb8189c | 10022 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10023 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10024 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10025 | } |
5eb8189c RD |
10026 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10027 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10028 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10029 | return resultobj; |
10030 | fail: | |
10031 | return NULL; | |
10032 | } | |
10033 | ||
10034 | ||
5eb8189c | 10035 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10036 | PyObject *resultobj = 0; |
5eb8189c RD |
10037 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10038 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10039 | void *argp1 = 0 ; |
10040 | int res1 = 0 ; | |
10041 | void *argp2 = 0 ; | |
10042 | int res2 = 0 ; | |
10043 | PyObject *swig_obj[2] ; | |
10044 | ||
5eb8189c RD |
10045 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10046 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10047 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10049 | } |
5eb8189c RD |
10050 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10051 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10052 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10053 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10054 | } |
5eb8189c | 10055 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10056 | if (arg1) (arg1)->button = arg2; |
10057 | ||
10058 | resultobj = SWIG_Py_Void(); | |
10059 | return resultobj; | |
10060 | fail: | |
10061 | return NULL; | |
10062 | } | |
10063 | ||
10064 | ||
5eb8189c | 10065 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10066 | PyObject *resultobj = 0; |
5eb8189c RD |
10067 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10068 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10069 | void *argp1 = 0 ; |
10070 | int res1 = 0 ; | |
10071 | PyObject *swig_obj[1] ; | |
10072 | ||
10073 | if (!args) SWIG_fail; | |
10074 | swig_obj[0] = args; | |
5eb8189c | 10075 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10076 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10078 | } |
5eb8189c RD |
10079 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10080 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10081 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10082 | return resultobj; |
10083 | fail: | |
10084 | return NULL; | |
10085 | } | |
10086 | ||
10087 | ||
5eb8189c | 10088 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10089 | PyObject *resultobj = 0; |
5eb8189c | 10090 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10091 | wxSizer *arg2 = (wxSizer *) 0 ; |
10092 | void *argp1 = 0 ; | |
10093 | int res1 = 0 ; | |
10094 | void *argp2 = 0 ; | |
10095 | int res2 = 0 ; | |
10096 | PyObject *swig_obj[2] ; | |
10097 | ||
5eb8189c RD |
10098 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10099 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10100 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10102 | } |
5eb8189c | 10103 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10104 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10105 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10106 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10107 | } |
10108 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10109 | if (arg1) (arg1)->cont_sizer = arg2; | |
10110 | ||
10111 | resultobj = SWIG_Py_Void(); | |
10112 | return resultobj; | |
10113 | fail: | |
10114 | return NULL; | |
10115 | } | |
10116 | ||
10117 | ||
5eb8189c | 10118 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10119 | PyObject *resultobj = 0; |
5eb8189c | 10120 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10121 | wxSizer *result = 0 ; |
10122 | void *argp1 = 0 ; | |
10123 | int res1 = 0 ; | |
10124 | PyObject *swig_obj[1] ; | |
10125 | ||
10126 | if (!args) SWIG_fail; | |
10127 | swig_obj[0] = args; | |
5eb8189c | 10128 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10129 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10130 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10131 | } |
5eb8189c | 10132 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10133 | result = (wxSizer *) ((arg1)->cont_sizer); |
10134 | { | |
10135 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10136 | } | |
10137 | return resultobj; | |
10138 | fail: | |
10139 | return NULL; | |
10140 | } | |
10141 | ||
10142 | ||
5eb8189c | 10143 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10144 | PyObject *resultobj = 0; |
5eb8189c | 10145 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10146 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10147 | void *argp1 = 0 ; | |
10148 | int res1 = 0 ; | |
10149 | void *argp2 = 0 ; | |
10150 | int res2 = 0 ; | |
10151 | PyObject *swig_obj[2] ; | |
10152 | ||
5eb8189c RD |
10153 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10154 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10155 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10156 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10157 | } |
5eb8189c | 10158 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10159 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10160 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10161 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10162 | } |
10163 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10164 | if (arg1) (arg1)->sizer_item = arg2; | |
10165 | ||
10166 | resultobj = SWIG_Py_Void(); | |
10167 | return resultobj; | |
10168 | fail: | |
10169 | return NULL; | |
10170 | } | |
10171 | ||
10172 | ||
5eb8189c | 10173 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10174 | PyObject *resultobj = 0; |
5eb8189c | 10175 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10176 | wxSizerItem *result = 0 ; |
10177 | void *argp1 = 0 ; | |
10178 | int res1 = 0 ; | |
10179 | PyObject *swig_obj[1] ; | |
10180 | ||
10181 | if (!args) SWIG_fail; | |
10182 | swig_obj[0] = args; | |
5eb8189c | 10183 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10184 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10186 | } |
5eb8189c | 10187 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10188 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10189 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10190 | return resultobj; | |
10191 | fail: | |
10192 | return NULL; | |
10193 | } | |
10194 | ||
10195 | ||
5eb8189c | 10196 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10197 | PyObject *resultobj = 0; |
5eb8189c | 10198 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10199 | wxRect *arg2 = (wxRect *) 0 ; |
10200 | void *argp1 = 0 ; | |
10201 | int res1 = 0 ; | |
10202 | void *argp2 = 0 ; | |
10203 | int res2 = 0 ; | |
10204 | PyObject *swig_obj[2] ; | |
10205 | ||
5eb8189c RD |
10206 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10207 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10208 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10209 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10210 | } |
5eb8189c | 10211 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10212 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10213 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10214 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10215 | } |
10216 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10217 | if (arg1) (arg1)->rect = *arg2; | |
10218 | ||
10219 | resultobj = SWIG_Py_Void(); | |
10220 | return resultobj; | |
10221 | fail: | |
10222 | return NULL; | |
10223 | } | |
10224 | ||
10225 | ||
5eb8189c | 10226 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10227 | PyObject *resultobj = 0; |
5eb8189c | 10228 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10229 | wxRect *result = 0 ; |
10230 | void *argp1 = 0 ; | |
10231 | int res1 = 0 ; | |
10232 | PyObject *swig_obj[1] ; | |
10233 | ||
10234 | if (!args) SWIG_fail; | |
10235 | swig_obj[0] = args; | |
5eb8189c | 10236 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10237 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10238 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10239 | } |
5eb8189c | 10240 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10241 | result = (wxRect *)& ((arg1)->rect); |
10242 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10243 | return resultobj; | |
10244 | fail: | |
10245 | return NULL; | |
10246 | } | |
10247 | ||
10248 | ||
5eb8189c | 10249 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10250 | PyObject *resultobj = 0; |
5eb8189c | 10251 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10252 | void *argp1 = 0 ; |
10253 | int res1 = 0 ; | |
10254 | PyObject *swig_obj[1] ; | |
10255 | ||
10256 | if (!args) SWIG_fail; | |
10257 | swig_obj[0] = args; | |
5eb8189c | 10258 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10259 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10261 | } |
5eb8189c | 10262 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10263 | { |
10264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10265 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10266 | |
10267 | wxPyEndAllowThreads(__tstate); | |
10268 | if (PyErr_Occurred()) SWIG_fail; | |
10269 | } | |
10270 | resultobj = SWIG_Py_Void(); | |
10271 | return resultobj; | |
10272 | fail: | |
10273 | return NULL; | |
10274 | } | |
10275 | ||
10276 | ||
5eb8189c | 10277 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10278 | PyObject *obj; |
10279 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10280 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10281 | return SWIG_Py_Void(); |
10282 | } | |
10283 | ||
5eb8189c | 10284 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10285 | PyObject *resultobj = 0; |
5eb8189c | 10286 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10287 | int arg2 ; |
10288 | void *argp1 = 0 ; | |
10289 | int res1 = 0 ; | |
10290 | int val2 ; | |
10291 | int ecode2 = 0 ; | |
10292 | PyObject *swig_obj[2] ; | |
10293 | ||
5eb8189c RD |
10294 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10295 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10296 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10298 | } |
5eb8189c | 10299 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10300 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10301 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10302 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10303 | } |
10304 | arg2 = static_cast< int >(val2); | |
10305 | if (arg1) (arg1)->button_id = arg2; | |
10306 | ||
10307 | resultobj = SWIG_Py_Void(); | |
10308 | return resultobj; | |
10309 | fail: | |
10310 | return NULL; | |
10311 | } | |
10312 | ||
10313 | ||
5eb8189c | 10314 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10315 | PyObject *resultobj = 0; |
5eb8189c | 10316 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10317 | int result; |
10318 | void *argp1 = 0 ; | |
10319 | int res1 = 0 ; | |
10320 | PyObject *swig_obj[1] ; | |
10321 | ||
10322 | if (!args) SWIG_fail; | |
10323 | swig_obj[0] = args; | |
5eb8189c | 10324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10325 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10327 | } |
5eb8189c | 10328 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10329 | result = (int) ((arg1)->button_id); |
10330 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10331 | return resultobj; | |
10332 | fail: | |
10333 | return NULL; | |
10334 | } | |
10335 | ||
10336 | ||
5eb8189c | 10337 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10338 | PyObject *resultobj = 0; |
5eb8189c | 10339 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10340 | void *argp1 = 0 ; |
10341 | int res1 = 0 ; | |
10342 | PyObject *swig_obj[1] ; | |
10343 | ||
10344 | if (!args) SWIG_fail; | |
10345 | swig_obj[0] = args; | |
5eb8189c | 10346 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10347 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10349 | } |
5eb8189c | 10350 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10351 | { |
10352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10353 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10354 | |
10355 | wxPyEndAllowThreads(__tstate); | |
10356 | if (PyErr_Occurred()) SWIG_fail; | |
10357 | } | |
10358 | resultobj = SWIG_Py_Void(); | |
10359 | return resultobj; | |
10360 | fail: | |
10361 | return NULL; | |
10362 | } | |
10363 | ||
10364 | ||
5eb8189c | 10365 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10366 | PyObject *obj; |
10367 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10368 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10369 | return SWIG_Py_Void(); |
10370 | } | |
10371 | ||
5eb8189c | 10372 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10373 | PyObject *resultobj = 0; |
5eb8189c | 10374 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10375 | void *argp1 = 0 ; |
10376 | int res1 = 0 ; | |
10377 | PyObject *swig_obj[1] ; | |
10378 | ||
10379 | if (!args) SWIG_fail; | |
10380 | swig_obj[0] = args; | |
5eb8189c | 10381 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10382 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10384 | } |
5eb8189c | 10385 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10386 | { |
10387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10388 | delete arg1; | |
10389 | ||
10390 | wxPyEndAllowThreads(__tstate); | |
10391 | if (PyErr_Occurred()) SWIG_fail; | |
10392 | } | |
10393 | resultobj = SWIG_Py_Void(); | |
10394 | return resultobj; | |
10395 | fail: | |
10396 | return NULL; | |
10397 | } | |
10398 | ||
10399 | ||
5eb8189c | 10400 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10401 | PyObject *resultobj = 0; |
5eb8189c | 10402 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10403 | int arg2 ; |
10404 | int result; | |
10405 | void *argp1 = 0 ; | |
10406 | int res1 = 0 ; | |
10407 | int val2 ; | |
10408 | int ecode2 = 0 ; | |
10409 | PyObject * obj0 = 0 ; | |
10410 | PyObject * obj1 = 0 ; | |
10411 | char * kwnames[] = { | |
10412 | (char *) "self",(char *) "id", NULL | |
10413 | }; | |
10414 | ||
5eb8189c RD |
10415 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10416 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10417 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10419 | } |
5eb8189c | 10420 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10421 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10422 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10423 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10424 | } |
10425 | arg2 = static_cast< int >(val2); | |
10426 | { | |
10427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10428 | result = (int)(arg1)->GetMetric(arg2); | |
10429 | wxPyEndAllowThreads(__tstate); | |
10430 | if (PyErr_Occurred()) SWIG_fail; | |
10431 | } | |
10432 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10433 | return resultobj; | |
10434 | fail: | |
10435 | return NULL; | |
10436 | } | |
10437 | ||
10438 | ||
5eb8189c | 10439 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10440 | PyObject *resultobj = 0; |
5eb8189c | 10441 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10442 | int arg2 ; |
10443 | int arg3 ; | |
10444 | void *argp1 = 0 ; | |
10445 | int res1 = 0 ; | |
10446 | int val2 ; | |
10447 | int ecode2 = 0 ; | |
10448 | int val3 ; | |
10449 | int ecode3 = 0 ; | |
10450 | PyObject * obj0 = 0 ; | |
10451 | PyObject * obj1 = 0 ; | |
10452 | PyObject * obj2 = 0 ; | |
10453 | char * kwnames[] = { | |
10454 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10455 | }; | |
10456 | ||
5eb8189c RD |
10457 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10459 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10461 | } |
5eb8189c | 10462 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10463 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10464 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10465 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10466 | } |
10467 | arg2 = static_cast< int >(val2); | |
10468 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10469 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10470 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10471 | } |
10472 | arg3 = static_cast< int >(val3); | |
10473 | { | |
10474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10475 | (arg1)->SetMetric(arg2,arg3); | |
10476 | wxPyEndAllowThreads(__tstate); | |
10477 | if (PyErr_Occurred()) SWIG_fail; | |
10478 | } | |
10479 | resultobj = SWIG_Py_Void(); | |
10480 | return resultobj; | |
10481 | fail: | |
10482 | return NULL; | |
10483 | } | |
10484 | ||
10485 | ||
5eb8189c | 10486 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10487 | PyObject *resultobj = 0; |
5eb8189c | 10488 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10489 | int arg2 ; |
10490 | wxFont *arg3 = 0 ; | |
10491 | void *argp1 = 0 ; | |
10492 | int res1 = 0 ; | |
10493 | int val2 ; | |
10494 | int ecode2 = 0 ; | |
10495 | void *argp3 = 0 ; | |
10496 | int res3 = 0 ; | |
10497 | PyObject * obj0 = 0 ; | |
10498 | PyObject * obj1 = 0 ; | |
10499 | PyObject * obj2 = 0 ; | |
10500 | char * kwnames[] = { | |
10501 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10502 | }; | |
10503 | ||
5eb8189c RD |
10504 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10505 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10506 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10508 | } |
5eb8189c | 10509 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10510 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10511 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10512 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10513 | } |
10514 | arg2 = static_cast< int >(val2); | |
10515 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10516 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10517 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10518 | } |
10519 | if (!argp3) { | |
5eb8189c | 10520 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10521 | } |
10522 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10523 | { | |
10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10525 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10526 | wxPyEndAllowThreads(__tstate); | |
10527 | if (PyErr_Occurred()) SWIG_fail; | |
10528 | } | |
10529 | resultobj = SWIG_Py_Void(); | |
10530 | return resultobj; | |
10531 | fail: | |
10532 | return NULL; | |
10533 | } | |
10534 | ||
10535 | ||
5eb8189c | 10536 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10537 | PyObject *resultobj = 0; |
5eb8189c | 10538 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10539 | int arg2 ; |
10540 | wxFont result; | |
10541 | void *argp1 = 0 ; | |
10542 | int res1 = 0 ; | |
10543 | int val2 ; | |
10544 | int ecode2 = 0 ; | |
10545 | PyObject * obj0 = 0 ; | |
10546 | PyObject * obj1 = 0 ; | |
10547 | char * kwnames[] = { | |
10548 | (char *) "self",(char *) "id", NULL | |
10549 | }; | |
10550 | ||
5eb8189c RD |
10551 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10552 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10553 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10554 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10555 | } |
5eb8189c | 10556 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10557 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10558 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10559 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10560 | } |
10561 | arg2 = static_cast< int >(val2); | |
10562 | { | |
10563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10564 | result = (arg1)->GetFont(arg2); | |
10565 | wxPyEndAllowThreads(__tstate); | |
10566 | if (PyErr_Occurred()) SWIG_fail; | |
10567 | } | |
10568 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10569 | return resultobj; | |
10570 | fail: | |
10571 | return NULL; | |
10572 | } | |
10573 | ||
10574 | ||
5eb8189c | 10575 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10576 | PyObject *resultobj = 0; |
5eb8189c | 10577 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10578 | int arg2 ; |
10579 | wxColour result; | |
10580 | void *argp1 = 0 ; | |
10581 | int res1 = 0 ; | |
10582 | int val2 ; | |
10583 | int ecode2 = 0 ; | |
10584 | PyObject * obj0 = 0 ; | |
10585 | PyObject * obj1 = 0 ; | |
10586 | char * kwnames[] = { | |
10587 | (char *) "self",(char *) "id", NULL | |
10588 | }; | |
10589 | ||
5eb8189c RD |
10590 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10591 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10592 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10593 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10594 | } |
5eb8189c | 10595 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10596 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10597 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10598 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10599 | } |
10600 | arg2 = static_cast< int >(val2); | |
10601 | { | |
10602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10603 | result = (arg1)->GetColour(arg2); | |
10604 | wxPyEndAllowThreads(__tstate); | |
10605 | if (PyErr_Occurred()) SWIG_fail; | |
10606 | } | |
10607 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10608 | return resultobj; | |
10609 | fail: | |
10610 | return NULL; | |
10611 | } | |
10612 | ||
10613 | ||
5eb8189c | 10614 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10615 | PyObject *resultobj = 0; |
5eb8189c | 10616 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10617 | int arg2 ; |
10618 | wxColor *arg3 = 0 ; | |
10619 | void *argp1 = 0 ; | |
10620 | int res1 = 0 ; | |
10621 | int val2 ; | |
10622 | int ecode2 = 0 ; | |
10623 | void *argp3 = 0 ; | |
10624 | int res3 = 0 ; | |
10625 | PyObject * obj0 = 0 ; | |
10626 | PyObject * obj1 = 0 ; | |
10627 | PyObject * obj2 = 0 ; | |
10628 | char * kwnames[] = { | |
10629 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10630 | }; | |
10631 | ||
5eb8189c RD |
10632 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10633 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10634 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10635 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10636 | } |
5eb8189c | 10637 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10638 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10639 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10640 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10641 | } |
10642 | arg2 = static_cast< int >(val2); | |
10643 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10644 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10645 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10646 | } |
10647 | if (!argp3) { | |
5eb8189c | 10648 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10649 | } |
10650 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
10651 | { | |
10652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10653 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
10654 | wxPyEndAllowThreads(__tstate); | |
10655 | if (PyErr_Occurred()) SWIG_fail; | |
10656 | } | |
10657 | resultobj = SWIG_Py_Void(); | |
10658 | return resultobj; | |
10659 | fail: | |
10660 | return NULL; | |
10661 | } | |
10662 | ||
10663 | ||
5eb8189c | 10664 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10665 | PyObject *resultobj = 0; |
5eb8189c | 10666 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10667 | int arg2 ; |
10668 | wxColour result; | |
10669 | void *argp1 = 0 ; | |
10670 | int res1 = 0 ; | |
10671 | int val2 ; | |
10672 | int ecode2 = 0 ; | |
10673 | PyObject * obj0 = 0 ; | |
10674 | PyObject * obj1 = 0 ; | |
10675 | char * kwnames[] = { | |
10676 | (char *) "self",(char *) "id", NULL | |
10677 | }; | |
10678 | ||
5eb8189c RD |
10679 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
10680 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10681 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10682 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10683 | } |
5eb8189c | 10684 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10685 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10686 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10687 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10688 | } |
10689 | arg2 = static_cast< int >(val2); | |
10690 | { | |
10691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10692 | result = (arg1)->GetColor(arg2); | |
10693 | wxPyEndAllowThreads(__tstate); | |
10694 | if (PyErr_Occurred()) SWIG_fail; | |
10695 | } | |
10696 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10697 | return resultobj; | |
10698 | fail: | |
10699 | return NULL; | |
10700 | } | |
10701 | ||
10702 | ||
5eb8189c | 10703 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10704 | PyObject *resultobj = 0; |
5eb8189c | 10705 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10706 | int arg2 ; |
10707 | wxColour *arg3 = 0 ; | |
10708 | void *argp1 = 0 ; | |
10709 | int res1 = 0 ; | |
10710 | int val2 ; | |
10711 | int ecode2 = 0 ; | |
10712 | wxColour temp3 ; | |
10713 | PyObject * obj0 = 0 ; | |
10714 | PyObject * obj1 = 0 ; | |
10715 | PyObject * obj2 = 0 ; | |
10716 | char * kwnames[] = { | |
10717 | (char *) "self",(char *) "id",(char *) "color", NULL | |
10718 | }; | |
10719 | ||
5eb8189c RD |
10720 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10721 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10722 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10723 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10724 | } |
5eb8189c | 10725 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10726 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10727 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10728 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10729 | } |
10730 | arg2 = static_cast< int >(val2); | |
10731 | { | |
10732 | arg3 = &temp3; | |
10733 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10734 | } | |
10735 | { | |
10736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10737 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
10738 | wxPyEndAllowThreads(__tstate); | |
10739 | if (PyErr_Occurred()) SWIG_fail; | |
10740 | } | |
10741 | resultobj = SWIG_Py_Void(); | |
10742 | return resultobj; | |
10743 | fail: | |
10744 | return NULL; | |
10745 | } | |
10746 | ||
10747 | ||
5eb8189c | 10748 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10749 | PyObject *resultobj = 0; |
5eb8189c | 10750 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10751 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10752 | wxWindow *arg3 = (wxWindow *) 0 ; |
10753 | int arg4 ; | |
10754 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10755 | void *argp1 = 0 ; |
10756 | int res1 = 0 ; | |
10757 | void *argp2 = 0 ; | |
10758 | int res2 = 0 ; | |
97ab0f6a RD |
10759 | void *argp3 = 0 ; |
10760 | int res3 = 0 ; | |
10761 | int val4 ; | |
10762 | int ecode4 = 0 ; | |
10763 | wxRect temp5 ; | |
27e45892 RD |
10764 | PyObject * obj0 = 0 ; |
10765 | PyObject * obj1 = 0 ; | |
10766 | PyObject * obj2 = 0 ; | |
10767 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10768 | PyObject * obj4 = 0 ; |
27e45892 | 10769 | char * kwnames[] = { |
97ab0f6a | 10770 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10771 | }; |
10772 | ||
5eb8189c RD |
10773 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10774 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10775 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10777 | } |
5eb8189c | 10778 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10779 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10780 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10781 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10782 | } |
10783 | if (!argp2) { | |
5eb8189c | 10784 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10785 | } |
10786 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10787 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10788 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10789 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
10790 | } |
10791 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10792 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10793 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 10794 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 10795 | } |
97ab0f6a | 10796 | arg4 = static_cast< int >(val4); |
27e45892 | 10797 | { |
97ab0f6a RD |
10798 | arg5 = &temp5; |
10799 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10800 | } |
10801 | { | |
10802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10803 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10804 | wxPyEndAllowThreads(__tstate); |
10805 | if (PyErr_Occurred()) SWIG_fail; | |
10806 | } | |
10807 | resultobj = SWIG_Py_Void(); | |
10808 | return resultobj; | |
10809 | fail: | |
10810 | return NULL; | |
10811 | } | |
10812 | ||
10813 | ||
5eb8189c | 10814 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10815 | PyObject *resultobj = 0; |
5eb8189c | 10816 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10817 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10818 | wxWindow *arg3 = (wxWindow *) 0 ; |
10819 | int arg4 ; | |
10820 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10821 | void *argp1 = 0 ; |
10822 | int res1 = 0 ; | |
10823 | void *argp2 = 0 ; | |
10824 | int res2 = 0 ; | |
97ab0f6a RD |
10825 | void *argp3 = 0 ; |
10826 | int res3 = 0 ; | |
10827 | int val4 ; | |
10828 | int ecode4 = 0 ; | |
10829 | wxRect temp5 ; | |
27e45892 RD |
10830 | PyObject * obj0 = 0 ; |
10831 | PyObject * obj1 = 0 ; | |
10832 | PyObject * obj2 = 0 ; | |
10833 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10834 | PyObject * obj4 = 0 ; |
27e45892 | 10835 | char * kwnames[] = { |
97ab0f6a | 10836 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10837 | }; |
10838 | ||
5eb8189c RD |
10839 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10840 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10841 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10843 | } |
5eb8189c | 10844 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10845 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10846 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10847 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10848 | } |
10849 | if (!argp2) { | |
5eb8189c | 10850 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10851 | } |
10852 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10853 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10854 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10855 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
10856 | } |
10857 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10858 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10859 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 10860 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 10861 | } |
97ab0f6a | 10862 | arg4 = static_cast< int >(val4); |
27e45892 | 10863 | { |
97ab0f6a RD |
10864 | arg5 = &temp5; |
10865 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10866 | } |
10867 | { | |
10868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10869 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10870 | wxPyEndAllowThreads(__tstate); |
10871 | if (PyErr_Occurred()) SWIG_fail; | |
10872 | } | |
10873 | resultobj = SWIG_Py_Void(); | |
10874 | return resultobj; | |
10875 | fail: | |
10876 | return NULL; | |
10877 | } | |
10878 | ||
10879 | ||
5eb8189c | 10880 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10881 | PyObject *resultobj = 0; |
5eb8189c | 10882 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10883 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10884 | wxWindow *arg3 = (wxWindow *) 0 ; |
10885 | wxString *arg4 = 0 ; | |
10886 | wxRect *arg5 = 0 ; | |
5eb8189c | 10887 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
10888 | void *argp1 = 0 ; |
10889 | int res1 = 0 ; | |
10890 | void *argp2 = 0 ; | |
10891 | int res2 = 0 ; | |
97ab0f6a RD |
10892 | void *argp3 = 0 ; |
10893 | int res3 = 0 ; | |
10894 | bool temp4 = false ; | |
10895 | wxRect temp5 ; | |
10896 | void *argp6 = 0 ; | |
10897 | int res6 = 0 ; | |
27e45892 RD |
10898 | PyObject * obj0 = 0 ; |
10899 | PyObject * obj1 = 0 ; | |
10900 | PyObject * obj2 = 0 ; | |
10901 | PyObject * obj3 = 0 ; | |
10902 | PyObject * obj4 = 0 ; | |
97ab0f6a | 10903 | PyObject * obj5 = 0 ; |
27e45892 | 10904 | char * kwnames[] = { |
97ab0f6a | 10905 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10906 | }; |
10907 | ||
5eb8189c RD |
10908 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
10909 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10910 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10912 | } |
5eb8189c | 10913 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10914 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10915 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10916 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10917 | } |
10918 | if (!argp2) { | |
5eb8189c | 10919 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10920 | } |
10921 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10922 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10923 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10924 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
10925 | } |
10926 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10927 | { |
97ab0f6a RD |
10928 | arg4 = wxString_in_helper(obj3); |
10929 | if (arg4 == NULL) SWIG_fail; | |
10930 | temp4 = true; | |
27e45892 RD |
10931 | } |
10932 | { | |
97ab0f6a RD |
10933 | arg5 = &temp5; |
10934 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 10935 | } |
5eb8189c | 10936 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 10937 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 10938 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 10939 | } |
97ab0f6a | 10940 | if (!argp6) { |
5eb8189c | 10941 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 10942 | } |
5eb8189c | 10943 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
10944 | { |
10945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10946 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
10947 | wxPyEndAllowThreads(__tstate); |
10948 | if (PyErr_Occurred()) SWIG_fail; | |
10949 | } | |
10950 | resultobj = SWIG_Py_Void(); | |
10951 | { | |
97ab0f6a RD |
10952 | if (temp4) |
10953 | delete arg4; | |
27e45892 RD |
10954 | } |
10955 | return resultobj; | |
10956 | fail: | |
10957 | { | |
97ab0f6a RD |
10958 | if (temp4) |
10959 | delete arg4; | |
27e45892 RD |
10960 | } |
10961 | return NULL; | |
10962 | } | |
10963 | ||
10964 | ||
5eb8189c | 10965 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10966 | PyObject *resultobj = 0; |
5eb8189c | 10967 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10968 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10969 | wxWindow *arg3 = (wxWindow *) 0 ; |
10970 | wxRect *arg4 = 0 ; | |
5eb8189c | 10971 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
10972 | void *argp1 = 0 ; |
10973 | int res1 = 0 ; | |
10974 | void *argp2 = 0 ; | |
10975 | int res2 = 0 ; | |
97ab0f6a RD |
10976 | void *argp3 = 0 ; |
10977 | int res3 = 0 ; | |
10978 | wxRect temp4 ; | |
10979 | void *argp5 = 0 ; | |
10980 | int res5 = 0 ; | |
27e45892 RD |
10981 | PyObject * obj0 = 0 ; |
10982 | PyObject * obj1 = 0 ; | |
10983 | PyObject * obj2 = 0 ; | |
10984 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10985 | PyObject * obj4 = 0 ; |
27e45892 | 10986 | char * kwnames[] = { |
97ab0f6a | 10987 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10988 | }; |
10989 | ||
5eb8189c RD |
10990 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10991 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10992 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10994 | } |
5eb8189c | 10995 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10996 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10997 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10998 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10999 | } |
11000 | if (!argp2) { | |
5eb8189c | 11001 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11002 | } |
11003 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11004 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11005 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11006 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11007 | } |
11008 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11009 | { |
97ab0f6a RD |
11010 | arg4 = &temp4; |
11011 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11012 | } |
5eb8189c | 11013 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11014 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11015 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11016 | } |
97ab0f6a | 11017 | if (!argp5) { |
5eb8189c | 11018 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11019 | } |
5eb8189c | 11020 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11021 | { |
11022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11023 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11024 | wxPyEndAllowThreads(__tstate); |
11025 | if (PyErr_Occurred()) SWIG_fail; | |
11026 | } | |
11027 | resultobj = SWIG_Py_Void(); | |
11028 | return resultobj; | |
11029 | fail: | |
11030 | return NULL; | |
11031 | } | |
11032 | ||
11033 | ||
5eb8189c | 11034 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11035 | PyObject *resultobj = 0; |
5eb8189c | 11036 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11037 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11038 | wxWindow *arg3 = (wxWindow *) 0 ; |
11039 | wxRect *arg4 = 0 ; | |
5eb8189c | 11040 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11041 | void *argp1 = 0 ; |
11042 | int res1 = 0 ; | |
11043 | void *argp2 = 0 ; | |
11044 | int res2 = 0 ; | |
97ab0f6a RD |
11045 | void *argp3 = 0 ; |
11046 | int res3 = 0 ; | |
11047 | wxRect temp4 ; | |
11048 | void *argp5 = 0 ; | |
11049 | int res5 = 0 ; | |
27e45892 RD |
11050 | PyObject * obj0 = 0 ; |
11051 | PyObject * obj1 = 0 ; | |
11052 | PyObject * obj2 = 0 ; | |
11053 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11054 | PyObject * obj4 = 0 ; |
27e45892 | 11055 | char * kwnames[] = { |
97ab0f6a | 11056 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11057 | }; |
11058 | ||
5eb8189c RD |
11059 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11060 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11061 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11063 | } |
5eb8189c | 11064 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11065 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11066 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11067 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11068 | } |
11069 | if (!argp2) { | |
5eb8189c | 11070 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11071 | } |
11072 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11073 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11074 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11075 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11076 | } |
11077 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11078 | { |
97ab0f6a RD |
11079 | arg4 = &temp4; |
11080 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11081 | } |
5eb8189c | 11082 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11083 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11084 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11085 | } |
97ab0f6a | 11086 | if (!argp5) { |
5eb8189c | 11087 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11088 | } |
5eb8189c | 11089 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11090 | { |
11091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11092 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11093 | wxPyEndAllowThreads(__tstate); |
11094 | if (PyErr_Occurred()) SWIG_fail; | |
11095 | } | |
11096 | resultobj = SWIG_Py_Void(); | |
11097 | return resultobj; | |
11098 | fail: | |
11099 | return NULL; | |
11100 | } | |
11101 | ||
11102 | ||
5eb8189c | 11103 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11104 | PyObject *resultobj = 0; |
5eb8189c | 11105 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11106 | wxDC *arg2 = 0 ; |
97ab0f6a | 11107 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11108 | int arg4 ; |
97ab0f6a RD |
11109 | int arg5 ; |
11110 | wxRect *arg6 = 0 ; | |
5eb8189c | 11111 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11112 | void *argp1 = 0 ; |
11113 | int res1 = 0 ; | |
11114 | void *argp2 = 0 ; | |
11115 | int res2 = 0 ; | |
97ab0f6a RD |
11116 | void *argp3 = 0 ; |
11117 | int res3 = 0 ; | |
27e45892 RD |
11118 | int val4 ; |
11119 | int ecode4 = 0 ; | |
97ab0f6a RD |
11120 | int val5 ; |
11121 | int ecode5 = 0 ; | |
11122 | wxRect temp6 ; | |
11123 | void *argp7 = 0 ; | |
11124 | int res7 = 0 ; | |
27e45892 RD |
11125 | PyObject * obj0 = 0 ; |
11126 | PyObject * obj1 = 0 ; | |
11127 | PyObject * obj2 = 0 ; | |
11128 | PyObject * obj3 = 0 ; | |
11129 | PyObject * obj4 = 0 ; | |
11130 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11131 | PyObject * obj6 = 0 ; |
27e45892 | 11132 | char * kwnames[] = { |
97ab0f6a | 11133 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11134 | }; |
11135 | ||
5eb8189c RD |
11136 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11137 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11138 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11139 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11140 | } |
5eb8189c | 11141 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11142 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11143 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11144 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11145 | } |
11146 | if (!argp2) { | |
5eb8189c | 11147 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11148 | } |
11149 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11150 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11151 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11152 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11153 | } |
11154 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11155 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11156 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11157 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11158 | } |
11159 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11160 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11161 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11162 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11163 | } |
11164 | arg5 = static_cast< int >(val5); | |
27e45892 | 11165 | { |
97ab0f6a RD |
11166 | arg6 = &temp6; |
11167 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11168 | } |
5eb8189c | 11169 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11170 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11171 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11172 | } |
97ab0f6a | 11173 | if (!argp7) { |
5eb8189c | 11174 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11175 | } |
5eb8189c | 11176 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11177 | { |
11178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11179 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11180 | wxPyEndAllowThreads(__tstate); |
11181 | if (PyErr_Occurred()) SWIG_fail; | |
11182 | } | |
11183 | resultobj = SWIG_Py_Void(); | |
11184 | return resultobj; | |
11185 | fail: | |
11186 | return NULL; | |
11187 | } | |
11188 | ||
11189 | ||
5eb8189c | 11190 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11191 | PyObject *obj; |
11192 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11193 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11194 | return SWIG_Py_Void(); |
11195 | } | |
11196 | ||
5eb8189c | 11197 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11198 | PyObject *resultobj = 0; |
5eb8189c | 11199 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11200 | |
5eb8189c | 11201 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11202 | { |
11203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11204 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11205 | wxPyEndAllowThreads(__tstate); |
11206 | if (PyErr_Occurred()) SWIG_fail; | |
11207 | } | |
5eb8189c | 11208 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11209 | return resultobj; |
11210 | fail: | |
11211 | return NULL; | |
11212 | } | |
11213 | ||
11214 | ||
5eb8189c | 11215 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11216 | PyObject *obj; |
11217 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11218 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11219 | return SWIG_Py_Void(); |
11220 | } | |
11221 | ||
5eb8189c | 11222 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11223 | return SWIG_Python_InitShadowInstance(args); |
11224 | } | |
11225 | ||
5eb8189c | 11226 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11227 | PyObject *resultobj = 0; |
11228 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11229 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11230 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11231 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11232 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11233 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11234 | void *argp1 = 0 ; |
11235 | int res1 = 0 ; | |
11236 | void *argp2 = 0 ; | |
11237 | int res2 = 0 ; | |
11238 | void *argp3 = 0 ; | |
11239 | int res3 = 0 ; | |
11240 | int val4 ; | |
11241 | int ecode4 = 0 ; | |
9b940138 RD |
11242 | long val5 ; |
11243 | int ecode5 = 0 ; | |
27e45892 RD |
11244 | PyObject * obj0 = 0 ; |
11245 | PyObject * obj1 = 0 ; | |
11246 | PyObject * obj2 = 0 ; | |
11247 | PyObject * obj3 = 0 ; | |
9b940138 | 11248 | PyObject * obj4 = 0 ; |
27e45892 | 11249 | char * kwnames[] = { |
9b940138 | 11250 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11251 | }; |
11252 | ||
5eb8189c | 11253 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11254 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11255 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11257 | } |
11258 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11259 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11260 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11261 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11262 | } |
5eb8189c RD |
11263 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11264 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11265 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11266 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11267 | } |
11268 | if (!argp3) { | |
5eb8189c | 11269 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11270 | } |
5eb8189c | 11271 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11272 | if (obj3) { |
11273 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11274 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11275 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11276 | } |
11277 | arg4 = static_cast< int >(val4); | |
11278 | } | |
9b940138 RD |
11279 | if (obj4) { |
11280 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11281 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11282 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11283 | } |
11284 | arg5 = static_cast< long >(val5); | |
11285 | } | |
27e45892 RD |
11286 | { |
11287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11288 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11289 | wxPyEndAllowThreads(__tstate); |
11290 | if (PyErr_Occurred()) SWIG_fail; | |
11291 | } | |
5eb8189c | 11292 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11293 | return resultobj; |
11294 | fail: | |
11295 | return NULL; | |
11296 | } | |
11297 | ||
11298 | ||
5eb8189c | 11299 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11300 | PyObject *resultobj = 0; |
5eb8189c | 11301 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11302 | void *argp1 = 0 ; |
11303 | int res1 = 0 ; | |
11304 | PyObject *swig_obj[1] ; | |
11305 | ||
11306 | if (!args) SWIG_fail; | |
11307 | swig_obj[0] = args; | |
5eb8189c | 11308 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11309 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11310 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11311 | } |
5eb8189c | 11312 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11313 | { |
11314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11315 | delete arg1; | |
11316 | ||
11317 | wxPyEndAllowThreads(__tstate); | |
11318 | if (PyErr_Occurred()) SWIG_fail; | |
11319 | } | |
11320 | resultobj = SWIG_Py_Void(); | |
11321 | return resultobj; | |
11322 | fail: | |
11323 | return NULL; | |
11324 | } | |
11325 | ||
11326 | ||
5eb8189c | 11327 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11328 | PyObject *resultobj = 0; |
5eb8189c RD |
11329 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11330 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11331 | void *argp1 = 0 ; |
11332 | int res1 = 0 ; | |
11333 | void *argp2 = 0 ; | |
11334 | int res2 = 0 ; | |
11335 | PyObject * obj0 = 0 ; | |
11336 | PyObject * obj1 = 0 ; | |
11337 | char * kwnames[] = { | |
11338 | (char *) "self",(char *) "pane", NULL | |
11339 | }; | |
11340 | ||
5eb8189c RD |
11341 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11342 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11343 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11344 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11345 | } |
5eb8189c RD |
11346 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11347 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11348 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11349 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11350 | } |
11351 | if (!argp2) { | |
5eb8189c | 11352 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11353 | } |
5eb8189c | 11354 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11355 | { |
11356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11357 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11358 | wxPyEndAllowThreads(__tstate); |
11359 | if (PyErr_Occurred()) SWIG_fail; | |
11360 | } | |
11361 | resultobj = SWIG_Py_Void(); | |
11362 | return resultobj; | |
11363 | fail: | |
11364 | return NULL; | |
11365 | } | |
11366 | ||
11367 | ||
5eb8189c | 11368 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11369 | PyObject *obj; |
11370 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11371 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11372 | return SWIG_Py_Void(); |
11373 | } | |
11374 | ||
5eb8189c | 11375 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11376 | return SWIG_Python_InitShadowInstance(args); |
11377 | } | |
11378 | ||
5eb8189c | 11379 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11380 | PyObject *resultobj = 0; |
5eb8189c | 11381 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
11382 | void *argp1 = 0 ; |
11383 | int res1 = 0 ; | |
11384 | PyObject *swig_obj[1] ; | |
11385 | ||
11386 | if (!args) SWIG_fail; | |
11387 | swig_obj[0] = args; | |
5eb8189c | 11388 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); |
5c8c7dd3 | 11389 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11391 | } |
5eb8189c | 11392 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
5c8c7dd3 RD |
11393 | { |
11394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11395 | delete arg1; | |
11396 | ||
11397 | wxPyEndAllowThreads(__tstate); | |
11398 | if (PyErr_Occurred()) SWIG_fail; | |
11399 | } | |
11400 | resultobj = SWIG_Py_Void(); | |
11401 | return resultobj; | |
11402 | fail: | |
11403 | return NULL; | |
11404 | } | |
11405 | ||
11406 | ||
5eb8189c | 11407 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11408 | PyObject *resultobj = 0; |
5eb8189c | 11409 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11410 | wxFont *arg2 = 0 ; |
11411 | void *argp1 = 0 ; | |
11412 | int res1 = 0 ; | |
11413 | void *argp2 = 0 ; | |
11414 | int res2 = 0 ; | |
11415 | PyObject * obj0 = 0 ; | |
11416 | PyObject * obj1 = 0 ; | |
11417 | char * kwnames[] = { | |
11418 | (char *) "self",(char *) "font", NULL | |
11419 | }; | |
11420 | ||
5eb8189c RD |
11421 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
11422 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
8f514ab4 | 11423 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11424 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 11425 | } |
5eb8189c | 11426 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 RD |
11427 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); |
11428 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11429 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11430 | } |
11431 | if (!argp2) { | |
5eb8189c | 11432 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11433 | } |
11434 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11435 | { | |
11436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11437 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
11438 | wxPyEndAllowThreads(__tstate); | |
11439 | if (PyErr_Occurred()) SWIG_fail; | |
11440 | } | |
11441 | resultobj = SWIG_Py_Void(); | |
11442 | return resultobj; | |
11443 | fail: | |
11444 | return NULL; | |
11445 | } | |
11446 | ||
11447 | ||
5eb8189c | 11448 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11449 | PyObject *resultobj = 0; |
5eb8189c | 11450 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11451 | wxFont *arg2 = 0 ; |
11452 | void *argp1 = 0 ; | |
11453 | int res1 = 0 ; | |
11454 | void *argp2 = 0 ; | |
11455 | int res2 = 0 ; | |
11456 | PyObject * obj0 = 0 ; | |
11457 | PyObject * obj1 = 0 ; | |
11458 | char * kwnames[] = { | |
11459 | (char *) "self",(char *) "font", NULL | |
11460 | }; | |
11461 | ||
5eb8189c RD |
11462 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; |
11463 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
8f514ab4 | 11464 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 11466 | } |
5eb8189c | 11467 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 RD |
11468 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); |
11469 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11470 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11471 | } |
11472 | if (!argp2) { | |
5eb8189c | 11473 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11474 | } |
11475 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11476 | { | |
11477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11478 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
11479 | wxPyEndAllowThreads(__tstate); | |
11480 | if (PyErr_Occurred()) SWIG_fail; | |
11481 | } | |
11482 | resultobj = SWIG_Py_Void(); | |
11483 | return resultobj; | |
11484 | fail: | |
11485 | return NULL; | |
11486 | } | |
11487 | ||
11488 | ||
5eb8189c | 11489 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11490 | PyObject *resultobj = 0; |
5eb8189c | 11491 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11492 | wxFont *arg2 = 0 ; |
11493 | void *argp1 = 0 ; | |
11494 | int res1 = 0 ; | |
11495 | void *argp2 = 0 ; | |
11496 | int res2 = 0 ; | |
11497 | PyObject * obj0 = 0 ; | |
11498 | PyObject * obj1 = 0 ; | |
11499 | char * kwnames[] = { | |
11500 | (char *) "self",(char *) "font", NULL | |
11501 | }; | |
11502 | ||
5eb8189c RD |
11503 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
11504 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
8f514ab4 | 11505 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 11507 | } |
5eb8189c | 11508 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 RD |
11509 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); |
11510 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11511 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11512 | } |
11513 | if (!argp2) { | |
5eb8189c | 11514 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); |
8f514ab4 RD |
11515 | } |
11516 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
11517 | { | |
11518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11519 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
11520 | wxPyEndAllowThreads(__tstate); | |
11521 | if (PyErr_Occurred()) SWIG_fail; | |
11522 | } | |
11523 | resultobj = SWIG_Py_Void(); | |
11524 | return resultobj; | |
11525 | fail: | |
11526 | return NULL; | |
11527 | } | |
11528 | ||
11529 | ||
5eb8189c | 11530 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11531 | PyObject *resultobj = 0; |
5eb8189c | 11532 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 | 11533 | wxDC *arg2 = (wxDC *) 0 ; |
26c4d26f RD |
11534 | wxWindow *arg3 = (wxWindow *) 0 ; |
11535 | wxRect *arg4 = 0 ; | |
5c8c7dd3 RD |
11536 | void *argp1 = 0 ; |
11537 | int res1 = 0 ; | |
11538 | void *argp2 = 0 ; | |
11539 | int res2 = 0 ; | |
26c4d26f RD |
11540 | void *argp3 = 0 ; |
11541 | int res3 = 0 ; | |
11542 | wxRect temp4 ; | |
5c8c7dd3 RD |
11543 | PyObject * obj0 = 0 ; |
11544 | PyObject * obj1 = 0 ; | |
11545 | PyObject * obj2 = 0 ; | |
26c4d26f | 11546 | PyObject * obj3 = 0 ; |
5c8c7dd3 | 11547 | char * kwnames[] = { |
26c4d26f | 11548 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL |
5c8c7dd3 RD |
11549 | }; |
11550 | ||
26c4d26f | 11551 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5eb8189c | 11552 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11553 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11554 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11555 | } |
5eb8189c | 11556 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
5c8c7dd3 RD |
11557 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
11558 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11559 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 RD |
11560 | } |
11561 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
26c4d26f RD |
11562 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11563 | if (!SWIG_IsOK(res3)) { | |
11564 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11565 | } | |
11566 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
5c8c7dd3 | 11567 | { |
26c4d26f RD |
11568 | arg4 = &temp4; |
11569 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
5c8c7dd3 RD |
11570 | } |
11571 | { | |
11572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26c4d26f | 11573 | (arg1)->DrawBackground(arg2,arg3,(wxRect const &)*arg4); |
5c8c7dd3 RD |
11574 | wxPyEndAllowThreads(__tstate); |
11575 | if (PyErr_Occurred()) SWIG_fail; | |
11576 | } | |
11577 | resultobj = SWIG_Py_Void(); | |
11578 | return resultobj; | |
11579 | fail: | |
11580 | return NULL; | |
11581 | } | |
11582 | ||
11583 | ||
5eb8189c | 11584 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11585 | PyObject *resultobj = 0; |
5eb8189c | 11586 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 | 11587 | wxDC *arg2 = (wxDC *) 0 ; |
26c4d26f RD |
11588 | wxWindow *arg3 = (wxWindow *) 0 ; |
11589 | wxRect *arg4 = 0 ; | |
11590 | wxString *arg5 = 0 ; | |
11591 | bool arg6 ; | |
11592 | int arg7 ; | |
36cb9ebe | 11593 | wxRect *arg8 = (wxRect *) 0 ; |
26c4d26f RD |
11594 | wxRect *arg9 = (wxRect *) 0 ; |
11595 | int *arg10 = (int *) 0 ; | |
5c8c7dd3 RD |
11596 | void *argp1 = 0 ; |
11597 | int res1 = 0 ; | |
11598 | void *argp2 = 0 ; | |
11599 | int res2 = 0 ; | |
26c4d26f RD |
11600 | void *argp3 = 0 ; |
11601 | int res3 = 0 ; | |
11602 | wxRect temp4 ; | |
11603 | bool temp5 = false ; | |
11604 | bool val6 ; | |
5eb8189c | 11605 | int ecode6 = 0 ; |
26c4d26f RD |
11606 | int val7 ; |
11607 | int ecode7 = 0 ; | |
5eb8189c RD |
11608 | void *argp8 = 0 ; |
11609 | int res8 = 0 ; | |
36cb9ebe RD |
11610 | void *argp9 = 0 ; |
11611 | int res9 = 0 ; | |
26c4d26f RD |
11612 | void *argp10 = 0 ; |
11613 | int res10 = 0 ; | |
5c8c7dd3 RD |
11614 | PyObject * obj0 = 0 ; |
11615 | PyObject * obj1 = 0 ; | |
11616 | PyObject * obj2 = 0 ; | |
11617 | PyObject * obj3 = 0 ; | |
11618 | PyObject * obj4 = 0 ; | |
11619 | PyObject * obj5 = 0 ; | |
11620 | PyObject * obj6 = 0 ; | |
5eb8189c | 11621 | PyObject * obj7 = 0 ; |
36cb9ebe | 11622 | PyObject * obj8 = 0 ; |
26c4d26f | 11623 | PyObject * obj9 = 0 ; |
5c8c7dd3 | 11624 | char * kwnames[] = { |
26c4d26f | 11625 | (char *) "self",(char *) "dc",(char *) "wnd",(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 |
11626 | }; |
11627 | ||
26c4d26f | 11628 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; |
5eb8189c | 11629 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11630 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11631 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11632 | } |
5eb8189c | 11633 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
5c8c7dd3 RD |
11634 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
11635 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11636 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 RD |
11637 | } |
11638 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
26c4d26f RD |
11639 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11640 | if (!SWIG_IsOK(res3)) { | |
11641 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11642 | } | |
11643 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
5c8c7dd3 | 11644 | { |
26c4d26f RD |
11645 | arg4 = &temp4; |
11646 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
5c8c7dd3 RD |
11647 | } |
11648 | { | |
26c4d26f RD |
11649 | arg5 = wxString_in_helper(obj4); |
11650 | if (arg5 == NULL) SWIG_fail; | |
11651 | temp5 = true; | |
5c8c7dd3 | 11652 | } |
26c4d26f | 11653 | ecode6 = SWIG_AsVal_bool(obj5, &val6); |
5eb8189c | 11654 | if (!SWIG_IsOK(ecode6)) { |
26c4d26f | 11655 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "bool""'"); |
5eb8189c | 11656 | } |
26c4d26f RD |
11657 | arg6 = static_cast< bool >(val6); |
11658 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
11659 | if (!SWIG_IsOK(ecode7)) { | |
11660 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "int""'"); | |
11661 | } | |
11662 | arg7 = static_cast< int >(val7); | |
36cb9ebe | 11663 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5eb8189c | 11664 | if (!SWIG_IsOK(res8)) { |
36cb9ebe RD |
11665 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); |
11666 | } | |
11667 | arg8 = reinterpret_cast< wxRect * >(argp8); | |
26c4d26f | 11668 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); |
36cb9ebe | 11669 | if (!SWIG_IsOK(res9)) { |
26c4d26f | 11670 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'"); |
5eb8189c | 11671 | } |
26c4d26f RD |
11672 | arg9 = reinterpret_cast< wxRect * >(argp9); |
11673 | res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_int, 0 | 0 ); | |
11674 | if (!SWIG_IsOK(res10)) { | |
11675 | SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "int *""'"); | |
11676 | } | |
11677 | arg10 = reinterpret_cast< int * >(argp10); | |
5c8c7dd3 RD |
11678 | { |
11679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26c4d26f | 11680 | (arg1)->DrawTab(arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9,arg10); |
5c8c7dd3 RD |
11681 | wxPyEndAllowThreads(__tstate); |
11682 | if (PyErr_Occurred()) SWIG_fail; | |
11683 | } | |
11684 | resultobj = SWIG_Py_Void(); | |
11685 | { | |
26c4d26f RD |
11686 | if (temp5) |
11687 | delete arg5; | |
5c8c7dd3 RD |
11688 | } |
11689 | return resultobj; | |
11690 | fail: | |
11691 | { | |
26c4d26f RD |
11692 | if (temp5) |
11693 | delete arg5; | |
5c8c7dd3 RD |
11694 | } |
11695 | return NULL; | |
11696 | } | |
11697 | ||
11698 | ||
5eb8189c | 11699 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11700 | PyObject *resultobj = 0; |
5eb8189c | 11701 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 | 11702 | wxDC *arg2 = (wxDC *) 0 ; |
26c4d26f RD |
11703 | wxWindow *arg3 = (wxWindow *) 0 ; |
11704 | wxRect *arg4 = 0 ; | |
8f514ab4 RD |
11705 | int arg5 ; |
11706 | int arg6 ; | |
26c4d26f RD |
11707 | int arg7 ; |
11708 | wxBitmap *arg8 = 0 ; | |
11709 | wxRect *arg9 = (wxRect *) 0 ; | |
5c8c7dd3 RD |
11710 | void *argp1 = 0 ; |
11711 | int res1 = 0 ; | |
11712 | void *argp2 = 0 ; | |
11713 | int res2 = 0 ; | |
26c4d26f RD |
11714 | void *argp3 = 0 ; |
11715 | int res3 = 0 ; | |
11716 | wxRect temp4 ; | |
8f514ab4 RD |
11717 | int val5 ; |
11718 | int ecode5 = 0 ; | |
11719 | int val6 ; | |
11720 | int ecode6 = 0 ; | |
26c4d26f RD |
11721 | int val7 ; |
11722 | int ecode7 = 0 ; | |
8f514ab4 RD |
11723 | void *argp8 = 0 ; |
11724 | int res8 = 0 ; | |
26c4d26f RD |
11725 | void *argp9 = 0 ; |
11726 | int res9 = 0 ; | |
5c8c7dd3 RD |
11727 | PyObject * obj0 = 0 ; |
11728 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11729 | PyObject * obj2 = 0 ; |
11730 | PyObject * obj3 = 0 ; | |
11731 | PyObject * obj4 = 0 ; | |
11732 | PyObject * obj5 = 0 ; | |
11733 | PyObject * obj6 = 0 ; | |
11734 | PyObject * obj7 = 0 ; | |
26c4d26f | 11735 | PyObject * obj8 = 0 ; |
5c8c7dd3 | 11736 | char * kwnames[] = { |
26c4d26f | 11737 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL |
5c8c7dd3 RD |
11738 | }; |
11739 | ||
26c4d26f | 11740 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5eb8189c | 11741 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11742 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11743 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11744 | } |
5eb8189c | 11745 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11746 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
5c8c7dd3 | 11747 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11748 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 | 11749 | } |
8f514ab4 | 11750 | arg2 = reinterpret_cast< wxDC * >(argp2); |
26c4d26f RD |
11751 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11752 | if (!SWIG_IsOK(res3)) { | |
11753 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11754 | } | |
11755 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
8f514ab4 | 11756 | { |
26c4d26f RD |
11757 | arg4 = &temp4; |
11758 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
5c8c7dd3 | 11759 | } |
8f514ab4 RD |
11760 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11761 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11762 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); |
8f514ab4 RD |
11763 | } |
11764 | arg5 = static_cast< int >(val5); | |
11765 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11766 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 11767 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); |
8f514ab4 RD |
11768 | } |
11769 | arg6 = static_cast< int >(val6); | |
26c4d26f RD |
11770 | ecode7 = SWIG_AsVal_int(obj6, &val7); |
11771 | if (!SWIG_IsOK(ecode7)) { | |
11772 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
11773 | } | |
11774 | arg7 = static_cast< int >(val7); | |
11775 | res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0); | |
11776 | if (!SWIG_IsOK(res8)) { | |
11777 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
8f514ab4 | 11778 | } |
26c4d26f RD |
11779 | if (!argp8) { |
11780 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
8f514ab4 | 11781 | } |
26c4d26f RD |
11782 | arg8 = reinterpret_cast< wxBitmap * >(argp8); |
11783 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11784 | if (!SWIG_IsOK(res9)) { | |
11785 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'"); | |
8f514ab4 | 11786 | } |
26c4d26f | 11787 | arg9 = reinterpret_cast< wxRect * >(argp9); |
5c8c7dd3 RD |
11788 | { |
11789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26c4d26f | 11790 | (arg1)->DrawButton(arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9); |
5c8c7dd3 RD |
11791 | wxPyEndAllowThreads(__tstate); |
11792 | if (PyErr_Occurred()) SWIG_fail; | |
11793 | } | |
11794 | resultobj = SWIG_Py_Void(); | |
11795 | return resultobj; | |
11796 | fail: | |
11797 | return NULL; | |
11798 | } | |
11799 | ||
11800 | ||
26c4d26f RD |
11801 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11802 | PyObject *resultobj = 0; | |
11803 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
11804 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11805 | wxArrayString *arg3 = 0 ; | |
11806 | int arg4 ; | |
11807 | int result; | |
11808 | void *argp1 = 0 ; | |
11809 | int res1 = 0 ; | |
11810 | void *argp2 = 0 ; | |
11811 | int res2 = 0 ; | |
11812 | bool temp3 = false ; | |
11813 | int val4 ; | |
11814 | int ecode4 = 0 ; | |
11815 | PyObject * obj0 = 0 ; | |
11816 | PyObject * obj1 = 0 ; | |
11817 | PyObject * obj2 = 0 ; | |
11818 | PyObject * obj3 = 0 ; | |
11819 | char * kwnames[] = { | |
11820 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
11821 | }; | |
11822 | ||
11823 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11824 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
11825 | if (!SWIG_IsOK(res1)) { | |
11826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
11827 | } | |
11828 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
11829 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11830 | if (!SWIG_IsOK(res2)) { | |
11831 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11832 | } | |
11833 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11834 | { | |
11835 | if (! PySequence_Check(obj2)) { | |
11836 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
11837 | SWIG_fail; | |
11838 | } | |
11839 | arg3 = new wxArrayString; | |
11840 | temp3 = true; | |
11841 | int i, len=PySequence_Length(obj2); | |
11842 | for (i=0; i<len; i++) { | |
11843 | PyObject* item = PySequence_GetItem(obj2, i); | |
11844 | wxString* s = wxString_in_helper(item); | |
11845 | if (PyErr_Occurred()) SWIG_fail; | |
11846 | arg3->Add(*s); | |
11847 | delete s; | |
11848 | Py_DECREF(item); | |
11849 | } | |
11850 | } | |
11851 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11852 | if (!SWIG_IsOK(ecode4)) { | |
11853 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'"); | |
11854 | } | |
11855 | arg4 = static_cast< int >(val4); | |
11856 | { | |
11857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11858 | result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4); | |
11859 | wxPyEndAllowThreads(__tstate); | |
11860 | if (PyErr_Occurred()) SWIG_fail; | |
11861 | } | |
11862 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11863 | { | |
11864 | if (temp3) delete arg3; | |
11865 | } | |
11866 | return resultobj; | |
11867 | fail: | |
11868 | { | |
11869 | if (temp3) delete arg3; | |
11870 | } | |
11871 | return NULL; | |
11872 | } | |
11873 | ||
11874 | ||
5eb8189c | 11875 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11876 | PyObject *resultobj = 0; |
5eb8189c | 11877 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 | 11878 | wxDC *arg2 = (wxDC *) 0 ; |
26c4d26f RD |
11879 | wxWindow *arg3 = (wxWindow *) 0 ; |
11880 | wxString *arg4 = 0 ; | |
11881 | bool arg5 ; | |
11882 | int arg6 ; | |
11883 | int *arg7 = (int *) 0 ; | |
8f514ab4 | 11884 | wxSize result; |
5c8c7dd3 RD |
11885 | void *argp1 = 0 ; |
11886 | int res1 = 0 ; | |
11887 | void *argp2 = 0 ; | |
11888 | int res2 = 0 ; | |
26c4d26f RD |
11889 | void *argp3 = 0 ; |
11890 | int res3 = 0 ; | |
11891 | bool temp4 = false ; | |
11892 | bool val5 ; | |
5eb8189c | 11893 | int ecode5 = 0 ; |
26c4d26f RD |
11894 | int val6 ; |
11895 | int ecode6 = 0 ; | |
11896 | void *argp7 = 0 ; | |
11897 | int res7 = 0 ; | |
5c8c7dd3 RD |
11898 | PyObject * obj0 = 0 ; |
11899 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11900 | PyObject * obj2 = 0 ; |
11901 | PyObject * obj3 = 0 ; | |
11902 | PyObject * obj4 = 0 ; | |
5eb8189c | 11903 | PyObject * obj5 = 0 ; |
26c4d26f | 11904 | PyObject * obj6 = 0 ; |
5c8c7dd3 | 11905 | char * kwnames[] = { |
26c4d26f | 11906 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL |
5c8c7dd3 RD |
11907 | }; |
11908 | ||
26c4d26f | 11909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
5eb8189c | 11910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11911 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11913 | } |
5eb8189c | 11914 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11915 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
5c8c7dd3 | 11916 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11917 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC *""'"); |
5c8c7dd3 | 11918 | } |
8f514ab4 | 11919 | arg2 = reinterpret_cast< wxDC * >(argp2); |
26c4d26f RD |
11920 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11921 | if (!SWIG_IsOK(res3)) { | |
11922 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11923 | } | |
11924 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
8f514ab4 | 11925 | { |
26c4d26f RD |
11926 | arg4 = wxString_in_helper(obj3); |
11927 | if (arg4 == NULL) SWIG_fail; | |
11928 | temp4 = true; | |
5c8c7dd3 | 11929 | } |
26c4d26f | 11930 | ecode5 = SWIG_AsVal_bool(obj4, &val5); |
5eb8189c | 11931 | if (!SWIG_IsOK(ecode5)) { |
26c4d26f | 11932 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "bool""'"); |
5eb8189c | 11933 | } |
26c4d26f RD |
11934 | arg5 = static_cast< bool >(val5); |
11935 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11936 | if (!SWIG_IsOK(ecode6)) { | |
11937 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "int""'"); | |
11938 | } | |
11939 | arg6 = static_cast< int >(val6); | |
11940 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 ); | |
11941 | if (!SWIG_IsOK(res7)) { | |
11942 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int *""'"); | |
8f514ab4 | 11943 | } |
26c4d26f | 11944 | arg7 = reinterpret_cast< int * >(argp7); |
5c8c7dd3 RD |
11945 | { |
11946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
26c4d26f | 11947 | result = (arg1)->GetTabSize(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
5c8c7dd3 RD |
11948 | wxPyEndAllowThreads(__tstate); |
11949 | if (PyErr_Occurred()) SWIG_fail; | |
11950 | } | |
8f514ab4 RD |
11951 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); |
11952 | { | |
26c4d26f RD |
11953 | if (temp4) |
11954 | delete arg4; | |
8f514ab4 | 11955 | } |
5c8c7dd3 RD |
11956 | return resultobj; |
11957 | fail: | |
8f514ab4 | 11958 | { |
26c4d26f RD |
11959 | if (temp4) |
11960 | delete arg4; | |
8f514ab4 | 11961 | } |
5c8c7dd3 RD |
11962 | return NULL; |
11963 | } | |
11964 | ||
11965 | ||
5eb8189c | 11966 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11967 | PyObject *resultobj = 0; |
5eb8189c | 11968 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11969 | wxWindow *arg2 = (wxWindow *) 0 ; |
11970 | int result; | |
5c8c7dd3 RD |
11971 | void *argp1 = 0 ; |
11972 | int res1 = 0 ; | |
11973 | void *argp2 = 0 ; | |
11974 | int res2 = 0 ; | |
11975 | PyObject * obj0 = 0 ; | |
11976 | PyObject * obj1 = 0 ; | |
11977 | char * kwnames[] = { | |
8f514ab4 | 11978 | (char *) "self",(char *) "wnd", NULL |
5c8c7dd3 RD |
11979 | }; |
11980 | ||
5eb8189c RD |
11981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1)) SWIG_fail; |
11982 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 11983 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11985 | } |
5eb8189c | 11986 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11987 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
5c8c7dd3 | 11988 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11989 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5c8c7dd3 | 11990 | } |
8f514ab4 | 11991 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
5c8c7dd3 RD |
11992 | { |
11993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 11994 | result = (int)(arg1)->GetBestTabCtrlSize(arg2); |
5c8c7dd3 RD |
11995 | wxPyEndAllowThreads(__tstate); |
11996 | if (PyErr_Occurred()) SWIG_fail; | |
11997 | } | |
8f514ab4 | 11998 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11999 | return resultobj; |
12000 | fail: | |
12001 | return NULL; | |
12002 | } | |
12003 | ||
12004 | ||
5eb8189c | 12005 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
12006 | PyObject *obj; |
12007 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 12008 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
12009 | return SWIG_Py_Void(); |
12010 | } | |
12011 | ||
5eb8189c | 12012 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12013 | PyObject *resultobj = 0; |
5eb8189c | 12014 | wxAuiDefaultTabArt *result = 0 ; |
5c8c7dd3 | 12015 | |
5eb8189c | 12016 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
5c8c7dd3 RD |
12017 | { |
12018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 12019 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); |
5c8c7dd3 RD |
12020 | wxPyEndAllowThreads(__tstate); |
12021 | if (PyErr_Occurred()) SWIG_fail; | |
12022 | } | |
5eb8189c | 12023 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
12024 | return resultobj; |
12025 | fail: | |
12026 | return NULL; | |
12027 | } | |
12028 | ||
12029 | ||
5eb8189c | 12030 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12031 | PyObject *resultobj = 0; |
5eb8189c | 12032 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
5c8c7dd3 RD |
12033 | void *argp1 = 0 ; |
12034 | int res1 = 0 ; | |
12035 | PyObject *swig_obj[1] ; | |
12036 | ||
12037 | if (!args) SWIG_fail; | |
12038 | swig_obj[0] = args; | |
5eb8189c | 12039 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
5c8c7dd3 | 12040 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 12041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
5c8c7dd3 | 12042 | } |
5eb8189c | 12043 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
5c8c7dd3 RD |
12044 | { |
12045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12046 | delete arg1; | |
12047 | ||
12048 | wxPyEndAllowThreads(__tstate); | |
12049 | if (PyErr_Occurred()) SWIG_fail; | |
12050 | } | |
12051 | resultobj = SWIG_Py_Void(); | |
12052 | return resultobj; | |
12053 | fail: | |
12054 | return NULL; | |
12055 | } | |
12056 | ||
12057 | ||
5eb8189c | 12058 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
12059 | PyObject *obj; |
12060 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 12061 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
12062 | return SWIG_Py_Void(); |
12063 | } | |
12064 | ||
5eb8189c | 12065 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
12066 | return SWIG_Python_InitShadowInstance(args); |
12067 | } | |
12068 | ||
10044bf1 RD |
12069 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12070 | PyObject *resultobj = 0; | |
12071 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
12072 | int arg2 = (int) 0 ; | |
12073 | wxAuiNotebookEvent *result = 0 ; | |
12074 | int val1 ; | |
12075 | int ecode1 = 0 ; | |
12076 | int val2 ; | |
12077 | int ecode2 = 0 ; | |
12078 | PyObject * obj0 = 0 ; | |
12079 | PyObject * obj1 = 0 ; | |
12080 | char * kwnames[] = { | |
12081 | (char *) "command_type",(char *) "win_id", NULL | |
12082 | }; | |
12083 | ||
12084 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
12085 | if (obj0) { | |
12086 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
12087 | if (!SWIG_IsOK(ecode1)) { | |
12088 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
12089 | } | |
12090 | arg1 = static_cast< wxEventType >(val1); | |
12091 | } | |
12092 | if (obj1) { | |
12093 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12094 | if (!SWIG_IsOK(ecode2)) { | |
12095 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
12096 | } | |
12097 | arg2 = static_cast< int >(val2); | |
12098 | } | |
12099 | { | |
12100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12101 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); | |
12102 | wxPyEndAllowThreads(__tstate); | |
12103 | if (PyErr_Occurred()) SWIG_fail; | |
12104 | } | |
12105 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); | |
12106 | return resultobj; | |
12107 | fail: | |
12108 | return NULL; | |
27e45892 RD |
12109 | } |
12110 | ||
10044bf1 RD |
12111 | |
12112 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12113 | PyObject *resultobj = 0; | |
12114 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12115 | int arg2 ; | |
12116 | void *argp1 = 0 ; | |
12117 | int res1 = 0 ; | |
12118 | int val2 ; | |
12119 | int ecode2 = 0 ; | |
12120 | PyObject * obj0 = 0 ; | |
12121 | PyObject * obj1 = 0 ; | |
12122 | char * kwnames[] = { | |
12123 | (char *) "self",(char *) "s", NULL | |
12124 | }; | |
12125 | ||
12126 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
12127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12128 | if (!SWIG_IsOK(res1)) { | |
12129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12130 | } | |
12131 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12132 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12133 | if (!SWIG_IsOK(ecode2)) { | |
12134 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
12135 | } | |
12136 | arg2 = static_cast< int >(val2); | |
12137 | { | |
12138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12139 | (arg1)->SetSelection(arg2); | |
12140 | wxPyEndAllowThreads(__tstate); | |
12141 | if (PyErr_Occurred()) SWIG_fail; | |
12142 | } | |
12143 | resultobj = SWIG_Py_Void(); | |
12144 | return resultobj; | |
12145 | fail: | |
12146 | return NULL; | |
12147 | } | |
12148 | ||
12149 | ||
12150 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12151 | PyObject *resultobj = 0; | |
12152 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12153 | int arg2 ; | |
12154 | void *argp1 = 0 ; | |
12155 | int res1 = 0 ; | |
12156 | int val2 ; | |
12157 | int ecode2 = 0 ; | |
12158 | PyObject * obj0 = 0 ; | |
12159 | PyObject * obj1 = 0 ; | |
12160 | char * kwnames[] = { | |
12161 | (char *) "self",(char *) "s", NULL | |
12162 | }; | |
12163 | ||
12164 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
12165 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12166 | if (!SWIG_IsOK(res1)) { | |
12167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12168 | } | |
12169 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12170 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12171 | if (!SWIG_IsOK(ecode2)) { | |
12172 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
12173 | } | |
12174 | arg2 = static_cast< int >(val2); | |
12175 | { | |
12176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12177 | (arg1)->SetOldSelection(arg2); | |
12178 | wxPyEndAllowThreads(__tstate); | |
12179 | if (PyErr_Occurred()) SWIG_fail; | |
12180 | } | |
12181 | resultobj = SWIG_Py_Void(); | |
12182 | return resultobj; | |
12183 | fail: | |
12184 | return NULL; | |
12185 | } | |
12186 | ||
12187 | ||
12188 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12189 | PyObject *resultobj = 0; | |
12190 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12191 | int result; | |
12192 | void *argp1 = 0 ; | |
12193 | int res1 = 0 ; | |
12194 | PyObject *swig_obj[1] ; | |
12195 | ||
12196 | if (!args) SWIG_fail; | |
12197 | swig_obj[0] = args; | |
12198 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12199 | if (!SWIG_IsOK(res1)) { | |
12200 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
12201 | } | |
12202 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12203 | { | |
12204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12205 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); | |
12206 | wxPyEndAllowThreads(__tstate); | |
12207 | if (PyErr_Occurred()) SWIG_fail; | |
12208 | } | |
12209 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12210 | return resultobj; | |
12211 | fail: | |
12212 | return NULL; | |
12213 | } | |
12214 | ||
12215 | ||
12216 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12217 | PyObject *resultobj = 0; | |
12218 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12219 | int result; | |
12220 | void *argp1 = 0 ; | |
12221 | int res1 = 0 ; | |
12222 | PyObject *swig_obj[1] ; | |
12223 | ||
12224 | if (!args) SWIG_fail; | |
12225 | swig_obj[0] = args; | |
12226 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12227 | if (!SWIG_IsOK(res1)) { | |
12228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
12229 | } | |
12230 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12231 | { | |
12232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12233 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); | |
12234 | wxPyEndAllowThreads(__tstate); | |
12235 | if (PyErr_Occurred()) SWIG_fail; | |
12236 | } | |
12237 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12238 | return resultobj; | |
12239 | fail: | |
12240 | return NULL; | |
12241 | } | |
12242 | ||
12243 | ||
12244 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12245 | PyObject *resultobj = 0; | |
12246 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12247 | int arg2 ; | |
12248 | void *argp1 = 0 ; | |
12249 | int res1 = 0 ; | |
12250 | int val2 ; | |
12251 | int ecode2 = 0 ; | |
12252 | PyObject *swig_obj[2] ; | |
12253 | ||
12254 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; | |
12255 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12256 | if (!SWIG_IsOK(res1)) { | |
12257 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12258 | } | |
12259 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12260 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12261 | if (!SWIG_IsOK(ecode2)) { | |
12262 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
12263 | } | |
12264 | arg2 = static_cast< int >(val2); | |
12265 | if (arg1) (arg1)->old_selection = arg2; | |
12266 | ||
12267 | resultobj = SWIG_Py_Void(); | |
12268 | return resultobj; | |
12269 | fail: | |
12270 | return NULL; | |
12271 | } | |
12272 | ||
12273 | ||
12274 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12275 | PyObject *resultobj = 0; | |
12276 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12277 | int result; | |
12278 | void *argp1 = 0 ; | |
12279 | int res1 = 0 ; | |
12280 | PyObject *swig_obj[1] ; | |
12281 | ||
12282 | if (!args) SWIG_fail; | |
12283 | swig_obj[0] = args; | |
12284 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12285 | if (!SWIG_IsOK(res1)) { | |
12286 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12287 | } | |
12288 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12289 | result = (int) ((arg1)->old_selection); | |
12290 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12291 | return resultobj; | |
12292 | fail: | |
12293 | return NULL; | |
12294 | } | |
12295 | ||
12296 | ||
12297 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12298 | PyObject *resultobj = 0; | |
12299 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12300 | int arg2 ; | |
12301 | void *argp1 = 0 ; | |
12302 | int res1 = 0 ; | |
12303 | int val2 ; | |
12304 | int ecode2 = 0 ; | |
12305 | PyObject *swig_obj[2] ; | |
12306 | ||
12307 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12308 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12309 | if (!SWIG_IsOK(res1)) { | |
12310 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12311 | } | |
12312 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12313 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12314 | if (!SWIG_IsOK(ecode2)) { | |
12315 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
12316 | } | |
12317 | arg2 = static_cast< int >(val2); | |
12318 | if (arg1) (arg1)->selection = arg2; | |
12319 | ||
12320 | resultobj = SWIG_Py_Void(); | |
12321 | return resultobj; | |
12322 | fail: | |
12323 | return NULL; | |
12324 | } | |
12325 | ||
12326 | ||
12327 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12328 | PyObject *resultobj = 0; | |
12329 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12330 | int result; | |
12331 | void *argp1 = 0 ; | |
12332 | int res1 = 0 ; | |
12333 | PyObject *swig_obj[1] ; | |
12334 | ||
12335 | if (!args) SWIG_fail; | |
12336 | swig_obj[0] = args; | |
12337 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12338 | if (!SWIG_IsOK(res1)) { | |
12339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12340 | } | |
12341 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12342 | result = (int) ((arg1)->selection); | |
12343 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12344 | return resultobj; | |
12345 | fail: | |
12346 | return NULL; | |
12347 | } | |
12348 | ||
12349 | ||
12350 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12351 | PyObject *obj; | |
12352 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12353 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12354 | return SWIG_Py_Void(); | |
12355 | } | |
12356 | ||
12357 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12358 | return SWIG_Python_InitShadowInstance(args); | |
12359 | } | |
12360 | ||
12361 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12362 | PyObject *resultobj = 0; | |
12363 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12364 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12365 | void *argp1 = 0 ; | |
12366 | int res1 = 0 ; | |
12367 | void *argp2 = 0 ; | |
12368 | int res2 = 0 ; | |
12369 | PyObject *swig_obj[2] ; | |
12370 | ||
12371 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; | |
12372 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12373 | if (!SWIG_IsOK(res1)) { | |
12374 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12375 | } | |
12376 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12377 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12378 | if (!SWIG_IsOK(res2)) { | |
12379 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12380 | } | |
12381 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12382 | if (arg1) (arg1)->window = arg2; | |
12383 | ||
12384 | resultobj = SWIG_Py_Void(); | |
12385 | return resultobj; | |
12386 | fail: | |
12387 | return NULL; | |
12388 | } | |
12389 | ||
12390 | ||
12391 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12392 | PyObject *resultobj = 0; | |
12393 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12394 | wxWindow *result = 0 ; | |
12395 | void *argp1 = 0 ; | |
12396 | int res1 = 0 ; | |
12397 | PyObject *swig_obj[1] ; | |
12398 | ||
12399 | if (!args) SWIG_fail; | |
12400 | swig_obj[0] = args; | |
12401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12402 | if (!SWIG_IsOK(res1)) { | |
12403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12404 | } | |
12405 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12406 | result = (wxWindow *) ((arg1)->window); | |
12407 | { | |
12408 | resultobj = wxPyMake_wxObject(result, 0); | |
12409 | } | |
12410 | return resultobj; | |
12411 | fail: | |
12412 | return NULL; | |
12413 | } | |
12414 | ||
12415 | ||
12416 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12417 | PyObject *resultobj = 0; | |
12418 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12419 | wxString *arg2 = (wxString *) 0 ; | |
12420 | void *argp1 = 0 ; | |
12421 | int res1 = 0 ; | |
12422 | bool temp2 = false ; | |
12423 | PyObject *swig_obj[2] ; | |
12424 | ||
12425 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; | |
12426 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12427 | if (!SWIG_IsOK(res1)) { | |
12428 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12429 | } | |
12430 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12431 | { | |
12432 | arg2 = wxString_in_helper(swig_obj[1]); | |
12433 | if (arg2 == NULL) SWIG_fail; | |
12434 | temp2 = true; | |
12435 | } | |
12436 | if (arg1) (arg1)->caption = *arg2; | |
12437 | ||
12438 | resultobj = SWIG_Py_Void(); | |
12439 | { | |
12440 | if (temp2) | |
12441 | delete arg2; | |
12442 | } | |
12443 | return resultobj; | |
12444 | fail: | |
12445 | { | |
12446 | if (temp2) | |
12447 | delete arg2; | |
12448 | } | |
12449 | return NULL; | |
12450 | } | |
12451 | ||
12452 | ||
12453 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12454 | PyObject *resultobj = 0; | |
12455 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12456 | wxString *result = 0 ; | |
12457 | void *argp1 = 0 ; | |
12458 | int res1 = 0 ; | |
12459 | PyObject *swig_obj[1] ; | |
12460 | ||
12461 | if (!args) SWIG_fail; | |
12462 | swig_obj[0] = args; | |
12463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12464 | if (!SWIG_IsOK(res1)) { | |
12465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12466 | } | |
12467 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12468 | result = (wxString *)& ((arg1)->caption); | |
12469 | { | |
12470 | #if wxUSE_UNICODE | |
12471 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12472 | #else | |
12473 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12474 | #endif | |
12475 | } | |
12476 | return resultobj; | |
12477 | fail: | |
12478 | return NULL; | |
12479 | } | |
12480 | ||
12481 | ||
12482 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12483 | PyObject *resultobj = 0; | |
12484 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12485 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12486 | void *argp1 = 0 ; | |
12487 | int res1 = 0 ; | |
12488 | void *argp2 = 0 ; | |
12489 | int res2 = 0 ; | |
12490 | PyObject *swig_obj[2] ; | |
12491 | ||
12492 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12494 | if (!SWIG_IsOK(res1)) { | |
12495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12496 | } | |
12497 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12498 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12499 | if (!SWIG_IsOK(res2)) { | |
12500 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12501 | } | |
12502 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12503 | if (arg1) (arg1)->bitmap = *arg2; | |
12504 | ||
12505 | resultobj = SWIG_Py_Void(); | |
12506 | return resultobj; | |
12507 | fail: | |
12508 | return NULL; | |
12509 | } | |
12510 | ||
12511 | ||
12512 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12513 | PyObject *resultobj = 0; | |
12514 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12515 | wxBitmap *result = 0 ; | |
12516 | void *argp1 = 0 ; | |
12517 | int res1 = 0 ; | |
12518 | PyObject *swig_obj[1] ; | |
12519 | ||
12520 | if (!args) SWIG_fail; | |
12521 | swig_obj[0] = args; | |
12522 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12523 | if (!SWIG_IsOK(res1)) { | |
12524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12525 | } | |
12526 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12527 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12528 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12529 | return resultobj; | |
12530 | fail: | |
12531 | return NULL; | |
12532 | } | |
12533 | ||
12534 | ||
12535 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12536 | PyObject *resultobj = 0; | |
12537 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12538 | wxRect *arg2 = (wxRect *) 0 ; | |
12539 | void *argp1 = 0 ; | |
12540 | int res1 = 0 ; | |
12541 | void *argp2 = 0 ; | |
12542 | int res2 = 0 ; | |
12543 | PyObject *swig_obj[2] ; | |
12544 | ||
12545 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; | |
12546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12547 | if (!SWIG_IsOK(res1)) { | |
12548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12549 | } | |
12550 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12551 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12552 | if (!SWIG_IsOK(res2)) { | |
12553 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12554 | } | |
12555 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12556 | if (arg1) (arg1)->rect = *arg2; | |
12557 | ||
12558 | resultobj = SWIG_Py_Void(); | |
12559 | return resultobj; | |
12560 | fail: | |
12561 | return NULL; | |
12562 | } | |
12563 | ||
12564 | ||
12565 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12566 | PyObject *resultobj = 0; | |
12567 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12568 | wxRect *result = 0 ; | |
12569 | void *argp1 = 0 ; | |
12570 | int res1 = 0 ; | |
12571 | PyObject *swig_obj[1] ; | |
12572 | ||
12573 | if (!args) SWIG_fail; | |
12574 | swig_obj[0] = args; | |
12575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12576 | if (!SWIG_IsOK(res1)) { | |
12577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12578 | } | |
12579 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12580 | result = (wxRect *)& ((arg1)->rect); | |
12581 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12582 | return resultobj; | |
12583 | fail: | |
12584 | return NULL; | |
12585 | } | |
12586 | ||
12587 | ||
12588 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12589 | PyObject *resultobj = 0; | |
12590 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12591 | bool arg2 ; | |
12592 | void *argp1 = 0 ; | |
12593 | int res1 = 0 ; | |
12594 | bool val2 ; | |
12595 | int ecode2 = 0 ; | |
12596 | PyObject *swig_obj[2] ; | |
12597 | ||
12598 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; | |
12599 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12600 | if (!SWIG_IsOK(res1)) { | |
12601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12602 | } | |
12603 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12604 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
12605 | if (!SWIG_IsOK(ecode2)) { | |
12606 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); | |
12607 | } | |
12608 | arg2 = static_cast< bool >(val2); | |
12609 | if (arg1) (arg1)->active = arg2; | |
12610 | ||
12611 | resultobj = SWIG_Py_Void(); | |
12612 | return resultobj; | |
12613 | fail: | |
12614 | return NULL; | |
12615 | } | |
12616 | ||
12617 | ||
12618 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12619 | PyObject *resultobj = 0; | |
12620 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12621 | bool result; | |
12622 | void *argp1 = 0 ; | |
12623 | int res1 = 0 ; | |
12624 | PyObject *swig_obj[1] ; | |
12625 | ||
12626 | if (!args) SWIG_fail; | |
12627 | swig_obj[0] = args; | |
12628 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12629 | if (!SWIG_IsOK(res1)) { | |
12630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12631 | } | |
12632 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12633 | result = (bool) ((arg1)->active); | |
12634 | { | |
12635 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12636 | } | |
12637 | return resultobj; | |
12638 | fail: | |
12639 | return NULL; | |
12640 | } | |
12641 | ||
12642 | ||
12643 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12644 | PyObject *obj; | |
12645 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12646 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12647 | return SWIG_Py_Void(); | |
12648 | } | |
12649 | ||
12650 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12651 | PyObject *resultobj = 0; | |
12652 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12653 | int arg2 ; | |
12654 | void *argp1 = 0 ; | |
12655 | int res1 = 0 ; | |
12656 | int val2 ; | |
12657 | int ecode2 = 0 ; | |
12658 | PyObject *swig_obj[2] ; | |
12659 | ||
12660 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; | |
12661 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12662 | if (!SWIG_IsOK(res1)) { | |
12663 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12664 | } | |
12665 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12666 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12667 | if (!SWIG_IsOK(ecode2)) { | |
12668 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); | |
12669 | } | |
12670 | arg2 = static_cast< int >(val2); | |
12671 | if (arg1) (arg1)->id = arg2; | |
12672 | ||
12673 | resultobj = SWIG_Py_Void(); | |
12674 | return resultobj; | |
12675 | fail: | |
12676 | return NULL; | |
12677 | } | |
12678 | ||
12679 | ||
12680 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12681 | PyObject *resultobj = 0; | |
12682 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12683 | int result; | |
12684 | void *argp1 = 0 ; | |
12685 | int res1 = 0 ; | |
12686 | PyObject *swig_obj[1] ; | |
12687 | ||
12688 | if (!args) SWIG_fail; | |
12689 | swig_obj[0] = args; | |
12690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12691 | if (!SWIG_IsOK(res1)) { | |
12692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12693 | } | |
12694 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12695 | result = (int) ((arg1)->id); | |
12696 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12697 | return resultobj; | |
12698 | fail: | |
12699 | return NULL; | |
12700 | } | |
12701 | ||
12702 | ||
12703 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12704 | PyObject *resultobj = 0; | |
12705 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12706 | int arg2 ; | |
12707 | void *argp1 = 0 ; | |
12708 | int res1 = 0 ; | |
12709 | int val2 ; | |
12710 | int ecode2 = 0 ; | |
12711 | PyObject *swig_obj[2] ; | |
12712 | ||
12713 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; | |
12714 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12715 | if (!SWIG_IsOK(res1)) { | |
12716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12717 | } | |
12718 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12719 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12720 | if (!SWIG_IsOK(ecode2)) { | |
12721 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12722 | } | |
12723 | arg2 = static_cast< int >(val2); | |
12724 | if (arg1) (arg1)->cur_state = arg2; | |
12725 | ||
12726 | resultobj = SWIG_Py_Void(); | |
12727 | return resultobj; | |
12728 | fail: | |
12729 | return NULL; | |
12730 | } | |
12731 | ||
12732 | ||
12733 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12734 | PyObject *resultobj = 0; | |
12735 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12736 | int result; | |
12737 | void *argp1 = 0 ; | |
12738 | int res1 = 0 ; | |
12739 | PyObject *swig_obj[1] ; | |
12740 | ||
12741 | if (!args) SWIG_fail; | |
12742 | swig_obj[0] = args; | |
12743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12744 | if (!SWIG_IsOK(res1)) { | |
12745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12746 | } | |
12747 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12748 | result = (int) ((arg1)->cur_state); | |
12749 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12750 | return resultobj; | |
12751 | fail: | |
12752 | return NULL; | |
12753 | } | |
12754 | ||
12755 | ||
5c8c7dd3 RD |
12756 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12757 | PyObject *resultobj = 0; | |
12758 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12759 | int arg2 ; | |
12760 | void *argp1 = 0 ; | |
12761 | int res1 = 0 ; | |
12762 | int val2 ; | |
12763 | int ecode2 = 0 ; | |
12764 | PyObject *swig_obj[2] ; | |
12765 | ||
12766 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; | |
12767 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12768 | if (!SWIG_IsOK(res1)) { | |
12769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12770 | } | |
12771 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12772 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12773 | if (!SWIG_IsOK(ecode2)) { | |
12774 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12775 | } | |
12776 | arg2 = static_cast< int >(val2); | |
12777 | if (arg1) (arg1)->location = arg2; | |
12778 | ||
12779 | resultobj = SWIG_Py_Void(); | |
12780 | return resultobj; | |
12781 | fail: | |
12782 | return NULL; | |
12783 | } | |
12784 | ||
12785 | ||
12786 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12787 | PyObject *resultobj = 0; | |
12788 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12789 | int result; | |
12790 | void *argp1 = 0 ; | |
12791 | int res1 = 0 ; | |
12792 | PyObject *swig_obj[1] ; | |
12793 | ||
12794 | if (!args) SWIG_fail; | |
12795 | swig_obj[0] = args; | |
12796 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12797 | if (!SWIG_IsOK(res1)) { | |
12798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12799 | } | |
12800 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12801 | result = (int) ((arg1)->location); | |
12802 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12803 | return resultobj; | |
12804 | fail: | |
12805 | return NULL; | |
12806 | } | |
12807 | ||
12808 | ||
10044bf1 RD |
12809 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12810 | PyObject *resultobj = 0; | |
12811 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12812 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12813 | void *argp1 = 0 ; | |
12814 | int res1 = 0 ; | |
12815 | void *argp2 = 0 ; | |
12816 | int res2 = 0 ; | |
12817 | PyObject *swig_obj[2] ; | |
12818 | ||
12819 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12820 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12821 | if (!SWIG_IsOK(res1)) { | |
12822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12823 | } | |
12824 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12825 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12826 | if (!SWIG_IsOK(res2)) { | |
12827 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12828 | } | |
12829 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12830 | if (arg1) (arg1)->bitmap = *arg2; | |
12831 | ||
12832 | resultobj = SWIG_Py_Void(); | |
12833 | return resultobj; | |
12834 | fail: | |
12835 | return NULL; | |
12836 | } | |
12837 | ||
12838 | ||
12839 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12840 | PyObject *resultobj = 0; | |
12841 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12842 | wxBitmap *result = 0 ; | |
12843 | void *argp1 = 0 ; | |
12844 | int res1 = 0 ; | |
12845 | PyObject *swig_obj[1] ; | |
12846 | ||
12847 | if (!args) SWIG_fail; | |
12848 | swig_obj[0] = args; | |
12849 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12850 | if (!SWIG_IsOK(res1)) { | |
12851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12852 | } | |
12853 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12854 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12855 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12856 | return resultobj; | |
12857 | fail: | |
12858 | return NULL; | |
12859 | } | |
12860 | ||
12861 | ||
8f514ab4 RD |
12862 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12863 | PyObject *resultobj = 0; | |
12864 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12865 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12866 | void *argp1 = 0 ; | |
12867 | int res1 = 0 ; | |
12868 | void *argp2 = 0 ; | |
12869 | int res2 = 0 ; | |
12870 | PyObject *swig_obj[2] ; | |
12871 | ||
12872 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12873 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12874 | if (!SWIG_IsOK(res1)) { | |
12875 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12876 | } | |
12877 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12878 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12879 | if (!SWIG_IsOK(res2)) { | |
12880 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12881 | } | |
12882 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12883 | if (arg1) (arg1)->dis_bitmap = *arg2; | |
12884 | ||
12885 | resultobj = SWIG_Py_Void(); | |
12886 | return resultobj; | |
12887 | fail: | |
12888 | return NULL; | |
12889 | } | |
12890 | ||
12891 | ||
12892 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12893 | PyObject *resultobj = 0; | |
12894 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12895 | wxBitmap *result = 0 ; | |
12896 | void *argp1 = 0 ; | |
12897 | int res1 = 0 ; | |
12898 | PyObject *swig_obj[1] ; | |
12899 | ||
12900 | if (!args) SWIG_fail; | |
12901 | swig_obj[0] = args; | |
12902 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12903 | if (!SWIG_IsOK(res1)) { | |
12904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12905 | } | |
12906 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12907 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
12908 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12909 | return resultobj; | |
12910 | fail: | |
12911 | return NULL; | |
12912 | } | |
12913 | ||
12914 | ||
10044bf1 RD |
12915 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12916 | PyObject *resultobj = 0; | |
12917 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12918 | wxRect *arg2 = (wxRect *) 0 ; | |
12919 | void *argp1 = 0 ; | |
12920 | int res1 = 0 ; | |
12921 | void *argp2 = 0 ; | |
12922 | int res2 = 0 ; | |
12923 | PyObject *swig_obj[2] ; | |
12924 | ||
12925 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; | |
12926 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12927 | if (!SWIG_IsOK(res1)) { | |
12928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12929 | } | |
12930 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12931 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12932 | if (!SWIG_IsOK(res2)) { | |
12933 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12934 | } | |
12935 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12936 | if (arg1) (arg1)->rect = *arg2; | |
12937 | ||
12938 | resultobj = SWIG_Py_Void(); | |
12939 | return resultobj; | |
12940 | fail: | |
12941 | return NULL; | |
12942 | } | |
12943 | ||
12944 | ||
12945 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12946 | PyObject *resultobj = 0; | |
12947 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12948 | wxRect *result = 0 ; | |
12949 | void *argp1 = 0 ; | |
12950 | int res1 = 0 ; | |
12951 | PyObject *swig_obj[1] ; | |
12952 | ||
12953 | if (!args) SWIG_fail; | |
12954 | swig_obj[0] = args; | |
12955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12956 | if (!SWIG_IsOK(res1)) { | |
12957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12958 | } | |
12959 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12960 | result = (wxRect *)& ((arg1)->rect); | |
12961 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12962 | return resultobj; | |
12963 | fail: | |
12964 | return NULL; | |
12965 | } | |
12966 | ||
12967 | ||
12968 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12969 | PyObject *obj; | |
12970 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12971 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12972 | return SWIG_Py_Void(); | |
12973 | } | |
12974 | ||
12975 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12976 | PyObject *resultobj = 0; | |
12977 | wxAuiTabContainer *result = 0 ; | |
12978 | ||
12979 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
12980 | { | |
12981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12982 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
12983 | wxPyEndAllowThreads(__tstate); | |
12984 | if (PyErr_Occurred()) SWIG_fail; | |
12985 | } | |
12986 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
12987 | return resultobj; | |
12988 | fail: | |
12989 | return NULL; | |
12990 | } | |
12991 | ||
12992 | ||
12993 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12994 | PyObject *resultobj = 0; | |
12995 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
12996 | void *argp1 = 0 ; | |
12997 | int res1 = 0 ; | |
12998 | PyObject *swig_obj[1] ; | |
12999 | ||
13000 | if (!args) SWIG_fail; | |
13001 | swig_obj[0] = args; | |
13002 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13003 | if (!SWIG_IsOK(res1)) { | |
13004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13005 | } | |
13006 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13007 | { | |
13008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13009 | delete arg1; | |
13010 | ||
13011 | wxPyEndAllowThreads(__tstate); | |
13012 | if (PyErr_Occurred()) SWIG_fail; | |
13013 | } | |
13014 | resultobj = SWIG_Py_Void(); | |
13015 | return resultobj; | |
13016 | fail: | |
13017 | return NULL; | |
13018 | } | |
13019 | ||
13020 | ||
5c8c7dd3 RD |
13021 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13022 | PyObject *resultobj = 0; | |
13023 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13024 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13025 | void *argp1 = 0 ; |
13026 | int res1 = 0 ; | |
13027 | void *argp2 = 0 ; | |
13028 | int res2 = 0 ; | |
13029 | PyObject * obj0 = 0 ; | |
13030 | PyObject * obj1 = 0 ; | |
13031 | char * kwnames[] = { | |
13032 | (char *) "self",(char *) "art", NULL | |
13033 | }; | |
13034 | ||
13035 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13036 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13037 | if (!SWIG_IsOK(res1)) { | |
13038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13039 | } | |
13040 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13041 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13042 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13043 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13044 | } |
5eb8189c | 13045 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13046 | { |
13047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13048 | (arg1)->SetArtProvider(arg2); | |
13049 | wxPyEndAllowThreads(__tstate); | |
13050 | if (PyErr_Occurred()) SWIG_fail; | |
13051 | } | |
13052 | resultobj = SWIG_Py_Void(); | |
13053 | return resultobj; | |
13054 | fail: | |
13055 | return NULL; | |
13056 | } | |
13057 | ||
13058 | ||
13059 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13060 | PyObject *resultobj = 0; | |
13061 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13062 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13063 | void *argp1 = 0 ; |
13064 | int res1 = 0 ; | |
13065 | PyObject *swig_obj[1] ; | |
13066 | ||
13067 | if (!args) SWIG_fail; | |
13068 | swig_obj[0] = args; | |
13069 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13070 | if (!SWIG_IsOK(res1)) { | |
13071 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13072 | } | |
13073 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13074 | { | |
13075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
13076 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); |
13077 | wxPyEndAllowThreads(__tstate); | |
13078 | if (PyErr_Occurred()) SWIG_fail; | |
13079 | } | |
13080 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13081 | return resultobj; | |
13082 | fail: | |
13083 | return NULL; | |
13084 | } | |
13085 | ||
13086 | ||
13087 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13088 | PyObject *resultobj = 0; | |
13089 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13090 | int arg2 ; | |
13091 | void *argp1 = 0 ; | |
13092 | int res1 = 0 ; | |
13093 | int val2 ; | |
13094 | int ecode2 = 0 ; | |
13095 | PyObject * obj0 = 0 ; | |
13096 | PyObject * obj1 = 0 ; | |
13097 | char * kwnames[] = { | |
13098 | (char *) "self",(char *) "flags", NULL | |
13099 | }; | |
13100 | ||
13101 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13102 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13103 | if (!SWIG_IsOK(res1)) { | |
13104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13105 | } | |
13106 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13107 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13108 | if (!SWIG_IsOK(ecode2)) { | |
13109 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13110 | } | |
13111 | arg2 = static_cast< int >(val2); | |
13112 | { | |
13113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13114 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13115 | wxPyEndAllowThreads(__tstate); |
13116 | if (PyErr_Occurred()) SWIG_fail; | |
13117 | } | |
5eb8189c RD |
13118 | resultobj = SWIG_Py_Void(); |
13119 | return resultobj; | |
13120 | fail: | |
13121 | return NULL; | |
13122 | } | |
13123 | ||
13124 | ||
13125 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13126 | PyObject *resultobj = 0; | |
13127 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13128 | int result; | |
13129 | void *argp1 = 0 ; | |
13130 | int res1 = 0 ; | |
13131 | PyObject *swig_obj[1] ; | |
13132 | ||
13133 | if (!args) SWIG_fail; | |
13134 | swig_obj[0] = args; | |
13135 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13136 | if (!SWIG_IsOK(res1)) { | |
13137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13138 | } | |
13139 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13140 | { | |
13141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13142 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13143 | wxPyEndAllowThreads(__tstate); | |
13144 | if (PyErr_Occurred()) SWIG_fail; | |
13145 | } | |
13146 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13147 | return resultobj; |
13148 | fail: | |
13149 | return NULL; | |
13150 | } | |
13151 | ||
13152 | ||
10044bf1 RD |
13153 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13154 | PyObject *resultobj = 0; | |
13155 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13156 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13157 | wxAuiNotebookPage *arg3 = 0 ; | |
13158 | bool result; | |
13159 | void *argp1 = 0 ; | |
13160 | int res1 = 0 ; | |
13161 | void *argp2 = 0 ; | |
13162 | int res2 = 0 ; | |
13163 | void *argp3 = 0 ; | |
13164 | int res3 = 0 ; | |
13165 | PyObject * obj0 = 0 ; | |
13166 | PyObject * obj1 = 0 ; | |
13167 | PyObject * obj2 = 0 ; | |
13168 | char * kwnames[] = { | |
13169 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13170 | }; | |
13171 | ||
13172 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13173 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13174 | if (!SWIG_IsOK(res1)) { | |
13175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13176 | } | |
13177 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13178 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13179 | if (!SWIG_IsOK(res2)) { | |
13180 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13181 | } | |
13182 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13183 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13184 | if (!SWIG_IsOK(res3)) { | |
13185 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13186 | } | |
13187 | if (!argp3) { | |
13188 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13189 | } | |
13190 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13191 | { | |
13192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13193 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13194 | wxPyEndAllowThreads(__tstate); | |
13195 | if (PyErr_Occurred()) SWIG_fail; | |
13196 | } | |
13197 | { | |
13198 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13199 | } | |
13200 | return resultobj; | |
13201 | fail: | |
13202 | return NULL; | |
13203 | } | |
13204 | ||
13205 | ||
13206 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13207 | PyObject *resultobj = 0; | |
13208 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13209 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13210 | wxAuiNotebookPage *arg3 = 0 ; | |
13211 | size_t arg4 ; | |
13212 | bool result; | |
13213 | void *argp1 = 0 ; | |
13214 | int res1 = 0 ; | |
13215 | void *argp2 = 0 ; | |
13216 | int res2 = 0 ; | |
13217 | void *argp3 = 0 ; | |
13218 | int res3 = 0 ; | |
13219 | size_t val4 ; | |
13220 | int ecode4 = 0 ; | |
13221 | PyObject * obj0 = 0 ; | |
13222 | PyObject * obj1 = 0 ; | |
13223 | PyObject * obj2 = 0 ; | |
13224 | PyObject * obj3 = 0 ; | |
13225 | char * kwnames[] = { | |
13226 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13227 | }; | |
13228 | ||
13229 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13230 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13231 | if (!SWIG_IsOK(res1)) { | |
13232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13233 | } | |
13234 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13235 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13236 | if (!SWIG_IsOK(res2)) { | |
13237 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13238 | } | |
13239 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13240 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13241 | if (!SWIG_IsOK(res3)) { | |
13242 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13243 | } | |
13244 | if (!argp3) { | |
13245 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13246 | } | |
13247 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13248 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13249 | if (!SWIG_IsOK(ecode4)) { | |
13250 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13251 | } | |
13252 | arg4 = static_cast< size_t >(val4); | |
13253 | { | |
13254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13255 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13256 | wxPyEndAllowThreads(__tstate); | |
13257 | if (PyErr_Occurred()) SWIG_fail; | |
13258 | } | |
13259 | { | |
13260 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13261 | } | |
13262 | return resultobj; | |
13263 | fail: | |
13264 | return NULL; | |
13265 | } | |
13266 | ||
13267 | ||
580080c5 RD |
13268 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13269 | PyObject *resultobj = 0; | |
13270 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13271 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13272 | size_t arg3 ; | |
13273 | bool result; | |
13274 | void *argp1 = 0 ; | |
13275 | int res1 = 0 ; | |
13276 | void *argp2 = 0 ; | |
13277 | int res2 = 0 ; | |
13278 | size_t val3 ; | |
13279 | int ecode3 = 0 ; | |
13280 | PyObject * obj0 = 0 ; | |
13281 | PyObject * obj1 = 0 ; | |
13282 | PyObject * obj2 = 0 ; | |
13283 | char * kwnames[] = { | |
13284 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13285 | }; | |
13286 | ||
13287 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13288 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13289 | if (!SWIG_IsOK(res1)) { | |
13290 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13291 | } | |
13292 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13293 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13294 | if (!SWIG_IsOK(res2)) { | |
13295 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13296 | } | |
13297 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13298 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13299 | if (!SWIG_IsOK(ecode3)) { | |
13300 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
13301 | } | |
13302 | arg3 = static_cast< size_t >(val3); | |
13303 | { | |
13304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13305 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
13306 | wxPyEndAllowThreads(__tstate); | |
13307 | if (PyErr_Occurred()) SWIG_fail; | |
13308 | } | |
13309 | { | |
13310 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13311 | } | |
13312 | return resultobj; | |
13313 | fail: | |
13314 | return NULL; | |
13315 | } | |
13316 | ||
13317 | ||
10044bf1 RD |
13318 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13319 | PyObject *resultobj = 0; | |
13320 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13321 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13322 | bool result; | |
13323 | void *argp1 = 0 ; | |
13324 | int res1 = 0 ; | |
13325 | void *argp2 = 0 ; | |
13326 | int res2 = 0 ; | |
13327 | PyObject * obj0 = 0 ; | |
13328 | PyObject * obj1 = 0 ; | |
13329 | char * kwnames[] = { | |
13330 | (char *) "self",(char *) "page", NULL | |
13331 | }; | |
13332 | ||
13333 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13334 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13335 | if (!SWIG_IsOK(res1)) { | |
13336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13337 | } | |
13338 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13339 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13340 | if (!SWIG_IsOK(res2)) { | |
13341 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13342 | } | |
13343 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13344 | { | |
13345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13346 | result = (bool)(arg1)->RemovePage(arg2); | |
13347 | wxPyEndAllowThreads(__tstate); | |
13348 | if (PyErr_Occurred()) SWIG_fail; | |
13349 | } | |
13350 | { | |
13351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13352 | } | |
13353 | return resultobj; | |
13354 | fail: | |
13355 | return NULL; | |
13356 | } | |
13357 | ||
13358 | ||
13359 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13360 | PyObject *resultobj = 0; | |
13361 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13362 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13363 | bool result; | |
13364 | void *argp1 = 0 ; | |
13365 | int res1 = 0 ; | |
13366 | void *argp2 = 0 ; | |
13367 | int res2 = 0 ; | |
13368 | ||
13369 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13371 | if (!SWIG_IsOK(res1)) { | |
13372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13373 | } | |
13374 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13375 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13376 | if (!SWIG_IsOK(res2)) { | |
13377 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13378 | } | |
13379 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13380 | { | |
13381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13382 | result = (bool)(arg1)->SetActivePage(arg2); | |
13383 | wxPyEndAllowThreads(__tstate); | |
13384 | if (PyErr_Occurred()) SWIG_fail; | |
13385 | } | |
13386 | { | |
13387 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13388 | } | |
13389 | return resultobj; | |
13390 | fail: | |
13391 | return NULL; | |
13392 | } | |
13393 | ||
13394 | ||
13395 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13396 | PyObject *resultobj = 0; | |
13397 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13398 | size_t arg2 ; | |
13399 | bool result; | |
13400 | void *argp1 = 0 ; | |
13401 | int res1 = 0 ; | |
13402 | size_t val2 ; | |
13403 | int ecode2 = 0 ; | |
13404 | ||
13405 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13406 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13407 | if (!SWIG_IsOK(res1)) { | |
13408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13409 | } | |
13410 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13411 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
13412 | if (!SWIG_IsOK(ecode2)) { | |
13413 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
13414 | } | |
13415 | arg2 = static_cast< size_t >(val2); | |
13416 | { | |
13417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13418 | result = (bool)(arg1)->SetActivePage(arg2); | |
13419 | wxPyEndAllowThreads(__tstate); | |
13420 | if (PyErr_Occurred()) SWIG_fail; | |
13421 | } | |
13422 | { | |
13423 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13424 | } | |
13425 | return resultobj; | |
13426 | fail: | |
13427 | return NULL; | |
13428 | } | |
13429 | ||
13430 | ||
13431 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
13432 | int argc; | |
13433 | PyObject *argv[3]; | |
13434 | ||
13435 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
13436 | --argc; | |
13437 | if (argc == 2) { | |
13438 | int _v = 0; | |
13439 | { | |
13440 | void *vptr = 0; | |
13441 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
13442 | _v = SWIG_CheckState(res); | |
13443 | } | |
13444 | if (!_v) goto check_1; | |
13445 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
13446 | } | |
13447 | check_1: | |
13448 | ||
13449 | if (argc == 2) { | |
13450 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
13451 | } | |
13452 | ||
13453 | fail: | |
13454 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
13455 | return NULL; | |
13456 | } | |
13457 | ||
13458 | ||
13459 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13460 | PyObject *resultobj = 0; | |
13461 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13462 | void *argp1 = 0 ; | |
13463 | int res1 = 0 ; | |
13464 | PyObject *swig_obj[1] ; | |
13465 | ||
13466 | if (!args) SWIG_fail; | |
13467 | swig_obj[0] = args; | |
13468 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13469 | if (!SWIG_IsOK(res1)) { | |
13470 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13471 | } | |
13472 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13473 | { | |
13474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13475 | (arg1)->SetNoneActive(); | |
13476 | wxPyEndAllowThreads(__tstate); | |
13477 | if (PyErr_Occurred()) SWIG_fail; | |
13478 | } | |
13479 | resultobj = SWIG_Py_Void(); | |
13480 | return resultobj; | |
13481 | fail: | |
13482 | return NULL; | |
13483 | } | |
13484 | ||
13485 | ||
13486 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13487 | PyObject *resultobj = 0; | |
13488 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13489 | int result; | |
13490 | void *argp1 = 0 ; | |
13491 | int res1 = 0 ; | |
13492 | PyObject *swig_obj[1] ; | |
13493 | ||
13494 | if (!args) SWIG_fail; | |
13495 | swig_obj[0] = args; | |
13496 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13497 | if (!SWIG_IsOK(res1)) { | |
13498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13499 | } | |
13500 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13501 | { | |
13502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13503 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
13504 | wxPyEndAllowThreads(__tstate); | |
13505 | if (PyErr_Occurred()) SWIG_fail; | |
13506 | } | |
13507 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13508 | return resultobj; | |
13509 | fail: | |
13510 | return NULL; | |
13511 | } | |
13512 | ||
13513 | ||
13514 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13515 | PyObject *resultobj = 0; | |
13516 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13517 | int arg2 ; | |
13518 | int arg3 ; | |
13519 | wxWindow **arg4 = (wxWindow **) 0 ; | |
13520 | bool result; | |
13521 | void *argp1 = 0 ; | |
13522 | int res1 = 0 ; | |
13523 | int val2 ; | |
13524 | int ecode2 = 0 ; | |
13525 | int val3 ; | |
13526 | int ecode3 = 0 ; | |
13527 | void *argp4 = 0 ; | |
13528 | int res4 = 0 ; | |
13529 | PyObject * obj0 = 0 ; | |
13530 | PyObject * obj1 = 0 ; | |
13531 | PyObject * obj2 = 0 ; | |
13532 | PyObject * obj3 = 0 ; | |
13533 | char * kwnames[] = { | |
13534 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13535 | }; | |
13536 | ||
13537 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13538 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13539 | if (!SWIG_IsOK(res1)) { | |
13540 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13541 | } | |
13542 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13543 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13544 | if (!SWIG_IsOK(ecode2)) { | |
13545 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13546 | } | |
13547 | arg2 = static_cast< int >(val2); | |
13548 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13549 | if (!SWIG_IsOK(ecode3)) { | |
13550 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13551 | } | |
13552 | arg3 = static_cast< int >(val3); | |
13553 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
13554 | if (!SWIG_IsOK(res4)) { | |
13555 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
13556 | } | |
13557 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
13558 | { | |
13559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13560 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
13561 | wxPyEndAllowThreads(__tstate); | |
13562 | if (PyErr_Occurred()) SWIG_fail; | |
13563 | } | |
13564 | { | |
13565 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13566 | } | |
13567 | return resultobj; | |
13568 | fail: | |
13569 | return NULL; | |
13570 | } | |
13571 | ||
13572 | ||
13573 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13574 | PyObject *resultobj = 0; | |
13575 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13576 | int arg2 ; | |
13577 | int arg3 ; | |
13578 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
13579 | bool result; | |
13580 | void *argp1 = 0 ; | |
13581 | int res1 = 0 ; | |
13582 | int val2 ; | |
13583 | int ecode2 = 0 ; | |
13584 | int val3 ; | |
13585 | int ecode3 = 0 ; | |
13586 | void *argp4 = 0 ; | |
13587 | int res4 = 0 ; | |
13588 | PyObject * obj0 = 0 ; | |
13589 | PyObject * obj1 = 0 ; | |
13590 | PyObject * obj2 = 0 ; | |
13591 | PyObject * obj3 = 0 ; | |
13592 | char * kwnames[] = { | |
13593 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13594 | }; | |
13595 | ||
13596 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13597 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13598 | if (!SWIG_IsOK(res1)) { | |
13599 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13600 | } | |
13601 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13602 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13603 | if (!SWIG_IsOK(ecode2)) { | |
13604 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13605 | } | |
13606 | arg2 = static_cast< int >(val2); | |
13607 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13608 | if (!SWIG_IsOK(ecode3)) { | |
13609 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13610 | } | |
13611 | arg3 = static_cast< int >(val3); | |
13612 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
13613 | if (!SWIG_IsOK(res4)) { | |
13614 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
13615 | } | |
13616 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
13617 | { | |
13618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13619 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
13620 | wxPyEndAllowThreads(__tstate); | |
13621 | if (PyErr_Occurred()) SWIG_fail; | |
13622 | } | |
13623 | { | |
13624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13625 | } | |
13626 | return resultobj; | |
13627 | fail: | |
13628 | return NULL; | |
13629 | } | |
13630 | ||
13631 | ||
13632 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13633 | PyObject *resultobj = 0; | |
13634 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13635 | size_t arg2 ; | |
13636 | wxWindow *result = 0 ; | |
13637 | void *argp1 = 0 ; | |
13638 | int res1 = 0 ; | |
13639 | size_t val2 ; | |
13640 | int ecode2 = 0 ; | |
13641 | PyObject * obj0 = 0 ; | |
13642 | PyObject * obj1 = 0 ; | |
13643 | char * kwnames[] = { | |
13644 | (char *) "self",(char *) "idx", NULL | |
13645 | }; | |
13646 | ||
13647 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
13648 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13649 | if (!SWIG_IsOK(res1)) { | |
13650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13651 | } | |
13652 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13653 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13654 | if (!SWIG_IsOK(ecode2)) { | |
13655 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
13656 | } | |
13657 | arg2 = static_cast< size_t >(val2); | |
13658 | { | |
13659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13660 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
13661 | wxPyEndAllowThreads(__tstate); | |
13662 | if (PyErr_Occurred()) SWIG_fail; | |
13663 | } | |
13664 | { | |
13665 | resultobj = wxPyMake_wxObject(result, 0); | |
13666 | } | |
13667 | return resultobj; | |
13668 | fail: | |
13669 | return NULL; | |
13670 | } | |
13671 | ||
13672 | ||
13673 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13674 | PyObject *resultobj = 0; | |
13675 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13676 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13677 | int result; | |
13678 | void *argp1 = 0 ; | |
13679 | int res1 = 0 ; | |
13680 | void *argp2 = 0 ; | |
13681 | int res2 = 0 ; | |
13682 | PyObject * obj0 = 0 ; | |
13683 | PyObject * obj1 = 0 ; | |
13684 | char * kwnames[] = { | |
13685 | (char *) "self",(char *) "page", NULL | |
13686 | }; | |
13687 | ||
13688 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
13689 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13690 | if (!SWIG_IsOK(res1)) { | |
13691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13692 | } | |
13693 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13694 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13695 | if (!SWIG_IsOK(res2)) { | |
13696 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13697 | } | |
13698 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13699 | { | |
13700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13701 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
13702 | wxPyEndAllowThreads(__tstate); | |
13703 | if (PyErr_Occurred()) SWIG_fail; | |
13704 | } | |
13705 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13706 | return resultobj; | |
13707 | fail: | |
13708 | return NULL; | |
13709 | } | |
13710 | ||
13711 | ||
13712 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13713 | PyObject *resultobj = 0; | |
13714 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13715 | size_t result; | |
13716 | void *argp1 = 0 ; | |
13717 | int res1 = 0 ; | |
13718 | PyObject *swig_obj[1] ; | |
13719 | ||
13720 | if (!args) SWIG_fail; | |
13721 | swig_obj[0] = args; | |
13722 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13723 | if (!SWIG_IsOK(res1)) { | |
13724 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13725 | } | |
13726 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13727 | { | |
13728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13729 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
13730 | wxPyEndAllowThreads(__tstate); | |
13731 | if (PyErr_Occurred()) SWIG_fail; | |
13732 | } | |
13733 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13734 | return resultobj; | |
13735 | fail: | |
13736 | return NULL; | |
13737 | } | |
13738 | ||
13739 | ||
13740 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13741 | PyObject *resultobj = 0; | |
13742 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13743 | size_t arg2 ; | |
13744 | wxAuiNotebookPage *result = 0 ; | |
13745 | void *argp1 = 0 ; | |
13746 | int res1 = 0 ; | |
13747 | size_t val2 ; | |
13748 | int ecode2 = 0 ; | |
13749 | PyObject * obj0 = 0 ; | |
13750 | PyObject * obj1 = 0 ; | |
13751 | char * kwnames[] = { | |
13752 | (char *) "self",(char *) "idx", NULL | |
13753 | }; | |
13754 | ||
13755 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13756 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13757 | if (!SWIG_IsOK(res1)) { | |
13758 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13759 | } | |
13760 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13761 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13762 | if (!SWIG_IsOK(ecode2)) { | |
13763 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
13764 | } | |
13765 | arg2 = static_cast< size_t >(val2); | |
13766 | { | |
13767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13768 | { | |
13769 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
13770 | result = (wxAuiNotebookPage *) &_result_ref; | |
13771 | } | |
13772 | wxPyEndAllowThreads(__tstate); | |
13773 | if (PyErr_Occurred()) SWIG_fail; | |
13774 | } | |
13775 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
13776 | return resultobj; | |
13777 | fail: | |
13778 | return NULL; | |
13779 | } | |
13780 | ||
13781 | ||
13782 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13783 | PyObject *resultobj = 0; | |
13784 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13785 | wxAuiNotebookPageArray *result = 0 ; | |
13786 | void *argp1 = 0 ; | |
13787 | int res1 = 0 ; | |
13788 | PyObject *swig_obj[1] ; | |
13789 | ||
13790 | if (!args) SWIG_fail; | |
13791 | swig_obj[0] = args; | |
13792 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13793 | if (!SWIG_IsOK(res1)) { | |
13794 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13795 | } | |
13796 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13797 | { | |
13798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13799 | { | |
13800 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
13801 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
13802 | } | |
13803 | wxPyEndAllowThreads(__tstate); | |
13804 | if (PyErr_Occurred()) SWIG_fail; | |
13805 | } | |
13806 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
13807 | return resultobj; | |
13808 | fail: | |
13809 | return NULL; | |
13810 | } | |
13811 | ||
13812 | ||
13813 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13814 | PyObject *resultobj = 0; | |
13815 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13816 | wxFont *arg2 = 0 ; | |
13817 | void *argp1 = 0 ; | |
13818 | int res1 = 0 ; | |
13819 | void *argp2 = 0 ; | |
13820 | int res2 = 0 ; | |
13821 | PyObject * obj0 = 0 ; | |
13822 | PyObject * obj1 = 0 ; | |
13823 | char * kwnames[] = { | |
13824 | (char *) "self",(char *) "normal_font", NULL | |
13825 | }; | |
13826 | ||
13827 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13828 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13829 | if (!SWIG_IsOK(res1)) { | |
13830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13831 | } | |
13832 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13833 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13834 | if (!SWIG_IsOK(res2)) { | |
13835 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13836 | } | |
13837 | if (!argp2) { | |
13838 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13839 | } | |
13840 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13841 | { | |
13842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13843 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
13844 | wxPyEndAllowThreads(__tstate); | |
13845 | if (PyErr_Occurred()) SWIG_fail; | |
13846 | } | |
13847 | resultobj = SWIG_Py_Void(); | |
13848 | return resultobj; | |
13849 | fail: | |
13850 | return NULL; | |
13851 | } | |
13852 | ||
13853 | ||
13854 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13855 | PyObject *resultobj = 0; | |
13856 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13857 | wxFont *arg2 = 0 ; | |
13858 | void *argp1 = 0 ; | |
13859 | int res1 = 0 ; | |
13860 | void *argp2 = 0 ; | |
13861 | int res2 = 0 ; | |
13862 | PyObject * obj0 = 0 ; | |
13863 | PyObject * obj1 = 0 ; | |
13864 | char * kwnames[] = { | |
13865 | (char *) "self",(char *) "selected_font", NULL | |
13866 | }; | |
13867 | ||
13868 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13869 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13870 | if (!SWIG_IsOK(res1)) { | |
13871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13872 | } | |
13873 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13874 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13875 | if (!SWIG_IsOK(res2)) { | |
13876 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13877 | } | |
13878 | if (!argp2) { | |
13879 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13880 | } | |
13881 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13882 | { | |
13883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13884 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
13885 | wxPyEndAllowThreads(__tstate); | |
13886 | if (PyErr_Occurred()) SWIG_fail; | |
13887 | } | |
13888 | resultobj = SWIG_Py_Void(); | |
13889 | return resultobj; | |
13890 | fail: | |
13891 | return NULL; | |
13892 | } | |
13893 | ||
13894 | ||
13895 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13896 | PyObject *resultobj = 0; | |
13897 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13898 | wxFont *arg2 = 0 ; | |
13899 | void *argp1 = 0 ; | |
13900 | int res1 = 0 ; | |
13901 | void *argp2 = 0 ; | |
13902 | int res2 = 0 ; | |
13903 | PyObject * obj0 = 0 ; | |
13904 | PyObject * obj1 = 0 ; | |
13905 | char * kwnames[] = { | |
13906 | (char *) "self",(char *) "measuring_font", NULL | |
13907 | }; | |
13908 | ||
13909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13911 | if (!SWIG_IsOK(res1)) { | |
13912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13913 | } | |
13914 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13915 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13916 | if (!SWIG_IsOK(res2)) { | |
13917 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13918 | } | |
13919 | if (!argp2) { | |
13920 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13921 | } | |
13922 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13923 | { | |
13924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13925 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13926 | wxPyEndAllowThreads(__tstate); | |
13927 | if (PyErr_Occurred()) SWIG_fail; | |
13928 | } | |
13929 | resultobj = SWIG_Py_Void(); | |
13930 | return resultobj; | |
13931 | fail: | |
13932 | return NULL; | |
13933 | } | |
13934 | ||
13935 | ||
13936 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13937 | PyObject *resultobj = 0; | |
13938 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13939 | void *argp1 = 0 ; | |
13940 | int res1 = 0 ; | |
13941 | PyObject *swig_obj[1] ; | |
13942 | ||
13943 | if (!args) SWIG_fail; | |
13944 | swig_obj[0] = args; | |
13945 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13946 | if (!SWIG_IsOK(res1)) { | |
13947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13948 | } | |
13949 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13950 | { | |
13951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13952 | (arg1)->DoShowHide(); | |
13953 | wxPyEndAllowThreads(__tstate); | |
13954 | if (PyErr_Occurred()) SWIG_fail; | |
13955 | } | |
13956 | resultobj = SWIG_Py_Void(); | |
13957 | return resultobj; | |
13958 | fail: | |
13959 | return NULL; | |
13960 | } | |
13961 | ||
13962 | ||
13963 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13964 | PyObject *resultobj = 0; | |
13965 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13966 | wxRect *arg2 = 0 ; | |
13967 | void *argp1 = 0 ; | |
13968 | int res1 = 0 ; | |
13969 | wxRect temp2 ; | |
13970 | PyObject * obj0 = 0 ; | |
13971 | PyObject * obj1 = 0 ; | |
13972 | char * kwnames[] = { | |
13973 | (char *) "self",(char *) "rect", NULL | |
13974 | }; | |
13975 | ||
13976 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
13977 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13978 | if (!SWIG_IsOK(res1)) { | |
13979 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13980 | } | |
13981 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13982 | { | |
13983 | arg2 = &temp2; | |
13984 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
13985 | } | |
13986 | { | |
13987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13988 | (arg1)->SetRect((wxRect const &)*arg2); | |
13989 | wxPyEndAllowThreads(__tstate); | |
13990 | if (PyErr_Occurred()) SWIG_fail; | |
13991 | } | |
13992 | resultobj = SWIG_Py_Void(); | |
13993 | return resultobj; | |
13994 | fail: | |
13995 | return NULL; | |
13996 | } | |
13997 | ||
13998 | ||
36cb9ebe RD |
13999 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14000 | PyObject *resultobj = 0; | |
14001 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14002 | int arg2 ; | |
14003 | void *argp1 = 0 ; | |
14004 | int res1 = 0 ; | |
14005 | int val2 ; | |
14006 | int ecode2 = 0 ; | |
14007 | PyObject * obj0 = 0 ; | |
14008 | PyObject * obj1 = 0 ; | |
14009 | char * kwnames[] = { | |
14010 | (char *) "self",(char *) "id", NULL | |
14011 | }; | |
14012 | ||
14013 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14014 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14015 | if (!SWIG_IsOK(res1)) { | |
14016 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14017 | } | |
14018 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14019 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14020 | if (!SWIG_IsOK(ecode2)) { | |
14021 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14022 | } | |
14023 | arg2 = static_cast< int >(val2); | |
14024 | { | |
14025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14026 | (arg1)->RemoveButton(arg2); | |
14027 | wxPyEndAllowThreads(__tstate); | |
14028 | if (PyErr_Occurred()) SWIG_fail; | |
14029 | } | |
14030 | resultobj = SWIG_Py_Void(); | |
14031 | return resultobj; | |
14032 | fail: | |
14033 | return NULL; | |
14034 | } | |
14035 | ||
14036 | ||
10044bf1 RD |
14037 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14038 | PyObject *resultobj = 0; | |
14039 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14040 | int arg2 ; | |
5c8c7dd3 | 14041 | int arg3 ; |
8f514ab4 RD |
14042 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14043 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14044 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14045 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14046 | void *argp1 = 0 ; |
14047 | int res1 = 0 ; | |
14048 | int val2 ; | |
14049 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14050 | int val3 ; |
14051 | int ecode3 = 0 ; | |
14052 | void *argp4 = 0 ; | |
14053 | int res4 = 0 ; | |
8f514ab4 RD |
14054 | void *argp5 = 0 ; |
14055 | int res5 = 0 ; | |
10044bf1 RD |
14056 | PyObject * obj0 = 0 ; |
14057 | PyObject * obj1 = 0 ; | |
14058 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14059 | PyObject * obj3 = 0 ; |
8f514ab4 | 14060 | PyObject * obj4 = 0 ; |
10044bf1 | 14061 | char * kwnames[] = { |
8f514ab4 | 14062 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14063 | }; |
14064 | ||
8f514ab4 | 14065 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14066 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14067 | if (!SWIG_IsOK(res1)) { | |
14068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14069 | } | |
14070 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14071 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14072 | if (!SWIG_IsOK(ecode2)) { | |
14073 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14074 | } | |
14075 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14076 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14077 | if (!SWIG_IsOK(ecode3)) { | |
14078 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14079 | } | |
14080 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14081 | if (obj3) { |
14082 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14083 | if (!SWIG_IsOK(res4)) { | |
14084 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14085 | } | |
14086 | if (!argp4) { | |
14087 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14088 | } | |
14089 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14090 | } |
8f514ab4 RD |
14091 | if (obj4) { |
14092 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14093 | if (!SWIG_IsOK(res5)) { | |
14094 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14095 | } | |
14096 | if (!argp5) { | |
14097 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14098 | } | |
14099 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14100 | } |
10044bf1 RD |
14101 | { |
14102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14103 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14104 | wxPyEndAllowThreads(__tstate); | |
14105 | if (PyErr_Occurred()) SWIG_fail; | |
14106 | } | |
14107 | resultobj = SWIG_Py_Void(); | |
14108 | return resultobj; | |
14109 | fail: | |
14110 | return NULL; | |
14111 | } | |
14112 | ||
14113 | ||
14114 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14115 | PyObject *resultobj = 0; | |
14116 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14117 | size_t result; | |
14118 | void *argp1 = 0 ; | |
14119 | int res1 = 0 ; | |
14120 | PyObject *swig_obj[1] ; | |
14121 | ||
14122 | if (!args) SWIG_fail; | |
14123 | swig_obj[0] = args; | |
14124 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14125 | if (!SWIG_IsOK(res1)) { | |
14126 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14127 | } | |
14128 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14129 | { | |
14130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14131 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14132 | wxPyEndAllowThreads(__tstate); | |
14133 | if (PyErr_Occurred()) SWIG_fail; | |
14134 | } | |
14135 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14136 | return resultobj; | |
14137 | fail: | |
14138 | return NULL; | |
14139 | } | |
14140 | ||
14141 | ||
14142 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14143 | PyObject *resultobj = 0; | |
14144 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14145 | size_t arg2 ; | |
14146 | void *argp1 = 0 ; | |
14147 | int res1 = 0 ; | |
14148 | size_t val2 ; | |
14149 | int ecode2 = 0 ; | |
14150 | PyObject * obj0 = 0 ; | |
14151 | PyObject * obj1 = 0 ; | |
14152 | char * kwnames[] = { | |
14153 | (char *) "self",(char *) "offset", NULL | |
14154 | }; | |
14155 | ||
14156 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14157 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14158 | if (!SWIG_IsOK(res1)) { | |
14159 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14160 | } | |
14161 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14162 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14163 | if (!SWIG_IsOK(ecode2)) { | |
14164 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14165 | } | |
14166 | arg2 = static_cast< size_t >(val2); | |
14167 | { | |
14168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14169 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14170 | wxPyEndAllowThreads(__tstate); |
14171 | if (PyErr_Occurred()) SWIG_fail; | |
14172 | } | |
14173 | resultobj = SWIG_Py_Void(); | |
14174 | return resultobj; | |
14175 | fail: | |
14176 | return NULL; | |
14177 | } | |
14178 | ||
14179 | ||
14180 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14181 | PyObject *obj; | |
14182 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14183 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14184 | return SWIG_Py_Void(); | |
14185 | } | |
14186 | ||
14187 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14188 | return SWIG_Python_InitShadowInstance(args); | |
14189 | } | |
14190 | ||
14191 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14192 | PyObject *resultobj = 0; | |
14193 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14194 | int arg2 = (int) wxID_ANY ; | |
14195 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14196 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14197 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14198 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14199 | long arg5 = (long) 0 ; | |
14200 | wxAuiTabCtrl *result = 0 ; | |
14201 | void *argp1 = 0 ; | |
14202 | int res1 = 0 ; | |
14203 | int val2 ; | |
14204 | int ecode2 = 0 ; | |
14205 | wxPoint temp3 ; | |
14206 | wxSize temp4 ; | |
14207 | long val5 ; | |
14208 | int ecode5 = 0 ; | |
14209 | PyObject * obj0 = 0 ; | |
14210 | PyObject * obj1 = 0 ; | |
14211 | PyObject * obj2 = 0 ; | |
14212 | PyObject * obj3 = 0 ; | |
14213 | PyObject * obj4 = 0 ; | |
14214 | char * kwnames[] = { | |
14215 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14216 | }; | |
14217 | ||
14218 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14219 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14220 | if (!SWIG_IsOK(res1)) { | |
14221 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14222 | } | |
14223 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14224 | if (obj1) { | |
14225 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14226 | if (!SWIG_IsOK(ecode2)) { | |
14227 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14228 | } | |
14229 | arg2 = static_cast< int >(val2); | |
14230 | } | |
14231 | if (obj2) { | |
14232 | { | |
14233 | arg3 = &temp3; | |
14234 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14235 | } | |
14236 | } | |
14237 | if (obj3) { | |
14238 | { | |
14239 | arg4 = &temp4; | |
14240 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14241 | } | |
14242 | } | |
14243 | if (obj4) { | |
14244 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14245 | if (!SWIG_IsOK(ecode5)) { | |
14246 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14247 | } | |
14248 | arg5 = static_cast< long >(val5); | |
14249 | } | |
14250 | { | |
14251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14252 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14253 | wxPyEndAllowThreads(__tstate); | |
14254 | if (PyErr_Occurred()) SWIG_fail; | |
14255 | } | |
14256 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14257 | return resultobj; | |
14258 | fail: | |
14259 | return NULL; | |
14260 | } | |
14261 | ||
14262 | ||
580080c5 RD |
14263 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14264 | PyObject *resultobj = 0; | |
14265 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14266 | void *argp1 = 0 ; | |
14267 | int res1 = 0 ; | |
14268 | PyObject *swig_obj[1] ; | |
14269 | ||
14270 | if (!args) SWIG_fail; | |
14271 | swig_obj[0] = args; | |
14272 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14273 | if (!SWIG_IsOK(res1)) { | |
14274 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14275 | } | |
14276 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14277 | { | |
14278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14279 | delete arg1; | |
14280 | ||
14281 | wxPyEndAllowThreads(__tstate); | |
14282 | if (PyErr_Occurred()) SWIG_fail; | |
14283 | } | |
14284 | resultobj = SWIG_Py_Void(); | |
14285 | return resultobj; | |
14286 | fail: | |
14287 | return NULL; | |
14288 | } | |
14289 | ||
14290 | ||
10044bf1 RD |
14291 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14292 | PyObject *obj; | |
14293 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14294 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14295 | return SWIG_Py_Void(); | |
14296 | } | |
14297 | ||
14298 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14299 | return SWIG_Python_InitShadowInstance(args); | |
14300 | } | |
14301 | ||
5eb8189c | 14302 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14303 | PyObject *resultobj = 0; |
5eb8189c | 14304 | wxAuiNotebook *result = 0 ; |
10044bf1 | 14305 | |
5eb8189c | 14306 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
14307 | { |
14308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14309 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
14310 | wxPyEndAllowThreads(__tstate); |
14311 | if (PyErr_Occurred()) SWIG_fail; | |
14312 | } | |
5eb8189c | 14313 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
14314 | return resultobj; |
14315 | fail: | |
14316 | return NULL; | |
14317 | } | |
14318 | ||
14319 | ||
5eb8189c | 14320 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14321 | PyObject *resultobj = 0; |
14322 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14323 | int arg2 = (int) wxID_ANY ; | |
14324 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14325 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14326 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14327 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
14328 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
14329 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
14330 | void *argp1 = 0 ; |
14331 | int res1 = 0 ; | |
14332 | int val2 ; | |
14333 | int ecode2 = 0 ; | |
14334 | wxPoint temp3 ; | |
14335 | wxSize temp4 ; | |
14336 | long val5 ; | |
14337 | int ecode5 = 0 ; | |
14338 | PyObject * obj0 = 0 ; | |
14339 | PyObject * obj1 = 0 ; | |
14340 | PyObject * obj2 = 0 ; | |
14341 | PyObject * obj3 = 0 ; | |
14342 | PyObject * obj4 = 0 ; | |
14343 | char * kwnames[] = { | |
14344 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14345 | }; | |
14346 | ||
5eb8189c | 14347 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14348 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14349 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 14350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14351 | } |
14352 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14353 | if (obj1) { | |
14354 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14355 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14356 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
14357 | } |
14358 | arg2 = static_cast< int >(val2); | |
14359 | } | |
14360 | if (obj2) { | |
14361 | { | |
14362 | arg3 = &temp3; | |
14363 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14364 | } | |
14365 | } | |
14366 | if (obj3) { | |
14367 | { | |
14368 | arg4 = &temp4; | |
14369 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14370 | } | |
14371 | } | |
14372 | if (obj4) { | |
14373 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14374 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14375 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
14376 | } |
14377 | arg5 = static_cast< long >(val5); | |
14378 | } | |
14379 | { | |
14380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
14381 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
14382 | wxPyEndAllowThreads(__tstate); | |
14383 | if (PyErr_Occurred()) SWIG_fail; | |
14384 | } | |
14385 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
14386 | return resultobj; | |
14387 | fail: | |
14388 | return NULL; | |
14389 | } | |
14390 | ||
14391 | ||
14392 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14393 | PyObject *resultobj = 0; | |
14394 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
14395 | void *argp1 = 0 ; | |
14396 | int res1 = 0 ; | |
14397 | PyObject *swig_obj[1] ; | |
14398 | ||
14399 | if (!args) SWIG_fail; | |
14400 | swig_obj[0] = args; | |
14401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
14402 | if (!SWIG_IsOK(res1)) { | |
14403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
14404 | } | |
14405 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
14406 | { | |
14407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14408 | delete arg1; | |
14409 | ||
10044bf1 RD |
14410 | wxPyEndAllowThreads(__tstate); |
14411 | if (PyErr_Occurred()) SWIG_fail; | |
14412 | } | |
5eb8189c | 14413 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
14414 | return resultobj; |
14415 | fail: | |
14416 | return NULL; | |
14417 | } | |
14418 | ||
14419 | ||
5eb8189c | 14420 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14421 | PyObject *resultobj = 0; |
5eb8189c | 14422 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14423 | wxWindow *arg2 = (wxWindow *) 0 ; |
14424 | int arg3 = (int) wxID_ANY ; | |
14425 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14426 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14427 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14428 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14429 | long arg6 = (long) 0 ; | |
14430 | bool result; | |
14431 | void *argp1 = 0 ; | |
14432 | int res1 = 0 ; | |
14433 | void *argp2 = 0 ; | |
14434 | int res2 = 0 ; | |
14435 | int val3 ; | |
14436 | int ecode3 = 0 ; | |
14437 | wxPoint temp4 ; | |
14438 | wxSize temp5 ; | |
14439 | long val6 ; | |
14440 | int ecode6 = 0 ; | |
14441 | PyObject * obj0 = 0 ; | |
14442 | PyObject * obj1 = 0 ; | |
14443 | PyObject * obj2 = 0 ; | |
14444 | PyObject * obj3 = 0 ; | |
14445 | PyObject * obj4 = 0 ; | |
14446 | PyObject * obj5 = 0 ; | |
14447 | char * kwnames[] = { | |
14448 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14449 | }; | |
14450 | ||
5eb8189c RD |
14451 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14452 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14453 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14455 | } |
5eb8189c | 14456 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14457 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14458 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14459 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14460 | } |
14461 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14462 | if (obj2) { | |
14463 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14464 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 14465 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
14466 | } |
14467 | arg3 = static_cast< int >(val3); | |
14468 | } | |
14469 | if (obj3) { | |
14470 | { | |
14471 | arg4 = &temp4; | |
14472 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14473 | } | |
14474 | } | |
14475 | if (obj4) { | |
14476 | { | |
14477 | arg5 = &temp5; | |
14478 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14479 | } | |
14480 | } | |
14481 | if (obj5) { | |
14482 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
14483 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 14484 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
14485 | } |
14486 | arg6 = static_cast< long >(val6); | |
14487 | } | |
14488 | { | |
14489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14490 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
14491 | wxPyEndAllowThreads(__tstate); | |
14492 | if (PyErr_Occurred()) SWIG_fail; | |
14493 | } | |
14494 | { | |
14495 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14496 | } | |
14497 | return resultobj; | |
14498 | fail: | |
14499 | return NULL; | |
14500 | } | |
14501 | ||
14502 | ||
5eb8189c | 14503 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14504 | PyObject *resultobj = 0; |
5eb8189c | 14505 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14506 | wxWindow *arg2 = (wxWindow *) 0 ; |
14507 | wxString *arg3 = 0 ; | |
14508 | bool arg4 = (bool) false ; | |
14509 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14510 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
14511 | bool result; | |
14512 | void *argp1 = 0 ; | |
14513 | int res1 = 0 ; | |
14514 | void *argp2 = 0 ; | |
14515 | int res2 = 0 ; | |
14516 | bool temp3 = false ; | |
14517 | bool val4 ; | |
14518 | int ecode4 = 0 ; | |
14519 | void *argp5 = 0 ; | |
14520 | int res5 = 0 ; | |
14521 | PyObject * obj0 = 0 ; | |
14522 | PyObject * obj1 = 0 ; | |
14523 | PyObject * obj2 = 0 ; | |
14524 | PyObject * obj3 = 0 ; | |
14525 | PyObject * obj4 = 0 ; | |
14526 | char * kwnames[] = { | |
14527 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14528 | }; | |
14529 | ||
5eb8189c RD |
14530 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14531 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14532 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14534 | } |
5eb8189c | 14535 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14536 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14537 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14538 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14539 | } |
14540 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14541 | { | |
14542 | arg3 = wxString_in_helper(obj2); | |
14543 | if (arg3 == NULL) SWIG_fail; | |
14544 | temp3 = true; | |
14545 | } | |
14546 | if (obj3) { | |
14547 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
14548 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 14549 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
14550 | } |
14551 | arg4 = static_cast< bool >(val4); | |
14552 | } | |
14553 | if (obj4) { | |
14554 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14555 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 14556 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14557 | } |
14558 | if (!argp5) { | |
5eb8189c | 14559 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14560 | } |
14561 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
14562 | } | |
14563 | { | |
14564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14565 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
14566 | wxPyEndAllowThreads(__tstate); | |
14567 | if (PyErr_Occurred()) SWIG_fail; | |
14568 | } | |
14569 | { | |
14570 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14571 | } | |
14572 | { | |
14573 | if (temp3) | |
14574 | delete arg3; | |
14575 | } | |
14576 | return resultobj; | |
14577 | fail: | |
14578 | { | |
14579 | if (temp3) | |
14580 | delete arg3; | |
14581 | } | |
14582 | return NULL; | |
14583 | } | |
14584 | ||
14585 | ||
5eb8189c | 14586 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14587 | PyObject *resultobj = 0; |
5eb8189c | 14588 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14589 | size_t arg2 ; |
14590 | wxWindow *arg3 = (wxWindow *) 0 ; | |
14591 | wxString *arg4 = 0 ; | |
14592 | bool arg5 = (bool) false ; | |
14593 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
14594 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
14595 | bool result; | |
14596 | void *argp1 = 0 ; | |
14597 | int res1 = 0 ; | |
14598 | size_t val2 ; | |
14599 | int ecode2 = 0 ; | |
14600 | void *argp3 = 0 ; | |
14601 | int res3 = 0 ; | |
14602 | bool temp4 = false ; | |
14603 | bool val5 ; | |
14604 | int ecode5 = 0 ; | |
14605 | void *argp6 = 0 ; | |
14606 | int res6 = 0 ; | |
14607 | PyObject * obj0 = 0 ; | |
14608 | PyObject * obj1 = 0 ; | |
14609 | PyObject * obj2 = 0 ; | |
14610 | PyObject * obj3 = 0 ; | |
14611 | PyObject * obj4 = 0 ; | |
14612 | PyObject * obj5 = 0 ; | |
14613 | char * kwnames[] = { | |
14614 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14615 | }; | |
14616 | ||
5eb8189c RD |
14617 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14618 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14619 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14620 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14621 | } |
5eb8189c | 14622 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14623 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14624 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14625 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14626 | } |
14627 | arg2 = static_cast< size_t >(val2); | |
14628 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14629 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 14630 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14631 | } |
14632 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
14633 | { | |
14634 | arg4 = wxString_in_helper(obj3); | |
14635 | if (arg4 == NULL) SWIG_fail; | |
14636 | temp4 = true; | |
14637 | } | |
14638 | if (obj4) { | |
14639 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
14640 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14641 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
14642 | } |
14643 | arg5 = static_cast< bool >(val5); | |
14644 | } | |
14645 | if (obj5) { | |
14646 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14647 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 14648 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14649 | } |
14650 | if (!argp6) { | |
5eb8189c | 14651 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14652 | } |
14653 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
14654 | } | |
14655 | { | |
14656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14657 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
14658 | wxPyEndAllowThreads(__tstate); | |
14659 | if (PyErr_Occurred()) SWIG_fail; | |
14660 | } | |
14661 | { | |
14662 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14663 | } | |
14664 | { | |
14665 | if (temp4) | |
14666 | delete arg4; | |
14667 | } | |
14668 | return resultobj; | |
14669 | fail: | |
14670 | { | |
14671 | if (temp4) | |
14672 | delete arg4; | |
14673 | } | |
14674 | return NULL; | |
14675 | } | |
14676 | ||
14677 | ||
5eb8189c | 14678 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14679 | PyObject *resultobj = 0; |
5eb8189c | 14680 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14681 | size_t arg2 ; |
14682 | bool result; | |
14683 | void *argp1 = 0 ; | |
14684 | int res1 = 0 ; | |
14685 | size_t val2 ; | |
14686 | int ecode2 = 0 ; | |
14687 | PyObject * obj0 = 0 ; | |
14688 | PyObject * obj1 = 0 ; | |
14689 | char * kwnames[] = { | |
14690 | (char *) "self",(char *) "page", NULL | |
14691 | }; | |
14692 | ||
5eb8189c RD |
14693 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
14694 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14695 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14696 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14697 | } |
5eb8189c | 14698 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14699 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14700 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14701 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14702 | } |
14703 | arg2 = static_cast< size_t >(val2); | |
14704 | { | |
14705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14706 | result = (bool)(arg1)->DeletePage(arg2); | |
14707 | wxPyEndAllowThreads(__tstate); | |
14708 | if (PyErr_Occurred()) SWIG_fail; | |
14709 | } | |
14710 | { | |
14711 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14712 | } | |
14713 | return resultobj; | |
14714 | fail: | |
14715 | return NULL; | |
14716 | } | |
14717 | ||
14718 | ||
5eb8189c | 14719 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14720 | PyObject *resultobj = 0; |
5eb8189c | 14721 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14722 | size_t arg2 ; |
14723 | bool result; | |
14724 | void *argp1 = 0 ; | |
14725 | int res1 = 0 ; | |
14726 | size_t val2 ; | |
14727 | int ecode2 = 0 ; | |
14728 | PyObject * obj0 = 0 ; | |
14729 | PyObject * obj1 = 0 ; | |
14730 | char * kwnames[] = { | |
14731 | (char *) "self",(char *) "page", NULL | |
14732 | }; | |
14733 | ||
5eb8189c RD |
14734 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
14735 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14736 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14737 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14738 | } |
5eb8189c | 14739 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14740 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14741 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14742 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14743 | } |
14744 | arg2 = static_cast< size_t >(val2); | |
14745 | { | |
14746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14747 | result = (bool)(arg1)->RemovePage(arg2); | |
14748 | wxPyEndAllowThreads(__tstate); | |
14749 | if (PyErr_Occurred()) SWIG_fail; | |
14750 | } | |
14751 | { | |
14752 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14753 | } | |
14754 | return resultobj; | |
14755 | fail: | |
14756 | return NULL; | |
14757 | } | |
14758 | ||
14759 | ||
5eb8189c | 14760 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14761 | PyObject *resultobj = 0; |
5eb8189c | 14762 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14763 | size_t arg2 ; |
14764 | wxString *arg3 = 0 ; | |
14765 | bool result; | |
14766 | void *argp1 = 0 ; | |
14767 | int res1 = 0 ; | |
14768 | size_t val2 ; | |
14769 | int ecode2 = 0 ; | |
14770 | bool temp3 = false ; | |
14771 | PyObject * obj0 = 0 ; | |
14772 | PyObject * obj1 = 0 ; | |
14773 | PyObject * obj2 = 0 ; | |
14774 | char * kwnames[] = { | |
14775 | (char *) "self",(char *) "page",(char *) "text", NULL | |
14776 | }; | |
14777 | ||
5eb8189c RD |
14778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
14779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14780 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14782 | } |
5eb8189c | 14783 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14784 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14785 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14786 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14787 | } |
14788 | arg2 = static_cast< size_t >(val2); | |
14789 | { | |
14790 | arg3 = wxString_in_helper(obj2); | |
14791 | if (arg3 == NULL) SWIG_fail; | |
14792 | temp3 = true; | |
14793 | } | |
14794 | { | |
14795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14796 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
14797 | wxPyEndAllowThreads(__tstate); | |
14798 | if (PyErr_Occurred()) SWIG_fail; | |
14799 | } | |
14800 | { | |
14801 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14802 | } | |
14803 | { | |
14804 | if (temp3) | |
14805 | delete arg3; | |
14806 | } | |
14807 | return resultobj; | |
14808 | fail: | |
14809 | { | |
14810 | if (temp3) | |
14811 | delete arg3; | |
14812 | } | |
14813 | return NULL; | |
14814 | } | |
14815 | ||
14816 | ||
5eb8189c | 14817 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14818 | PyObject *resultobj = 0; |
5eb8189c | 14819 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14820 | size_t arg2 ; |
14821 | size_t result; | |
14822 | void *argp1 = 0 ; | |
14823 | int res1 = 0 ; | |
14824 | size_t val2 ; | |
14825 | int ecode2 = 0 ; | |
14826 | PyObject * obj0 = 0 ; | |
14827 | PyObject * obj1 = 0 ; | |
14828 | char * kwnames[] = { | |
14829 | (char *) "self",(char *) "new_page", NULL | |
14830 | }; | |
14831 | ||
5eb8189c RD |
14832 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
14833 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14834 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14836 | } |
5eb8189c | 14837 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14838 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14839 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14840 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14841 | } |
14842 | arg2 = static_cast< size_t >(val2); | |
14843 | { | |
14844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14845 | result = (size_t)(arg1)->SetSelection(arg2); | |
14846 | wxPyEndAllowThreads(__tstate); | |
14847 | if (PyErr_Occurred()) SWIG_fail; | |
14848 | } | |
14849 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14850 | return resultobj; | |
14851 | fail: | |
14852 | return NULL; | |
14853 | } | |
14854 | ||
14855 | ||
5eb8189c | 14856 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14857 | PyObject *resultobj = 0; |
5eb8189c | 14858 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14859 | int result; |
14860 | void *argp1 = 0 ; | |
14861 | int res1 = 0 ; | |
14862 | PyObject *swig_obj[1] ; | |
14863 | ||
14864 | if (!args) SWIG_fail; | |
14865 | swig_obj[0] = args; | |
5eb8189c | 14866 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 14867 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 14869 | } |
5eb8189c | 14870 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14871 | { |
14872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14873 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
10044bf1 RD |
14874 | wxPyEndAllowThreads(__tstate); |
14875 | if (PyErr_Occurred()) SWIG_fail; | |
14876 | } | |
14877 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14878 | return resultobj; | |
14879 | fail: | |
14880 | return NULL; | |
14881 | } | |
14882 | ||
14883 | ||
5eb8189c | 14884 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14885 | PyObject *resultobj = 0; |
5eb8189c | 14886 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14887 | size_t result; |
14888 | void *argp1 = 0 ; | |
14889 | int res1 = 0 ; | |
14890 | PyObject *swig_obj[1] ; | |
14891 | ||
14892 | if (!args) SWIG_fail; | |
14893 | swig_obj[0] = args; | |
5eb8189c | 14894 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 14895 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 14897 | } |
5eb8189c | 14898 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14899 | { |
14900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14901 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
14902 | wxPyEndAllowThreads(__tstate); |
14903 | if (PyErr_Occurred()) SWIG_fail; | |
14904 | } | |
14905 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14906 | return resultobj; | |
14907 | fail: | |
14908 | return NULL; | |
14909 | } | |
14910 | ||
14911 | ||
5eb8189c | 14912 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14913 | PyObject *resultobj = 0; |
5eb8189c | 14914 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14915 | size_t arg2 ; |
14916 | wxWindow *result = 0 ; | |
14917 | void *argp1 = 0 ; | |
14918 | int res1 = 0 ; | |
14919 | size_t val2 ; | |
14920 | int ecode2 = 0 ; | |
14921 | PyObject * obj0 = 0 ; | |
14922 | PyObject * obj1 = 0 ; | |
14923 | char * kwnames[] = { | |
14924 | (char *) "self",(char *) "page_idx", NULL | |
14925 | }; | |
14926 | ||
5eb8189c RD |
14927 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
14928 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14929 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14930 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 14931 | } |
5eb8189c | 14932 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14933 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14934 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14935 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14936 | } |
14937 | arg2 = static_cast< size_t >(val2); | |
14938 | { | |
14939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14940 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
10044bf1 RD |
14941 | wxPyEndAllowThreads(__tstate); |
14942 | if (PyErr_Occurred()) SWIG_fail; | |
14943 | } | |
14944 | { | |
14945 | resultobj = wxPyMake_wxObject(result, 0); | |
14946 | } | |
14947 | return resultobj; | |
14948 | fail: | |
14949 | return NULL; | |
14950 | } | |
14951 | ||
14952 | ||
5eb8189c | 14953 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 14954 | PyObject *resultobj = 0; |
5eb8189c RD |
14955 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
14956 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
5c8c7dd3 RD |
14957 | void *argp1 = 0 ; |
14958 | int res1 = 0 ; | |
14959 | void *argp2 = 0 ; | |
14960 | int res2 = 0 ; | |
14961 | PyObject * obj0 = 0 ; | |
14962 | PyObject * obj1 = 0 ; | |
14963 | char * kwnames[] = { | |
14964 | (char *) "self",(char *) "art", NULL | |
14965 | }; | |
14966 | ||
5eb8189c RD |
14967 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
14968 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 14969 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 14971 | } |
5eb8189c RD |
14972 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
14973 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 14974 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 14975 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 14976 | } |
5eb8189c | 14977 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
14978 | { |
14979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14980 | (arg1)->SetArtProvider(arg2); | |
14981 | wxPyEndAllowThreads(__tstate); | |
14982 | if (PyErr_Occurred()) SWIG_fail; | |
14983 | } | |
14984 | resultobj = SWIG_Py_Void(); | |
14985 | return resultobj; | |
14986 | fail: | |
14987 | return NULL; | |
14988 | } | |
14989 | ||
14990 | ||
5eb8189c | 14991 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 14992 | PyObject *resultobj = 0; |
5eb8189c RD |
14993 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
14994 | wxAuiTabArt *result = 0 ; | |
5c8c7dd3 RD |
14995 | void *argp1 = 0 ; |
14996 | int res1 = 0 ; | |
14997 | PyObject *swig_obj[1] ; | |
14998 | ||
14999 | if (!args) SWIG_fail; | |
15000 | swig_obj[0] = args; | |
5eb8189c | 15001 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15002 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15004 | } |
5eb8189c | 15005 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
5c8c7dd3 RD |
15006 | { |
15007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15008 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); |
5c8c7dd3 RD |
15009 | wxPyEndAllowThreads(__tstate); |
15010 | if (PyErr_Occurred()) SWIG_fail; | |
15011 | } | |
5eb8189c | 15012 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 RD |
15013 | return resultobj; |
15014 | fail: | |
15015 | return NULL; | |
15016 | } | |
15017 | ||
15018 | ||
5eb8189c | 15019 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15020 | PyObject *obj; |
15021 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15022 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
15023 | return SWIG_Py_Void(); |
15024 | } | |
15025 | ||
5eb8189c | 15026 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15027 | return SWIG_Python_InitShadowInstance(args); |
15028 | } | |
15029 | ||
5eb8189c | 15030 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15031 | PyObject *obj; |
15032 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15033 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
15034 | return SWIG_Py_Void(); |
15035 | } | |
15036 | ||
5eb8189c | 15037 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
15038 | PyObject *obj; |
15039 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15040 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
15041 | return SWIG_Py_Void(); |
15042 | } | |
15043 | ||
10044bf1 | 15044 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
15045 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
15046 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
15047 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15048 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
15049 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
15050 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
15051 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
15052 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
15053 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
15054 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
15055 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
15056 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
15057 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
15058 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
15059 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
15060 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
15061 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
15062 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
15063 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
15064 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
15065 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
15066 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
15067 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
15068 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
15069 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
15070 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
15071 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15072 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15073 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15074 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
15075 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
15076 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
15077 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
15078 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
15079 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
15080 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15081 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15082 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15083 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15084 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15085 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15086 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15087 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15088 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15089 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
15090 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15091 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
15092 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
15093 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
15094 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15095 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15096 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
15097 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
15098 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15099 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15100 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15101 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15102 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15103 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15104 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15105 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15106 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15107 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15108 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15109 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15110 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15111 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15112 | { (char *)"AuiPaneInfo_SaveHidden", (PyCFunction)_wrap_AuiPaneInfo_SaveHidden, METH_O, NULL}, | |
15113 | { (char *)"AuiPaneInfo_RestoreHidden", (PyCFunction)_wrap_AuiPaneInfo_RestoreHidden, METH_O, NULL}, | |
15114 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15115 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
15116 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
15117 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
15118 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
15119 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15120 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15121 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
15122 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
15123 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
15124 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
15125 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
15126 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
15127 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
15128 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
15129 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
15130 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
15131 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15132 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
15133 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15134 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
15135 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
15136 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
15137 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
15138 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
15139 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
15140 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
15141 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
15142 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
15143 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
15144 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
15145 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
15146 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
15147 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
15148 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
15149 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
15150 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
15151 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
15152 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
15153 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
15154 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
15155 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
15156 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
15157 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15158 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
15159 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
15160 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15161 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
15162 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15163 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
15164 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15165 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
15166 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15167 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15168 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
15169 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
15170 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
15171 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
15172 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15173 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15174 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15175 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15176 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15177 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
15178 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15179 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15180 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
15181 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15182 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
15183 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15184 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15185 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15186 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
15187 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15188 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15189 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
15190 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
15191 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15192 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
15193 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15194 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15195 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15196 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
15197 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
15198 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
15199 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15200 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
15201 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15202 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
15203 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
15204 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
15205 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
15206 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
15207 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
15208 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
15209 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
15210 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
15211 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
15212 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
15213 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
15214 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
15215 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
15216 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
15217 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
15218 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
15219 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
15220 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
15221 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
15222 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
15223 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15224 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
15225 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15226 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
15227 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
15228 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
15229 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
15230 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
15231 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
15232 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
15233 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
15234 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
15235 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
15236 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
15237 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
15238 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
15239 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
15240 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
15241 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
15242 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
15243 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
15244 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
15245 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
15246 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
15247 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
15248 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
15249 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
15250 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
15251 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
15252 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
15253 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
15254 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
15255 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
15256 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
15257 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
15258 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
15259 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
15260 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
15261 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
15262 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
15263 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
15264 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
15265 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15266 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15267 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15268 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15269 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15270 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15271 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15272 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15273 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15274 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15275 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15276 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15277 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15278 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15279 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15280 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
15281 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
15282 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
15283 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15284 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
15285 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15286 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
15287 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
15288 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, | |
15289 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15290 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15291 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15292 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15293 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15294 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
26c4d26f | 15295 | { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
15296 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
15297 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15298 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
15299 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
15300 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
15301 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
15302 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
15303 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
15304 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15305 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15306 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
15307 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
15308 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
15309 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
15310 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
15311 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
15312 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
15313 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
15314 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
15315 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
15316 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
15317 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
15318 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
15319 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
15320 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
15321 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
15322 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
15323 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
15324 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
15325 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
15326 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
15327 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
15328 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
15329 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
15330 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
10044bf1 RD |
15331 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
15332 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
15333 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
15334 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
10044bf1 RD |
15335 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
15336 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
15337 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
15338 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
15339 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
15340 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
15341 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
15342 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
15343 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
10044bf1 RD |
15344 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15345 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15346 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
15347 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15348 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
15349 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
15350 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
15351 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15352 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15353 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15354 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15355 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
15356 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15357 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
15358 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15359 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15360 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15361 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
15362 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 15363 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 15364 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
15365 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
15366 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 RD |
15367 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
15368 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
15369 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15370 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
10044bf1 RD |
15371 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
15372 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
15373 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
15374 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15375 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
15376 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15377 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15378 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15379 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15380 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15381 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15382 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15383 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
15384 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
15385 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15386 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15387 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
15388 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, | |
15389 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
15390 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15391 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
15392 | { NULL, NULL, 0, NULL } |
15393 | }; | |
15394 | ||
15395 | ||
15396 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
15397 | ||
5eb8189c RD |
15398 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
15399 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
15400 | } |
15401 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
15402 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
15403 | } | |
15404 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
15405 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15406 | } | |
15407 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
15408 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
15409 | } | |
15410 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
15411 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15412 | } | |
15413 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
15414 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
15415 | } | |
15416 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
15417 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15418 | } | |
15419 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
15420 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
15421 | } | |
5eb8189c RD |
15422 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
15423 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
15424 | } | |
15425 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { | |
15426 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
15427 | } | |
10044bf1 RD |
15428 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
15429 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15430 | } | |
15431 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
15432 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15433 | } | |
27e45892 RD |
15434 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
15435 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
15436 | } | |
15437 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
15438 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
15439 | } | |
15440 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
15441 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
15442 | } | |
15443 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
15444 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
15445 | } | |
15446 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
15447 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
15448 | } | |
15449 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
15450 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
15451 | } | |
15452 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
15453 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
15454 | } | |
15455 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
15456 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
15457 | } | |
15458 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
15459 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
15460 | } | |
5eb8189c RD |
15461 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
15462 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
15463 | } |
15464 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
15465 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
15466 | } | |
15467 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15468 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
15469 | } | |
15470 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15471 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15472 | } | |
15473 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15474 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
15475 | } | |
15476 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
15477 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15478 | } | |
15479 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
15480 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15481 | } | |
15482 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
15483 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
15484 | } | |
15485 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
15486 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
15487 | } | |
15488 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
15489 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
15490 | } | |
15491 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
15492 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
15493 | } | |
15494 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
15495 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15496 | } | |
15497 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
15498 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
15499 | } | |
15500 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
15501 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
15502 | } | |
15503 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
15504 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
15505 | } | |
15506 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15507 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15508 | } | |
15509 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
15510 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
15511 | } | |
15512 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
15513 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
15514 | } | |
15515 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
15516 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
15517 | } | |
15518 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
15519 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
15520 | } | |
15521 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
15522 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15523 | } | |
15524 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
15525 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
15526 | } | |
15527 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
15528 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15529 | } | |
15530 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
15531 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15532 | } | |
15533 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
15534 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
15535 | } | |
15536 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
15537 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
15538 | } | |
15539 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
15540 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
15541 | } | |
15542 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
15543 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
15544 | } | |
15545 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
15546 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
15547 | } | |
15548 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
15549 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
15550 | } | |
15551 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
15552 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
15553 | } | |
15554 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
15555 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
15556 | } | |
15557 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
15558 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
15559 | } | |
15560 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
15561 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
15562 | } | |
15563 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
15564 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
15565 | } | |
15566 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
15567 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
15568 | } | |
15569 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
15570 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
15571 | } | |
15572 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
15573 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
15574 | } | |
15575 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
15576 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
15577 | } | |
15578 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
15579 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15580 | } | |
15581 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
15582 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15583 | } | |
15584 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
15585 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15586 | } | |
15587 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
15588 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
15589 | } | |
15590 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15591 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15592 | } | |
15593 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
15594 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
15595 | } | |
15596 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
15597 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15598 | } | |
27e45892 RD |
15599 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
15600 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
15601 | } | |
15602 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
15603 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
15604 | } | |
5eb8189c RD |
15605 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
15606 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 15607 | } |
27e45892 RD |
15608 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
15609 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
15610 | } | |
15611 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
15612 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
15613 | } | |
10044bf1 RD |
15614 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
15615 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
15616 | } | |
27e45892 RD |
15617 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
15618 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
15619 | } | |
15620 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
15621 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15622 | } | |
15623 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
15624 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
15625 | } | |
15626 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
15627 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
15628 | } | |
15629 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
15630 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
15631 | } | |
5eb8189c RD |
15632 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
15633 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
15634 | } | |
27e45892 RD |
15635 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
15636 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15637 | } | |
10044bf1 RD |
15638 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
15639 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
15640 | } | |
15641 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
15642 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
15643 | } | |
15644 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
15645 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
15646 | } | |
15647 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
15648 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
15649 | } | |
15650 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
15651 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
15652 | } | |
15653 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
15654 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
15655 | } | |
15656 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
15657 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
15658 | } | |
15659 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
15660 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
15661 | } | |
15662 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
15663 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
15664 | } | |
15665 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
15666 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
15667 | } | |
15668 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
15669 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
15670 | } | |
15671 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
15672 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
15673 | } | |
15674 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
15675 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
15676 | } | |
15677 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
15678 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
15679 | } | |
15680 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
15681 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
15682 | } | |
15683 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
15684 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
15685 | } | |
15686 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
15687 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
15688 | } | |
15689 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
15690 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
15691 | } | |
15692 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
15693 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
15694 | } | |
15695 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
15696 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
15697 | } | |
15698 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
15699 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
15700 | } | |
15701 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
15702 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
15703 | } | |
15704 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
15705 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
15706 | } | |
15707 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
15708 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
15709 | } | |
15710 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
15711 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
15712 | } | |
15713 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
15714 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
15715 | } | |
15716 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
15717 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
15718 | } | |
15719 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
15720 | return (void *)((wxWindow **) ((wxControl **) x)); | |
15721 | } | |
15722 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
15723 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
15724 | } | |
15725 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
15726 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
15727 | } | |
15728 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
15729 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
15730 | } | |
15731 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
15732 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
15733 | } | |
15734 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
15735 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
15736 | } | |
15737 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
15738 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
15739 | } | |
10044bf1 RD |
15740 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
15741 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
15742 | } | |
15743 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
15744 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
15745 | } | |
5eb8189c RD |
15746 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
15747 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
10044bf1 RD |
15748 | } |
15749 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15750 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
15751 | } | |
15752 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15753 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
15754 | } | |
15755 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
15756 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
15757 | } | |
15758 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
15759 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
15760 | } | |
15761 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
15762 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
15763 | } | |
15764 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
15765 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
15766 | } | |
15767 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
15768 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
15769 | } | |
15770 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
15771 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
15772 | } | |
5eb8189c RD |
15773 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
15774 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
15775 | } | |
10044bf1 RD |
15776 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
15777 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
15778 | } | |
15779 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
15780 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15781 | } | |
15782 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
15783 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
15784 | } | |
5eb8189c RD |
15785 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
15786 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 15787 | } |
27e45892 RD |
15788 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
15789 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15790 | } | |
15791 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15792 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15793 | } | |
15794 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15795 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15796 | } | |
15797 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15798 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15799 | } | |
15800 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15801 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15802 | } | |
15803 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15804 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15805 | } | |
15806 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
15807 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15808 | } | |
5eb8189c RD |
15809 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
15810 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
15811 | } |
15812 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
15813 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15814 | } | |
15815 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15816 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15817 | } | |
15818 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
15819 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15820 | } | |
15821 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15822 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15823 | } | |
0f83f5da RD |
15824 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
15825 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
15826 | } | |
27e45892 RD |
15827 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
15828 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15829 | } | |
15830 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
15831 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
15832 | } | |
10044bf1 RD |
15833 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
15834 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15835 | } | |
27e45892 RD |
15836 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15837 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15838 | } | |
15839 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15840 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15841 | } | |
15842 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15843 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15844 | } | |
15845 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15846 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15847 | } | |
15848 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15849 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15850 | } | |
15851 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15852 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15853 | } | |
15854 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15855 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15856 | } | |
15857 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15858 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15859 | } | |
15860 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
15861 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
15862 | } | |
27e45892 RD |
15863 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
15864 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15865 | } | |
15866 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15867 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15868 | } | |
0f83f5da RD |
15869 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
15870 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
15871 | } | |
27e45892 RD |
15872 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
15873 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15874 | } | |
15875 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15876 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15877 | } | |
15878 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15879 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15880 | } | |
15881 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15882 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15883 | } | |
15884 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15885 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15886 | } | |
15887 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15888 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15889 | } | |
15890 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15891 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15892 | } | |
15893 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15894 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15895 | } | |
15896 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
15897 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
15898 | } | |
15899 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
15900 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
15901 | } | |
15902 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
15903 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15904 | } | |
15905 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15906 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15907 | } | |
15908 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15909 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15910 | } | |
15911 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15912 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15913 | } | |
15914 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15915 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15916 | } | |
15917 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15918 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15919 | } | |
15920 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15921 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15922 | } | |
15923 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
15924 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
15925 | } | |
15926 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
15927 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
15928 | } | |
15929 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
15930 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
15931 | } | |
15932 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
15933 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15934 | } | |
15935 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
15936 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15937 | } | |
27e45892 RD |
15938 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
15939 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
15940 | } | |
0f83f5da RD |
15941 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
15942 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
15943 | } | |
27e45892 RD |
15944 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
15945 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
15946 | } | |
15947 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
15948 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
15949 | } | |
15950 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
15951 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15952 | } | |
15953 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
15954 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
15955 | } | |
15956 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
15957 | return (void *)((wxObject *) ((wxSizer *) x)); | |
15958 | } | |
15959 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
15960 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15961 | } | |
15962 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
15963 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15964 | } | |
15965 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
15966 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
15967 | } | |
15968 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
15969 | return (void *)((wxObject *) ((wxEvent *) x)); | |
15970 | } | |
15971 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
15972 | return (void *)((wxObject *) ((wxFontData *) x)); | |
15973 | } | |
15974 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
15975 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
15976 | } | |
15977 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
15978 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15979 | } | |
15980 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
15981 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
15982 | } | |
15983 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
15984 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
15985 | } | |
15986 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
15987 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
15988 | } | |
15989 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
15990 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
15991 | } | |
15992 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
15993 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15994 | } | |
10044bf1 RD |
15995 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
15996 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
15997 | } | |
27e45892 RD |
15998 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
15999 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16000 | } | |
16001 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
16002 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
16003 | } | |
16004 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
16005 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
16006 | } | |
16007 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
16008 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16009 | } | |
16010 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
16011 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16012 | } | |
16013 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
16014 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16015 | } | |
16016 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
16017 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16018 | } | |
16019 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
16020 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16021 | } | |
16022 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
16023 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
16024 | } | |
16025 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
16026 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
16027 | } | |
16028 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
16029 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16030 | } | |
5eb8189c RD |
16031 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
16032 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16033 | } |
16034 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
16035 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
16036 | } | |
16037 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
16038 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
16039 | } | |
5eb8189c RD |
16040 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
16041 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16042 | } | |
27e45892 RD |
16043 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
16044 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
16045 | } | |
16046 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
16047 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16048 | } | |
5eb8189c RD |
16049 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
16050 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16051 | } |
27e45892 RD |
16052 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
16053 | return (void *)((wxObject *) ((wxColourData *) x)); | |
16054 | } | |
16055 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
16056 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
16057 | } | |
16058 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
16059 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16060 | } | |
16061 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
16062 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
16063 | } | |
16064 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
16065 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16066 | } | |
16067 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
16068 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16069 | } | |
16070 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
16071 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16072 | } | |
16073 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
16074 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16075 | } | |
16076 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
16077 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16078 | } | |
16079 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
16080 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16081 | } | |
16082 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
16083 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16084 | } | |
16085 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
16086 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16087 | } | |
16088 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
16089 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16090 | } | |
16091 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
16092 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16093 | } | |
16094 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
16095 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
16096 | } | |
16097 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
16098 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
16099 | } | |
16100 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
16101 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
16102 | } | |
16103 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
16104 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
16105 | } | |
16106 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
16107 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
16108 | } | |
16109 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
16110 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16111 | } | |
16112 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
16113 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16114 | } | |
16115 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
16116 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
16117 | } | |
16118 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
16119 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
16120 | } | |
16121 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
16122 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
16123 | } | |
16124 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
16125 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
16126 | } | |
16127 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
16128 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
16129 | } | |
16130 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
16131 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
16132 | } | |
16133 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
16134 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
16135 | } | |
16136 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
16137 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
16138 | } | |
16139 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
16140 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
16141 | } | |
16142 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
16143 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
16144 | } | |
16145 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
16146 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
16147 | } | |
16148 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
16149 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
16150 | } | |
16151 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
16152 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
16153 | } | |
16154 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
16155 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
16156 | } | |
16157 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
16158 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
16159 | } | |
16160 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
16161 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
16162 | } | |
16163 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
16164 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
16165 | } | |
16166 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
16167 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
16168 | } | |
580080c5 RD |
16169 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
16170 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
16171 | } | |
27e45892 RD |
16172 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
16173 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
16174 | } | |
0f83f5da RD |
16175 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
16176 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16177 | } | |
27e45892 RD |
16178 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
16179 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16180 | } | |
16181 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
16182 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16183 | } | |
16184 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
16185 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16186 | } | |
27e45892 RD |
16187 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
16188 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
16189 | } | |
580080c5 RD |
16190 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
16191 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16192 | } | |
27e45892 RD |
16193 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
16194 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16195 | } | |
16196 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
16197 | return (void *)((wxObject *) ((wxImage *) x)); | |
16198 | } | |
16199 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
16200 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16201 | } | |
16202 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
16203 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
16204 | } | |
16205 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
16206 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
16207 | } | |
16208 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
16209 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16210 | } | |
27e45892 RD |
16211 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
16212 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
16213 | } | |
5eb8189c RD |
16214 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
16215 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
16216 | } |
16217 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
16218 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16219 | } | |
10044bf1 RD |
16220 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
16221 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16222 | } | |
27e45892 RD |
16223 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
16224 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16225 | } | |
16226 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
16227 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16228 | } | |
16229 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
16230 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
16231 | } | |
16232 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
16233 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
16234 | } | |
16235 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
16236 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
16237 | } | |
16238 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
16239 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
16240 | } | |
16241 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
16242 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16243 | } | |
16244 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
16245 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
16246 | } | |
16247 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
16248 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
16249 | } | |
16250 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
16251 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
16252 | } | |
16253 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
16254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
16255 | } | |
16256 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
16257 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16258 | } | |
16259 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
16260 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
16261 | } | |
16262 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
16263 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16264 | } | |
16265 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
16266 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16267 | } | |
16268 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
16269 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16270 | } | |
16271 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
16272 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
16273 | } | |
16274 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
16275 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16276 | } | |
16277 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
16278 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
16279 | } | |
16280 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
16281 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
16282 | } | |
16283 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
16284 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
16285 | } | |
16286 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
16287 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
16288 | } | |
16289 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
16290 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16291 | } | |
16292 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
16293 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16294 | } | |
16295 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
16296 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16297 | } | |
16298 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
16299 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16300 | } | |
16301 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
16302 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
16303 | } | |
16304 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
16305 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
16306 | } | |
16307 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
16308 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
16309 | } | |
16310 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
16311 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16312 | } | |
16313 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
16314 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
16315 | } | |
16316 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
16317 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
16318 | } | |
16319 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
16320 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
16321 | } | |
16322 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
16323 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
16324 | } | |
16325 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
16326 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
16327 | } | |
16328 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
16329 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16330 | } | |
16331 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
16332 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
16333 | } | |
16334 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
16335 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16336 | } | |
16337 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
16338 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16339 | } | |
16340 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
16341 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
16342 | } | |
16343 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
16344 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
16345 | } | |
16346 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
16347 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16348 | } | |
16349 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
16350 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16351 | } | |
16352 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
16353 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
16354 | } | |
16355 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
16356 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
16357 | } | |
16358 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
16359 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
16360 | } | |
16361 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
16362 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
16363 | } | |
16364 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
16365 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16366 | } | |
16367 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
16368 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16369 | } | |
16370 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
16371 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16372 | } | |
16373 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
16374 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
16375 | } | |
16376 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
16377 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
16378 | } | |
16379 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
16380 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
16381 | } | |
16382 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
16383 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
16384 | } | |
16385 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
16386 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16387 | } | |
16388 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
16389 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16390 | } | |
16391 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
16392 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16393 | } | |
16394 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
16395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16396 | } | |
16397 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
16398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16399 | } | |
16400 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
16401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16402 | } | |
16403 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
16404 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16405 | } | |
16406 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
16407 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16408 | } | |
16409 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
16410 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16411 | } | |
16412 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
16413 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
16414 | } | |
16415 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
16416 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
16417 | } | |
16418 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16419 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16420 | } | |
16421 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
16422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16423 | } | |
16424 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
16425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16426 | } | |
16427 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
16428 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
16429 | } | |
16430 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
16431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16432 | } | |
16433 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
16434 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
16435 | } | |
16436 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
16437 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
16438 | } | |
16439 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
16440 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
16441 | } | |
16442 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
16443 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
16444 | } | |
16445 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16447 | } | |
16448 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
16449 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
16450 | } | |
16451 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
16452 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
16453 | } | |
16454 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16456 | } | |
16457 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
16458 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
16459 | } | |
16460 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
16461 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16462 | } | |
16463 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
16464 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16465 | } | |
16466 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
16467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16468 | } | |
16469 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
16470 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
16471 | } | |
16472 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
16473 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16474 | } | |
16475 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
16476 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
16477 | } | |
16478 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
16479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16480 | } | |
27e45892 RD |
16481 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
16482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16483 | } | |
16484 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
16485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16486 | } | |
5eb8189c RD |
16487 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
16488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16489 | } |
27e45892 RD |
16490 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
16491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16492 | } | |
16493 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
16494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16495 | } | |
16496 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
16497 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
16498 | } | |
10044bf1 RD |
16499 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
16500 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
16501 | } | |
27e45892 RD |
16502 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
16503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16504 | } | |
16505 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
16506 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16507 | } | |
16508 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
16509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16510 | } | |
16511 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
16512 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16513 | } | |
16514 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
16515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16516 | } | |
5eb8189c RD |
16517 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
16518 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16519 | } | |
27e45892 RD |
16520 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
16521 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16522 | } | |
5eb8189c RD |
16523 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
16524 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 16525 | } |
10044bf1 RD |
16526 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
16527 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
16528 | } | |
27e45892 RD |
16529 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
16530 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
16531 | } | |
16532 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
16533 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
16534 | } | |
16535 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
16536 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
16537 | } | |
16538 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
16539 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
16540 | } | |
16541 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
16542 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16543 | } | |
27e45892 RD |
16544 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
16545 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
16546 | } | |
16547 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
16548 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
16549 | } | |
16550 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
16551 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
16552 | } | |
5eb8189c RD |
16553 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
16554 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16555 | } | |
10044bf1 RD |
16556 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
16557 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
16558 | } | |
16559 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
16560 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16561 | } | |
16562 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
16563 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16564 | } | |
16565 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
16566 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16567 | } | |
16568 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
16569 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
16570 | } | |
16571 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
16572 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16573 | } | |
16574 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
16575 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16576 | } | |
16577 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
16578 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16579 | } | |
16580 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
16581 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16582 | } | |
16583 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
16584 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
16585 | } | |
16586 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
16587 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16588 | } | |
16589 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
16590 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16591 | } | |
16592 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
16593 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16594 | } | |
16595 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
16596 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16597 | } | |
5eb8189c RD |
16598 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
16599 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 16600 | } |
5eb8189c RD |
16601 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
16602 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 16603 | } |
5eb8189c RD |
16604 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
16605 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
5c8c7dd3 | 16606 | } |
5eb8189c RD |
16607 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
16608 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 16609 | } |
27e45892 RD |
16610 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
16611 | 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 | 16612 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
16613 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
16614 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
16615 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16616 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
16617 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16618 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16619 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16620 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16621 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16622 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16623 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16624 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16625 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16626 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16627 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16628 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
16629 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16630 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16631 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16632 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16633 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16634 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16635 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16636 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
16637 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16638 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16639 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16640 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16641 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16642 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
16643 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16644 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
16645 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
16646 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
16647 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
16648 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
10044bf1 RD |
16649 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
16650 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 16651 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
16652 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
16653 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16654 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
16655 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
16656 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16657 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16658 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16659 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 16660 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 16661 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
16662 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
16663 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
16664 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
26c4d26f | 16665 | static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
16666 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
16667 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
16668 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
16669 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
16670 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
16671 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
16672 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
16673 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
16674 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16675 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
16676 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
16677 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16678 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
16679 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
16680 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
16681 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
16682 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16683 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
16684 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
16685 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
16686 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16687 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
16688 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16689 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
16690 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
16691 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
16692 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
16693 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
16694 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
16695 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
16696 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
16697 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
16698 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
16699 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
16700 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
16701 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
16702 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
16703 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 16704 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16705 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
16706 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16707 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
16708 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
16709 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
16710 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
16711 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 16712 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 16713 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 16714 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
16715 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
16716 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16717 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
16718 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
16719 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
16720 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
16721 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
16722 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16723 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
16724 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16725 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
16726 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
16727 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
16728 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
16729 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
16730 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16731 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
16732 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16733 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
16734 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
16735 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
16736 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
16737 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
16738 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16739 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16740 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16741 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
16742 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
16743 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16744 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16745 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16746 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16747 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16748 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16749 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16750 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16751 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16752 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; | |
16753 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16754 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16755 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16756 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16757 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16758 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16759 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16760 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16761 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16762 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16763 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16764 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16765 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16766 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16767 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
16768 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16769 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
16770 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
16771 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
16772 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
16773 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
16774 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16775 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
16776 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16777 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16778 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16779 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
16780 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
16781 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16782 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
16783 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 16784 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 16785 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16786 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
16787 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
16788 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
16789 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
16790 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
16791 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
16792 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
16793 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
16794 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
16795 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
16796 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
16797 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
16798 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
16799 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
16800 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
16801 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
16802 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
16803 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16804 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
16805 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
16806 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
16807 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
16808 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 16809 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
16810 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
16811 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16812 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
16813 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
16814 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
16815 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
16816 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 16817 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
16818 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
16819 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
16820 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
16821 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
16822 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
16823 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
16824 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
16825 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
16826 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
16827 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
16828 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16829 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
16830 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16831 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
16832 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16833 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
16834 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
16835 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
16836 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
16837 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
16838 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
16839 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
16840 | ||
16841 | static swig_type_info *swig_type_initial[] = { | |
16842 | &_swigt__p_char, | |
16843 | &_swigt__p_form_ops_t, | |
16844 | &_swigt__p_int, | |
5eb8189c RD |
16845 | &_swigt__p_p_wxAuiFloatingFrame, |
16846 | &_swigt__p_p_wxAuiNotebook, | |
10044bf1 RD |
16847 | &_swigt__p_p_wxAuiTabContainerButton, |
16848 | &_swigt__p_p_wxAuiTabCtrl, | |
16849 | &_swigt__p_p_wxColourDialog, | |
16850 | &_swigt__p_p_wxControl, | |
16851 | &_swigt__p_p_wxControlWithItems, | |
16852 | &_swigt__p_p_wxDialog, | |
16853 | &_swigt__p_p_wxDirDialog, | |
16854 | &_swigt__p_p_wxFileDialog, | |
16855 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
16856 | &_swigt__p_p_wxFontDialog, |
16857 | &_swigt__p_p_wxFrame, | |
16858 | &_swigt__p_p_wxMDIChildFrame, | |
16859 | &_swigt__p_p_wxMDIClientWindow, | |
16860 | &_swigt__p_p_wxMDIParentFrame, | |
16861 | &_swigt__p_p_wxMenuBar, | |
16862 | &_swigt__p_p_wxMessageDialog, | |
16863 | &_swigt__p_p_wxMiniFrame, | |
16864 | &_swigt__p_p_wxMultiChoiceDialog, | |
16865 | &_swigt__p_p_wxNumberEntryDialog, | |
16866 | &_swigt__p_p_wxPanel, | |
16867 | &_swigt__p_p_wxPasswordEntryDialog, | |
16868 | &_swigt__p_p_wxPopupWindow, | |
16869 | &_swigt__p_p_wxPreviewCanvas, | |
16870 | &_swigt__p_p_wxPreviewControlBar, | |
16871 | &_swigt__p_p_wxPreviewFrame, | |
16872 | &_swigt__p_p_wxProgressDialog, | |
16873 | &_swigt__p_p_wxPyHtmlListBox, | |
16874 | &_swigt__p_p_wxPyPanel, | |
16875 | &_swigt__p_p_wxPyPopupTransientWindow, | |
16876 | &_swigt__p_p_wxPyPreviewControlBar, | |
16877 | &_swigt__p_p_wxPyPreviewFrame, | |
16878 | &_swigt__p_p_wxPyScrolledWindow, | |
16879 | &_swigt__p_p_wxPyVListBox, | |
16880 | &_swigt__p_p_wxPyVScrolledWindow, | |
16881 | &_swigt__p_p_wxPyWindow, | |
16882 | &_swigt__p_p_wxSashLayoutWindow, | |
16883 | &_swigt__p_p_wxSashWindow, | |
16884 | &_swigt__p_p_wxScrolledWindow, | |
16885 | &_swigt__p_p_wxSingleChoiceDialog, | |
16886 | &_swigt__p_p_wxSplashScreen, | |
16887 | &_swigt__p_p_wxSplashScreenWindow, | |
16888 | &_swigt__p_p_wxSplitterWindow, | |
16889 | &_swigt__p_p_wxStatusBar, | |
16890 | &_swigt__p_p_wxTextEntryDialog, | |
16891 | &_swigt__p_p_wxTipWindow, | |
16892 | &_swigt__p_p_wxTopLevelWindow, | |
16893 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
16894 | &_swigt__p_unsigned_char, |
16895 | &_swigt__p_unsigned_int, | |
16896 | &_swigt__p_unsigned_long, | |
16897 | &_swigt__p_wxANIHandler, | |
16898 | &_swigt__p_wxAcceleratorTable, | |
16899 | &_swigt__p_wxActivateEvent, | |
26c4d26f | 16900 | &_swigt__p_wxArrayString, |
5eb8189c RD |
16901 | &_swigt__p_wxAuiDefaultDockArt, |
16902 | &_swigt__p_wxAuiDefaultTabArt, | |
16903 | &_swigt__p_wxAuiDockArt, | |
16904 | &_swigt__p_wxAuiDockInfo, | |
16905 | &_swigt__p_wxAuiDockUIPart, | |
16906 | &_swigt__p_wxAuiFloatingFrame, | |
16907 | &_swigt__p_wxAuiManager, | |
16908 | &_swigt__p_wxAuiManagerEvent, | |
16909 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
16910 | &_swigt__p_wxAuiNotebookEvent, |
16911 | &_swigt__p_wxAuiNotebookPage, | |
16912 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
16913 | &_swigt__p_wxAuiPaneButton, |
16914 | &_swigt__p_wxAuiPaneButtonArray, | |
16915 | &_swigt__p_wxAuiPaneInfo, | |
16916 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
16917 | &_swigt__p_wxAuiTabArt, | |
10044bf1 RD |
16918 | &_swigt__p_wxAuiTabContainer, |
16919 | &_swigt__p_wxAuiTabContainerButton, | |
16920 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 16921 | &_swigt__p_wxBMPHandler, |
10044bf1 | 16922 | &_swigt__p_wxBitmap, |
27e45892 RD |
16923 | &_swigt__p_wxBoxSizer, |
16924 | &_swigt__p_wxCURHandler, | |
16925 | &_swigt__p_wxCalculateLayoutEvent, | |
16926 | &_swigt__p_wxChildFocusEvent, | |
16927 | &_swigt__p_wxClipboardTextEvent, | |
16928 | &_swigt__p_wxCloseEvent, | |
16929 | &_swigt__p_wxColor, | |
16930 | &_swigt__p_wxColour, | |
16931 | &_swigt__p_wxColourData, | |
16932 | &_swigt__p_wxColourDialog, | |
16933 | &_swigt__p_wxCommandEvent, | |
16934 | &_swigt__p_wxContextMenuEvent, | |
16935 | &_swigt__p_wxControl, | |
16936 | &_swigt__p_wxControlWithItems, | |
16937 | &_swigt__p_wxDC, | |
16938 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
16939 | &_swigt__p_wxDialog, |
16940 | &_swigt__p_wxDirDialog, | |
16941 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
16942 | &_swigt__p_wxDropFilesEvent, |
16943 | &_swigt__p_wxDuplexMode, | |
16944 | &_swigt__p_wxEraseEvent, | |
16945 | &_swigt__p_wxEvent, | |
16946 | &_swigt__p_wxEvtHandler, | |
16947 | &_swigt__p_wxFSFile, | |
16948 | &_swigt__p_wxFileDialog, | |
16949 | &_swigt__p_wxFileSystem, | |
16950 | &_swigt__p_wxFindDialogEvent, | |
16951 | &_swigt__p_wxFindReplaceData, | |
16952 | &_swigt__p_wxFindReplaceDialog, | |
16953 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
16954 | &_swigt__p_wxFocusEvent, |
16955 | &_swigt__p_wxFont, | |
16956 | &_swigt__p_wxFontData, | |
16957 | &_swigt__p_wxFontDialog, | |
16958 | &_swigt__p_wxFrame, | |
27e45892 RD |
16959 | &_swigt__p_wxGBSizerItem, |
16960 | &_swigt__p_wxGIFHandler, | |
16961 | &_swigt__p_wxGridBagSizer, | |
16962 | &_swigt__p_wxGridSizer, | |
16963 | &_swigt__p_wxICOHandler, | |
16964 | &_swigt__p_wxIconizeEvent, | |
16965 | &_swigt__p_wxIdleEvent, | |
16966 | &_swigt__p_wxImage, | |
16967 | &_swigt__p_wxImageHandler, | |
16968 | &_swigt__p_wxIndividualLayoutConstraint, | |
16969 | &_swigt__p_wxInitDialogEvent, | |
16970 | &_swigt__p_wxJPEGHandler, | |
16971 | &_swigt__p_wxKeyEvent, | |
16972 | &_swigt__p_wxLayoutAlgorithm, | |
16973 | &_swigt__p_wxLayoutConstraints, | |
16974 | &_swigt__p_wxMDIChildFrame, | |
16975 | &_swigt__p_wxMDIClientWindow, | |
16976 | &_swigt__p_wxMDIParentFrame, | |
16977 | &_swigt__p_wxMaximizeEvent, | |
16978 | &_swigt__p_wxMenu, | |
16979 | &_swigt__p_wxMenuBar, | |
16980 | &_swigt__p_wxMenuEvent, | |
16981 | &_swigt__p_wxMenuItem, | |
16982 | &_swigt__p_wxMessageDialog, | |
16983 | &_swigt__p_wxMiniFrame, | |
16984 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 16985 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
16986 | &_swigt__p_wxMouseEvent, |
16987 | &_swigt__p_wxMoveEvent, | |
16988 | &_swigt__p_wxMultiChoiceDialog, | |
16989 | &_swigt__p_wxNavigationKeyEvent, | |
16990 | &_swigt__p_wxNcPaintEvent, | |
16991 | &_swigt__p_wxNotifyEvent, | |
16992 | &_swigt__p_wxNumberEntryDialog, | |
16993 | &_swigt__p_wxObject, | |
16994 | &_swigt__p_wxPCXHandler, | |
16995 | &_swigt__p_wxPNGHandler, | |
16996 | &_swigt__p_wxPNMHandler, | |
16997 | &_swigt__p_wxPageSetupDialog, | |
16998 | &_swigt__p_wxPageSetupDialogData, | |
16999 | &_swigt__p_wxPaintEvent, | |
17000 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
17001 | &_swigt__p_wxPanel, |
17002 | &_swigt__p_wxPaperSize, | |
17003 | &_swigt__p_wxPasswordEntryDialog, | |
17004 | &_swigt__p_wxPoint, | |
17005 | &_swigt__p_wxPopupWindow, | |
17006 | &_swigt__p_wxPreviewCanvas, | |
17007 | &_swigt__p_wxPreviewControlBar, | |
17008 | &_swigt__p_wxPreviewFrame, | |
17009 | &_swigt__p_wxPrintData, | |
17010 | &_swigt__p_wxPrintDialog, | |
17011 | &_swigt__p_wxPrintDialogData, | |
17012 | &_swigt__p_wxPrintPreview, | |
17013 | &_swigt__p_wxPrinter, | |
17014 | &_swigt__p_wxProgressDialog, | |
17015 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
17016 | &_swigt__p_wxPyAuiDockArt, |
17017 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 17018 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
17019 | &_swigt__p_wxPyEvent, |
17020 | &_swigt__p_wxPyHtmlListBox, | |
17021 | &_swigt__p_wxPyImageHandler, | |
17022 | &_swigt__p_wxPyPanel, | |
17023 | &_swigt__p_wxPyPopupTransientWindow, | |
17024 | &_swigt__p_wxPyPreviewControlBar, | |
17025 | &_swigt__p_wxPyPreviewFrame, | |
17026 | &_swigt__p_wxPyPrintPreview, | |
17027 | &_swigt__p_wxPyPrintout, | |
17028 | &_swigt__p_wxPyScrolledWindow, | |
17029 | &_swigt__p_wxPySizer, | |
17030 | &_swigt__p_wxPyTaskBarIcon, | |
17031 | &_swigt__p_wxPyVListBox, | |
17032 | &_swigt__p_wxPyVScrolledWindow, | |
17033 | &_swigt__p_wxPyValidator, | |
17034 | &_swigt__p_wxPyWindow, | |
17035 | &_swigt__p_wxQueryLayoutInfoEvent, | |
17036 | &_swigt__p_wxQueryNewPaletteEvent, | |
17037 | &_swigt__p_wxRect, | |
17038 | &_swigt__p_wxSashEvent, | |
17039 | &_swigt__p_wxSashLayoutWindow, | |
17040 | &_swigt__p_wxSashWindow, | |
17041 | &_swigt__p_wxScrollEvent, | |
17042 | &_swigt__p_wxScrollWinEvent, | |
17043 | &_swigt__p_wxScrolledWindow, | |
17044 | &_swigt__p_wxSetCursorEvent, | |
17045 | &_swigt__p_wxShowEvent, | |
17046 | &_swigt__p_wxSingleChoiceDialog, | |
17047 | &_swigt__p_wxSize, | |
17048 | &_swigt__p_wxSizeEvent, | |
17049 | &_swigt__p_wxSizer, | |
17050 | &_swigt__p_wxSizerItem, | |
17051 | &_swigt__p_wxSplashScreen, | |
17052 | &_swigt__p_wxSplashScreenWindow, | |
17053 | &_swigt__p_wxSplitterEvent, | |
17054 | &_swigt__p_wxSplitterWindow, | |
17055 | &_swigt__p_wxStaticBoxSizer, | |
17056 | &_swigt__p_wxStatusBar, | |
17057 | &_swigt__p_wxStdDialogButtonSizer, | |
17058 | &_swigt__p_wxString, | |
17059 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 17060 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
17061 | &_swigt__p_wxTIFFHandler, |
17062 | &_swigt__p_wxTaskBarIconEvent, | |
17063 | &_swigt__p_wxTextEntryDialog, | |
17064 | &_swigt__p_wxTipWindow, | |
17065 | &_swigt__p_wxTopLevelWindow, | |
17066 | &_swigt__p_wxUpdateUIEvent, | |
17067 | &_swigt__p_wxValidator, | |
17068 | &_swigt__p_wxWindow, | |
17069 | &_swigt__p_wxWindowCreateEvent, | |
17070 | &_swigt__p_wxWindowDestroyEvent, | |
17071 | &_swigt__p_wxXPMHandler, | |
17072 | }; | |
17073 | ||
17074 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
17075 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
17076 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17077 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
17078 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
17079 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17080 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17081 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17082 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17083 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17084 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17085 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17086 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17087 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17088 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17089 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17090 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17091 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17092 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17093 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17094 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17095 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17096 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17097 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17098 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17099 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17100 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17101 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17102 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17103 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17104 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17105 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17106 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17107 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
17108 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17109 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
17110 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17111 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17112 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
17113 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17114 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17115 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
17116 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17117 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17118 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17119 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17120 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17121 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17122 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17123 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 17124 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c | 17125 | 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 |
17126 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
17127 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
17128 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
26c4d26f | 17129 | static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17130 | 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}}; |
17131 | 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}}; | |
17132 | 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}}; | |
17133 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17134 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
17135 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17136 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
17137 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17138 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17139 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17140 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
17141 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17142 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
17143 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17144 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17145 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17146 | 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}}; | |
10044bf1 RD |
17147 | 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}}; |
17148 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
17149 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17150 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17151 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
17152 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17153 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17154 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17155 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17156 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17157 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17158 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17159 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17160 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17161 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17162 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17163 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17164 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17165 | 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}}; | |
17166 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17167 | 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 | 17168 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17169 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17170 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17171 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17172 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17173 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17174 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 17175 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17176 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 17177 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17178 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17179 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17180 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17181 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17182 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17183 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17184 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17185 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17186 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17187 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17188 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17189 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17190 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17191 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17192 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17193 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17194 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17195 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17196 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17197 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17198 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17199 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17200 | 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 |
17201 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
17202 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17203 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17204 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17205 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17206 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17207 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17208 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17209 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17210 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17211 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17212 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17213 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17214 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17215 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17216 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17217 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17218 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17219 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17220 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17221 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17222 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17223 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17224 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17225 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17226 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17227 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17228 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17229 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17230 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
17231 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17232 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
17233 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
17234 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17235 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17236 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17237 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17238 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
17239 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17240 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17241 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17242 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17243 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
17244 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17245 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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 | 17246 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17247 | static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_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}}; |
17248 | 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}}; | |
10044bf1 | 17249 | 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 |
17250 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
17251 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
17252 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
17253 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17254 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17255 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17256 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
17257 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
17258 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17259 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17260 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
17261 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
17262 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
17263 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17264 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
17265 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
17266 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17267 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17268 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17269 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17270 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17271 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17272 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17273 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17274 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17275 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17276 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17277 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17278 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17279 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 17280 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17281 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
17282 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
17283 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
17284 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
17285 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17286 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17287 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17288 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17289 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
17290 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
17291 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17292 | 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_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17293 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
17294 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17295 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
17296 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17297 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
17298 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
17299 | 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}}; | |
17300 | 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}}; | |
17301 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17302 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_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_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; |
17303 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_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 |
17304 | |
17305 | static swig_cast_info *swig_cast_initial[] = { | |
17306 | _swigc__p_char, | |
17307 | _swigc__p_form_ops_t, | |
17308 | _swigc__p_int, | |
5eb8189c RD |
17309 | _swigc__p_p_wxAuiFloatingFrame, |
17310 | _swigc__p_p_wxAuiNotebook, | |
10044bf1 RD |
17311 | _swigc__p_p_wxAuiTabContainerButton, |
17312 | _swigc__p_p_wxAuiTabCtrl, | |
17313 | _swigc__p_p_wxColourDialog, | |
17314 | _swigc__p_p_wxControl, | |
17315 | _swigc__p_p_wxControlWithItems, | |
17316 | _swigc__p_p_wxDialog, | |
17317 | _swigc__p_p_wxDirDialog, | |
17318 | _swigc__p_p_wxFileDialog, | |
17319 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
17320 | _swigc__p_p_wxFontDialog, |
17321 | _swigc__p_p_wxFrame, | |
17322 | _swigc__p_p_wxMDIChildFrame, | |
17323 | _swigc__p_p_wxMDIClientWindow, | |
17324 | _swigc__p_p_wxMDIParentFrame, | |
17325 | _swigc__p_p_wxMenuBar, | |
17326 | _swigc__p_p_wxMessageDialog, | |
17327 | _swigc__p_p_wxMiniFrame, | |
17328 | _swigc__p_p_wxMultiChoiceDialog, | |
17329 | _swigc__p_p_wxNumberEntryDialog, | |
17330 | _swigc__p_p_wxPanel, | |
17331 | _swigc__p_p_wxPasswordEntryDialog, | |
17332 | _swigc__p_p_wxPopupWindow, | |
17333 | _swigc__p_p_wxPreviewCanvas, | |
17334 | _swigc__p_p_wxPreviewControlBar, | |
17335 | _swigc__p_p_wxPreviewFrame, | |
17336 | _swigc__p_p_wxProgressDialog, | |
17337 | _swigc__p_p_wxPyHtmlListBox, | |
17338 | _swigc__p_p_wxPyPanel, | |
17339 | _swigc__p_p_wxPyPopupTransientWindow, | |
17340 | _swigc__p_p_wxPyPreviewControlBar, | |
17341 | _swigc__p_p_wxPyPreviewFrame, | |
17342 | _swigc__p_p_wxPyScrolledWindow, | |
17343 | _swigc__p_p_wxPyVListBox, | |
17344 | _swigc__p_p_wxPyVScrolledWindow, | |
17345 | _swigc__p_p_wxPyWindow, | |
17346 | _swigc__p_p_wxSashLayoutWindow, | |
17347 | _swigc__p_p_wxSashWindow, | |
17348 | _swigc__p_p_wxScrolledWindow, | |
17349 | _swigc__p_p_wxSingleChoiceDialog, | |
17350 | _swigc__p_p_wxSplashScreen, | |
17351 | _swigc__p_p_wxSplashScreenWindow, | |
17352 | _swigc__p_p_wxSplitterWindow, | |
17353 | _swigc__p_p_wxStatusBar, | |
17354 | _swigc__p_p_wxTextEntryDialog, | |
17355 | _swigc__p_p_wxTipWindow, | |
17356 | _swigc__p_p_wxTopLevelWindow, | |
17357 | _swigc__p_p_wxWindow, | |
27e45892 RD |
17358 | _swigc__p_unsigned_char, |
17359 | _swigc__p_unsigned_int, | |
17360 | _swigc__p_unsigned_long, | |
17361 | _swigc__p_wxANIHandler, | |
17362 | _swigc__p_wxAcceleratorTable, | |
17363 | _swigc__p_wxActivateEvent, | |
26c4d26f | 17364 | _swigc__p_wxArrayString, |
5eb8189c RD |
17365 | _swigc__p_wxAuiDefaultDockArt, |
17366 | _swigc__p_wxAuiDefaultTabArt, | |
17367 | _swigc__p_wxAuiDockArt, | |
17368 | _swigc__p_wxAuiDockInfo, | |
17369 | _swigc__p_wxAuiDockUIPart, | |
17370 | _swigc__p_wxAuiFloatingFrame, | |
17371 | _swigc__p_wxAuiManager, | |
17372 | _swigc__p_wxAuiManagerEvent, | |
17373 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
17374 | _swigc__p_wxAuiNotebookEvent, |
17375 | _swigc__p_wxAuiNotebookPage, | |
17376 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17377 | _swigc__p_wxAuiPaneButton, |
17378 | _swigc__p_wxAuiPaneButtonArray, | |
17379 | _swigc__p_wxAuiPaneInfo, | |
17380 | _swigc__p_wxAuiPaneInfoPtrArray, | |
17381 | _swigc__p_wxAuiTabArt, | |
10044bf1 RD |
17382 | _swigc__p_wxAuiTabContainer, |
17383 | _swigc__p_wxAuiTabContainerButton, | |
17384 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 17385 | _swigc__p_wxBMPHandler, |
10044bf1 | 17386 | _swigc__p_wxBitmap, |
27e45892 RD |
17387 | _swigc__p_wxBoxSizer, |
17388 | _swigc__p_wxCURHandler, | |
17389 | _swigc__p_wxCalculateLayoutEvent, | |
17390 | _swigc__p_wxChildFocusEvent, | |
17391 | _swigc__p_wxClipboardTextEvent, | |
17392 | _swigc__p_wxCloseEvent, | |
17393 | _swigc__p_wxColor, | |
17394 | _swigc__p_wxColour, | |
17395 | _swigc__p_wxColourData, | |
17396 | _swigc__p_wxColourDialog, | |
17397 | _swigc__p_wxCommandEvent, | |
17398 | _swigc__p_wxContextMenuEvent, | |
17399 | _swigc__p_wxControl, | |
17400 | _swigc__p_wxControlWithItems, | |
17401 | _swigc__p_wxDC, | |
17402 | _swigc__p_wxDateEvent, | |
27e45892 RD |
17403 | _swigc__p_wxDialog, |
17404 | _swigc__p_wxDirDialog, | |
17405 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
17406 | _swigc__p_wxDropFilesEvent, |
17407 | _swigc__p_wxDuplexMode, | |
17408 | _swigc__p_wxEraseEvent, | |
17409 | _swigc__p_wxEvent, | |
17410 | _swigc__p_wxEvtHandler, | |
17411 | _swigc__p_wxFSFile, | |
17412 | _swigc__p_wxFileDialog, | |
17413 | _swigc__p_wxFileSystem, | |
17414 | _swigc__p_wxFindDialogEvent, | |
17415 | _swigc__p_wxFindReplaceData, | |
17416 | _swigc__p_wxFindReplaceDialog, | |
17417 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
17418 | _swigc__p_wxFocusEvent, |
17419 | _swigc__p_wxFont, | |
17420 | _swigc__p_wxFontData, | |
17421 | _swigc__p_wxFontDialog, | |
17422 | _swigc__p_wxFrame, | |
27e45892 RD |
17423 | _swigc__p_wxGBSizerItem, |
17424 | _swigc__p_wxGIFHandler, | |
17425 | _swigc__p_wxGridBagSizer, | |
17426 | _swigc__p_wxGridSizer, | |
17427 | _swigc__p_wxICOHandler, | |
17428 | _swigc__p_wxIconizeEvent, | |
17429 | _swigc__p_wxIdleEvent, | |
17430 | _swigc__p_wxImage, | |
17431 | _swigc__p_wxImageHandler, | |
17432 | _swigc__p_wxIndividualLayoutConstraint, | |
17433 | _swigc__p_wxInitDialogEvent, | |
17434 | _swigc__p_wxJPEGHandler, | |
17435 | _swigc__p_wxKeyEvent, | |
17436 | _swigc__p_wxLayoutAlgorithm, | |
17437 | _swigc__p_wxLayoutConstraints, | |
17438 | _swigc__p_wxMDIChildFrame, | |
17439 | _swigc__p_wxMDIClientWindow, | |
17440 | _swigc__p_wxMDIParentFrame, | |
17441 | _swigc__p_wxMaximizeEvent, | |
17442 | _swigc__p_wxMenu, | |
17443 | _swigc__p_wxMenuBar, | |
17444 | _swigc__p_wxMenuEvent, | |
17445 | _swigc__p_wxMenuItem, | |
17446 | _swigc__p_wxMessageDialog, | |
17447 | _swigc__p_wxMiniFrame, | |
17448 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 17449 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
17450 | _swigc__p_wxMouseEvent, |
17451 | _swigc__p_wxMoveEvent, | |
17452 | _swigc__p_wxMultiChoiceDialog, | |
17453 | _swigc__p_wxNavigationKeyEvent, | |
17454 | _swigc__p_wxNcPaintEvent, | |
17455 | _swigc__p_wxNotifyEvent, | |
17456 | _swigc__p_wxNumberEntryDialog, | |
17457 | _swigc__p_wxObject, | |
17458 | _swigc__p_wxPCXHandler, | |
17459 | _swigc__p_wxPNGHandler, | |
17460 | _swigc__p_wxPNMHandler, | |
17461 | _swigc__p_wxPageSetupDialog, | |
17462 | _swigc__p_wxPageSetupDialogData, | |
17463 | _swigc__p_wxPaintEvent, | |
17464 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
17465 | _swigc__p_wxPanel, |
17466 | _swigc__p_wxPaperSize, | |
17467 | _swigc__p_wxPasswordEntryDialog, | |
17468 | _swigc__p_wxPoint, | |
17469 | _swigc__p_wxPopupWindow, | |
17470 | _swigc__p_wxPreviewCanvas, | |
17471 | _swigc__p_wxPreviewControlBar, | |
17472 | _swigc__p_wxPreviewFrame, | |
17473 | _swigc__p_wxPrintData, | |
17474 | _swigc__p_wxPrintDialog, | |
17475 | _swigc__p_wxPrintDialogData, | |
17476 | _swigc__p_wxPrintPreview, | |
17477 | _swigc__p_wxPrinter, | |
17478 | _swigc__p_wxProgressDialog, | |
17479 | _swigc__p_wxPyApp, | |
5eb8189c RD |
17480 | _swigc__p_wxPyAuiDockArt, |
17481 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 17482 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
17483 | _swigc__p_wxPyEvent, |
17484 | _swigc__p_wxPyHtmlListBox, | |
17485 | _swigc__p_wxPyImageHandler, | |
17486 | _swigc__p_wxPyPanel, | |
17487 | _swigc__p_wxPyPopupTransientWindow, | |
17488 | _swigc__p_wxPyPreviewControlBar, | |
17489 | _swigc__p_wxPyPreviewFrame, | |
17490 | _swigc__p_wxPyPrintPreview, | |
17491 | _swigc__p_wxPyPrintout, | |
17492 | _swigc__p_wxPyScrolledWindow, | |
17493 | _swigc__p_wxPySizer, | |
17494 | _swigc__p_wxPyTaskBarIcon, | |
17495 | _swigc__p_wxPyVListBox, | |
17496 | _swigc__p_wxPyVScrolledWindow, | |
17497 | _swigc__p_wxPyValidator, | |
17498 | _swigc__p_wxPyWindow, | |
17499 | _swigc__p_wxQueryLayoutInfoEvent, | |
17500 | _swigc__p_wxQueryNewPaletteEvent, | |
17501 | _swigc__p_wxRect, | |
17502 | _swigc__p_wxSashEvent, | |
17503 | _swigc__p_wxSashLayoutWindow, | |
17504 | _swigc__p_wxSashWindow, | |
17505 | _swigc__p_wxScrollEvent, | |
17506 | _swigc__p_wxScrollWinEvent, | |
17507 | _swigc__p_wxScrolledWindow, | |
17508 | _swigc__p_wxSetCursorEvent, | |
17509 | _swigc__p_wxShowEvent, | |
17510 | _swigc__p_wxSingleChoiceDialog, | |
17511 | _swigc__p_wxSize, | |
17512 | _swigc__p_wxSizeEvent, | |
17513 | _swigc__p_wxSizer, | |
17514 | _swigc__p_wxSizerItem, | |
17515 | _swigc__p_wxSplashScreen, | |
17516 | _swigc__p_wxSplashScreenWindow, | |
17517 | _swigc__p_wxSplitterEvent, | |
17518 | _swigc__p_wxSplitterWindow, | |
17519 | _swigc__p_wxStaticBoxSizer, | |
17520 | _swigc__p_wxStatusBar, | |
17521 | _swigc__p_wxStdDialogButtonSizer, | |
17522 | _swigc__p_wxString, | |
17523 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 17524 | _swigc__p_wxTGAHandler, |
27e45892 RD |
17525 | _swigc__p_wxTIFFHandler, |
17526 | _swigc__p_wxTaskBarIconEvent, | |
17527 | _swigc__p_wxTextEntryDialog, | |
17528 | _swigc__p_wxTipWindow, | |
17529 | _swigc__p_wxTopLevelWindow, | |
17530 | _swigc__p_wxUpdateUIEvent, | |
17531 | _swigc__p_wxValidator, | |
17532 | _swigc__p_wxWindow, | |
17533 | _swigc__p_wxWindowCreateEvent, | |
17534 | _swigc__p_wxWindowDestroyEvent, | |
17535 | _swigc__p_wxXPMHandler, | |
17536 | }; | |
17537 | ||
17538 | ||
17539 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
17540 | ||
17541 | static swig_const_info swig_const_table[] = { | |
17542 | {0, 0, 0, 0.0, 0, 0}}; | |
17543 | ||
17544 | #ifdef __cplusplus | |
17545 | } | |
17546 | #endif | |
17547 | /* ----------------------------------------------------------------------------- | |
17548 | * Type initialization: | |
17549 | * This problem is tough by the requirement that no dynamic | |
17550 | * memory is used. Also, since swig_type_info structures store pointers to | |
17551 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
17552 | * to swig_type_info structures, we need some lookup code at initialization. | |
17553 | * The idea is that swig generates all the structures that are needed. | |
17554 | * The runtime then collects these partially filled structures. | |
17555 | * The SWIG_InitializeModule function takes these initial arrays out of | |
17556 | * swig_module, and does all the lookup, filling in the swig_module.types | |
17557 | * array with the correct data and linking the correct swig_cast_info | |
17558 | * structures together. | |
17559 | * | |
17560 | * The generated swig_type_info structures are assigned staticly to an initial | |
17561 | * array. We just loop though that array, and handle each type individually. | |
17562 | * First we lookup if this type has been already loaded, and if so, use the | |
17563 | * loaded structure instead of the generated one. Then we have to fill in the | |
17564 | * cast linked list. The cast data is initially stored in something like a | |
17565 | * two-dimensional array. Each row corresponds to a type (there are the same | |
17566 | * number of rows as there are in the swig_type_initial array). Each entry in | |
17567 | * a column is one of the swig_cast_info structures for that type. | |
17568 | * The cast_initial array is actually an array of arrays, because each row has | |
17569 | * a variable number of columns. So to actually build the cast linked list, | |
17570 | * we find the array of casts associated with the type, and loop through it | |
17571 | * adding the casts to the list. The one last trick we need to do is making | |
17572 | * sure the type pointer in the swig_cast_info struct is correct. | |
17573 | * | |
17574 | * First off, we lookup the cast->type name to see if it is already loaded. | |
17575 | * There are three cases to handle: | |
17576 | * 1) If the cast->type has already been loaded AND the type we are adding | |
17577 | * casting info to has not been loaded (it is in this module), THEN we | |
17578 | * replace the cast->type pointer with the type pointer that has already | |
17579 | * been loaded. | |
17580 | * 2) If BOTH types (the one we are adding casting info to, and the | |
17581 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
17582 | * the previous module so we just ignore it. | |
17583 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
17584 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
17585 | * be correct. | |
17586 | * ----------------------------------------------------------------------------- */ | |
17587 | ||
17588 | #ifdef __cplusplus | |
17589 | extern "C" { | |
17590 | #if 0 | |
17591 | } /* c-mode */ | |
17592 | #endif | |
17593 | #endif | |
17594 | ||
17595 | #if 0 | |
17596 | #define SWIGRUNTIME_DEBUG | |
17597 | #endif | |
17598 | ||
17599 | SWIGRUNTIME void | |
17600 | SWIG_InitializeModule(void *clientdata) { | |
17601 | size_t i; | |
17602 | swig_module_info *module_head; | |
17603 | static int init_run = 0; | |
17604 | ||
17605 | clientdata = clientdata; | |
17606 | ||
17607 | if (init_run) return; | |
17608 | init_run = 1; | |
17609 | ||
17610 | /* Initialize the swig_module */ | |
17611 | swig_module.type_initial = swig_type_initial; | |
17612 | swig_module.cast_initial = swig_cast_initial; | |
17613 | ||
17614 | /* Try and load any already created modules */ | |
17615 | module_head = SWIG_GetModule(clientdata); | |
17616 | if (module_head) { | |
17617 | swig_module.next = module_head->next; | |
17618 | module_head->next = &swig_module; | |
17619 | } else { | |
17620 | /* This is the first module loaded */ | |
17621 | swig_module.next = &swig_module; | |
17622 | SWIG_SetModule(clientdata, &swig_module); | |
17623 | } | |
17624 | ||
17625 | /* Now work on filling in swig_module.types */ | |
17626 | #ifdef SWIGRUNTIME_DEBUG | |
17627 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
17628 | #endif | |
17629 | for (i = 0; i < swig_module.size; ++i) { | |
17630 | swig_type_info *type = 0; | |
17631 | swig_type_info *ret; | |
17632 | swig_cast_info *cast; | |
17633 | ||
17634 | #ifdef SWIGRUNTIME_DEBUG | |
17635 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17636 | #endif | |
17637 | ||
17638 | /* if there is another module already loaded */ | |
17639 | if (swig_module.next != &swig_module) { | |
17640 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
17641 | } | |
17642 | if (type) { | |
17643 | /* Overwrite clientdata field */ | |
17644 | #ifdef SWIGRUNTIME_DEBUG | |
17645 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
17646 | #endif | |
17647 | if (swig_module.type_initial[i]->clientdata) { | |
17648 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
17649 | #ifdef SWIGRUNTIME_DEBUG | |
17650 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
17651 | #endif | |
17652 | } | |
17653 | } else { | |
17654 | type = swig_module.type_initial[i]; | |
17655 | } | |
17656 | ||
17657 | /* Insert casting types */ | |
17658 | cast = swig_module.cast_initial[i]; | |
17659 | while (cast->type) { | |
17660 | /* Don't need to add information already in the list */ | |
17661 | ret = 0; | |
17662 | #ifdef SWIGRUNTIME_DEBUG | |
17663 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
17664 | #endif | |
17665 | if (swig_module.next != &swig_module) { | |
17666 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
17667 | #ifdef SWIGRUNTIME_DEBUG | |
17668 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
17669 | #endif | |
17670 | } | |
17671 | if (ret) { | |
17672 | if (type == swig_module.type_initial[i]) { | |
17673 | #ifdef SWIGRUNTIME_DEBUG | |
17674 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
17675 | #endif | |
17676 | cast->type = ret; | |
17677 | ret = 0; | |
17678 | } else { | |
17679 | /* Check for casting already in the list */ | |
17680 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
17681 | #ifdef SWIGRUNTIME_DEBUG | |
17682 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
17683 | #endif | |
17684 | if (!ocast) ret = 0; | |
17685 | } | |
17686 | } | |
17687 | ||
17688 | if (!ret) { | |
17689 | #ifdef SWIGRUNTIME_DEBUG | |
17690 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
17691 | #endif | |
17692 | if (type->cast) { | |
17693 | type->cast->prev = cast; | |
17694 | cast->next = type->cast; | |
17695 | } | |
17696 | type->cast = cast; | |
17697 | } | |
17698 | cast++; | |
17699 | } | |
17700 | /* Set entry in modules->types array equal to the type */ | |
17701 | swig_module.types[i] = type; | |
17702 | } | |
17703 | swig_module.types[i] = 0; | |
17704 | ||
17705 | #ifdef SWIGRUNTIME_DEBUG | |
17706 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17707 | for (i = 0; i < swig_module.size; ++i) { | |
17708 | int j = 0; | |
17709 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
17710 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17711 | while (cast->type) { | |
17712 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
17713 | cast++; | |
17714 | ++j; | |
17715 | } | |
17716 | printf("---- Total casts: %d\n",j); | |
17717 | } | |
17718 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17719 | #endif | |
17720 | } | |
17721 | ||
17722 | /* This function will propagate the clientdata field of type to | |
17723 | * any new swig_type_info structures that have been added into the list | |
17724 | * of equivalent types. It is like calling | |
17725 | * SWIG_TypeClientData(type, clientdata) a second time. | |
17726 | */ | |
17727 | SWIGRUNTIME void | |
17728 | SWIG_PropagateClientData(void) { | |
17729 | size_t i; | |
17730 | swig_cast_info *equiv; | |
17731 | static int init_run = 0; | |
17732 | ||
17733 | if (init_run) return; | |
17734 | init_run = 1; | |
17735 | ||
17736 | for (i = 0; i < swig_module.size; i++) { | |
17737 | if (swig_module.types[i]->clientdata) { | |
17738 | equiv = swig_module.types[i]->cast; | |
17739 | while (equiv) { | |
17740 | if (!equiv->converter) { | |
17741 | if (equiv->type && !equiv->type->clientdata) | |
17742 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
17743 | } | |
17744 | equiv = equiv->next; | |
17745 | } | |
17746 | } | |
17747 | } | |
17748 | } | |
17749 | ||
17750 | #ifdef __cplusplus | |
17751 | #if 0 | |
17752 | { | |
17753 | /* c-mode */ | |
17754 | #endif | |
17755 | } | |
17756 | #endif | |
17757 | ||
17758 | ||
17759 | ||
17760 | #ifdef __cplusplus | |
17761 | extern "C" { | |
17762 | #endif | |
17763 | ||
17764 | /* Python-specific SWIG API */ | |
17765 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
17766 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
17767 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
17768 | ||
17769 | /* ----------------------------------------------------------------------------- | |
17770 | * global variable support code. | |
17771 | * ----------------------------------------------------------------------------- */ | |
17772 | ||
17773 | typedef struct swig_globalvar { | |
17774 | char *name; /* Name of global variable */ | |
17775 | PyObject *(*get_attr)(void); /* Return the current value */ | |
17776 | int (*set_attr)(PyObject *); /* Set the value */ | |
17777 | struct swig_globalvar *next; | |
17778 | } swig_globalvar; | |
17779 | ||
17780 | typedef struct swig_varlinkobject { | |
17781 | PyObject_HEAD | |
17782 | swig_globalvar *vars; | |
17783 | } swig_varlinkobject; | |
17784 | ||
17785 | SWIGINTERN PyObject * | |
17786 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
17787 | return PyString_FromString("<Swig global variables>"); | |
17788 | } | |
17789 | ||
17790 | SWIGINTERN PyObject * | |
17791 | swig_varlink_str(swig_varlinkobject *v) { | |
17792 | PyObject *str = PyString_FromString("("); | |
17793 | swig_globalvar *var; | |
17794 | for (var = v->vars; var; var=var->next) { | |
17795 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
17796 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
17797 | } | |
17798 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
17799 | return str; | |
17800 | } | |
17801 | ||
17802 | SWIGINTERN int | |
17803 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
17804 | PyObject *str = swig_varlink_str(v); | |
17805 | fprintf(fp,"Swig global variables "); | |
17806 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
17807 | Py_DECREF(str); | |
17808 | return 0; | |
17809 | } | |
17810 | ||
17811 | SWIGINTERN void | |
17812 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
17813 | swig_globalvar *var = v->vars; | |
17814 | while (var) { | |
17815 | swig_globalvar *n = var->next; | |
17816 | free(var->name); | |
17817 | free(var); | |
17818 | var = n; | |
17819 | } | |
17820 | } | |
17821 | ||
17822 | SWIGINTERN PyObject * | |
17823 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
17824 | PyObject *res = NULL; | |
17825 | swig_globalvar *var = v->vars; | |
17826 | while (var) { | |
17827 | if (strcmp(var->name,n) == 0) { | |
17828 | res = (*var->get_attr)(); | |
17829 | break; | |
17830 | } | |
17831 | var = var->next; | |
17832 | } | |
17833 | if (res == NULL && !PyErr_Occurred()) { | |
17834 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17835 | } | |
17836 | return res; | |
17837 | } | |
17838 | ||
17839 | SWIGINTERN int | |
17840 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
17841 | int res = 1; | |
17842 | swig_globalvar *var = v->vars; | |
17843 | while (var) { | |
17844 | if (strcmp(var->name,n) == 0) { | |
17845 | res = (*var->set_attr)(p); | |
17846 | break; | |
17847 | } | |
17848 | var = var->next; | |
17849 | } | |
17850 | if (res == 1 && !PyErr_Occurred()) { | |
17851 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17852 | } | |
17853 | return res; | |
17854 | } | |
17855 | ||
17856 | SWIGINTERN PyTypeObject* | |
17857 | swig_varlink_type(void) { | |
17858 | static char varlink__doc__[] = "Swig var link object"; | |
17859 | static PyTypeObject varlink_type; | |
17860 | static int type_init = 0; | |
17861 | if (!type_init) { | |
17862 | const PyTypeObject tmp | |
17863 | = { | |
17864 | PyObject_HEAD_INIT(NULL) | |
17865 | 0, /* Number of items in variable part (ob_size) */ | |
17866 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
17867 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
17868 | 0, /* Itemsize (tp_itemsize) */ | |
17869 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
17870 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
17871 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
17872 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
17873 | 0, /* tp_compare */ | |
17874 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
17875 | 0, /* tp_as_number */ | |
17876 | 0, /* tp_as_sequence */ | |
17877 | 0, /* tp_as_mapping */ | |
17878 | 0, /* tp_hash */ | |
17879 | 0, /* tp_call */ | |
17880 | (reprfunc)swig_varlink_str, /* tp_str */ | |
17881 | 0, /* tp_getattro */ | |
17882 | 0, /* tp_setattro */ | |
17883 | 0, /* tp_as_buffer */ | |
17884 | 0, /* tp_flags */ | |
17885 | varlink__doc__, /* tp_doc */ | |
17886 | 0, /* tp_traverse */ | |
17887 | 0, /* tp_clear */ | |
17888 | 0, /* tp_richcompare */ | |
17889 | 0, /* tp_weaklistoffset */ | |
17890 | #if PY_VERSION_HEX >= 0x02020000 | |
17891 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
17892 | #endif | |
17893 | #if PY_VERSION_HEX >= 0x02030000 | |
17894 | 0, /* tp_del */ | |
17895 | #endif | |
17896 | #ifdef COUNT_ALLOCS | |
17897 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
17898 | #endif | |
17899 | }; | |
17900 | varlink_type = tmp; | |
17901 | varlink_type.ob_type = &PyType_Type; | |
17902 | type_init = 1; | |
17903 | } | |
17904 | return &varlink_type; | |
17905 | } | |
17906 | ||
17907 | /* Create a variable linking object for use later */ | |
17908 | SWIGINTERN PyObject * | |
17909 | SWIG_Python_newvarlink(void) { | |
17910 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
17911 | if (result) { | |
17912 | result->vars = 0; | |
17913 | } | |
17914 | return ((PyObject*) result); | |
17915 | } | |
17916 | ||
17917 | SWIGINTERN void | |
17918 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
17919 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
17920 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
17921 | if (gv) { | |
17922 | size_t size = strlen(name)+1; | |
17923 | gv->name = (char *)malloc(size); | |
17924 | if (gv->name) { | |
17925 | strncpy(gv->name,name,size); | |
17926 | gv->get_attr = get_attr; | |
17927 | gv->set_attr = set_attr; | |
17928 | gv->next = v->vars; | |
17929 | } | |
17930 | } | |
17931 | v->vars = gv; | |
17932 | } | |
17933 | ||
17934 | SWIGINTERN PyObject * | |
17935 | SWIG_globals() { | |
17936 | static PyObject *_SWIG_globals = 0; | |
17937 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
17938 | return _SWIG_globals; | |
17939 | } | |
17940 | ||
17941 | /* ----------------------------------------------------------------------------- | |
17942 | * constants/methods manipulation | |
17943 | * ----------------------------------------------------------------------------- */ | |
17944 | ||
17945 | /* Install Constants */ | |
17946 | SWIGINTERN void | |
17947 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
17948 | PyObject *obj = 0; | |
17949 | size_t i; | |
17950 | for (i = 0; constants[i].type; ++i) { | |
17951 | switch(constants[i].type) { | |
17952 | case SWIG_PY_POINTER: | |
17953 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
17954 | break; | |
17955 | case SWIG_PY_BINARY: | |
17956 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
17957 | break; | |
17958 | default: | |
17959 | obj = 0; | |
17960 | break; | |
17961 | } | |
17962 | if (obj) { | |
17963 | PyDict_SetItemString(d, constants[i].name, obj); | |
17964 | Py_DECREF(obj); | |
17965 | } | |
17966 | } | |
17967 | } | |
17968 | ||
17969 | /* -----------------------------------------------------------------------------*/ | |
17970 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17971 | /* -----------------------------------------------------------------------------*/ | |
17972 | ||
17973 | SWIGINTERN void | |
17974 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
17975 | swig_const_info *const_table, | |
17976 | swig_type_info **types, | |
17977 | swig_type_info **types_initial) { | |
17978 | size_t i; | |
17979 | for (i = 0; methods[i].ml_name; ++i) { | |
17980 | const char *c = methods[i].ml_doc; | |
17981 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
17982 | int j; | |
17983 | swig_const_info *ci = 0; | |
17984 | const char *name = c + 10; | |
17985 | for (j = 0; const_table[j].type; ++j) { | |
17986 | if (strncmp(const_table[j].name, name, | |
17987 | strlen(const_table[j].name)) == 0) { | |
17988 | ci = &(const_table[j]); | |
17989 | break; | |
17990 | } | |
17991 | } | |
17992 | if (ci) { | |
17993 | size_t shift = (ci->ptype) - types; | |
17994 | swig_type_info *ty = types_initial[shift]; | |
17995 | size_t ldoc = (c - methods[i].ml_doc); | |
17996 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
17997 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
17998 | if (ndoc) { | |
17999 | char *buff = ndoc; | |
18000 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
18001 | if (ptr) { | |
18002 | strncpy(buff, methods[i].ml_doc, ldoc); | |
18003 | buff += ldoc; | |
18004 | strncpy(buff, "swig_ptr: ", 10); | |
18005 | buff += 10; | |
18006 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
18007 | methods[i].ml_doc = ndoc; | |
18008 | } | |
18009 | } | |
18010 | } | |
18011 | } | |
18012 | } | |
18013 | } | |
18014 | ||
18015 | #ifdef __cplusplus | |
18016 | } | |
18017 | #endif | |
18018 | ||
18019 | /* -----------------------------------------------------------------------------* | |
18020 | * Partial Init method | |
18021 | * -----------------------------------------------------------------------------*/ | |
18022 | ||
18023 | #ifdef __cplusplus | |
18024 | extern "C" | |
18025 | #endif | |
18026 | SWIGEXPORT void SWIG_init(void) { | |
18027 | PyObject *m, *d; | |
18028 | ||
18029 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18030 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
18031 | ||
18032 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
18033 | d = PyModule_GetDict(m); | |
18034 | ||
18035 | SWIG_InitializeModule(0); | |
18036 | SWIG_InstallConstants(d,swig_const_table); | |
18037 | ||
18038 | ||
18039 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
18040 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
18041 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
18042 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
18043 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
18044 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
18045 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
18046 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
18047 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
18048 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
18049 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
18050 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
18051 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
18052 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
18053 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
18054 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
18055 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
18056 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
18057 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
18058 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
18059 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
18060 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
18061 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
18062 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
18063 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
18064 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18065 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
18066 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18067 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
18068 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
18069 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
18070 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
18071 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
18072 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
18073 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
18074 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
18075 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
18076 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
18077 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
18078 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
18079 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
18080 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
18081 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); | |
5eb8189c | 18082 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
18083 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
18084 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
18085 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 18086 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
18087 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
18088 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
18089 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
18090 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
18091 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
18092 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
18093 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
18094 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
18095 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
18096 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
18097 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
18098 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
18099 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
18100 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
18101 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
18102 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
18103 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
18104 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
18105 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
18106 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
18107 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
18108 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
18109 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
18110 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
18111 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
18112 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
18113 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
18114 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
18115 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
18116 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
18117 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionSavedHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionSavedHidden))); | |
18118 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); | |
18119 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
18120 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
18121 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
18122 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
18123 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
18124 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
18125 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); | |
18126 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
18127 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
18128 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
18129 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
18130 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
18131 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
18132 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
18133 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
18134 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
27e45892 RD |
18135 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); |
18136 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
5eb8189c RD |
18137 | PyDict_SetItemString(d, "wxEVT_AUI_PANEMAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANEMAXIMIZE)); |
18138 | PyDict_SetItemString(d, "wxEVT_AUI_PANERESTORE", PyInt_FromLong(wxEVT_AUI_PANERESTORE)); | |
81f5836b | 18139 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
5eb8189c RD |
18140 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
18141 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
18142 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
18143 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
18144 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
18145 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
18146 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); | |
26c4d26f | 18147 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 18148 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
18149 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
18150 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
18151 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
10044bf1 RD |
18152 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
18153 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
18154 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
18155 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
18156 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
18157 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
27e45892 RD |
18158 | } |
18159 |