]>
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 | |
d95b9f2b | 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"))) { | |
d95b9f2b | 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 | ||
d95b9f2b | 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"))) { | |
d95b9f2b | 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 | ||
d95b9f2b | 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"))) { | |
d95b9f2b | 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 | 3197 | |
d95b9f2b | 3198 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3199 | wxWindow* wnd, |
8f514ab4 RD |
3200 | const wxString& caption, |
3201 | bool active, | |
36cb9ebe | 3202 | int close_button_state, |
8f514ab4 RD |
3203 | int* x_extent) |
3204 | { | |
3205 | bool found; | |
3206 | wxSize rv, *prv = &rv; | |
3207 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3208 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3209 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3210 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3211 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 RD |
3212 | PyObject* otext = wx2PyString(caption); |
3213 | PyObject* ro; | |
5eb8189c | 3214 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
26c4d26f | 3215 | "(OOOi)", odc, ownd, otext, (int)active, close_button_state)); |
8f514ab4 RD |
3216 | if (ro) { |
3217 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3218 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3219 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3220 | if (!wxSize_helper(o1, &prv)) | |
3221 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3222 | else if (!PyInt_Check(o2)) | |
3223 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3224 | else | |
3225 | *x_extent = PyInt_AsLong(o2); | |
3226 | ||
3227 | Py_DECREF(o1); | |
3228 | Py_DECREF(o2); | |
3229 | } | |
3230 | else { | |
3231 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3232 | } | |
3233 | Py_DECREF(ro); | |
3234 | } | |
3235 | ||
3236 | Py_DECREF(odc); | |
26c4d26f | 3237 | Py_DECREF(ownd); |
8f514ab4 RD |
3238 | Py_DECREF(otext); |
3239 | } | |
3240 | wxPyEndBlockThreads(blocked); | |
3241 | if (!found) | |
26c4d26f | 3242 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, active, close_button_state, x_extent); |
8f514ab4 RD |
3243 | return rv; |
3244 | } | |
26c4d26f | 3245 | |
d95b9f2b RD |
3246 | // TODO |
3247 | // virtual int ShowWindowList( | |
3248 | // wxWindow* wnd, | |
3249 | // const wxArrayString& items, | |
3250 | // int active_idx); | |
3251 | ||
26c4d26f RD |
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 ; |
d95b9f2b | 11533 | wxDC *arg2 = 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); |
d95b9f2b | 11557 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
5c8c7dd3 | 11558 | if (!SWIG_IsOK(res2)) { |
d95b9f2b RD |
11559 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
11560 | } | |
11561 | if (!argp2) { | |
11562 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 RD |
11563 | } |
11564 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
26c4d26f RD |
11565 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11566 | if (!SWIG_IsOK(res3)) { | |
11567 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11568 | } | |
11569 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
5c8c7dd3 | 11570 | { |
26c4d26f RD |
11571 | arg4 = &temp4; |
11572 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
5c8c7dd3 RD |
11573 | } |
11574 | { | |
11575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d95b9f2b | 11576 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); |
5c8c7dd3 RD |
11577 | wxPyEndAllowThreads(__tstate); |
11578 | if (PyErr_Occurred()) SWIG_fail; | |
11579 | } | |
11580 | resultobj = SWIG_Py_Void(); | |
11581 | return resultobj; | |
11582 | fail: | |
11583 | return NULL; | |
11584 | } | |
11585 | ||
11586 | ||
5eb8189c | 11587 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11588 | PyObject *resultobj = 0; |
5eb8189c | 11589 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
d95b9f2b | 11590 | wxDC *arg2 = 0 ; |
26c4d26f RD |
11591 | wxWindow *arg3 = (wxWindow *) 0 ; |
11592 | wxRect *arg4 = 0 ; | |
11593 | wxString *arg5 = 0 ; | |
11594 | bool arg6 ; | |
11595 | int arg7 ; | |
36cb9ebe | 11596 | wxRect *arg8 = (wxRect *) 0 ; |
26c4d26f RD |
11597 | wxRect *arg9 = (wxRect *) 0 ; |
11598 | int *arg10 = (int *) 0 ; | |
5c8c7dd3 RD |
11599 | void *argp1 = 0 ; |
11600 | int res1 = 0 ; | |
11601 | void *argp2 = 0 ; | |
11602 | int res2 = 0 ; | |
26c4d26f RD |
11603 | void *argp3 = 0 ; |
11604 | int res3 = 0 ; | |
11605 | wxRect temp4 ; | |
11606 | bool temp5 = false ; | |
11607 | bool val6 ; | |
5eb8189c | 11608 | int ecode6 = 0 ; |
26c4d26f RD |
11609 | int val7 ; |
11610 | int ecode7 = 0 ; | |
5eb8189c RD |
11611 | void *argp8 = 0 ; |
11612 | int res8 = 0 ; | |
36cb9ebe RD |
11613 | void *argp9 = 0 ; |
11614 | int res9 = 0 ; | |
26c4d26f RD |
11615 | void *argp10 = 0 ; |
11616 | int res10 = 0 ; | |
5c8c7dd3 RD |
11617 | PyObject * obj0 = 0 ; |
11618 | PyObject * obj1 = 0 ; | |
11619 | PyObject * obj2 = 0 ; | |
11620 | PyObject * obj3 = 0 ; | |
11621 | PyObject * obj4 = 0 ; | |
11622 | PyObject * obj5 = 0 ; | |
11623 | PyObject * obj6 = 0 ; | |
5eb8189c | 11624 | PyObject * obj7 = 0 ; |
36cb9ebe | 11625 | PyObject * obj8 = 0 ; |
26c4d26f | 11626 | PyObject * obj9 = 0 ; |
5c8c7dd3 | 11627 | char * kwnames[] = { |
26c4d26f | 11628 | (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 |
11629 | }; |
11630 | ||
26c4d26f | 11631 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail; |
5eb8189c | 11632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11633 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11635 | } |
5eb8189c | 11636 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
d95b9f2b | 11637 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
5c8c7dd3 | 11638 | if (!SWIG_IsOK(res2)) { |
d95b9f2b RD |
11639 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); |
11640 | } | |
11641 | if (!argp2) { | |
11642 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 RD |
11643 | } |
11644 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
26c4d26f RD |
11645 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11646 | if (!SWIG_IsOK(res3)) { | |
11647 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11648 | } | |
11649 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
5c8c7dd3 | 11650 | { |
26c4d26f RD |
11651 | arg4 = &temp4; |
11652 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
5c8c7dd3 RD |
11653 | } |
11654 | { | |
26c4d26f RD |
11655 | arg5 = wxString_in_helper(obj4); |
11656 | if (arg5 == NULL) SWIG_fail; | |
11657 | temp5 = true; | |
5c8c7dd3 | 11658 | } |
26c4d26f | 11659 | ecode6 = SWIG_AsVal_bool(obj5, &val6); |
5eb8189c | 11660 | if (!SWIG_IsOK(ecode6)) { |
26c4d26f | 11661 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "bool""'"); |
5eb8189c | 11662 | } |
26c4d26f RD |
11663 | arg6 = static_cast< bool >(val6); |
11664 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
11665 | if (!SWIG_IsOK(ecode7)) { | |
11666 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "int""'"); | |
11667 | } | |
11668 | arg7 = static_cast< int >(val7); | |
36cb9ebe | 11669 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5eb8189c | 11670 | if (!SWIG_IsOK(res8)) { |
36cb9ebe RD |
11671 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); |
11672 | } | |
11673 | arg8 = reinterpret_cast< wxRect * >(argp8); | |
26c4d26f | 11674 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); |
36cb9ebe | 11675 | if (!SWIG_IsOK(res9)) { |
26c4d26f | 11676 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'"); |
5eb8189c | 11677 | } |
26c4d26f RD |
11678 | arg9 = reinterpret_cast< wxRect * >(argp9); |
11679 | res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_int, 0 | 0 ); | |
11680 | if (!SWIG_IsOK(res10)) { | |
11681 | SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "int *""'"); | |
11682 | } | |
11683 | arg10 = reinterpret_cast< int * >(argp10); | |
5c8c7dd3 RD |
11684 | { |
11685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d95b9f2b | 11686 | (arg1)->DrawTab(*arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9,arg10); |
5c8c7dd3 RD |
11687 | wxPyEndAllowThreads(__tstate); |
11688 | if (PyErr_Occurred()) SWIG_fail; | |
11689 | } | |
11690 | resultobj = SWIG_Py_Void(); | |
11691 | { | |
26c4d26f RD |
11692 | if (temp5) |
11693 | delete arg5; | |
5c8c7dd3 RD |
11694 | } |
11695 | return resultobj; | |
11696 | fail: | |
11697 | { | |
26c4d26f RD |
11698 | if (temp5) |
11699 | delete arg5; | |
5c8c7dd3 RD |
11700 | } |
11701 | return NULL; | |
11702 | } | |
11703 | ||
11704 | ||
5eb8189c | 11705 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11706 | PyObject *resultobj = 0; |
5eb8189c | 11707 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
d95b9f2b | 11708 | wxDC *arg2 = 0 ; |
26c4d26f RD |
11709 | wxWindow *arg3 = (wxWindow *) 0 ; |
11710 | wxRect *arg4 = 0 ; | |
8f514ab4 RD |
11711 | int arg5 ; |
11712 | int arg6 ; | |
26c4d26f RD |
11713 | int arg7 ; |
11714 | wxBitmap *arg8 = 0 ; | |
11715 | wxRect *arg9 = (wxRect *) 0 ; | |
5c8c7dd3 RD |
11716 | void *argp1 = 0 ; |
11717 | int res1 = 0 ; | |
11718 | void *argp2 = 0 ; | |
11719 | int res2 = 0 ; | |
26c4d26f RD |
11720 | void *argp3 = 0 ; |
11721 | int res3 = 0 ; | |
11722 | wxRect temp4 ; | |
8f514ab4 RD |
11723 | int val5 ; |
11724 | int ecode5 = 0 ; | |
11725 | int val6 ; | |
11726 | int ecode6 = 0 ; | |
26c4d26f RD |
11727 | int val7 ; |
11728 | int ecode7 = 0 ; | |
8f514ab4 RD |
11729 | void *argp8 = 0 ; |
11730 | int res8 = 0 ; | |
26c4d26f RD |
11731 | void *argp9 = 0 ; |
11732 | int res9 = 0 ; | |
5c8c7dd3 RD |
11733 | PyObject * obj0 = 0 ; |
11734 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11735 | PyObject * obj2 = 0 ; |
11736 | PyObject * obj3 = 0 ; | |
11737 | PyObject * obj4 = 0 ; | |
11738 | PyObject * obj5 = 0 ; | |
11739 | PyObject * obj6 = 0 ; | |
11740 | PyObject * obj7 = 0 ; | |
26c4d26f | 11741 | PyObject * obj8 = 0 ; |
5c8c7dd3 | 11742 | char * kwnames[] = { |
26c4d26f | 11743 | (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 |
11744 | }; |
11745 | ||
26c4d26f | 11746 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5eb8189c | 11747 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11748 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11749 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11750 | } |
5eb8189c | 11751 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
d95b9f2b | 11752 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
5c8c7dd3 | 11753 | if (!SWIG_IsOK(res2)) { |
d95b9f2b RD |
11754 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
11755 | } | |
11756 | if (!argp2) { | |
11757 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 11758 | } |
8f514ab4 | 11759 | arg2 = reinterpret_cast< wxDC * >(argp2); |
26c4d26f RD |
11760 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11761 | if (!SWIG_IsOK(res3)) { | |
11762 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11763 | } | |
11764 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
8f514ab4 | 11765 | { |
26c4d26f RD |
11766 | arg4 = &temp4; |
11767 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
5c8c7dd3 | 11768 | } |
8f514ab4 RD |
11769 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11770 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11771 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); |
8f514ab4 RD |
11772 | } |
11773 | arg5 = static_cast< int >(val5); | |
11774 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11775 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 11776 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); |
8f514ab4 RD |
11777 | } |
11778 | arg6 = static_cast< int >(val6); | |
26c4d26f RD |
11779 | ecode7 = SWIG_AsVal_int(obj6, &val7); |
11780 | if (!SWIG_IsOK(ecode7)) { | |
11781 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
11782 | } | |
11783 | arg7 = static_cast< int >(val7); | |
11784 | res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0); | |
11785 | if (!SWIG_IsOK(res8)) { | |
11786 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
8f514ab4 | 11787 | } |
26c4d26f RD |
11788 | if (!argp8) { |
11789 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
8f514ab4 | 11790 | } |
26c4d26f RD |
11791 | arg8 = reinterpret_cast< wxBitmap * >(argp8); |
11792 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); | |
11793 | if (!SWIG_IsOK(res9)) { | |
11794 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'"); | |
8f514ab4 | 11795 | } |
26c4d26f | 11796 | arg9 = reinterpret_cast< wxRect * >(argp9); |
5c8c7dd3 RD |
11797 | { |
11798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d95b9f2b | 11799 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9); |
5c8c7dd3 RD |
11800 | wxPyEndAllowThreads(__tstate); |
11801 | if (PyErr_Occurred()) SWIG_fail; | |
11802 | } | |
11803 | resultobj = SWIG_Py_Void(); | |
11804 | return resultobj; | |
11805 | fail: | |
11806 | return NULL; | |
11807 | } | |
11808 | ||
11809 | ||
5eb8189c | 11810 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11811 | PyObject *resultobj = 0; |
5eb8189c | 11812 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
d95b9f2b | 11813 | wxDC *arg2 = 0 ; |
26c4d26f RD |
11814 | wxWindow *arg3 = (wxWindow *) 0 ; |
11815 | wxString *arg4 = 0 ; | |
11816 | bool arg5 ; | |
11817 | int arg6 ; | |
11818 | int *arg7 = (int *) 0 ; | |
8f514ab4 | 11819 | wxSize result; |
5c8c7dd3 RD |
11820 | void *argp1 = 0 ; |
11821 | int res1 = 0 ; | |
11822 | void *argp2 = 0 ; | |
11823 | int res2 = 0 ; | |
26c4d26f RD |
11824 | void *argp3 = 0 ; |
11825 | int res3 = 0 ; | |
11826 | bool temp4 = false ; | |
11827 | bool val5 ; | |
5eb8189c | 11828 | int ecode5 = 0 ; |
26c4d26f RD |
11829 | int val6 ; |
11830 | int ecode6 = 0 ; | |
11831 | void *argp7 = 0 ; | |
11832 | int res7 = 0 ; | |
5c8c7dd3 RD |
11833 | PyObject * obj0 = 0 ; |
11834 | PyObject * obj1 = 0 ; | |
8f514ab4 RD |
11835 | PyObject * obj2 = 0 ; |
11836 | PyObject * obj3 = 0 ; | |
11837 | PyObject * obj4 = 0 ; | |
5eb8189c | 11838 | PyObject * obj5 = 0 ; |
26c4d26f | 11839 | PyObject * obj6 = 0 ; |
5c8c7dd3 | 11840 | char * kwnames[] = { |
26c4d26f | 11841 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL |
5c8c7dd3 RD |
11842 | }; |
11843 | ||
26c4d26f | 11844 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
5eb8189c | 11845 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 11846 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11847 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11848 | } |
5eb8189c | 11849 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
d95b9f2b | 11850 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
5c8c7dd3 | 11851 | if (!SWIG_IsOK(res2)) { |
d95b9f2b RD |
11852 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
11853 | } | |
11854 | if (!argp2) { | |
11855 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 11856 | } |
8f514ab4 | 11857 | arg2 = reinterpret_cast< wxDC * >(argp2); |
26c4d26f RD |
11858 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11859 | if (!SWIG_IsOK(res3)) { | |
11860 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
11861 | } | |
11862 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
8f514ab4 | 11863 | { |
26c4d26f RD |
11864 | arg4 = wxString_in_helper(obj3); |
11865 | if (arg4 == NULL) SWIG_fail; | |
11866 | temp4 = true; | |
5c8c7dd3 | 11867 | } |
26c4d26f | 11868 | ecode5 = SWIG_AsVal_bool(obj4, &val5); |
5eb8189c | 11869 | if (!SWIG_IsOK(ecode5)) { |
26c4d26f | 11870 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "bool""'"); |
5eb8189c | 11871 | } |
26c4d26f RD |
11872 | arg5 = static_cast< bool >(val5); |
11873 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
11874 | if (!SWIG_IsOK(ecode6)) { | |
11875 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "int""'"); | |
11876 | } | |
11877 | arg6 = static_cast< int >(val6); | |
11878 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 ); | |
11879 | if (!SWIG_IsOK(res7)) { | |
11880 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int *""'"); | |
8f514ab4 | 11881 | } |
26c4d26f | 11882 | arg7 = reinterpret_cast< int * >(argp7); |
5c8c7dd3 RD |
11883 | { |
11884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d95b9f2b | 11885 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
5c8c7dd3 RD |
11886 | wxPyEndAllowThreads(__tstate); |
11887 | if (PyErr_Occurred()) SWIG_fail; | |
11888 | } | |
8f514ab4 RD |
11889 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); |
11890 | { | |
26c4d26f RD |
11891 | if (temp4) |
11892 | delete arg4; | |
8f514ab4 | 11893 | } |
5c8c7dd3 RD |
11894 | return resultobj; |
11895 | fail: | |
8f514ab4 | 11896 | { |
26c4d26f RD |
11897 | if (temp4) |
11898 | delete arg4; | |
8f514ab4 | 11899 | } |
5c8c7dd3 RD |
11900 | return NULL; |
11901 | } | |
11902 | ||
11903 | ||
d95b9f2b RD |
11904 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
11905 | PyObject *resultobj = 0; | |
11906 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
11907 | wxWindow *arg2 = (wxWindow *) 0 ; | |
11908 | wxArrayString *arg3 = 0 ; | |
11909 | int arg4 ; | |
11910 | int result; | |
11911 | void *argp1 = 0 ; | |
11912 | int res1 = 0 ; | |
11913 | void *argp2 = 0 ; | |
11914 | int res2 = 0 ; | |
11915 | bool temp3 = false ; | |
11916 | int val4 ; | |
11917 | int ecode4 = 0 ; | |
11918 | PyObject * obj0 = 0 ; | |
11919 | PyObject * obj1 = 0 ; | |
11920 | PyObject * obj2 = 0 ; | |
11921 | PyObject * obj3 = 0 ; | |
11922 | char * kwnames[] = { | |
11923 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
11924 | }; | |
11925 | ||
11926 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
11927 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
11928 | if (!SWIG_IsOK(res1)) { | |
11929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
11930 | } | |
11931 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
11932 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
11933 | if (!SWIG_IsOK(res2)) { | |
11934 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
11935 | } | |
11936 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
11937 | { | |
11938 | if (! PySequence_Check(obj2)) { | |
11939 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
11940 | SWIG_fail; | |
11941 | } | |
11942 | arg3 = new wxArrayString; | |
11943 | temp3 = true; | |
11944 | int i, len=PySequence_Length(obj2); | |
11945 | for (i=0; i<len; i++) { | |
11946 | PyObject* item = PySequence_GetItem(obj2, i); | |
11947 | wxString* s = wxString_in_helper(item); | |
11948 | if (PyErr_Occurred()) SWIG_fail; | |
11949 | arg3->Add(*s); | |
11950 | delete s; | |
11951 | Py_DECREF(item); | |
11952 | } | |
11953 | } | |
11954 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11955 | if (!SWIG_IsOK(ecode4)) { | |
11956 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'"); | |
11957 | } | |
11958 | arg4 = static_cast< int >(val4); | |
11959 | { | |
11960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11961 | result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4); | |
11962 | wxPyEndAllowThreads(__tstate); | |
11963 | if (PyErr_Occurred()) SWIG_fail; | |
11964 | } | |
11965 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11966 | { | |
11967 | if (temp3) delete arg3; | |
11968 | } | |
11969 | return resultobj; | |
11970 | fail: | |
11971 | { | |
11972 | if (temp3) delete arg3; | |
11973 | } | |
11974 | return NULL; | |
11975 | } | |
11976 | ||
11977 | ||
5eb8189c | 11978 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11979 | PyObject *resultobj = 0; |
5eb8189c | 11980 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
8f514ab4 RD |
11981 | wxWindow *arg2 = (wxWindow *) 0 ; |
11982 | int result; | |
5c8c7dd3 RD |
11983 | void *argp1 = 0 ; |
11984 | int res1 = 0 ; | |
11985 | void *argp2 = 0 ; | |
11986 | int res2 = 0 ; | |
11987 | PyObject * obj0 = 0 ; | |
11988 | PyObject * obj1 = 0 ; | |
11989 | char * kwnames[] = { | |
8f514ab4 | 11990 | (char *) "self",(char *) "wnd", NULL |
5c8c7dd3 RD |
11991 | }; |
11992 | ||
5eb8189c RD |
11993 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1)) SWIG_fail; |
11994 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 11995 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11996 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 11997 | } |
5eb8189c | 11998 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
8f514ab4 | 11999 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
5c8c7dd3 | 12000 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 12001 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5c8c7dd3 | 12002 | } |
8f514ab4 | 12003 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
5c8c7dd3 RD |
12004 | { |
12005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 | 12006 | result = (int)(arg1)->GetBestTabCtrlSize(arg2); |
5c8c7dd3 RD |
12007 | wxPyEndAllowThreads(__tstate); |
12008 | if (PyErr_Occurred()) SWIG_fail; | |
12009 | } | |
8f514ab4 | 12010 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
12011 | return resultobj; |
12012 | fail: | |
12013 | return NULL; | |
12014 | } | |
12015 | ||
12016 | ||
5eb8189c | 12017 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
12018 | PyObject *obj; |
12019 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 12020 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
12021 | return SWIG_Py_Void(); |
12022 | } | |
12023 | ||
5eb8189c | 12024 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12025 | PyObject *resultobj = 0; |
5eb8189c | 12026 | wxAuiDefaultTabArt *result = 0 ; |
5c8c7dd3 | 12027 | |
5eb8189c | 12028 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
5c8c7dd3 RD |
12029 | { |
12030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 12031 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); |
5c8c7dd3 RD |
12032 | wxPyEndAllowThreads(__tstate); |
12033 | if (PyErr_Occurred()) SWIG_fail; | |
12034 | } | |
5eb8189c | 12035 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
12036 | return resultobj; |
12037 | fail: | |
12038 | return NULL; | |
12039 | } | |
12040 | ||
12041 | ||
5eb8189c | 12042 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12043 | PyObject *resultobj = 0; |
5eb8189c | 12044 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
5c8c7dd3 RD |
12045 | void *argp1 = 0 ; |
12046 | int res1 = 0 ; | |
12047 | PyObject *swig_obj[1] ; | |
12048 | ||
12049 | if (!args) SWIG_fail; | |
12050 | swig_obj[0] = args; | |
5eb8189c | 12051 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
5c8c7dd3 | 12052 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 12053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
5c8c7dd3 | 12054 | } |
5eb8189c | 12055 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
5c8c7dd3 RD |
12056 | { |
12057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12058 | delete arg1; | |
12059 | ||
12060 | wxPyEndAllowThreads(__tstate); | |
12061 | if (PyErr_Occurred()) SWIG_fail; | |
12062 | } | |
12063 | resultobj = SWIG_Py_Void(); | |
12064 | return resultobj; | |
12065 | fail: | |
12066 | return NULL; | |
12067 | } | |
12068 | ||
12069 | ||
5eb8189c | 12070 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
12071 | PyObject *obj; |
12072 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 12073 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
12074 | return SWIG_Py_Void(); |
12075 | } | |
12076 | ||
5eb8189c | 12077 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
12078 | return SWIG_Python_InitShadowInstance(args); |
12079 | } | |
12080 | ||
10044bf1 RD |
12081 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12082 | PyObject *resultobj = 0; | |
12083 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
12084 | int arg2 = (int) 0 ; | |
12085 | wxAuiNotebookEvent *result = 0 ; | |
12086 | int val1 ; | |
12087 | int ecode1 = 0 ; | |
12088 | int val2 ; | |
12089 | int ecode2 = 0 ; | |
12090 | PyObject * obj0 = 0 ; | |
12091 | PyObject * obj1 = 0 ; | |
12092 | char * kwnames[] = { | |
12093 | (char *) "command_type",(char *) "win_id", NULL | |
12094 | }; | |
12095 | ||
12096 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
12097 | if (obj0) { | |
12098 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
12099 | if (!SWIG_IsOK(ecode1)) { | |
12100 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
12101 | } | |
12102 | arg1 = static_cast< wxEventType >(val1); | |
12103 | } | |
12104 | if (obj1) { | |
12105 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12106 | if (!SWIG_IsOK(ecode2)) { | |
12107 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
12108 | } | |
12109 | arg2 = static_cast< int >(val2); | |
12110 | } | |
12111 | { | |
12112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12113 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); | |
12114 | wxPyEndAllowThreads(__tstate); | |
12115 | if (PyErr_Occurred()) SWIG_fail; | |
12116 | } | |
12117 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); | |
12118 | return resultobj; | |
12119 | fail: | |
12120 | return NULL; | |
27e45892 RD |
12121 | } |
12122 | ||
10044bf1 RD |
12123 | |
12124 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12125 | PyObject *resultobj = 0; | |
12126 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12127 | int arg2 ; | |
12128 | void *argp1 = 0 ; | |
12129 | int res1 = 0 ; | |
12130 | int val2 ; | |
12131 | int ecode2 = 0 ; | |
12132 | PyObject * obj0 = 0 ; | |
12133 | PyObject * obj1 = 0 ; | |
12134 | char * kwnames[] = { | |
12135 | (char *) "self",(char *) "s", NULL | |
12136 | }; | |
12137 | ||
12138 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
12139 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12140 | if (!SWIG_IsOK(res1)) { | |
12141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12142 | } | |
12143 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12144 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12145 | if (!SWIG_IsOK(ecode2)) { | |
12146 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
12147 | } | |
12148 | arg2 = static_cast< int >(val2); | |
12149 | { | |
12150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12151 | (arg1)->SetSelection(arg2); | |
12152 | wxPyEndAllowThreads(__tstate); | |
12153 | if (PyErr_Occurred()) SWIG_fail; | |
12154 | } | |
12155 | resultobj = SWIG_Py_Void(); | |
12156 | return resultobj; | |
12157 | fail: | |
12158 | return NULL; | |
12159 | } | |
12160 | ||
12161 | ||
d95b9f2b RD |
12162 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12163 | PyObject *resultobj = 0; | |
12164 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12165 | int result; | |
12166 | void *argp1 = 0 ; | |
12167 | int res1 = 0 ; | |
12168 | PyObject *swig_obj[1] ; | |
12169 | ||
12170 | if (!args) SWIG_fail; | |
12171 | swig_obj[0] = args; | |
12172 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12173 | if (!SWIG_IsOK(res1)) { | |
12174 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); | |
12175 | } | |
12176 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12177 | { | |
12178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12179 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); | |
12180 | wxPyEndAllowThreads(__tstate); | |
12181 | if (PyErr_Occurred()) SWIG_fail; | |
12182 | } | |
12183 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12184 | return resultobj; | |
12185 | fail: | |
12186 | return NULL; | |
12187 | } | |
12188 | ||
12189 | ||
10044bf1 RD |
12190 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
12191 | PyObject *resultobj = 0; | |
12192 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12193 | int arg2 ; | |
12194 | void *argp1 = 0 ; | |
12195 | int res1 = 0 ; | |
12196 | int val2 ; | |
12197 | int ecode2 = 0 ; | |
12198 | PyObject * obj0 = 0 ; | |
12199 | PyObject * obj1 = 0 ; | |
12200 | char * kwnames[] = { | |
12201 | (char *) "self",(char *) "s", NULL | |
12202 | }; | |
12203 | ||
12204 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
12205 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12206 | if (!SWIG_IsOK(res1)) { | |
12207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12208 | } | |
12209 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12210 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
12211 | if (!SWIG_IsOK(ecode2)) { | |
12212 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
12213 | } | |
12214 | arg2 = static_cast< int >(val2); | |
12215 | { | |
12216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12217 | (arg1)->SetOldSelection(arg2); | |
12218 | wxPyEndAllowThreads(__tstate); | |
12219 | if (PyErr_Occurred()) SWIG_fail; | |
12220 | } | |
12221 | resultobj = SWIG_Py_Void(); | |
12222 | return resultobj; | |
12223 | fail: | |
12224 | return NULL; | |
12225 | } | |
12226 | ||
12227 | ||
d95b9f2b | 12228 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
12229 | PyObject *resultobj = 0; |
12230 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12231 | int result; | |
12232 | void *argp1 = 0 ; | |
12233 | int res1 = 0 ; | |
12234 | PyObject *swig_obj[1] ; | |
12235 | ||
12236 | if (!args) SWIG_fail; | |
12237 | swig_obj[0] = args; | |
12238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12239 | if (!SWIG_IsOK(res1)) { | |
d95b9f2b | 12240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
10044bf1 RD |
12241 | } |
12242 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12243 | { | |
12244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d95b9f2b | 12245 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
10044bf1 RD |
12246 | wxPyEndAllowThreads(__tstate); |
12247 | if (PyErr_Occurred()) SWIG_fail; | |
12248 | } | |
12249 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12250 | return resultobj; | |
12251 | fail: | |
12252 | return NULL; | |
12253 | } | |
12254 | ||
12255 | ||
d95b9f2b | 12256 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
12257 | PyObject *resultobj = 0; |
12258 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
d95b9f2b RD |
12259 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; |
12260 | void *argp1 = 0 ; | |
12261 | int res1 = 0 ; | |
12262 | void *argp2 = 0 ; | |
12263 | int res2 = 0 ; | |
12264 | PyObject * obj0 = 0 ; | |
12265 | PyObject * obj1 = 0 ; | |
12266 | char * kwnames[] = { | |
12267 | (char *) "self",(char *) "s", NULL | |
12268 | }; | |
12269 | ||
12270 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; | |
12271 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12272 | if (!SWIG_IsOK(res1)) { | |
12273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12274 | } | |
12275 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12276 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
12277 | if (!SWIG_IsOK(res2)) { | |
12278 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); | |
12279 | } | |
12280 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); | |
12281 | { | |
12282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12283 | (arg1)->SetDragSource(arg2); | |
12284 | wxPyEndAllowThreads(__tstate); | |
12285 | if (PyErr_Occurred()) SWIG_fail; | |
12286 | } | |
12287 | resultobj = SWIG_Py_Void(); | |
12288 | return resultobj; | |
12289 | fail: | |
12290 | return NULL; | |
12291 | } | |
12292 | ||
12293 | ||
12294 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12295 | PyObject *resultobj = 0; | |
12296 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12297 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
12298 | void *argp1 = 0 ; |
12299 | int res1 = 0 ; | |
12300 | PyObject *swig_obj[1] ; | |
12301 | ||
12302 | if (!args) SWIG_fail; | |
12303 | swig_obj[0] = args; | |
12304 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12305 | if (!SWIG_IsOK(res1)) { | |
d95b9f2b | 12306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
10044bf1 RD |
12307 | } |
12308 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12309 | { | |
12310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d95b9f2b | 12311 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
10044bf1 RD |
12312 | wxPyEndAllowThreads(__tstate); |
12313 | if (PyErr_Occurred()) SWIG_fail; | |
12314 | } | |
d95b9f2b | 12315 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 RD |
12316 | return resultobj; |
12317 | fail: | |
12318 | return NULL; | |
12319 | } | |
12320 | ||
12321 | ||
12322 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12323 | PyObject *resultobj = 0; | |
12324 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12325 | int arg2 ; | |
12326 | void *argp1 = 0 ; | |
12327 | int res1 = 0 ; | |
12328 | int val2 ; | |
12329 | int ecode2 = 0 ; | |
12330 | PyObject *swig_obj[2] ; | |
12331 | ||
12332 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; | |
12333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12334 | if (!SWIG_IsOK(res1)) { | |
12335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12336 | } | |
12337 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12338 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12339 | if (!SWIG_IsOK(ecode2)) { | |
12340 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
12341 | } | |
12342 | arg2 = static_cast< int >(val2); | |
12343 | if (arg1) (arg1)->old_selection = arg2; | |
12344 | ||
12345 | resultobj = SWIG_Py_Void(); | |
12346 | return resultobj; | |
12347 | fail: | |
12348 | return NULL; | |
12349 | } | |
12350 | ||
12351 | ||
12352 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12353 | PyObject *resultobj = 0; | |
12354 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12355 | int result; | |
12356 | void *argp1 = 0 ; | |
12357 | int res1 = 0 ; | |
12358 | PyObject *swig_obj[1] ; | |
12359 | ||
12360 | if (!args) SWIG_fail; | |
12361 | swig_obj[0] = args; | |
12362 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12363 | if (!SWIG_IsOK(res1)) { | |
12364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12365 | } | |
12366 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12367 | result = (int) ((arg1)->old_selection); | |
12368 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12369 | return resultobj; | |
12370 | fail: | |
12371 | return NULL; | |
12372 | } | |
12373 | ||
12374 | ||
12375 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12376 | PyObject *resultobj = 0; | |
12377 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12378 | int arg2 ; | |
12379 | void *argp1 = 0 ; | |
12380 | int res1 = 0 ; | |
12381 | int val2 ; | |
12382 | int ecode2 = 0 ; | |
12383 | PyObject *swig_obj[2] ; | |
12384 | ||
12385 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12386 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12387 | if (!SWIG_IsOK(res1)) { | |
12388 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12389 | } | |
12390 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12391 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12392 | if (!SWIG_IsOK(ecode2)) { | |
12393 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
12394 | } | |
12395 | arg2 = static_cast< int >(val2); | |
12396 | if (arg1) (arg1)->selection = arg2; | |
12397 | ||
12398 | resultobj = SWIG_Py_Void(); | |
12399 | return resultobj; | |
12400 | fail: | |
12401 | return NULL; | |
12402 | } | |
12403 | ||
12404 | ||
12405 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12406 | PyObject *resultobj = 0; | |
12407 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12408 | int result; | |
12409 | void *argp1 = 0 ; | |
12410 | int res1 = 0 ; | |
12411 | PyObject *swig_obj[1] ; | |
12412 | ||
12413 | if (!args) SWIG_fail; | |
12414 | swig_obj[0] = args; | |
12415 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12416 | if (!SWIG_IsOK(res1)) { | |
12417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12418 | } | |
12419 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12420 | result = (int) ((arg1)->selection); | |
12421 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12422 | return resultobj; | |
12423 | fail: | |
12424 | return NULL; | |
12425 | } | |
12426 | ||
12427 | ||
d95b9f2b RD |
12428 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12429 | PyObject *resultobj = 0; | |
12430 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12431 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
12432 | void *argp1 = 0 ; | |
12433 | int res1 = 0 ; | |
12434 | void *argp2 = 0 ; | |
12435 | int res2 = 0 ; | |
12436 | PyObject *swig_obj[2] ; | |
12437 | ||
12438 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; | |
12439 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12440 | if (!SWIG_IsOK(res1)) { | |
12441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12442 | } | |
12443 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12444 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
12445 | if (!SWIG_IsOK(res2)) { | |
12446 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); | |
12447 | } | |
12448 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); | |
12449 | if (arg1) (arg1)->drag_source = arg2; | |
12450 | ||
12451 | resultobj = SWIG_Py_Void(); | |
12452 | return resultobj; | |
12453 | fail: | |
12454 | return NULL; | |
12455 | } | |
12456 | ||
12457 | ||
12458 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12459 | PyObject *resultobj = 0; | |
12460 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12461 | wxAuiNotebook *result = 0 ; | |
12462 | void *argp1 = 0 ; | |
12463 | int res1 = 0 ; | |
12464 | PyObject *swig_obj[1] ; | |
12465 | ||
12466 | if (!args) SWIG_fail; | |
12467 | swig_obj[0] = args; | |
12468 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12469 | if (!SWIG_IsOK(res1)) { | |
12470 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
12471 | } | |
12472 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); | |
12473 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12474 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
12475 | return resultobj; | |
12476 | fail: | |
12477 | return NULL; | |
12478 | } | |
12479 | ||
12480 | ||
10044bf1 RD |
12481 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12482 | PyObject *obj; | |
12483 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12484 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12485 | return SWIG_Py_Void(); | |
12486 | } | |
12487 | ||
12488 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12489 | return SWIG_Python_InitShadowInstance(args); | |
12490 | } | |
12491 | ||
12492 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12493 | PyObject *resultobj = 0; | |
12494 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12495 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12496 | void *argp1 = 0 ; | |
12497 | int res1 = 0 ; | |
12498 | void *argp2 = 0 ; | |
12499 | int res2 = 0 ; | |
12500 | PyObject *swig_obj[2] ; | |
12501 | ||
12502 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; | |
12503 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12504 | if (!SWIG_IsOK(res1)) { | |
12505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12506 | } | |
12507 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12508 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12509 | if (!SWIG_IsOK(res2)) { | |
12510 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
12511 | } | |
12512 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
12513 | if (arg1) (arg1)->window = arg2; | |
12514 | ||
12515 | resultobj = SWIG_Py_Void(); | |
12516 | return resultobj; | |
12517 | fail: | |
12518 | return NULL; | |
12519 | } | |
12520 | ||
12521 | ||
12522 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12523 | PyObject *resultobj = 0; | |
12524 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12525 | wxWindow *result = 0 ; | |
12526 | void *argp1 = 0 ; | |
12527 | int res1 = 0 ; | |
12528 | PyObject *swig_obj[1] ; | |
12529 | ||
12530 | if (!args) SWIG_fail; | |
12531 | swig_obj[0] = args; | |
12532 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12533 | if (!SWIG_IsOK(res1)) { | |
12534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12535 | } | |
12536 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12537 | result = (wxWindow *) ((arg1)->window); | |
12538 | { | |
12539 | resultobj = wxPyMake_wxObject(result, 0); | |
12540 | } | |
12541 | return resultobj; | |
12542 | fail: | |
12543 | return NULL; | |
12544 | } | |
12545 | ||
12546 | ||
12547 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12548 | PyObject *resultobj = 0; | |
12549 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12550 | wxString *arg2 = (wxString *) 0 ; | |
12551 | void *argp1 = 0 ; | |
12552 | int res1 = 0 ; | |
12553 | bool temp2 = false ; | |
12554 | PyObject *swig_obj[2] ; | |
12555 | ||
12556 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; | |
12557 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12558 | if (!SWIG_IsOK(res1)) { | |
12559 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12560 | } | |
12561 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12562 | { | |
12563 | arg2 = wxString_in_helper(swig_obj[1]); | |
12564 | if (arg2 == NULL) SWIG_fail; | |
12565 | temp2 = true; | |
12566 | } | |
12567 | if (arg1) (arg1)->caption = *arg2; | |
12568 | ||
12569 | resultobj = SWIG_Py_Void(); | |
12570 | { | |
12571 | if (temp2) | |
12572 | delete arg2; | |
12573 | } | |
12574 | return resultobj; | |
12575 | fail: | |
12576 | { | |
12577 | if (temp2) | |
12578 | delete arg2; | |
12579 | } | |
12580 | return NULL; | |
12581 | } | |
12582 | ||
12583 | ||
12584 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12585 | PyObject *resultobj = 0; | |
12586 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12587 | wxString *result = 0 ; | |
12588 | void *argp1 = 0 ; | |
12589 | int res1 = 0 ; | |
12590 | PyObject *swig_obj[1] ; | |
12591 | ||
12592 | if (!args) SWIG_fail; | |
12593 | swig_obj[0] = args; | |
12594 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12595 | if (!SWIG_IsOK(res1)) { | |
12596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12597 | } | |
12598 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12599 | result = (wxString *)& ((arg1)->caption); | |
12600 | { | |
12601 | #if wxUSE_UNICODE | |
12602 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12603 | #else | |
12604 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12605 | #endif | |
12606 | } | |
12607 | return resultobj; | |
12608 | fail: | |
12609 | return NULL; | |
12610 | } | |
12611 | ||
12612 | ||
12613 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12614 | PyObject *resultobj = 0; | |
12615 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12616 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12617 | void *argp1 = 0 ; | |
12618 | int res1 = 0 ; | |
12619 | void *argp2 = 0 ; | |
12620 | int res2 = 0 ; | |
12621 | PyObject *swig_obj[2] ; | |
12622 | ||
12623 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12624 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12625 | if (!SWIG_IsOK(res1)) { | |
12626 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12627 | } | |
12628 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12629 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12630 | if (!SWIG_IsOK(res2)) { | |
12631 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12632 | } | |
12633 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12634 | if (arg1) (arg1)->bitmap = *arg2; | |
12635 | ||
12636 | resultobj = SWIG_Py_Void(); | |
12637 | return resultobj; | |
12638 | fail: | |
12639 | return NULL; | |
12640 | } | |
12641 | ||
12642 | ||
12643 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12644 | PyObject *resultobj = 0; | |
12645 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12646 | wxBitmap *result = 0 ; | |
12647 | void *argp1 = 0 ; | |
12648 | int res1 = 0 ; | |
12649 | PyObject *swig_obj[1] ; | |
12650 | ||
12651 | if (!args) SWIG_fail; | |
12652 | swig_obj[0] = args; | |
12653 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12654 | if (!SWIG_IsOK(res1)) { | |
12655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12656 | } | |
12657 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12658 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12659 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12660 | return resultobj; | |
12661 | fail: | |
12662 | return NULL; | |
12663 | } | |
12664 | ||
12665 | ||
12666 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12667 | PyObject *resultobj = 0; | |
12668 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12669 | wxRect *arg2 = (wxRect *) 0 ; | |
12670 | void *argp1 = 0 ; | |
12671 | int res1 = 0 ; | |
12672 | void *argp2 = 0 ; | |
12673 | int res2 = 0 ; | |
12674 | PyObject *swig_obj[2] ; | |
12675 | ||
12676 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; | |
12677 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12678 | if (!SWIG_IsOK(res1)) { | |
12679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12680 | } | |
12681 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12682 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12683 | if (!SWIG_IsOK(res2)) { | |
12684 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
12685 | } | |
12686 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12687 | if (arg1) (arg1)->rect = *arg2; | |
12688 | ||
12689 | resultobj = SWIG_Py_Void(); | |
12690 | return resultobj; | |
12691 | fail: | |
12692 | return NULL; | |
12693 | } | |
12694 | ||
12695 | ||
12696 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12697 | PyObject *resultobj = 0; | |
12698 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12699 | wxRect *result = 0 ; | |
12700 | void *argp1 = 0 ; | |
12701 | int res1 = 0 ; | |
12702 | PyObject *swig_obj[1] ; | |
12703 | ||
12704 | if (!args) SWIG_fail; | |
12705 | swig_obj[0] = args; | |
12706 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12707 | if (!SWIG_IsOK(res1)) { | |
12708 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12709 | } | |
12710 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12711 | result = (wxRect *)& ((arg1)->rect); | |
12712 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12713 | return resultobj; | |
12714 | fail: | |
12715 | return NULL; | |
12716 | } | |
12717 | ||
12718 | ||
12719 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12720 | PyObject *resultobj = 0; | |
12721 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12722 | bool arg2 ; | |
12723 | void *argp1 = 0 ; | |
12724 | int res1 = 0 ; | |
12725 | bool val2 ; | |
12726 | int ecode2 = 0 ; | |
12727 | PyObject *swig_obj[2] ; | |
12728 | ||
12729 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; | |
12730 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12731 | if (!SWIG_IsOK(res1)) { | |
12732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12733 | } | |
12734 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12735 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
12736 | if (!SWIG_IsOK(ecode2)) { | |
12737 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); | |
12738 | } | |
12739 | arg2 = static_cast< bool >(val2); | |
12740 | if (arg1) (arg1)->active = arg2; | |
12741 | ||
12742 | resultobj = SWIG_Py_Void(); | |
12743 | return resultobj; | |
12744 | fail: | |
12745 | return NULL; | |
12746 | } | |
12747 | ||
12748 | ||
12749 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12750 | PyObject *resultobj = 0; | |
12751 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; | |
12752 | bool result; | |
12753 | void *argp1 = 0 ; | |
12754 | int res1 = 0 ; | |
12755 | PyObject *swig_obj[1] ; | |
12756 | ||
12757 | if (!args) SWIG_fail; | |
12758 | swig_obj[0] = args; | |
12759 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12760 | if (!SWIG_IsOK(res1)) { | |
12761 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
12762 | } | |
12763 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12764 | result = (bool) ((arg1)->active); | |
12765 | { | |
12766 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12767 | } | |
12768 | return resultobj; | |
12769 | fail: | |
12770 | return NULL; | |
12771 | } | |
12772 | ||
12773 | ||
12774 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12775 | PyObject *obj; | |
12776 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12777 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12778 | return SWIG_Py_Void(); | |
12779 | } | |
12780 | ||
12781 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12782 | PyObject *resultobj = 0; | |
12783 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12784 | int arg2 ; | |
12785 | void *argp1 = 0 ; | |
12786 | int res1 = 0 ; | |
12787 | int val2 ; | |
12788 | int ecode2 = 0 ; | |
12789 | PyObject *swig_obj[2] ; | |
12790 | ||
12791 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; | |
12792 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12793 | if (!SWIG_IsOK(res1)) { | |
12794 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12795 | } | |
12796 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12797 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12798 | if (!SWIG_IsOK(ecode2)) { | |
12799 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); | |
12800 | } | |
12801 | arg2 = static_cast< int >(val2); | |
12802 | if (arg1) (arg1)->id = arg2; | |
12803 | ||
12804 | resultobj = SWIG_Py_Void(); | |
12805 | return resultobj; | |
12806 | fail: | |
12807 | return NULL; | |
12808 | } | |
12809 | ||
12810 | ||
12811 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12812 | PyObject *resultobj = 0; | |
12813 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12814 | int result; | |
12815 | void *argp1 = 0 ; | |
12816 | int res1 = 0 ; | |
12817 | PyObject *swig_obj[1] ; | |
12818 | ||
12819 | if (!args) SWIG_fail; | |
12820 | swig_obj[0] = args; | |
12821 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12822 | if (!SWIG_IsOK(res1)) { | |
12823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12824 | } | |
12825 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12826 | result = (int) ((arg1)->id); | |
12827 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12828 | return resultobj; | |
12829 | fail: | |
12830 | return NULL; | |
12831 | } | |
12832 | ||
12833 | ||
12834 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12835 | PyObject *resultobj = 0; | |
12836 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12837 | int arg2 ; | |
12838 | void *argp1 = 0 ; | |
12839 | int res1 = 0 ; | |
12840 | int val2 ; | |
12841 | int ecode2 = 0 ; | |
12842 | PyObject *swig_obj[2] ; | |
12843 | ||
12844 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; | |
12845 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12846 | if (!SWIG_IsOK(res1)) { | |
12847 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12848 | } | |
12849 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12850 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12851 | if (!SWIG_IsOK(ecode2)) { | |
12852 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12853 | } | |
12854 | arg2 = static_cast< int >(val2); | |
12855 | if (arg1) (arg1)->cur_state = arg2; | |
12856 | ||
12857 | resultobj = SWIG_Py_Void(); | |
12858 | return resultobj; | |
12859 | fail: | |
12860 | return NULL; | |
12861 | } | |
12862 | ||
12863 | ||
12864 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12865 | PyObject *resultobj = 0; | |
12866 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12867 | int result; | |
12868 | void *argp1 = 0 ; | |
12869 | int res1 = 0 ; | |
12870 | PyObject *swig_obj[1] ; | |
12871 | ||
12872 | if (!args) SWIG_fail; | |
12873 | swig_obj[0] = args; | |
12874 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12875 | if (!SWIG_IsOK(res1)) { | |
12876 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12877 | } | |
12878 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12879 | result = (int) ((arg1)->cur_state); | |
12880 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12881 | return resultobj; | |
12882 | fail: | |
12883 | return NULL; | |
12884 | } | |
12885 | ||
12886 | ||
5c8c7dd3 RD |
12887 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12888 | PyObject *resultobj = 0; | |
12889 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12890 | int arg2 ; | |
12891 | void *argp1 = 0 ; | |
12892 | int res1 = 0 ; | |
12893 | int val2 ; | |
12894 | int ecode2 = 0 ; | |
12895 | PyObject *swig_obj[2] ; | |
12896 | ||
12897 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; | |
12898 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12899 | if (!SWIG_IsOK(res1)) { | |
12900 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12901 | } | |
12902 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12903 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12904 | if (!SWIG_IsOK(ecode2)) { | |
12905 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12906 | } | |
12907 | arg2 = static_cast< int >(val2); | |
12908 | if (arg1) (arg1)->location = arg2; | |
12909 | ||
12910 | resultobj = SWIG_Py_Void(); | |
12911 | return resultobj; | |
12912 | fail: | |
12913 | return NULL; | |
12914 | } | |
12915 | ||
12916 | ||
12917 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12918 | PyObject *resultobj = 0; | |
12919 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12920 | int result; | |
12921 | void *argp1 = 0 ; | |
12922 | int res1 = 0 ; | |
12923 | PyObject *swig_obj[1] ; | |
12924 | ||
12925 | if (!args) SWIG_fail; | |
12926 | swig_obj[0] = args; | |
12927 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12928 | if (!SWIG_IsOK(res1)) { | |
12929 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12930 | } | |
12931 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12932 | result = (int) ((arg1)->location); | |
12933 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12934 | return resultobj; | |
12935 | fail: | |
12936 | return NULL; | |
12937 | } | |
12938 | ||
12939 | ||
10044bf1 RD |
12940 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12941 | PyObject *resultobj = 0; | |
12942 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12943 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12944 | void *argp1 = 0 ; | |
12945 | int res1 = 0 ; | |
12946 | void *argp2 = 0 ; | |
12947 | int res2 = 0 ; | |
12948 | PyObject *swig_obj[2] ; | |
12949 | ||
12950 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
12951 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12952 | if (!SWIG_IsOK(res1)) { | |
12953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12954 | } | |
12955 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12956 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12957 | if (!SWIG_IsOK(res2)) { | |
12958 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
12959 | } | |
12960 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
12961 | if (arg1) (arg1)->bitmap = *arg2; | |
12962 | ||
12963 | resultobj = SWIG_Py_Void(); | |
12964 | return resultobj; | |
12965 | fail: | |
12966 | return NULL; | |
12967 | } | |
12968 | ||
12969 | ||
12970 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12971 | PyObject *resultobj = 0; | |
12972 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12973 | wxBitmap *result = 0 ; | |
12974 | void *argp1 = 0 ; | |
12975 | int res1 = 0 ; | |
12976 | PyObject *swig_obj[1] ; | |
12977 | ||
12978 | if (!args) SWIG_fail; | |
12979 | swig_obj[0] = args; | |
12980 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
12981 | if (!SWIG_IsOK(res1)) { | |
12982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
12983 | } | |
12984 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
12985 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12986 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12987 | return resultobj; | |
12988 | fail: | |
12989 | return NULL; | |
12990 | } | |
12991 | ||
12992 | ||
8f514ab4 RD |
12993 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12994 | PyObject *resultobj = 0; | |
12995 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
12996 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
12997 | void *argp1 = 0 ; | |
12998 | int res1 = 0 ; | |
12999 | void *argp2 = 0 ; | |
13000 | int res2 = 0 ; | |
13001 | PyObject *swig_obj[2] ; | |
13002 | ||
13003 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; | |
13004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
13005 | if (!SWIG_IsOK(res1)) { | |
13006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
13007 | } | |
13008 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
13009 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
13010 | if (!SWIG_IsOK(res2)) { | |
13011 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
13012 | } | |
13013 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
13014 | if (arg1) (arg1)->dis_bitmap = *arg2; | |
13015 | ||
13016 | resultobj = SWIG_Py_Void(); | |
13017 | return resultobj; | |
13018 | fail: | |
13019 | return NULL; | |
13020 | } | |
13021 | ||
13022 | ||
13023 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13024 | PyObject *resultobj = 0; | |
13025 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
13026 | wxBitmap *result = 0 ; | |
13027 | void *argp1 = 0 ; | |
13028 | int res1 = 0 ; | |
13029 | PyObject *swig_obj[1] ; | |
13030 | ||
13031 | if (!args) SWIG_fail; | |
13032 | swig_obj[0] = args; | |
13033 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
13034 | if (!SWIG_IsOK(res1)) { | |
13035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
13036 | } | |
13037 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
13038 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
13039 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
13040 | return resultobj; | |
13041 | fail: | |
13042 | return NULL; | |
13043 | } | |
13044 | ||
13045 | ||
10044bf1 RD |
13046 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13047 | PyObject *resultobj = 0; | |
13048 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
13049 | wxRect *arg2 = (wxRect *) 0 ; | |
13050 | void *argp1 = 0 ; | |
13051 | int res1 = 0 ; | |
13052 | void *argp2 = 0 ; | |
13053 | int res2 = 0 ; | |
13054 | PyObject *swig_obj[2] ; | |
13055 | ||
13056 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; | |
13057 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
13058 | if (!SWIG_IsOK(res1)) { | |
13059 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
13060 | } | |
13061 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
13062 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13063 | if (!SWIG_IsOK(res2)) { | |
13064 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); | |
13065 | } | |
13066 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
13067 | if (arg1) (arg1)->rect = *arg2; | |
13068 | ||
13069 | resultobj = SWIG_Py_Void(); | |
13070 | return resultobj; | |
13071 | fail: | |
13072 | return NULL; | |
13073 | } | |
13074 | ||
13075 | ||
13076 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13077 | PyObject *resultobj = 0; | |
13078 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; | |
13079 | wxRect *result = 0 ; | |
13080 | void *argp1 = 0 ; | |
13081 | int res1 = 0 ; | |
13082 | PyObject *swig_obj[1] ; | |
13083 | ||
13084 | if (!args) SWIG_fail; | |
13085 | swig_obj[0] = args; | |
13086 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
13087 | if (!SWIG_IsOK(res1)) { | |
13088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
13089 | } | |
13090 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); | |
13091 | result = (wxRect *)& ((arg1)->rect); | |
13092 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
13093 | return resultobj; | |
13094 | fail: | |
13095 | return NULL; | |
13096 | } | |
13097 | ||
13098 | ||
13099 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13100 | PyObject *obj; | |
13101 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13102 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
13103 | return SWIG_Py_Void(); | |
13104 | } | |
13105 | ||
13106 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13107 | PyObject *resultobj = 0; | |
13108 | wxAuiTabContainer *result = 0 ; | |
13109 | ||
13110 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13111 | { | |
13112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13113 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13114 | wxPyEndAllowThreads(__tstate); | |
13115 | if (PyErr_Occurred()) SWIG_fail; | |
13116 | } | |
13117 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13118 | return resultobj; | |
13119 | fail: | |
13120 | return NULL; | |
13121 | } | |
13122 | ||
13123 | ||
13124 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13125 | PyObject *resultobj = 0; | |
13126 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13127 | void *argp1 = 0 ; | |
13128 | int res1 = 0 ; | |
13129 | PyObject *swig_obj[1] ; | |
13130 | ||
13131 | if (!args) SWIG_fail; | |
13132 | swig_obj[0] = args; | |
13133 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13134 | if (!SWIG_IsOK(res1)) { | |
13135 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13136 | } | |
13137 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13138 | { | |
13139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13140 | delete arg1; | |
13141 | ||
13142 | wxPyEndAllowThreads(__tstate); | |
13143 | if (PyErr_Occurred()) SWIG_fail; | |
13144 | } | |
13145 | resultobj = SWIG_Py_Void(); | |
13146 | return resultobj; | |
13147 | fail: | |
13148 | return NULL; | |
13149 | } | |
13150 | ||
13151 | ||
5c8c7dd3 RD |
13152 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13153 | PyObject *resultobj = 0; | |
13154 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13155 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13156 | void *argp1 = 0 ; |
13157 | int res1 = 0 ; | |
13158 | void *argp2 = 0 ; | |
13159 | int res2 = 0 ; | |
13160 | PyObject * obj0 = 0 ; | |
13161 | PyObject * obj1 = 0 ; | |
13162 | char * kwnames[] = { | |
13163 | (char *) "self",(char *) "art", NULL | |
13164 | }; | |
13165 | ||
13166 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13167 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13168 | if (!SWIG_IsOK(res1)) { | |
13169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13170 | } | |
13171 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13172 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13173 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13174 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13175 | } |
5eb8189c | 13176 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13177 | { |
13178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13179 | (arg1)->SetArtProvider(arg2); | |
13180 | wxPyEndAllowThreads(__tstate); | |
13181 | if (PyErr_Occurred()) SWIG_fail; | |
13182 | } | |
13183 | resultobj = SWIG_Py_Void(); | |
13184 | return resultobj; | |
13185 | fail: | |
13186 | return NULL; | |
13187 | } | |
13188 | ||
13189 | ||
13190 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13191 | PyObject *resultobj = 0; | |
13192 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13193 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13194 | void *argp1 = 0 ; |
13195 | int res1 = 0 ; | |
13196 | PyObject *swig_obj[1] ; | |
13197 | ||
13198 | if (!args) SWIG_fail; | |
13199 | swig_obj[0] = args; | |
13200 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13201 | if (!SWIG_IsOK(res1)) { | |
13202 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13203 | } | |
13204 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13205 | { | |
13206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
13207 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); |
13208 | wxPyEndAllowThreads(__tstate); | |
13209 | if (PyErr_Occurred()) SWIG_fail; | |
13210 | } | |
13211 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13212 | return resultobj; | |
13213 | fail: | |
13214 | return NULL; | |
13215 | } | |
13216 | ||
13217 | ||
13218 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13219 | PyObject *resultobj = 0; | |
13220 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13221 | int arg2 ; | |
13222 | void *argp1 = 0 ; | |
13223 | int res1 = 0 ; | |
13224 | int val2 ; | |
13225 | int ecode2 = 0 ; | |
13226 | PyObject * obj0 = 0 ; | |
13227 | PyObject * obj1 = 0 ; | |
13228 | char * kwnames[] = { | |
13229 | (char *) "self",(char *) "flags", NULL | |
13230 | }; | |
13231 | ||
13232 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13233 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13234 | if (!SWIG_IsOK(res1)) { | |
13235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13236 | } | |
13237 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13238 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13239 | if (!SWIG_IsOK(ecode2)) { | |
13240 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13241 | } | |
13242 | arg2 = static_cast< int >(val2); | |
13243 | { | |
13244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13245 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13246 | wxPyEndAllowThreads(__tstate); |
13247 | if (PyErr_Occurred()) SWIG_fail; | |
13248 | } | |
5eb8189c RD |
13249 | resultobj = SWIG_Py_Void(); |
13250 | return resultobj; | |
13251 | fail: | |
13252 | return NULL; | |
13253 | } | |
13254 | ||
13255 | ||
13256 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13257 | PyObject *resultobj = 0; | |
13258 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13259 | int result; | |
13260 | void *argp1 = 0 ; | |
13261 | int res1 = 0 ; | |
13262 | PyObject *swig_obj[1] ; | |
13263 | ||
13264 | if (!args) SWIG_fail; | |
13265 | swig_obj[0] = args; | |
13266 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13267 | if (!SWIG_IsOK(res1)) { | |
13268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13269 | } | |
13270 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13271 | { | |
13272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13273 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13274 | wxPyEndAllowThreads(__tstate); | |
13275 | if (PyErr_Occurred()) SWIG_fail; | |
13276 | } | |
13277 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13278 | return resultobj; |
13279 | fail: | |
13280 | return NULL; | |
13281 | } | |
13282 | ||
13283 | ||
10044bf1 RD |
13284 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13285 | PyObject *resultobj = 0; | |
13286 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13287 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13288 | wxAuiNotebookPage *arg3 = 0 ; | |
13289 | bool result; | |
13290 | void *argp1 = 0 ; | |
13291 | int res1 = 0 ; | |
13292 | void *argp2 = 0 ; | |
13293 | int res2 = 0 ; | |
13294 | void *argp3 = 0 ; | |
13295 | int res3 = 0 ; | |
13296 | PyObject * obj0 = 0 ; | |
13297 | PyObject * obj1 = 0 ; | |
13298 | PyObject * obj2 = 0 ; | |
13299 | char * kwnames[] = { | |
13300 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13301 | }; | |
13302 | ||
13303 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13304 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13305 | if (!SWIG_IsOK(res1)) { | |
13306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13307 | } | |
13308 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13309 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13310 | if (!SWIG_IsOK(res2)) { | |
13311 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13312 | } | |
13313 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13314 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13315 | if (!SWIG_IsOK(res3)) { | |
13316 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13317 | } | |
13318 | if (!argp3) { | |
13319 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13320 | } | |
13321 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13322 | { | |
13323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13324 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13325 | wxPyEndAllowThreads(__tstate); | |
13326 | if (PyErr_Occurred()) SWIG_fail; | |
13327 | } | |
13328 | { | |
13329 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13330 | } | |
13331 | return resultobj; | |
13332 | fail: | |
13333 | return NULL; | |
13334 | } | |
13335 | ||
13336 | ||
13337 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13338 | PyObject *resultobj = 0; | |
13339 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13340 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13341 | wxAuiNotebookPage *arg3 = 0 ; | |
13342 | size_t arg4 ; | |
13343 | bool result; | |
13344 | void *argp1 = 0 ; | |
13345 | int res1 = 0 ; | |
13346 | void *argp2 = 0 ; | |
13347 | int res2 = 0 ; | |
13348 | void *argp3 = 0 ; | |
13349 | int res3 = 0 ; | |
13350 | size_t val4 ; | |
13351 | int ecode4 = 0 ; | |
13352 | PyObject * obj0 = 0 ; | |
13353 | PyObject * obj1 = 0 ; | |
13354 | PyObject * obj2 = 0 ; | |
13355 | PyObject * obj3 = 0 ; | |
13356 | char * kwnames[] = { | |
13357 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13358 | }; | |
13359 | ||
13360 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13361 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13362 | if (!SWIG_IsOK(res1)) { | |
13363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13364 | } | |
13365 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13366 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13367 | if (!SWIG_IsOK(res2)) { | |
13368 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13369 | } | |
13370 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13371 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13372 | if (!SWIG_IsOK(res3)) { | |
13373 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13374 | } | |
13375 | if (!argp3) { | |
13376 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13377 | } | |
13378 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13379 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13380 | if (!SWIG_IsOK(ecode4)) { | |
13381 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13382 | } | |
13383 | arg4 = static_cast< size_t >(val4); | |
13384 | { | |
13385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13386 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13387 | wxPyEndAllowThreads(__tstate); | |
13388 | if (PyErr_Occurred()) SWIG_fail; | |
13389 | } | |
13390 | { | |
13391 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13392 | } | |
13393 | return resultobj; | |
13394 | fail: | |
13395 | return NULL; | |
13396 | } | |
13397 | ||
13398 | ||
580080c5 RD |
13399 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13400 | PyObject *resultobj = 0; | |
13401 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13402 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13403 | size_t arg3 ; | |
13404 | bool result; | |
13405 | void *argp1 = 0 ; | |
13406 | int res1 = 0 ; | |
13407 | void *argp2 = 0 ; | |
13408 | int res2 = 0 ; | |
13409 | size_t val3 ; | |
13410 | int ecode3 = 0 ; | |
13411 | PyObject * obj0 = 0 ; | |
13412 | PyObject * obj1 = 0 ; | |
13413 | PyObject * obj2 = 0 ; | |
13414 | char * kwnames[] = { | |
13415 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13416 | }; | |
13417 | ||
13418 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13419 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13420 | if (!SWIG_IsOK(res1)) { | |
13421 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13422 | } | |
13423 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13424 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13425 | if (!SWIG_IsOK(res2)) { | |
13426 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13427 | } | |
13428 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13429 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13430 | if (!SWIG_IsOK(ecode3)) { | |
13431 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
13432 | } | |
13433 | arg3 = static_cast< size_t >(val3); | |
13434 | { | |
13435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13436 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
13437 | wxPyEndAllowThreads(__tstate); | |
13438 | if (PyErr_Occurred()) SWIG_fail; | |
13439 | } | |
13440 | { | |
13441 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13442 | } | |
13443 | return resultobj; | |
13444 | fail: | |
13445 | return NULL; | |
13446 | } | |
13447 | ||
13448 | ||
10044bf1 RD |
13449 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13450 | PyObject *resultobj = 0; | |
13451 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13452 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13453 | bool result; | |
13454 | void *argp1 = 0 ; | |
13455 | int res1 = 0 ; | |
13456 | void *argp2 = 0 ; | |
13457 | int res2 = 0 ; | |
13458 | PyObject * obj0 = 0 ; | |
13459 | PyObject * obj1 = 0 ; | |
13460 | char * kwnames[] = { | |
13461 | (char *) "self",(char *) "page", NULL | |
13462 | }; | |
13463 | ||
13464 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13465 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13466 | if (!SWIG_IsOK(res1)) { | |
13467 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13468 | } | |
13469 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13470 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13471 | if (!SWIG_IsOK(res2)) { | |
13472 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13473 | } | |
13474 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13475 | { | |
13476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13477 | result = (bool)(arg1)->RemovePage(arg2); | |
13478 | wxPyEndAllowThreads(__tstate); | |
13479 | if (PyErr_Occurred()) SWIG_fail; | |
13480 | } | |
13481 | { | |
13482 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13483 | } | |
13484 | return resultobj; | |
13485 | fail: | |
13486 | return NULL; | |
13487 | } | |
13488 | ||
13489 | ||
13490 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13491 | PyObject *resultobj = 0; | |
13492 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13493 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13494 | bool result; | |
13495 | void *argp1 = 0 ; | |
13496 | int res1 = 0 ; | |
13497 | void *argp2 = 0 ; | |
13498 | int res2 = 0 ; | |
13499 | ||
13500 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13501 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13502 | if (!SWIG_IsOK(res1)) { | |
13503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13504 | } | |
13505 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13506 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13507 | if (!SWIG_IsOK(res2)) { | |
13508 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13509 | } | |
13510 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13511 | { | |
13512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13513 | result = (bool)(arg1)->SetActivePage(arg2); | |
13514 | wxPyEndAllowThreads(__tstate); | |
13515 | if (PyErr_Occurred()) SWIG_fail; | |
13516 | } | |
13517 | { | |
13518 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13519 | } | |
13520 | return resultobj; | |
13521 | fail: | |
13522 | return NULL; | |
13523 | } | |
13524 | ||
13525 | ||
13526 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13527 | PyObject *resultobj = 0; | |
13528 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13529 | size_t arg2 ; | |
13530 | bool result; | |
13531 | void *argp1 = 0 ; | |
13532 | int res1 = 0 ; | |
13533 | size_t val2 ; | |
13534 | int ecode2 = 0 ; | |
13535 | ||
13536 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13537 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13538 | if (!SWIG_IsOK(res1)) { | |
13539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13540 | } | |
13541 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13542 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
13543 | if (!SWIG_IsOK(ecode2)) { | |
13544 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
13545 | } | |
13546 | arg2 = static_cast< size_t >(val2); | |
13547 | { | |
13548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13549 | result = (bool)(arg1)->SetActivePage(arg2); | |
13550 | wxPyEndAllowThreads(__tstate); | |
13551 | if (PyErr_Occurred()) SWIG_fail; | |
13552 | } | |
13553 | { | |
13554 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13555 | } | |
13556 | return resultobj; | |
13557 | fail: | |
13558 | return NULL; | |
13559 | } | |
13560 | ||
13561 | ||
13562 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
13563 | int argc; | |
13564 | PyObject *argv[3]; | |
13565 | ||
13566 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
13567 | --argc; | |
13568 | if (argc == 2) { | |
13569 | int _v = 0; | |
13570 | { | |
13571 | void *vptr = 0; | |
13572 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
13573 | _v = SWIG_CheckState(res); | |
13574 | } | |
13575 | if (!_v) goto check_1; | |
13576 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
13577 | } | |
13578 | check_1: | |
13579 | ||
13580 | if (argc == 2) { | |
13581 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
13582 | } | |
13583 | ||
13584 | fail: | |
13585 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
13586 | return NULL; | |
13587 | } | |
13588 | ||
13589 | ||
13590 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13591 | PyObject *resultobj = 0; | |
13592 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13593 | void *argp1 = 0 ; | |
13594 | int res1 = 0 ; | |
13595 | PyObject *swig_obj[1] ; | |
13596 | ||
13597 | if (!args) SWIG_fail; | |
13598 | swig_obj[0] = args; | |
13599 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13600 | if (!SWIG_IsOK(res1)) { | |
13601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13602 | } | |
13603 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13604 | { | |
13605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13606 | (arg1)->SetNoneActive(); | |
13607 | wxPyEndAllowThreads(__tstate); | |
13608 | if (PyErr_Occurred()) SWIG_fail; | |
13609 | } | |
13610 | resultobj = SWIG_Py_Void(); | |
13611 | return resultobj; | |
13612 | fail: | |
13613 | return NULL; | |
13614 | } | |
13615 | ||
13616 | ||
13617 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13618 | PyObject *resultobj = 0; | |
13619 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13620 | int result; | |
13621 | void *argp1 = 0 ; | |
13622 | int res1 = 0 ; | |
13623 | PyObject *swig_obj[1] ; | |
13624 | ||
13625 | if (!args) SWIG_fail; | |
13626 | swig_obj[0] = args; | |
13627 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13628 | if (!SWIG_IsOK(res1)) { | |
13629 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13630 | } | |
13631 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13632 | { | |
13633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13634 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
13635 | wxPyEndAllowThreads(__tstate); | |
13636 | if (PyErr_Occurred()) SWIG_fail; | |
13637 | } | |
13638 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13639 | return resultobj; | |
13640 | fail: | |
13641 | return NULL; | |
13642 | } | |
13643 | ||
13644 | ||
13645 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13646 | PyObject *resultobj = 0; | |
13647 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13648 | int arg2 ; | |
13649 | int arg3 ; | |
13650 | wxWindow **arg4 = (wxWindow **) 0 ; | |
13651 | bool result; | |
13652 | void *argp1 = 0 ; | |
13653 | int res1 = 0 ; | |
13654 | int val2 ; | |
13655 | int ecode2 = 0 ; | |
13656 | int val3 ; | |
13657 | int ecode3 = 0 ; | |
13658 | void *argp4 = 0 ; | |
13659 | int res4 = 0 ; | |
13660 | PyObject * obj0 = 0 ; | |
13661 | PyObject * obj1 = 0 ; | |
13662 | PyObject * obj2 = 0 ; | |
13663 | PyObject * obj3 = 0 ; | |
13664 | char * kwnames[] = { | |
13665 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13666 | }; | |
13667 | ||
13668 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13669 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13670 | if (!SWIG_IsOK(res1)) { | |
13671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13672 | } | |
13673 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13674 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13675 | if (!SWIG_IsOK(ecode2)) { | |
13676 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13677 | } | |
13678 | arg2 = static_cast< int >(val2); | |
13679 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13680 | if (!SWIG_IsOK(ecode3)) { | |
13681 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13682 | } | |
13683 | arg3 = static_cast< int >(val3); | |
13684 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
13685 | if (!SWIG_IsOK(res4)) { | |
13686 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
13687 | } | |
13688 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
13689 | { | |
13690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13691 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
13692 | wxPyEndAllowThreads(__tstate); | |
13693 | if (PyErr_Occurred()) SWIG_fail; | |
13694 | } | |
13695 | { | |
13696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13697 | } | |
13698 | return resultobj; | |
13699 | fail: | |
13700 | return NULL; | |
13701 | } | |
13702 | ||
13703 | ||
13704 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13705 | PyObject *resultobj = 0; | |
13706 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13707 | int arg2 ; | |
13708 | int arg3 ; | |
13709 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
13710 | bool result; | |
13711 | void *argp1 = 0 ; | |
13712 | int res1 = 0 ; | |
13713 | int val2 ; | |
13714 | int ecode2 = 0 ; | |
13715 | int val3 ; | |
13716 | int ecode3 = 0 ; | |
13717 | void *argp4 = 0 ; | |
13718 | int res4 = 0 ; | |
13719 | PyObject * obj0 = 0 ; | |
13720 | PyObject * obj1 = 0 ; | |
13721 | PyObject * obj2 = 0 ; | |
13722 | PyObject * obj3 = 0 ; | |
13723 | char * kwnames[] = { | |
13724 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13725 | }; | |
13726 | ||
13727 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13728 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13729 | if (!SWIG_IsOK(res1)) { | |
13730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13731 | } | |
13732 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13733 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13734 | if (!SWIG_IsOK(ecode2)) { | |
13735 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13736 | } | |
13737 | arg2 = static_cast< int >(val2); | |
13738 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13739 | if (!SWIG_IsOK(ecode3)) { | |
13740 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13741 | } | |
13742 | arg3 = static_cast< int >(val3); | |
13743 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
13744 | if (!SWIG_IsOK(res4)) { | |
13745 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
13746 | } | |
13747 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
13748 | { | |
13749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13750 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
13751 | wxPyEndAllowThreads(__tstate); | |
13752 | if (PyErr_Occurred()) SWIG_fail; | |
13753 | } | |
13754 | { | |
13755 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13756 | } | |
13757 | return resultobj; | |
13758 | fail: | |
13759 | return NULL; | |
13760 | } | |
13761 | ||
13762 | ||
13763 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13764 | PyObject *resultobj = 0; | |
13765 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13766 | size_t arg2 ; | |
13767 | wxWindow *result = 0 ; | |
13768 | void *argp1 = 0 ; | |
13769 | int res1 = 0 ; | |
13770 | size_t val2 ; | |
13771 | int ecode2 = 0 ; | |
13772 | PyObject * obj0 = 0 ; | |
13773 | PyObject * obj1 = 0 ; | |
13774 | char * kwnames[] = { | |
13775 | (char *) "self",(char *) "idx", NULL | |
13776 | }; | |
13777 | ||
13778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
13779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13780 | if (!SWIG_IsOK(res1)) { | |
13781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13782 | } | |
13783 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13784 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13785 | if (!SWIG_IsOK(ecode2)) { | |
13786 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
13787 | } | |
13788 | arg2 = static_cast< size_t >(val2); | |
13789 | { | |
13790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13791 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
13792 | wxPyEndAllowThreads(__tstate); | |
13793 | if (PyErr_Occurred()) SWIG_fail; | |
13794 | } | |
13795 | { | |
13796 | resultobj = wxPyMake_wxObject(result, 0); | |
13797 | } | |
13798 | return resultobj; | |
13799 | fail: | |
13800 | return NULL; | |
13801 | } | |
13802 | ||
13803 | ||
13804 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13805 | PyObject *resultobj = 0; | |
13806 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13807 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13808 | int result; | |
13809 | void *argp1 = 0 ; | |
13810 | int res1 = 0 ; | |
13811 | void *argp2 = 0 ; | |
13812 | int res2 = 0 ; | |
13813 | PyObject * obj0 = 0 ; | |
13814 | PyObject * obj1 = 0 ; | |
13815 | char * kwnames[] = { | |
13816 | (char *) "self",(char *) "page", NULL | |
13817 | }; | |
13818 | ||
13819 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
13820 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13821 | if (!SWIG_IsOK(res1)) { | |
13822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13823 | } | |
13824 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13825 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13826 | if (!SWIG_IsOK(res2)) { | |
13827 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13828 | } | |
13829 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13830 | { | |
13831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13832 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
13833 | wxPyEndAllowThreads(__tstate); | |
13834 | if (PyErr_Occurred()) SWIG_fail; | |
13835 | } | |
13836 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13837 | return resultobj; | |
13838 | fail: | |
13839 | return NULL; | |
13840 | } | |
13841 | ||
13842 | ||
13843 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13844 | PyObject *resultobj = 0; | |
13845 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13846 | size_t result; | |
13847 | void *argp1 = 0 ; | |
13848 | int res1 = 0 ; | |
13849 | PyObject *swig_obj[1] ; | |
13850 | ||
13851 | if (!args) SWIG_fail; | |
13852 | swig_obj[0] = args; | |
13853 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13854 | if (!SWIG_IsOK(res1)) { | |
13855 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13856 | } | |
13857 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13858 | { | |
13859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13860 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
13861 | wxPyEndAllowThreads(__tstate); | |
13862 | if (PyErr_Occurred()) SWIG_fail; | |
13863 | } | |
13864 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
13865 | return resultobj; | |
13866 | fail: | |
13867 | return NULL; | |
13868 | } | |
13869 | ||
13870 | ||
13871 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13872 | PyObject *resultobj = 0; | |
13873 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13874 | size_t arg2 ; | |
13875 | wxAuiNotebookPage *result = 0 ; | |
13876 | void *argp1 = 0 ; | |
13877 | int res1 = 0 ; | |
13878 | size_t val2 ; | |
13879 | int ecode2 = 0 ; | |
13880 | PyObject * obj0 = 0 ; | |
13881 | PyObject * obj1 = 0 ; | |
13882 | char * kwnames[] = { | |
13883 | (char *) "self",(char *) "idx", NULL | |
13884 | }; | |
13885 | ||
13886 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13887 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13888 | if (!SWIG_IsOK(res1)) { | |
13889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13890 | } | |
13891 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13892 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
13893 | if (!SWIG_IsOK(ecode2)) { | |
13894 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
13895 | } | |
13896 | arg2 = static_cast< size_t >(val2); | |
13897 | { | |
13898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13899 | { | |
13900 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
13901 | result = (wxAuiNotebookPage *) &_result_ref; | |
13902 | } | |
13903 | wxPyEndAllowThreads(__tstate); | |
13904 | if (PyErr_Occurred()) SWIG_fail; | |
13905 | } | |
13906 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
13907 | return resultobj; | |
13908 | fail: | |
13909 | return NULL; | |
13910 | } | |
13911 | ||
13912 | ||
13913 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13914 | PyObject *resultobj = 0; | |
13915 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13916 | wxAuiNotebookPageArray *result = 0 ; | |
13917 | void *argp1 = 0 ; | |
13918 | int res1 = 0 ; | |
13919 | PyObject *swig_obj[1] ; | |
13920 | ||
13921 | if (!args) SWIG_fail; | |
13922 | swig_obj[0] = args; | |
13923 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13924 | if (!SWIG_IsOK(res1)) { | |
13925 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13926 | } | |
13927 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13928 | { | |
13929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13930 | { | |
13931 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
13932 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
13933 | } | |
13934 | wxPyEndAllowThreads(__tstate); | |
13935 | if (PyErr_Occurred()) SWIG_fail; | |
13936 | } | |
13937 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
13938 | return resultobj; | |
13939 | fail: | |
13940 | return NULL; | |
13941 | } | |
13942 | ||
13943 | ||
13944 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13945 | PyObject *resultobj = 0; | |
13946 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13947 | wxFont *arg2 = 0 ; | |
13948 | void *argp1 = 0 ; | |
13949 | int res1 = 0 ; | |
13950 | void *argp2 = 0 ; | |
13951 | int res2 = 0 ; | |
13952 | PyObject * obj0 = 0 ; | |
13953 | PyObject * obj1 = 0 ; | |
13954 | char * kwnames[] = { | |
13955 | (char *) "self",(char *) "normal_font", NULL | |
13956 | }; | |
13957 | ||
13958 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
13959 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13960 | if (!SWIG_IsOK(res1)) { | |
13961 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13962 | } | |
13963 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13964 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13965 | if (!SWIG_IsOK(res2)) { | |
13966 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13967 | } | |
13968 | if (!argp2) { | |
13969 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13970 | } | |
13971 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13972 | { | |
13973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13974 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
13975 | wxPyEndAllowThreads(__tstate); | |
13976 | if (PyErr_Occurred()) SWIG_fail; | |
13977 | } | |
13978 | resultobj = SWIG_Py_Void(); | |
13979 | return resultobj; | |
13980 | fail: | |
13981 | return NULL; | |
13982 | } | |
13983 | ||
13984 | ||
13985 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13986 | PyObject *resultobj = 0; | |
13987 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13988 | wxFont *arg2 = 0 ; | |
13989 | void *argp1 = 0 ; | |
13990 | int res1 = 0 ; | |
13991 | void *argp2 = 0 ; | |
13992 | int res2 = 0 ; | |
13993 | PyObject * obj0 = 0 ; | |
13994 | PyObject * obj1 = 0 ; | |
13995 | char * kwnames[] = { | |
13996 | (char *) "self",(char *) "selected_font", NULL | |
13997 | }; | |
13998 | ||
13999 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14000 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14001 | if (!SWIG_IsOK(res1)) { | |
14002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14003 | } | |
14004 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14005 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14006 | if (!SWIG_IsOK(res2)) { | |
14007 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14008 | } | |
14009 | if (!argp2) { | |
14010 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14011 | } | |
14012 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14013 | { | |
14014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14015 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14016 | wxPyEndAllowThreads(__tstate); | |
14017 | if (PyErr_Occurred()) SWIG_fail; | |
14018 | } | |
14019 | resultobj = SWIG_Py_Void(); | |
14020 | return resultobj; | |
14021 | fail: | |
14022 | return NULL; | |
14023 | } | |
14024 | ||
14025 | ||
14026 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14027 | PyObject *resultobj = 0; | |
14028 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14029 | wxFont *arg2 = 0 ; | |
14030 | void *argp1 = 0 ; | |
14031 | int res1 = 0 ; | |
14032 | void *argp2 = 0 ; | |
14033 | int res2 = 0 ; | |
14034 | PyObject * obj0 = 0 ; | |
14035 | PyObject * obj1 = 0 ; | |
14036 | char * kwnames[] = { | |
14037 | (char *) "self",(char *) "measuring_font", NULL | |
14038 | }; | |
14039 | ||
14040 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14041 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14042 | if (!SWIG_IsOK(res1)) { | |
14043 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14044 | } | |
14045 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14046 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14047 | if (!SWIG_IsOK(res2)) { | |
14048 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14049 | } | |
14050 | if (!argp2) { | |
14051 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14052 | } | |
14053 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14054 | { | |
14055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14056 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14057 | wxPyEndAllowThreads(__tstate); | |
14058 | if (PyErr_Occurred()) SWIG_fail; | |
14059 | } | |
14060 | resultobj = SWIG_Py_Void(); | |
14061 | return resultobj; | |
14062 | fail: | |
14063 | return NULL; | |
14064 | } | |
14065 | ||
14066 | ||
14067 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14068 | PyObject *resultobj = 0; | |
14069 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14070 | void *argp1 = 0 ; | |
14071 | int res1 = 0 ; | |
14072 | PyObject *swig_obj[1] ; | |
14073 | ||
14074 | if (!args) SWIG_fail; | |
14075 | swig_obj[0] = args; | |
14076 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14077 | if (!SWIG_IsOK(res1)) { | |
14078 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14079 | } | |
14080 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14081 | { | |
14082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14083 | (arg1)->DoShowHide(); | |
14084 | wxPyEndAllowThreads(__tstate); | |
14085 | if (PyErr_Occurred()) SWIG_fail; | |
14086 | } | |
14087 | resultobj = SWIG_Py_Void(); | |
14088 | return resultobj; | |
14089 | fail: | |
14090 | return NULL; | |
14091 | } | |
14092 | ||
14093 | ||
14094 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14095 | PyObject *resultobj = 0; | |
14096 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14097 | wxRect *arg2 = 0 ; | |
14098 | void *argp1 = 0 ; | |
14099 | int res1 = 0 ; | |
14100 | wxRect temp2 ; | |
14101 | PyObject * obj0 = 0 ; | |
14102 | PyObject * obj1 = 0 ; | |
14103 | char * kwnames[] = { | |
14104 | (char *) "self",(char *) "rect", NULL | |
14105 | }; | |
14106 | ||
14107 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14108 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14109 | if (!SWIG_IsOK(res1)) { | |
14110 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14111 | } | |
14112 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14113 | { | |
14114 | arg2 = &temp2; | |
14115 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14116 | } | |
14117 | { | |
14118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14119 | (arg1)->SetRect((wxRect const &)*arg2); | |
14120 | wxPyEndAllowThreads(__tstate); | |
14121 | if (PyErr_Occurred()) SWIG_fail; | |
14122 | } | |
14123 | resultobj = SWIG_Py_Void(); | |
14124 | return resultobj; | |
14125 | fail: | |
14126 | return NULL; | |
14127 | } | |
14128 | ||
14129 | ||
36cb9ebe RD |
14130 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14131 | PyObject *resultobj = 0; | |
14132 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14133 | int arg2 ; | |
14134 | void *argp1 = 0 ; | |
14135 | int res1 = 0 ; | |
14136 | int val2 ; | |
14137 | int ecode2 = 0 ; | |
14138 | PyObject * obj0 = 0 ; | |
14139 | PyObject * obj1 = 0 ; | |
14140 | char * kwnames[] = { | |
14141 | (char *) "self",(char *) "id", NULL | |
14142 | }; | |
14143 | ||
14144 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14145 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14146 | if (!SWIG_IsOK(res1)) { | |
14147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14148 | } | |
14149 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14150 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14151 | if (!SWIG_IsOK(ecode2)) { | |
14152 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14153 | } | |
14154 | arg2 = static_cast< int >(val2); | |
14155 | { | |
14156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14157 | (arg1)->RemoveButton(arg2); | |
14158 | wxPyEndAllowThreads(__tstate); | |
14159 | if (PyErr_Occurred()) SWIG_fail; | |
14160 | } | |
14161 | resultobj = SWIG_Py_Void(); | |
14162 | return resultobj; | |
14163 | fail: | |
14164 | return NULL; | |
14165 | } | |
14166 | ||
14167 | ||
10044bf1 RD |
14168 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14169 | PyObject *resultobj = 0; | |
14170 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14171 | int arg2 ; | |
5c8c7dd3 | 14172 | int arg3 ; |
8f514ab4 RD |
14173 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14174 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14175 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14176 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14177 | void *argp1 = 0 ; |
14178 | int res1 = 0 ; | |
14179 | int val2 ; | |
14180 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14181 | int val3 ; |
14182 | int ecode3 = 0 ; | |
14183 | void *argp4 = 0 ; | |
14184 | int res4 = 0 ; | |
8f514ab4 RD |
14185 | void *argp5 = 0 ; |
14186 | int res5 = 0 ; | |
10044bf1 RD |
14187 | PyObject * obj0 = 0 ; |
14188 | PyObject * obj1 = 0 ; | |
14189 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14190 | PyObject * obj3 = 0 ; |
8f514ab4 | 14191 | PyObject * obj4 = 0 ; |
10044bf1 | 14192 | char * kwnames[] = { |
8f514ab4 | 14193 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14194 | }; |
14195 | ||
8f514ab4 | 14196 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14197 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14198 | if (!SWIG_IsOK(res1)) { | |
14199 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14200 | } | |
14201 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14202 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14203 | if (!SWIG_IsOK(ecode2)) { | |
14204 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14205 | } | |
14206 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14207 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14208 | if (!SWIG_IsOK(ecode3)) { | |
14209 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14210 | } | |
14211 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14212 | if (obj3) { |
14213 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14214 | if (!SWIG_IsOK(res4)) { | |
14215 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14216 | } | |
14217 | if (!argp4) { | |
14218 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14219 | } | |
14220 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14221 | } |
8f514ab4 RD |
14222 | if (obj4) { |
14223 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14224 | if (!SWIG_IsOK(res5)) { | |
14225 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14226 | } | |
14227 | if (!argp5) { | |
14228 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14229 | } | |
14230 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14231 | } |
10044bf1 RD |
14232 | { |
14233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14234 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14235 | wxPyEndAllowThreads(__tstate); | |
14236 | if (PyErr_Occurred()) SWIG_fail; | |
14237 | } | |
14238 | resultobj = SWIG_Py_Void(); | |
14239 | return resultobj; | |
14240 | fail: | |
14241 | return NULL; | |
14242 | } | |
14243 | ||
14244 | ||
14245 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14246 | PyObject *resultobj = 0; | |
14247 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14248 | size_t result; | |
14249 | void *argp1 = 0 ; | |
14250 | int res1 = 0 ; | |
14251 | PyObject *swig_obj[1] ; | |
14252 | ||
14253 | if (!args) SWIG_fail; | |
14254 | swig_obj[0] = args; | |
14255 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14256 | if (!SWIG_IsOK(res1)) { | |
14257 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14258 | } | |
14259 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14260 | { | |
14261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14262 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14263 | wxPyEndAllowThreads(__tstate); | |
14264 | if (PyErr_Occurred()) SWIG_fail; | |
14265 | } | |
14266 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14267 | return resultobj; | |
14268 | fail: | |
14269 | return NULL; | |
14270 | } | |
14271 | ||
14272 | ||
14273 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14274 | PyObject *resultobj = 0; | |
14275 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14276 | size_t arg2 ; | |
14277 | void *argp1 = 0 ; | |
14278 | int res1 = 0 ; | |
14279 | size_t val2 ; | |
14280 | int ecode2 = 0 ; | |
14281 | PyObject * obj0 = 0 ; | |
14282 | PyObject * obj1 = 0 ; | |
14283 | char * kwnames[] = { | |
14284 | (char *) "self",(char *) "offset", NULL | |
14285 | }; | |
14286 | ||
14287 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14288 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14289 | if (!SWIG_IsOK(res1)) { | |
14290 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14291 | } | |
14292 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14293 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14294 | if (!SWIG_IsOK(ecode2)) { | |
14295 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14296 | } | |
14297 | arg2 = static_cast< size_t >(val2); | |
14298 | { | |
14299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14300 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14301 | wxPyEndAllowThreads(__tstate); |
14302 | if (PyErr_Occurred()) SWIG_fail; | |
14303 | } | |
14304 | resultobj = SWIG_Py_Void(); | |
14305 | return resultobj; | |
14306 | fail: | |
14307 | return NULL; | |
14308 | } | |
14309 | ||
14310 | ||
14311 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14312 | PyObject *obj; | |
14313 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14314 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14315 | return SWIG_Py_Void(); | |
14316 | } | |
14317 | ||
14318 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14319 | return SWIG_Python_InitShadowInstance(args); | |
14320 | } | |
14321 | ||
14322 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14323 | PyObject *resultobj = 0; | |
14324 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14325 | int arg2 = (int) wxID_ANY ; | |
14326 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14327 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14328 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14329 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14330 | long arg5 = (long) 0 ; | |
14331 | wxAuiTabCtrl *result = 0 ; | |
14332 | void *argp1 = 0 ; | |
14333 | int res1 = 0 ; | |
14334 | int val2 ; | |
14335 | int ecode2 = 0 ; | |
14336 | wxPoint temp3 ; | |
14337 | wxSize temp4 ; | |
14338 | long val5 ; | |
14339 | int ecode5 = 0 ; | |
14340 | PyObject * obj0 = 0 ; | |
14341 | PyObject * obj1 = 0 ; | |
14342 | PyObject * obj2 = 0 ; | |
14343 | PyObject * obj3 = 0 ; | |
14344 | PyObject * obj4 = 0 ; | |
14345 | char * kwnames[] = { | |
14346 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14347 | }; | |
14348 | ||
14349 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14350 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14351 | if (!SWIG_IsOK(res1)) { | |
14352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14353 | } | |
14354 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14355 | if (obj1) { | |
14356 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14357 | if (!SWIG_IsOK(ecode2)) { | |
14358 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14359 | } | |
14360 | arg2 = static_cast< int >(val2); | |
14361 | } | |
14362 | if (obj2) { | |
14363 | { | |
14364 | arg3 = &temp3; | |
14365 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14366 | } | |
14367 | } | |
14368 | if (obj3) { | |
14369 | { | |
14370 | arg4 = &temp4; | |
14371 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14372 | } | |
14373 | } | |
14374 | if (obj4) { | |
14375 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14376 | if (!SWIG_IsOK(ecode5)) { | |
14377 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14378 | } | |
14379 | arg5 = static_cast< long >(val5); | |
14380 | } | |
14381 | { | |
14382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14383 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14384 | wxPyEndAllowThreads(__tstate); | |
14385 | if (PyErr_Occurred()) SWIG_fail; | |
14386 | } | |
14387 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14388 | return resultobj; | |
14389 | fail: | |
14390 | return NULL; | |
14391 | } | |
14392 | ||
14393 | ||
580080c5 RD |
14394 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14395 | PyObject *resultobj = 0; | |
14396 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14397 | void *argp1 = 0 ; | |
14398 | int res1 = 0 ; | |
14399 | PyObject *swig_obj[1] ; | |
14400 | ||
14401 | if (!args) SWIG_fail; | |
14402 | swig_obj[0] = args; | |
14403 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14404 | if (!SWIG_IsOK(res1)) { | |
14405 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14406 | } | |
14407 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14408 | { | |
14409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14410 | delete arg1; | |
14411 | ||
14412 | wxPyEndAllowThreads(__tstate); | |
14413 | if (PyErr_Occurred()) SWIG_fail; | |
14414 | } | |
14415 | resultobj = SWIG_Py_Void(); | |
14416 | return resultobj; | |
14417 | fail: | |
14418 | return NULL; | |
14419 | } | |
14420 | ||
14421 | ||
10044bf1 RD |
14422 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14423 | PyObject *obj; | |
14424 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14425 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14426 | return SWIG_Py_Void(); | |
14427 | } | |
14428 | ||
14429 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14430 | return SWIG_Python_InitShadowInstance(args); | |
14431 | } | |
14432 | ||
5eb8189c | 14433 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14434 | PyObject *resultobj = 0; |
5eb8189c | 14435 | wxAuiNotebook *result = 0 ; |
10044bf1 | 14436 | |
5eb8189c | 14437 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
14438 | { |
14439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14440 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
14441 | wxPyEndAllowThreads(__tstate); |
14442 | if (PyErr_Occurred()) SWIG_fail; | |
14443 | } | |
5eb8189c | 14444 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
14445 | return resultobj; |
14446 | fail: | |
14447 | return NULL; | |
14448 | } | |
14449 | ||
14450 | ||
5eb8189c | 14451 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14452 | PyObject *resultobj = 0; |
14453 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14454 | int arg2 = (int) wxID_ANY ; | |
14455 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14456 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14457 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14458 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
14459 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
14460 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
14461 | void *argp1 = 0 ; |
14462 | int res1 = 0 ; | |
14463 | int val2 ; | |
14464 | int ecode2 = 0 ; | |
14465 | wxPoint temp3 ; | |
14466 | wxSize temp4 ; | |
14467 | long val5 ; | |
14468 | int ecode5 = 0 ; | |
14469 | PyObject * obj0 = 0 ; | |
14470 | PyObject * obj1 = 0 ; | |
14471 | PyObject * obj2 = 0 ; | |
14472 | PyObject * obj3 = 0 ; | |
14473 | PyObject * obj4 = 0 ; | |
14474 | char * kwnames[] = { | |
14475 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14476 | }; | |
14477 | ||
5eb8189c | 14478 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14479 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14480 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 14481 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14482 | } |
14483 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14484 | if (obj1) { | |
14485 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14486 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14487 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
14488 | } |
14489 | arg2 = static_cast< int >(val2); | |
14490 | } | |
14491 | if (obj2) { | |
14492 | { | |
14493 | arg3 = &temp3; | |
14494 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14495 | } | |
14496 | } | |
14497 | if (obj3) { | |
14498 | { | |
14499 | arg4 = &temp4; | |
14500 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14501 | } | |
14502 | } | |
14503 | if (obj4) { | |
14504 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14505 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14506 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
14507 | } |
14508 | arg5 = static_cast< long >(val5); | |
14509 | } | |
14510 | { | |
14511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
14512 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
14513 | wxPyEndAllowThreads(__tstate); | |
14514 | if (PyErr_Occurred()) SWIG_fail; | |
14515 | } | |
14516 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
14517 | return resultobj; | |
14518 | fail: | |
14519 | return NULL; | |
14520 | } | |
14521 | ||
14522 | ||
14523 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14524 | PyObject *resultobj = 0; | |
14525 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
14526 | void *argp1 = 0 ; | |
14527 | int res1 = 0 ; | |
14528 | PyObject *swig_obj[1] ; | |
14529 | ||
14530 | if (!args) SWIG_fail; | |
14531 | swig_obj[0] = args; | |
14532 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
14533 | if (!SWIG_IsOK(res1)) { | |
14534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
14535 | } | |
14536 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
14537 | { | |
14538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14539 | delete arg1; | |
14540 | ||
10044bf1 RD |
14541 | wxPyEndAllowThreads(__tstate); |
14542 | if (PyErr_Occurred()) SWIG_fail; | |
14543 | } | |
5eb8189c | 14544 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
14545 | return resultobj; |
14546 | fail: | |
14547 | return NULL; | |
14548 | } | |
14549 | ||
14550 | ||
5eb8189c | 14551 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14552 | PyObject *resultobj = 0; |
5eb8189c | 14553 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14554 | wxWindow *arg2 = (wxWindow *) 0 ; |
14555 | int arg3 = (int) wxID_ANY ; | |
14556 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14557 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14558 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14559 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14560 | long arg6 = (long) 0 ; | |
14561 | bool result; | |
14562 | void *argp1 = 0 ; | |
14563 | int res1 = 0 ; | |
14564 | void *argp2 = 0 ; | |
14565 | int res2 = 0 ; | |
14566 | int val3 ; | |
14567 | int ecode3 = 0 ; | |
14568 | wxPoint temp4 ; | |
14569 | wxSize temp5 ; | |
14570 | long val6 ; | |
14571 | int ecode6 = 0 ; | |
14572 | PyObject * obj0 = 0 ; | |
14573 | PyObject * obj1 = 0 ; | |
14574 | PyObject * obj2 = 0 ; | |
14575 | PyObject * obj3 = 0 ; | |
14576 | PyObject * obj4 = 0 ; | |
14577 | PyObject * obj5 = 0 ; | |
14578 | char * kwnames[] = { | |
14579 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14580 | }; | |
14581 | ||
5eb8189c RD |
14582 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14583 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14584 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14586 | } |
5eb8189c | 14587 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14588 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14589 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14590 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14591 | } |
14592 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14593 | if (obj2) { | |
14594 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14595 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 14596 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
14597 | } |
14598 | arg3 = static_cast< int >(val3); | |
14599 | } | |
14600 | if (obj3) { | |
14601 | { | |
14602 | arg4 = &temp4; | |
14603 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14604 | } | |
14605 | } | |
14606 | if (obj4) { | |
14607 | { | |
14608 | arg5 = &temp5; | |
14609 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14610 | } | |
14611 | } | |
14612 | if (obj5) { | |
14613 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
14614 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 14615 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
14616 | } |
14617 | arg6 = static_cast< long >(val6); | |
14618 | } | |
14619 | { | |
14620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14621 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
14622 | wxPyEndAllowThreads(__tstate); | |
14623 | if (PyErr_Occurred()) SWIG_fail; | |
14624 | } | |
14625 | { | |
14626 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14627 | } | |
14628 | return resultobj; | |
14629 | fail: | |
14630 | return NULL; | |
14631 | } | |
14632 | ||
14633 | ||
5eb8189c | 14634 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14635 | PyObject *resultobj = 0; |
5eb8189c | 14636 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14637 | wxWindow *arg2 = (wxWindow *) 0 ; |
14638 | wxString *arg3 = 0 ; | |
14639 | bool arg4 = (bool) false ; | |
14640 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14641 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
14642 | bool result; | |
14643 | void *argp1 = 0 ; | |
14644 | int res1 = 0 ; | |
14645 | void *argp2 = 0 ; | |
14646 | int res2 = 0 ; | |
14647 | bool temp3 = false ; | |
14648 | bool val4 ; | |
14649 | int ecode4 = 0 ; | |
14650 | void *argp5 = 0 ; | |
14651 | int res5 = 0 ; | |
14652 | PyObject * obj0 = 0 ; | |
14653 | PyObject * obj1 = 0 ; | |
14654 | PyObject * obj2 = 0 ; | |
14655 | PyObject * obj3 = 0 ; | |
14656 | PyObject * obj4 = 0 ; | |
14657 | char * kwnames[] = { | |
14658 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14659 | }; | |
14660 | ||
5eb8189c RD |
14661 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14662 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14663 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14664 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14665 | } |
5eb8189c | 14666 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14667 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14668 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14669 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14670 | } |
14671 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14672 | { | |
14673 | arg3 = wxString_in_helper(obj2); | |
14674 | if (arg3 == NULL) SWIG_fail; | |
14675 | temp3 = true; | |
14676 | } | |
14677 | if (obj3) { | |
14678 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
14679 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 14680 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
14681 | } |
14682 | arg4 = static_cast< bool >(val4); | |
14683 | } | |
14684 | if (obj4) { | |
14685 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14686 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 14687 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14688 | } |
14689 | if (!argp5) { | |
5eb8189c | 14690 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14691 | } |
14692 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
14693 | } | |
14694 | { | |
14695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14696 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
14697 | wxPyEndAllowThreads(__tstate); | |
14698 | if (PyErr_Occurred()) SWIG_fail; | |
14699 | } | |
14700 | { | |
14701 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14702 | } | |
14703 | { | |
14704 | if (temp3) | |
14705 | delete arg3; | |
14706 | } | |
14707 | return resultobj; | |
14708 | fail: | |
14709 | { | |
14710 | if (temp3) | |
14711 | delete arg3; | |
14712 | } | |
14713 | return NULL; | |
14714 | } | |
14715 | ||
14716 | ||
5eb8189c | 14717 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14718 | PyObject *resultobj = 0; |
5eb8189c | 14719 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14720 | size_t arg2 ; |
14721 | wxWindow *arg3 = (wxWindow *) 0 ; | |
14722 | wxString *arg4 = 0 ; | |
14723 | bool arg5 = (bool) false ; | |
14724 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
14725 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
14726 | bool result; | |
14727 | void *argp1 = 0 ; | |
14728 | int res1 = 0 ; | |
14729 | size_t val2 ; | |
14730 | int ecode2 = 0 ; | |
14731 | void *argp3 = 0 ; | |
14732 | int res3 = 0 ; | |
14733 | bool temp4 = false ; | |
14734 | bool val5 ; | |
14735 | int ecode5 = 0 ; | |
14736 | void *argp6 = 0 ; | |
14737 | int res6 = 0 ; | |
14738 | PyObject * obj0 = 0 ; | |
14739 | PyObject * obj1 = 0 ; | |
14740 | PyObject * obj2 = 0 ; | |
14741 | PyObject * obj3 = 0 ; | |
14742 | PyObject * obj4 = 0 ; | |
14743 | PyObject * obj5 = 0 ; | |
14744 | char * kwnames[] = { | |
14745 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14746 | }; | |
14747 | ||
5eb8189c RD |
14748 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14749 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14752 | } |
5eb8189c | 14753 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14754 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14755 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14756 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14757 | } |
14758 | arg2 = static_cast< size_t >(val2); | |
14759 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14760 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 14761 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14762 | } |
14763 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
14764 | { | |
14765 | arg4 = wxString_in_helper(obj3); | |
14766 | if (arg4 == NULL) SWIG_fail; | |
14767 | temp4 = true; | |
14768 | } | |
14769 | if (obj4) { | |
14770 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
14771 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14772 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
14773 | } |
14774 | arg5 = static_cast< bool >(val5); | |
14775 | } | |
14776 | if (obj5) { | |
14777 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14778 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 14779 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14780 | } |
14781 | if (!argp6) { | |
5eb8189c | 14782 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14783 | } |
14784 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
14785 | } | |
14786 | { | |
14787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14788 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
14789 | wxPyEndAllowThreads(__tstate); | |
14790 | if (PyErr_Occurred()) SWIG_fail; | |
14791 | } | |
14792 | { | |
14793 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14794 | } | |
14795 | { | |
14796 | if (temp4) | |
14797 | delete arg4; | |
14798 | } | |
14799 | return resultobj; | |
14800 | fail: | |
14801 | { | |
14802 | if (temp4) | |
14803 | delete arg4; | |
14804 | } | |
14805 | return NULL; | |
14806 | } | |
14807 | ||
14808 | ||
5eb8189c | 14809 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14810 | PyObject *resultobj = 0; |
5eb8189c | 14811 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14812 | size_t arg2 ; |
14813 | bool result; | |
14814 | void *argp1 = 0 ; | |
14815 | int res1 = 0 ; | |
14816 | size_t val2 ; | |
14817 | int ecode2 = 0 ; | |
14818 | PyObject * obj0 = 0 ; | |
14819 | PyObject * obj1 = 0 ; | |
14820 | char * kwnames[] = { | |
14821 | (char *) "self",(char *) "page", NULL | |
14822 | }; | |
14823 | ||
5eb8189c RD |
14824 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
14825 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14826 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14828 | } |
5eb8189c | 14829 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14830 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14831 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14832 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14833 | } |
14834 | arg2 = static_cast< size_t >(val2); | |
14835 | { | |
14836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14837 | result = (bool)(arg1)->DeletePage(arg2); | |
14838 | wxPyEndAllowThreads(__tstate); | |
14839 | if (PyErr_Occurred()) SWIG_fail; | |
14840 | } | |
14841 | { | |
14842 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14843 | } | |
14844 | return resultobj; | |
14845 | fail: | |
14846 | return NULL; | |
14847 | } | |
14848 | ||
14849 | ||
5eb8189c | 14850 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14851 | PyObject *resultobj = 0; |
5eb8189c | 14852 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14853 | size_t arg2 ; |
14854 | bool result; | |
14855 | void *argp1 = 0 ; | |
14856 | int res1 = 0 ; | |
14857 | size_t val2 ; | |
14858 | int ecode2 = 0 ; | |
14859 | PyObject * obj0 = 0 ; | |
14860 | PyObject * obj1 = 0 ; | |
14861 | char * kwnames[] = { | |
14862 | (char *) "self",(char *) "page", NULL | |
14863 | }; | |
14864 | ||
5eb8189c RD |
14865 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
14866 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14867 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14869 | } |
5eb8189c | 14870 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14871 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14872 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14873 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14874 | } |
14875 | arg2 = static_cast< size_t >(val2); | |
14876 | { | |
14877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14878 | result = (bool)(arg1)->RemovePage(arg2); | |
14879 | wxPyEndAllowThreads(__tstate); | |
14880 | if (PyErr_Occurred()) SWIG_fail; | |
14881 | } | |
14882 | { | |
14883 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14884 | } | |
14885 | return resultobj; | |
14886 | fail: | |
14887 | return NULL; | |
14888 | } | |
14889 | ||
14890 | ||
5eb8189c | 14891 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14892 | PyObject *resultobj = 0; |
5eb8189c | 14893 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14894 | size_t arg2 ; |
14895 | wxString *arg3 = 0 ; | |
14896 | bool result; | |
14897 | void *argp1 = 0 ; | |
14898 | int res1 = 0 ; | |
14899 | size_t val2 ; | |
14900 | int ecode2 = 0 ; | |
14901 | bool temp3 = false ; | |
14902 | PyObject * obj0 = 0 ; | |
14903 | PyObject * obj1 = 0 ; | |
14904 | PyObject * obj2 = 0 ; | |
14905 | char * kwnames[] = { | |
14906 | (char *) "self",(char *) "page",(char *) "text", NULL | |
14907 | }; | |
14908 | ||
5eb8189c RD |
14909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
14910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14911 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14913 | } |
5eb8189c | 14914 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14915 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14916 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14917 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14918 | } |
14919 | arg2 = static_cast< size_t >(val2); | |
14920 | { | |
14921 | arg3 = wxString_in_helper(obj2); | |
14922 | if (arg3 == NULL) SWIG_fail; | |
14923 | temp3 = true; | |
14924 | } | |
14925 | { | |
14926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14927 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
14928 | wxPyEndAllowThreads(__tstate); | |
14929 | if (PyErr_Occurred()) SWIG_fail; | |
14930 | } | |
14931 | { | |
14932 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14933 | } | |
14934 | { | |
14935 | if (temp3) | |
14936 | delete arg3; | |
14937 | } | |
14938 | return resultobj; | |
14939 | fail: | |
14940 | { | |
14941 | if (temp3) | |
14942 | delete arg3; | |
14943 | } | |
14944 | return NULL; | |
14945 | } | |
14946 | ||
14947 | ||
5eb8189c | 14948 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14949 | PyObject *resultobj = 0; |
5eb8189c | 14950 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14951 | size_t arg2 ; |
14952 | size_t result; | |
14953 | void *argp1 = 0 ; | |
14954 | int res1 = 0 ; | |
14955 | size_t val2 ; | |
14956 | int ecode2 = 0 ; | |
14957 | PyObject * obj0 = 0 ; | |
14958 | PyObject * obj1 = 0 ; | |
14959 | char * kwnames[] = { | |
14960 | (char *) "self",(char *) "new_page", NULL | |
14961 | }; | |
14962 | ||
5eb8189c RD |
14963 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
14964 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14965 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14967 | } |
5eb8189c | 14968 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14969 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
14970 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14971 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
14972 | } |
14973 | arg2 = static_cast< size_t >(val2); | |
14974 | { | |
14975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14976 | result = (size_t)(arg1)->SetSelection(arg2); | |
14977 | wxPyEndAllowThreads(__tstate); | |
14978 | if (PyErr_Occurred()) SWIG_fail; | |
14979 | } | |
14980 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14981 | return resultobj; | |
14982 | fail: | |
14983 | return NULL; | |
14984 | } | |
14985 | ||
14986 | ||
5eb8189c | 14987 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14988 | PyObject *resultobj = 0; |
5eb8189c | 14989 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14990 | int result; |
14991 | void *argp1 = 0 ; | |
14992 | int res1 = 0 ; | |
14993 | PyObject *swig_obj[1] ; | |
14994 | ||
14995 | if (!args) SWIG_fail; | |
14996 | swig_obj[0] = args; | |
5eb8189c | 14997 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 14998 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15000 | } |
5eb8189c | 15001 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15002 | { |
15003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15004 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
10044bf1 RD |
15005 | wxPyEndAllowThreads(__tstate); |
15006 | if (PyErr_Occurred()) SWIG_fail; | |
15007 | } | |
15008 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
15009 | return resultobj; | |
15010 | fail: | |
15011 | return NULL; | |
15012 | } | |
15013 | ||
15014 | ||
5eb8189c | 15015 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15016 | PyObject *resultobj = 0; |
5eb8189c | 15017 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15018 | size_t result; |
15019 | void *argp1 = 0 ; | |
15020 | int res1 = 0 ; | |
15021 | PyObject *swig_obj[1] ; | |
15022 | ||
15023 | if (!args) SWIG_fail; | |
15024 | swig_obj[0] = args; | |
5eb8189c | 15025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15026 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15028 | } |
5eb8189c | 15029 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15030 | { |
15031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15032 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15033 | wxPyEndAllowThreads(__tstate); |
15034 | if (PyErr_Occurred()) SWIG_fail; | |
15035 | } | |
15036 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
15037 | return resultobj; | |
15038 | fail: | |
15039 | return NULL; | |
15040 | } | |
15041 | ||
15042 | ||
5eb8189c | 15043 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15044 | PyObject *resultobj = 0; |
5eb8189c | 15045 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15046 | size_t arg2 ; |
15047 | wxWindow *result = 0 ; | |
15048 | void *argp1 = 0 ; | |
15049 | int res1 = 0 ; | |
15050 | size_t val2 ; | |
15051 | int ecode2 = 0 ; | |
15052 | PyObject * obj0 = 0 ; | |
15053 | PyObject * obj1 = 0 ; | |
15054 | char * kwnames[] = { | |
15055 | (char *) "self",(char *) "page_idx", NULL | |
15056 | }; | |
15057 | ||
5eb8189c RD |
15058 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
15059 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15060 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15061 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15062 | } |
5eb8189c | 15063 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15064 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15065 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15066 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15067 | } |
15068 | arg2 = static_cast< size_t >(val2); | |
15069 | { | |
15070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15071 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
10044bf1 RD |
15072 | wxPyEndAllowThreads(__tstate); |
15073 | if (PyErr_Occurred()) SWIG_fail; | |
15074 | } | |
15075 | { | |
15076 | resultobj = wxPyMake_wxObject(result, 0); | |
15077 | } | |
15078 | return resultobj; | |
15079 | fail: | |
15080 | return NULL; | |
15081 | } | |
15082 | ||
15083 | ||
5eb8189c | 15084 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15085 | PyObject *resultobj = 0; |
5eb8189c RD |
15086 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
15087 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
5c8c7dd3 RD |
15088 | void *argp1 = 0 ; |
15089 | int res1 = 0 ; | |
15090 | void *argp2 = 0 ; | |
15091 | int res2 = 0 ; | |
15092 | PyObject * obj0 = 0 ; | |
15093 | PyObject * obj1 = 0 ; | |
15094 | char * kwnames[] = { | |
15095 | (char *) "self",(char *) "art", NULL | |
15096 | }; | |
15097 | ||
5eb8189c RD |
15098 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
15099 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15100 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15102 | } |
5eb8189c RD |
15103 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
15104 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 15105 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 15106 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 15107 | } |
5eb8189c | 15108 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
15109 | { |
15110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15111 | (arg1)->SetArtProvider(arg2); | |
15112 | wxPyEndAllowThreads(__tstate); | |
15113 | if (PyErr_Occurred()) SWIG_fail; | |
15114 | } | |
15115 | resultobj = SWIG_Py_Void(); | |
15116 | return resultobj; | |
15117 | fail: | |
15118 | return NULL; | |
15119 | } | |
15120 | ||
15121 | ||
5eb8189c | 15122 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 15123 | PyObject *resultobj = 0; |
5eb8189c RD |
15124 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
15125 | wxAuiTabArt *result = 0 ; | |
5c8c7dd3 RD |
15126 | void *argp1 = 0 ; |
15127 | int res1 = 0 ; | |
15128 | PyObject *swig_obj[1] ; | |
15129 | ||
15130 | if (!args) SWIG_fail; | |
15131 | swig_obj[0] = args; | |
5eb8189c | 15132 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15133 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15134 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15135 | } |
5eb8189c | 15136 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
5c8c7dd3 RD |
15137 | { |
15138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15139 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); |
5c8c7dd3 RD |
15140 | wxPyEndAllowThreads(__tstate); |
15141 | if (PyErr_Occurred()) SWIG_fail; | |
15142 | } | |
5eb8189c | 15143 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 RD |
15144 | return resultobj; |
15145 | fail: | |
15146 | return NULL; | |
15147 | } | |
15148 | ||
15149 | ||
5eb8189c | 15150 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15151 | PyObject *obj; |
15152 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15153 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
15154 | return SWIG_Py_Void(); |
15155 | } | |
15156 | ||
5eb8189c | 15157 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15158 | return SWIG_Python_InitShadowInstance(args); |
15159 | } | |
15160 | ||
5eb8189c | 15161 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15162 | PyObject *obj; |
15163 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15164 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
15165 | return SWIG_Py_Void(); |
15166 | } | |
15167 | ||
5eb8189c | 15168 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
15169 | PyObject *obj; |
15170 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15171 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
15172 | return SWIG_Py_Void(); |
15173 | } | |
15174 | ||
10044bf1 | 15175 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
15176 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
15177 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
15178 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15179 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
15180 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
15181 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
15182 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
15183 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
15184 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
15185 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
15186 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
15187 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
15188 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
15189 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
15190 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
15191 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
15192 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
15193 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
15194 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
15195 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
15196 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
15197 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
15198 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
15199 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
15200 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
15201 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
15202 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15203 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15204 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15205 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
15206 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
15207 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
15208 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
15209 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
15210 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
15211 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15212 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15213 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15214 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15215 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15216 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15217 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15218 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15219 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15220 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
15221 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15222 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
15223 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
15224 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
15225 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15226 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15227 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
15228 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
15229 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15230 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15231 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15232 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15233 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15234 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15235 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15236 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15237 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15238 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15239 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15240 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15241 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15242 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15243 | { (char *)"AuiPaneInfo_SaveHidden", (PyCFunction)_wrap_AuiPaneInfo_SaveHidden, METH_O, NULL}, | |
15244 | { (char *)"AuiPaneInfo_RestoreHidden", (PyCFunction)_wrap_AuiPaneInfo_RestoreHidden, METH_O, NULL}, | |
15245 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15246 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
15247 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
15248 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
15249 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
15250 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15251 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15252 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
15253 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
15254 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
15255 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
15256 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
15257 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
15258 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
15259 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
15260 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
15261 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
15262 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15263 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
15264 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15265 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
15266 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
15267 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
15268 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
15269 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
15270 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
15271 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
15272 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
15273 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
15274 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
15275 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
15276 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
15277 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
15278 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
15279 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
15280 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
15281 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
15282 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
15283 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
15284 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
15285 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
15286 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
15287 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
15288 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15289 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
15290 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
15291 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15292 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
15293 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15294 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
15295 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15296 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
15297 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15298 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15299 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
15300 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
15301 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
15302 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
15303 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15304 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15305 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15306 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15307 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15308 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
15309 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15310 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15311 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
15312 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15313 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
15314 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15315 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15316 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15317 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
15318 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15319 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15320 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
15321 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
15322 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15323 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
15324 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15325 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15326 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15327 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
15328 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
15329 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
15330 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15331 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
15332 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15333 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
15334 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
15335 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
15336 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
15337 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
15338 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
15339 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
15340 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
15341 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
15342 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
15343 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
15344 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
15345 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
15346 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
15347 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
15348 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
15349 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
15350 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
15351 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
15352 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
15353 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
15354 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15355 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
15356 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15357 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
15358 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
15359 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
15360 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
15361 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
15362 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
15363 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
15364 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
15365 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
15366 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
15367 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
15368 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
15369 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
15370 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
15371 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
15372 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
15373 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
15374 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
15375 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
15376 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
15377 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
15378 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
15379 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
15380 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
15381 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
15382 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
15383 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
15384 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
15385 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
15386 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
15387 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
15388 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
15389 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
15390 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
15391 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
15392 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
15393 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
15394 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
15395 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
15396 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15397 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15398 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15399 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15400 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15401 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15402 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15403 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15404 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15405 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15406 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15407 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15408 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15409 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15410 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15411 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
15412 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
15413 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
15414 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15415 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
15416 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15417 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
15418 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
15419 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, | |
15420 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15421 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15422 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15423 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15424 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15425 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15426 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d95b9f2b | 15427 | { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
15428 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
15429 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
15430 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
15431 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
15432 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
15433 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
15434 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
15435 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 | 15436 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, |
d95b9f2b | 15437 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 15438 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, |
d95b9f2b RD |
15439 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
15440 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
10044bf1 RD |
15441 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, |
15442 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
15443 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
15444 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
d95b9f2b RD |
15445 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, |
15446 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
10044bf1 RD |
15447 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, |
15448 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
15449 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
15450 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
15451 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
15452 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
15453 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
15454 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
15455 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
15456 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
15457 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
15458 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
15459 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
15460 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
15461 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
15462 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
15463 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
15464 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
15465 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
10044bf1 RD |
15466 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
15467 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
15468 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
15469 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
10044bf1 RD |
15470 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
15471 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
15472 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
15473 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
15474 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
15475 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
15476 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
15477 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
15478 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
10044bf1 RD |
15479 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15480 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15481 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
15482 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15483 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
15484 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
15485 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
15486 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15487 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15488 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15489 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15490 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
15491 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15492 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
15493 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15494 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15495 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15496 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
15497 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 15498 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 15499 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
15500 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
15501 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 RD |
15502 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
15503 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
15504 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15505 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
10044bf1 RD |
15506 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
15507 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
15508 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
15509 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15510 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
15511 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15512 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15513 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15514 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15515 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15516 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15517 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15518 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
15519 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
15520 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15521 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15522 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
15523 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, | |
15524 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
15525 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15526 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
15527 | { NULL, NULL, 0, NULL } |
15528 | }; | |
15529 | ||
15530 | ||
15531 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
15532 | ||
5eb8189c RD |
15533 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
15534 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
15535 | } |
15536 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
15537 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
15538 | } | |
15539 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
15540 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15541 | } | |
15542 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
15543 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
15544 | } | |
15545 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
15546 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15547 | } | |
15548 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
15549 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
15550 | } | |
15551 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
15552 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15553 | } | |
15554 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
15555 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
15556 | } | |
5eb8189c RD |
15557 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
15558 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
15559 | } | |
15560 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { | |
15561 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
15562 | } | |
10044bf1 RD |
15563 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
15564 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15565 | } | |
15566 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
15567 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15568 | } | |
27e45892 RD |
15569 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
15570 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
15571 | } | |
15572 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
15573 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
15574 | } | |
15575 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
15576 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
15577 | } | |
15578 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
15579 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
15580 | } | |
15581 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
15582 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
15583 | } | |
15584 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
15585 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
15586 | } | |
15587 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
15588 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
15589 | } | |
15590 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
15591 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
15592 | } | |
15593 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
15594 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
15595 | } | |
5eb8189c RD |
15596 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
15597 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
15598 | } |
15599 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
15600 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
15601 | } | |
15602 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15603 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
15604 | } | |
15605 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15606 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15607 | } | |
15608 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
15609 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
15610 | } | |
15611 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
15612 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15613 | } | |
15614 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
15615 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15616 | } | |
15617 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
15618 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
15619 | } | |
15620 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
15621 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
15622 | } | |
15623 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
15624 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
15625 | } | |
15626 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
15627 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
15628 | } | |
15629 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
15630 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15631 | } | |
15632 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
15633 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
15634 | } | |
15635 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
15636 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
15637 | } | |
15638 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
15639 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
15640 | } | |
15641 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15642 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15643 | } | |
15644 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
15645 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
15646 | } | |
15647 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
15648 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
15649 | } | |
15650 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
15651 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
15652 | } | |
15653 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
15654 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
15655 | } | |
15656 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
15657 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
15658 | } | |
15659 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
15660 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
15661 | } | |
15662 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
15663 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
15664 | } | |
15665 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
15666 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
15667 | } | |
15668 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
15669 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
15670 | } | |
15671 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
15672 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
15673 | } | |
15674 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
15675 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
15676 | } | |
15677 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
15678 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
15679 | } | |
15680 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
15681 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
15682 | } | |
15683 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
15684 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
15685 | } | |
15686 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
15687 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
15688 | } | |
15689 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
15690 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
15691 | } | |
15692 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
15693 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
15694 | } | |
15695 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
15696 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
15697 | } | |
15698 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
15699 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
15700 | } | |
15701 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
15702 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
15703 | } | |
15704 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
15705 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
15706 | } | |
15707 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
15708 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
15709 | } | |
15710 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
15711 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
15712 | } | |
15713 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
15714 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15715 | } | |
15716 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
15717 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
15718 | } | |
15719 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
15720 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
15721 | } | |
15722 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
15723 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
15724 | } | |
15725 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15726 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15727 | } | |
15728 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
15729 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
15730 | } | |
15731 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
15732 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
15733 | } | |
27e45892 RD |
15734 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
15735 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
15736 | } | |
15737 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
15738 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
15739 | } | |
5eb8189c RD |
15740 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
15741 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 15742 | } |
27e45892 RD |
15743 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
15744 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
15745 | } | |
15746 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
15747 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
15748 | } | |
10044bf1 RD |
15749 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
15750 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
15751 | } | |
27e45892 RD |
15752 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
15753 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
15754 | } | |
15755 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
15756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
15757 | } | |
15758 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
15759 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
15760 | } | |
15761 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
15762 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
15763 | } | |
15764 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
15765 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
15766 | } | |
5eb8189c RD |
15767 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
15768 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
15769 | } | |
27e45892 RD |
15770 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
15771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
15772 | } | |
10044bf1 RD |
15773 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
15774 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
15775 | } | |
15776 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
15777 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
15778 | } | |
15779 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
15780 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
15781 | } | |
15782 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
15783 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
15784 | } | |
15785 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
15786 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
15787 | } | |
15788 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
15789 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
15790 | } | |
15791 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
15792 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
15793 | } | |
15794 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
15795 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
15796 | } | |
15797 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
15798 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
15799 | } | |
15800 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
15801 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
15802 | } | |
15803 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
15804 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
15805 | } | |
15806 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
15807 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
15808 | } | |
15809 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
15810 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
15811 | } | |
15812 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
15813 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
15814 | } | |
15815 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
15816 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
15817 | } | |
15818 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
15819 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
15820 | } | |
15821 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
15822 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
15823 | } | |
15824 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
15825 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
15826 | } | |
15827 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
15828 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
15829 | } | |
15830 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
15831 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
15832 | } | |
15833 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
15834 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
15835 | } | |
15836 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
15837 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
15838 | } | |
15839 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
15840 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
15841 | } | |
15842 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
15843 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
15844 | } | |
15845 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
15846 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
15847 | } | |
15848 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
15849 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
15850 | } | |
15851 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
15852 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
15853 | } | |
15854 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
15855 | return (void *)((wxWindow **) ((wxControl **) x)); | |
15856 | } | |
15857 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
15858 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
15859 | } | |
15860 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
15861 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
15862 | } | |
15863 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
15864 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
15865 | } | |
15866 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
15867 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
15868 | } | |
15869 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
15870 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
15871 | } | |
15872 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
15873 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
15874 | } | |
10044bf1 RD |
15875 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
15876 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
15877 | } | |
15878 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
15879 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
15880 | } | |
5eb8189c RD |
15881 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
15882 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
10044bf1 RD |
15883 | } |
15884 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15885 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
15886 | } | |
15887 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
15888 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
15889 | } | |
15890 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
15891 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
15892 | } | |
15893 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
15894 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
15895 | } | |
15896 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
15897 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
15898 | } | |
15899 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
15900 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
15901 | } | |
15902 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
15903 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
15904 | } | |
15905 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
15906 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
15907 | } | |
5eb8189c RD |
15908 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
15909 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
15910 | } | |
10044bf1 RD |
15911 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
15912 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
15913 | } | |
15914 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
15915 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15916 | } | |
15917 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
15918 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
15919 | } | |
5eb8189c RD |
15920 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
15921 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 15922 | } |
27e45892 RD |
15923 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
15924 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15925 | } | |
15926 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15927 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15928 | } | |
15929 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15930 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15931 | } | |
15932 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15933 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15934 | } | |
15935 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15936 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15937 | } | |
15938 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15939 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15940 | } | |
15941 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
15942 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
15943 | } | |
5eb8189c RD |
15944 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
15945 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
15946 | } |
15947 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
15948 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15949 | } | |
15950 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15951 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15952 | } | |
15953 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
15954 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
15955 | } | |
15956 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15957 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15958 | } | |
0f83f5da RD |
15959 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
15960 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
15961 | } | |
27e45892 RD |
15962 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
15963 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15964 | } | |
15965 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
15966 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
15967 | } | |
10044bf1 RD |
15968 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
15969 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
15970 | } | |
27e45892 RD |
15971 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15972 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15973 | } | |
15974 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15975 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15976 | } | |
15977 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15978 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15979 | } | |
15980 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15981 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15982 | } | |
15983 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15984 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15985 | } | |
15986 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15987 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15988 | } | |
15989 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15990 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15991 | } | |
15992 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15993 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15994 | } | |
15995 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
15996 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
15997 | } | |
27e45892 RD |
15998 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
15999 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
16000 | } | |
16001 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
16002 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
16003 | } | |
0f83f5da RD |
16004 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
16005 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16006 | } | |
27e45892 RD |
16007 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
16008 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16009 | } | |
16010 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
16011 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16012 | } | |
16013 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
16014 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16015 | } | |
16016 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
16017 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16018 | } | |
16019 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
16020 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16021 | } | |
16022 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
16023 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
16024 | } | |
16025 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
16026 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
16027 | } | |
16028 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
16029 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16030 | } | |
16031 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
16032 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
16033 | } | |
16034 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
16035 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16036 | } | |
16037 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
16038 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
16039 | } | |
16040 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
16041 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
16042 | } | |
16043 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
16044 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16045 | } | |
16046 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
16047 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16048 | } | |
16049 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
16050 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16051 | } | |
16052 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
16053 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
16054 | } | |
16055 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
16056 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
16057 | } | |
16058 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
16059 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16060 | } | |
16061 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
16062 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
16063 | } | |
16064 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
16065 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16066 | } | |
16067 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
16068 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16069 | } | |
16070 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
16071 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16072 | } | |
27e45892 RD |
16073 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
16074 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
16075 | } | |
0f83f5da RD |
16076 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
16077 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
16078 | } | |
27e45892 RD |
16079 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
16080 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
16081 | } | |
16082 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
16083 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
16084 | } | |
16085 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
16086 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16087 | } | |
16088 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
16089 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
16090 | } | |
16091 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
16092 | return (void *)((wxObject *) ((wxSizer *) x)); | |
16093 | } | |
16094 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
16095 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16096 | } | |
16097 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
16098 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16099 | } | |
16100 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
16101 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16102 | } | |
16103 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
16104 | return (void *)((wxObject *) ((wxEvent *) x)); | |
16105 | } | |
16106 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
16107 | return (void *)((wxObject *) ((wxFontData *) x)); | |
16108 | } | |
16109 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
16110 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
16111 | } | |
16112 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
16113 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16114 | } | |
16115 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
16116 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
16117 | } | |
16118 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
16119 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
16120 | } | |
16121 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
16122 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
16123 | } | |
16124 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
16125 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
16126 | } | |
16127 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
16128 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16129 | } | |
10044bf1 RD |
16130 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
16131 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
16132 | } | |
27e45892 RD |
16133 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
16134 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16135 | } | |
16136 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
16137 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
16138 | } | |
16139 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
16140 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
16141 | } | |
16142 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
16143 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16144 | } | |
16145 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
16146 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16147 | } | |
16148 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
16149 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16150 | } | |
16151 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
16152 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16153 | } | |
16154 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
16155 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16156 | } | |
16157 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
16158 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
16159 | } | |
16160 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
16161 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
16162 | } | |
16163 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
16164 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16165 | } | |
5eb8189c RD |
16166 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
16167 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16168 | } |
16169 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
16170 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
16171 | } | |
16172 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
16173 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
16174 | } | |
5eb8189c RD |
16175 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
16176 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16177 | } | |
27e45892 RD |
16178 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
16179 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
16180 | } | |
16181 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
16182 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16183 | } | |
5eb8189c RD |
16184 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
16185 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16186 | } |
27e45892 RD |
16187 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
16188 | return (void *)((wxObject *) ((wxColourData *) x)); | |
16189 | } | |
16190 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
16191 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
16192 | } | |
16193 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
16194 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16195 | } | |
16196 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
16197 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
16198 | } | |
16199 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
16200 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16201 | } | |
16202 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
16203 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16204 | } | |
16205 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
16206 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16207 | } | |
16208 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
16209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16210 | } | |
16211 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
16212 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16213 | } | |
16214 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
16215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16216 | } | |
16217 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
16218 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16219 | } | |
16220 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
16221 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16222 | } | |
16223 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
16224 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16225 | } | |
16226 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
16227 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16228 | } | |
16229 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
16230 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
16231 | } | |
16232 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
16233 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
16234 | } | |
16235 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
16236 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
16237 | } | |
16238 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
16239 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
16240 | } | |
16241 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
16242 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
16243 | } | |
16244 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
16245 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16246 | } | |
16247 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
16248 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16249 | } | |
16250 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
16251 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
16252 | } | |
16253 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
16254 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
16255 | } | |
16256 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
16257 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
16258 | } | |
16259 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
16260 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
16261 | } | |
16262 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
16263 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
16264 | } | |
16265 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
16266 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
16267 | } | |
16268 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
16269 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
16270 | } | |
16271 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
16272 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
16273 | } | |
16274 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
16275 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
16276 | } | |
16277 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
16278 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
16279 | } | |
16280 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
16281 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
16282 | } | |
16283 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
16284 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
16285 | } | |
16286 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
16287 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
16288 | } | |
16289 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
16290 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
16291 | } | |
16292 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
16293 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
16294 | } | |
16295 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
16296 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
16297 | } | |
16298 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
16299 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
16300 | } | |
16301 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
16302 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
16303 | } | |
580080c5 RD |
16304 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
16305 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
16306 | } | |
27e45892 RD |
16307 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
16308 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
16309 | } | |
0f83f5da RD |
16310 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
16311 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16312 | } | |
27e45892 RD |
16313 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
16314 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16315 | } | |
16316 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
16317 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16318 | } | |
16319 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
16320 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16321 | } | |
27e45892 RD |
16322 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
16323 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
16324 | } | |
580080c5 RD |
16325 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
16326 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16327 | } | |
27e45892 RD |
16328 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
16329 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16330 | } | |
16331 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
16332 | return (void *)((wxObject *) ((wxImage *) x)); | |
16333 | } | |
16334 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
16335 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16336 | } | |
16337 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
16338 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
16339 | } | |
16340 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
16341 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
16342 | } | |
16343 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
16344 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16345 | } | |
27e45892 RD |
16346 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
16347 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
16348 | } | |
5eb8189c RD |
16349 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
16350 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
16351 | } |
16352 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
16353 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16354 | } | |
10044bf1 RD |
16355 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
16356 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16357 | } | |
27e45892 RD |
16358 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
16359 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16360 | } | |
16361 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
16362 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16363 | } | |
16364 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
16365 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
16366 | } | |
16367 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
16368 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
16369 | } | |
16370 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
16371 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
16372 | } | |
16373 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
16374 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
16375 | } | |
16376 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
16377 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16378 | } | |
16379 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
16380 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
16381 | } | |
16382 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
16383 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
16384 | } | |
16385 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
16386 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
16387 | } | |
16388 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
16389 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
16390 | } | |
16391 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
16392 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16393 | } | |
16394 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
16395 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
16396 | } | |
16397 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
16398 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16399 | } | |
16400 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
16401 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16402 | } | |
16403 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
16404 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16405 | } | |
16406 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
16407 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
16408 | } | |
16409 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
16410 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16411 | } | |
16412 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
16413 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
16414 | } | |
16415 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
16416 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
16417 | } | |
16418 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
16419 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
16420 | } | |
16421 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
16422 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
16423 | } | |
16424 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
16425 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16426 | } | |
16427 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
16428 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16429 | } | |
16430 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
16431 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16432 | } | |
16433 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
16434 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16435 | } | |
16436 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
16437 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
16438 | } | |
16439 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
16440 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
16441 | } | |
16442 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
16443 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
16444 | } | |
16445 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
16446 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16447 | } | |
16448 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
16449 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
16450 | } | |
16451 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
16452 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
16453 | } | |
16454 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
16455 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
16456 | } | |
16457 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
16458 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
16459 | } | |
16460 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
16461 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
16462 | } | |
16463 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
16464 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16465 | } | |
16466 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
16467 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
16468 | } | |
16469 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
16470 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16471 | } | |
16472 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
16473 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16474 | } | |
16475 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
16476 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
16477 | } | |
16478 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
16479 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
16480 | } | |
16481 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
16482 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16483 | } | |
16484 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
16485 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16486 | } | |
16487 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
16488 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
16489 | } | |
16490 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
16491 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
16492 | } | |
16493 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
16494 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
16495 | } | |
16496 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
16497 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
16498 | } | |
16499 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
16500 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16501 | } | |
16502 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
16503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16504 | } | |
16505 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
16506 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16507 | } | |
16508 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
16509 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
16510 | } | |
16511 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
16512 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
16513 | } | |
16514 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
16515 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
16516 | } | |
16517 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
16518 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
16519 | } | |
16520 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
16521 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16522 | } | |
16523 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
16524 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16525 | } | |
16526 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
16527 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16528 | } | |
16529 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
16530 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16531 | } | |
16532 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
16533 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16534 | } | |
16535 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
16536 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16537 | } | |
16538 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
16539 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16540 | } | |
16541 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
16542 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16543 | } | |
16544 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
16545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16546 | } | |
16547 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
16548 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
16549 | } | |
16550 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
16551 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
16552 | } | |
16553 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16554 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16555 | } | |
16556 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
16557 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16558 | } | |
16559 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
16560 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16561 | } | |
16562 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
16563 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
16564 | } | |
16565 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
16566 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16567 | } | |
16568 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
16569 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
16570 | } | |
16571 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
16572 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
16573 | } | |
16574 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
16575 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
16576 | } | |
16577 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
16578 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
16579 | } | |
16580 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16581 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16582 | } | |
16583 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
16584 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
16585 | } | |
16586 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
16587 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
16588 | } | |
16589 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
16590 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16591 | } | |
16592 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
16593 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
16594 | } | |
16595 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
16596 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16597 | } | |
16598 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
16599 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16600 | } | |
16601 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
16602 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16603 | } | |
16604 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
16605 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
16606 | } | |
16607 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
16608 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16609 | } | |
16610 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
16611 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
16612 | } | |
16613 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
16614 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16615 | } | |
27e45892 RD |
16616 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
16617 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16618 | } | |
16619 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
16620 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16621 | } | |
5eb8189c RD |
16622 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
16623 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16624 | } |
27e45892 RD |
16625 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
16626 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16627 | } | |
16628 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
16629 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16630 | } | |
16631 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
16632 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
16633 | } | |
10044bf1 RD |
16634 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
16635 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
16636 | } | |
27e45892 RD |
16637 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
16638 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16639 | } | |
16640 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
16641 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16642 | } | |
16643 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
16644 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16645 | } | |
16646 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
16647 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16648 | } | |
16649 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
16650 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16651 | } | |
5eb8189c RD |
16652 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
16653 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16654 | } | |
27e45892 RD |
16655 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
16656 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16657 | } | |
5eb8189c RD |
16658 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
16659 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 16660 | } |
10044bf1 RD |
16661 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
16662 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
16663 | } | |
27e45892 RD |
16664 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
16665 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
16666 | } | |
16667 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
16668 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
16669 | } | |
16670 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
16671 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
16672 | } | |
16673 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
16674 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
16675 | } | |
16676 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
16677 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16678 | } | |
27e45892 RD |
16679 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
16680 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
16681 | } | |
16682 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
16683 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
16684 | } | |
16685 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
16686 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
16687 | } | |
5eb8189c RD |
16688 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
16689 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16690 | } | |
10044bf1 RD |
16691 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
16692 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
16693 | } | |
16694 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
16695 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16696 | } | |
16697 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
16698 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16699 | } | |
16700 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
16701 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16702 | } | |
16703 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
16704 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
16705 | } | |
16706 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
16707 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16708 | } | |
16709 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
16710 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16711 | } | |
16712 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
16713 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16714 | } | |
16715 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
16716 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16717 | } | |
16718 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
16719 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
16720 | } | |
16721 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
16722 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16723 | } | |
16724 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
16725 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16726 | } | |
16727 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
16728 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16729 | } | |
16730 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
16731 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16732 | } | |
5eb8189c RD |
16733 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
16734 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 16735 | } |
5eb8189c RD |
16736 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
16737 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 16738 | } |
5eb8189c RD |
16739 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
16740 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
5c8c7dd3 | 16741 | } |
5eb8189c RD |
16742 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
16743 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 16744 | } |
27e45892 RD |
16745 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
16746 | 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 | 16747 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
16748 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
16749 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
16750 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16751 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
16752 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16753 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16754 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16755 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16756 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16757 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16758 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16759 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16760 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16761 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16762 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16763 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
16764 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16765 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16766 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16767 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16768 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16769 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16770 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16771 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
16772 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16773 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16774 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16775 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16776 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16777 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
16778 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16779 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
16780 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
16781 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
16782 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
16783 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
10044bf1 RD |
16784 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
16785 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 16786 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
16787 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
16788 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16789 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
16790 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
16791 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16792 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16793 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16794 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 16795 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 16796 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
16797 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
16798 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
16799 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
26c4d26f | 16800 | static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
16801 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
16802 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
16803 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
16804 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
16805 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
16806 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
16807 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
16808 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
16809 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16810 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
16811 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
16812 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16813 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
16814 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
16815 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
16816 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
16817 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16818 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
16819 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
16820 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
16821 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16822 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
16823 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
16824 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
16825 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
16826 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
16827 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
16828 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
16829 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
16830 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
16831 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
16832 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
16833 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
16834 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
16835 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
16836 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
16837 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
16838 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 16839 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16840 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
16841 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16842 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
16843 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
16844 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
16845 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
16846 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 16847 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 16848 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 16849 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
16850 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
16851 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16852 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
16853 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
16854 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
16855 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
16856 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
16857 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16858 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
16859 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16860 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
16861 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
16862 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
16863 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
16864 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
16865 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16866 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
16867 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16868 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
16869 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
16870 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
16871 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
16872 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
16873 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
16874 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
16875 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
16876 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
16877 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
16878 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
16879 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
16880 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
16881 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
16882 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
16883 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
16884 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
16885 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
16886 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
16887 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; | |
16888 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
16889 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
16890 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
16891 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
16892 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
16893 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
16894 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
16895 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
16896 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
16897 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
16898 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
16899 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
16900 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
16901 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16902 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
16903 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16904 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
16905 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
16906 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
16907 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
16908 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
16909 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
16910 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
16911 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
16912 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
16913 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
16914 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
16915 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
16916 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16917 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
16918 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 16919 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 16920 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
16921 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
16922 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
16923 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
16924 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
16925 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
16926 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
16927 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
16928 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
16929 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
16930 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
16931 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
16932 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
16933 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
16934 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
16935 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
16936 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
16937 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
16938 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16939 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
16940 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
16941 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
16942 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
16943 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 16944 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
16945 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
16946 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16947 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
16948 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
16949 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
16950 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
16951 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 16952 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
16953 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
16954 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
16955 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
16956 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
16957 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
16958 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
16959 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
16960 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
16961 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
16962 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
16963 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
16964 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
16965 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
16966 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
16967 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
16968 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
16969 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
16970 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
16971 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
16972 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
16973 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
16974 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
16975 | ||
16976 | static swig_type_info *swig_type_initial[] = { | |
16977 | &_swigt__p_char, | |
16978 | &_swigt__p_form_ops_t, | |
16979 | &_swigt__p_int, | |
5eb8189c RD |
16980 | &_swigt__p_p_wxAuiFloatingFrame, |
16981 | &_swigt__p_p_wxAuiNotebook, | |
10044bf1 RD |
16982 | &_swigt__p_p_wxAuiTabContainerButton, |
16983 | &_swigt__p_p_wxAuiTabCtrl, | |
16984 | &_swigt__p_p_wxColourDialog, | |
16985 | &_swigt__p_p_wxControl, | |
16986 | &_swigt__p_p_wxControlWithItems, | |
16987 | &_swigt__p_p_wxDialog, | |
16988 | &_swigt__p_p_wxDirDialog, | |
16989 | &_swigt__p_p_wxFileDialog, | |
16990 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
16991 | &_swigt__p_p_wxFontDialog, |
16992 | &_swigt__p_p_wxFrame, | |
16993 | &_swigt__p_p_wxMDIChildFrame, | |
16994 | &_swigt__p_p_wxMDIClientWindow, | |
16995 | &_swigt__p_p_wxMDIParentFrame, | |
16996 | &_swigt__p_p_wxMenuBar, | |
16997 | &_swigt__p_p_wxMessageDialog, | |
16998 | &_swigt__p_p_wxMiniFrame, | |
16999 | &_swigt__p_p_wxMultiChoiceDialog, | |
17000 | &_swigt__p_p_wxNumberEntryDialog, | |
17001 | &_swigt__p_p_wxPanel, | |
17002 | &_swigt__p_p_wxPasswordEntryDialog, | |
17003 | &_swigt__p_p_wxPopupWindow, | |
17004 | &_swigt__p_p_wxPreviewCanvas, | |
17005 | &_swigt__p_p_wxPreviewControlBar, | |
17006 | &_swigt__p_p_wxPreviewFrame, | |
17007 | &_swigt__p_p_wxProgressDialog, | |
17008 | &_swigt__p_p_wxPyHtmlListBox, | |
17009 | &_swigt__p_p_wxPyPanel, | |
17010 | &_swigt__p_p_wxPyPopupTransientWindow, | |
17011 | &_swigt__p_p_wxPyPreviewControlBar, | |
17012 | &_swigt__p_p_wxPyPreviewFrame, | |
17013 | &_swigt__p_p_wxPyScrolledWindow, | |
17014 | &_swigt__p_p_wxPyVListBox, | |
17015 | &_swigt__p_p_wxPyVScrolledWindow, | |
17016 | &_swigt__p_p_wxPyWindow, | |
17017 | &_swigt__p_p_wxSashLayoutWindow, | |
17018 | &_swigt__p_p_wxSashWindow, | |
17019 | &_swigt__p_p_wxScrolledWindow, | |
17020 | &_swigt__p_p_wxSingleChoiceDialog, | |
17021 | &_swigt__p_p_wxSplashScreen, | |
17022 | &_swigt__p_p_wxSplashScreenWindow, | |
17023 | &_swigt__p_p_wxSplitterWindow, | |
17024 | &_swigt__p_p_wxStatusBar, | |
17025 | &_swigt__p_p_wxTextEntryDialog, | |
17026 | &_swigt__p_p_wxTipWindow, | |
17027 | &_swigt__p_p_wxTopLevelWindow, | |
17028 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
17029 | &_swigt__p_unsigned_char, |
17030 | &_swigt__p_unsigned_int, | |
17031 | &_swigt__p_unsigned_long, | |
17032 | &_swigt__p_wxANIHandler, | |
17033 | &_swigt__p_wxAcceleratorTable, | |
17034 | &_swigt__p_wxActivateEvent, | |
26c4d26f | 17035 | &_swigt__p_wxArrayString, |
5eb8189c RD |
17036 | &_swigt__p_wxAuiDefaultDockArt, |
17037 | &_swigt__p_wxAuiDefaultTabArt, | |
17038 | &_swigt__p_wxAuiDockArt, | |
17039 | &_swigt__p_wxAuiDockInfo, | |
17040 | &_swigt__p_wxAuiDockUIPart, | |
17041 | &_swigt__p_wxAuiFloatingFrame, | |
17042 | &_swigt__p_wxAuiManager, | |
17043 | &_swigt__p_wxAuiManagerEvent, | |
17044 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
17045 | &_swigt__p_wxAuiNotebookEvent, |
17046 | &_swigt__p_wxAuiNotebookPage, | |
17047 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17048 | &_swigt__p_wxAuiPaneButton, |
17049 | &_swigt__p_wxAuiPaneButtonArray, | |
17050 | &_swigt__p_wxAuiPaneInfo, | |
17051 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
17052 | &_swigt__p_wxAuiTabArt, | |
10044bf1 RD |
17053 | &_swigt__p_wxAuiTabContainer, |
17054 | &_swigt__p_wxAuiTabContainerButton, | |
17055 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 17056 | &_swigt__p_wxBMPHandler, |
10044bf1 | 17057 | &_swigt__p_wxBitmap, |
27e45892 RD |
17058 | &_swigt__p_wxBoxSizer, |
17059 | &_swigt__p_wxCURHandler, | |
17060 | &_swigt__p_wxCalculateLayoutEvent, | |
17061 | &_swigt__p_wxChildFocusEvent, | |
17062 | &_swigt__p_wxClipboardTextEvent, | |
17063 | &_swigt__p_wxCloseEvent, | |
17064 | &_swigt__p_wxColor, | |
17065 | &_swigt__p_wxColour, | |
17066 | &_swigt__p_wxColourData, | |
17067 | &_swigt__p_wxColourDialog, | |
17068 | &_swigt__p_wxCommandEvent, | |
17069 | &_swigt__p_wxContextMenuEvent, | |
17070 | &_swigt__p_wxControl, | |
17071 | &_swigt__p_wxControlWithItems, | |
17072 | &_swigt__p_wxDC, | |
17073 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
17074 | &_swigt__p_wxDialog, |
17075 | &_swigt__p_wxDirDialog, | |
17076 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
17077 | &_swigt__p_wxDropFilesEvent, |
17078 | &_swigt__p_wxDuplexMode, | |
17079 | &_swigt__p_wxEraseEvent, | |
17080 | &_swigt__p_wxEvent, | |
17081 | &_swigt__p_wxEvtHandler, | |
17082 | &_swigt__p_wxFSFile, | |
17083 | &_swigt__p_wxFileDialog, | |
17084 | &_swigt__p_wxFileSystem, | |
17085 | &_swigt__p_wxFindDialogEvent, | |
17086 | &_swigt__p_wxFindReplaceData, | |
17087 | &_swigt__p_wxFindReplaceDialog, | |
17088 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
17089 | &_swigt__p_wxFocusEvent, |
17090 | &_swigt__p_wxFont, | |
17091 | &_swigt__p_wxFontData, | |
17092 | &_swigt__p_wxFontDialog, | |
17093 | &_swigt__p_wxFrame, | |
27e45892 RD |
17094 | &_swigt__p_wxGBSizerItem, |
17095 | &_swigt__p_wxGIFHandler, | |
17096 | &_swigt__p_wxGridBagSizer, | |
17097 | &_swigt__p_wxGridSizer, | |
17098 | &_swigt__p_wxICOHandler, | |
17099 | &_swigt__p_wxIconizeEvent, | |
17100 | &_swigt__p_wxIdleEvent, | |
17101 | &_swigt__p_wxImage, | |
17102 | &_swigt__p_wxImageHandler, | |
17103 | &_swigt__p_wxIndividualLayoutConstraint, | |
17104 | &_swigt__p_wxInitDialogEvent, | |
17105 | &_swigt__p_wxJPEGHandler, | |
17106 | &_swigt__p_wxKeyEvent, | |
17107 | &_swigt__p_wxLayoutAlgorithm, | |
17108 | &_swigt__p_wxLayoutConstraints, | |
17109 | &_swigt__p_wxMDIChildFrame, | |
17110 | &_swigt__p_wxMDIClientWindow, | |
17111 | &_swigt__p_wxMDIParentFrame, | |
17112 | &_swigt__p_wxMaximizeEvent, | |
17113 | &_swigt__p_wxMenu, | |
17114 | &_swigt__p_wxMenuBar, | |
17115 | &_swigt__p_wxMenuEvent, | |
17116 | &_swigt__p_wxMenuItem, | |
17117 | &_swigt__p_wxMessageDialog, | |
17118 | &_swigt__p_wxMiniFrame, | |
17119 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 17120 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
17121 | &_swigt__p_wxMouseEvent, |
17122 | &_swigt__p_wxMoveEvent, | |
17123 | &_swigt__p_wxMultiChoiceDialog, | |
17124 | &_swigt__p_wxNavigationKeyEvent, | |
17125 | &_swigt__p_wxNcPaintEvent, | |
17126 | &_swigt__p_wxNotifyEvent, | |
17127 | &_swigt__p_wxNumberEntryDialog, | |
17128 | &_swigt__p_wxObject, | |
17129 | &_swigt__p_wxPCXHandler, | |
17130 | &_swigt__p_wxPNGHandler, | |
17131 | &_swigt__p_wxPNMHandler, | |
17132 | &_swigt__p_wxPageSetupDialog, | |
17133 | &_swigt__p_wxPageSetupDialogData, | |
17134 | &_swigt__p_wxPaintEvent, | |
17135 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
17136 | &_swigt__p_wxPanel, |
17137 | &_swigt__p_wxPaperSize, | |
17138 | &_swigt__p_wxPasswordEntryDialog, | |
17139 | &_swigt__p_wxPoint, | |
17140 | &_swigt__p_wxPopupWindow, | |
17141 | &_swigt__p_wxPreviewCanvas, | |
17142 | &_swigt__p_wxPreviewControlBar, | |
17143 | &_swigt__p_wxPreviewFrame, | |
17144 | &_swigt__p_wxPrintData, | |
17145 | &_swigt__p_wxPrintDialog, | |
17146 | &_swigt__p_wxPrintDialogData, | |
17147 | &_swigt__p_wxPrintPreview, | |
17148 | &_swigt__p_wxPrinter, | |
17149 | &_swigt__p_wxProgressDialog, | |
17150 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
17151 | &_swigt__p_wxPyAuiDockArt, |
17152 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 17153 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
17154 | &_swigt__p_wxPyEvent, |
17155 | &_swigt__p_wxPyHtmlListBox, | |
17156 | &_swigt__p_wxPyImageHandler, | |
17157 | &_swigt__p_wxPyPanel, | |
17158 | &_swigt__p_wxPyPopupTransientWindow, | |
17159 | &_swigt__p_wxPyPreviewControlBar, | |
17160 | &_swigt__p_wxPyPreviewFrame, | |
17161 | &_swigt__p_wxPyPrintPreview, | |
17162 | &_swigt__p_wxPyPrintout, | |
17163 | &_swigt__p_wxPyScrolledWindow, | |
17164 | &_swigt__p_wxPySizer, | |
17165 | &_swigt__p_wxPyTaskBarIcon, | |
17166 | &_swigt__p_wxPyVListBox, | |
17167 | &_swigt__p_wxPyVScrolledWindow, | |
17168 | &_swigt__p_wxPyValidator, | |
17169 | &_swigt__p_wxPyWindow, | |
17170 | &_swigt__p_wxQueryLayoutInfoEvent, | |
17171 | &_swigt__p_wxQueryNewPaletteEvent, | |
17172 | &_swigt__p_wxRect, | |
17173 | &_swigt__p_wxSashEvent, | |
17174 | &_swigt__p_wxSashLayoutWindow, | |
17175 | &_swigt__p_wxSashWindow, | |
17176 | &_swigt__p_wxScrollEvent, | |
17177 | &_swigt__p_wxScrollWinEvent, | |
17178 | &_swigt__p_wxScrolledWindow, | |
17179 | &_swigt__p_wxSetCursorEvent, | |
17180 | &_swigt__p_wxShowEvent, | |
17181 | &_swigt__p_wxSingleChoiceDialog, | |
17182 | &_swigt__p_wxSize, | |
17183 | &_swigt__p_wxSizeEvent, | |
17184 | &_swigt__p_wxSizer, | |
17185 | &_swigt__p_wxSizerItem, | |
17186 | &_swigt__p_wxSplashScreen, | |
17187 | &_swigt__p_wxSplashScreenWindow, | |
17188 | &_swigt__p_wxSplitterEvent, | |
17189 | &_swigt__p_wxSplitterWindow, | |
17190 | &_swigt__p_wxStaticBoxSizer, | |
17191 | &_swigt__p_wxStatusBar, | |
17192 | &_swigt__p_wxStdDialogButtonSizer, | |
17193 | &_swigt__p_wxString, | |
17194 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 17195 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
17196 | &_swigt__p_wxTIFFHandler, |
17197 | &_swigt__p_wxTaskBarIconEvent, | |
17198 | &_swigt__p_wxTextEntryDialog, | |
17199 | &_swigt__p_wxTipWindow, | |
17200 | &_swigt__p_wxTopLevelWindow, | |
17201 | &_swigt__p_wxUpdateUIEvent, | |
17202 | &_swigt__p_wxValidator, | |
17203 | &_swigt__p_wxWindow, | |
17204 | &_swigt__p_wxWindowCreateEvent, | |
17205 | &_swigt__p_wxWindowDestroyEvent, | |
17206 | &_swigt__p_wxXPMHandler, | |
17207 | }; | |
17208 | ||
17209 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
17210 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
17211 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17212 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
17213 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
17214 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17215 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17216 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17217 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17218 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17219 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17220 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17221 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17222 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17223 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17224 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17225 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17226 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17227 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17228 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17229 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17230 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17231 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17232 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17233 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17234 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17235 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17236 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17237 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17238 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17239 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17240 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17241 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17242 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
17243 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17244 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
17245 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17246 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17247 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
17248 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17249 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17250 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
17251 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17252 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17253 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17254 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17255 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17256 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17257 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17258 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 17259 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c | 17260 | 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 |
17261 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
17262 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
17263 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
26c4d26f | 17264 | static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17265 | 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}}; |
17266 | 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}}; | |
17267 | 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}}; | |
17268 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17269 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
17270 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17271 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
17272 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17273 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17274 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17275 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
17276 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17277 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
17278 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17279 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17280 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17281 | 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 |
17282 | 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}}; |
17283 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
17284 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17285 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17286 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
17287 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17288 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17289 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17290 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17291 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17292 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17293 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17294 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17295 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17296 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17297 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17298 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17299 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17300 | 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}}; | |
17301 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17302 | 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 | 17303 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17304 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17305 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17306 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17307 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17308 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17309 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 17310 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17311 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 17312 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17313 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17314 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17315 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17316 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17317 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17318 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17319 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17320 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17321 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17322 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17323 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17324 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17325 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17326 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17327 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17328 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17329 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17330 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17331 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17332 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17333 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17334 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17335 | 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 |
17336 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
17337 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17338 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17339 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17340 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17341 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17342 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17343 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17344 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17345 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17346 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17347 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17348 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17349 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17350 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17351 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17352 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17353 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17354 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17355 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17356 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17357 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17358 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17359 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17360 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17361 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17362 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17363 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17364 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17365 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
17366 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17367 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
17368 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
17369 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17370 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17371 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17372 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17373 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
17374 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17375 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17376 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17377 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17378 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
17379 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17380 | 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 | 17381 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17382 | 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}}; |
17383 | 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 | 17384 | 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 |
17385 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
17386 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
17387 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
17388 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17389 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17390 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17391 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
17392 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
17393 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17394 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17395 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
17396 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
17397 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
17398 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17399 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
17400 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
17401 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17402 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17403 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17404 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17405 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17406 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17407 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17408 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17409 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17410 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17411 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17412 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17413 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17414 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 17415 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17416 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
17417 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
17418 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
17419 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
17420 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17421 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17422 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17423 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17424 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
17425 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
17426 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17427 | 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 |
17428 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
17429 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17430 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
17431 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17432 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
17433 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
17434 | 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}}; | |
17435 | 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}}; | |
17436 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17437 | 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}}; |
17438 | 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 |
17439 | |
17440 | static swig_cast_info *swig_cast_initial[] = { | |
17441 | _swigc__p_char, | |
17442 | _swigc__p_form_ops_t, | |
17443 | _swigc__p_int, | |
5eb8189c RD |
17444 | _swigc__p_p_wxAuiFloatingFrame, |
17445 | _swigc__p_p_wxAuiNotebook, | |
10044bf1 RD |
17446 | _swigc__p_p_wxAuiTabContainerButton, |
17447 | _swigc__p_p_wxAuiTabCtrl, | |
17448 | _swigc__p_p_wxColourDialog, | |
17449 | _swigc__p_p_wxControl, | |
17450 | _swigc__p_p_wxControlWithItems, | |
17451 | _swigc__p_p_wxDialog, | |
17452 | _swigc__p_p_wxDirDialog, | |
17453 | _swigc__p_p_wxFileDialog, | |
17454 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
17455 | _swigc__p_p_wxFontDialog, |
17456 | _swigc__p_p_wxFrame, | |
17457 | _swigc__p_p_wxMDIChildFrame, | |
17458 | _swigc__p_p_wxMDIClientWindow, | |
17459 | _swigc__p_p_wxMDIParentFrame, | |
17460 | _swigc__p_p_wxMenuBar, | |
17461 | _swigc__p_p_wxMessageDialog, | |
17462 | _swigc__p_p_wxMiniFrame, | |
17463 | _swigc__p_p_wxMultiChoiceDialog, | |
17464 | _swigc__p_p_wxNumberEntryDialog, | |
17465 | _swigc__p_p_wxPanel, | |
17466 | _swigc__p_p_wxPasswordEntryDialog, | |
17467 | _swigc__p_p_wxPopupWindow, | |
17468 | _swigc__p_p_wxPreviewCanvas, | |
17469 | _swigc__p_p_wxPreviewControlBar, | |
17470 | _swigc__p_p_wxPreviewFrame, | |
17471 | _swigc__p_p_wxProgressDialog, | |
17472 | _swigc__p_p_wxPyHtmlListBox, | |
17473 | _swigc__p_p_wxPyPanel, | |
17474 | _swigc__p_p_wxPyPopupTransientWindow, | |
17475 | _swigc__p_p_wxPyPreviewControlBar, | |
17476 | _swigc__p_p_wxPyPreviewFrame, | |
17477 | _swigc__p_p_wxPyScrolledWindow, | |
17478 | _swigc__p_p_wxPyVListBox, | |
17479 | _swigc__p_p_wxPyVScrolledWindow, | |
17480 | _swigc__p_p_wxPyWindow, | |
17481 | _swigc__p_p_wxSashLayoutWindow, | |
17482 | _swigc__p_p_wxSashWindow, | |
17483 | _swigc__p_p_wxScrolledWindow, | |
17484 | _swigc__p_p_wxSingleChoiceDialog, | |
17485 | _swigc__p_p_wxSplashScreen, | |
17486 | _swigc__p_p_wxSplashScreenWindow, | |
17487 | _swigc__p_p_wxSplitterWindow, | |
17488 | _swigc__p_p_wxStatusBar, | |
17489 | _swigc__p_p_wxTextEntryDialog, | |
17490 | _swigc__p_p_wxTipWindow, | |
17491 | _swigc__p_p_wxTopLevelWindow, | |
17492 | _swigc__p_p_wxWindow, | |
27e45892 RD |
17493 | _swigc__p_unsigned_char, |
17494 | _swigc__p_unsigned_int, | |
17495 | _swigc__p_unsigned_long, | |
17496 | _swigc__p_wxANIHandler, | |
17497 | _swigc__p_wxAcceleratorTable, | |
17498 | _swigc__p_wxActivateEvent, | |
26c4d26f | 17499 | _swigc__p_wxArrayString, |
5eb8189c RD |
17500 | _swigc__p_wxAuiDefaultDockArt, |
17501 | _swigc__p_wxAuiDefaultTabArt, | |
17502 | _swigc__p_wxAuiDockArt, | |
17503 | _swigc__p_wxAuiDockInfo, | |
17504 | _swigc__p_wxAuiDockUIPart, | |
17505 | _swigc__p_wxAuiFloatingFrame, | |
17506 | _swigc__p_wxAuiManager, | |
17507 | _swigc__p_wxAuiManagerEvent, | |
17508 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
17509 | _swigc__p_wxAuiNotebookEvent, |
17510 | _swigc__p_wxAuiNotebookPage, | |
17511 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17512 | _swigc__p_wxAuiPaneButton, |
17513 | _swigc__p_wxAuiPaneButtonArray, | |
17514 | _swigc__p_wxAuiPaneInfo, | |
17515 | _swigc__p_wxAuiPaneInfoPtrArray, | |
17516 | _swigc__p_wxAuiTabArt, | |
10044bf1 RD |
17517 | _swigc__p_wxAuiTabContainer, |
17518 | _swigc__p_wxAuiTabContainerButton, | |
17519 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 17520 | _swigc__p_wxBMPHandler, |
10044bf1 | 17521 | _swigc__p_wxBitmap, |
27e45892 RD |
17522 | _swigc__p_wxBoxSizer, |
17523 | _swigc__p_wxCURHandler, | |
17524 | _swigc__p_wxCalculateLayoutEvent, | |
17525 | _swigc__p_wxChildFocusEvent, | |
17526 | _swigc__p_wxClipboardTextEvent, | |
17527 | _swigc__p_wxCloseEvent, | |
17528 | _swigc__p_wxColor, | |
17529 | _swigc__p_wxColour, | |
17530 | _swigc__p_wxColourData, | |
17531 | _swigc__p_wxColourDialog, | |
17532 | _swigc__p_wxCommandEvent, | |
17533 | _swigc__p_wxContextMenuEvent, | |
17534 | _swigc__p_wxControl, | |
17535 | _swigc__p_wxControlWithItems, | |
17536 | _swigc__p_wxDC, | |
17537 | _swigc__p_wxDateEvent, | |
27e45892 RD |
17538 | _swigc__p_wxDialog, |
17539 | _swigc__p_wxDirDialog, | |
17540 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
17541 | _swigc__p_wxDropFilesEvent, |
17542 | _swigc__p_wxDuplexMode, | |
17543 | _swigc__p_wxEraseEvent, | |
17544 | _swigc__p_wxEvent, | |
17545 | _swigc__p_wxEvtHandler, | |
17546 | _swigc__p_wxFSFile, | |
17547 | _swigc__p_wxFileDialog, | |
17548 | _swigc__p_wxFileSystem, | |
17549 | _swigc__p_wxFindDialogEvent, | |
17550 | _swigc__p_wxFindReplaceData, | |
17551 | _swigc__p_wxFindReplaceDialog, | |
17552 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
17553 | _swigc__p_wxFocusEvent, |
17554 | _swigc__p_wxFont, | |
17555 | _swigc__p_wxFontData, | |
17556 | _swigc__p_wxFontDialog, | |
17557 | _swigc__p_wxFrame, | |
27e45892 RD |
17558 | _swigc__p_wxGBSizerItem, |
17559 | _swigc__p_wxGIFHandler, | |
17560 | _swigc__p_wxGridBagSizer, | |
17561 | _swigc__p_wxGridSizer, | |
17562 | _swigc__p_wxICOHandler, | |
17563 | _swigc__p_wxIconizeEvent, | |
17564 | _swigc__p_wxIdleEvent, | |
17565 | _swigc__p_wxImage, | |
17566 | _swigc__p_wxImageHandler, | |
17567 | _swigc__p_wxIndividualLayoutConstraint, | |
17568 | _swigc__p_wxInitDialogEvent, | |
17569 | _swigc__p_wxJPEGHandler, | |
17570 | _swigc__p_wxKeyEvent, | |
17571 | _swigc__p_wxLayoutAlgorithm, | |
17572 | _swigc__p_wxLayoutConstraints, | |
17573 | _swigc__p_wxMDIChildFrame, | |
17574 | _swigc__p_wxMDIClientWindow, | |
17575 | _swigc__p_wxMDIParentFrame, | |
17576 | _swigc__p_wxMaximizeEvent, | |
17577 | _swigc__p_wxMenu, | |
17578 | _swigc__p_wxMenuBar, | |
17579 | _swigc__p_wxMenuEvent, | |
17580 | _swigc__p_wxMenuItem, | |
17581 | _swigc__p_wxMessageDialog, | |
17582 | _swigc__p_wxMiniFrame, | |
17583 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 17584 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
17585 | _swigc__p_wxMouseEvent, |
17586 | _swigc__p_wxMoveEvent, | |
17587 | _swigc__p_wxMultiChoiceDialog, | |
17588 | _swigc__p_wxNavigationKeyEvent, | |
17589 | _swigc__p_wxNcPaintEvent, | |
17590 | _swigc__p_wxNotifyEvent, | |
17591 | _swigc__p_wxNumberEntryDialog, | |
17592 | _swigc__p_wxObject, | |
17593 | _swigc__p_wxPCXHandler, | |
17594 | _swigc__p_wxPNGHandler, | |
17595 | _swigc__p_wxPNMHandler, | |
17596 | _swigc__p_wxPageSetupDialog, | |
17597 | _swigc__p_wxPageSetupDialogData, | |
17598 | _swigc__p_wxPaintEvent, | |
17599 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
17600 | _swigc__p_wxPanel, |
17601 | _swigc__p_wxPaperSize, | |
17602 | _swigc__p_wxPasswordEntryDialog, | |
17603 | _swigc__p_wxPoint, | |
17604 | _swigc__p_wxPopupWindow, | |
17605 | _swigc__p_wxPreviewCanvas, | |
17606 | _swigc__p_wxPreviewControlBar, | |
17607 | _swigc__p_wxPreviewFrame, | |
17608 | _swigc__p_wxPrintData, | |
17609 | _swigc__p_wxPrintDialog, | |
17610 | _swigc__p_wxPrintDialogData, | |
17611 | _swigc__p_wxPrintPreview, | |
17612 | _swigc__p_wxPrinter, | |
17613 | _swigc__p_wxProgressDialog, | |
17614 | _swigc__p_wxPyApp, | |
5eb8189c RD |
17615 | _swigc__p_wxPyAuiDockArt, |
17616 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 17617 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
17618 | _swigc__p_wxPyEvent, |
17619 | _swigc__p_wxPyHtmlListBox, | |
17620 | _swigc__p_wxPyImageHandler, | |
17621 | _swigc__p_wxPyPanel, | |
17622 | _swigc__p_wxPyPopupTransientWindow, | |
17623 | _swigc__p_wxPyPreviewControlBar, | |
17624 | _swigc__p_wxPyPreviewFrame, | |
17625 | _swigc__p_wxPyPrintPreview, | |
17626 | _swigc__p_wxPyPrintout, | |
17627 | _swigc__p_wxPyScrolledWindow, | |
17628 | _swigc__p_wxPySizer, | |
17629 | _swigc__p_wxPyTaskBarIcon, | |
17630 | _swigc__p_wxPyVListBox, | |
17631 | _swigc__p_wxPyVScrolledWindow, | |
17632 | _swigc__p_wxPyValidator, | |
17633 | _swigc__p_wxPyWindow, | |
17634 | _swigc__p_wxQueryLayoutInfoEvent, | |
17635 | _swigc__p_wxQueryNewPaletteEvent, | |
17636 | _swigc__p_wxRect, | |
17637 | _swigc__p_wxSashEvent, | |
17638 | _swigc__p_wxSashLayoutWindow, | |
17639 | _swigc__p_wxSashWindow, | |
17640 | _swigc__p_wxScrollEvent, | |
17641 | _swigc__p_wxScrollWinEvent, | |
17642 | _swigc__p_wxScrolledWindow, | |
17643 | _swigc__p_wxSetCursorEvent, | |
17644 | _swigc__p_wxShowEvent, | |
17645 | _swigc__p_wxSingleChoiceDialog, | |
17646 | _swigc__p_wxSize, | |
17647 | _swigc__p_wxSizeEvent, | |
17648 | _swigc__p_wxSizer, | |
17649 | _swigc__p_wxSizerItem, | |
17650 | _swigc__p_wxSplashScreen, | |
17651 | _swigc__p_wxSplashScreenWindow, | |
17652 | _swigc__p_wxSplitterEvent, | |
17653 | _swigc__p_wxSplitterWindow, | |
17654 | _swigc__p_wxStaticBoxSizer, | |
17655 | _swigc__p_wxStatusBar, | |
17656 | _swigc__p_wxStdDialogButtonSizer, | |
17657 | _swigc__p_wxString, | |
17658 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 17659 | _swigc__p_wxTGAHandler, |
27e45892 RD |
17660 | _swigc__p_wxTIFFHandler, |
17661 | _swigc__p_wxTaskBarIconEvent, | |
17662 | _swigc__p_wxTextEntryDialog, | |
17663 | _swigc__p_wxTipWindow, | |
17664 | _swigc__p_wxTopLevelWindow, | |
17665 | _swigc__p_wxUpdateUIEvent, | |
17666 | _swigc__p_wxValidator, | |
17667 | _swigc__p_wxWindow, | |
17668 | _swigc__p_wxWindowCreateEvent, | |
17669 | _swigc__p_wxWindowDestroyEvent, | |
17670 | _swigc__p_wxXPMHandler, | |
17671 | }; | |
17672 | ||
17673 | ||
17674 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
17675 | ||
17676 | static swig_const_info swig_const_table[] = { | |
17677 | {0, 0, 0, 0.0, 0, 0}}; | |
17678 | ||
17679 | #ifdef __cplusplus | |
17680 | } | |
17681 | #endif | |
17682 | /* ----------------------------------------------------------------------------- | |
17683 | * Type initialization: | |
17684 | * This problem is tough by the requirement that no dynamic | |
17685 | * memory is used. Also, since swig_type_info structures store pointers to | |
17686 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
17687 | * to swig_type_info structures, we need some lookup code at initialization. | |
17688 | * The idea is that swig generates all the structures that are needed. | |
17689 | * The runtime then collects these partially filled structures. | |
17690 | * The SWIG_InitializeModule function takes these initial arrays out of | |
17691 | * swig_module, and does all the lookup, filling in the swig_module.types | |
17692 | * array with the correct data and linking the correct swig_cast_info | |
17693 | * structures together. | |
17694 | * | |
17695 | * The generated swig_type_info structures are assigned staticly to an initial | |
17696 | * array. We just loop though that array, and handle each type individually. | |
17697 | * First we lookup if this type has been already loaded, and if so, use the | |
17698 | * loaded structure instead of the generated one. Then we have to fill in the | |
17699 | * cast linked list. The cast data is initially stored in something like a | |
17700 | * two-dimensional array. Each row corresponds to a type (there are the same | |
17701 | * number of rows as there are in the swig_type_initial array). Each entry in | |
17702 | * a column is one of the swig_cast_info structures for that type. | |
17703 | * The cast_initial array is actually an array of arrays, because each row has | |
17704 | * a variable number of columns. So to actually build the cast linked list, | |
17705 | * we find the array of casts associated with the type, and loop through it | |
17706 | * adding the casts to the list. The one last trick we need to do is making | |
17707 | * sure the type pointer in the swig_cast_info struct is correct. | |
17708 | * | |
17709 | * First off, we lookup the cast->type name to see if it is already loaded. | |
17710 | * There are three cases to handle: | |
17711 | * 1) If the cast->type has already been loaded AND the type we are adding | |
17712 | * casting info to has not been loaded (it is in this module), THEN we | |
17713 | * replace the cast->type pointer with the type pointer that has already | |
17714 | * been loaded. | |
17715 | * 2) If BOTH types (the one we are adding casting info to, and the | |
17716 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
17717 | * the previous module so we just ignore it. | |
17718 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
17719 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
17720 | * be correct. | |
17721 | * ----------------------------------------------------------------------------- */ | |
17722 | ||
17723 | #ifdef __cplusplus | |
17724 | extern "C" { | |
17725 | #if 0 | |
17726 | } /* c-mode */ | |
17727 | #endif | |
17728 | #endif | |
17729 | ||
17730 | #if 0 | |
17731 | #define SWIGRUNTIME_DEBUG | |
17732 | #endif | |
17733 | ||
17734 | SWIGRUNTIME void | |
17735 | SWIG_InitializeModule(void *clientdata) { | |
17736 | size_t i; | |
17737 | swig_module_info *module_head; | |
17738 | static int init_run = 0; | |
17739 | ||
17740 | clientdata = clientdata; | |
17741 | ||
17742 | if (init_run) return; | |
17743 | init_run = 1; | |
17744 | ||
17745 | /* Initialize the swig_module */ | |
17746 | swig_module.type_initial = swig_type_initial; | |
17747 | swig_module.cast_initial = swig_cast_initial; | |
17748 | ||
17749 | /* Try and load any already created modules */ | |
17750 | module_head = SWIG_GetModule(clientdata); | |
17751 | if (module_head) { | |
17752 | swig_module.next = module_head->next; | |
17753 | module_head->next = &swig_module; | |
17754 | } else { | |
17755 | /* This is the first module loaded */ | |
17756 | swig_module.next = &swig_module; | |
17757 | SWIG_SetModule(clientdata, &swig_module); | |
17758 | } | |
17759 | ||
17760 | /* Now work on filling in swig_module.types */ | |
17761 | #ifdef SWIGRUNTIME_DEBUG | |
17762 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
17763 | #endif | |
17764 | for (i = 0; i < swig_module.size; ++i) { | |
17765 | swig_type_info *type = 0; | |
17766 | swig_type_info *ret; | |
17767 | swig_cast_info *cast; | |
17768 | ||
17769 | #ifdef SWIGRUNTIME_DEBUG | |
17770 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17771 | #endif | |
17772 | ||
17773 | /* if there is another module already loaded */ | |
17774 | if (swig_module.next != &swig_module) { | |
17775 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
17776 | } | |
17777 | if (type) { | |
17778 | /* Overwrite clientdata field */ | |
17779 | #ifdef SWIGRUNTIME_DEBUG | |
17780 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
17781 | #endif | |
17782 | if (swig_module.type_initial[i]->clientdata) { | |
17783 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
17784 | #ifdef SWIGRUNTIME_DEBUG | |
17785 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
17786 | #endif | |
17787 | } | |
17788 | } else { | |
17789 | type = swig_module.type_initial[i]; | |
17790 | } | |
17791 | ||
17792 | /* Insert casting types */ | |
17793 | cast = swig_module.cast_initial[i]; | |
17794 | while (cast->type) { | |
17795 | /* Don't need to add information already in the list */ | |
17796 | ret = 0; | |
17797 | #ifdef SWIGRUNTIME_DEBUG | |
17798 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
17799 | #endif | |
17800 | if (swig_module.next != &swig_module) { | |
17801 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
17802 | #ifdef SWIGRUNTIME_DEBUG | |
17803 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
17804 | #endif | |
17805 | } | |
17806 | if (ret) { | |
17807 | if (type == swig_module.type_initial[i]) { | |
17808 | #ifdef SWIGRUNTIME_DEBUG | |
17809 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
17810 | #endif | |
17811 | cast->type = ret; | |
17812 | ret = 0; | |
17813 | } else { | |
17814 | /* Check for casting already in the list */ | |
17815 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
17816 | #ifdef SWIGRUNTIME_DEBUG | |
17817 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
17818 | #endif | |
17819 | if (!ocast) ret = 0; | |
17820 | } | |
17821 | } | |
17822 | ||
17823 | if (!ret) { | |
17824 | #ifdef SWIGRUNTIME_DEBUG | |
17825 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
17826 | #endif | |
17827 | if (type->cast) { | |
17828 | type->cast->prev = cast; | |
17829 | cast->next = type->cast; | |
17830 | } | |
17831 | type->cast = cast; | |
17832 | } | |
17833 | cast++; | |
17834 | } | |
17835 | /* Set entry in modules->types array equal to the type */ | |
17836 | swig_module.types[i] = type; | |
17837 | } | |
17838 | swig_module.types[i] = 0; | |
17839 | ||
17840 | #ifdef SWIGRUNTIME_DEBUG | |
17841 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17842 | for (i = 0; i < swig_module.size; ++i) { | |
17843 | int j = 0; | |
17844 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
17845 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
17846 | while (cast->type) { | |
17847 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
17848 | cast++; | |
17849 | ++j; | |
17850 | } | |
17851 | printf("---- Total casts: %d\n",j); | |
17852 | } | |
17853 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
17854 | #endif | |
17855 | } | |
17856 | ||
17857 | /* This function will propagate the clientdata field of type to | |
17858 | * any new swig_type_info structures that have been added into the list | |
17859 | * of equivalent types. It is like calling | |
17860 | * SWIG_TypeClientData(type, clientdata) a second time. | |
17861 | */ | |
17862 | SWIGRUNTIME void | |
17863 | SWIG_PropagateClientData(void) { | |
17864 | size_t i; | |
17865 | swig_cast_info *equiv; | |
17866 | static int init_run = 0; | |
17867 | ||
17868 | if (init_run) return; | |
17869 | init_run = 1; | |
17870 | ||
17871 | for (i = 0; i < swig_module.size; i++) { | |
17872 | if (swig_module.types[i]->clientdata) { | |
17873 | equiv = swig_module.types[i]->cast; | |
17874 | while (equiv) { | |
17875 | if (!equiv->converter) { | |
17876 | if (equiv->type && !equiv->type->clientdata) | |
17877 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
17878 | } | |
17879 | equiv = equiv->next; | |
17880 | } | |
17881 | } | |
17882 | } | |
17883 | } | |
17884 | ||
17885 | #ifdef __cplusplus | |
17886 | #if 0 | |
17887 | { | |
17888 | /* c-mode */ | |
17889 | #endif | |
17890 | } | |
17891 | #endif | |
17892 | ||
17893 | ||
17894 | ||
17895 | #ifdef __cplusplus | |
17896 | extern "C" { | |
17897 | #endif | |
17898 | ||
17899 | /* Python-specific SWIG API */ | |
17900 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
17901 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
17902 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
17903 | ||
17904 | /* ----------------------------------------------------------------------------- | |
17905 | * global variable support code. | |
17906 | * ----------------------------------------------------------------------------- */ | |
17907 | ||
17908 | typedef struct swig_globalvar { | |
17909 | char *name; /* Name of global variable */ | |
17910 | PyObject *(*get_attr)(void); /* Return the current value */ | |
17911 | int (*set_attr)(PyObject *); /* Set the value */ | |
17912 | struct swig_globalvar *next; | |
17913 | } swig_globalvar; | |
17914 | ||
17915 | typedef struct swig_varlinkobject { | |
17916 | PyObject_HEAD | |
17917 | swig_globalvar *vars; | |
17918 | } swig_varlinkobject; | |
17919 | ||
17920 | SWIGINTERN PyObject * | |
17921 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
17922 | return PyString_FromString("<Swig global variables>"); | |
17923 | } | |
17924 | ||
17925 | SWIGINTERN PyObject * | |
17926 | swig_varlink_str(swig_varlinkobject *v) { | |
17927 | PyObject *str = PyString_FromString("("); | |
17928 | swig_globalvar *var; | |
17929 | for (var = v->vars; var; var=var->next) { | |
17930 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
17931 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
17932 | } | |
17933 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
17934 | return str; | |
17935 | } | |
17936 | ||
17937 | SWIGINTERN int | |
17938 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
17939 | PyObject *str = swig_varlink_str(v); | |
17940 | fprintf(fp,"Swig global variables "); | |
17941 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
17942 | Py_DECREF(str); | |
17943 | return 0; | |
17944 | } | |
17945 | ||
17946 | SWIGINTERN void | |
17947 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
17948 | swig_globalvar *var = v->vars; | |
17949 | while (var) { | |
17950 | swig_globalvar *n = var->next; | |
17951 | free(var->name); | |
17952 | free(var); | |
17953 | var = n; | |
17954 | } | |
17955 | } | |
17956 | ||
17957 | SWIGINTERN PyObject * | |
17958 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
17959 | PyObject *res = NULL; | |
17960 | swig_globalvar *var = v->vars; | |
17961 | while (var) { | |
17962 | if (strcmp(var->name,n) == 0) { | |
17963 | res = (*var->get_attr)(); | |
17964 | break; | |
17965 | } | |
17966 | var = var->next; | |
17967 | } | |
17968 | if (res == NULL && !PyErr_Occurred()) { | |
17969 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17970 | } | |
17971 | return res; | |
17972 | } | |
17973 | ||
17974 | SWIGINTERN int | |
17975 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
17976 | int res = 1; | |
17977 | swig_globalvar *var = v->vars; | |
17978 | while (var) { | |
17979 | if (strcmp(var->name,n) == 0) { | |
17980 | res = (*var->set_attr)(p); | |
17981 | break; | |
17982 | } | |
17983 | var = var->next; | |
17984 | } | |
17985 | if (res == 1 && !PyErr_Occurred()) { | |
17986 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17987 | } | |
17988 | return res; | |
17989 | } | |
17990 | ||
17991 | SWIGINTERN PyTypeObject* | |
17992 | swig_varlink_type(void) { | |
17993 | static char varlink__doc__[] = "Swig var link object"; | |
17994 | static PyTypeObject varlink_type; | |
17995 | static int type_init = 0; | |
17996 | if (!type_init) { | |
17997 | const PyTypeObject tmp | |
17998 | = { | |
17999 | PyObject_HEAD_INIT(NULL) | |
18000 | 0, /* Number of items in variable part (ob_size) */ | |
18001 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18002 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18003 | 0, /* Itemsize (tp_itemsize) */ | |
18004 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
18005 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18006 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18007 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18008 | 0, /* tp_compare */ | |
18009 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18010 | 0, /* tp_as_number */ | |
18011 | 0, /* tp_as_sequence */ | |
18012 | 0, /* tp_as_mapping */ | |
18013 | 0, /* tp_hash */ | |
18014 | 0, /* tp_call */ | |
18015 | (reprfunc)swig_varlink_str, /* tp_str */ | |
18016 | 0, /* tp_getattro */ | |
18017 | 0, /* tp_setattro */ | |
18018 | 0, /* tp_as_buffer */ | |
18019 | 0, /* tp_flags */ | |
18020 | varlink__doc__, /* tp_doc */ | |
18021 | 0, /* tp_traverse */ | |
18022 | 0, /* tp_clear */ | |
18023 | 0, /* tp_richcompare */ | |
18024 | 0, /* tp_weaklistoffset */ | |
18025 | #if PY_VERSION_HEX >= 0x02020000 | |
18026 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18027 | #endif | |
18028 | #if PY_VERSION_HEX >= 0x02030000 | |
18029 | 0, /* tp_del */ | |
18030 | #endif | |
18031 | #ifdef COUNT_ALLOCS | |
18032 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18033 | #endif | |
18034 | }; | |
18035 | varlink_type = tmp; | |
18036 | varlink_type.ob_type = &PyType_Type; | |
18037 | type_init = 1; | |
18038 | } | |
18039 | return &varlink_type; | |
18040 | } | |
18041 | ||
18042 | /* Create a variable linking object for use later */ | |
18043 | SWIGINTERN PyObject * | |
18044 | SWIG_Python_newvarlink(void) { | |
18045 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
18046 | if (result) { | |
18047 | result->vars = 0; | |
18048 | } | |
18049 | return ((PyObject*) result); | |
18050 | } | |
18051 | ||
18052 | SWIGINTERN void | |
18053 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18054 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
18055 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18056 | if (gv) { | |
18057 | size_t size = strlen(name)+1; | |
18058 | gv->name = (char *)malloc(size); | |
18059 | if (gv->name) { | |
18060 | strncpy(gv->name,name,size); | |
18061 | gv->get_attr = get_attr; | |
18062 | gv->set_attr = set_attr; | |
18063 | gv->next = v->vars; | |
18064 | } | |
18065 | } | |
18066 | v->vars = gv; | |
18067 | } | |
18068 | ||
18069 | SWIGINTERN PyObject * | |
18070 | SWIG_globals() { | |
18071 | static PyObject *_SWIG_globals = 0; | |
18072 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
18073 | return _SWIG_globals; | |
18074 | } | |
18075 | ||
18076 | /* ----------------------------------------------------------------------------- | |
18077 | * constants/methods manipulation | |
18078 | * ----------------------------------------------------------------------------- */ | |
18079 | ||
18080 | /* Install Constants */ | |
18081 | SWIGINTERN void | |
18082 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18083 | PyObject *obj = 0; | |
18084 | size_t i; | |
18085 | for (i = 0; constants[i].type; ++i) { | |
18086 | switch(constants[i].type) { | |
18087 | case SWIG_PY_POINTER: | |
18088 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
18089 | break; | |
18090 | case SWIG_PY_BINARY: | |
18091 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
18092 | break; | |
18093 | default: | |
18094 | obj = 0; | |
18095 | break; | |
18096 | } | |
18097 | if (obj) { | |
18098 | PyDict_SetItemString(d, constants[i].name, obj); | |
18099 | Py_DECREF(obj); | |
18100 | } | |
18101 | } | |
18102 | } | |
18103 | ||
18104 | /* -----------------------------------------------------------------------------*/ | |
18105 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18106 | /* -----------------------------------------------------------------------------*/ | |
18107 | ||
18108 | SWIGINTERN void | |
18109 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
18110 | swig_const_info *const_table, | |
18111 | swig_type_info **types, | |
18112 | swig_type_info **types_initial) { | |
18113 | size_t i; | |
18114 | for (i = 0; methods[i].ml_name; ++i) { | |
18115 | const char *c = methods[i].ml_doc; | |
18116 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
18117 | int j; | |
18118 | swig_const_info *ci = 0; | |
18119 | const char *name = c + 10; | |
18120 | for (j = 0; const_table[j].type; ++j) { | |
18121 | if (strncmp(const_table[j].name, name, | |
18122 | strlen(const_table[j].name)) == 0) { | |
18123 | ci = &(const_table[j]); | |
18124 | break; | |
18125 | } | |
18126 | } | |
18127 | if (ci) { | |
18128 | size_t shift = (ci->ptype) - types; | |
18129 | swig_type_info *ty = types_initial[shift]; | |
18130 | size_t ldoc = (c - methods[i].ml_doc); | |
18131 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
18132 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
18133 | if (ndoc) { | |
18134 | char *buff = ndoc; | |
18135 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
18136 | if (ptr) { | |
18137 | strncpy(buff, methods[i].ml_doc, ldoc); | |
18138 | buff += ldoc; | |
18139 | strncpy(buff, "swig_ptr: ", 10); | |
18140 | buff += 10; | |
18141 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
18142 | methods[i].ml_doc = ndoc; | |
18143 | } | |
18144 | } | |
18145 | } | |
18146 | } | |
18147 | } | |
18148 | } | |
18149 | ||
18150 | #ifdef __cplusplus | |
18151 | } | |
18152 | #endif | |
18153 | ||
18154 | /* -----------------------------------------------------------------------------* | |
18155 | * Partial Init method | |
18156 | * -----------------------------------------------------------------------------*/ | |
18157 | ||
18158 | #ifdef __cplusplus | |
18159 | extern "C" | |
18160 | #endif | |
18161 | SWIGEXPORT void SWIG_init(void) { | |
18162 | PyObject *m, *d; | |
18163 | ||
18164 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18165 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
18166 | ||
18167 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
18168 | d = PyModule_GetDict(m); | |
18169 | ||
18170 | SWIG_InitializeModule(0); | |
18171 | SWIG_InstallConstants(d,swig_const_table); | |
18172 | ||
18173 | ||
18174 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
18175 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
18176 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
18177 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
18178 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
18179 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
18180 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
18181 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
18182 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
18183 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
18184 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
18185 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
18186 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
18187 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
18188 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
18189 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
18190 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
18191 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
18192 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
18193 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
18194 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
18195 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
18196 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
18197 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
18198 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
18199 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18200 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
18201 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18202 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
18203 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
18204 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
18205 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
18206 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
18207 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
18208 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
18209 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
18210 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
18211 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
18212 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
18213 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
18214 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
18215 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
18216 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); | |
5eb8189c | 18217 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
18218 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
18219 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
18220 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 18221 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
18222 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
18223 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
18224 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
18225 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
18226 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
18227 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
18228 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
18229 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
18230 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
18231 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
18232 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
18233 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
18234 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
18235 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
18236 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
18237 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
18238 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
18239 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
18240 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
18241 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
18242 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
18243 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
18244 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
18245 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
18246 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
18247 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
18248 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
18249 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
18250 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
18251 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
18252 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionSavedHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionSavedHidden))); | |
18253 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); | |
18254 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
18255 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
18256 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
18257 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
18258 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
18259 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
18260 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); | |
18261 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
18262 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
18263 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
18264 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
18265 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
18266 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
18267 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
18268 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
18269 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
27e45892 RD |
18270 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); |
18271 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
5eb8189c RD |
18272 | PyDict_SetItemString(d, "wxEVT_AUI_PANEMAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANEMAXIMIZE)); |
18273 | PyDict_SetItemString(d, "wxEVT_AUI_PANERESTORE", PyInt_FromLong(wxEVT_AUI_PANERESTORE)); | |
81f5836b | 18274 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
5eb8189c RD |
18275 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
18276 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
18277 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
18278 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
18279 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
18280 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 18281 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5eb8189c | 18282 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 18283 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 18284 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
18285 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
18286 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
18287 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 18288 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
18289 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
18290 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
18291 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
18292 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
18293 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
18294 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 18295 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
18296 | } |
18297 |