]>
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] | |
d7645bfd VZ |
2467 | #define SWIGTYPE_p_double swig_types[1] |
2468 | #define SWIGTYPE_p_form_ops_t swig_types[2] | |
2469 | #define SWIGTYPE_p_int swig_types[3] | |
2470 | #define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[4] | |
2471 | #define SWIGTYPE_p_p_wxAuiNotebook swig_types[5] | |
2472 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxColourDialog swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxControl swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxDirDialog swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxFileDialog swig_types[13] | |
2480 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[14] | |
2481 | #define SWIGTYPE_p_p_wxFontDialog swig_types[15] | |
2482 | #define SWIGTYPE_p_p_wxFrame swig_types[16] | |
2483 | #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[17] | |
2484 | #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[18] | |
2485 | #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[19] | |
2486 | #define SWIGTYPE_p_p_wxMenuBar swig_types[20] | |
2487 | #define SWIGTYPE_p_p_wxMessageDialog swig_types[21] | |
2488 | #define SWIGTYPE_p_p_wxMiniFrame swig_types[22] | |
2489 | #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[23] | |
2490 | #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[24] | |
2491 | #define SWIGTYPE_p_p_wxPanel swig_types[25] | |
2492 | #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[26] | |
2493 | #define SWIGTYPE_p_p_wxPopupWindow swig_types[27] | |
2494 | #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[28] | |
2495 | #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[29] | |
2496 | #define SWIGTYPE_p_p_wxPreviewFrame swig_types[30] | |
2497 | #define SWIGTYPE_p_p_wxProgressDialog swig_types[31] | |
2498 | #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[32] | |
2499 | #define SWIGTYPE_p_p_wxPyPanel swig_types[33] | |
2500 | #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[34] | |
2501 | #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[35] | |
2502 | #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[36] | |
2503 | #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[37] | |
2504 | #define SWIGTYPE_p_p_wxPyVListBox swig_types[38] | |
2505 | #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[39] | |
2506 | #define SWIGTYPE_p_p_wxPyWindow swig_types[40] | |
2507 | #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[41] | |
2508 | #define SWIGTYPE_p_p_wxSashWindow swig_types[42] | |
2509 | #define SWIGTYPE_p_p_wxScrolledWindow swig_types[43] | |
2510 | #define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[44] | |
2511 | #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[45] | |
2512 | #define SWIGTYPE_p_p_wxSplashScreen swig_types[46] | |
2513 | #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[47] | |
2514 | #define SWIGTYPE_p_p_wxSplitterWindow swig_types[48] | |
2515 | #define SWIGTYPE_p_p_wxStatusBar swig_types[49] | |
2516 | #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[50] | |
2517 | #define SWIGTYPE_p_p_wxTipWindow swig_types[51] | |
2518 | #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[52] | |
2519 | #define SWIGTYPE_p_p_wxWindow swig_types[53] | |
2520 | #define SWIGTYPE_p_unsigned_char swig_types[54] | |
2521 | #define SWIGTYPE_p_unsigned_int swig_types[55] | |
2522 | #define SWIGTYPE_p_unsigned_long swig_types[56] | |
2523 | #define SWIGTYPE_p_wxANIHandler swig_types[57] | |
2524 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[58] | |
2525 | #define SWIGTYPE_p_wxActivateEvent swig_types[59] | |
d754c85e RD |
2526 | #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[60] |
2527 | #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiDockArt swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiDockInfo swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiDockUIPart swig_types[64] | |
2531 | #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[65] | |
2532 | #define SWIGTYPE_p_wxAuiManager swig_types[66] | |
2533 | #define SWIGTYPE_p_wxAuiManagerEvent swig_types[67] | |
2534 | #define SWIGTYPE_p_wxAuiNotebook swig_types[68] | |
2535 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[69] | |
2536 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[70] | |
2537 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[71] | |
2538 | #define SWIGTYPE_p_wxAuiPaneButton swig_types[72] | |
2539 | #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[73] | |
2540 | #define SWIGTYPE_p_wxAuiPaneInfo swig_types[74] | |
2541 | #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[75] | |
2542 | #define SWIGTYPE_p_wxAuiSimpleTabArt swig_types[76] | |
2543 | #define SWIGTYPE_p_wxAuiTabArt swig_types[77] | |
2544 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[78] | |
2545 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[79] | |
2546 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[80] | |
2547 | #define SWIGTYPE_p_wxBMPHandler swig_types[81] | |
2548 | #define SWIGTYPE_p_wxBitmap swig_types[82] | |
2549 | #define SWIGTYPE_p_wxBoxSizer swig_types[83] | |
2550 | #define SWIGTYPE_p_wxCURHandler swig_types[84] | |
2551 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[85] | |
2552 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[86] | |
2553 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[87] | |
2554 | #define SWIGTYPE_p_wxCloseEvent swig_types[88] | |
2555 | #define SWIGTYPE_p_wxColor swig_types[89] | |
2556 | #define SWIGTYPE_p_wxColour swig_types[90] | |
2557 | #define SWIGTYPE_p_wxColourData swig_types[91] | |
2558 | #define SWIGTYPE_p_wxColourDialog swig_types[92] | |
2559 | #define SWIGTYPE_p_wxCommandEvent swig_types[93] | |
2560 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[94] | |
2561 | #define SWIGTYPE_p_wxControl swig_types[95] | |
2562 | #define SWIGTYPE_p_wxControlWithItems swig_types[96] | |
2563 | #define SWIGTYPE_p_wxDC swig_types[97] | |
2564 | #define SWIGTYPE_p_wxDateEvent swig_types[98] | |
2565 | #define SWIGTYPE_p_wxDialog swig_types[99] | |
2566 | #define SWIGTYPE_p_wxDirDialog swig_types[100] | |
2567 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[101] | |
2568 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[102] | |
2569 | #define SWIGTYPE_p_wxDuplexMode swig_types[103] | |
2570 | #define SWIGTYPE_p_wxEraseEvent swig_types[104] | |
2571 | #define SWIGTYPE_p_wxEvent swig_types[105] | |
2572 | #define SWIGTYPE_p_wxEvtHandler swig_types[106] | |
2573 | #define SWIGTYPE_p_wxFSFile swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFileDialog swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFileSystem swig_types[109] | |
2576 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[110] | |
2577 | #define SWIGTYPE_p_wxFindReplaceData swig_types[111] | |
2578 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFocusEvent swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFont swig_types[115] | |
2582 | #define SWIGTYPE_p_wxFontData swig_types[116] | |
2583 | #define SWIGTYPE_p_wxFontDialog swig_types[117] | |
2584 | #define SWIGTYPE_p_wxFrame swig_types[118] | |
2585 | #define SWIGTYPE_p_wxGBSizerItem swig_types[119] | |
2586 | #define SWIGTYPE_p_wxGIFHandler swig_types[120] | |
2587 | #define SWIGTYPE_p_wxGridBagSizer swig_types[121] | |
2588 | #define SWIGTYPE_p_wxGridSizer swig_types[122] | |
2589 | #define SWIGTYPE_p_wxICOHandler swig_types[123] | |
2590 | #define SWIGTYPE_p_wxIconizeEvent swig_types[124] | |
2591 | #define SWIGTYPE_p_wxIdleEvent swig_types[125] | |
2592 | #define SWIGTYPE_p_wxImage swig_types[126] | |
2593 | #define SWIGTYPE_p_wxImageHandler swig_types[127] | |
2594 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[128] | |
2595 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[129] | |
2596 | #define SWIGTYPE_p_wxJPEGHandler swig_types[130] | |
2597 | #define SWIGTYPE_p_wxKeyEvent swig_types[131] | |
2598 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[132] | |
2599 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[133] | |
2600 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[135] | |
2602 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[136] | |
2603 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMenu swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMenuBar swig_types[139] | |
2606 | #define SWIGTYPE_p_wxMenuEvent swig_types[140] | |
2607 | #define SWIGTYPE_p_wxMenuItem swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMessageDialog swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMiniFrame swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[145] | |
2612 | #define SWIGTYPE_p_wxMouseEvent swig_types[146] | |
2613 | #define SWIGTYPE_p_wxMoveEvent swig_types[147] | |
2614 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[148] | |
2615 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[149] | |
2616 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[150] | |
2617 | #define SWIGTYPE_p_wxNotifyEvent swig_types[151] | |
2618 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[152] | |
2619 | #define SWIGTYPE_p_wxObject swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPCXHandler swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPNGHandler swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPNMHandler swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPaintEvent swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPanel swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPaperSize swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPoint swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPopupWindow swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPreviewFrame swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPrintData swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPrintDialog swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPrintDialogData swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPrintPreview swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPrinter swig_types[173] | |
2640 | #define SWIGTYPE_p_wxProgressDialog swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPyApp swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyEvent swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyImageHandler swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyPanel swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyPrintout swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPySizer swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyVListBox swig_types[191] | |
2658 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[192] | |
2659 | #define SWIGTYPE_p_wxPyValidator swig_types[193] | |
2660 | #define SWIGTYPE_p_wxPyWindow swig_types[194] | |
2661 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[195] | |
2662 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[196] | |
2663 | #define SWIGTYPE_p_wxRect swig_types[197] | |
2664 | #define SWIGTYPE_p_wxSashEvent swig_types[198] | |
2665 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[199] | |
2666 | #define SWIGTYPE_p_wxSashWindow swig_types[200] | |
2667 | #define SWIGTYPE_p_wxScrollEvent swig_types[201] | |
2668 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[202] | |
2669 | #define SWIGTYPE_p_wxScrolledWindow swig_types[203] | |
2670 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[204] | |
2671 | #define SWIGTYPE_p_wxShowEvent swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSize swig_types[208] | |
2675 | #define SWIGTYPE_p_wxSizeEvent swig_types[209] | |
2676 | #define SWIGTYPE_p_wxSizer swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSizerItem swig_types[211] | |
2678 | #define SWIGTYPE_p_wxSplashScreen swig_types[212] | |
2679 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[213] | |
2680 | #define SWIGTYPE_p_wxSplitterEvent swig_types[214] | |
2681 | #define SWIGTYPE_p_wxSplitterWindow swig_types[215] | |
2682 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[216] | |
2683 | #define SWIGTYPE_p_wxStatusBar swig_types[217] | |
2684 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[218] | |
2685 | #define SWIGTYPE_p_wxString swig_types[219] | |
2686 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[220] | |
2687 | #define SWIGTYPE_p_wxTGAHandler swig_types[221] | |
2688 | #define SWIGTYPE_p_wxTIFFHandler swig_types[222] | |
2689 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[223] | |
2690 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[224] | |
2691 | #define SWIGTYPE_p_wxTipWindow swig_types[225] | |
2692 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[226] | |
2693 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[227] | |
2694 | #define SWIGTYPE_p_wxValidator swig_types[228] | |
2695 | #define SWIGTYPE_p_wxWindow swig_types[229] | |
2696 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[230] | |
2697 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[231] | |
2698 | #define SWIGTYPE_p_wxXPMHandler swig_types[232] | |
2699 | static swig_type_info *swig_types[234]; | |
2700 | static swig_module_info swig_module = {swig_types, 233, 0, 0, 0, 0}; | |
27e45892 RD |
2701 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2702 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2703 | ||
2704 | /* -------- TYPES TABLE (END) -------- */ | |
2705 | ||
2706 | #if (PY_VERSION_HEX <= 0x02000000) | |
2707 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2708 | # error "This python version requires to use swig with the '-classic' option" | |
2709 | # endif | |
2710 | #endif | |
2711 | #if (PY_VERSION_HEX <= 0x02020000) | |
2712 | # error "This python version requires to use swig with the '-nomodern' option" | |
2713 | #endif | |
2714 | #if (PY_VERSION_HEX <= 0x02020000) | |
2715 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2716 | #endif | |
2717 | #ifndef METH_O | |
2718 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2719 | #endif | |
2720 | ||
2721 | /*----------------------------------------------- | |
2722 | @(target):= _aui.so | |
2723 | ------------------------------------------------*/ | |
2724 | #define SWIG_init init_aui | |
2725 | ||
2726 | #define SWIG_name "_aui" | |
2727 | ||
2728 | #define SWIGVERSION 0x010329 | |
2729 | ||
2730 | ||
2731 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2732 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2733 | ||
2734 | ||
2735 | #include <stdexcept> | |
2736 | ||
2737 | ||
2738 | namespace swig { | |
2739 | class PyObject_ptr { | |
2740 | protected: | |
2741 | PyObject *_obj; | |
2742 | ||
2743 | public: | |
2744 | PyObject_ptr() :_obj(0) | |
2745 | { | |
2746 | } | |
2747 | ||
2748 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2749 | { | |
2750 | Py_XINCREF(_obj); | |
2751 | } | |
2752 | ||
2753 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2754 | { | |
2755 | if (initial_ref) Py_XINCREF(_obj); | |
2756 | } | |
2757 | ||
2758 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2759 | { | |
2760 | Py_XINCREF(item._obj); | |
2761 | Py_XDECREF(_obj); | |
2762 | _obj = item._obj; | |
2763 | return *this; | |
2764 | } | |
2765 | ||
2766 | ~PyObject_ptr() | |
2767 | { | |
2768 | Py_XDECREF(_obj); | |
2769 | } | |
2770 | ||
2771 | operator PyObject *() const | |
2772 | { | |
2773 | return _obj; | |
2774 | } | |
2775 | ||
2776 | PyObject *operator->() const | |
2777 | { | |
2778 | return _obj; | |
2779 | } | |
2780 | }; | |
2781 | } | |
2782 | ||
2783 | ||
2784 | namespace swig { | |
2785 | struct PyObject_var : PyObject_ptr { | |
2786 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2787 | ||
2788 | PyObject_var & operator = (PyObject* obj) | |
2789 | { | |
2790 | Py_XDECREF(_obj); | |
2791 | _obj = obj; | |
2792 | return *this; | |
2793 | } | |
2794 | }; | |
2795 | } | |
2796 | ||
2797 | ||
2798 | #include "wx/wxPython/wxPython.h" | |
2799 | #include "wx/wxPython/pyclasses.h" | |
2800 | #include <wx/aui/aui.h> | |
2801 | ||
2802 | ||
2803 | #define SWIG_From_long PyInt_FromLong | |
2804 | ||
2805 | ||
2806 | SWIGINTERNINLINE PyObject * | |
2807 | SWIG_From_int (int value) | |
2808 | { | |
2809 | return SWIG_From_long (value); | |
2810 | } | |
2811 | ||
2812 | ||
2813 | #include <limits.h> | |
2814 | #ifndef LLONG_MIN | |
2815 | # define LLONG_MIN LONG_LONG_MIN | |
2816 | #endif | |
2817 | #ifndef LLONG_MAX | |
2818 | # define LLONG_MAX LONG_LONG_MAX | |
2819 | #endif | |
2820 | #ifndef ULLONG_MAX | |
2821 | # define ULLONG_MAX ULONG_LONG_MAX | |
2822 | #endif | |
2823 | ||
2824 | ||
2825 | SWIGINTERN int | |
2826 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2827 | { | |
2828 | if (PyNumber_Check(obj)) { | |
2829 | if (val) *val = PyInt_AsLong(obj); | |
2830 | return SWIG_OK; | |
2831 | } | |
2832 | return SWIG_TypeError; | |
2833 | } | |
2834 | ||
2835 | ||
2836 | SWIGINTERN int | |
2837 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2838 | { | |
2839 | long v; | |
2840 | int res = SWIG_AsVal_long (obj, &v); | |
2841 | if (SWIG_IsOK(res)) { | |
2842 | if ((v < INT_MIN || v > INT_MAX)) { | |
2843 | return SWIG_OverflowError; | |
2844 | } else { | |
2845 | if (val) *val = static_cast< int >(v); | |
2846 | } | |
2847 | } | |
2848 | return res; | |
2849 | } | |
2850 | ||
2851 | ||
2852 | SWIGINTERN int | |
2853 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2854 | { | |
2855 | if (obj == Py_True) { | |
2856 | if (val) *val = true; | |
2857 | return SWIG_OK; | |
2858 | } else if (obj == Py_False) { | |
2859 | if (val) *val = false; | |
2860 | return SWIG_OK; | |
2861 | } else { | |
2862 | long v = 0; | |
2863 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2864 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2865 | return res; | |
2866 | } | |
2867 | } | |
2868 | ||
d7645bfd VZ |
2869 | |
2870 | SWIGINTERN int | |
2871 | SWIG_AsVal_double (PyObject *obj, double* val) | |
2872 | { | |
2873 | if (PyNumber_Check(obj)) { | |
2874 | if (val) *val = PyFloat_AsDouble(obj); | |
2875 | return SWIG_OK; | |
2876 | } | |
2877 | return SWIG_TypeError; | |
2878 | } | |
2879 | ||
5eb8189c RD |
2880 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2881 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2882 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2883 | |
10044bf1 RD |
2884 | SWIGINTERN int |
2885 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2886 | { | |
2887 | long v = 0; | |
2888 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2889 | return SWIG_TypeError; | |
2890 | } | |
2891 | else if (val) | |
2892 | *val = (unsigned long)v; | |
2893 | return SWIG_OK; | |
2894 | } | |
2895 | ||
2896 | ||
2897 | SWIGINTERNINLINE int | |
2898 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2899 | { | |
2900 | unsigned long v; | |
2901 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2902 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2903 | return res; | |
2904 | } | |
2905 | ||
2906 | ||
2907 | SWIGINTERNINLINE PyObject* | |
2908 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2909 | { | |
2910 | return (value > LONG_MAX) ? | |
2911 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2912 | } | |
2913 | ||
2914 | ||
2915 | SWIGINTERNINLINE PyObject * | |
2916 | SWIG_From_size_t (size_t value) | |
2917 | { | |
2918 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2919 | } | |
2920 | ||
2921 | ||
5c8c7dd3 | 2922 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2923 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2924 | { |
5eb8189c | 2925 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2926 | |
2927 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2928 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2929 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2930 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2931 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2932 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2933 | ||
2934 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2935 | wxWindow* window, |
27e45892 RD |
2936 | int orientation, |
2937 | const wxRect& rect) | |
2938 | { | |
2939 | bool found; | |
2940 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2941 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2942 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2943 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2944 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2945 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2946 | odc, owin, orientation, orect)); | |
27e45892 | 2947 | Py_DECREF(odc); |
8f514ab4 | 2948 | Py_DECREF(owin); |
27e45892 RD |
2949 | Py_DECREF(orect); |
2950 | } | |
2951 | wxPyEndBlockThreads(blocked); | |
2952 | if (! found) | |
5eb8189c | 2953 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2954 | } |
2955 | ||
2956 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2957 | wxWindow* window, |
27e45892 RD |
2958 | int orientation, |
2959 | const wxRect& rect) | |
2960 | { | |
2961 | bool found; | |
2962 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2963 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2964 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2965 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2966 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2967 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2968 | odc, owin, orientation, orect)); | |
27e45892 | 2969 | Py_DECREF(odc); |
8f514ab4 | 2970 | Py_DECREF(owin); |
27e45892 RD |
2971 | Py_DECREF(orect); |
2972 | } | |
2973 | wxPyEndBlockThreads(blocked); | |
2974 | if (! found) | |
5eb8189c | 2975 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2976 | } |
2977 | ||
2978 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2979 | wxWindow* window, |
27e45892 RD |
2980 | const wxString& text, |
2981 | const wxRect& rect, | |
5eb8189c | 2982 | wxAuiPaneInfo& pane) |
27e45892 RD |
2983 | { |
2984 | bool found; | |
2985 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2986 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2987 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2988 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2989 | PyObject* otext = wx2PyString(text); |
2990 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2991 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
2992 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2993 | odc, owin, otext, orect, opane)); | |
27e45892 | 2994 | Py_DECREF(odc); |
8f514ab4 | 2995 | Py_DECREF(owin); |
27e45892 RD |
2996 | Py_DECREF(otext); |
2997 | Py_DECREF(orect); | |
2998 | Py_DECREF(opane); | |
2999 | } | |
3000 | wxPyEndBlockThreads(blocked); | |
3001 | if (! found) | |
5eb8189c | 3002 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
3003 | } |
3004 | ||
3005 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 3006 | wxWindow* window, |
27e45892 | 3007 | const wxRect& rect, |
5eb8189c | 3008 | wxAuiPaneInfo& pane) |
27e45892 RD |
3009 | { |
3010 | bool found; | |
3011 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3012 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3013 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3014 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3015 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3016 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3017 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3018 | Py_DECREF(odc); |
3019 | Py_DECREF(orect); | |
3020 | Py_DECREF(opane); | |
3021 | } | |
3022 | wxPyEndBlockThreads(blocked); | |
3023 | if (! found) | |
5eb8189c | 3024 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3025 | } |
3026 | ||
3027 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3028 | wxWindow* window, |
27e45892 | 3029 | const wxRect& rect, |
5eb8189c | 3030 | wxAuiPaneInfo& pane) |
27e45892 RD |
3031 | { |
3032 | bool found; | |
3033 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3034 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3035 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3036 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3037 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3038 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3039 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3040 | Py_DECREF(odc); | |
8f514ab4 | 3041 | Py_DECREF(owin); |
27e45892 RD |
3042 | Py_DECREF(orect); |
3043 | Py_DECREF(opane); | |
3044 | } | |
3045 | wxPyEndBlockThreads(blocked); | |
3046 | if (! found) | |
5eb8189c | 3047 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3048 | } |
3049 | ||
3050 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3051 | wxWindow* window, |
27e45892 RD |
3052 | int button, |
3053 | int button_state, | |
3054 | const wxRect& rect, | |
5eb8189c | 3055 | wxAuiPaneInfo& pane) |
27e45892 RD |
3056 | { |
3057 | bool found; | |
3058 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3059 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3060 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3061 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3062 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3063 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3064 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3065 | odc, owin, button, button_state, | |
27e45892 RD |
3066 | orect, opane)); |
3067 | Py_DECREF(odc); | |
8f514ab4 | 3068 | Py_DECREF(owin); |
27e45892 RD |
3069 | Py_DECREF(orect); |
3070 | Py_DECREF(opane); | |
3071 | } | |
3072 | wxPyEndBlockThreads(blocked); | |
3073 | if (! found) | |
5eb8189c | 3074 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3075 | } |
3076 | ||
3077 | PYPRIVATE; | |
3078 | ||
3079 | }; | |
3080 | ||
5eb8189c RD |
3081 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3082 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3083 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3084 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3085 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3086 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3087 | |
3088 | ||
5c8c7dd3 RD |
3089 | |
3090 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3091 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3092 | { |
5eb8189c | 3093 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3094 | |
8f514ab4 | 3095 | |
d95b9f2b | 3096 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3097 | wxWindow* wnd, |
5c8c7dd3 RD |
3098 | const wxRect& rect ) |
3099 | { | |
3100 | bool found; | |
3101 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3102 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3103 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3104 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3105 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3106 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3107 | Py_DECREF(odc); |
26c4d26f | 3108 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3109 | Py_DECREF(orect); |
3110 | } | |
3111 | wxPyEndBlockThreads(blocked); | |
3112 | if (!found) | |
26c4d26f | 3113 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3114 | } |
3115 | ||
d95b9f2b | 3116 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3117 | wxWindow* wnd, |
d754c85e | 3118 | const wxAuiNotebookPage& pane, |
5c8c7dd3 | 3119 | const wxRect& in_rect, |
36cb9ebe RD |
3120 | int close_button_state, |
3121 | wxRect* out_tab_rect, | |
3122 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3123 | int* x_extent) |
3124 | { | |
3125 | bool found; | |
36cb9ebe | 3126 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3127 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3128 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3129 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3130 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
d754c85e | 3131 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiNotebookPage"), 0); |
5c8c7dd3 | 3132 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
5c8c7dd3 | 3133 | PyObject* ro; |
5eb8189c | 3134 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3135 | "(OOOOOii)", |
d754c85e RD |
3136 | odc, ownd, orect, opane, |
3137 | close_button_state)); | |
5c8c7dd3 | 3138 | if (ro) { |
36cb9ebe | 3139 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3140 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3141 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3142 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3143 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3144 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3145 | else if (!wxRect_helper(o2, &out_button_rect)) |
3146 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3147 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3148 | PyErr_SetString(PyExc_TypeError, errmsg); |
3149 | else | |
36cb9ebe | 3150 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3151 | |
3152 | Py_DECREF(o1); | |
3153 | Py_DECREF(o2); | |
36cb9ebe | 3154 | Py_DECREF(o3); |
5c8c7dd3 RD |
3155 | } |
3156 | else { | |
3157 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3158 | } | |
3159 | Py_DECREF(ro); | |
3160 | } | |
3161 | ||
3162 | Py_DECREF(odc); | |
26c4d26f | 3163 | Py_DECREF(ownd); |
5c8c7dd3 | 3164 | Py_DECREF(orect); |
d754c85e | 3165 | Py_DECREF(opane); |
5c8c7dd3 RD |
3166 | } |
3167 | wxPyEndBlockThreads(blocked); | |
3168 | if (!found) | |
d754c85e | 3169 | wxAuiDefaultTabArt::DrawTab(dc, wnd, pane, in_rect, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3170 | } |
3171 | ||
3172 | ||
d95b9f2b | 3173 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3174 | wxWindow* wnd, |
8f514ab4 RD |
3175 | const wxRect& in_rect, |
3176 | int bitmap_id, | |
3177 | int button_state, | |
3178 | int orientation, | |
8f514ab4 RD |
3179 | wxRect* out_rect) |
3180 | { | |
3181 | bool found; | |
3182 | const char* errmsg = "DrawButton should return a wxRect"; | |
3183 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3184 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3185 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3186 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3187 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
8f514ab4 | 3188 | PyObject* ro; |
26c4d26f | 3189 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
d754c85e | 3190 | bitmap_id, button_state, orientation)); |
8f514ab4 RD |
3191 | if (ro) { |
3192 | if (!wxRect_helper(ro, &out_rect)) | |
3193 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3194 | Py_DECREF(ro); | |
3195 | } | |
3196 | ||
3197 | Py_DECREF(odc); | |
26c4d26f | 3198 | Py_DECREF(ownd); |
8f514ab4 | 3199 | Py_DECREF(orect); |
8f514ab4 RD |
3200 | } |
3201 | wxPyEndBlockThreads(blocked); | |
3202 | if (!found) | |
d754c85e | 3203 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect); |
8f514ab4 RD |
3204 | } |
3205 | ||
26c4d26f | 3206 | |
d95b9f2b | 3207 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3208 | wxWindow* wnd, |
8f514ab4 | 3209 | const wxString& caption, |
5172800e | 3210 | const wxBitmap& bitmap, |
8f514ab4 | 3211 | bool active, |
36cb9ebe | 3212 | int close_button_state, |
8f514ab4 RD |
3213 | int* x_extent) |
3214 | { | |
3215 | bool found; | |
3216 | wxSize rv, *prv = &rv; | |
3217 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3218 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3219 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3220 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3221 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3222 | PyObject* otext = wx2PyString(caption); |
5172800e | 3223 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3224 | PyObject* ro; |
5eb8189c | 3225 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3226 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3227 | if (ro) { |
3228 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3229 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3230 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3231 | if (!wxSize_helper(o1, &prv)) | |
3232 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3233 | else if (!PyInt_Check(o2)) | |
3234 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3235 | else | |
3236 | *x_extent = PyInt_AsLong(o2); | |
3237 | ||
3238 | Py_DECREF(o1); | |
3239 | Py_DECREF(o2); | |
3240 | } | |
3241 | else { | |
3242 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3243 | } | |
3244 | Py_DECREF(ro); | |
3245 | } | |
3246 | ||
3247 | Py_DECREF(odc); | |
26c4d26f | 3248 | Py_DECREF(ownd); |
8f514ab4 | 3249 | Py_DECREF(otext); |
5172800e | 3250 | Py_DECREF(obmp); |
8f514ab4 RD |
3251 | } |
3252 | wxPyEndBlockThreads(blocked); | |
3253 | if (!found) | |
5172800e | 3254 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3255 | return rv; |
3256 | } | |
26c4d26f | 3257 | |
d95b9f2b | 3258 | // TODO |
d754c85e | 3259 | // virtual int ShowDropDown( |
d95b9f2b | 3260 | // wxWindow* wnd, |
d754c85e | 3261 | // const wxAuiNotebookPageArray& items, |
d95b9f2b | 3262 | // int active_idx); |
d754c85e RD |
3263 | |
3264 | // virtual int GetIndentSize(); | |
3265 | ||
5172800e | 3266 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, |
d754c85e RD |
3267 | // const wxAuiNotebookPageArray& pages, |
3268 | // const wxSize& required_bmp_size); | |
5172800e RD |
3269 | // virtual wxAuiTabArt* Clone(); |
3270 | // virtual void SetFlags(unsigned int flags); | |
3271 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3272 | // size_t tab_count); | |
3273 | // virtual int GetIndentSize(); | |
3274 | ||
d95b9f2b | 3275 | |
8f514ab4 | 3276 | |
5c8c7dd3 RD |
3277 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3278 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3279 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3280 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3281 | |
3282 | PYPRIVATE; | |
3283 | }; | |
3284 | ||
3285 | ||
5eb8189c RD |
3286 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3287 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3288 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3289 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3290 | |
27e45892 RD |
3291 | #ifdef __cplusplus |
3292 | extern "C" { | |
3293 | #endif | |
5eb8189c | 3294 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3295 | { |
3296 | void *argp = 0; | |
5eb8189c | 3297 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3298 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3299 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3300 | } |
3301 | if (!argp) { | |
5eb8189c | 3302 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3303 | } else { |
5eb8189c RD |
3304 | wxAuiDockInfo * temp; |
3305 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3306 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3307 | if (SWIG_IsNewObj(res)) delete temp; |
3308 | } | |
3309 | } | |
3310 | return 0; | |
3311 | fail: | |
3312 | return 1; | |
3313 | } | |
3314 | ||
3315 | ||
5eb8189c | 3316 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3317 | PyObject *pyobj = 0; |
3318 | ||
5eb8189c | 3319 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3320 | return pyobj; |
3321 | } | |
3322 | ||
3323 | ||
5eb8189c | 3324 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3325 | { |
3326 | void *argp = 0; | |
5eb8189c | 3327 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3328 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3329 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3330 | } |
3331 | if (!argp) { | |
5eb8189c | 3332 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3333 | } else { |
5eb8189c RD |
3334 | wxAuiPaneInfo * temp; |
3335 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3336 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3337 | if (SWIG_IsNewObj(res)) delete temp; |
3338 | } | |
3339 | } | |
3340 | return 0; | |
3341 | fail: | |
3342 | return 1; | |
3343 | } | |
3344 | ||
3345 | ||
5eb8189c | 3346 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3347 | PyObject *pyobj = 0; |
3348 | ||
5eb8189c | 3349 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3350 | return pyobj; |
3351 | } | |
3352 | ||
3353 | ||
5eb8189c | 3354 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3355 | PyObject *resultobj = 0; |
5eb8189c | 3356 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3357 | |
5eb8189c | 3358 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3359 | { |
3360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3361 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3362 | wxPyEndAllowThreads(__tstate); |
3363 | if (PyErr_Occurred()) SWIG_fail; | |
3364 | } | |
5eb8189c | 3365 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3366 | return resultobj; |
3367 | fail: | |
3368 | return NULL; | |
3369 | } | |
3370 | ||
3371 | ||
5eb8189c | 3372 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3373 | PyObject *resultobj = 0; |
5eb8189c | 3374 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3375 | void *argp1 = 0 ; |
3376 | int res1 = 0 ; | |
3377 | PyObject *swig_obj[1] ; | |
3378 | ||
3379 | if (!args) SWIG_fail; | |
3380 | swig_obj[0] = args; | |
5eb8189c | 3381 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3382 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3384 | } |
5eb8189c | 3385 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3386 | { |
3387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3388 | delete arg1; | |
3389 | ||
3390 | wxPyEndAllowThreads(__tstate); | |
3391 | if (PyErr_Occurred()) SWIG_fail; | |
3392 | } | |
3393 | resultobj = SWIG_Py_Void(); | |
3394 | return resultobj; | |
3395 | fail: | |
3396 | return NULL; | |
3397 | } | |
3398 | ||
3399 | ||
5eb8189c | 3400 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 3401 | PyObject *resultobj = 0; |
5eb8189c RD |
3402 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3403 | wxAuiPaneInfo arg2 ; | |
0f83f5da RD |
3404 | void *argp1 = 0 ; |
3405 | int res1 = 0 ; | |
3406 | void *argp2 ; | |
3407 | int res2 = 0 ; | |
3408 | PyObject * obj0 = 0 ; | |
3409 | PyObject * obj1 = 0 ; | |
3410 | char * kwnames[] = { | |
3411 | (char *) "self",(char *) "source", NULL | |
3412 | }; | |
3413 | ||
5eb8189c RD |
3414 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3415 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
0f83f5da | 3416 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
0f83f5da | 3418 | } |
5eb8189c | 3419 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
0f83f5da | 3420 | { |
5eb8189c | 3421 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
0f83f5da | 3422 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3423 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da RD |
3424 | } |
3425 | if (!argp2) { | |
5eb8189c | 3426 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da | 3427 | } else { |
5eb8189c | 3428 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
3429 | arg2 = *temp; |
3430 | if (SWIG_IsNewObj(res2)) delete temp; | |
3431 | } | |
3432 | } | |
3433 | { | |
3434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3435 | (arg1)->SafeSet(arg2); | |
3436 | wxPyEndAllowThreads(__tstate); | |
3437 | if (PyErr_Occurred()) SWIG_fail; | |
3438 | } | |
3439 | resultobj = SWIG_Py_Void(); | |
3440 | return resultobj; | |
3441 | fail: | |
3442 | return NULL; | |
3443 | } | |
3444 | ||
3445 | ||
5eb8189c | 3446 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3447 | PyObject *resultobj = 0; |
5eb8189c | 3448 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3449 | bool result; |
3450 | void *argp1 = 0 ; | |
3451 | int res1 = 0 ; | |
3452 | PyObject *swig_obj[1] ; | |
3453 | ||
3454 | if (!args) SWIG_fail; | |
3455 | swig_obj[0] = args; | |
5eb8189c | 3456 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3457 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3459 | } |
5eb8189c | 3460 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3461 | { |
3462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3463 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3464 | wxPyEndAllowThreads(__tstate); |
3465 | if (PyErr_Occurred()) SWIG_fail; | |
3466 | } | |
3467 | { | |
3468 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3469 | } | |
3470 | return resultobj; | |
3471 | fail: | |
3472 | return NULL; | |
3473 | } | |
3474 | ||
3475 | ||
5eb8189c | 3476 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3477 | PyObject *resultobj = 0; |
5eb8189c | 3478 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3479 | bool result; |
3480 | void *argp1 = 0 ; | |
3481 | int res1 = 0 ; | |
3482 | PyObject *swig_obj[1] ; | |
3483 | ||
3484 | if (!args) SWIG_fail; | |
3485 | swig_obj[0] = args; | |
5eb8189c | 3486 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3487 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3489 | } |
5eb8189c | 3490 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3491 | { |
3492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3493 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3494 | wxPyEndAllowThreads(__tstate); |
3495 | if (PyErr_Occurred()) SWIG_fail; | |
3496 | } | |
3497 | { | |
3498 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3499 | } | |
3500 | return resultobj; | |
3501 | fail: | |
3502 | return NULL; | |
3503 | } | |
3504 | ||
3505 | ||
5eb8189c | 3506 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3507 | PyObject *resultobj = 0; |
5eb8189c | 3508 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3509 | bool result; |
3510 | void *argp1 = 0 ; | |
3511 | int res1 = 0 ; | |
3512 | PyObject *swig_obj[1] ; | |
3513 | ||
3514 | if (!args) SWIG_fail; | |
3515 | swig_obj[0] = args; | |
5eb8189c | 3516 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3517 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3519 | } |
5eb8189c | 3520 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3521 | { |
3522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3523 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3524 | wxPyEndAllowThreads(__tstate); |
3525 | if (PyErr_Occurred()) SWIG_fail; | |
3526 | } | |
3527 | { | |
3528 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3529 | } | |
3530 | return resultobj; | |
3531 | fail: | |
3532 | return NULL; | |
3533 | } | |
3534 | ||
3535 | ||
5eb8189c | 3536 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3537 | PyObject *resultobj = 0; |
5eb8189c | 3538 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3539 | bool result; |
3540 | void *argp1 = 0 ; | |
3541 | int res1 = 0 ; | |
3542 | PyObject *swig_obj[1] ; | |
3543 | ||
3544 | if (!args) SWIG_fail; | |
3545 | swig_obj[0] = args; | |
5eb8189c | 3546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3547 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3549 | } |
5eb8189c | 3550 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3551 | { |
3552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3553 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3554 | wxPyEndAllowThreads(__tstate); |
3555 | if (PyErr_Occurred()) SWIG_fail; | |
3556 | } | |
3557 | { | |
3558 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3559 | } | |
3560 | return resultobj; | |
3561 | fail: | |
3562 | return NULL; | |
3563 | } | |
3564 | ||
3565 | ||
5eb8189c | 3566 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3567 | PyObject *resultobj = 0; |
5eb8189c | 3568 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3569 | bool result; |
3570 | void *argp1 = 0 ; | |
3571 | int res1 = 0 ; | |
3572 | PyObject *swig_obj[1] ; | |
3573 | ||
3574 | if (!args) SWIG_fail; | |
3575 | swig_obj[0] = args; | |
5eb8189c | 3576 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3577 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3578 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3579 | } |
5eb8189c | 3580 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3581 | { |
3582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3583 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3584 | wxPyEndAllowThreads(__tstate); |
3585 | if (PyErr_Occurred()) SWIG_fail; | |
3586 | } | |
3587 | { | |
3588 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3589 | } | |
3590 | return resultobj; | |
3591 | fail: | |
3592 | return NULL; | |
3593 | } | |
3594 | ||
3595 | ||
5eb8189c | 3596 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3597 | PyObject *resultobj = 0; |
5eb8189c | 3598 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3599 | bool result; |
3600 | void *argp1 = 0 ; | |
3601 | int res1 = 0 ; | |
3602 | PyObject *swig_obj[1] ; | |
3603 | ||
3604 | if (!args) SWIG_fail; | |
3605 | swig_obj[0] = args; | |
5eb8189c | 3606 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3607 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3609 | } |
5eb8189c | 3610 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3611 | { |
3612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3613 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3614 | wxPyEndAllowThreads(__tstate); |
3615 | if (PyErr_Occurred()) SWIG_fail; | |
3616 | } | |
3617 | { | |
3618 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3619 | } | |
3620 | return resultobj; | |
3621 | fail: | |
3622 | return NULL; | |
3623 | } | |
3624 | ||
3625 | ||
5eb8189c | 3626 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3627 | PyObject *resultobj = 0; |
5eb8189c | 3628 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3629 | bool result; |
3630 | void *argp1 = 0 ; | |
3631 | int res1 = 0 ; | |
3632 | PyObject *swig_obj[1] ; | |
3633 | ||
3634 | if (!args) SWIG_fail; | |
3635 | swig_obj[0] = args; | |
5eb8189c | 3636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3637 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3639 | } |
5eb8189c | 3640 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3641 | { |
3642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3643 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3644 | wxPyEndAllowThreads(__tstate); |
3645 | if (PyErr_Occurred()) SWIG_fail; | |
3646 | } | |
3647 | { | |
3648 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3649 | } | |
3650 | return resultobj; | |
3651 | fail: | |
3652 | return NULL; | |
3653 | } | |
3654 | ||
3655 | ||
5eb8189c | 3656 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3657 | PyObject *resultobj = 0; |
5eb8189c | 3658 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3659 | bool result; |
3660 | void *argp1 = 0 ; | |
3661 | int res1 = 0 ; | |
3662 | PyObject *swig_obj[1] ; | |
3663 | ||
3664 | if (!args) SWIG_fail; | |
3665 | swig_obj[0] = args; | |
5eb8189c | 3666 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3667 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3669 | } |
5eb8189c | 3670 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3671 | { |
3672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3673 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3674 | wxPyEndAllowThreads(__tstate); |
3675 | if (PyErr_Occurred()) SWIG_fail; | |
3676 | } | |
3677 | { | |
3678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3679 | } | |
3680 | return resultobj; | |
3681 | fail: | |
3682 | return NULL; | |
3683 | } | |
3684 | ||
3685 | ||
5eb8189c | 3686 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3687 | PyObject *resultobj = 0; |
5eb8189c | 3688 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3689 | bool result; |
3690 | void *argp1 = 0 ; | |
3691 | int res1 = 0 ; | |
3692 | PyObject *swig_obj[1] ; | |
3693 | ||
3694 | if (!args) SWIG_fail; | |
3695 | swig_obj[0] = args; | |
5eb8189c | 3696 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3697 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3699 | } |
5eb8189c | 3700 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3701 | { |
3702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3703 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3704 | wxPyEndAllowThreads(__tstate); |
3705 | if (PyErr_Occurred()) SWIG_fail; | |
3706 | } | |
3707 | { | |
3708 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3709 | } | |
3710 | return resultobj; | |
3711 | fail: | |
3712 | return NULL; | |
3713 | } | |
3714 | ||
3715 | ||
5eb8189c | 3716 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3717 | PyObject *resultobj = 0; |
5eb8189c | 3718 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3719 | bool result; |
3720 | void *argp1 = 0 ; | |
3721 | int res1 = 0 ; | |
3722 | PyObject *swig_obj[1] ; | |
3723 | ||
3724 | if (!args) SWIG_fail; | |
3725 | swig_obj[0] = args; | |
5eb8189c | 3726 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3727 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3728 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3729 | } |
5eb8189c | 3730 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3731 | { |
3732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3733 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3734 | wxPyEndAllowThreads(__tstate); |
3735 | if (PyErr_Occurred()) SWIG_fail; | |
3736 | } | |
3737 | { | |
3738 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3739 | } | |
3740 | return resultobj; | |
3741 | fail: | |
3742 | return NULL; | |
3743 | } | |
3744 | ||
3745 | ||
5eb8189c | 3746 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3747 | PyObject *resultobj = 0; |
5eb8189c | 3748 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3749 | bool result; |
3750 | void *argp1 = 0 ; | |
3751 | int res1 = 0 ; | |
3752 | PyObject *swig_obj[1] ; | |
3753 | ||
3754 | if (!args) SWIG_fail; | |
3755 | swig_obj[0] = args; | |
5eb8189c | 3756 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3757 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3758 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3759 | } |
5eb8189c | 3760 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3761 | { |
3762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3763 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3764 | wxPyEndAllowThreads(__tstate); |
3765 | if (PyErr_Occurred()) SWIG_fail; | |
3766 | } | |
3767 | { | |
3768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3769 | } | |
3770 | return resultobj; | |
3771 | fail: | |
3772 | return NULL; | |
3773 | } | |
3774 | ||
3775 | ||
5eb8189c | 3776 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3777 | PyObject *resultobj = 0; |
5eb8189c | 3778 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3779 | bool result; |
3780 | void *argp1 = 0 ; | |
3781 | int res1 = 0 ; | |
3782 | PyObject *swig_obj[1] ; | |
3783 | ||
3784 | if (!args) SWIG_fail; | |
3785 | swig_obj[0] = args; | |
5eb8189c | 3786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3787 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3789 | } |
5eb8189c | 3790 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3791 | { |
3792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3793 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3794 | wxPyEndAllowThreads(__tstate); |
3795 | if (PyErr_Occurred()) SWIG_fail; | |
3796 | } | |
3797 | { | |
3798 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3799 | } | |
3800 | return resultobj; | |
3801 | fail: | |
3802 | return NULL; | |
3803 | } | |
3804 | ||
3805 | ||
5eb8189c | 3806 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3807 | PyObject *resultobj = 0; |
5eb8189c | 3808 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3809 | bool result; |
3810 | void *argp1 = 0 ; | |
3811 | int res1 = 0 ; | |
3812 | PyObject *swig_obj[1] ; | |
3813 | ||
3814 | if (!args) SWIG_fail; | |
3815 | swig_obj[0] = args; | |
5eb8189c | 3816 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3817 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3819 | } |
5eb8189c | 3820 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3821 | { |
3822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3823 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3824 | wxPyEndAllowThreads(__tstate); |
3825 | if (PyErr_Occurred()) SWIG_fail; | |
3826 | } | |
3827 | { | |
3828 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3829 | } | |
3830 | return resultobj; | |
3831 | fail: | |
3832 | return NULL; | |
3833 | } | |
3834 | ||
3835 | ||
5eb8189c | 3836 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3837 | PyObject *resultobj = 0; |
5eb8189c | 3838 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3839 | bool result; |
3840 | void *argp1 = 0 ; | |
3841 | int res1 = 0 ; | |
3842 | PyObject *swig_obj[1] ; | |
3843 | ||
3844 | if (!args) SWIG_fail; | |
3845 | swig_obj[0] = args; | |
5eb8189c | 3846 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3847 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3848 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3849 | } |
5eb8189c | 3850 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3851 | { |
3852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3853 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3854 | wxPyEndAllowThreads(__tstate); |
3855 | if (PyErr_Occurred()) SWIG_fail; | |
3856 | } | |
3857 | { | |
3858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3859 | } | |
3860 | return resultobj; | |
3861 | fail: | |
3862 | return NULL; | |
3863 | } | |
3864 | ||
3865 | ||
5eb8189c | 3866 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3867 | PyObject *resultobj = 0; |
5eb8189c | 3868 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3869 | bool result; |
3870 | void *argp1 = 0 ; | |
3871 | int res1 = 0 ; | |
3872 | PyObject *swig_obj[1] ; | |
3873 | ||
3874 | if (!args) SWIG_fail; | |
3875 | swig_obj[0] = args; | |
5eb8189c | 3876 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3877 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3879 | } |
5eb8189c | 3880 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3881 | { |
3882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3883 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3884 | wxPyEndAllowThreads(__tstate); |
3885 | if (PyErr_Occurred()) SWIG_fail; | |
3886 | } | |
3887 | { | |
3888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3889 | } | |
3890 | return resultobj; | |
3891 | fail: | |
3892 | return NULL; | |
3893 | } | |
3894 | ||
3895 | ||
5eb8189c | 3896 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3897 | PyObject *resultobj = 0; |
5eb8189c | 3898 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3899 | bool result; |
3900 | void *argp1 = 0 ; | |
3901 | int res1 = 0 ; | |
3902 | PyObject *swig_obj[1] ; | |
3903 | ||
3904 | if (!args) SWIG_fail; | |
3905 | swig_obj[0] = args; | |
5eb8189c | 3906 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3907 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3908 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3909 | } |
5eb8189c | 3910 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3911 | { |
3912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3913 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3914 | wxPyEndAllowThreads(__tstate); |
3915 | if (PyErr_Occurred()) SWIG_fail; | |
3916 | } | |
3917 | { | |
3918 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3919 | } | |
3920 | return resultobj; | |
3921 | fail: | |
3922 | return NULL; | |
3923 | } | |
3924 | ||
3925 | ||
5eb8189c | 3926 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3927 | PyObject *resultobj = 0; |
5eb8189c | 3928 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3929 | bool result; |
3930 | void *argp1 = 0 ; | |
3931 | int res1 = 0 ; | |
3932 | PyObject *swig_obj[1] ; | |
3933 | ||
3934 | if (!args) SWIG_fail; | |
3935 | swig_obj[0] = args; | |
5eb8189c | 3936 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3937 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3939 | } |
5eb8189c | 3940 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3941 | { |
3942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3943 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3944 | wxPyEndAllowThreads(__tstate); |
3945 | if (PyErr_Occurred()) SWIG_fail; | |
3946 | } | |
3947 | { | |
3948 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3949 | } | |
3950 | return resultobj; | |
3951 | fail: | |
3952 | return NULL; | |
3953 | } | |
3954 | ||
3955 | ||
5eb8189c | 3956 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3957 | PyObject *resultobj = 0; |
5eb8189c | 3958 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3959 | bool result; |
3960 | void *argp1 = 0 ; | |
3961 | int res1 = 0 ; | |
3962 | PyObject *swig_obj[1] ; | |
3963 | ||
3964 | if (!args) SWIG_fail; | |
3965 | swig_obj[0] = args; | |
5eb8189c | 3966 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3967 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3968 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3969 | } |
5eb8189c | 3970 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3971 | { |
3972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3973 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3974 | wxPyEndAllowThreads(__tstate); |
3975 | if (PyErr_Occurred()) SWIG_fail; | |
3976 | } | |
3977 | { | |
3978 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3979 | } | |
3980 | return resultobj; | |
3981 | fail: | |
3982 | return NULL; | |
3983 | } | |
3984 | ||
3985 | ||
5eb8189c | 3986 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3987 | PyObject *resultobj = 0; |
5eb8189c | 3988 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3989 | bool result; |
3990 | void *argp1 = 0 ; | |
3991 | int res1 = 0 ; | |
3992 | PyObject *swig_obj[1] ; | |
3993 | ||
3994 | if (!args) SWIG_fail; | |
3995 | swig_obj[0] = args; | |
5eb8189c | 3996 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3997 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3998 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3999 | } |
5eb8189c | 4000 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4001 | { |
4002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4003 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
4004 | wxPyEndAllowThreads(__tstate); |
4005 | if (PyErr_Occurred()) SWIG_fail; | |
4006 | } | |
4007 | { | |
4008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4009 | } | |
4010 | return resultobj; | |
4011 | fail: | |
4012 | return NULL; | |
4013 | } | |
4014 | ||
4015 | ||
5eb8189c | 4016 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4017 | PyObject *resultobj = 0; |
5eb8189c | 4018 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4019 | bool result; |
4020 | void *argp1 = 0 ; | |
4021 | int res1 = 0 ; | |
4022 | PyObject *swig_obj[1] ; | |
4023 | ||
4024 | if (!args) SWIG_fail; | |
4025 | swig_obj[0] = args; | |
5eb8189c | 4026 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4027 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4028 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4029 | } |
5eb8189c | 4030 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4031 | { |
4032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4033 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4034 | wxPyEndAllowThreads(__tstate); |
4035 | if (PyErr_Occurred()) SWIG_fail; | |
4036 | } | |
4037 | { | |
4038 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4039 | } | |
4040 | return resultobj; | |
4041 | fail: | |
4042 | return NULL; | |
4043 | } | |
4044 | ||
4045 | ||
5eb8189c | 4046 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4047 | PyObject *resultobj = 0; |
5eb8189c | 4048 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4049 | bool result; |
4050 | void *argp1 = 0 ; | |
4051 | int res1 = 0 ; | |
4052 | PyObject *swig_obj[1] ; | |
4053 | ||
4054 | if (!args) SWIG_fail; | |
4055 | swig_obj[0] = args; | |
5eb8189c | 4056 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4057 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4058 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4059 | } |
5eb8189c | 4060 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4061 | { |
4062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4063 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4064 | wxPyEndAllowThreads(__tstate); |
4065 | if (PyErr_Occurred()) SWIG_fail; | |
4066 | } | |
4067 | { | |
4068 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4069 | } | |
4070 | return resultobj; | |
4071 | fail: | |
4072 | return NULL; | |
4073 | } | |
4074 | ||
4075 | ||
5eb8189c | 4076 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4077 | PyObject *resultobj = 0; |
5eb8189c | 4078 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4079 | bool result; |
4080 | void *argp1 = 0 ; | |
4081 | int res1 = 0 ; | |
4082 | PyObject *swig_obj[1] ; | |
4083 | ||
4084 | if (!args) SWIG_fail; | |
4085 | swig_obj[0] = args; | |
5eb8189c | 4086 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4087 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4089 | } |
5eb8189c | 4090 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4091 | { |
4092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4093 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4094 | wxPyEndAllowThreads(__tstate); |
4095 | if (PyErr_Occurred()) SWIG_fail; | |
4096 | } | |
4097 | { | |
4098 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4099 | } | |
4100 | return resultobj; | |
4101 | fail: | |
4102 | return NULL; | |
4103 | } | |
4104 | ||
4105 | ||
5eb8189c | 4106 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4107 | PyObject *resultobj = 0; |
5eb8189c RD |
4108 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4109 | bool result; | |
4110 | void *argp1 = 0 ; | |
4111 | int res1 = 0 ; | |
4112 | PyObject *swig_obj[1] ; | |
4113 | ||
4114 | if (!args) SWIG_fail; | |
4115 | swig_obj[0] = args; | |
4116 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4117 | if (!SWIG_IsOK(res1)) { | |
4118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4119 | } | |
4120 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4121 | { | |
4122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4123 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4124 | wxPyEndAllowThreads(__tstate); | |
4125 | if (PyErr_Occurred()) SWIG_fail; | |
4126 | } | |
4127 | { | |
4128 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4129 | } | |
4130 | return resultobj; | |
4131 | fail: | |
4132 | return NULL; | |
4133 | } | |
4134 | ||
4135 | ||
4136 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4137 | PyObject *resultobj = 0; | |
4138 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4139 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4140 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4141 | void *argp1 = 0 ; |
4142 | int res1 = 0 ; | |
4143 | void *argp2 = 0 ; | |
4144 | int res2 = 0 ; | |
4145 | PyObject * obj0 = 0 ; | |
4146 | PyObject * obj1 = 0 ; | |
4147 | char * kwnames[] = { | |
4148 | (char *) "self",(char *) "w", NULL | |
4149 | }; | |
4150 | ||
5eb8189c RD |
4151 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4152 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4153 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4155 | } |
5eb8189c | 4156 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4157 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4158 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4159 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4160 | } |
4161 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4162 | { | |
4163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4164 | { | |
5eb8189c RD |
4165 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4166 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4167 | } |
4168 | wxPyEndAllowThreads(__tstate); | |
4169 | if (PyErr_Occurred()) SWIG_fail; | |
4170 | } | |
4171 | { | |
4172 | resultobj = obj0; Py_INCREF(resultobj); | |
4173 | } | |
4174 | return resultobj; | |
4175 | fail: | |
4176 | return NULL; | |
4177 | } | |
4178 | ||
4179 | ||
5eb8189c | 4180 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4181 | PyObject *resultobj = 0; |
5eb8189c | 4182 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4183 | wxString *arg2 = 0 ; |
5eb8189c | 4184 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4185 | void *argp1 = 0 ; |
4186 | int res1 = 0 ; | |
4187 | bool temp2 = false ; | |
4188 | PyObject * obj0 = 0 ; | |
4189 | PyObject * obj1 = 0 ; | |
4190 | char * kwnames[] = { | |
4191 | (char *) "self",(char *) "n", NULL | |
4192 | }; | |
4193 | ||
5eb8189c RD |
4194 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4195 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4196 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4197 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4198 | } |
5eb8189c | 4199 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4200 | { |
4201 | arg2 = wxString_in_helper(obj1); | |
4202 | if (arg2 == NULL) SWIG_fail; | |
4203 | temp2 = true; | |
4204 | } | |
4205 | { | |
4206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4207 | { | |
5eb8189c RD |
4208 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4209 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4210 | } |
4211 | wxPyEndAllowThreads(__tstate); | |
4212 | if (PyErr_Occurred()) SWIG_fail; | |
4213 | } | |
4214 | { | |
4215 | resultobj = obj0; Py_INCREF(resultobj); | |
4216 | } | |
4217 | { | |
4218 | if (temp2) | |
4219 | delete arg2; | |
4220 | } | |
4221 | return resultobj; | |
4222 | fail: | |
4223 | { | |
4224 | if (temp2) | |
4225 | delete arg2; | |
4226 | } | |
4227 | return NULL; | |
4228 | } | |
4229 | ||
4230 | ||
5eb8189c | 4231 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4232 | PyObject *resultobj = 0; |
5eb8189c | 4233 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4234 | wxString *arg2 = 0 ; |
5eb8189c | 4235 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4236 | void *argp1 = 0 ; |
4237 | int res1 = 0 ; | |
4238 | bool temp2 = false ; | |
4239 | PyObject * obj0 = 0 ; | |
4240 | PyObject * obj1 = 0 ; | |
4241 | char * kwnames[] = { | |
4242 | (char *) "self",(char *) "c", NULL | |
4243 | }; | |
4244 | ||
5eb8189c RD |
4245 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4246 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4247 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4248 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4249 | } |
5eb8189c | 4250 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4251 | { |
4252 | arg2 = wxString_in_helper(obj1); | |
4253 | if (arg2 == NULL) SWIG_fail; | |
4254 | temp2 = true; | |
4255 | } | |
4256 | { | |
4257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4258 | { | |
5eb8189c RD |
4259 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4260 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4261 | } |
4262 | wxPyEndAllowThreads(__tstate); | |
4263 | if (PyErr_Occurred()) SWIG_fail; | |
4264 | } | |
4265 | { | |
4266 | resultobj = obj0; Py_INCREF(resultobj); | |
4267 | } | |
4268 | { | |
4269 | if (temp2) | |
4270 | delete arg2; | |
4271 | } | |
4272 | return resultobj; | |
4273 | fail: | |
4274 | { | |
4275 | if (temp2) | |
4276 | delete arg2; | |
4277 | } | |
4278 | return NULL; | |
4279 | } | |
4280 | ||
4281 | ||
5eb8189c | 4282 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4283 | PyObject *resultobj = 0; |
5eb8189c RD |
4284 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4285 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4286 | void *argp1 = 0 ; |
4287 | int res1 = 0 ; | |
4288 | PyObject *swig_obj[1] ; | |
4289 | ||
4290 | if (!args) SWIG_fail; | |
4291 | swig_obj[0] = args; | |
5eb8189c | 4292 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4293 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4295 | } |
5eb8189c | 4296 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4297 | { |
4298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4299 | { | |
5eb8189c RD |
4300 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4301 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4302 | } |
4303 | wxPyEndAllowThreads(__tstate); | |
4304 | if (PyErr_Occurred()) SWIG_fail; | |
4305 | } | |
4306 | { | |
4307 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4308 | } | |
4309 | return resultobj; | |
4310 | fail: | |
4311 | return NULL; | |
4312 | } | |
4313 | ||
4314 | ||
5eb8189c | 4315 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4316 | PyObject *resultobj = 0; |
5eb8189c RD |
4317 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4318 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4319 | void *argp1 = 0 ; |
4320 | int res1 = 0 ; | |
4321 | PyObject *swig_obj[1] ; | |
4322 | ||
4323 | if (!args) SWIG_fail; | |
4324 | swig_obj[0] = args; | |
5eb8189c | 4325 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4326 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4327 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4328 | } |
5eb8189c | 4329 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4330 | { |
4331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4332 | { | |
5eb8189c RD |
4333 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4334 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4335 | } |
4336 | wxPyEndAllowThreads(__tstate); | |
4337 | if (PyErr_Occurred()) SWIG_fail; | |
4338 | } | |
4339 | { | |
4340 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4341 | } | |
4342 | return resultobj; | |
4343 | fail: | |
4344 | return NULL; | |
4345 | } | |
4346 | ||
4347 | ||
5eb8189c | 4348 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4349 | PyObject *resultobj = 0; |
5eb8189c RD |
4350 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4351 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4352 | void *argp1 = 0 ; |
4353 | int res1 = 0 ; | |
4354 | PyObject *swig_obj[1] ; | |
4355 | ||
4356 | if (!args) SWIG_fail; | |
4357 | swig_obj[0] = args; | |
5eb8189c | 4358 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4359 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4360 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4361 | } |
5eb8189c | 4362 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4363 | { |
4364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4365 | { | |
5eb8189c RD |
4366 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4367 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4368 | } |
4369 | wxPyEndAllowThreads(__tstate); | |
4370 | if (PyErr_Occurred()) SWIG_fail; | |
4371 | } | |
4372 | { | |
4373 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4374 | } | |
4375 | return resultobj; | |
4376 | fail: | |
4377 | return NULL; | |
4378 | } | |
4379 | ||
4380 | ||
5eb8189c | 4381 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4382 | PyObject *resultobj = 0; |
5eb8189c RD |
4383 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4384 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4385 | void *argp1 = 0 ; |
4386 | int res1 = 0 ; | |
4387 | PyObject *swig_obj[1] ; | |
4388 | ||
4389 | if (!args) SWIG_fail; | |
4390 | swig_obj[0] = args; | |
5eb8189c | 4391 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4392 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4394 | } |
5eb8189c | 4395 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4396 | { |
4397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4398 | { | |
5eb8189c RD |
4399 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4400 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4401 | } |
4402 | wxPyEndAllowThreads(__tstate); | |
4403 | if (PyErr_Occurred()) SWIG_fail; | |
4404 | } | |
4405 | { | |
4406 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4407 | } | |
4408 | return resultobj; | |
4409 | fail: | |
4410 | return NULL; | |
4411 | } | |
4412 | ||
4413 | ||
5eb8189c | 4414 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4415 | PyObject *resultobj = 0; |
5eb8189c RD |
4416 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4417 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4418 | void *argp1 = 0 ; |
4419 | int res1 = 0 ; | |
4420 | PyObject *swig_obj[1] ; | |
4421 | ||
4422 | if (!args) SWIG_fail; | |
4423 | swig_obj[0] = args; | |
5eb8189c | 4424 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4425 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4427 | } |
5eb8189c | 4428 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4429 | { |
4430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4431 | { | |
5eb8189c RD |
4432 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4433 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4434 | } |
4435 | wxPyEndAllowThreads(__tstate); | |
4436 | if (PyErr_Occurred()) SWIG_fail; | |
4437 | } | |
4438 | { | |
4439 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4440 | } | |
4441 | return resultobj; | |
4442 | fail: | |
4443 | return NULL; | |
4444 | } | |
4445 | ||
4446 | ||
5eb8189c | 4447 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4448 | PyObject *resultobj = 0; |
5eb8189c RD |
4449 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4450 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4451 | void *argp1 = 0 ; |
4452 | int res1 = 0 ; | |
4453 | PyObject *swig_obj[1] ; | |
4454 | ||
4455 | if (!args) SWIG_fail; | |
4456 | swig_obj[0] = args; | |
5eb8189c | 4457 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4458 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4460 | } |
5eb8189c | 4461 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4462 | { |
4463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4464 | { | |
5eb8189c RD |
4465 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4466 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4467 | } |
4468 | wxPyEndAllowThreads(__tstate); | |
4469 | if (PyErr_Occurred()) SWIG_fail; | |
4470 | } | |
4471 | { | |
4472 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4473 | } | |
4474 | return resultobj; | |
4475 | fail: | |
4476 | return NULL; | |
4477 | } | |
4478 | ||
4479 | ||
5eb8189c | 4480 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4481 | PyObject *resultobj = 0; |
5eb8189c | 4482 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4483 | int arg2 ; |
5eb8189c | 4484 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4485 | void *argp1 = 0 ; |
4486 | int res1 = 0 ; | |
4487 | int val2 ; | |
4488 | int ecode2 = 0 ; | |
4489 | PyObject * obj0 = 0 ; | |
4490 | PyObject * obj1 = 0 ; | |
4491 | char * kwnames[] = { | |
4492 | (char *) "self",(char *) "direction", NULL | |
4493 | }; | |
4494 | ||
5eb8189c RD |
4495 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4496 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4497 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4499 | } |
5eb8189c | 4500 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4501 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4502 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4503 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4504 | } |
4505 | arg2 = static_cast< int >(val2); | |
4506 | { | |
4507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4508 | { | |
5eb8189c RD |
4509 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4510 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4511 | } |
4512 | wxPyEndAllowThreads(__tstate); | |
4513 | if (PyErr_Occurred()) SWIG_fail; | |
4514 | } | |
4515 | { | |
4516 | resultobj = obj0; Py_INCREF(resultobj); | |
4517 | } | |
4518 | return resultobj; | |
4519 | fail: | |
4520 | return NULL; | |
4521 | } | |
4522 | ||
4523 | ||
5eb8189c | 4524 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4525 | PyObject *resultobj = 0; |
5eb8189c | 4526 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4527 | int arg2 ; |
5eb8189c | 4528 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4529 | void *argp1 = 0 ; |
4530 | int res1 = 0 ; | |
4531 | int val2 ; | |
4532 | int ecode2 = 0 ; | |
4533 | PyObject * obj0 = 0 ; | |
4534 | PyObject * obj1 = 0 ; | |
4535 | char * kwnames[] = { | |
4536 | (char *) "self",(char *) "layer", NULL | |
4537 | }; | |
4538 | ||
5eb8189c RD |
4539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4541 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4543 | } |
5eb8189c | 4544 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4545 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4546 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4547 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4548 | } |
4549 | arg2 = static_cast< int >(val2); | |
4550 | { | |
4551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4552 | { | |
5eb8189c RD |
4553 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4554 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4555 | } |
4556 | wxPyEndAllowThreads(__tstate); | |
4557 | if (PyErr_Occurred()) SWIG_fail; | |
4558 | } | |
4559 | { | |
4560 | resultobj = obj0; Py_INCREF(resultobj); | |
4561 | } | |
4562 | return resultobj; | |
4563 | fail: | |
4564 | return NULL; | |
4565 | } | |
4566 | ||
4567 | ||
5eb8189c | 4568 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4569 | PyObject *resultobj = 0; |
5eb8189c | 4570 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4571 | int arg2 ; |
5eb8189c | 4572 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4573 | void *argp1 = 0 ; |
4574 | int res1 = 0 ; | |
4575 | int val2 ; | |
4576 | int ecode2 = 0 ; | |
4577 | PyObject * obj0 = 0 ; | |
4578 | PyObject * obj1 = 0 ; | |
4579 | char * kwnames[] = { | |
4580 | (char *) "self",(char *) "row", NULL | |
4581 | }; | |
4582 | ||
5eb8189c RD |
4583 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4584 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4585 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4587 | } |
5eb8189c | 4588 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4589 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4590 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4591 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4592 | } |
4593 | arg2 = static_cast< int >(val2); | |
4594 | { | |
4595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4596 | { | |
5eb8189c RD |
4597 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4598 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4599 | } |
4600 | wxPyEndAllowThreads(__tstate); | |
4601 | if (PyErr_Occurred()) SWIG_fail; | |
4602 | } | |
4603 | { | |
4604 | resultobj = obj0; Py_INCREF(resultobj); | |
4605 | } | |
4606 | return resultobj; | |
4607 | fail: | |
4608 | return NULL; | |
4609 | } | |
4610 | ||
4611 | ||
5eb8189c | 4612 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4613 | PyObject *resultobj = 0; |
5eb8189c | 4614 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4615 | int arg2 ; |
5eb8189c | 4616 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4617 | void *argp1 = 0 ; |
4618 | int res1 = 0 ; | |
4619 | int val2 ; | |
4620 | int ecode2 = 0 ; | |
4621 | PyObject * obj0 = 0 ; | |
4622 | PyObject * obj1 = 0 ; | |
4623 | char * kwnames[] = { | |
4624 | (char *) "self",(char *) "pos", NULL | |
4625 | }; | |
4626 | ||
5eb8189c RD |
4627 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4628 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4629 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4631 | } |
5eb8189c | 4632 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4633 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4634 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4635 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4636 | } |
4637 | arg2 = static_cast< int >(val2); | |
4638 | { | |
4639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4640 | { | |
5eb8189c RD |
4641 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4642 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4643 | } |
4644 | wxPyEndAllowThreads(__tstate); | |
4645 | if (PyErr_Occurred()) SWIG_fail; | |
4646 | } | |
4647 | { | |
4648 | resultobj = obj0; Py_INCREF(resultobj); | |
4649 | } | |
4650 | return resultobj; | |
4651 | fail: | |
4652 | return NULL; | |
4653 | } | |
4654 | ||
4655 | ||
5eb8189c | 4656 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4657 | PyObject *resultobj = 0; |
5eb8189c | 4658 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4659 | wxSize *arg2 = 0 ; |
5eb8189c | 4660 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4661 | void *argp1 = 0 ; |
4662 | int res1 = 0 ; | |
4663 | wxSize temp2 ; | |
4664 | PyObject * obj0 = 0 ; | |
4665 | PyObject * obj1 = 0 ; | |
4666 | char * kwnames[] = { | |
4667 | (char *) "self",(char *) "size", NULL | |
4668 | }; | |
4669 | ||
5eb8189c RD |
4670 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4671 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4674 | } |
5eb8189c | 4675 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4676 | { |
4677 | arg2 = &temp2; | |
4678 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4679 | } | |
4680 | { | |
4681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4682 | { | |
5eb8189c RD |
4683 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4684 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4685 | } |
4686 | wxPyEndAllowThreads(__tstate); | |
4687 | if (PyErr_Occurred()) SWIG_fail; | |
4688 | } | |
4689 | { | |
4690 | resultobj = obj0; Py_INCREF(resultobj); | |
4691 | } | |
4692 | return resultobj; | |
4693 | fail: | |
4694 | return NULL; | |
4695 | } | |
4696 | ||
4697 | ||
5eb8189c | 4698 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4699 | PyObject *resultobj = 0; |
5eb8189c | 4700 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4701 | wxSize *arg2 = 0 ; |
5eb8189c | 4702 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4703 | void *argp1 = 0 ; |
4704 | int res1 = 0 ; | |
4705 | wxSize temp2 ; | |
4706 | PyObject * obj0 = 0 ; | |
4707 | PyObject * obj1 = 0 ; | |
4708 | char * kwnames[] = { | |
4709 | (char *) "self",(char *) "size", NULL | |
4710 | }; | |
4711 | ||
5eb8189c RD |
4712 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4713 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4714 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4716 | } |
5eb8189c | 4717 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4718 | { |
4719 | arg2 = &temp2; | |
4720 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4721 | } | |
4722 | { | |
4723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4724 | { | |
5eb8189c RD |
4725 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4726 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4727 | } |
4728 | wxPyEndAllowThreads(__tstate); | |
4729 | if (PyErr_Occurred()) SWIG_fail; | |
4730 | } | |
4731 | { | |
4732 | resultobj = obj0; Py_INCREF(resultobj); | |
4733 | } | |
4734 | return resultobj; | |
4735 | fail: | |
4736 | return NULL; | |
4737 | } | |
4738 | ||
4739 | ||
5eb8189c | 4740 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4741 | PyObject *resultobj = 0; |
5eb8189c | 4742 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4743 | wxSize *arg2 = 0 ; |
5eb8189c | 4744 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4745 | void *argp1 = 0 ; |
4746 | int res1 = 0 ; | |
4747 | wxSize temp2 ; | |
4748 | PyObject * obj0 = 0 ; | |
4749 | PyObject * obj1 = 0 ; | |
4750 | char * kwnames[] = { | |
4751 | (char *) "self",(char *) "size", NULL | |
4752 | }; | |
4753 | ||
5eb8189c RD |
4754 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4755 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4756 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4757 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4758 | } |
5eb8189c | 4759 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4760 | { |
4761 | arg2 = &temp2; | |
4762 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4763 | } | |
4764 | { | |
4765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4766 | { | |
5eb8189c RD |
4767 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4768 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4769 | } |
4770 | wxPyEndAllowThreads(__tstate); | |
4771 | if (PyErr_Occurred()) SWIG_fail; | |
4772 | } | |
4773 | { | |
4774 | resultobj = obj0; Py_INCREF(resultobj); | |
4775 | } | |
4776 | return resultobj; | |
4777 | fail: | |
4778 | return NULL; | |
4779 | } | |
4780 | ||
4781 | ||
5eb8189c | 4782 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4783 | PyObject *resultobj = 0; |
5eb8189c | 4784 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4785 | wxPoint *arg2 = 0 ; |
5eb8189c | 4786 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4787 | void *argp1 = 0 ; |
4788 | int res1 = 0 ; | |
4789 | wxPoint temp2 ; | |
4790 | PyObject * obj0 = 0 ; | |
4791 | PyObject * obj1 = 0 ; | |
4792 | char * kwnames[] = { | |
4793 | (char *) "self",(char *) "pos", NULL | |
4794 | }; | |
4795 | ||
5eb8189c RD |
4796 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4797 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4798 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4799 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4800 | } |
5eb8189c | 4801 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4802 | { |
4803 | arg2 = &temp2; | |
4804 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4805 | } | |
4806 | { | |
4807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4808 | { | |
5eb8189c RD |
4809 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4810 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4811 | } |
4812 | wxPyEndAllowThreads(__tstate); | |
4813 | if (PyErr_Occurred()) SWIG_fail; | |
4814 | } | |
4815 | { | |
4816 | resultobj = obj0; Py_INCREF(resultobj); | |
4817 | } | |
4818 | return resultobj; | |
4819 | fail: | |
4820 | return NULL; | |
4821 | } | |
4822 | ||
4823 | ||
5eb8189c | 4824 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4825 | PyObject *resultobj = 0; |
5eb8189c | 4826 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4827 | wxSize *arg2 = 0 ; |
5eb8189c | 4828 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4829 | void *argp1 = 0 ; |
4830 | int res1 = 0 ; | |
4831 | wxSize temp2 ; | |
4832 | PyObject * obj0 = 0 ; | |
4833 | PyObject * obj1 = 0 ; | |
4834 | char * kwnames[] = { | |
4835 | (char *) "self",(char *) "size", NULL | |
4836 | }; | |
4837 | ||
5eb8189c RD |
4838 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4839 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4840 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4841 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4842 | } |
5eb8189c | 4843 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4844 | { |
4845 | arg2 = &temp2; | |
4846 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4847 | } | |
4848 | { | |
4849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4850 | { | |
5eb8189c RD |
4851 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4852 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4853 | } |
4854 | wxPyEndAllowThreads(__tstate); | |
4855 | if (PyErr_Occurred()) SWIG_fail; | |
4856 | } | |
4857 | { | |
4858 | resultobj = obj0; Py_INCREF(resultobj); | |
4859 | } | |
4860 | return resultobj; | |
4861 | fail: | |
4862 | return NULL; | |
4863 | } | |
4864 | ||
4865 | ||
5eb8189c | 4866 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4867 | PyObject *resultobj = 0; |
5eb8189c RD |
4868 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4869 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4870 | void *argp1 = 0 ; |
4871 | int res1 = 0 ; | |
4872 | PyObject *swig_obj[1] ; | |
4873 | ||
4874 | if (!args) SWIG_fail; | |
4875 | swig_obj[0] = args; | |
5eb8189c | 4876 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4877 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4879 | } |
5eb8189c | 4880 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4881 | { |
4882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4883 | { | |
5eb8189c RD |
4884 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4885 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4886 | } |
4887 | wxPyEndAllowThreads(__tstate); | |
4888 | if (PyErr_Occurred()) SWIG_fail; | |
4889 | } | |
4890 | { | |
4891 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4892 | } | |
4893 | return resultobj; | |
4894 | fail: | |
4895 | return NULL; | |
4896 | } | |
4897 | ||
4898 | ||
5eb8189c | 4899 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4900 | PyObject *resultobj = 0; |
5eb8189c | 4901 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4902 | bool arg2 = (bool) true ; |
5eb8189c | 4903 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4904 | void *argp1 = 0 ; |
4905 | int res1 = 0 ; | |
4906 | bool val2 ; | |
4907 | int ecode2 = 0 ; | |
4908 | PyObject * obj0 = 0 ; | |
4909 | PyObject * obj1 = 0 ; | |
4910 | char * kwnames[] = { | |
4911 | (char *) "self",(char *) "resizable", NULL | |
4912 | }; | |
4913 | ||
5eb8189c RD |
4914 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4915 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4916 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4917 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4918 | } |
5eb8189c | 4919 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4920 | if (obj1) { |
4921 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4922 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4923 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4924 | } |
4925 | arg2 = static_cast< bool >(val2); | |
4926 | } | |
4927 | { | |
4928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4929 | { | |
5eb8189c RD |
4930 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4931 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4932 | } |
4933 | wxPyEndAllowThreads(__tstate); | |
4934 | if (PyErr_Occurred()) SWIG_fail; | |
4935 | } | |
4936 | { | |
4937 | resultobj = obj0; Py_INCREF(resultobj); | |
4938 | } | |
4939 | return resultobj; | |
4940 | fail: | |
4941 | return NULL; | |
4942 | } | |
4943 | ||
4944 | ||
5eb8189c | 4945 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4946 | PyObject *resultobj = 0; |
5eb8189c RD |
4947 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4948 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4949 | void *argp1 = 0 ; |
4950 | int res1 = 0 ; | |
4951 | PyObject *swig_obj[1] ; | |
4952 | ||
4953 | if (!args) SWIG_fail; | |
4954 | swig_obj[0] = args; | |
5eb8189c | 4955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4956 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4958 | } |
5eb8189c | 4959 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4960 | { |
4961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4962 | { | |
5eb8189c RD |
4963 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4964 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4965 | } |
4966 | wxPyEndAllowThreads(__tstate); | |
4967 | if (PyErr_Occurred()) SWIG_fail; | |
4968 | } | |
4969 | { | |
4970 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4971 | } | |
4972 | return resultobj; | |
4973 | fail: | |
4974 | return NULL; | |
4975 | } | |
4976 | ||
4977 | ||
5eb8189c | 4978 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4979 | PyObject *resultobj = 0; |
5eb8189c RD |
4980 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4981 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4982 | void *argp1 = 0 ; |
4983 | int res1 = 0 ; | |
4984 | PyObject *swig_obj[1] ; | |
4985 | ||
4986 | if (!args) SWIG_fail; | |
4987 | swig_obj[0] = args; | |
5eb8189c | 4988 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4989 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4991 | } |
5eb8189c | 4992 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4993 | { |
4994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4995 | { | |
5eb8189c RD |
4996 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
4997 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4998 | } |
4999 | wxPyEndAllowThreads(__tstate); | |
5000 | if (PyErr_Occurred()) SWIG_fail; | |
5001 | } | |
5002 | { | |
5003 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5004 | } | |
5005 | return resultobj; | |
5006 | fail: | |
5007 | return NULL; | |
5008 | } | |
5009 | ||
5010 | ||
5eb8189c | 5011 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5012 | PyObject *resultobj = 0; |
5eb8189c RD |
5013 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5014 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5015 | void *argp1 = 0 ; |
5016 | int res1 = 0 ; | |
5017 | PyObject *swig_obj[1] ; | |
5018 | ||
5019 | if (!args) SWIG_fail; | |
5020 | swig_obj[0] = args; | |
5eb8189c | 5021 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5022 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5023 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5024 | } |
5eb8189c | 5025 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5026 | { |
5027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5028 | { | |
5eb8189c RD |
5029 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5030 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5031 | } |
5032 | wxPyEndAllowThreads(__tstate); | |
5033 | if (PyErr_Occurred()) SWIG_fail; | |
5034 | } | |
5035 | { | |
5036 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5037 | } | |
5038 | return resultobj; | |
5039 | fail: | |
5040 | return NULL; | |
5041 | } | |
5042 | ||
5043 | ||
5eb8189c | 5044 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5045 | PyObject *resultobj = 0; |
5eb8189c | 5046 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5047 | bool arg2 = (bool) true ; |
5eb8189c | 5048 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5049 | void *argp1 = 0 ; |
5050 | int res1 = 0 ; | |
5051 | bool val2 ; | |
5052 | int ecode2 = 0 ; | |
5053 | PyObject * obj0 = 0 ; | |
5054 | PyObject * obj1 = 0 ; | |
5055 | char * kwnames[] = { | |
5056 | (char *) "self",(char *) "show", NULL | |
5057 | }; | |
5058 | ||
5eb8189c RD |
5059 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5060 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5061 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5063 | } |
5eb8189c | 5064 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5065 | if (obj1) { |
5066 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5067 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5068 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5069 | } |
5070 | arg2 = static_cast< bool >(val2); | |
5071 | } | |
5072 | { | |
5073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5074 | { | |
5eb8189c RD |
5075 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5076 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5077 | } |
5078 | wxPyEndAllowThreads(__tstate); | |
5079 | if (PyErr_Occurred()) SWIG_fail; | |
5080 | } | |
5081 | { | |
5082 | resultobj = obj0; Py_INCREF(resultobj); | |
5083 | } | |
5084 | return resultobj; | |
5085 | fail: | |
5086 | return NULL; | |
5087 | } | |
5088 | ||
5089 | ||
5eb8189c | 5090 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5091 | PyObject *resultobj = 0; |
5eb8189c | 5092 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5093 | bool arg2 = (bool) true ; |
5eb8189c | 5094 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5095 | void *argp1 = 0 ; |
5096 | int res1 = 0 ; | |
5097 | bool val2 ; | |
5098 | int ecode2 = 0 ; | |
5099 | PyObject * obj0 = 0 ; | |
5100 | PyObject * obj1 = 0 ; | |
5101 | char * kwnames[] = { | |
5102 | (char *) "self",(char *) "visible", NULL | |
5103 | }; | |
5104 | ||
5eb8189c RD |
5105 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5106 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5107 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5109 | } |
5eb8189c | 5110 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5111 | if (obj1) { |
5112 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5113 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5114 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5115 | } |
5116 | arg2 = static_cast< bool >(val2); | |
5117 | } | |
5118 | { | |
5119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5120 | { | |
5eb8189c RD |
5121 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5122 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5123 | } |
5124 | wxPyEndAllowThreads(__tstate); | |
5125 | if (PyErr_Occurred()) SWIG_fail; | |
5126 | } | |
5127 | { | |
5128 | resultobj = obj0; Py_INCREF(resultobj); | |
5129 | } | |
5130 | return resultobj; | |
5131 | fail: | |
5132 | return NULL; | |
5133 | } | |
5134 | ||
5135 | ||
5eb8189c RD |
5136 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5137 | PyObject *resultobj = 0; | |
5138 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5139 | wxAuiPaneInfo *result = 0 ; | |
5140 | void *argp1 = 0 ; | |
5141 | int res1 = 0 ; | |
5142 | PyObject *swig_obj[1] ; | |
5143 | ||
5144 | if (!args) SWIG_fail; | |
5145 | swig_obj[0] = args; | |
5146 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5147 | if (!SWIG_IsOK(res1)) { | |
5148 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5149 | } | |
5150 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5151 | { | |
5152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5153 | { | |
5154 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5155 | result = (wxAuiPaneInfo *) &_result_ref; | |
5156 | } | |
5157 | wxPyEndAllowThreads(__tstate); | |
5158 | if (PyErr_Occurred()) SWIG_fail; | |
5159 | } | |
5160 | { | |
5161 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5162 | } | |
5163 | return resultobj; | |
5164 | fail: | |
5165 | return NULL; | |
5166 | } | |
5167 | ||
5168 | ||
5169 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5170 | PyObject *resultobj = 0; |
5eb8189c RD |
5171 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5172 | wxAuiPaneInfo *result = 0 ; | |
5173 | void *argp1 = 0 ; | |
5174 | int res1 = 0 ; | |
5175 | PyObject *swig_obj[1] ; | |
5176 | ||
5177 | if (!args) SWIG_fail; | |
5178 | swig_obj[0] = args; | |
5179 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5180 | if (!SWIG_IsOK(res1)) { | |
5181 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5182 | } | |
5183 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5184 | { | |
5185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5186 | { | |
5187 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5188 | result = (wxAuiPaneInfo *) &_result_ref; | |
5189 | } | |
5190 | wxPyEndAllowThreads(__tstate); | |
5191 | if (PyErr_Occurred()) SWIG_fail; | |
5192 | } | |
5193 | { | |
5194 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5195 | } | |
5196 | return resultobj; | |
5197 | fail: | |
5198 | return NULL; | |
5199 | } | |
5200 | ||
5201 | ||
5202 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5203 | PyObject *resultobj = 0; | |
5204 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5205 | bool arg2 = (bool) true ; |
5eb8189c | 5206 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5207 | void *argp1 = 0 ; |
5208 | int res1 = 0 ; | |
5209 | bool val2 ; | |
5210 | int ecode2 = 0 ; | |
5211 | PyObject * obj0 = 0 ; | |
5212 | PyObject * obj1 = 0 ; | |
5213 | char * kwnames[] = { | |
5214 | (char *) "self",(char *) "visible", NULL | |
5215 | }; | |
5216 | ||
5eb8189c RD |
5217 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5218 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5219 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5221 | } |
5eb8189c | 5222 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5223 | if (obj1) { |
5224 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5225 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5226 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5227 | } |
5228 | arg2 = static_cast< bool >(val2); | |
5229 | } | |
5230 | { | |
5231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5232 | { | |
5eb8189c RD |
5233 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5234 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5235 | } |
5236 | wxPyEndAllowThreads(__tstate); | |
5237 | if (PyErr_Occurred()) SWIG_fail; | |
5238 | } | |
5239 | { | |
5240 | resultobj = obj0; Py_INCREF(resultobj); | |
5241 | } | |
5242 | return resultobj; | |
5243 | fail: | |
5244 | return NULL; | |
5245 | } | |
5246 | ||
5247 | ||
5eb8189c | 5248 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5249 | PyObject *resultobj = 0; |
5eb8189c | 5250 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5251 | bool arg2 = (bool) true ; |
5eb8189c | 5252 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5253 | void *argp1 = 0 ; |
5254 | int res1 = 0 ; | |
5255 | bool val2 ; | |
5256 | int ecode2 = 0 ; | |
5257 | PyObject * obj0 = 0 ; | |
5258 | PyObject * obj1 = 0 ; | |
5259 | char * kwnames[] = { | |
5260 | (char *) "self",(char *) "visible", NULL | |
5261 | }; | |
5262 | ||
5eb8189c RD |
5263 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5264 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5265 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5267 | } |
5eb8189c | 5268 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5269 | if (obj1) { |
5270 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5271 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5272 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5273 | } |
5274 | arg2 = static_cast< bool >(val2); | |
5275 | } | |
5276 | { | |
5277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5278 | { | |
5eb8189c RD |
5279 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5280 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5281 | } |
5282 | wxPyEndAllowThreads(__tstate); | |
5283 | if (PyErr_Occurred()) SWIG_fail; | |
5284 | } | |
5285 | { | |
5286 | resultobj = obj0; Py_INCREF(resultobj); | |
5287 | } | |
5288 | return resultobj; | |
5289 | fail: | |
5290 | return NULL; | |
5291 | } | |
5292 | ||
5293 | ||
5eb8189c | 5294 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5295 | PyObject *resultobj = 0; |
5eb8189c | 5296 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5297 | bool arg2 = (bool) true ; |
5eb8189c | 5298 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5299 | void *argp1 = 0 ; |
5300 | int res1 = 0 ; | |
5301 | bool val2 ; | |
5302 | int ecode2 = 0 ; | |
5303 | PyObject * obj0 = 0 ; | |
5304 | PyObject * obj1 = 0 ; | |
5305 | char * kwnames[] = { | |
5306 | (char *) "self",(char *) "attop", NULL | |
5307 | }; | |
5308 | ||
5eb8189c RD |
5309 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5310 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5311 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5312 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5313 | } |
5eb8189c | 5314 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5315 | if (obj1) { |
5316 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5317 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5318 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5319 | } |
5320 | arg2 = static_cast< bool >(val2); | |
5321 | } | |
5322 | { | |
5323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5324 | { | |
5eb8189c RD |
5325 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5326 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5327 | } |
5328 | wxPyEndAllowThreads(__tstate); | |
5329 | if (PyErr_Occurred()) SWIG_fail; | |
5330 | } | |
5331 | { | |
5332 | resultobj = obj0; Py_INCREF(resultobj); | |
5333 | } | |
5334 | return resultobj; | |
5335 | fail: | |
5336 | return NULL; | |
5337 | } | |
5338 | ||
5339 | ||
5eb8189c | 5340 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5341 | PyObject *resultobj = 0; |
5eb8189c | 5342 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5343 | bool arg2 = (bool) true ; |
5eb8189c | 5344 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5345 | void *argp1 = 0 ; |
5346 | int res1 = 0 ; | |
5347 | bool val2 ; | |
5348 | int ecode2 = 0 ; | |
5349 | PyObject * obj0 = 0 ; | |
5350 | PyObject * obj1 = 0 ; | |
5351 | char * kwnames[] = { | |
5352 | (char *) "self",(char *) "visible", NULL | |
5353 | }; | |
5354 | ||
5eb8189c RD |
5355 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5356 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5357 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5359 | } |
5eb8189c | 5360 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5361 | if (obj1) { |
5362 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5363 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5364 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5365 | } |
5366 | arg2 = static_cast< bool >(val2); | |
5367 | } | |
5368 | { | |
5369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5370 | { | |
5eb8189c RD |
5371 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5372 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5373 | } |
5374 | wxPyEndAllowThreads(__tstate); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
5377 | { | |
5378 | resultobj = obj0; Py_INCREF(resultobj); | |
5379 | } | |
5380 | return resultobj; | |
5381 | fail: | |
5382 | return NULL; | |
5383 | } | |
5384 | ||
5385 | ||
5eb8189c | 5386 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5387 | PyObject *resultobj = 0; |
5eb8189c | 5388 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5389 | bool arg2 = (bool) true ; |
5eb8189c | 5390 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5391 | void *argp1 = 0 ; |
5392 | int res1 = 0 ; | |
5393 | bool val2 ; | |
5394 | int ecode2 = 0 ; | |
5395 | PyObject * obj0 = 0 ; | |
5396 | PyObject * obj1 = 0 ; | |
5397 | char * kwnames[] = { | |
5398 | (char *) "self",(char *) "visible", NULL | |
5399 | }; | |
5400 | ||
5eb8189c RD |
5401 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5402 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5403 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5404 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5405 | } |
5eb8189c | 5406 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5407 | if (obj1) { |
5408 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5409 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5410 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5411 | } |
5412 | arg2 = static_cast< bool >(val2); | |
5413 | } | |
5414 | { | |
5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5416 | { | |
5eb8189c RD |
5417 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5418 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5419 | } |
5420 | wxPyEndAllowThreads(__tstate); | |
5421 | if (PyErr_Occurred()) SWIG_fail; | |
5422 | } | |
5423 | { | |
5424 | resultobj = obj0; Py_INCREF(resultobj); | |
5425 | } | |
5426 | return resultobj; | |
5427 | fail: | |
5428 | return NULL; | |
5429 | } | |
5430 | ||
5431 | ||
5eb8189c | 5432 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5433 | PyObject *resultobj = 0; |
5eb8189c | 5434 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5435 | bool arg2 = (bool) true ; |
5eb8189c | 5436 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5437 | void *argp1 = 0 ; |
5438 | int res1 = 0 ; | |
5439 | bool val2 ; | |
5440 | int ecode2 = 0 ; | |
5441 | PyObject * obj0 = 0 ; | |
5442 | PyObject * obj1 = 0 ; | |
5443 | char * kwnames[] = { | |
5444 | (char *) "self",(char *) "visible", NULL | |
5445 | }; | |
5446 | ||
5eb8189c RD |
5447 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5448 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5449 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5451 | } |
5eb8189c | 5452 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5453 | if (obj1) { |
5454 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5455 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5456 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5457 | } |
5458 | arg2 = static_cast< bool >(val2); | |
5459 | } | |
5460 | { | |
5461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5462 | { | |
5eb8189c RD |
5463 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5464 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5465 | } |
5466 | wxPyEndAllowThreads(__tstate); | |
5467 | if (PyErr_Occurred()) SWIG_fail; | |
5468 | } | |
5469 | { | |
5470 | resultobj = obj0; Py_INCREF(resultobj); | |
5471 | } | |
5472 | return resultobj; | |
5473 | fail: | |
5474 | return NULL; | |
5475 | } | |
5476 | ||
5477 | ||
5eb8189c | 5478 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5479 | PyObject *resultobj = 0; |
5eb8189c | 5480 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5481 | bool arg2 = (bool) true ; |
5eb8189c | 5482 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5483 | void *argp1 = 0 ; |
5484 | int res1 = 0 ; | |
5485 | bool val2 ; | |
5486 | int ecode2 = 0 ; | |
5487 | PyObject * obj0 = 0 ; | |
5488 | PyObject * obj1 = 0 ; | |
5489 | char * kwnames[] = { | |
5490 | (char *) "self",(char *) "visible", NULL | |
5491 | }; | |
5492 | ||
5eb8189c RD |
5493 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5494 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5495 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5497 | } |
5eb8189c | 5498 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5499 | if (obj1) { |
5500 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5501 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5502 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5503 | } |
5504 | arg2 = static_cast< bool >(val2); | |
5505 | } | |
5506 | { | |
5507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5508 | { | |
5eb8189c RD |
5509 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5510 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5511 | } |
5512 | wxPyEndAllowThreads(__tstate); | |
5513 | if (PyErr_Occurred()) SWIG_fail; | |
5514 | } | |
5515 | { | |
5516 | resultobj = obj0; Py_INCREF(resultobj); | |
5517 | } | |
5518 | return resultobj; | |
5519 | fail: | |
5520 | return NULL; | |
5521 | } | |
5522 | ||
5523 | ||
5eb8189c | 5524 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5525 | PyObject *resultobj = 0; |
5eb8189c | 5526 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5527 | bool arg2 = (bool) true ; |
5eb8189c | 5528 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5529 | void *argp1 = 0 ; |
5530 | int res1 = 0 ; | |
5531 | bool val2 ; | |
5532 | int ecode2 = 0 ; | |
5533 | PyObject * obj0 = 0 ; | |
5534 | PyObject * obj1 = 0 ; | |
5535 | char * kwnames[] = { | |
5536 | (char *) "self",(char *) "b", NULL | |
5537 | }; | |
5538 | ||
5eb8189c RD |
5539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5541 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5543 | } |
5eb8189c | 5544 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5545 | if (obj1) { |
5546 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5547 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5548 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5549 | } |
5550 | arg2 = static_cast< bool >(val2); | |
5551 | } | |
5552 | { | |
5553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5554 | { | |
5eb8189c RD |
5555 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5556 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5557 | } |
5558 | wxPyEndAllowThreads(__tstate); | |
5559 | if (PyErr_Occurred()) SWIG_fail; | |
5560 | } | |
5561 | { | |
5562 | resultobj = obj0; Py_INCREF(resultobj); | |
5563 | } | |
5564 | return resultobj; | |
5565 | fail: | |
5566 | return NULL; | |
5567 | } | |
5568 | ||
5569 | ||
5eb8189c | 5570 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5571 | PyObject *resultobj = 0; |
5eb8189c | 5572 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5573 | bool arg2 = (bool) true ; |
5eb8189c | 5574 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5575 | void *argp1 = 0 ; |
5576 | int res1 = 0 ; | |
5577 | bool val2 ; | |
5578 | int ecode2 = 0 ; | |
5579 | PyObject * obj0 = 0 ; | |
5580 | PyObject * obj1 = 0 ; | |
5581 | char * kwnames[] = { | |
5582 | (char *) "self",(char *) "b", NULL | |
5583 | }; | |
5584 | ||
5eb8189c RD |
5585 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5586 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5587 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5589 | } |
5eb8189c | 5590 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5591 | if (obj1) { |
5592 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5593 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5594 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5595 | } |
5596 | arg2 = static_cast< bool >(val2); | |
5597 | } | |
5598 | { | |
5599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5600 | { | |
5eb8189c RD |
5601 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5602 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5603 | } |
5604 | wxPyEndAllowThreads(__tstate); | |
5605 | if (PyErr_Occurred()) SWIG_fail; | |
5606 | } | |
5607 | { | |
5608 | resultobj = obj0; Py_INCREF(resultobj); | |
5609 | } | |
5610 | return resultobj; | |
5611 | fail: | |
5612 | return NULL; | |
5613 | } | |
5614 | ||
5615 | ||
5eb8189c | 5616 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5617 | PyObject *resultobj = 0; |
5eb8189c | 5618 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5619 | bool arg2 = (bool) true ; |
5eb8189c | 5620 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5621 | void *argp1 = 0 ; |
5622 | int res1 = 0 ; | |
5623 | bool val2 ; | |
5624 | int ecode2 = 0 ; | |
5625 | PyObject * obj0 = 0 ; | |
5626 | PyObject * obj1 = 0 ; | |
5627 | char * kwnames[] = { | |
5628 | (char *) "self",(char *) "b", NULL | |
5629 | }; | |
5630 | ||
5eb8189c RD |
5631 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5633 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5635 | } |
5eb8189c | 5636 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5637 | if (obj1) { |
5638 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5639 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5640 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5641 | } |
5642 | arg2 = static_cast< bool >(val2); | |
5643 | } | |
5644 | { | |
5645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5646 | { | |
5eb8189c RD |
5647 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5648 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5649 | } |
5650 | wxPyEndAllowThreads(__tstate); | |
5651 | if (PyErr_Occurred()) SWIG_fail; | |
5652 | } | |
5653 | { | |
5654 | resultobj = obj0; Py_INCREF(resultobj); | |
5655 | } | |
5656 | return resultobj; | |
5657 | fail: | |
5658 | return NULL; | |
5659 | } | |
5660 | ||
5661 | ||
5eb8189c | 5662 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5663 | PyObject *resultobj = 0; |
5eb8189c | 5664 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5665 | bool arg2 = (bool) true ; |
5eb8189c | 5666 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5667 | void *argp1 = 0 ; |
5668 | int res1 = 0 ; | |
5669 | bool val2 ; | |
5670 | int ecode2 = 0 ; | |
5671 | PyObject * obj0 = 0 ; | |
5672 | PyObject * obj1 = 0 ; | |
5673 | char * kwnames[] = { | |
5674 | (char *) "self",(char *) "b", NULL | |
5675 | }; | |
5676 | ||
5eb8189c RD |
5677 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5678 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5679 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5681 | } |
5eb8189c | 5682 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5683 | if (obj1) { |
5684 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5685 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5686 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5687 | } |
5688 | arg2 = static_cast< bool >(val2); | |
5689 | } | |
5690 | { | |
5691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5692 | { | |
5eb8189c RD |
5693 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5694 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5695 | } |
5696 | wxPyEndAllowThreads(__tstate); | |
5697 | if (PyErr_Occurred()) SWIG_fail; | |
5698 | } | |
5699 | { | |
5700 | resultobj = obj0; Py_INCREF(resultobj); | |
5701 | } | |
5702 | return resultobj; | |
5703 | fail: | |
5704 | return NULL; | |
5705 | } | |
5706 | ||
5707 | ||
5eb8189c | 5708 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5709 | PyObject *resultobj = 0; |
5eb8189c | 5710 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5711 | bool arg2 = (bool) true ; |
5eb8189c | 5712 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5713 | void *argp1 = 0 ; |
5714 | int res1 = 0 ; | |
5715 | bool val2 ; | |
5716 | int ecode2 = 0 ; | |
5717 | PyObject * obj0 = 0 ; | |
5718 | PyObject * obj1 = 0 ; | |
5719 | char * kwnames[] = { | |
5720 | (char *) "self",(char *) "b", NULL | |
5721 | }; | |
5722 | ||
5eb8189c RD |
5723 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5724 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5725 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5727 | } |
5eb8189c | 5728 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5729 | if (obj1) { |
5730 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5731 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5732 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5733 | } |
5734 | arg2 = static_cast< bool >(val2); | |
5735 | } | |
5736 | { | |
5737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5738 | { | |
5eb8189c RD |
5739 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5740 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5741 | } |
5742 | wxPyEndAllowThreads(__tstate); | |
5743 | if (PyErr_Occurred()) SWIG_fail; | |
5744 | } | |
5745 | { | |
5746 | resultobj = obj0; Py_INCREF(resultobj); | |
5747 | } | |
5748 | return resultobj; | |
5749 | fail: | |
5750 | return NULL; | |
5751 | } | |
5752 | ||
5753 | ||
5eb8189c | 5754 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5755 | PyObject *resultobj = 0; |
5eb8189c | 5756 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5757 | bool arg2 = (bool) true ; |
5eb8189c | 5758 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5759 | void *argp1 = 0 ; |
5760 | int res1 = 0 ; | |
5761 | bool val2 ; | |
5762 | int ecode2 = 0 ; | |
5763 | PyObject * obj0 = 0 ; | |
5764 | PyObject * obj1 = 0 ; | |
5765 | char * kwnames[] = { | |
5766 | (char *) "self",(char *) "b", NULL | |
5767 | }; | |
5768 | ||
5eb8189c RD |
5769 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5770 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5771 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5772 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5773 | } |
5eb8189c | 5774 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5775 | if (obj1) { |
5776 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5777 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5778 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5779 | } |
5780 | arg2 = static_cast< bool >(val2); | |
5781 | } | |
5782 | { | |
5783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5784 | { | |
5eb8189c RD |
5785 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5786 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5787 | } |
5788 | wxPyEndAllowThreads(__tstate); | |
5789 | if (PyErr_Occurred()) SWIG_fail; | |
5790 | } | |
5791 | { | |
5792 | resultobj = obj0; Py_INCREF(resultobj); | |
5793 | } | |
5794 | return resultobj; | |
5795 | fail: | |
5796 | return NULL; | |
5797 | } | |
5798 | ||
5799 | ||
5eb8189c | 5800 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5801 | PyObject *resultobj = 0; |
5eb8189c | 5802 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5803 | bool arg2 = (bool) true ; |
5eb8189c | 5804 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5805 | void *argp1 = 0 ; |
5806 | int res1 = 0 ; | |
5807 | bool val2 ; | |
5808 | int ecode2 = 0 ; | |
5809 | PyObject * obj0 = 0 ; | |
5810 | PyObject * obj1 = 0 ; | |
5811 | char * kwnames[] = { | |
5812 | (char *) "self",(char *) "b", NULL | |
5813 | }; | |
5814 | ||
5eb8189c RD |
5815 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5816 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5817 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5819 | } |
5eb8189c | 5820 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5821 | if (obj1) { |
5822 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5823 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5824 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5825 | } |
5826 | arg2 = static_cast< bool >(val2); | |
5827 | } | |
5828 | { | |
5829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5830 | { | |
5eb8189c RD |
5831 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5832 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5833 | } |
5834 | wxPyEndAllowThreads(__tstate); | |
5835 | if (PyErr_Occurred()) SWIG_fail; | |
5836 | } | |
5837 | { | |
5838 | resultobj = obj0; Py_INCREF(resultobj); | |
5839 | } | |
5840 | return resultobj; | |
5841 | fail: | |
5842 | return NULL; | |
5843 | } | |
5844 | ||
5845 | ||
5eb8189c RD |
5846 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5847 | PyObject *resultobj = 0; | |
5848 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5849 | bool arg2 = (bool) true ; |
5eb8189c | 5850 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5851 | void *argp1 = 0 ; |
5852 | int res1 = 0 ; | |
5853 | bool val2 ; | |
5854 | int ecode2 = 0 ; | |
5855 | PyObject * obj0 = 0 ; | |
5856 | PyObject * obj1 = 0 ; | |
5857 | char * kwnames[] = { | |
5858 | (char *) "self",(char *) "b", NULL | |
5859 | }; | |
5860 | ||
5eb8189c RD |
5861 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5862 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5863 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5864 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5865 | } |
5eb8189c | 5866 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5867 | if (obj1) { |
5868 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5869 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5870 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5871 | } |
5872 | arg2 = static_cast< bool >(val2); | |
5873 | } | |
5874 | { | |
5875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5876 | { | |
5eb8189c RD |
5877 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5878 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5879 | } |
5880 | wxPyEndAllowThreads(__tstate); | |
5881 | if (PyErr_Occurred()) SWIG_fail; | |
5882 | } | |
5883 | { | |
5884 | resultobj = obj0; Py_INCREF(resultobj); | |
5885 | } | |
5886 | return resultobj; | |
5887 | fail: | |
5888 | return NULL; | |
5889 | } | |
5890 | ||
5891 | ||
5eb8189c | 5892 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5893 | PyObject *resultobj = 0; |
5eb8189c RD |
5894 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5895 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5896 | void *argp1 = 0 ; |
5897 | int res1 = 0 ; | |
5898 | PyObject *swig_obj[1] ; | |
5899 | ||
5900 | if (!args) SWIG_fail; | |
5901 | swig_obj[0] = args; | |
5eb8189c | 5902 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5903 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5905 | } |
5eb8189c | 5906 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5907 | { |
5908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5909 | { | |
5eb8189c RD |
5910 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5911 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5912 | } |
5913 | wxPyEndAllowThreads(__tstate); | |
5914 | if (PyErr_Occurred()) SWIG_fail; | |
5915 | } | |
5916 | { | |
5917 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5918 | } | |
5919 | return resultobj; | |
5920 | fail: | |
5921 | return NULL; | |
5922 | } | |
5923 | ||
5924 | ||
5eb8189c | 5925 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5926 | PyObject *resultobj = 0; |
5eb8189c RD |
5927 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5928 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5929 | void *argp1 = 0 ; |
5930 | int res1 = 0 ; | |
5931 | PyObject *swig_obj[1] ; | |
5932 | ||
5933 | if (!args) SWIG_fail; | |
5934 | swig_obj[0] = args; | |
5eb8189c | 5935 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5936 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5937 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5938 | } |
5eb8189c | 5939 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5940 | { |
5941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5942 | { | |
5eb8189c RD |
5943 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5944 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5945 | } |
5946 | wxPyEndAllowThreads(__tstate); | |
5947 | if (PyErr_Occurred()) SWIG_fail; | |
5948 | } | |
5949 | { | |
5950 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5951 | } | |
5952 | return resultobj; | |
5953 | fail: | |
5954 | return NULL; | |
5955 | } | |
5956 | ||
5957 | ||
5eb8189c | 5958 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5959 | PyObject *resultobj = 0; |
5eb8189c RD |
5960 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5961 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5962 | void *argp1 = 0 ; |
5963 | int res1 = 0 ; | |
5964 | PyObject *swig_obj[1] ; | |
5965 | ||
5966 | if (!args) SWIG_fail; | |
5967 | swig_obj[0] = args; | |
5eb8189c | 5968 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5969 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5971 | } |
5eb8189c | 5972 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5973 | { |
5974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5975 | { | |
5eb8189c RD |
5976 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
5977 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5978 | } |
5979 | wxPyEndAllowThreads(__tstate); | |
5980 | if (PyErr_Occurred()) SWIG_fail; | |
5981 | } | |
5982 | { | |
5983 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5984 | } | |
5985 | return resultobj; | |
5986 | fail: | |
5987 | return NULL; | |
5988 | } | |
5989 | ||
5990 | ||
5eb8189c | 5991 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5992 | PyObject *resultobj = 0; |
5eb8189c RD |
5993 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5994 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5995 | void *argp1 = 0 ; |
5996 | int res1 = 0 ; | |
5997 | PyObject *swig_obj[1] ; | |
5998 | ||
5999 | if (!args) SWIG_fail; | |
6000 | swig_obj[0] = args; | |
5eb8189c | 6001 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6002 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6004 | } |
5eb8189c | 6005 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6006 | { |
6007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6008 | { | |
5eb8189c RD |
6009 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6010 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6011 | } |
6012 | wxPyEndAllowThreads(__tstate); | |
6013 | if (PyErr_Occurred()) SWIG_fail; | |
6014 | } | |
6015 | { | |
6016 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6017 | } | |
6018 | return resultobj; | |
6019 | fail: | |
6020 | return NULL; | |
6021 | } | |
6022 | ||
6023 | ||
5eb8189c | 6024 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6025 | PyObject *resultobj = 0; |
5eb8189c | 6026 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6027 | int arg2 ; |
6028 | bool arg3 ; | |
5eb8189c | 6029 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6030 | void *argp1 = 0 ; |
6031 | int res1 = 0 ; | |
6032 | int val2 ; | |
6033 | int ecode2 = 0 ; | |
6034 | bool val3 ; | |
6035 | int ecode3 = 0 ; | |
6036 | PyObject * obj0 = 0 ; | |
6037 | PyObject * obj1 = 0 ; | |
6038 | PyObject * obj2 = 0 ; | |
6039 | char * kwnames[] = { | |
6040 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6041 | }; | |
6042 | ||
5eb8189c RD |
6043 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6044 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6045 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6046 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6047 | } |
5eb8189c | 6048 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6049 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6050 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6051 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6052 | } |
6053 | arg2 = static_cast< int >(val2); | |
6054 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6055 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6056 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6057 | } |
6058 | arg3 = static_cast< bool >(val3); | |
6059 | { | |
6060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6061 | { | |
5eb8189c RD |
6062 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6063 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6064 | } |
6065 | wxPyEndAllowThreads(__tstate); | |
6066 | if (PyErr_Occurred()) SWIG_fail; | |
6067 | } | |
6068 | { | |
6069 | resultobj = obj0; Py_INCREF(resultobj); | |
6070 | } | |
6071 | return resultobj; | |
6072 | fail: | |
6073 | return NULL; | |
6074 | } | |
6075 | ||
6076 | ||
5eb8189c | 6077 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6078 | PyObject *resultobj = 0; |
5eb8189c | 6079 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6080 | int arg2 ; |
6081 | bool result; | |
6082 | void *argp1 = 0 ; | |
6083 | int res1 = 0 ; | |
6084 | int val2 ; | |
6085 | int ecode2 = 0 ; | |
6086 | PyObject * obj0 = 0 ; | |
6087 | PyObject * obj1 = 0 ; | |
6088 | char * kwnames[] = { | |
6089 | (char *) "self",(char *) "flag", NULL | |
6090 | }; | |
6091 | ||
5eb8189c RD |
6092 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6093 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6094 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6096 | } |
5eb8189c | 6097 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6098 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6099 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6100 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6101 | } |
6102 | arg2 = static_cast< int >(val2); | |
6103 | { | |
6104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6105 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6106 | wxPyEndAllowThreads(__tstate); |
6107 | if (PyErr_Occurred()) SWIG_fail; | |
6108 | } | |
6109 | { | |
6110 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6111 | } | |
6112 | return resultobj; | |
6113 | fail: | |
6114 | return NULL; | |
6115 | } | |
6116 | ||
6117 | ||
5eb8189c | 6118 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6119 | PyObject *resultobj = 0; |
5eb8189c | 6120 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6121 | wxString *arg2 = (wxString *) 0 ; |
6122 | void *argp1 = 0 ; | |
6123 | int res1 = 0 ; | |
6124 | bool temp2 = false ; | |
6125 | PyObject *swig_obj[2] ; | |
6126 | ||
5eb8189c RD |
6127 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6128 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6129 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6130 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6131 | } |
5eb8189c | 6132 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6133 | { |
6134 | arg2 = wxString_in_helper(swig_obj[1]); | |
6135 | if (arg2 == NULL) SWIG_fail; | |
6136 | temp2 = true; | |
6137 | } | |
6138 | if (arg1) (arg1)->name = *arg2; | |
6139 | ||
6140 | resultobj = SWIG_Py_Void(); | |
6141 | { | |
6142 | if (temp2) | |
6143 | delete arg2; | |
6144 | } | |
6145 | return resultobj; | |
6146 | fail: | |
6147 | { | |
6148 | if (temp2) | |
6149 | delete arg2; | |
6150 | } | |
6151 | return NULL; | |
6152 | } | |
6153 | ||
6154 | ||
5eb8189c | 6155 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6156 | PyObject *resultobj = 0; |
5eb8189c | 6157 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6158 | wxString *result = 0 ; |
6159 | void *argp1 = 0 ; | |
6160 | int res1 = 0 ; | |
6161 | PyObject *swig_obj[1] ; | |
6162 | ||
6163 | if (!args) SWIG_fail; | |
6164 | swig_obj[0] = args; | |
5eb8189c | 6165 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6166 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6168 | } |
5eb8189c | 6169 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6170 | result = (wxString *)& ((arg1)->name); |
6171 | { | |
6172 | #if wxUSE_UNICODE | |
6173 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6174 | #else | |
6175 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6176 | #endif | |
6177 | } | |
6178 | return resultobj; | |
6179 | fail: | |
6180 | return NULL; | |
6181 | } | |
6182 | ||
6183 | ||
5eb8189c | 6184 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6185 | PyObject *resultobj = 0; |
5eb8189c | 6186 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6187 | wxString *arg2 = (wxString *) 0 ; |
6188 | void *argp1 = 0 ; | |
6189 | int res1 = 0 ; | |
6190 | bool temp2 = false ; | |
6191 | PyObject *swig_obj[2] ; | |
6192 | ||
5eb8189c RD |
6193 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6194 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6195 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6197 | } |
5eb8189c | 6198 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6199 | { |
6200 | arg2 = wxString_in_helper(swig_obj[1]); | |
6201 | if (arg2 == NULL) SWIG_fail; | |
6202 | temp2 = true; | |
6203 | } | |
6204 | if (arg1) (arg1)->caption = *arg2; | |
6205 | ||
6206 | resultobj = SWIG_Py_Void(); | |
6207 | { | |
6208 | if (temp2) | |
6209 | delete arg2; | |
6210 | } | |
6211 | return resultobj; | |
6212 | fail: | |
6213 | { | |
6214 | if (temp2) | |
6215 | delete arg2; | |
6216 | } | |
6217 | return NULL; | |
6218 | } | |
6219 | ||
6220 | ||
5eb8189c | 6221 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6222 | PyObject *resultobj = 0; |
5eb8189c | 6223 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6224 | wxString *result = 0 ; |
6225 | void *argp1 = 0 ; | |
6226 | int res1 = 0 ; | |
6227 | PyObject *swig_obj[1] ; | |
6228 | ||
6229 | if (!args) SWIG_fail; | |
6230 | swig_obj[0] = args; | |
5eb8189c | 6231 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6232 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6233 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6234 | } |
5eb8189c | 6235 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6236 | result = (wxString *)& ((arg1)->caption); |
6237 | { | |
6238 | #if wxUSE_UNICODE | |
6239 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6240 | #else | |
6241 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6242 | #endif | |
6243 | } | |
6244 | return resultobj; | |
6245 | fail: | |
6246 | return NULL; | |
6247 | } | |
6248 | ||
6249 | ||
5eb8189c | 6250 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6251 | PyObject *resultobj = 0; |
5eb8189c | 6252 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6253 | wxWindow *arg2 = (wxWindow *) 0 ; |
6254 | void *argp1 = 0 ; | |
6255 | int res1 = 0 ; | |
6256 | void *argp2 = 0 ; | |
6257 | int res2 = 0 ; | |
6258 | PyObject *swig_obj[2] ; | |
6259 | ||
5eb8189c RD |
6260 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6261 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6262 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6263 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6264 | } |
5eb8189c | 6265 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6266 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6267 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6268 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6269 | } |
6270 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6271 | if (arg1) (arg1)->window = arg2; | |
6272 | ||
6273 | resultobj = SWIG_Py_Void(); | |
6274 | return resultobj; | |
6275 | fail: | |
6276 | return NULL; | |
6277 | } | |
6278 | ||
6279 | ||
5eb8189c | 6280 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6281 | PyObject *resultobj = 0; |
5eb8189c | 6282 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6283 | wxWindow *result = 0 ; |
6284 | void *argp1 = 0 ; | |
6285 | int res1 = 0 ; | |
6286 | PyObject *swig_obj[1] ; | |
6287 | ||
6288 | if (!args) SWIG_fail; | |
6289 | swig_obj[0] = args; | |
5eb8189c | 6290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6291 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6293 | } |
5eb8189c | 6294 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6295 | result = (wxWindow *) ((arg1)->window); |
6296 | { | |
6297 | resultobj = wxPyMake_wxObject(result, 0); | |
6298 | } | |
6299 | return resultobj; | |
6300 | fail: | |
6301 | return NULL; | |
6302 | } | |
6303 | ||
6304 | ||
5eb8189c | 6305 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6306 | PyObject *resultobj = 0; |
5eb8189c | 6307 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6308 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6309 | void *argp1 = 0 ; |
6310 | int res1 = 0 ; | |
6311 | void *argp2 = 0 ; | |
6312 | int res2 = 0 ; | |
6313 | PyObject *swig_obj[2] ; | |
6314 | ||
5eb8189c RD |
6315 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6316 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6317 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6318 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6319 | } |
5eb8189c | 6320 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6321 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6322 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6323 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6324 | } |
10044bf1 | 6325 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6326 | if (arg1) (arg1)->frame = arg2; |
6327 | ||
6328 | resultobj = SWIG_Py_Void(); | |
6329 | return resultobj; | |
6330 | fail: | |
6331 | return NULL; | |
6332 | } | |
6333 | ||
6334 | ||
5eb8189c | 6335 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6336 | PyObject *resultobj = 0; |
5eb8189c | 6337 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6338 | wxFrame *result = 0 ; |
27e45892 RD |
6339 | void *argp1 = 0 ; |
6340 | int res1 = 0 ; | |
6341 | PyObject *swig_obj[1] ; | |
6342 | ||
6343 | if (!args) SWIG_fail; | |
6344 | swig_obj[0] = args; | |
5eb8189c | 6345 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6346 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6347 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6348 | } |
5eb8189c | 6349 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6350 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6351 | { |
6352 | resultobj = wxPyMake_wxObject(result, 0); | |
6353 | } | |
6354 | return resultobj; | |
6355 | fail: | |
6356 | return NULL; | |
6357 | } | |
6358 | ||
6359 | ||
5eb8189c | 6360 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6361 | PyObject *resultobj = 0; |
5eb8189c | 6362 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6363 | int arg2 ; |
6364 | void *argp1 = 0 ; | |
6365 | int res1 = 0 ; | |
6366 | int val2 ; | |
6367 | int ecode2 = 0 ; | |
6368 | PyObject *swig_obj[2] ; | |
6369 | ||
5eb8189c RD |
6370 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6371 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6372 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6374 | } |
5eb8189c | 6375 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6376 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6377 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6378 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6379 | } |
6380 | arg2 = static_cast< int >(val2); | |
6381 | if (arg1) (arg1)->state = arg2; | |
6382 | ||
6383 | resultobj = SWIG_Py_Void(); | |
6384 | return resultobj; | |
6385 | fail: | |
6386 | return NULL; | |
6387 | } | |
6388 | ||
6389 | ||
5eb8189c | 6390 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6391 | PyObject *resultobj = 0; |
5eb8189c | 6392 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6393 | int result; |
6394 | void *argp1 = 0 ; | |
6395 | int res1 = 0 ; | |
6396 | PyObject *swig_obj[1] ; | |
6397 | ||
6398 | if (!args) SWIG_fail; | |
6399 | swig_obj[0] = args; | |
5eb8189c | 6400 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6401 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6403 | } |
5eb8189c | 6404 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6405 | result = (int) ((arg1)->state); |
6406 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6407 | return resultobj; | |
6408 | fail: | |
6409 | return NULL; | |
6410 | } | |
6411 | ||
6412 | ||
5eb8189c | 6413 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6414 | PyObject *resultobj = 0; |
5eb8189c | 6415 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6416 | int arg2 ; |
6417 | void *argp1 = 0 ; | |
6418 | int res1 = 0 ; | |
6419 | int val2 ; | |
6420 | int ecode2 = 0 ; | |
6421 | PyObject *swig_obj[2] ; | |
6422 | ||
5eb8189c RD |
6423 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6424 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6425 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6427 | } |
5eb8189c | 6428 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6429 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6430 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6431 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6432 | } |
6433 | arg2 = static_cast< int >(val2); | |
6434 | if (arg1) (arg1)->dock_direction = arg2; | |
6435 | ||
6436 | resultobj = SWIG_Py_Void(); | |
6437 | return resultobj; | |
6438 | fail: | |
6439 | return NULL; | |
6440 | } | |
6441 | ||
6442 | ||
5eb8189c | 6443 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6444 | PyObject *resultobj = 0; |
5eb8189c | 6445 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6446 | int result; |
6447 | void *argp1 = 0 ; | |
6448 | int res1 = 0 ; | |
6449 | PyObject *swig_obj[1] ; | |
6450 | ||
6451 | if (!args) SWIG_fail; | |
6452 | swig_obj[0] = args; | |
5eb8189c | 6453 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6454 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6455 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6456 | } |
5eb8189c | 6457 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6458 | result = (int) ((arg1)->dock_direction); |
6459 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6460 | return resultobj; | |
6461 | fail: | |
6462 | return NULL; | |
6463 | } | |
6464 | ||
6465 | ||
5eb8189c | 6466 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6467 | PyObject *resultobj = 0; |
5eb8189c | 6468 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6469 | int arg2 ; |
6470 | void *argp1 = 0 ; | |
6471 | int res1 = 0 ; | |
6472 | int val2 ; | |
6473 | int ecode2 = 0 ; | |
6474 | PyObject *swig_obj[2] ; | |
6475 | ||
5eb8189c RD |
6476 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6477 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6478 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6479 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6480 | } |
5eb8189c | 6481 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6482 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6483 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6484 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6485 | } |
6486 | arg2 = static_cast< int >(val2); | |
6487 | if (arg1) (arg1)->dock_layer = arg2; | |
6488 | ||
6489 | resultobj = SWIG_Py_Void(); | |
6490 | return resultobj; | |
6491 | fail: | |
6492 | return NULL; | |
6493 | } | |
6494 | ||
6495 | ||
5eb8189c | 6496 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6497 | PyObject *resultobj = 0; |
5eb8189c | 6498 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6499 | int result; |
6500 | void *argp1 = 0 ; | |
6501 | int res1 = 0 ; | |
6502 | PyObject *swig_obj[1] ; | |
6503 | ||
6504 | if (!args) SWIG_fail; | |
6505 | swig_obj[0] = args; | |
5eb8189c | 6506 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6507 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6509 | } |
5eb8189c | 6510 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6511 | result = (int) ((arg1)->dock_layer); |
6512 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6513 | return resultobj; | |
6514 | fail: | |
6515 | return NULL; | |
6516 | } | |
6517 | ||
6518 | ||
5eb8189c | 6519 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6520 | PyObject *resultobj = 0; |
5eb8189c | 6521 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6522 | int arg2 ; |
6523 | void *argp1 = 0 ; | |
6524 | int res1 = 0 ; | |
6525 | int val2 ; | |
6526 | int ecode2 = 0 ; | |
6527 | PyObject *swig_obj[2] ; | |
6528 | ||
5eb8189c RD |
6529 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6530 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6531 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6533 | } |
5eb8189c | 6534 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6535 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6536 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6537 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6538 | } |
6539 | arg2 = static_cast< int >(val2); | |
6540 | if (arg1) (arg1)->dock_row = arg2; | |
6541 | ||
6542 | resultobj = SWIG_Py_Void(); | |
6543 | return resultobj; | |
6544 | fail: | |
6545 | return NULL; | |
6546 | } | |
6547 | ||
6548 | ||
5eb8189c | 6549 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6550 | PyObject *resultobj = 0; |
5eb8189c | 6551 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6552 | int result; |
6553 | void *argp1 = 0 ; | |
6554 | int res1 = 0 ; | |
6555 | PyObject *swig_obj[1] ; | |
6556 | ||
6557 | if (!args) SWIG_fail; | |
6558 | swig_obj[0] = args; | |
5eb8189c | 6559 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6560 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6562 | } |
5eb8189c | 6563 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6564 | result = (int) ((arg1)->dock_row); |
6565 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6566 | return resultobj; | |
6567 | fail: | |
6568 | return NULL; | |
6569 | } | |
6570 | ||
6571 | ||
5eb8189c | 6572 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6573 | PyObject *resultobj = 0; |
5eb8189c | 6574 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6575 | int arg2 ; |
6576 | void *argp1 = 0 ; | |
6577 | int res1 = 0 ; | |
6578 | int val2 ; | |
6579 | int ecode2 = 0 ; | |
6580 | PyObject *swig_obj[2] ; | |
6581 | ||
5eb8189c RD |
6582 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6584 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6586 | } |
5eb8189c | 6587 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6588 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6589 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6590 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6591 | } |
6592 | arg2 = static_cast< int >(val2); | |
6593 | if (arg1) (arg1)->dock_pos = arg2; | |
6594 | ||
6595 | resultobj = SWIG_Py_Void(); | |
6596 | return resultobj; | |
6597 | fail: | |
6598 | return NULL; | |
6599 | } | |
6600 | ||
6601 | ||
5eb8189c | 6602 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6603 | PyObject *resultobj = 0; |
5eb8189c | 6604 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6605 | int result; |
6606 | void *argp1 = 0 ; | |
6607 | int res1 = 0 ; | |
6608 | PyObject *swig_obj[1] ; | |
6609 | ||
6610 | if (!args) SWIG_fail; | |
6611 | swig_obj[0] = args; | |
5eb8189c | 6612 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6613 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6614 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6615 | } |
5eb8189c | 6616 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6617 | result = (int) ((arg1)->dock_pos); |
6618 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6619 | return resultobj; | |
6620 | fail: | |
6621 | return NULL; | |
6622 | } | |
6623 | ||
6624 | ||
5eb8189c | 6625 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6626 | PyObject *resultobj = 0; |
5eb8189c | 6627 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6628 | wxSize *arg2 = (wxSize *) 0 ; |
6629 | void *argp1 = 0 ; | |
6630 | int res1 = 0 ; | |
6631 | void *argp2 = 0 ; | |
6632 | int res2 = 0 ; | |
6633 | PyObject *swig_obj[2] ; | |
6634 | ||
5eb8189c RD |
6635 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6637 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6639 | } |
5eb8189c | 6640 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6641 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6642 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6643 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6644 | } |
6645 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6646 | if (arg1) (arg1)->best_size = *arg2; | |
6647 | ||
6648 | resultobj = SWIG_Py_Void(); | |
6649 | return resultobj; | |
6650 | fail: | |
6651 | return NULL; | |
6652 | } | |
6653 | ||
6654 | ||
5eb8189c | 6655 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6656 | PyObject *resultobj = 0; |
5eb8189c | 6657 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6658 | wxSize *result = 0 ; |
6659 | void *argp1 = 0 ; | |
6660 | int res1 = 0 ; | |
6661 | PyObject *swig_obj[1] ; | |
6662 | ||
6663 | if (!args) SWIG_fail; | |
6664 | swig_obj[0] = args; | |
5eb8189c | 6665 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6666 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6668 | } |
5eb8189c | 6669 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6670 | result = (wxSize *)& ((arg1)->best_size); |
6671 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6672 | return resultobj; | |
6673 | fail: | |
6674 | return NULL; | |
6675 | } | |
6676 | ||
6677 | ||
5eb8189c | 6678 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6679 | PyObject *resultobj = 0; |
5eb8189c | 6680 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6681 | wxSize *arg2 = (wxSize *) 0 ; |
6682 | void *argp1 = 0 ; | |
6683 | int res1 = 0 ; | |
6684 | void *argp2 = 0 ; | |
6685 | int res2 = 0 ; | |
6686 | PyObject *swig_obj[2] ; | |
6687 | ||
5eb8189c RD |
6688 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6689 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6690 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6692 | } |
5eb8189c | 6693 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6694 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6695 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6696 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6697 | } |
6698 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6699 | if (arg1) (arg1)->min_size = *arg2; | |
6700 | ||
6701 | resultobj = SWIG_Py_Void(); | |
6702 | return resultobj; | |
6703 | fail: | |
6704 | return NULL; | |
6705 | } | |
6706 | ||
6707 | ||
5eb8189c | 6708 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6709 | PyObject *resultobj = 0; |
5eb8189c | 6710 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6711 | wxSize *result = 0 ; |
6712 | void *argp1 = 0 ; | |
6713 | int res1 = 0 ; | |
6714 | PyObject *swig_obj[1] ; | |
6715 | ||
6716 | if (!args) SWIG_fail; | |
6717 | swig_obj[0] = args; | |
5eb8189c | 6718 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6719 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6721 | } |
5eb8189c | 6722 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6723 | result = (wxSize *)& ((arg1)->min_size); |
6724 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6725 | return resultobj; | |
6726 | fail: | |
6727 | return NULL; | |
6728 | } | |
6729 | ||
6730 | ||
5eb8189c | 6731 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6732 | PyObject *resultobj = 0; |
5eb8189c | 6733 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6734 | wxSize *arg2 = (wxSize *) 0 ; |
6735 | void *argp1 = 0 ; | |
6736 | int res1 = 0 ; | |
6737 | void *argp2 = 0 ; | |
6738 | int res2 = 0 ; | |
6739 | PyObject *swig_obj[2] ; | |
6740 | ||
5eb8189c RD |
6741 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6743 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6745 | } |
5eb8189c | 6746 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6747 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6748 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6749 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6750 | } |
6751 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6752 | if (arg1) (arg1)->max_size = *arg2; | |
6753 | ||
6754 | resultobj = SWIG_Py_Void(); | |
6755 | return resultobj; | |
6756 | fail: | |
6757 | return NULL; | |
6758 | } | |
6759 | ||
6760 | ||
5eb8189c | 6761 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6762 | PyObject *resultobj = 0; |
5eb8189c | 6763 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6764 | wxSize *result = 0 ; |
6765 | void *argp1 = 0 ; | |
6766 | int res1 = 0 ; | |
6767 | PyObject *swig_obj[1] ; | |
6768 | ||
6769 | if (!args) SWIG_fail; | |
6770 | swig_obj[0] = args; | |
5eb8189c | 6771 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6772 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6773 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6774 | } |
5eb8189c | 6775 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6776 | result = (wxSize *)& ((arg1)->max_size); |
6777 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6778 | return resultobj; | |
6779 | fail: | |
6780 | return NULL; | |
6781 | } | |
6782 | ||
6783 | ||
5eb8189c | 6784 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6785 | PyObject *resultobj = 0; |
5eb8189c | 6786 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6787 | wxPoint *arg2 = (wxPoint *) 0 ; |
6788 | void *argp1 = 0 ; | |
6789 | int res1 = 0 ; | |
6790 | void *argp2 = 0 ; | |
6791 | int res2 = 0 ; | |
6792 | PyObject *swig_obj[2] ; | |
6793 | ||
5eb8189c RD |
6794 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6795 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6796 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6798 | } |
5eb8189c | 6799 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6800 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6801 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6802 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6803 | } |
6804 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6805 | if (arg1) (arg1)->floating_pos = *arg2; | |
6806 | ||
6807 | resultobj = SWIG_Py_Void(); | |
6808 | return resultobj; | |
6809 | fail: | |
6810 | return NULL; | |
6811 | } | |
6812 | ||
6813 | ||
5eb8189c | 6814 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6815 | PyObject *resultobj = 0; |
5eb8189c | 6816 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6817 | wxPoint *result = 0 ; |
6818 | void *argp1 = 0 ; | |
6819 | int res1 = 0 ; | |
6820 | PyObject *swig_obj[1] ; | |
6821 | ||
6822 | if (!args) SWIG_fail; | |
6823 | swig_obj[0] = args; | |
5eb8189c | 6824 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6825 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6827 | } |
5eb8189c | 6828 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6829 | result = (wxPoint *)& ((arg1)->floating_pos); |
6830 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6831 | return resultobj; | |
6832 | fail: | |
6833 | return NULL; | |
6834 | } | |
6835 | ||
6836 | ||
5eb8189c | 6837 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6838 | PyObject *resultobj = 0; |
5eb8189c | 6839 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6840 | wxSize *arg2 = (wxSize *) 0 ; |
6841 | void *argp1 = 0 ; | |
6842 | int res1 = 0 ; | |
6843 | void *argp2 = 0 ; | |
6844 | int res2 = 0 ; | |
6845 | PyObject *swig_obj[2] ; | |
6846 | ||
5eb8189c RD |
6847 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6848 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6849 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6850 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6851 | } |
5eb8189c | 6852 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6853 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6854 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6855 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6856 | } |
6857 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6858 | if (arg1) (arg1)->floating_size = *arg2; | |
6859 | ||
6860 | resultobj = SWIG_Py_Void(); | |
6861 | return resultobj; | |
6862 | fail: | |
6863 | return NULL; | |
6864 | } | |
6865 | ||
6866 | ||
5eb8189c | 6867 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6868 | PyObject *resultobj = 0; |
5eb8189c | 6869 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6870 | wxSize *result = 0 ; |
6871 | void *argp1 = 0 ; | |
6872 | int res1 = 0 ; | |
6873 | PyObject *swig_obj[1] ; | |
6874 | ||
6875 | if (!args) SWIG_fail; | |
6876 | swig_obj[0] = args; | |
5eb8189c | 6877 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6878 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6880 | } |
5eb8189c | 6881 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6882 | result = (wxSize *)& ((arg1)->floating_size); |
6883 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6884 | return resultobj; | |
6885 | fail: | |
6886 | return NULL; | |
6887 | } | |
6888 | ||
6889 | ||
5eb8189c | 6890 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6891 | PyObject *resultobj = 0; |
5eb8189c | 6892 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6893 | int arg2 ; |
6894 | void *argp1 = 0 ; | |
6895 | int res1 = 0 ; | |
6896 | int val2 ; | |
6897 | int ecode2 = 0 ; | |
6898 | PyObject *swig_obj[2] ; | |
6899 | ||
5eb8189c RD |
6900 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6901 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6902 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6903 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6904 | } |
5eb8189c | 6905 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6906 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6907 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6908 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6909 | } |
6910 | arg2 = static_cast< int >(val2); | |
6911 | if (arg1) (arg1)->dock_proportion = arg2; | |
6912 | ||
6913 | resultobj = SWIG_Py_Void(); | |
6914 | return resultobj; | |
6915 | fail: | |
6916 | return NULL; | |
6917 | } | |
6918 | ||
6919 | ||
5eb8189c | 6920 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6921 | PyObject *resultobj = 0; |
5eb8189c | 6922 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6923 | int result; |
6924 | void *argp1 = 0 ; | |
6925 | int res1 = 0 ; | |
6926 | PyObject *swig_obj[1] ; | |
6927 | ||
6928 | if (!args) SWIG_fail; | |
6929 | swig_obj[0] = args; | |
5eb8189c | 6930 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6931 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6932 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6933 | } |
5eb8189c | 6934 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6935 | result = (int) ((arg1)->dock_proportion); |
6936 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6937 | return resultobj; | |
6938 | fail: | |
6939 | return NULL; | |
6940 | } | |
6941 | ||
6942 | ||
5eb8189c | 6943 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6944 | PyObject *resultobj = 0; |
5eb8189c RD |
6945 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6946 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6947 | void *argp1 = 0 ; |
6948 | int res1 = 0 ; | |
6949 | void *argp2 ; | |
6950 | int res2 = 0 ; | |
6951 | PyObject *swig_obj[2] ; | |
6952 | ||
5eb8189c RD |
6953 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6955 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6957 | } |
5eb8189c | 6958 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6959 | { |
5eb8189c | 6960 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6961 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6962 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6963 | } |
6964 | if (!argp2) { | |
5eb8189c | 6965 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6966 | } else { |
5eb8189c | 6967 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6968 | arg2 = *temp; |
6969 | if (SWIG_IsNewObj(res2)) delete temp; | |
6970 | } | |
6971 | } | |
6972 | if (arg1) (arg1)->buttons = arg2; | |
6973 | ||
6974 | resultobj = SWIG_Py_Void(); | |
6975 | return resultobj; | |
6976 | fail: | |
6977 | return NULL; | |
6978 | } | |
6979 | ||
6980 | ||
5eb8189c | 6981 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6982 | PyObject *resultobj = 0; |
5eb8189c RD |
6983 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6984 | wxAuiPaneButtonArray result; | |
27e45892 RD |
6985 | void *argp1 = 0 ; |
6986 | int res1 = 0 ; | |
6987 | PyObject *swig_obj[1] ; | |
6988 | ||
6989 | if (!args) SWIG_fail; | |
6990 | swig_obj[0] = args; | |
5eb8189c | 6991 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6992 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6994 | } |
5eb8189c | 6995 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6996 | result = ((arg1)->buttons); |
5eb8189c | 6997 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
6998 | return resultobj; |
6999 | fail: | |
7000 | return NULL; | |
7001 | } | |
7002 | ||
7003 | ||
5eb8189c | 7004 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7005 | PyObject *resultobj = 0; |
5eb8189c | 7006 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7007 | wxRect *arg2 = (wxRect *) 0 ; |
7008 | void *argp1 = 0 ; | |
7009 | int res1 = 0 ; | |
7010 | void *argp2 = 0 ; | |
7011 | int res2 = 0 ; | |
7012 | PyObject *swig_obj[2] ; | |
7013 | ||
5eb8189c RD |
7014 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7016 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7018 | } |
5eb8189c | 7019 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7020 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7021 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7022 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7023 | } |
7024 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7025 | if (arg1) (arg1)->rect = *arg2; | |
7026 | ||
7027 | resultobj = SWIG_Py_Void(); | |
7028 | return resultobj; | |
7029 | fail: | |
7030 | return NULL; | |
7031 | } | |
7032 | ||
7033 | ||
5eb8189c | 7034 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7035 | PyObject *resultobj = 0; |
5eb8189c | 7036 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7037 | wxRect *result = 0 ; |
7038 | void *argp1 = 0 ; | |
7039 | int res1 = 0 ; | |
7040 | PyObject *swig_obj[1] ; | |
7041 | ||
7042 | if (!args) SWIG_fail; | |
7043 | swig_obj[0] = args; | |
5eb8189c | 7044 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7045 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7046 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7047 | } |
5eb8189c | 7048 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7049 | result = (wxRect *)& ((arg1)->rect); |
7050 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7051 | return resultobj; | |
7052 | fail: | |
7053 | return NULL; | |
7054 | } | |
7055 | ||
7056 | ||
5eb8189c | 7057 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7058 | PyObject *obj; |
7059 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7060 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7061 | return SWIG_Py_Void(); |
7062 | } | |
7063 | ||
5eb8189c | 7064 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7065 | return SWIG_Python_InitShadowInstance(args); |
7066 | } | |
7067 | ||
5eb8189c | 7068 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7069 | PyObject *resultobj = 0; |
10044bf1 | 7070 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7071 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7072 | wxAuiManager *result = 0 ; |
27e45892 RD |
7073 | void *argp1 = 0 ; |
7074 | int res1 = 0 ; | |
7075 | int val2 ; | |
7076 | int ecode2 = 0 ; | |
7077 | PyObject * obj0 = 0 ; | |
7078 | PyObject * obj1 = 0 ; | |
7079 | char * kwnames[] = { | |
10044bf1 | 7080 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7081 | }; |
7082 | ||
5eb8189c | 7083 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7084 | if (obj0) { |
10044bf1 | 7085 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7086 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7088 | } |
10044bf1 | 7089 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7090 | } |
7091 | if (obj1) { | |
7092 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7093 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7094 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7095 | } |
7096 | arg2 = static_cast< int >(val2); | |
7097 | } | |
7098 | { | |
7099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7100 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7101 | wxPyEndAllowThreads(__tstate); |
7102 | if (PyErr_Occurred()) SWIG_fail; | |
7103 | } | |
5eb8189c | 7104 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7105 | return resultobj; |
7106 | fail: | |
7107 | return NULL; | |
7108 | } | |
7109 | ||
7110 | ||
5eb8189c | 7111 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7112 | PyObject *resultobj = 0; |
5eb8189c | 7113 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7114 | void *argp1 = 0 ; |
7115 | int res1 = 0 ; | |
7116 | PyObject *swig_obj[1] ; | |
7117 | ||
7118 | if (!args) SWIG_fail; | |
7119 | swig_obj[0] = args; | |
5eb8189c | 7120 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7121 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7122 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7123 | } |
5eb8189c | 7124 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7125 | { |
7126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7127 | delete arg1; | |
7128 | ||
7129 | wxPyEndAllowThreads(__tstate); | |
7130 | if (PyErr_Occurred()) SWIG_fail; | |
7131 | } | |
7132 | resultobj = SWIG_Py_Void(); | |
7133 | return resultobj; | |
7134 | fail: | |
7135 | return NULL; | |
7136 | } | |
7137 | ||
7138 | ||
5eb8189c | 7139 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7140 | PyObject *resultobj = 0; |
5eb8189c | 7141 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7142 | void *argp1 = 0 ; |
7143 | int res1 = 0 ; | |
7144 | PyObject *swig_obj[1] ; | |
7145 | ||
7146 | if (!args) SWIG_fail; | |
7147 | swig_obj[0] = args; | |
5eb8189c | 7148 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7149 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7150 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7151 | } |
5eb8189c | 7152 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7153 | { |
7154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7155 | (arg1)->UnInit(); | |
7156 | wxPyEndAllowThreads(__tstate); | |
7157 | if (PyErr_Occurred()) SWIG_fail; | |
7158 | } | |
7159 | resultobj = SWIG_Py_Void(); | |
7160 | return resultobj; | |
7161 | fail: | |
7162 | return NULL; | |
7163 | } | |
7164 | ||
7165 | ||
5eb8189c | 7166 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7167 | PyObject *resultobj = 0; |
5eb8189c | 7168 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7169 | int arg2 ; |
7170 | void *argp1 = 0 ; | |
7171 | int res1 = 0 ; | |
7172 | int val2 ; | |
7173 | int ecode2 = 0 ; | |
7174 | PyObject * obj0 = 0 ; | |
7175 | PyObject * obj1 = 0 ; | |
7176 | char * kwnames[] = { | |
7177 | (char *) "self",(char *) "flags", NULL | |
7178 | }; | |
7179 | ||
5eb8189c RD |
7180 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7181 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7182 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7183 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7184 | } |
5eb8189c | 7185 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7186 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7187 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7188 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7189 | } |
7190 | arg2 = static_cast< int >(val2); | |
7191 | { | |
7192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7193 | (arg1)->SetFlags(arg2); | |
7194 | wxPyEndAllowThreads(__tstate); | |
7195 | if (PyErr_Occurred()) SWIG_fail; | |
7196 | } | |
7197 | resultobj = SWIG_Py_Void(); | |
7198 | return resultobj; | |
7199 | fail: | |
7200 | return NULL; | |
7201 | } | |
7202 | ||
7203 | ||
5eb8189c | 7204 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7205 | PyObject *resultobj = 0; |
5eb8189c | 7206 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7207 | int result; |
7208 | void *argp1 = 0 ; | |
7209 | int res1 = 0 ; | |
7210 | PyObject *swig_obj[1] ; | |
7211 | ||
7212 | if (!args) SWIG_fail; | |
7213 | swig_obj[0] = args; | |
5eb8189c | 7214 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7215 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7216 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7217 | } |
5eb8189c | 7218 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7219 | { |
7220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7221 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7222 | wxPyEndAllowThreads(__tstate); |
7223 | if (PyErr_Occurred()) SWIG_fail; | |
7224 | } | |
7225 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7226 | return resultobj; | |
7227 | fail: | |
7228 | return NULL; | |
7229 | } | |
7230 | ||
7231 | ||
5eb8189c | 7232 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7233 | PyObject *resultobj = 0; |
5eb8189c | 7234 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7235 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7236 | void *argp1 = 0 ; |
7237 | int res1 = 0 ; | |
7238 | void *argp2 = 0 ; | |
7239 | int res2 = 0 ; | |
7240 | PyObject * obj0 = 0 ; | |
7241 | PyObject * obj1 = 0 ; | |
7242 | char * kwnames[] = { | |
10044bf1 | 7243 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7244 | }; |
7245 | ||
5eb8189c RD |
7246 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7247 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7248 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7249 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7250 | } |
5eb8189c | 7251 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7252 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7253 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7254 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7255 | } |
1d5ee749 | 7256 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7257 | { |
7258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7259 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7260 | wxPyEndAllowThreads(__tstate); |
7261 | if (PyErr_Occurred()) SWIG_fail; | |
7262 | } | |
7263 | resultobj = SWIG_Py_Void(); | |
7264 | return resultobj; | |
7265 | fail: | |
7266 | return NULL; | |
7267 | } | |
7268 | ||
7269 | ||
5eb8189c | 7270 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7271 | PyObject *resultobj = 0; |
5eb8189c | 7272 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7273 | wxWindow *result = 0 ; |
27e45892 RD |
7274 | void *argp1 = 0 ; |
7275 | int res1 = 0 ; | |
7276 | PyObject *swig_obj[1] ; | |
7277 | ||
7278 | if (!args) SWIG_fail; | |
7279 | swig_obj[0] = args; | |
5eb8189c | 7280 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7281 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7282 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7283 | } |
5eb8189c | 7284 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7285 | { |
7286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7287 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7288 | wxPyEndAllowThreads(__tstate); |
7289 | if (PyErr_Occurred()) SWIG_fail; | |
7290 | } | |
7291 | { | |
7292 | resultobj = wxPyMake_wxObject(result, 0); | |
7293 | } | |
7294 | return resultobj; | |
7295 | fail: | |
7296 | return NULL; | |
7297 | } | |
7298 | ||
7299 | ||
eccab1a7 RD |
7300 | SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7301 | PyObject *resultobj = 0; | |
7302 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7303 | wxAuiManager *result = 0 ; | |
7304 | void *argp1 = 0 ; | |
7305 | int res1 = 0 ; | |
7306 | PyObject * obj0 = 0 ; | |
7307 | char * kwnames[] = { | |
7308 | (char *) "window", NULL | |
7309 | }; | |
7310 | ||
7311 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail; | |
7312 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7313 | if (!SWIG_IsOK(res1)) { | |
7314 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
7315 | } | |
7316 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
7317 | { | |
7318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7319 | result = (wxAuiManager *)wxAuiManager::GetManager(arg1); | |
7320 | wxPyEndAllowThreads(__tstate); | |
7321 | if (PyErr_Occurred()) SWIG_fail; | |
7322 | } | |
7323 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7324 | return resultobj; | |
7325 | fail: | |
7326 | return NULL; | |
7327 | } | |
7328 | ||
7329 | ||
5eb8189c | 7330 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7331 | PyObject *resultobj = 0; |
5eb8189c RD |
7332 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7333 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7334 | void *argp1 = 0 ; |
7335 | int res1 = 0 ; | |
7336 | int res2 = 0 ; | |
7337 | PyObject * obj0 = 0 ; | |
7338 | PyObject * obj1 = 0 ; | |
7339 | char * kwnames[] = { | |
7340 | (char *) "self",(char *) "art_provider", NULL | |
7341 | }; | |
7342 | ||
5eb8189c RD |
7343 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7344 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7345 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7347 | } |
5eb8189c RD |
7348 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7349 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7350 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7351 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7352 | } |
7353 | { | |
7354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7355 | (arg1)->SetArtProvider(arg2); | |
7356 | wxPyEndAllowThreads(__tstate); | |
7357 | if (PyErr_Occurred()) SWIG_fail; | |
7358 | } | |
7359 | resultobj = SWIG_Py_Void(); | |
7360 | return resultobj; | |
7361 | fail: | |
7362 | return NULL; | |
7363 | } | |
7364 | ||
7365 | ||
5eb8189c | 7366 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7367 | PyObject *resultobj = 0; |
5eb8189c RD |
7368 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7369 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7370 | void *argp1 = 0 ; |
7371 | int res1 = 0 ; | |
7372 | PyObject *swig_obj[1] ; | |
7373 | ||
7374 | if (!args) SWIG_fail; | |
7375 | swig_obj[0] = args; | |
5eb8189c | 7376 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7377 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7379 | } |
5eb8189c | 7380 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7381 | { |
7382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7383 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7384 | wxPyEndAllowThreads(__tstate); |
7385 | if (PyErr_Occurred()) SWIG_fail; | |
7386 | } | |
5eb8189c | 7387 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7388 | return resultobj; |
7389 | fail: | |
7390 | return NULL; | |
7391 | } | |
7392 | ||
7393 | ||
5eb8189c | 7394 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7395 | PyObject *resultobj = 0; |
5eb8189c | 7396 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7397 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7398 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7399 | void *argp1 = 0 ; |
7400 | int res1 = 0 ; | |
7401 | void *argp2 = 0 ; | |
7402 | int res2 = 0 ; | |
7403 | PyObject * obj0 = 0 ; | |
7404 | PyObject * obj1 = 0 ; | |
7405 | char * kwnames[] = { | |
7406 | (char *) "self",(char *) "window", NULL | |
7407 | }; | |
7408 | ||
5eb8189c RD |
7409 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7410 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7411 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7412 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7413 | } |
5eb8189c | 7414 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7415 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7416 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7417 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7418 | } |
7419 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7420 | { | |
7421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7422 | { | |
5eb8189c RD |
7423 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7424 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7425 | } |
7426 | wxPyEndAllowThreads(__tstate); | |
7427 | if (PyErr_Occurred()) SWIG_fail; | |
7428 | } | |
5eb8189c | 7429 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7430 | return resultobj; |
7431 | fail: | |
7432 | return NULL; | |
7433 | } | |
7434 | ||
7435 | ||
5eb8189c | 7436 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7437 | PyObject *resultobj = 0; |
5eb8189c | 7438 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7439 | wxString *arg2 = 0 ; |
5eb8189c | 7440 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7441 | void *argp1 = 0 ; |
7442 | int res1 = 0 ; | |
7443 | bool temp2 = false ; | |
7444 | PyObject * obj0 = 0 ; | |
7445 | PyObject * obj1 = 0 ; | |
7446 | char * kwnames[] = { | |
7447 | (char *) "self",(char *) "name", NULL | |
7448 | }; | |
7449 | ||
5eb8189c RD |
7450 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7451 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7452 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7453 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7454 | } |
5eb8189c | 7455 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7456 | { |
7457 | arg2 = wxString_in_helper(obj1); | |
7458 | if (arg2 == NULL) SWIG_fail; | |
7459 | temp2 = true; | |
7460 | } | |
7461 | { | |
7462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7463 | { | |
5eb8189c RD |
7464 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7465 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7466 | } |
7467 | wxPyEndAllowThreads(__tstate); | |
7468 | if (PyErr_Occurred()) SWIG_fail; | |
7469 | } | |
5eb8189c | 7470 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7471 | { |
7472 | if (temp2) | |
7473 | delete arg2; | |
7474 | } | |
7475 | return resultobj; | |
7476 | fail: | |
7477 | { | |
7478 | if (temp2) | |
7479 | delete arg2; | |
7480 | } | |
7481 | return NULL; | |
7482 | } | |
7483 | ||
7484 | ||
5eb8189c | 7485 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7486 | PyObject *resultobj = 0; |
5eb8189c RD |
7487 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7488 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7489 | void *argp1 = 0 ; |
7490 | int res1 = 0 ; | |
7491 | PyObject *swig_obj[1] ; | |
7492 | ||
7493 | if (!args) SWIG_fail; | |
7494 | swig_obj[0] = args; | |
5eb8189c | 7495 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7496 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7498 | } |
5eb8189c | 7499 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7500 | { |
7501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7502 | { | |
5eb8189c RD |
7503 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7504 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7505 | } |
7506 | wxPyEndAllowThreads(__tstate); | |
7507 | if (PyErr_Occurred()) SWIG_fail; | |
7508 | } | |
7509 | { | |
7510 | resultobj = PyList_New(0); | |
7511 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7512 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7513 | PyList_Append(resultobj, pane_obj); |
7514 | } | |
7515 | } | |
7516 | return resultobj; | |
7517 | fail: | |
7518 | return NULL; | |
7519 | } | |
7520 | ||
7521 | ||
36cb9ebe | 7522 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7523 | PyObject *resultobj = 0; |
5eb8189c | 7524 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7525 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7526 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7527 | bool result; |
7528 | void *argp1 = 0 ; | |
7529 | int res1 = 0 ; | |
7530 | void *argp2 = 0 ; | |
7531 | int res2 = 0 ; | |
7532 | void *argp3 = 0 ; | |
7533 | int res3 = 0 ; | |
36cb9ebe RD |
7534 | PyObject * obj0 = 0 ; |
7535 | PyObject * obj1 = 0 ; | |
7536 | PyObject * obj2 = 0 ; | |
7537 | char * kwnames[] = { | |
7538 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7539 | }; | |
27e45892 | 7540 | |
36cb9ebe RD |
7541 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7542 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7543 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7544 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7545 | } |
5eb8189c | 7546 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7547 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7548 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7549 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7550 | } |
7551 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7552 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7553 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7554 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7555 | } |
7556 | if (!argp3) { | |
36cb9ebe | 7557 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7558 | } |
5eb8189c | 7559 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7560 | { |
7561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7562 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7563 | wxPyEndAllowThreads(__tstate); |
7564 | if (PyErr_Occurred()) SWIG_fail; | |
7565 | } | |
7566 | { | |
7567 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7568 | } | |
7569 | return resultobj; | |
7570 | fail: | |
7571 | return NULL; | |
7572 | } | |
7573 | ||
7574 | ||
36cb9ebe | 7575 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7576 | PyObject *resultobj = 0; |
5eb8189c | 7577 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7578 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7579 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7580 | wxPoint *arg4 = 0 ; |
7581 | bool result; | |
7582 | void *argp1 = 0 ; | |
7583 | int res1 = 0 ; | |
7584 | void *argp2 = 0 ; | |
7585 | int res2 = 0 ; | |
7586 | void *argp3 = 0 ; | |
7587 | int res3 = 0 ; | |
7588 | wxPoint temp4 ; | |
36cb9ebe RD |
7589 | PyObject * obj0 = 0 ; |
7590 | PyObject * obj1 = 0 ; | |
7591 | PyObject * obj2 = 0 ; | |
7592 | PyObject * obj3 = 0 ; | |
7593 | char * kwnames[] = { | |
7594 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7595 | }; | |
10044bf1 | 7596 | |
36cb9ebe RD |
7597 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7598 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7599 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7601 | } |
5eb8189c | 7602 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7603 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7604 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7605 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7606 | } |
7607 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7608 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7609 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7610 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7611 | } |
7612 | if (!argp3) { | |
5eb8189c | 7613 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7614 | } |
5eb8189c | 7615 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7616 | { |
7617 | arg4 = &temp4; | |
36cb9ebe | 7618 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7619 | } |
7620 | { | |
7621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7622 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7623 | wxPyEndAllowThreads(__tstate); |
7624 | if (PyErr_Occurred()) SWIG_fail; | |
7625 | } | |
7626 | { | |
7627 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7628 | } | |
7629 | return resultobj; | |
7630 | fail: | |
7631 | return NULL; | |
7632 | } | |
7633 | ||
7634 | ||
5eb8189c | 7635 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7636 | PyObject *resultobj = 0; |
5eb8189c | 7637 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7638 | wxWindow *arg2 = (wxWindow *) 0 ; |
7639 | int arg3 = (int) wxLEFT ; | |
7640 | wxString const &arg4_defvalue = wxEmptyString ; | |
7641 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7642 | bool result; | |
7643 | void *argp1 = 0 ; | |
7644 | int res1 = 0 ; | |
7645 | void *argp2 = 0 ; | |
7646 | int res2 = 0 ; | |
7647 | int val3 ; | |
7648 | int ecode3 = 0 ; | |
7649 | bool temp4 = false ; | |
7650 | PyObject * obj0 = 0 ; | |
7651 | PyObject * obj1 = 0 ; | |
7652 | PyObject * obj2 = 0 ; | |
7653 | PyObject * obj3 = 0 ; | |
7654 | char * kwnames[] = { | |
7655 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7656 | }; | |
7657 | ||
5eb8189c RD |
7658 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7659 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7660 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7662 | } |
5eb8189c | 7663 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7664 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7665 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7666 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7667 | } |
7668 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7669 | if (obj2) { | |
7670 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7671 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7672 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7673 | } |
7674 | arg3 = static_cast< int >(val3); | |
7675 | } | |
7676 | if (obj3) { | |
7677 | { | |
7678 | arg4 = wxString_in_helper(obj3); | |
7679 | if (arg4 == NULL) SWIG_fail; | |
7680 | temp4 = true; | |
7681 | } | |
7682 | } | |
7683 | { | |
7684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7685 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7686 | wxPyEndAllowThreads(__tstate); | |
7687 | if (PyErr_Occurred()) SWIG_fail; | |
7688 | } | |
7689 | { | |
7690 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7691 | } | |
7692 | { | |
7693 | if (temp4) | |
7694 | delete arg4; | |
7695 | } | |
7696 | return resultobj; | |
7697 | fail: | |
7698 | { | |
7699 | if (temp4) | |
7700 | delete arg4; | |
7701 | } | |
7702 | return NULL; | |
7703 | } | |
7704 | ||
7705 | ||
5eb8189c | 7706 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7707 | PyObject *resultobj = 0; |
5eb8189c | 7708 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7709 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7710 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7711 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7712 | bool result; | |
7713 | void *argp1 = 0 ; | |
7714 | int res1 = 0 ; | |
7715 | void *argp2 = 0 ; | |
7716 | int res2 = 0 ; | |
7717 | void *argp3 = 0 ; | |
7718 | int res3 = 0 ; | |
7719 | int val4 ; | |
7720 | int ecode4 = 0 ; | |
7721 | PyObject * obj0 = 0 ; | |
7722 | PyObject * obj1 = 0 ; | |
7723 | PyObject * obj2 = 0 ; | |
7724 | PyObject * obj3 = 0 ; | |
7725 | char * kwnames[] = { | |
7726 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7727 | }; | |
7728 | ||
5eb8189c RD |
7729 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7730 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7731 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7733 | } |
5eb8189c | 7734 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7735 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7736 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7737 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7738 | } |
7739 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7740 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7741 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7742 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7743 | } |
7744 | if (!argp3) { | |
5eb8189c | 7745 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7746 | } |
5eb8189c | 7747 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7748 | if (obj3) { |
7749 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7750 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7751 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7752 | } |
7753 | arg4 = static_cast< int >(val4); | |
7754 | } | |
7755 | { | |
7756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7757 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7758 | wxPyEndAllowThreads(__tstate); |
7759 | if (PyErr_Occurred()) SWIG_fail; | |
7760 | } | |
7761 | { | |
7762 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7763 | } | |
7764 | return resultobj; | |
7765 | fail: | |
7766 | return NULL; | |
7767 | } | |
7768 | ||
7769 | ||
5eb8189c | 7770 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7771 | PyObject *resultobj = 0; |
5eb8189c | 7772 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7773 | wxWindow *arg2 = (wxWindow *) 0 ; |
7774 | bool result; | |
7775 | void *argp1 = 0 ; | |
7776 | int res1 = 0 ; | |
7777 | void *argp2 = 0 ; | |
7778 | int res2 = 0 ; | |
7779 | PyObject * obj0 = 0 ; | |
7780 | PyObject * obj1 = 0 ; | |
7781 | char * kwnames[] = { | |
7782 | (char *) "self",(char *) "window", NULL | |
7783 | }; | |
7784 | ||
5eb8189c RD |
7785 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7786 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7787 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7789 | } |
5eb8189c | 7790 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7791 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7792 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7793 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7794 | } |
7795 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7796 | { | |
7797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7798 | result = (bool)(arg1)->DetachPane(arg2); | |
7799 | wxPyEndAllowThreads(__tstate); | |
7800 | if (PyErr_Occurred()) SWIG_fail; | |
7801 | } | |
7802 | { | |
7803 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7804 | } | |
7805 | return resultobj; | |
7806 | fail: | |
7807 | return NULL; | |
7808 | } | |
7809 | ||
7810 | ||
d7645bfd | 7811 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5eb8189c RD |
7812 | PyObject *resultobj = 0; |
7813 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7814 | void *argp1 = 0 ; | |
7815 | int res1 = 0 ; | |
7816 | PyObject *swig_obj[1] ; | |
7817 | ||
7818 | if (!args) SWIG_fail; | |
7819 | swig_obj[0] = args; | |
7820 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7821 | if (!SWIG_IsOK(res1)) { | |
d7645bfd | 7822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
5eb8189c RD |
7823 | } |
7824 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7825 | { | |
7826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 7827 | (arg1)->Update(); |
5eb8189c RD |
7828 | wxPyEndAllowThreads(__tstate); |
7829 | if (PyErr_Occurred()) SWIG_fail; | |
7830 | } | |
7831 | resultobj = SWIG_Py_Void(); | |
7832 | return resultobj; | |
7833 | fail: | |
7834 | return NULL; | |
7835 | } | |
7836 | ||
7837 | ||
7838 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7839 | PyObject *resultobj = 0; | |
7840 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7841 | wxAuiPaneInfo *arg2 = 0 ; | |
0f83f5da RD |
7842 | wxString result; |
7843 | void *argp1 = 0 ; | |
7844 | int res1 = 0 ; | |
7845 | void *argp2 = 0 ; | |
7846 | int res2 = 0 ; | |
7847 | PyObject * obj0 = 0 ; | |
7848 | PyObject * obj1 = 0 ; | |
7849 | char * kwnames[] = { | |
7850 | (char *) "self",(char *) "pane", NULL | |
7851 | }; | |
7852 | ||
5eb8189c RD |
7853 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7854 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7855 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7857 | } |
5eb8189c RD |
7858 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7859 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
0f83f5da | 7860 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7861 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7862 | } |
7863 | if (!argp2) { | |
5eb8189c | 7864 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7865 | } |
5eb8189c | 7866 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
7867 | { |
7868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7869 | result = (arg1)->SavePaneInfo(*arg2); | |
7870 | wxPyEndAllowThreads(__tstate); | |
7871 | if (PyErr_Occurred()) SWIG_fail; | |
7872 | } | |
7873 | { | |
7874 | #if wxUSE_UNICODE | |
7875 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7876 | #else | |
7877 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7878 | #endif | |
7879 | } | |
7880 | return resultobj; | |
7881 | fail: | |
7882 | return NULL; | |
7883 | } | |
7884 | ||
7885 | ||
5eb8189c | 7886 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 7887 | PyObject *resultobj = 0; |
5eb8189c | 7888 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
0f83f5da | 7889 | wxString arg2 ; |
5eb8189c | 7890 | wxAuiPaneInfo *arg3 = 0 ; |
0f83f5da RD |
7891 | void *argp1 = 0 ; |
7892 | int res1 = 0 ; | |
7893 | void *argp3 = 0 ; | |
7894 | int res3 = 0 ; | |
7895 | PyObject * obj0 = 0 ; | |
7896 | PyObject * obj1 = 0 ; | |
7897 | PyObject * obj2 = 0 ; | |
7898 | char * kwnames[] = { | |
7899 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7900 | }; | |
7901 | ||
5eb8189c RD |
7902 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7903 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7904 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7905 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7906 | } |
5eb8189c | 7907 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
0f83f5da RD |
7908 | { |
7909 | wxString* sptr = wxString_in_helper(obj1); | |
7910 | if (sptr == NULL) SWIG_fail; | |
7911 | arg2 = *sptr; | |
7912 | delete sptr; | |
7913 | } | |
5eb8189c | 7914 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
0f83f5da | 7915 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7916 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7917 | } |
7918 | if (!argp3) { | |
5eb8189c | 7919 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7920 | } |
5eb8189c | 7921 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
0f83f5da RD |
7922 | { |
7923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7924 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7925 | wxPyEndAllowThreads(__tstate); | |
7926 | if (PyErr_Occurred()) SWIG_fail; | |
7927 | } | |
7928 | resultobj = SWIG_Py_Void(); | |
7929 | return resultobj; | |
7930 | fail: | |
7931 | return NULL; | |
7932 | } | |
7933 | ||
7934 | ||
5eb8189c | 7935 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7936 | PyObject *resultobj = 0; |
5eb8189c | 7937 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7938 | wxString result; |
7939 | void *argp1 = 0 ; | |
7940 | int res1 = 0 ; | |
7941 | PyObject *swig_obj[1] ; | |
7942 | ||
7943 | if (!args) SWIG_fail; | |
7944 | swig_obj[0] = args; | |
5eb8189c | 7945 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7946 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7948 | } |
5eb8189c | 7949 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7950 | { |
7951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7952 | result = (arg1)->SavePerspective(); | |
7953 | wxPyEndAllowThreads(__tstate); | |
7954 | if (PyErr_Occurred()) SWIG_fail; | |
7955 | } | |
7956 | { | |
7957 | #if wxUSE_UNICODE | |
7958 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7959 | #else | |
7960 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7961 | #endif | |
7962 | } | |
7963 | return resultobj; | |
7964 | fail: | |
7965 | return NULL; | |
7966 | } | |
7967 | ||
7968 | ||
5eb8189c | 7969 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7970 | PyObject *resultobj = 0; |
5eb8189c | 7971 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7972 | wxString *arg2 = 0 ; |
7973 | bool arg3 = (bool) true ; | |
7974 | bool result; | |
7975 | void *argp1 = 0 ; | |
7976 | int res1 = 0 ; | |
7977 | bool temp2 = false ; | |
7978 | bool val3 ; | |
7979 | int ecode3 = 0 ; | |
7980 | PyObject * obj0 = 0 ; | |
7981 | PyObject * obj1 = 0 ; | |
7982 | PyObject * obj2 = 0 ; | |
7983 | char * kwnames[] = { | |
7984 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7985 | }; | |
7986 | ||
5eb8189c RD |
7987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7988 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7989 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7991 | } |
5eb8189c | 7992 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7993 | { |
7994 | arg2 = wxString_in_helper(obj1); | |
7995 | if (arg2 == NULL) SWIG_fail; | |
7996 | temp2 = true; | |
7997 | } | |
7998 | if (obj2) { | |
7999 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8000 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8001 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8002 | } |
8003 | arg3 = static_cast< bool >(val3); | |
8004 | } | |
8005 | { | |
8006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8007 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8008 | wxPyEndAllowThreads(__tstate); | |
8009 | if (PyErr_Occurred()) SWIG_fail; | |
8010 | } | |
8011 | { | |
8012 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8013 | } | |
8014 | { | |
8015 | if (temp2) | |
8016 | delete arg2; | |
8017 | } | |
8018 | return resultobj; | |
8019 | fail: | |
8020 | { | |
8021 | if (temp2) | |
8022 | delete arg2; | |
8023 | } | |
8024 | return NULL; | |
8025 | } | |
8026 | ||
8027 | ||
d7645bfd VZ |
8028 | SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8029 | PyObject *resultobj = 0; | |
8030 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8031 | double arg2 ; | |
8032 | double arg3 ; | |
8033 | void *argp1 = 0 ; | |
8034 | int res1 = 0 ; | |
8035 | double val2 ; | |
8036 | int ecode2 = 0 ; | |
8037 | double val3 ; | |
8038 | int ecode3 = 0 ; | |
8039 | PyObject * obj0 = 0 ; | |
8040 | PyObject * obj1 = 0 ; | |
8041 | PyObject * obj2 = 0 ; | |
8042 | char * kwnames[] = { | |
8043 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8044 | }; | |
8045 | ||
8046 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8047 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8048 | if (!SWIG_IsOK(res1)) { | |
8049 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8050 | } | |
8051 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8052 | ecode2 = SWIG_AsVal_double(obj1, &val2); | |
8053 | if (!SWIG_IsOK(ecode2)) { | |
8054 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); | |
8055 | } | |
8056 | arg2 = static_cast< double >(val2); | |
8057 | ecode3 = SWIG_AsVal_double(obj2, &val3); | |
8058 | if (!SWIG_IsOK(ecode3)) { | |
8059 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); | |
8060 | } | |
8061 | arg3 = static_cast< double >(val3); | |
8062 | { | |
8063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8064 | (arg1)->SetDockSizeConstraint(arg2,arg3); | |
8065 | wxPyEndAllowThreads(__tstate); | |
8066 | if (PyErr_Occurred()) SWIG_fail; | |
8067 | } | |
8068 | resultobj = SWIG_Py_Void(); | |
8069 | return resultobj; | |
8070 | fail: | |
8071 | return NULL; | |
8072 | } | |
8073 | ||
8074 | ||
8075 | SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8076 | PyObject *resultobj = 0; | |
8077 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8078 | double *arg2 = (double *) 0 ; | |
8079 | double *arg3 = (double *) 0 ; | |
8080 | void *argp1 = 0 ; | |
8081 | int res1 = 0 ; | |
8082 | void *argp2 = 0 ; | |
8083 | int res2 = 0 ; | |
8084 | void *argp3 = 0 ; | |
8085 | int res3 = 0 ; | |
8086 | PyObject * obj0 = 0 ; | |
8087 | PyObject * obj1 = 0 ; | |
8088 | PyObject * obj2 = 0 ; | |
8089 | char * kwnames[] = { | |
8090 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8091 | }; | |
8092 | ||
8093 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8094 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8095 | if (!SWIG_IsOK(res1)) { | |
8096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); | |
8097 | } | |
8098 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8099 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); | |
8100 | if (!SWIG_IsOK(res2)) { | |
8101 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); | |
8102 | } | |
8103 | arg2 = reinterpret_cast< double * >(argp2); | |
8104 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); | |
8105 | if (!SWIG_IsOK(res3)) { | |
8106 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); | |
8107 | } | |
8108 | arg3 = reinterpret_cast< double * >(argp3); | |
8109 | { | |
8110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8111 | ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); | |
8112 | wxPyEndAllowThreads(__tstate); | |
8113 | if (PyErr_Occurred()) SWIG_fail; | |
8114 | } | |
8115 | resultobj = SWIG_Py_Void(); | |
8116 | return resultobj; | |
8117 | fail: | |
8118 | return NULL; | |
8119 | } | |
8120 | ||
8121 | ||
8122 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8123 | PyObject *resultobj = 0; | |
8124 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8125 | wxAuiPaneInfo *arg2 = 0 ; | |
8126 | void *argp1 = 0 ; | |
8127 | int res1 = 0 ; | |
8128 | void *argp2 = 0 ; | |
8129 | int res2 = 0 ; | |
8130 | PyObject * obj0 = 0 ; | |
8131 | PyObject * obj1 = 0 ; | |
8132 | char * kwnames[] = { | |
8133 | (char *) "self",(char *) "pane_info", NULL | |
8134 | }; | |
8135 | ||
8136 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8137 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8138 | if (!SWIG_IsOK(res1)) { | |
8139 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8140 | } | |
8141 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8142 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8143 | if (!SWIG_IsOK(res2)) { | |
8144 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8145 | } | |
8146 | if (!argp2) { | |
8147 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8148 | } | |
8149 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8150 | { | |
8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8152 | (arg1)->ClosePane(*arg2); | |
8153 | wxPyEndAllowThreads(__tstate); | |
8154 | if (PyErr_Occurred()) SWIG_fail; | |
8155 | } | |
8156 | resultobj = SWIG_Py_Void(); | |
8157 | return resultobj; | |
8158 | fail: | |
8159 | return NULL; | |
8160 | } | |
8161 | ||
8162 | ||
8163 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8164 | PyObject *resultobj = 0; | |
8165 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8166 | wxAuiPaneInfo *arg2 = 0 ; | |
8167 | void *argp1 = 0 ; | |
8168 | int res1 = 0 ; | |
8169 | void *argp2 = 0 ; | |
8170 | int res2 = 0 ; | |
8171 | PyObject * obj0 = 0 ; | |
8172 | PyObject * obj1 = 0 ; | |
8173 | char * kwnames[] = { | |
8174 | (char *) "self",(char *) "pane_info", NULL | |
8175 | }; | |
8176 | ||
8177 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8178 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8179 | if (!SWIG_IsOK(res1)) { | |
8180 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8181 | } | |
8182 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8183 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8184 | if (!SWIG_IsOK(res2)) { | |
8185 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8186 | } | |
8187 | if (!argp2) { | |
8188 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8189 | } | |
8190 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8191 | { | |
8192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8193 | (arg1)->MaximizePane(*arg2); | |
8194 | wxPyEndAllowThreads(__tstate); | |
8195 | if (PyErr_Occurred()) SWIG_fail; | |
8196 | } | |
8197 | resultobj = SWIG_Py_Void(); | |
8198 | return resultobj; | |
8199 | fail: | |
8200 | return NULL; | |
8201 | } | |
8202 | ||
8203 | ||
8204 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8205 | PyObject *resultobj = 0; | |
8206 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8207 | wxAuiPaneInfo *arg2 = 0 ; | |
8208 | void *argp1 = 0 ; | |
8209 | int res1 = 0 ; | |
8210 | void *argp2 = 0 ; | |
8211 | int res2 = 0 ; | |
8212 | PyObject * obj0 = 0 ; | |
8213 | PyObject * obj1 = 0 ; | |
8214 | char * kwnames[] = { | |
8215 | (char *) "self",(char *) "pane_info", NULL | |
8216 | }; | |
8217 | ||
8218 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8219 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8220 | if (!SWIG_IsOK(res1)) { | |
8221 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8222 | } | |
8223 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8224 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8225 | if (!SWIG_IsOK(res2)) { | |
8226 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8227 | } | |
8228 | if (!argp2) { | |
8229 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8230 | } | |
8231 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8232 | { | |
8233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8234 | (arg1)->RestorePane(*arg2); | |
8235 | wxPyEndAllowThreads(__tstate); | |
8236 | if (PyErr_Occurred()) SWIG_fail; | |
8237 | } | |
8238 | resultobj = SWIG_Py_Void(); | |
8239 | return resultobj; | |
8240 | fail: | |
8241 | return NULL; | |
8242 | } | |
8243 | ||
8244 | ||
8245 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 8246 | PyObject *resultobj = 0; |
5eb8189c | 8247 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8248 | void *argp1 = 0 ; |
8249 | int res1 = 0 ; | |
8250 | PyObject *swig_obj[1] ; | |
8251 | ||
8252 | if (!args) SWIG_fail; | |
8253 | swig_obj[0] = args; | |
5eb8189c | 8254 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8255 | if (!SWIG_IsOK(res1)) { |
d7645bfd | 8256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8257 | } |
5eb8189c | 8258 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8259 | { |
8260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 8261 | (arg1)->RestoreMaximizedPane(); |
27e45892 RD |
8262 | wxPyEndAllowThreads(__tstate); |
8263 | if (PyErr_Occurred()) SWIG_fail; | |
8264 | } | |
8265 | resultobj = SWIG_Py_Void(); | |
8266 | return resultobj; | |
8267 | fail: | |
8268 | return NULL; | |
8269 | } | |
8270 | ||
8271 | ||
5eb8189c | 8272 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8273 | PyObject *resultobj = 0; |
5eb8189c | 8274 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8275 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8276 | wxAuiPaneInfo *arg3 = 0 ; |
8277 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8278 | void *argp1 = 0 ; |
8279 | int res1 = 0 ; | |
8280 | void *argp2 = 0 ; | |
8281 | int res2 = 0 ; | |
8282 | void *argp3 = 0 ; | |
8283 | int res3 = 0 ; | |
8284 | PyObject * obj0 = 0 ; | |
8285 | PyObject * obj1 = 0 ; | |
8286 | PyObject * obj2 = 0 ; | |
8287 | char * kwnames[] = { | |
8288 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8289 | }; | |
8290 | ||
5eb8189c RD |
8291 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8292 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8293 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8295 | } |
5eb8189c | 8296 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8297 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8298 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8299 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8300 | } |
8301 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8302 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8303 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8304 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8305 | } |
8306 | if (!argp3) { | |
5eb8189c | 8307 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8308 | } |
5eb8189c | 8309 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8310 | { |
8311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8312 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8313 | wxPyEndAllowThreads(__tstate); |
8314 | if (PyErr_Occurred()) SWIG_fail; | |
8315 | } | |
5eb8189c | 8316 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8317 | return resultobj; |
8318 | fail: | |
8319 | return NULL; | |
8320 | } | |
8321 | ||
8322 | ||
e7e9d1b8 RD |
8323 | SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8324 | PyObject *resultobj = 0; | |
8325 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8326 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8327 | wxPoint *arg3 = 0 ; | |
8328 | void *argp1 = 0 ; | |
8329 | int res1 = 0 ; | |
8330 | void *argp2 = 0 ; | |
8331 | int res2 = 0 ; | |
8332 | wxPoint temp3 ; | |
8333 | PyObject * obj0 = 0 ; | |
8334 | PyObject * obj1 = 0 ; | |
8335 | PyObject * obj2 = 0 ; | |
8336 | char * kwnames[] = { | |
8337 | (char *) "self",(char *) "pane_window",(char *) "offset", NULL | |
8338 | }; | |
8339 | ||
8340 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8341 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8342 | if (!SWIG_IsOK(res1)) { | |
8343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8344 | } | |
8345 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8346 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8347 | if (!SWIG_IsOK(res2)) { | |
8348 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8349 | } | |
8350 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8351 | { | |
8352 | arg3 = &temp3; | |
8353 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8354 | } | |
8355 | { | |
8356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8357 | (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3); | |
8358 | wxPyEndAllowThreads(__tstate); | |
8359 | if (PyErr_Occurred()) SWIG_fail; | |
8360 | } | |
8361 | resultobj = SWIG_Py_Void(); | |
8362 | return resultobj; | |
8363 | fail: | |
8364 | return NULL; | |
8365 | } | |
8366 | ||
8367 | ||
5172800e RD |
8368 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8369 | PyObject *resultobj = 0; | |
8370 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8371 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8372 | wxPoint *arg3 = 0 ; | |
8373 | wxPoint *arg4 = 0 ; | |
8374 | wxRect result; | |
8375 | void *argp1 = 0 ; | |
8376 | int res1 = 0 ; | |
8377 | void *argp2 = 0 ; | |
8378 | int res2 = 0 ; | |
8379 | wxPoint temp3 ; | |
8380 | wxPoint temp4 ; | |
8381 | PyObject * obj0 = 0 ; | |
8382 | PyObject * obj1 = 0 ; | |
8383 | PyObject * obj2 = 0 ; | |
8384 | PyObject * obj3 = 0 ; | |
8385 | char * kwnames[] = { | |
8386 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8387 | }; | |
8388 | ||
8389 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8390 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8391 | if (!SWIG_IsOK(res1)) { | |
8392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8393 | } | |
8394 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8395 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8396 | if (!SWIG_IsOK(res2)) { | |
8397 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8398 | } | |
8399 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8400 | { | |
8401 | arg3 = &temp3; | |
8402 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8403 | } | |
8404 | { | |
8405 | arg4 = &temp4; | |
8406 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8407 | } | |
8408 | { | |
8409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8410 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8411 | wxPyEndAllowThreads(__tstate); | |
8412 | if (PyErr_Occurred()) SWIG_fail; | |
8413 | } | |
8414 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8415 | return resultobj; | |
8416 | fail: | |
8417 | return NULL; | |
8418 | } | |
8419 | ||
8420 | ||
5eb8189c | 8421 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8422 | PyObject *resultobj = 0; |
5eb8189c | 8423 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8424 | wxWindow *arg2 = (wxWindow *) 0 ; |
8425 | wxPoint *arg3 = 0 ; | |
8426 | wxPoint *arg4 = 0 ; | |
8427 | void *argp1 = 0 ; | |
8428 | int res1 = 0 ; | |
8429 | void *argp2 = 0 ; | |
8430 | int res2 = 0 ; | |
8431 | wxPoint temp3 ; | |
8432 | wxPoint temp4 ; | |
8433 | PyObject * obj0 = 0 ; | |
8434 | PyObject * obj1 = 0 ; | |
8435 | PyObject * obj2 = 0 ; | |
8436 | PyObject * obj3 = 0 ; | |
8437 | char * kwnames[] = { | |
8438 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8439 | }; | |
8440 | ||
5eb8189c RD |
8441 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8442 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8443 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8444 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8445 | } |
5eb8189c | 8446 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8447 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8448 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8449 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8450 | } |
8451 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8452 | { | |
8453 | arg3 = &temp3; | |
8454 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8455 | } | |
8456 | { | |
8457 | arg4 = &temp4; | |
8458 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8459 | } | |
8460 | { | |
8461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8462 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8463 | wxPyEndAllowThreads(__tstate); | |
8464 | if (PyErr_Occurred()) SWIG_fail; | |
8465 | } | |
8466 | resultobj = SWIG_Py_Void(); | |
8467 | return resultobj; | |
8468 | fail: | |
8469 | return NULL; | |
8470 | } | |
8471 | ||
8472 | ||
5eb8189c | 8473 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8474 | PyObject *resultobj = 0; |
5eb8189c | 8475 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8476 | wxRect *arg2 = 0 ; |
8477 | void *argp1 = 0 ; | |
8478 | int res1 = 0 ; | |
8479 | wxRect temp2 ; | |
8480 | PyObject * obj0 = 0 ; | |
8481 | PyObject * obj1 = 0 ; | |
8482 | char * kwnames[] = { | |
8483 | (char *) "self",(char *) "rect", NULL | |
8484 | }; | |
8485 | ||
5eb8189c RD |
8486 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8487 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8488 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8490 | } |
5eb8189c | 8491 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8492 | { |
8493 | arg2 = &temp2; | |
8494 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8495 | } | |
8496 | { | |
8497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8498 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8499 | wxPyEndAllowThreads(__tstate); | |
8500 | if (PyErr_Occurred()) SWIG_fail; | |
8501 | } | |
8502 | resultobj = SWIG_Py_Void(); | |
8503 | return resultobj; | |
8504 | fail: | |
8505 | return NULL; | |
8506 | } | |
8507 | ||
8508 | ||
5eb8189c | 8509 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8510 | PyObject *resultobj = 0; |
5eb8189c | 8511 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8512 | void *argp1 = 0 ; |
8513 | int res1 = 0 ; | |
8514 | PyObject *swig_obj[1] ; | |
8515 | ||
8516 | if (!args) SWIG_fail; | |
8517 | swig_obj[0] = args; | |
5eb8189c | 8518 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8519 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8520 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8521 | } |
5eb8189c | 8522 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8523 | { |
8524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8525 | (arg1)->HideHint(); | |
8526 | wxPyEndAllowThreads(__tstate); | |
8527 | if (PyErr_Occurred()) SWIG_fail; | |
8528 | } | |
8529 | resultobj = SWIG_Py_Void(); | |
8530 | return resultobj; | |
8531 | fail: | |
8532 | return NULL; | |
8533 | } | |
8534 | ||
8535 | ||
5eb8189c | 8536 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8537 | PyObject *resultobj = 0; |
5eb8189c RD |
8538 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8539 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8540 | void *argp1 = 0 ; |
8541 | int res1 = 0 ; | |
8542 | void *argp2 = 0 ; | |
8543 | int res2 = 0 ; | |
8544 | PyObject * obj0 = 0 ; | |
8545 | PyObject * obj1 = 0 ; | |
8546 | char * kwnames[] = { | |
8547 | (char *) "self",(char *) "evt", NULL | |
8548 | }; | |
8549 | ||
5eb8189c RD |
8550 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8551 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8552 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8553 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8554 | } |
5eb8189c RD |
8555 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8556 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8557 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8558 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8559 | } |
8560 | if (!argp2) { | |
5eb8189c | 8561 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8562 | } |
5eb8189c | 8563 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8564 | { |
8565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8566 | (arg1)->OnRender(*arg2); | |
8567 | wxPyEndAllowThreads(__tstate); | |
8568 | if (PyErr_Occurred()) SWIG_fail; | |
8569 | } | |
8570 | resultobj = SWIG_Py_Void(); | |
8571 | return resultobj; | |
8572 | fail: | |
8573 | return NULL; | |
8574 | } | |
8575 | ||
8576 | ||
5eb8189c | 8577 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8578 | PyObject *resultobj = 0; |
5eb8189c RD |
8579 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8580 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8581 | void *argp1 = 0 ; |
8582 | int res1 = 0 ; | |
8583 | void *argp2 = 0 ; | |
8584 | int res2 = 0 ; | |
8585 | PyObject * obj0 = 0 ; | |
8586 | PyObject * obj1 = 0 ; | |
8587 | char * kwnames[] = { | |
8588 | (char *) "self",(char *) "evt", NULL | |
8589 | }; | |
8590 | ||
5eb8189c RD |
8591 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8592 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8593 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8594 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8595 | } |
5eb8189c RD |
8596 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8597 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8598 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8599 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8600 | } |
8601 | if (!argp2) { | |
5eb8189c | 8602 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8603 | } |
5eb8189c | 8604 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8605 | { |
8606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8607 | (arg1)->OnPaneButton(*arg2); | |
8608 | wxPyEndAllowThreads(__tstate); | |
8609 | if (PyErr_Occurred()) SWIG_fail; | |
8610 | } | |
8611 | resultobj = SWIG_Py_Void(); | |
8612 | return resultobj; | |
8613 | fail: | |
8614 | return NULL; | |
8615 | } | |
8616 | ||
8617 | ||
5eb8189c | 8618 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8619 | PyObject *obj; |
8620 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8621 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8622 | return SWIG_Py_Void(); |
8623 | } | |
8624 | ||
5eb8189c | 8625 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8626 | return SWIG_Python_InitShadowInstance(args); |
8627 | } | |
8628 | ||
5eb8189c | 8629 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8630 | PyObject *resultobj = 0; |
8631 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8632 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8633 | int val1 ; |
8634 | int ecode1 = 0 ; | |
8635 | PyObject * obj0 = 0 ; | |
8636 | char * kwnames[] = { | |
8637 | (char *) "type", NULL | |
8638 | }; | |
8639 | ||
5eb8189c | 8640 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8641 | if (obj0) { |
8642 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8643 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8644 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8645 | } |
8646 | arg1 = static_cast< wxEventType >(val1); | |
8647 | } | |
8648 | { | |
8649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8650 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8651 | wxPyEndAllowThreads(__tstate); |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
5eb8189c | 8654 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8655 | return resultobj; |
8656 | fail: | |
8657 | return NULL; | |
8658 | } | |
8659 | ||
8660 | ||
5eb8189c | 8661 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8662 | PyObject *resultobj = 0; |
5eb8189c | 8663 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8664 | wxEvent *result = 0 ; |
8665 | void *argp1 = 0 ; | |
8666 | int res1 = 0 ; | |
8667 | PyObject *swig_obj[1] ; | |
8668 | ||
8669 | if (!args) SWIG_fail; | |
8670 | swig_obj[0] = args; | |
5eb8189c | 8671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8674 | } |
5eb8189c | 8675 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8676 | { |
8677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8678 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8679 | wxPyEndAllowThreads(__tstate); |
8680 | if (PyErr_Occurred()) SWIG_fail; | |
8681 | } | |
8682 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8683 | return resultobj; | |
8684 | fail: | |
8685 | return NULL; | |
8686 | } | |
8687 | ||
8688 | ||
eccab1a7 RD |
8689 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8690 | PyObject *resultobj = 0; | |
8691 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8692 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
8693 | void *argp1 = 0 ; | |
8694 | int res1 = 0 ; | |
8695 | void *argp2 = 0 ; | |
8696 | int res2 = 0 ; | |
8697 | PyObject * obj0 = 0 ; | |
8698 | PyObject * obj1 = 0 ; | |
8699 | char * kwnames[] = { | |
8700 | (char *) "self",(char *) "mgr", NULL | |
8701 | }; | |
8702 | ||
8703 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
8704 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8705 | if (!SWIG_IsOK(res1)) { | |
8706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
8707 | } | |
8708 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8709 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8710 | if (!SWIG_IsOK(res2)) { | |
8711 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
8712 | } | |
8713 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
8714 | { | |
8715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8716 | (arg1)->SetManager(arg2); | |
8717 | wxPyEndAllowThreads(__tstate); | |
8718 | if (PyErr_Occurred()) SWIG_fail; | |
8719 | } | |
8720 | resultobj = SWIG_Py_Void(); | |
8721 | return resultobj; | |
8722 | fail: | |
8723 | return NULL; | |
8724 | } | |
8725 | ||
8726 | ||
5eb8189c | 8727 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8728 | PyObject *resultobj = 0; |
5eb8189c RD |
8729 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8730 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8731 | void *argp1 = 0 ; |
8732 | int res1 = 0 ; | |
8733 | void *argp2 = 0 ; | |
8734 | int res2 = 0 ; | |
8735 | PyObject * obj0 = 0 ; | |
8736 | PyObject * obj1 = 0 ; | |
8737 | char * kwnames[] = { | |
8738 | (char *) "self",(char *) "p", NULL | |
8739 | }; | |
8740 | ||
5eb8189c RD |
8741 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8742 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8743 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8745 | } |
5eb8189c RD |
8746 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8747 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8748 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8749 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8750 | } |
5eb8189c | 8751 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8752 | { |
8753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8754 | (arg1)->SetPane(arg2); | |
8755 | wxPyEndAllowThreads(__tstate); | |
8756 | if (PyErr_Occurred()) SWIG_fail; | |
8757 | } | |
8758 | resultobj = SWIG_Py_Void(); | |
8759 | return resultobj; | |
8760 | fail: | |
8761 | return NULL; | |
8762 | } | |
8763 | ||
8764 | ||
5eb8189c | 8765 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8766 | PyObject *resultobj = 0; |
5eb8189c | 8767 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8768 | int arg2 ; |
8769 | void *argp1 = 0 ; | |
8770 | int res1 = 0 ; | |
8771 | int val2 ; | |
8772 | int ecode2 = 0 ; | |
8773 | PyObject * obj0 = 0 ; | |
8774 | PyObject * obj1 = 0 ; | |
8775 | char * kwnames[] = { | |
8776 | (char *) "self",(char *) "b", NULL | |
8777 | }; | |
8778 | ||
5eb8189c RD |
8779 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8780 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8781 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8782 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8783 | } |
5eb8189c | 8784 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8785 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8786 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8787 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8788 | } |
8789 | arg2 = static_cast< int >(val2); | |
8790 | { | |
8791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8792 | (arg1)->SetButton(arg2); | |
8793 | wxPyEndAllowThreads(__tstate); | |
8794 | if (PyErr_Occurred()) SWIG_fail; | |
8795 | } | |
8796 | resultobj = SWIG_Py_Void(); | |
8797 | return resultobj; | |
8798 | fail: | |
8799 | return NULL; | |
8800 | } | |
8801 | ||
8802 | ||
5eb8189c | 8803 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8804 | PyObject *resultobj = 0; |
5eb8189c | 8805 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8806 | wxDC *arg2 = (wxDC *) 0 ; |
8807 | void *argp1 = 0 ; | |
8808 | int res1 = 0 ; | |
8809 | void *argp2 = 0 ; | |
8810 | int res2 = 0 ; | |
8811 | PyObject * obj0 = 0 ; | |
8812 | PyObject * obj1 = 0 ; | |
8813 | char * kwnames[] = { | |
8814 | (char *) "self",(char *) "pdc", NULL | |
8815 | }; | |
8816 | ||
5eb8189c RD |
8817 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8818 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8819 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8820 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8821 | } |
5eb8189c | 8822 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8823 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8824 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8825 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8826 | } |
8827 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8828 | { | |
8829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8830 | (arg1)->SetDC(arg2); | |
8831 | wxPyEndAllowThreads(__tstate); | |
8832 | if (PyErr_Occurred()) SWIG_fail; | |
8833 | } | |
8834 | resultobj = SWIG_Py_Void(); | |
8835 | return resultobj; | |
8836 | fail: | |
8837 | return NULL; | |
8838 | } | |
8839 | ||
8840 | ||
eccab1a7 RD |
8841 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8842 | PyObject *resultobj = 0; | |
8843 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8844 | wxAuiManager *result = 0 ; | |
8845 | void *argp1 = 0 ; | |
8846 | int res1 = 0 ; | |
8847 | PyObject *swig_obj[1] ; | |
8848 | ||
8849 | if (!args) SWIG_fail; | |
8850 | swig_obj[0] = args; | |
8851 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8852 | if (!SWIG_IsOK(res1)) { | |
8853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); | |
8854 | } | |
8855 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8856 | { | |
8857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8858 | result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager(); | |
8859 | wxPyEndAllowThreads(__tstate); | |
8860 | if (PyErr_Occurred()) SWIG_fail; | |
8861 | } | |
8862 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8863 | return resultobj; | |
8864 | fail: | |
8865 | return NULL; | |
8866 | } | |
8867 | ||
8868 | ||
5eb8189c | 8869 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8870 | PyObject *resultobj = 0; |
5eb8189c RD |
8871 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8872 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8873 | void *argp1 = 0 ; |
8874 | int res1 = 0 ; | |
8875 | PyObject *swig_obj[1] ; | |
8876 | ||
8877 | if (!args) SWIG_fail; | |
8878 | swig_obj[0] = args; | |
5eb8189c | 8879 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8880 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8881 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8882 | } |
5eb8189c | 8883 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8884 | { |
8885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8886 | result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane(); |
27e45892 RD |
8887 | wxPyEndAllowThreads(__tstate); |
8888 | if (PyErr_Occurred()) SWIG_fail; | |
8889 | } | |
5eb8189c | 8890 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8891 | return resultobj; |
8892 | fail: | |
8893 | return NULL; | |
8894 | } | |
8895 | ||
8896 | ||
5eb8189c | 8897 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8898 | PyObject *resultobj = 0; |
5eb8189c | 8899 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8900 | int result; |
8901 | void *argp1 = 0 ; | |
8902 | int res1 = 0 ; | |
8903 | PyObject *swig_obj[1] ; | |
8904 | ||
8905 | if (!args) SWIG_fail; | |
8906 | swig_obj[0] = args; | |
5eb8189c | 8907 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8908 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8909 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8910 | } |
5eb8189c | 8911 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8912 | { |
8913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8914 | result = (int)((wxAuiManagerEvent const *)arg1)->GetButton(); |
27e45892 RD |
8915 | wxPyEndAllowThreads(__tstate); |
8916 | if (PyErr_Occurred()) SWIG_fail; | |
8917 | } | |
8918 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8919 | return resultobj; | |
8920 | fail: | |
8921 | return NULL; | |
8922 | } | |
8923 | ||
8924 | ||
5eb8189c | 8925 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8926 | PyObject *resultobj = 0; |
5eb8189c | 8927 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8928 | wxDC *result = 0 ; |
8929 | void *argp1 = 0 ; | |
8930 | int res1 = 0 ; | |
8931 | PyObject *swig_obj[1] ; | |
8932 | ||
8933 | if (!args) SWIG_fail; | |
8934 | swig_obj[0] = args; | |
5eb8189c | 8935 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8936 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8937 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
81f5836b | 8938 | } |
5eb8189c | 8939 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8940 | { |
8941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8942 | result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC(); |
81f5836b RD |
8943 | wxPyEndAllowThreads(__tstate); |
8944 | if (PyErr_Occurred()) SWIG_fail; | |
8945 | } | |
8946 | { | |
8947 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8948 | } | |
8949 | return resultobj; | |
8950 | fail: | |
8951 | return NULL; | |
8952 | } | |
8953 | ||
8954 | ||
5eb8189c | 8955 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8956 | PyObject *resultobj = 0; |
5eb8189c | 8957 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8958 | bool arg2 = (bool) true ; |
8959 | void *argp1 = 0 ; | |
8960 | int res1 = 0 ; | |
8961 | bool val2 ; | |
8962 | int ecode2 = 0 ; | |
8963 | PyObject * obj0 = 0 ; | |
8964 | PyObject * obj1 = 0 ; | |
8965 | char * kwnames[] = { | |
8966 | (char *) "self",(char *) "veto", NULL | |
8967 | }; | |
8968 | ||
5eb8189c RD |
8969 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8970 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8971 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8973 | } |
5eb8189c | 8974 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8975 | if (obj1) { |
8976 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8977 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8978 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8979 | } |
8980 | arg2 = static_cast< bool >(val2); | |
8981 | } | |
8982 | { | |
8983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8984 | (arg1)->Veto(arg2); | |
8985 | wxPyEndAllowThreads(__tstate); | |
8986 | if (PyErr_Occurred()) SWIG_fail; | |
8987 | } | |
8988 | resultobj = SWIG_Py_Void(); | |
8989 | return resultobj; | |
8990 | fail: | |
8991 | return NULL; | |
8992 | } | |
8993 | ||
8994 | ||
5eb8189c | 8995 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8996 | PyObject *resultobj = 0; |
5eb8189c | 8997 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8998 | bool result; |
8999 | void *argp1 = 0 ; | |
9000 | int res1 = 0 ; | |
9001 | PyObject *swig_obj[1] ; | |
9002 | ||
9003 | if (!args) SWIG_fail; | |
9004 | swig_obj[0] = args; | |
5eb8189c | 9005 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9006 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9007 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9008 | } |
5eb8189c | 9009 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9010 | { |
9011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9012 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
9013 | wxPyEndAllowThreads(__tstate); |
9014 | if (PyErr_Occurred()) SWIG_fail; | |
9015 | } | |
9016 | { | |
9017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9018 | } | |
9019 | return resultobj; | |
9020 | fail: | |
9021 | return NULL; | |
9022 | } | |
9023 | ||
9024 | ||
5eb8189c | 9025 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 9026 | PyObject *resultobj = 0; |
5eb8189c | 9027 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9028 | bool arg2 ; |
9029 | void *argp1 = 0 ; | |
9030 | int res1 = 0 ; | |
9031 | bool val2 ; | |
9032 | int ecode2 = 0 ; | |
9033 | PyObject * obj0 = 0 ; | |
9034 | PyObject * obj1 = 0 ; | |
9035 | char * kwnames[] = { | |
9036 | (char *) "self",(char *) "can_veto", NULL | |
9037 | }; | |
9038 | ||
5eb8189c RD |
9039 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
9040 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9041 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9042 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9043 | } |
5eb8189c | 9044 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9045 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
9046 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9047 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9048 | } |
9049 | arg2 = static_cast< bool >(val2); | |
9050 | { | |
9051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9052 | (arg1)->SetCanVeto(arg2); | |
9053 | wxPyEndAllowThreads(__tstate); | |
9054 | if (PyErr_Occurred()) SWIG_fail; | |
9055 | } | |
9056 | resultobj = SWIG_Py_Void(); | |
9057 | return resultobj; | |
9058 | fail: | |
9059 | return NULL; | |
9060 | } | |
9061 | ||
9062 | ||
5eb8189c | 9063 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9064 | PyObject *resultobj = 0; |
5eb8189c | 9065 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9066 | bool result; |
9067 | void *argp1 = 0 ; | |
9068 | int res1 = 0 ; | |
9069 | PyObject *swig_obj[1] ; | |
9070 | ||
9071 | if (!args) SWIG_fail; | |
9072 | swig_obj[0] = args; | |
5eb8189c | 9073 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9074 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9075 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9076 | } |
5eb8189c | 9077 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9078 | { |
9079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9080 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
9081 | wxPyEndAllowThreads(__tstate); |
9082 | if (PyErr_Occurred()) SWIG_fail; | |
9083 | } | |
9084 | { | |
9085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9086 | } | |
9087 | return resultobj; | |
9088 | fail: | |
9089 | return NULL; | |
9090 | } | |
9091 | ||
9092 | ||
eccab1a7 RD |
9093 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9094 | PyObject *resultobj = 0; | |
9095 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9096 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
9097 | void *argp1 = 0 ; | |
9098 | int res1 = 0 ; | |
9099 | void *argp2 = 0 ; | |
9100 | int res2 = 0 ; | |
9101 | PyObject *swig_obj[2] ; | |
9102 | ||
9103 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail; | |
9104 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9105 | if (!SWIG_IsOK(res1)) { | |
9106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9107 | } | |
9108 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9109 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); | |
9110 | if (!SWIG_IsOK(res2)) { | |
9111 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
9112 | } | |
9113 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
9114 | if (arg1) (arg1)->manager = arg2; | |
9115 | ||
9116 | resultobj = SWIG_Py_Void(); | |
9117 | return resultobj; | |
9118 | fail: | |
9119 | return NULL; | |
9120 | } | |
9121 | ||
9122 | ||
9123 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9124 | PyObject *resultobj = 0; | |
9125 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9126 | wxAuiManager *result = 0 ; | |
9127 | void *argp1 = 0 ; | |
9128 | int res1 = 0 ; | |
9129 | PyObject *swig_obj[1] ; | |
9130 | ||
9131 | if (!args) SWIG_fail; | |
9132 | swig_obj[0] = args; | |
9133 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9134 | if (!SWIG_IsOK(res1)) { | |
9135 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9136 | } | |
9137 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9138 | result = (wxAuiManager *) ((arg1)->manager); | |
9139 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9140 | return resultobj; | |
9141 | fail: | |
9142 | return NULL; | |
9143 | } | |
9144 | ||
9145 | ||
5eb8189c | 9146 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9147 | PyObject *resultobj = 0; |
5eb8189c RD |
9148 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9149 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9150 | void *argp1 = 0 ; |
9151 | int res1 = 0 ; | |
9152 | void *argp2 = 0 ; | |
9153 | int res2 = 0 ; | |
9154 | PyObject *swig_obj[2] ; | |
9155 | ||
5eb8189c RD |
9156 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
9157 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9158 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9159 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9160 | } |
5eb8189c RD |
9161 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9162 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9163 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9164 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9165 | } |
5eb8189c | 9166 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9167 | if (arg1) (arg1)->pane = arg2; |
9168 | ||
9169 | resultobj = SWIG_Py_Void(); | |
9170 | return resultobj; | |
9171 | fail: | |
9172 | return NULL; | |
9173 | } | |
9174 | ||
9175 | ||
5eb8189c | 9176 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9177 | PyObject *resultobj = 0; |
5eb8189c RD |
9178 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9179 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9180 | void *argp1 = 0 ; |
9181 | int res1 = 0 ; | |
9182 | PyObject *swig_obj[1] ; | |
9183 | ||
9184 | if (!args) SWIG_fail; | |
9185 | swig_obj[0] = args; | |
5eb8189c | 9186 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9187 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9188 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9189 | } |
5eb8189c RD |
9190 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9191 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
9192 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
9193 | return resultobj; |
9194 | fail: | |
9195 | return NULL; | |
9196 | } | |
9197 | ||
9198 | ||
5eb8189c | 9199 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9200 | PyObject *resultobj = 0; |
5eb8189c | 9201 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9202 | int arg2 ; |
9203 | void *argp1 = 0 ; | |
9204 | int res1 = 0 ; | |
9205 | int val2 ; | |
9206 | int ecode2 = 0 ; | |
9207 | PyObject *swig_obj[2] ; | |
9208 | ||
5eb8189c RD |
9209 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
9210 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9211 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9213 | } |
5eb8189c | 9214 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9215 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9216 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9217 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9218 | } |
9219 | arg2 = static_cast< int >(val2); | |
9220 | if (arg1) (arg1)->button = arg2; | |
9221 | ||
9222 | resultobj = SWIG_Py_Void(); | |
9223 | return resultobj; | |
9224 | fail: | |
9225 | return NULL; | |
9226 | } | |
9227 | ||
9228 | ||
5eb8189c | 9229 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9230 | PyObject *resultobj = 0; |
5eb8189c | 9231 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9232 | int result; |
9233 | void *argp1 = 0 ; | |
9234 | int res1 = 0 ; | |
9235 | PyObject *swig_obj[1] ; | |
9236 | ||
9237 | if (!args) SWIG_fail; | |
9238 | swig_obj[0] = args; | |
5eb8189c | 9239 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9240 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9242 | } |
5eb8189c | 9243 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9244 | result = (int) ((arg1)->button); |
9245 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9246 | return resultobj; | |
9247 | fail: | |
9248 | return NULL; | |
9249 | } | |
9250 | ||
9251 | ||
5eb8189c | 9252 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9253 | PyObject *resultobj = 0; |
5eb8189c | 9254 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9255 | bool arg2 ; |
9256 | void *argp1 = 0 ; | |
9257 | int res1 = 0 ; | |
9258 | bool val2 ; | |
9259 | int ecode2 = 0 ; | |
9260 | PyObject *swig_obj[2] ; | |
9261 | ||
5eb8189c RD |
9262 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9263 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9264 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9265 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9266 | } |
5eb8189c | 9267 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9268 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9269 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9270 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9271 | } |
9272 | arg2 = static_cast< bool >(val2); | |
9273 | if (arg1) (arg1)->veto_flag = arg2; | |
9274 | ||
9275 | resultobj = SWIG_Py_Void(); | |
9276 | return resultobj; | |
9277 | fail: | |
9278 | return NULL; | |
9279 | } | |
9280 | ||
9281 | ||
5eb8189c | 9282 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9283 | PyObject *resultobj = 0; |
5eb8189c | 9284 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9285 | bool result; |
9286 | void *argp1 = 0 ; | |
9287 | int res1 = 0 ; | |
9288 | PyObject *swig_obj[1] ; | |
9289 | ||
9290 | if (!args) SWIG_fail; | |
9291 | swig_obj[0] = args; | |
5eb8189c | 9292 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9293 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9295 | } |
5eb8189c | 9296 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9297 | result = (bool) ((arg1)->veto_flag); |
9298 | { | |
9299 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9300 | } | |
9301 | return resultobj; | |
9302 | fail: | |
9303 | return NULL; | |
9304 | } | |
9305 | ||
9306 | ||
5eb8189c | 9307 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9308 | PyObject *resultobj = 0; |
5eb8189c | 9309 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9310 | bool arg2 ; |
9311 | void *argp1 = 0 ; | |
9312 | int res1 = 0 ; | |
9313 | bool val2 ; | |
9314 | int ecode2 = 0 ; | |
9315 | PyObject *swig_obj[2] ; | |
9316 | ||
5eb8189c RD |
9317 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9318 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9319 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9320 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9321 | } |
5eb8189c | 9322 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9323 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9324 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9325 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9326 | } |
9327 | arg2 = static_cast< bool >(val2); | |
9328 | if (arg1) (arg1)->canveto_flag = arg2; | |
9329 | ||
9330 | resultobj = SWIG_Py_Void(); | |
9331 | return resultobj; | |
9332 | fail: | |
9333 | return NULL; | |
9334 | } | |
9335 | ||
9336 | ||
5eb8189c | 9337 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9338 | PyObject *resultobj = 0; |
5eb8189c | 9339 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9340 | bool result; |
9341 | void *argp1 = 0 ; | |
9342 | int res1 = 0 ; | |
9343 | PyObject *swig_obj[1] ; | |
9344 | ||
9345 | if (!args) SWIG_fail; | |
9346 | swig_obj[0] = args; | |
5eb8189c | 9347 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9348 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9349 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9350 | } |
5eb8189c | 9351 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9352 | result = (bool) ((arg1)->canveto_flag); |
9353 | { | |
9354 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9355 | } | |
9356 | return resultobj; | |
9357 | fail: | |
9358 | return NULL; | |
9359 | } | |
9360 | ||
9361 | ||
5eb8189c | 9362 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9363 | PyObject *resultobj = 0; |
5eb8189c | 9364 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9365 | wxDC *arg2 = (wxDC *) 0 ; |
9366 | void *argp1 = 0 ; | |
9367 | int res1 = 0 ; | |
9368 | void *argp2 = 0 ; | |
9369 | int res2 = 0 ; | |
9370 | PyObject *swig_obj[2] ; | |
9371 | ||
5eb8189c RD |
9372 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9373 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9374 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9376 | } |
5eb8189c | 9377 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9378 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9379 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9380 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9381 | } |
9382 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9383 | if (arg1) (arg1)->dc = arg2; | |
9384 | ||
9385 | resultobj = SWIG_Py_Void(); | |
9386 | return resultobj; | |
9387 | fail: | |
9388 | return NULL; | |
9389 | } | |
9390 | ||
9391 | ||
5eb8189c | 9392 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9393 | PyObject *resultobj = 0; |
5eb8189c | 9394 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9395 | wxDC *result = 0 ; |
9396 | void *argp1 = 0 ; | |
9397 | int res1 = 0 ; | |
9398 | PyObject *swig_obj[1] ; | |
9399 | ||
9400 | if (!args) SWIG_fail; | |
9401 | swig_obj[0] = args; | |
5eb8189c | 9402 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9403 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9404 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9405 | } |
5eb8189c | 9406 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9407 | result = (wxDC *) ((arg1)->dc); |
9408 | { | |
9409 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9410 | } | |
9411 | return resultobj; | |
9412 | fail: | |
9413 | return NULL; | |
9414 | } | |
9415 | ||
9416 | ||
5eb8189c | 9417 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9418 | PyObject *obj; |
9419 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9420 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9421 | return SWIG_Py_Void(); |
9422 | } | |
9423 | ||
5eb8189c | 9424 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9425 | return SWIG_Python_InitShadowInstance(args); |
9426 | } | |
9427 | ||
5eb8189c | 9428 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9429 | PyObject *resultobj = 0; |
5eb8189c | 9430 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9431 | |
5eb8189c | 9432 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9433 | { |
9434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9435 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9436 | wxPyEndAllowThreads(__tstate); |
9437 | if (PyErr_Occurred()) SWIG_fail; | |
9438 | } | |
5eb8189c | 9439 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9440 | return resultobj; |
9441 | fail: | |
9442 | return NULL; | |
9443 | } | |
9444 | ||
9445 | ||
5eb8189c | 9446 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9447 | PyObject *resultobj = 0; |
5eb8189c | 9448 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9449 | bool result; |
9450 | void *argp1 = 0 ; | |
9451 | int res1 = 0 ; | |
9452 | PyObject *swig_obj[1] ; | |
9453 | ||
9454 | if (!args) SWIG_fail; | |
9455 | swig_obj[0] = args; | |
5eb8189c | 9456 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9457 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9459 | } |
5eb8189c | 9460 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9461 | { |
9462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9463 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9464 | wxPyEndAllowThreads(__tstate); |
9465 | if (PyErr_Occurred()) SWIG_fail; | |
9466 | } | |
9467 | { | |
9468 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9469 | } | |
9470 | return resultobj; | |
9471 | fail: | |
9472 | return NULL; | |
9473 | } | |
9474 | ||
9475 | ||
5eb8189c | 9476 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9477 | PyObject *resultobj = 0; |
5eb8189c | 9478 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9479 | bool result; |
9480 | void *argp1 = 0 ; | |
9481 | int res1 = 0 ; | |
9482 | PyObject *swig_obj[1] ; | |
9483 | ||
9484 | if (!args) SWIG_fail; | |
9485 | swig_obj[0] = args; | |
5eb8189c | 9486 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9487 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9489 | } |
5eb8189c | 9490 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9491 | { |
9492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9493 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9494 | wxPyEndAllowThreads(__tstate); |
9495 | if (PyErr_Occurred()) SWIG_fail; | |
9496 | } | |
9497 | { | |
9498 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9499 | } | |
9500 | return resultobj; | |
9501 | fail: | |
9502 | return NULL; | |
9503 | } | |
9504 | ||
9505 | ||
5eb8189c | 9506 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9507 | PyObject *resultobj = 0; |
5eb8189c | 9508 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9509 | bool result; |
9510 | void *argp1 = 0 ; | |
9511 | int res1 = 0 ; | |
9512 | PyObject *swig_obj[1] ; | |
9513 | ||
9514 | if (!args) SWIG_fail; | |
9515 | swig_obj[0] = args; | |
5eb8189c | 9516 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9517 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9519 | } |
5eb8189c | 9520 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9521 | { |
9522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9523 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9524 | wxPyEndAllowThreads(__tstate); |
9525 | if (PyErr_Occurred()) SWIG_fail; | |
9526 | } | |
9527 | { | |
9528 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9529 | } | |
9530 | return resultobj; | |
9531 | fail: | |
9532 | return NULL; | |
9533 | } | |
9534 | ||
9535 | ||
5eb8189c | 9536 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9537 | PyObject *resultobj = 0; |
5eb8189c RD |
9538 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9539 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9540 | void *argp1 = 0 ; |
9541 | int res1 = 0 ; | |
9542 | void *argp2 ; | |
9543 | int res2 = 0 ; | |
9544 | PyObject *swig_obj[2] ; | |
9545 | ||
5eb8189c RD |
9546 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9547 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9548 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9549 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9550 | } |
5eb8189c | 9551 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9552 | { |
5eb8189c | 9553 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9554 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9555 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9556 | } |
9557 | if (!argp2) { | |
5eb8189c | 9558 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9559 | } else { |
5eb8189c | 9560 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9561 | arg2 = *temp; |
9562 | if (SWIG_IsNewObj(res2)) delete temp; | |
9563 | } | |
9564 | } | |
9565 | if (arg1) (arg1)->panes = arg2; | |
9566 | ||
9567 | resultobj = SWIG_Py_Void(); | |
9568 | return resultobj; | |
9569 | fail: | |
9570 | return NULL; | |
9571 | } | |
9572 | ||
9573 | ||
5eb8189c | 9574 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9575 | PyObject *resultobj = 0; |
5eb8189c RD |
9576 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9577 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9578 | void *argp1 = 0 ; |
9579 | int res1 = 0 ; | |
9580 | PyObject *swig_obj[1] ; | |
9581 | ||
9582 | if (!args) SWIG_fail; | |
9583 | swig_obj[0] = args; | |
5eb8189c | 9584 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9585 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9587 | } |
5eb8189c | 9588 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9589 | result = ((arg1)->panes); |
5eb8189c | 9590 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9591 | return resultobj; |
9592 | fail: | |
9593 | return NULL; | |
9594 | } | |
9595 | ||
9596 | ||
5eb8189c | 9597 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9598 | PyObject *resultobj = 0; |
5eb8189c | 9599 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9600 | wxRect *arg2 = (wxRect *) 0 ; |
9601 | void *argp1 = 0 ; | |
9602 | int res1 = 0 ; | |
9603 | void *argp2 = 0 ; | |
9604 | int res2 = 0 ; | |
9605 | PyObject *swig_obj[2] ; | |
9606 | ||
5eb8189c RD |
9607 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9608 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9609 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9611 | } |
5eb8189c | 9612 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9613 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9614 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9615 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9616 | } |
9617 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9618 | if (arg1) (arg1)->rect = *arg2; | |
9619 | ||
9620 | resultobj = SWIG_Py_Void(); | |
9621 | return resultobj; | |
9622 | fail: | |
9623 | return NULL; | |
9624 | } | |
9625 | ||
9626 | ||
5eb8189c | 9627 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9628 | PyObject *resultobj = 0; |
5eb8189c | 9629 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9630 | wxRect *result = 0 ; |
9631 | void *argp1 = 0 ; | |
9632 | int res1 = 0 ; | |
9633 | PyObject *swig_obj[1] ; | |
9634 | ||
9635 | if (!args) SWIG_fail; | |
9636 | swig_obj[0] = args; | |
5eb8189c | 9637 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9638 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9640 | } |
5eb8189c | 9641 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9642 | result = (wxRect *)& ((arg1)->rect); |
9643 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9644 | return resultobj; | |
9645 | fail: | |
9646 | return NULL; | |
9647 | } | |
9648 | ||
9649 | ||
5eb8189c | 9650 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9651 | PyObject *resultobj = 0; |
5eb8189c | 9652 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9653 | int arg2 ; |
9654 | void *argp1 = 0 ; | |
9655 | int res1 = 0 ; | |
9656 | int val2 ; | |
9657 | int ecode2 = 0 ; | |
9658 | PyObject *swig_obj[2] ; | |
9659 | ||
5eb8189c RD |
9660 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9661 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9662 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9663 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9664 | } |
5eb8189c | 9665 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9666 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9667 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9668 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9669 | } |
9670 | arg2 = static_cast< int >(val2); | |
9671 | if (arg1) (arg1)->dock_direction = arg2; | |
9672 | ||
9673 | resultobj = SWIG_Py_Void(); | |
9674 | return resultobj; | |
9675 | fail: | |
9676 | return NULL; | |
9677 | } | |
9678 | ||
9679 | ||
5eb8189c | 9680 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9681 | PyObject *resultobj = 0; |
5eb8189c | 9682 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9683 | int result; |
9684 | void *argp1 = 0 ; | |
9685 | int res1 = 0 ; | |
9686 | PyObject *swig_obj[1] ; | |
9687 | ||
9688 | if (!args) SWIG_fail; | |
9689 | swig_obj[0] = args; | |
5eb8189c | 9690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9691 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9693 | } |
5eb8189c | 9694 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9695 | result = (int) ((arg1)->dock_direction); |
9696 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9697 | return resultobj; | |
9698 | fail: | |
9699 | return NULL; | |
9700 | } | |
9701 | ||
9702 | ||
5eb8189c | 9703 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9704 | PyObject *resultobj = 0; |
5eb8189c | 9705 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9706 | int arg2 ; |
9707 | void *argp1 = 0 ; | |
9708 | int res1 = 0 ; | |
9709 | int val2 ; | |
9710 | int ecode2 = 0 ; | |
9711 | PyObject *swig_obj[2] ; | |
9712 | ||
5eb8189c RD |
9713 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
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_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9717 | } |
5eb8189c | 9718 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9719 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9720 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9721 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9722 | } |
9723 | arg2 = static_cast< int >(val2); | |
9724 | if (arg1) (arg1)->dock_layer = arg2; | |
9725 | ||
9726 | resultobj = SWIG_Py_Void(); | |
9727 | return resultobj; | |
9728 | fail: | |
9729 | return NULL; | |
9730 | } | |
9731 | ||
9732 | ||
5eb8189c | 9733 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9734 | PyObject *resultobj = 0; |
5eb8189c | 9735 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9736 | int result; |
9737 | void *argp1 = 0 ; | |
9738 | int res1 = 0 ; | |
9739 | PyObject *swig_obj[1] ; | |
9740 | ||
9741 | if (!args) SWIG_fail; | |
9742 | swig_obj[0] = args; | |
5eb8189c | 9743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9744 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9746 | } |
5eb8189c | 9747 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9748 | result = (int) ((arg1)->dock_layer); |
9749 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9750 | return resultobj; | |
9751 | fail: | |
9752 | return NULL; | |
9753 | } | |
9754 | ||
9755 | ||
5eb8189c | 9756 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9757 | PyObject *resultobj = 0; |
5eb8189c | 9758 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9759 | int arg2 ; |
9760 | void *argp1 = 0 ; | |
9761 | int res1 = 0 ; | |
9762 | int val2 ; | |
9763 | int ecode2 = 0 ; | |
9764 | PyObject *swig_obj[2] ; | |
9765 | ||
5eb8189c RD |
9766 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9767 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9768 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9770 | } |
5eb8189c | 9771 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9772 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9773 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9774 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9775 | } |
9776 | arg2 = static_cast< int >(val2); | |
9777 | if (arg1) (arg1)->dock_row = arg2; | |
9778 | ||
9779 | resultobj = SWIG_Py_Void(); | |
9780 | return resultobj; | |
9781 | fail: | |
9782 | return NULL; | |
9783 | } | |
9784 | ||
9785 | ||
5eb8189c | 9786 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9787 | PyObject *resultobj = 0; |
5eb8189c | 9788 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9789 | int result; |
9790 | void *argp1 = 0 ; | |
9791 | int res1 = 0 ; | |
9792 | PyObject *swig_obj[1] ; | |
9793 | ||
9794 | if (!args) SWIG_fail; | |
9795 | swig_obj[0] = args; | |
5eb8189c | 9796 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9797 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9799 | } |
5eb8189c | 9800 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9801 | result = (int) ((arg1)->dock_row); |
9802 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9803 | return resultobj; | |
9804 | fail: | |
9805 | return NULL; | |
9806 | } | |
9807 | ||
9808 | ||
5eb8189c | 9809 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9810 | PyObject *resultobj = 0; |
5eb8189c | 9811 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9812 | int arg2 ; |
9813 | void *argp1 = 0 ; | |
9814 | int res1 = 0 ; | |
9815 | int val2 ; | |
9816 | int ecode2 = 0 ; | |
9817 | PyObject *swig_obj[2] ; | |
9818 | ||
5eb8189c RD |
9819 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9820 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9821 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9823 | } |
5eb8189c | 9824 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9825 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9826 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9827 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9828 | } |
9829 | arg2 = static_cast< int >(val2); | |
9830 | if (arg1) (arg1)->size = arg2; | |
9831 | ||
9832 | resultobj = SWIG_Py_Void(); | |
9833 | return resultobj; | |
9834 | fail: | |
9835 | return NULL; | |
9836 | } | |
9837 | ||
9838 | ||
5eb8189c | 9839 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9840 | PyObject *resultobj = 0; |
5eb8189c | 9841 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9842 | int result; |
9843 | void *argp1 = 0 ; | |
9844 | int res1 = 0 ; | |
9845 | PyObject *swig_obj[1] ; | |
9846 | ||
9847 | if (!args) SWIG_fail; | |
9848 | swig_obj[0] = args; | |
5eb8189c | 9849 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9850 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9852 | } |
5eb8189c | 9853 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9854 | result = (int) ((arg1)->size); |
9855 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9856 | return resultobj; | |
9857 | fail: | |
9858 | return NULL; | |
9859 | } | |
9860 | ||
9861 | ||
5eb8189c | 9862 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9863 | PyObject *resultobj = 0; |
5eb8189c | 9864 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9865 | int arg2 ; |
9866 | void *argp1 = 0 ; | |
9867 | int res1 = 0 ; | |
9868 | int val2 ; | |
9869 | int ecode2 = 0 ; | |
9870 | PyObject *swig_obj[2] ; | |
9871 | ||
5eb8189c RD |
9872 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9873 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9874 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9875 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9876 | } |
5eb8189c | 9877 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9878 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9879 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9880 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9881 | } |
9882 | arg2 = static_cast< int >(val2); | |
9883 | if (arg1) (arg1)->min_size = arg2; | |
9884 | ||
9885 | resultobj = SWIG_Py_Void(); | |
9886 | return resultobj; | |
9887 | fail: | |
9888 | return NULL; | |
9889 | } | |
9890 | ||
9891 | ||
5eb8189c | 9892 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9893 | PyObject *resultobj = 0; |
5eb8189c | 9894 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9895 | int result; |
9896 | void *argp1 = 0 ; | |
9897 | int res1 = 0 ; | |
9898 | PyObject *swig_obj[1] ; | |
9899 | ||
9900 | if (!args) SWIG_fail; | |
9901 | swig_obj[0] = args; | |
5eb8189c | 9902 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9903 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9905 | } |
5eb8189c | 9906 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9907 | result = (int) ((arg1)->min_size); |
9908 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9909 | return resultobj; | |
9910 | fail: | |
9911 | return NULL; | |
9912 | } | |
9913 | ||
9914 | ||
5eb8189c | 9915 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9916 | PyObject *resultobj = 0; |
5eb8189c | 9917 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9918 | bool arg2 ; |
9919 | void *argp1 = 0 ; | |
9920 | int res1 = 0 ; | |
9921 | bool val2 ; | |
9922 | int ecode2 = 0 ; | |
9923 | PyObject *swig_obj[2] ; | |
9924 | ||
5eb8189c RD |
9925 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9926 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9927 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9928 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9929 | } |
5eb8189c | 9930 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9931 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9932 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9933 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9934 | } |
9935 | arg2 = static_cast< bool >(val2); | |
9936 | if (arg1) (arg1)->resizable = arg2; | |
9937 | ||
9938 | resultobj = SWIG_Py_Void(); | |
9939 | return resultobj; | |
9940 | fail: | |
9941 | return NULL; | |
9942 | } | |
9943 | ||
9944 | ||
5eb8189c | 9945 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9946 | PyObject *resultobj = 0; |
5eb8189c | 9947 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9948 | bool result; |
9949 | void *argp1 = 0 ; | |
9950 | int res1 = 0 ; | |
9951 | PyObject *swig_obj[1] ; | |
9952 | ||
9953 | if (!args) SWIG_fail; | |
9954 | swig_obj[0] = args; | |
5eb8189c | 9955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9956 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9958 | } |
5eb8189c | 9959 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9960 | result = (bool) ((arg1)->resizable); |
9961 | { | |
9962 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9963 | } | |
9964 | return resultobj; | |
9965 | fail: | |
9966 | return NULL; | |
9967 | } | |
9968 | ||
9969 | ||
5eb8189c | 9970 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9971 | PyObject *resultobj = 0; |
5eb8189c | 9972 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9973 | bool arg2 ; |
9974 | void *argp1 = 0 ; | |
9975 | int res1 = 0 ; | |
9976 | bool val2 ; | |
9977 | int ecode2 = 0 ; | |
9978 | PyObject *swig_obj[2] ; | |
9979 | ||
5eb8189c RD |
9980 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9981 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9982 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9983 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9984 | } |
5eb8189c | 9985 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9986 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9987 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9988 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9989 | } |
9990 | arg2 = static_cast< bool >(val2); | |
9991 | if (arg1) (arg1)->toolbar = arg2; | |
9992 | ||
9993 | resultobj = SWIG_Py_Void(); | |
9994 | return resultobj; | |
9995 | fail: | |
9996 | return NULL; | |
9997 | } | |
9998 | ||
9999 | ||
5eb8189c | 10000 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10001 | PyObject *resultobj = 0; |
5eb8189c | 10002 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10003 | bool result; |
10004 | void *argp1 = 0 ; | |
10005 | int res1 = 0 ; | |
10006 | PyObject *swig_obj[1] ; | |
10007 | ||
10008 | if (!args) SWIG_fail; | |
10009 | swig_obj[0] = args; | |
5eb8189c | 10010 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10011 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10012 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10013 | } |
5eb8189c | 10014 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10015 | result = (bool) ((arg1)->toolbar); |
10016 | { | |
10017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10018 | } | |
10019 | return resultobj; | |
10020 | fail: | |
10021 | return NULL; | |
10022 | } | |
10023 | ||
10024 | ||
5eb8189c | 10025 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10026 | PyObject *resultobj = 0; |
5eb8189c | 10027 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10028 | bool arg2 ; |
10029 | void *argp1 = 0 ; | |
10030 | int res1 = 0 ; | |
10031 | bool val2 ; | |
10032 | int ecode2 = 0 ; | |
10033 | PyObject *swig_obj[2] ; | |
10034 | ||
5eb8189c RD |
10035 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
10036 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10037 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10039 | } |
5eb8189c | 10040 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10041 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10042 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10043 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10044 | } |
10045 | arg2 = static_cast< bool >(val2); | |
10046 | if (arg1) (arg1)->fixed = arg2; | |
10047 | ||
10048 | resultobj = SWIG_Py_Void(); | |
10049 | return resultobj; | |
10050 | fail: | |
10051 | return NULL; | |
10052 | } | |
10053 | ||
10054 | ||
5eb8189c | 10055 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10056 | PyObject *resultobj = 0; |
5eb8189c | 10057 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10058 | bool result; |
10059 | void *argp1 = 0 ; | |
10060 | int res1 = 0 ; | |
10061 | PyObject *swig_obj[1] ; | |
10062 | ||
10063 | if (!args) SWIG_fail; | |
10064 | swig_obj[0] = args; | |
5eb8189c | 10065 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10066 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10067 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10068 | } |
5eb8189c | 10069 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10070 | result = (bool) ((arg1)->fixed); |
10071 | { | |
10072 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10073 | } | |
10074 | return resultobj; | |
10075 | fail: | |
10076 | return NULL; | |
10077 | } | |
10078 | ||
10079 | ||
cbdf0fb0 RD |
10080 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10081 | PyObject *resultobj = 0; | |
10082 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10083 | bool arg2 ; | |
10084 | void *argp1 = 0 ; | |
10085 | int res1 = 0 ; | |
10086 | bool val2 ; | |
10087 | int ecode2 = 0 ; | |
10088 | PyObject *swig_obj[2] ; | |
10089 | ||
10090 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_reserved1_set",2,2,swig_obj)) SWIG_fail; | |
10091 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10092 | if (!SWIG_IsOK(res1)) { | |
10093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10094 | } | |
10095 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10096 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10097 | if (!SWIG_IsOK(ecode2)) { | |
10098 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "2"" of type '" "bool""'"); | |
10099 | } | |
10100 | arg2 = static_cast< bool >(val2); | |
10101 | if (arg1) (arg1)->reserved1 = arg2; | |
10102 | ||
10103 | resultobj = SWIG_Py_Void(); | |
10104 | return resultobj; | |
10105 | fail: | |
10106 | return NULL; | |
10107 | } | |
10108 | ||
10109 | ||
10110 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10111 | PyObject *resultobj = 0; | |
10112 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10113 | bool result; | |
10114 | void *argp1 = 0 ; | |
10115 | int res1 = 0 ; | |
10116 | PyObject *swig_obj[1] ; | |
10117 | ||
10118 | if (!args) SWIG_fail; | |
10119 | swig_obj[0] = args; | |
10120 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10121 | if (!SWIG_IsOK(res1)) { | |
10122 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10123 | } | |
10124 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10125 | result = (bool) ((arg1)->reserved1); | |
10126 | { | |
10127 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10128 | } | |
10129 | return resultobj; | |
10130 | fail: | |
10131 | return NULL; | |
10132 | } | |
10133 | ||
10134 | ||
5eb8189c | 10135 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10136 | PyObject *resultobj = 0; |
5eb8189c | 10137 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
10138 | void *argp1 = 0 ; |
10139 | int res1 = 0 ; | |
10140 | PyObject *swig_obj[1] ; | |
10141 | ||
10142 | if (!args) SWIG_fail; | |
10143 | swig_obj[0] = args; | |
5eb8189c | 10144 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10145 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 10147 | } |
5eb8189c | 10148 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
10149 | { |
10150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10151 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
10152 | |
10153 | wxPyEndAllowThreads(__tstate); | |
10154 | if (PyErr_Occurred()) SWIG_fail; | |
10155 | } | |
10156 | resultobj = SWIG_Py_Void(); | |
10157 | return resultobj; | |
10158 | fail: | |
10159 | return NULL; | |
10160 | } | |
10161 | ||
10162 | ||
5eb8189c | 10163 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10164 | PyObject *obj; |
10165 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10166 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
10167 | return SWIG_Py_Void(); |
10168 | } | |
10169 | ||
5eb8189c | 10170 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10171 | return SWIG_Python_InitShadowInstance(args); |
10172 | } | |
10173 | ||
5eb8189c | 10174 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10175 | PyObject *resultobj = 0; |
5eb8189c | 10176 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10177 | int arg2 ; |
10178 | void *argp1 = 0 ; | |
10179 | int res1 = 0 ; | |
10180 | int val2 ; | |
10181 | int ecode2 = 0 ; | |
10182 | PyObject *swig_obj[2] ; | |
10183 | ||
5eb8189c RD |
10184 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
10185 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10186 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10188 | } |
5eb8189c | 10189 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10190 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10191 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10192 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10193 | } |
10194 | arg2 = static_cast< int >(val2); | |
10195 | if (arg1) (arg1)->type = arg2; | |
10196 | ||
10197 | resultobj = SWIG_Py_Void(); | |
10198 | return resultobj; | |
10199 | fail: | |
10200 | return NULL; | |
10201 | } | |
10202 | ||
10203 | ||
5eb8189c | 10204 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10205 | PyObject *resultobj = 0; |
5eb8189c | 10206 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10207 | int result; |
10208 | void *argp1 = 0 ; | |
10209 | int res1 = 0 ; | |
10210 | PyObject *swig_obj[1] ; | |
10211 | ||
10212 | if (!args) SWIG_fail; | |
10213 | swig_obj[0] = args; | |
5eb8189c | 10214 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10215 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10216 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10217 | } |
5eb8189c | 10218 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10219 | result = (int) ((arg1)->type); |
10220 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10221 | return resultobj; | |
10222 | fail: | |
10223 | return NULL; | |
10224 | } | |
10225 | ||
10226 | ||
5eb8189c | 10227 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10228 | PyObject *resultobj = 0; |
5eb8189c | 10229 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10230 | int arg2 ; |
10231 | void *argp1 = 0 ; | |
10232 | int res1 = 0 ; | |
10233 | int val2 ; | |
10234 | int ecode2 = 0 ; | |
10235 | PyObject *swig_obj[2] ; | |
10236 | ||
5eb8189c RD |
10237 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
10238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10239 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10241 | } |
5eb8189c | 10242 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10243 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10244 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10245 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10246 | } |
10247 | arg2 = static_cast< int >(val2); | |
10248 | if (arg1) (arg1)->orientation = arg2; | |
10249 | ||
10250 | resultobj = SWIG_Py_Void(); | |
10251 | return resultobj; | |
10252 | fail: | |
10253 | return NULL; | |
10254 | } | |
10255 | ||
10256 | ||
5eb8189c | 10257 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10258 | PyObject *resultobj = 0; |
5eb8189c | 10259 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10260 | int result; |
10261 | void *argp1 = 0 ; | |
10262 | int res1 = 0 ; | |
10263 | PyObject *swig_obj[1] ; | |
10264 | ||
10265 | if (!args) SWIG_fail; | |
10266 | swig_obj[0] = args; | |
5eb8189c | 10267 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10268 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10269 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10270 | } |
5eb8189c | 10271 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10272 | result = (int) ((arg1)->orientation); |
10273 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10274 | return resultobj; | |
10275 | fail: | |
10276 | return NULL; | |
10277 | } | |
10278 | ||
10279 | ||
5eb8189c | 10280 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10281 | PyObject *resultobj = 0; |
5eb8189c RD |
10282 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10283 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10284 | void *argp1 = 0 ; |
10285 | int res1 = 0 ; | |
10286 | void *argp2 = 0 ; | |
10287 | int res2 = 0 ; | |
10288 | PyObject *swig_obj[2] ; | |
10289 | ||
5eb8189c RD |
10290 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10292 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10294 | } |
5eb8189c RD |
10295 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10296 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10297 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10298 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10299 | } |
5eb8189c | 10300 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10301 | if (arg1) (arg1)->dock = arg2; |
10302 | ||
10303 | resultobj = SWIG_Py_Void(); | |
10304 | return resultobj; | |
10305 | fail: | |
10306 | return NULL; | |
10307 | } | |
10308 | ||
10309 | ||
5eb8189c | 10310 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10311 | PyObject *resultobj = 0; |
5eb8189c RD |
10312 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10313 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10314 | void *argp1 = 0 ; |
10315 | int res1 = 0 ; | |
10316 | PyObject *swig_obj[1] ; | |
10317 | ||
10318 | if (!args) SWIG_fail; | |
10319 | swig_obj[0] = args; | |
5eb8189c | 10320 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10321 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10323 | } |
5eb8189c RD |
10324 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10325 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10326 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10327 | return resultobj; |
10328 | fail: | |
10329 | return NULL; | |
10330 | } | |
10331 | ||
10332 | ||
5eb8189c | 10333 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10334 | PyObject *resultobj = 0; |
5eb8189c RD |
10335 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10336 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10337 | void *argp1 = 0 ; |
10338 | int res1 = 0 ; | |
10339 | void *argp2 = 0 ; | |
10340 | int res2 = 0 ; | |
10341 | PyObject *swig_obj[2] ; | |
10342 | ||
5eb8189c RD |
10343 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10345 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10347 | } |
5eb8189c RD |
10348 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10349 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10350 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10351 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10352 | } |
5eb8189c | 10353 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10354 | if (arg1) (arg1)->pane = arg2; |
10355 | ||
10356 | resultobj = SWIG_Py_Void(); | |
10357 | return resultobj; | |
10358 | fail: | |
10359 | return NULL; | |
10360 | } | |
10361 | ||
10362 | ||
5eb8189c | 10363 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10364 | PyObject *resultobj = 0; |
5eb8189c RD |
10365 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10366 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10367 | void *argp1 = 0 ; |
10368 | int res1 = 0 ; | |
10369 | PyObject *swig_obj[1] ; | |
10370 | ||
10371 | if (!args) SWIG_fail; | |
10372 | swig_obj[0] = args; | |
5eb8189c | 10373 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10374 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10375 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10376 | } |
5eb8189c RD |
10377 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10378 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10379 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10380 | return resultobj; |
10381 | fail: | |
10382 | return NULL; | |
10383 | } | |
10384 | ||
10385 | ||
5eb8189c | 10386 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10387 | PyObject *resultobj = 0; |
5eb8189c RD |
10388 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10389 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10390 | void *argp1 = 0 ; |
10391 | int res1 = 0 ; | |
10392 | void *argp2 = 0 ; | |
10393 | int res2 = 0 ; | |
10394 | PyObject *swig_obj[2] ; | |
10395 | ||
5eb8189c RD |
10396 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10397 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10398 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10400 | } |
5eb8189c RD |
10401 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10402 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10403 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10404 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10405 | } |
5eb8189c | 10406 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10407 | if (arg1) (arg1)->button = arg2; |
10408 | ||
10409 | resultobj = SWIG_Py_Void(); | |
10410 | return resultobj; | |
10411 | fail: | |
10412 | return NULL; | |
10413 | } | |
10414 | ||
10415 | ||
5eb8189c | 10416 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10417 | PyObject *resultobj = 0; |
5eb8189c RD |
10418 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10419 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10420 | void *argp1 = 0 ; |
10421 | int res1 = 0 ; | |
10422 | PyObject *swig_obj[1] ; | |
10423 | ||
10424 | if (!args) SWIG_fail; | |
10425 | swig_obj[0] = args; | |
5eb8189c | 10426 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10427 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10428 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10429 | } |
5eb8189c RD |
10430 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10431 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10432 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10433 | return resultobj; |
10434 | fail: | |
10435 | return NULL; | |
10436 | } | |
10437 | ||
10438 | ||
5eb8189c | 10439 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10440 | PyObject *resultobj = 0; |
5eb8189c | 10441 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10442 | wxSizer *arg2 = (wxSizer *) 0 ; |
10443 | void *argp1 = 0 ; | |
10444 | int res1 = 0 ; | |
10445 | void *argp2 = 0 ; | |
10446 | int res2 = 0 ; | |
10447 | PyObject *swig_obj[2] ; | |
10448 | ||
5eb8189c RD |
10449 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10450 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10451 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10452 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10453 | } |
5eb8189c | 10454 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10455 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10456 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10457 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10458 | } |
10459 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10460 | if (arg1) (arg1)->cont_sizer = arg2; | |
10461 | ||
10462 | resultobj = SWIG_Py_Void(); | |
10463 | return resultobj; | |
10464 | fail: | |
10465 | return NULL; | |
10466 | } | |
10467 | ||
10468 | ||
5eb8189c | 10469 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10470 | PyObject *resultobj = 0; |
5eb8189c | 10471 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10472 | wxSizer *result = 0 ; |
10473 | void *argp1 = 0 ; | |
10474 | int res1 = 0 ; | |
10475 | PyObject *swig_obj[1] ; | |
10476 | ||
10477 | if (!args) SWIG_fail; | |
10478 | swig_obj[0] = args; | |
5eb8189c | 10479 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10480 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10481 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10482 | } |
5eb8189c | 10483 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10484 | result = (wxSizer *) ((arg1)->cont_sizer); |
10485 | { | |
10486 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10487 | } | |
10488 | return resultobj; | |
10489 | fail: | |
10490 | return NULL; | |
10491 | } | |
10492 | ||
10493 | ||
5eb8189c | 10494 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10495 | PyObject *resultobj = 0; |
5eb8189c | 10496 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10497 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10498 | void *argp1 = 0 ; | |
10499 | int res1 = 0 ; | |
10500 | void *argp2 = 0 ; | |
10501 | int res2 = 0 ; | |
10502 | PyObject *swig_obj[2] ; | |
10503 | ||
5eb8189c RD |
10504 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10505 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10506 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10508 | } |
5eb8189c | 10509 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10510 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10511 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10512 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10513 | } |
10514 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10515 | if (arg1) (arg1)->sizer_item = arg2; | |
10516 | ||
10517 | resultobj = SWIG_Py_Void(); | |
10518 | return resultobj; | |
10519 | fail: | |
10520 | return NULL; | |
10521 | } | |
10522 | ||
10523 | ||
5eb8189c | 10524 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10525 | PyObject *resultobj = 0; |
5eb8189c | 10526 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10527 | wxSizerItem *result = 0 ; |
10528 | void *argp1 = 0 ; | |
10529 | int res1 = 0 ; | |
10530 | PyObject *swig_obj[1] ; | |
10531 | ||
10532 | if (!args) SWIG_fail; | |
10533 | swig_obj[0] = args; | |
5eb8189c | 10534 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10535 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10537 | } |
5eb8189c | 10538 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10539 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10540 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10541 | return resultobj; | |
10542 | fail: | |
10543 | return NULL; | |
10544 | } | |
10545 | ||
10546 | ||
5eb8189c | 10547 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10548 | PyObject *resultobj = 0; |
5eb8189c | 10549 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10550 | wxRect *arg2 = (wxRect *) 0 ; |
10551 | void *argp1 = 0 ; | |
10552 | int res1 = 0 ; | |
10553 | void *argp2 = 0 ; | |
10554 | int res2 = 0 ; | |
10555 | PyObject *swig_obj[2] ; | |
10556 | ||
5eb8189c RD |
10557 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10558 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10559 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10561 | } |
5eb8189c | 10562 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10563 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10564 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10565 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10566 | } |
10567 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10568 | if (arg1) (arg1)->rect = *arg2; | |
10569 | ||
10570 | resultobj = SWIG_Py_Void(); | |
10571 | return resultobj; | |
10572 | fail: | |
10573 | return NULL; | |
10574 | } | |
10575 | ||
10576 | ||
5eb8189c | 10577 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10578 | PyObject *resultobj = 0; |
5eb8189c | 10579 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10580 | wxRect *result = 0 ; |
10581 | void *argp1 = 0 ; | |
10582 | int res1 = 0 ; | |
10583 | PyObject *swig_obj[1] ; | |
10584 | ||
10585 | if (!args) SWIG_fail; | |
10586 | swig_obj[0] = args; | |
5eb8189c | 10587 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10588 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10590 | } |
5eb8189c | 10591 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10592 | result = (wxRect *)& ((arg1)->rect); |
10593 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10594 | return resultobj; | |
10595 | fail: | |
10596 | return NULL; | |
10597 | } | |
10598 | ||
10599 | ||
5eb8189c | 10600 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10601 | PyObject *resultobj = 0; |
5eb8189c | 10602 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10603 | void *argp1 = 0 ; |
10604 | int res1 = 0 ; | |
10605 | PyObject *swig_obj[1] ; | |
10606 | ||
10607 | if (!args) SWIG_fail; | |
10608 | swig_obj[0] = args; | |
5eb8189c | 10609 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10610 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10611 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10612 | } |
5eb8189c | 10613 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10614 | { |
10615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10616 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10617 | |
10618 | wxPyEndAllowThreads(__tstate); | |
10619 | if (PyErr_Occurred()) SWIG_fail; | |
10620 | } | |
10621 | resultobj = SWIG_Py_Void(); | |
10622 | return resultobj; | |
10623 | fail: | |
10624 | return NULL; | |
10625 | } | |
10626 | ||
10627 | ||
5eb8189c | 10628 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10629 | PyObject *obj; |
10630 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10631 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10632 | return SWIG_Py_Void(); |
10633 | } | |
10634 | ||
5eb8189c | 10635 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10636 | PyObject *resultobj = 0; |
5eb8189c | 10637 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10638 | int arg2 ; |
10639 | void *argp1 = 0 ; | |
10640 | int res1 = 0 ; | |
10641 | int val2 ; | |
10642 | int ecode2 = 0 ; | |
10643 | PyObject *swig_obj[2] ; | |
10644 | ||
5eb8189c RD |
10645 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10647 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10649 | } |
5eb8189c | 10650 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10651 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10652 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10653 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10654 | } |
10655 | arg2 = static_cast< int >(val2); | |
10656 | if (arg1) (arg1)->button_id = arg2; | |
10657 | ||
10658 | resultobj = SWIG_Py_Void(); | |
10659 | return resultobj; | |
10660 | fail: | |
10661 | return NULL; | |
10662 | } | |
10663 | ||
10664 | ||
5eb8189c | 10665 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10666 | PyObject *resultobj = 0; |
5eb8189c | 10667 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10668 | int result; |
10669 | void *argp1 = 0 ; | |
10670 | int res1 = 0 ; | |
10671 | PyObject *swig_obj[1] ; | |
10672 | ||
10673 | if (!args) SWIG_fail; | |
10674 | swig_obj[0] = args; | |
5eb8189c | 10675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10676 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10678 | } |
5eb8189c | 10679 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10680 | result = (int) ((arg1)->button_id); |
10681 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10682 | return resultobj; | |
10683 | fail: | |
10684 | return NULL; | |
10685 | } | |
10686 | ||
10687 | ||
5eb8189c | 10688 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10689 | PyObject *resultobj = 0; |
5eb8189c | 10690 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10691 | void *argp1 = 0 ; |
10692 | int res1 = 0 ; | |
10693 | PyObject *swig_obj[1] ; | |
10694 | ||
10695 | if (!args) SWIG_fail; | |
10696 | swig_obj[0] = args; | |
5eb8189c | 10697 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10698 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10700 | } |
5eb8189c | 10701 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10702 | { |
10703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10704 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10705 | |
10706 | wxPyEndAllowThreads(__tstate); | |
10707 | if (PyErr_Occurred()) SWIG_fail; | |
10708 | } | |
10709 | resultobj = SWIG_Py_Void(); | |
10710 | return resultobj; | |
10711 | fail: | |
10712 | return NULL; | |
10713 | } | |
10714 | ||
10715 | ||
5eb8189c | 10716 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10717 | PyObject *obj; |
10718 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10719 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10720 | return SWIG_Py_Void(); |
10721 | } | |
10722 | ||
5eb8189c | 10723 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10724 | PyObject *resultobj = 0; |
5eb8189c | 10725 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10726 | void *argp1 = 0 ; |
10727 | int res1 = 0 ; | |
10728 | PyObject *swig_obj[1] ; | |
10729 | ||
10730 | if (!args) SWIG_fail; | |
10731 | swig_obj[0] = args; | |
5eb8189c | 10732 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10733 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10734 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10735 | } |
5eb8189c | 10736 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10737 | { |
10738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10739 | delete arg1; | |
10740 | ||
10741 | wxPyEndAllowThreads(__tstate); | |
10742 | if (PyErr_Occurred()) SWIG_fail; | |
10743 | } | |
10744 | resultobj = SWIG_Py_Void(); | |
10745 | return resultobj; | |
10746 | fail: | |
10747 | return NULL; | |
10748 | } | |
10749 | ||
10750 | ||
5eb8189c | 10751 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10752 | PyObject *resultobj = 0; |
5eb8189c | 10753 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10754 | int arg2 ; |
10755 | int result; | |
10756 | void *argp1 = 0 ; | |
10757 | int res1 = 0 ; | |
10758 | int val2 ; | |
10759 | int ecode2 = 0 ; | |
10760 | PyObject * obj0 = 0 ; | |
10761 | PyObject * obj1 = 0 ; | |
10762 | char * kwnames[] = { | |
10763 | (char *) "self",(char *) "id", NULL | |
10764 | }; | |
10765 | ||
5eb8189c RD |
10766 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10767 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10768 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10770 | } |
5eb8189c | 10771 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10772 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10773 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10774 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10775 | } |
10776 | arg2 = static_cast< int >(val2); | |
10777 | { | |
10778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10779 | result = (int)(arg1)->GetMetric(arg2); | |
10780 | wxPyEndAllowThreads(__tstate); | |
10781 | if (PyErr_Occurred()) SWIG_fail; | |
10782 | } | |
10783 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10784 | return resultobj; | |
10785 | fail: | |
10786 | return NULL; | |
10787 | } | |
10788 | ||
10789 | ||
5eb8189c | 10790 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10791 | PyObject *resultobj = 0; |
5eb8189c | 10792 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10793 | int arg2 ; |
10794 | int arg3 ; | |
10795 | void *argp1 = 0 ; | |
10796 | int res1 = 0 ; | |
10797 | int val2 ; | |
10798 | int ecode2 = 0 ; | |
10799 | int val3 ; | |
10800 | int ecode3 = 0 ; | |
10801 | PyObject * obj0 = 0 ; | |
10802 | PyObject * obj1 = 0 ; | |
10803 | PyObject * obj2 = 0 ; | |
10804 | char * kwnames[] = { | |
10805 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10806 | }; | |
10807 | ||
5eb8189c RD |
10808 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10809 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10810 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10811 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10812 | } |
5eb8189c | 10813 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10814 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10815 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10816 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10817 | } |
10818 | arg2 = static_cast< int >(val2); | |
10819 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10820 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10821 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10822 | } |
10823 | arg3 = static_cast< int >(val3); | |
10824 | { | |
10825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10826 | (arg1)->SetMetric(arg2,arg3); | |
10827 | wxPyEndAllowThreads(__tstate); | |
10828 | if (PyErr_Occurred()) SWIG_fail; | |
10829 | } | |
10830 | resultobj = SWIG_Py_Void(); | |
10831 | return resultobj; | |
10832 | fail: | |
10833 | return NULL; | |
10834 | } | |
10835 | ||
10836 | ||
5eb8189c | 10837 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10838 | PyObject *resultobj = 0; |
5eb8189c | 10839 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10840 | int arg2 ; |
10841 | wxFont *arg3 = 0 ; | |
10842 | void *argp1 = 0 ; | |
10843 | int res1 = 0 ; | |
10844 | int val2 ; | |
10845 | int ecode2 = 0 ; | |
10846 | void *argp3 = 0 ; | |
10847 | int res3 = 0 ; | |
10848 | PyObject * obj0 = 0 ; | |
10849 | PyObject * obj1 = 0 ; | |
10850 | PyObject * obj2 = 0 ; | |
10851 | char * kwnames[] = { | |
10852 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10853 | }; | |
10854 | ||
5eb8189c RD |
10855 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10856 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10857 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10859 | } |
5eb8189c | 10860 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10861 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10862 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10863 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10864 | } |
10865 | arg2 = static_cast< int >(val2); | |
10866 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10867 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10868 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10869 | } |
10870 | if (!argp3) { | |
5eb8189c | 10871 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10872 | } |
10873 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10874 | { | |
10875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10876 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10877 | wxPyEndAllowThreads(__tstate); | |
10878 | if (PyErr_Occurred()) SWIG_fail; | |
10879 | } | |
10880 | resultobj = SWIG_Py_Void(); | |
10881 | return resultobj; | |
10882 | fail: | |
10883 | return NULL; | |
10884 | } | |
10885 | ||
10886 | ||
5eb8189c | 10887 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10888 | PyObject *resultobj = 0; |
5eb8189c | 10889 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10890 | int arg2 ; |
10891 | wxFont result; | |
10892 | void *argp1 = 0 ; | |
10893 | int res1 = 0 ; | |
10894 | int val2 ; | |
10895 | int ecode2 = 0 ; | |
10896 | PyObject * obj0 = 0 ; | |
10897 | PyObject * obj1 = 0 ; | |
10898 | char * kwnames[] = { | |
10899 | (char *) "self",(char *) "id", NULL | |
10900 | }; | |
10901 | ||
5eb8189c RD |
10902 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10903 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10904 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10905 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10906 | } |
5eb8189c | 10907 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10908 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10909 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10910 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10911 | } |
10912 | arg2 = static_cast< int >(val2); | |
10913 | { | |
10914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10915 | result = (arg1)->GetFont(arg2); | |
10916 | wxPyEndAllowThreads(__tstate); | |
10917 | if (PyErr_Occurred()) SWIG_fail; | |
10918 | } | |
10919 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10920 | return resultobj; | |
10921 | fail: | |
10922 | return NULL; | |
10923 | } | |
10924 | ||
10925 | ||
5eb8189c | 10926 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10927 | PyObject *resultobj = 0; |
5eb8189c | 10928 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10929 | int arg2 ; |
10930 | wxColour result; | |
10931 | void *argp1 = 0 ; | |
10932 | int res1 = 0 ; | |
10933 | int val2 ; | |
10934 | int ecode2 = 0 ; | |
10935 | PyObject * obj0 = 0 ; | |
10936 | PyObject * obj1 = 0 ; | |
10937 | char * kwnames[] = { | |
10938 | (char *) "self",(char *) "id", NULL | |
10939 | }; | |
10940 | ||
5eb8189c RD |
10941 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10942 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10943 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10945 | } |
5eb8189c | 10946 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10947 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10948 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10949 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10950 | } |
10951 | arg2 = static_cast< int >(val2); | |
10952 | { | |
10953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10954 | result = (arg1)->GetColour(arg2); | |
10955 | wxPyEndAllowThreads(__tstate); | |
10956 | if (PyErr_Occurred()) SWIG_fail; | |
10957 | } | |
10958 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10959 | return resultobj; | |
10960 | fail: | |
10961 | return NULL; | |
10962 | } | |
10963 | ||
10964 | ||
5eb8189c | 10965 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10966 | PyObject *resultobj = 0; |
5eb8189c | 10967 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10968 | int arg2 ; |
10969 | wxColor *arg3 = 0 ; | |
10970 | void *argp1 = 0 ; | |
10971 | int res1 = 0 ; | |
10972 | int val2 ; | |
10973 | int ecode2 = 0 ; | |
10974 | void *argp3 = 0 ; | |
10975 | int res3 = 0 ; | |
10976 | PyObject * obj0 = 0 ; | |
10977 | PyObject * obj1 = 0 ; | |
10978 | PyObject * obj2 = 0 ; | |
10979 | char * kwnames[] = { | |
10980 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10981 | }; | |
10982 | ||
5eb8189c RD |
10983 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10984 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10985 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10986 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10987 | } |
5eb8189c | 10988 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10989 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10990 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10991 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10992 | } |
10993 | arg2 = static_cast< int >(val2); | |
10994 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10995 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10996 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10997 | } |
10998 | if (!argp3) { | |
5eb8189c | 10999 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
11000 | } |
11001 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
11002 | { | |
11003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11004 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
11005 | wxPyEndAllowThreads(__tstate); | |
11006 | if (PyErr_Occurred()) SWIG_fail; | |
11007 | } | |
11008 | resultobj = SWIG_Py_Void(); | |
11009 | return resultobj; | |
11010 | fail: | |
11011 | return NULL; | |
11012 | } | |
11013 | ||
11014 | ||
5eb8189c | 11015 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11016 | PyObject *resultobj = 0; |
5eb8189c | 11017 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11018 | int arg2 ; |
11019 | wxColour result; | |
11020 | void *argp1 = 0 ; | |
11021 | int res1 = 0 ; | |
11022 | int val2 ; | |
11023 | int ecode2 = 0 ; | |
11024 | PyObject * obj0 = 0 ; | |
11025 | PyObject * obj1 = 0 ; | |
11026 | char * kwnames[] = { | |
11027 | (char *) "self",(char *) "id", NULL | |
11028 | }; | |
11029 | ||
5eb8189c RD |
11030 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
11031 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11032 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11033 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11034 | } |
5eb8189c | 11035 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11036 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11037 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11038 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11039 | } |
11040 | arg2 = static_cast< int >(val2); | |
11041 | { | |
11042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11043 | result = (arg1)->GetColor(arg2); | |
11044 | wxPyEndAllowThreads(__tstate); | |
11045 | if (PyErr_Occurred()) SWIG_fail; | |
11046 | } | |
11047 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
11048 | return resultobj; | |
11049 | fail: | |
11050 | return NULL; | |
11051 | } | |
11052 | ||
11053 | ||
5eb8189c | 11054 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11055 | PyObject *resultobj = 0; |
5eb8189c | 11056 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11057 | int arg2 ; |
11058 | wxColour *arg3 = 0 ; | |
11059 | void *argp1 = 0 ; | |
11060 | int res1 = 0 ; | |
11061 | int val2 ; | |
11062 | int ecode2 = 0 ; | |
11063 | wxColour temp3 ; | |
11064 | PyObject * obj0 = 0 ; | |
11065 | PyObject * obj1 = 0 ; | |
11066 | PyObject * obj2 = 0 ; | |
11067 | char * kwnames[] = { | |
11068 | (char *) "self",(char *) "id",(char *) "color", NULL | |
11069 | }; | |
11070 | ||
5eb8189c RD |
11071 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11072 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11073 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11075 | } |
5eb8189c | 11076 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11077 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11078 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11079 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11080 | } |
11081 | arg2 = static_cast< int >(val2); | |
11082 | { | |
11083 | arg3 = &temp3; | |
11084 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11085 | } | |
11086 | { | |
11087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11088 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
11089 | wxPyEndAllowThreads(__tstate); | |
11090 | if (PyErr_Occurred()) SWIG_fail; | |
11091 | } | |
11092 | resultobj = SWIG_Py_Void(); | |
11093 | return resultobj; | |
11094 | fail: | |
11095 | return NULL; | |
11096 | } | |
11097 | ||
11098 | ||
5eb8189c | 11099 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11100 | PyObject *resultobj = 0; |
5eb8189c | 11101 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11102 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11103 | wxWindow *arg3 = (wxWindow *) 0 ; |
11104 | int arg4 ; | |
11105 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11106 | void *argp1 = 0 ; |
11107 | int res1 = 0 ; | |
11108 | void *argp2 = 0 ; | |
11109 | int res2 = 0 ; | |
97ab0f6a RD |
11110 | void *argp3 = 0 ; |
11111 | int res3 = 0 ; | |
11112 | int val4 ; | |
11113 | int ecode4 = 0 ; | |
11114 | wxRect temp5 ; | |
27e45892 RD |
11115 | PyObject * obj0 = 0 ; |
11116 | PyObject * obj1 = 0 ; | |
11117 | PyObject * obj2 = 0 ; | |
11118 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11119 | PyObject * obj4 = 0 ; |
27e45892 | 11120 | char * kwnames[] = { |
97ab0f6a | 11121 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11122 | }; |
11123 | ||
5eb8189c RD |
11124 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11125 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11126 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11127 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11128 | } |
5eb8189c | 11129 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11130 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11131 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11132 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11133 | } |
11134 | if (!argp2) { | |
5eb8189c | 11135 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11136 | } |
11137 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11138 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11139 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11140 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11141 | } |
11142 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11143 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11144 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11145 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11146 | } |
97ab0f6a | 11147 | arg4 = static_cast< int >(val4); |
27e45892 | 11148 | { |
97ab0f6a RD |
11149 | arg5 = &temp5; |
11150 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11151 | } |
11152 | { | |
11153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11154 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11155 | wxPyEndAllowThreads(__tstate); |
11156 | if (PyErr_Occurred()) SWIG_fail; | |
11157 | } | |
11158 | resultobj = SWIG_Py_Void(); | |
11159 | return resultobj; | |
11160 | fail: | |
11161 | return NULL; | |
11162 | } | |
11163 | ||
11164 | ||
5eb8189c | 11165 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11166 | PyObject *resultobj = 0; |
5eb8189c | 11167 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11168 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11169 | wxWindow *arg3 = (wxWindow *) 0 ; |
11170 | int arg4 ; | |
11171 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11172 | void *argp1 = 0 ; |
11173 | int res1 = 0 ; | |
11174 | void *argp2 = 0 ; | |
11175 | int res2 = 0 ; | |
97ab0f6a RD |
11176 | void *argp3 = 0 ; |
11177 | int res3 = 0 ; | |
11178 | int val4 ; | |
11179 | int ecode4 = 0 ; | |
11180 | wxRect temp5 ; | |
27e45892 RD |
11181 | PyObject * obj0 = 0 ; |
11182 | PyObject * obj1 = 0 ; | |
11183 | PyObject * obj2 = 0 ; | |
11184 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11185 | PyObject * obj4 = 0 ; |
27e45892 | 11186 | char * kwnames[] = { |
97ab0f6a | 11187 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11188 | }; |
11189 | ||
5eb8189c RD |
11190 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11191 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11192 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11193 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11194 | } |
5eb8189c | 11195 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11196 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11197 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11198 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11199 | } |
11200 | if (!argp2) { | |
5eb8189c | 11201 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11202 | } |
11203 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11204 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11205 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11206 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11207 | } |
11208 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11209 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11210 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11211 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11212 | } |
97ab0f6a | 11213 | arg4 = static_cast< int >(val4); |
27e45892 | 11214 | { |
97ab0f6a RD |
11215 | arg5 = &temp5; |
11216 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11217 | } |
11218 | { | |
11219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11220 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11221 | wxPyEndAllowThreads(__tstate); |
11222 | if (PyErr_Occurred()) SWIG_fail; | |
11223 | } | |
11224 | resultobj = SWIG_Py_Void(); | |
11225 | return resultobj; | |
11226 | fail: | |
11227 | return NULL; | |
11228 | } | |
11229 | ||
11230 | ||
5eb8189c | 11231 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11232 | PyObject *resultobj = 0; |
5eb8189c | 11233 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11234 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11235 | wxWindow *arg3 = (wxWindow *) 0 ; |
11236 | wxString *arg4 = 0 ; | |
11237 | wxRect *arg5 = 0 ; | |
5eb8189c | 11238 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
11239 | void *argp1 = 0 ; |
11240 | int res1 = 0 ; | |
11241 | void *argp2 = 0 ; | |
11242 | int res2 = 0 ; | |
97ab0f6a RD |
11243 | void *argp3 = 0 ; |
11244 | int res3 = 0 ; | |
11245 | bool temp4 = false ; | |
11246 | wxRect temp5 ; | |
11247 | void *argp6 = 0 ; | |
11248 | int res6 = 0 ; | |
27e45892 RD |
11249 | PyObject * obj0 = 0 ; |
11250 | PyObject * obj1 = 0 ; | |
11251 | PyObject * obj2 = 0 ; | |
11252 | PyObject * obj3 = 0 ; | |
11253 | PyObject * obj4 = 0 ; | |
97ab0f6a | 11254 | PyObject * obj5 = 0 ; |
27e45892 | 11255 | char * kwnames[] = { |
97ab0f6a | 11256 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11257 | }; |
11258 | ||
5eb8189c RD |
11259 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11260 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11261 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11263 | } |
5eb8189c | 11264 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11265 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11266 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11267 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11268 | } |
11269 | if (!argp2) { | |
5eb8189c | 11270 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11271 | } |
11272 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11273 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11274 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11275 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11276 | } |
11277 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11278 | { |
97ab0f6a RD |
11279 | arg4 = wxString_in_helper(obj3); |
11280 | if (arg4 == NULL) SWIG_fail; | |
11281 | temp4 = true; | |
27e45892 RD |
11282 | } |
11283 | { | |
97ab0f6a RD |
11284 | arg5 = &temp5; |
11285 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11286 | } |
5eb8189c | 11287 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11288 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11289 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11290 | } |
97ab0f6a | 11291 | if (!argp6) { |
5eb8189c | 11292 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11293 | } |
5eb8189c | 11294 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11295 | { |
11296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11297 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11298 | wxPyEndAllowThreads(__tstate); |
11299 | if (PyErr_Occurred()) SWIG_fail; | |
11300 | } | |
11301 | resultobj = SWIG_Py_Void(); | |
11302 | { | |
97ab0f6a RD |
11303 | if (temp4) |
11304 | delete arg4; | |
27e45892 RD |
11305 | } |
11306 | return resultobj; | |
11307 | fail: | |
11308 | { | |
97ab0f6a RD |
11309 | if (temp4) |
11310 | delete arg4; | |
27e45892 RD |
11311 | } |
11312 | return NULL; | |
11313 | } | |
11314 | ||
11315 | ||
5eb8189c | 11316 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11317 | PyObject *resultobj = 0; |
5eb8189c | 11318 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11319 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11320 | wxWindow *arg3 = (wxWindow *) 0 ; |
11321 | wxRect *arg4 = 0 ; | |
5eb8189c | 11322 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11323 | void *argp1 = 0 ; |
11324 | int res1 = 0 ; | |
11325 | void *argp2 = 0 ; | |
11326 | int res2 = 0 ; | |
97ab0f6a RD |
11327 | void *argp3 = 0 ; |
11328 | int res3 = 0 ; | |
11329 | wxRect temp4 ; | |
11330 | void *argp5 = 0 ; | |
11331 | int res5 = 0 ; | |
27e45892 RD |
11332 | PyObject * obj0 = 0 ; |
11333 | PyObject * obj1 = 0 ; | |
11334 | PyObject * obj2 = 0 ; | |
11335 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11336 | PyObject * obj4 = 0 ; |
27e45892 | 11337 | char * kwnames[] = { |
97ab0f6a | 11338 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11339 | }; |
11340 | ||
5eb8189c RD |
11341 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11342 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11343 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11344 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11345 | } |
5eb8189c | 11346 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11347 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11348 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11349 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11350 | } |
11351 | if (!argp2) { | |
5eb8189c | 11352 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11353 | } |
11354 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11355 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11356 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11357 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11358 | } |
11359 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11360 | { |
97ab0f6a RD |
11361 | arg4 = &temp4; |
11362 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11363 | } |
5eb8189c | 11364 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11365 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11366 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11367 | } |
97ab0f6a | 11368 | if (!argp5) { |
5eb8189c | 11369 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11370 | } |
5eb8189c | 11371 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11372 | { |
11373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11374 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11375 | wxPyEndAllowThreads(__tstate); |
11376 | if (PyErr_Occurred()) SWIG_fail; | |
11377 | } | |
11378 | resultobj = SWIG_Py_Void(); | |
11379 | return resultobj; | |
11380 | fail: | |
11381 | return NULL; | |
11382 | } | |
11383 | ||
11384 | ||
5eb8189c | 11385 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11386 | PyObject *resultobj = 0; |
5eb8189c | 11387 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11388 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11389 | wxWindow *arg3 = (wxWindow *) 0 ; |
11390 | wxRect *arg4 = 0 ; | |
5eb8189c | 11391 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11392 | void *argp1 = 0 ; |
11393 | int res1 = 0 ; | |
11394 | void *argp2 = 0 ; | |
11395 | int res2 = 0 ; | |
97ab0f6a RD |
11396 | void *argp3 = 0 ; |
11397 | int res3 = 0 ; | |
11398 | wxRect temp4 ; | |
11399 | void *argp5 = 0 ; | |
11400 | int res5 = 0 ; | |
27e45892 RD |
11401 | PyObject * obj0 = 0 ; |
11402 | PyObject * obj1 = 0 ; | |
11403 | PyObject * obj2 = 0 ; | |
11404 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11405 | PyObject * obj4 = 0 ; |
27e45892 | 11406 | char * kwnames[] = { |
97ab0f6a | 11407 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11408 | }; |
11409 | ||
5eb8189c RD |
11410 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11411 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11412 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11413 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11414 | } |
5eb8189c | 11415 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11416 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11417 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11418 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11419 | } |
11420 | if (!argp2) { | |
5eb8189c | 11421 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11422 | } |
11423 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11424 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11425 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11426 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11427 | } |
11428 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11429 | { |
97ab0f6a RD |
11430 | arg4 = &temp4; |
11431 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11432 | } |
5eb8189c | 11433 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11434 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11435 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11436 | } |
97ab0f6a | 11437 | if (!argp5) { |
5eb8189c | 11438 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11439 | } |
5eb8189c | 11440 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11441 | { |
11442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11443 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11444 | wxPyEndAllowThreads(__tstate); |
11445 | if (PyErr_Occurred()) SWIG_fail; | |
11446 | } | |
11447 | resultobj = SWIG_Py_Void(); | |
11448 | return resultobj; | |
11449 | fail: | |
11450 | return NULL; | |
11451 | } | |
11452 | ||
11453 | ||
5eb8189c | 11454 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11455 | PyObject *resultobj = 0; |
5eb8189c | 11456 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11457 | wxDC *arg2 = 0 ; |
97ab0f6a | 11458 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11459 | int arg4 ; |
97ab0f6a RD |
11460 | int arg5 ; |
11461 | wxRect *arg6 = 0 ; | |
5eb8189c | 11462 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11463 | void *argp1 = 0 ; |
11464 | int res1 = 0 ; | |
11465 | void *argp2 = 0 ; | |
11466 | int res2 = 0 ; | |
97ab0f6a RD |
11467 | void *argp3 = 0 ; |
11468 | int res3 = 0 ; | |
27e45892 RD |
11469 | int val4 ; |
11470 | int ecode4 = 0 ; | |
97ab0f6a RD |
11471 | int val5 ; |
11472 | int ecode5 = 0 ; | |
11473 | wxRect temp6 ; | |
11474 | void *argp7 = 0 ; | |
11475 | int res7 = 0 ; | |
27e45892 RD |
11476 | PyObject * obj0 = 0 ; |
11477 | PyObject * obj1 = 0 ; | |
11478 | PyObject * obj2 = 0 ; | |
11479 | PyObject * obj3 = 0 ; | |
11480 | PyObject * obj4 = 0 ; | |
11481 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11482 | PyObject * obj6 = 0 ; |
27e45892 | 11483 | char * kwnames[] = { |
97ab0f6a | 11484 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11485 | }; |
11486 | ||
5eb8189c RD |
11487 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11488 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11489 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11490 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11491 | } |
5eb8189c | 11492 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11493 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11494 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11495 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11496 | } |
11497 | if (!argp2) { | |
5eb8189c | 11498 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11499 | } |
11500 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11501 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11502 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11503 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11504 | } |
11505 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11506 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11507 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11508 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11509 | } |
11510 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11511 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11512 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11513 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11514 | } |
11515 | arg5 = static_cast< int >(val5); | |
27e45892 | 11516 | { |
97ab0f6a RD |
11517 | arg6 = &temp6; |
11518 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11519 | } |
5eb8189c | 11520 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11521 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11522 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11523 | } |
97ab0f6a | 11524 | if (!argp7) { |
5eb8189c | 11525 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11526 | } |
5eb8189c | 11527 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11528 | { |
11529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11530 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11531 | wxPyEndAllowThreads(__tstate); |
11532 | if (PyErr_Occurred()) SWIG_fail; | |
11533 | } | |
11534 | resultobj = SWIG_Py_Void(); | |
11535 | return resultobj; | |
11536 | fail: | |
11537 | return NULL; | |
11538 | } | |
11539 | ||
11540 | ||
5eb8189c | 11541 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11542 | PyObject *obj; |
11543 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11544 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11545 | return SWIG_Py_Void(); |
11546 | } | |
11547 | ||
5eb8189c | 11548 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11549 | PyObject *resultobj = 0; |
5eb8189c | 11550 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11551 | |
5eb8189c | 11552 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11553 | { |
11554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11555 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11556 | wxPyEndAllowThreads(__tstate); |
11557 | if (PyErr_Occurred()) SWIG_fail; | |
11558 | } | |
5eb8189c | 11559 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11560 | return resultobj; |
11561 | fail: | |
11562 | return NULL; | |
11563 | } | |
11564 | ||
11565 | ||
5eb8189c | 11566 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11567 | PyObject *obj; |
11568 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11569 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11570 | return SWIG_Py_Void(); |
11571 | } | |
11572 | ||
5eb8189c | 11573 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11574 | return SWIG_Python_InitShadowInstance(args); |
11575 | } | |
11576 | ||
5eb8189c | 11577 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11578 | PyObject *resultobj = 0; |
11579 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11580 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11581 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11582 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11583 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11584 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11585 | void *argp1 = 0 ; |
11586 | int res1 = 0 ; | |
11587 | void *argp2 = 0 ; | |
11588 | int res2 = 0 ; | |
11589 | void *argp3 = 0 ; | |
11590 | int res3 = 0 ; | |
11591 | int val4 ; | |
11592 | int ecode4 = 0 ; | |
9b940138 RD |
11593 | long val5 ; |
11594 | int ecode5 = 0 ; | |
27e45892 RD |
11595 | PyObject * obj0 = 0 ; |
11596 | PyObject * obj1 = 0 ; | |
11597 | PyObject * obj2 = 0 ; | |
11598 | PyObject * obj3 = 0 ; | |
9b940138 | 11599 | PyObject * obj4 = 0 ; |
27e45892 | 11600 | char * kwnames[] = { |
9b940138 | 11601 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11602 | }; |
11603 | ||
5eb8189c | 11604 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11605 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11606 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11608 | } |
11609 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11610 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11611 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11612 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11613 | } |
5eb8189c RD |
11614 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11615 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11616 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11617 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11618 | } |
11619 | if (!argp3) { | |
5eb8189c | 11620 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11621 | } |
5eb8189c | 11622 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11623 | if (obj3) { |
11624 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11625 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11626 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11627 | } |
11628 | arg4 = static_cast< int >(val4); | |
11629 | } | |
9b940138 RD |
11630 | if (obj4) { |
11631 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11632 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11633 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11634 | } |
11635 | arg5 = static_cast< long >(val5); | |
11636 | } | |
27e45892 RD |
11637 | { |
11638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11639 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11640 | wxPyEndAllowThreads(__tstate); |
11641 | if (PyErr_Occurred()) SWIG_fail; | |
11642 | } | |
5eb8189c | 11643 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11644 | return resultobj; |
11645 | fail: | |
11646 | return NULL; | |
11647 | } | |
11648 | ||
11649 | ||
5eb8189c | 11650 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11651 | PyObject *resultobj = 0; |
5eb8189c | 11652 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11653 | void *argp1 = 0 ; |
11654 | int res1 = 0 ; | |
11655 | PyObject *swig_obj[1] ; | |
11656 | ||
11657 | if (!args) SWIG_fail; | |
11658 | swig_obj[0] = args; | |
5eb8189c | 11659 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11660 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11662 | } |
5eb8189c | 11663 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11664 | { |
11665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11666 | delete arg1; | |
11667 | ||
11668 | wxPyEndAllowThreads(__tstate); | |
11669 | if (PyErr_Occurred()) SWIG_fail; | |
11670 | } | |
11671 | resultobj = SWIG_Py_Void(); | |
11672 | return resultobj; | |
11673 | fail: | |
11674 | return NULL; | |
11675 | } | |
11676 | ||
11677 | ||
5eb8189c | 11678 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11679 | PyObject *resultobj = 0; |
5eb8189c RD |
11680 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11681 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11682 | void *argp1 = 0 ; |
11683 | int res1 = 0 ; | |
11684 | void *argp2 = 0 ; | |
11685 | int res2 = 0 ; | |
11686 | PyObject * obj0 = 0 ; | |
11687 | PyObject * obj1 = 0 ; | |
11688 | char * kwnames[] = { | |
11689 | (char *) "self",(char *) "pane", NULL | |
11690 | }; | |
11691 | ||
5eb8189c RD |
11692 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11693 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11694 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11695 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11696 | } |
5eb8189c RD |
11697 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11698 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11699 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11700 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11701 | } |
11702 | if (!argp2) { | |
5eb8189c | 11703 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11704 | } |
5eb8189c | 11705 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11706 | { |
11707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11708 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11709 | wxPyEndAllowThreads(__tstate); |
11710 | if (PyErr_Occurred()) SWIG_fail; | |
11711 | } | |
11712 | resultobj = SWIG_Py_Void(); | |
11713 | return resultobj; | |
11714 | fail: | |
11715 | return NULL; | |
11716 | } | |
11717 | ||
11718 | ||
eccab1a7 RD |
11719 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11720 | PyObject *resultobj = 0; | |
11721 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; | |
11722 | wxAuiManager *result = 0 ; | |
11723 | void *argp1 = 0 ; | |
11724 | int res1 = 0 ; | |
11725 | PyObject *swig_obj[1] ; | |
11726 | ||
11727 | if (!args) SWIG_fail; | |
11728 | swig_obj[0] = args; | |
11729 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
11730 | if (!SWIG_IsOK(res1)) { | |
11731 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'"); | |
11732 | } | |
11733 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); | |
11734 | { | |
11735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11736 | result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager(); | |
11737 | wxPyEndAllowThreads(__tstate); | |
11738 | if (PyErr_Occurred()) SWIG_fail; | |
11739 | } | |
11740 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
11741 | return resultobj; | |
11742 | fail: | |
11743 | return NULL; | |
11744 | } | |
11745 | ||
11746 | ||
5eb8189c | 11747 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11748 | PyObject *obj; |
11749 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11750 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11751 | return SWIG_Py_Void(); |
11752 | } | |
11753 | ||
5eb8189c | 11754 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11755 | return SWIG_Python_InitShadowInstance(args); |
11756 | } | |
11757 | ||
5172800e | 11758 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11759 | PyObject *resultobj = 0; |
5172800e RD |
11760 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11761 | int arg2 = (int) 0 ; | |
11762 | wxAuiNotebookEvent *result = 0 ; | |
11763 | int val1 ; | |
11764 | int ecode1 = 0 ; | |
11765 | int val2 ; | |
11766 | int ecode2 = 0 ; | |
11767 | PyObject * obj0 = 0 ; | |
11768 | PyObject * obj1 = 0 ; | |
11769 | char * kwnames[] = { | |
11770 | (char *) "command_type",(char *) "win_id", NULL | |
11771 | }; | |
5c8c7dd3 | 11772 | |
5172800e RD |
11773 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11774 | if (obj0) { | |
11775 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11776 | if (!SWIG_IsOK(ecode1)) { | |
11777 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11778 | } | |
11779 | arg1 = static_cast< wxEventType >(val1); | |
11780 | } | |
11781 | if (obj1) { | |
11782 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11783 | if (!SWIG_IsOK(ecode2)) { | |
11784 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11785 | } | |
11786 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11787 | } |
5c8c7dd3 RD |
11788 | { |
11789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11790 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11791 | wxPyEndAllowThreads(__tstate); |
11792 | if (PyErr_Occurred()) SWIG_fail; | |
11793 | } | |
5172800e | 11794 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11795 | return resultobj; |
11796 | fail: | |
11797 | return NULL; | |
11798 | } | |
11799 | ||
11800 | ||
5172800e | 11801 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11802 | PyObject *resultobj = 0; |
5172800e RD |
11803 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11804 | int arg2 ; | |
8f514ab4 RD |
11805 | void *argp1 = 0 ; |
11806 | int res1 = 0 ; | |
5172800e RD |
11807 | int val2 ; |
11808 | int ecode2 = 0 ; | |
8f514ab4 RD |
11809 | PyObject * obj0 = 0 ; |
11810 | PyObject * obj1 = 0 ; | |
11811 | char * kwnames[] = { | |
5172800e | 11812 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11813 | }; |
11814 | ||
5172800e RD |
11815 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11816 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11817 | if (!SWIG_IsOK(res1)) { |
5172800e | 11818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11819 | } |
5172800e RD |
11820 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11821 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11822 | if (!SWIG_IsOK(ecode2)) { | |
11823 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11824 | } | |
11825 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11826 | { |
11827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11828 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11829 | wxPyEndAllowThreads(__tstate); |
11830 | if (PyErr_Occurred()) SWIG_fail; | |
11831 | } | |
11832 | resultobj = SWIG_Py_Void(); | |
11833 | return resultobj; | |
11834 | fail: | |
11835 | return NULL; | |
11836 | } | |
11837 | ||
11838 | ||
5172800e | 11839 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11840 | PyObject *resultobj = 0; |
5172800e RD |
11841 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11842 | int result; | |
8f514ab4 RD |
11843 | void *argp1 = 0 ; |
11844 | int res1 = 0 ; | |
5172800e | 11845 | PyObject *swig_obj[1] ; |
8f514ab4 | 11846 | |
5172800e RD |
11847 | if (!args) SWIG_fail; |
11848 | swig_obj[0] = args; | |
11849 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11850 | if (!SWIG_IsOK(res1)) { |
5172800e | 11851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11852 | } |
5172800e | 11853 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11854 | { |
11855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11856 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11857 | wxPyEndAllowThreads(__tstate); |
11858 | if (PyErr_Occurred()) SWIG_fail; | |
11859 | } | |
5172800e | 11860 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11861 | return resultobj; |
11862 | fail: | |
11863 | return NULL; | |
11864 | } | |
11865 | ||
11866 | ||
5172800e | 11867 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11868 | PyObject *resultobj = 0; |
5172800e RD |
11869 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11870 | int arg2 ; | |
8f514ab4 RD |
11871 | void *argp1 = 0 ; |
11872 | int res1 = 0 ; | |
5172800e RD |
11873 | int val2 ; |
11874 | int ecode2 = 0 ; | |
8f514ab4 RD |
11875 | PyObject * obj0 = 0 ; |
11876 | PyObject * obj1 = 0 ; | |
11877 | char * kwnames[] = { | |
5172800e | 11878 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11879 | }; |
11880 | ||
5172800e RD |
11881 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11882 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11883 | if (!SWIG_IsOK(res1)) { |
5172800e | 11884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11885 | } |
5172800e RD |
11886 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11887 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11888 | if (!SWIG_IsOK(ecode2)) { | |
11889 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11890 | } | |
11891 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11892 | { |
11893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11894 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11895 | wxPyEndAllowThreads(__tstate); |
11896 | if (PyErr_Occurred()) SWIG_fail; | |
11897 | } | |
11898 | resultobj = SWIG_Py_Void(); | |
11899 | return resultobj; | |
11900 | fail: | |
11901 | return NULL; | |
11902 | } | |
11903 | ||
11904 | ||
5172800e | 11905 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11906 | PyObject *resultobj = 0; |
5172800e RD |
11907 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11908 | int result; | |
5c8c7dd3 RD |
11909 | void *argp1 = 0 ; |
11910 | int res1 = 0 ; | |
5172800e | 11911 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11912 | |
5172800e RD |
11913 | if (!args) SWIG_fail; |
11914 | swig_obj[0] = args; | |
11915 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11916 | if (!SWIG_IsOK(res1)) { |
5172800e | 11917 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11918 | } |
5172800e | 11919 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11920 | { |
11921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11922 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11923 | wxPyEndAllowThreads(__tstate); |
11924 | if (PyErr_Occurred()) SWIG_fail; | |
11925 | } | |
5172800e | 11926 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11927 | return resultobj; |
11928 | fail: | |
11929 | return NULL; | |
11930 | } | |
11931 | ||
11932 | ||
5172800e | 11933 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11934 | PyObject *resultobj = 0; |
5172800e RD |
11935 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11936 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11937 | void *argp1 = 0 ; |
11938 | int res1 = 0 ; | |
11939 | void *argp2 = 0 ; | |
11940 | int res2 = 0 ; | |
5c8c7dd3 RD |
11941 | PyObject * obj0 = 0 ; |
11942 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11943 | char * kwnames[] = { |
5172800e | 11944 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11945 | }; |
11946 | ||
5172800e RD |
11947 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11948 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11949 | if (!SWIG_IsOK(res1)) { |
5172800e | 11950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11951 | } |
5172800e RD |
11952 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11953 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11954 | if (!SWIG_IsOK(res2)) { |
5172800e | 11955 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11956 | } |
5172800e | 11957 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11958 | { |
11959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11960 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11961 | wxPyEndAllowThreads(__tstate); |
11962 | if (PyErr_Occurred()) SWIG_fail; | |
11963 | } | |
11964 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11965 | return resultobj; |
11966 | fail: | |
5c8c7dd3 RD |
11967 | return NULL; |
11968 | } | |
11969 | ||
11970 | ||
5172800e | 11971 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11972 | PyObject *resultobj = 0; |
5172800e RD |
11973 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11974 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11975 | void *argp1 = 0 ; |
11976 | int res1 = 0 ; | |
5172800e | 11977 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11978 | |
5172800e RD |
11979 | if (!args) SWIG_fail; |
11980 | swig_obj[0] = args; | |
11981 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11982 | if (!SWIG_IsOK(res1)) { |
5172800e | 11983 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11984 | } |
5172800e | 11985 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11986 | { |
11987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11988 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
11989 | wxPyEndAllowThreads(__tstate); |
11990 | if (PyErr_Occurred()) SWIG_fail; | |
11991 | } | |
5172800e | 11992 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
11993 | return resultobj; |
11994 | fail: | |
11995 | return NULL; | |
11996 | } | |
11997 | ||
11998 | ||
5172800e | 11999 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12000 | PyObject *resultobj = 0; |
5172800e RD |
12001 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12002 | int arg2 ; | |
5c8c7dd3 RD |
12003 | void *argp1 = 0 ; |
12004 | int res1 = 0 ; | |
5172800e RD |
12005 | int val2 ; |
12006 | int ecode2 = 0 ; | |
12007 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12008 | |
5172800e RD |
12009 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
12010 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12011 | if (!SWIG_IsOK(res1)) { |
5172800e | 12012 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12013 | } |
5172800e RD |
12014 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12015 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12016 | if (!SWIG_IsOK(ecode2)) { | |
12017 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 12018 | } |
5172800e RD |
12019 | arg2 = static_cast< int >(val2); |
12020 | if (arg1) (arg1)->old_selection = arg2; | |
12021 | ||
12022 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12023 | return resultobj; |
12024 | fail: | |
12025 | return NULL; | |
12026 | } | |
12027 | ||
12028 | ||
5172800e | 12029 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12030 | PyObject *resultobj = 0; |
5172800e | 12031 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
12032 | int result; |
12033 | void *argp1 = 0 ; | |
12034 | int res1 = 0 ; | |
5172800e | 12035 | PyObject *swig_obj[1] ; |
d95b9f2b | 12036 | |
5172800e RD |
12037 | if (!args) SWIG_fail; |
12038 | swig_obj[0] = args; | |
12039 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 12040 | if (!SWIG_IsOK(res1)) { |
5172800e | 12041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 12042 | } |
5172800e RD |
12043 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12044 | result = (int) ((arg1)->old_selection); | |
12045 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12046 | return resultobj; | |
12047 | fail: | |
12048 | return NULL; | |
12049 | } | |
12050 | ||
12051 | ||
12052 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12053 | PyObject *resultobj = 0; | |
12054 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12055 | int arg2 ; | |
12056 | void *argp1 = 0 ; | |
12057 | int res1 = 0 ; | |
12058 | int val2 ; | |
12059 | int ecode2 = 0 ; | |
12060 | PyObject *swig_obj[2] ; | |
12061 | ||
12062 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12063 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12064 | if (!SWIG_IsOK(res1)) { | |
12065 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12066 | } |
5172800e RD |
12067 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12068 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12069 | if (!SWIG_IsOK(ecode2)) { | |
12070 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 12071 | } |
5172800e RD |
12072 | arg2 = static_cast< int >(val2); |
12073 | if (arg1) (arg1)->selection = arg2; | |
12074 | ||
12075 | resultobj = SWIG_Py_Void(); | |
12076 | return resultobj; | |
12077 | fail: | |
12078 | return NULL; | |
12079 | } | |
12080 | ||
12081 | ||
12082 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12083 | PyObject *resultobj = 0; | |
12084 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12085 | int result; | |
12086 | void *argp1 = 0 ; | |
12087 | int res1 = 0 ; | |
12088 | PyObject *swig_obj[1] ; | |
12089 | ||
12090 | if (!args) SWIG_fail; | |
12091 | swig_obj[0] = args; | |
12092 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12093 | if (!SWIG_IsOK(res1)) { | |
12094 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12095 | } |
5172800e RD |
12096 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12097 | result = (int) ((arg1)->selection); | |
d95b9f2b | 12098 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
12099 | return resultobj; |
12100 | fail: | |
d95b9f2b RD |
12101 | return NULL; |
12102 | } | |
12103 | ||
12104 | ||
5172800e | 12105 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12106 | PyObject *resultobj = 0; |
5172800e RD |
12107 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12108 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
12109 | void *argp1 = 0 ; |
12110 | int res1 = 0 ; | |
12111 | void *argp2 = 0 ; | |
12112 | int res2 = 0 ; | |
5172800e | 12113 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 12114 | |
5172800e RD |
12115 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
12116 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12117 | if (!SWIG_IsOK(res1)) { |
5172800e | 12118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12119 | } |
5172800e RD |
12120 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12121 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 12122 | if (!SWIG_IsOK(res2)) { |
5172800e | 12123 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 12124 | } |
5172800e RD |
12125 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
12126 | if (arg1) (arg1)->drag_source = arg2; | |
12127 | ||
12128 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12129 | return resultobj; |
12130 | fail: | |
12131 | return NULL; | |
12132 | } | |
12133 | ||
12134 | ||
5172800e | 12135 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12136 | PyObject *resultobj = 0; |
5172800e RD |
12137 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12138 | wxAuiNotebook *result = 0 ; | |
12139 | void *argp1 = 0 ; | |
12140 | int res1 = 0 ; | |
12141 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 12142 | |
5172800e RD |
12143 | if (!args) SWIG_fail; |
12144 | swig_obj[0] = args; | |
12145 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12146 | if (!SWIG_IsOK(res1)) { | |
12147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 12148 | } |
5172800e RD |
12149 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12150 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12151 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
12152 | return resultobj; |
12153 | fail: | |
12154 | return NULL; | |
12155 | } | |
12156 | ||
12157 | ||
5172800e RD |
12158 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12159 | PyObject *obj; | |
12160 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12161 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12162 | return SWIG_Py_Void(); | |
12163 | } | |
12164 | ||
12165 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12166 | return SWIG_Python_InitShadowInstance(args); | |
12167 | } | |
12168 | ||
12169 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 12170 | PyObject *resultobj = 0; |
5172800e RD |
12171 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12172 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
12173 | void *argp1 = 0 ; |
12174 | int res1 = 0 ; | |
5172800e RD |
12175 | void *argp2 = 0 ; |
12176 | int res2 = 0 ; | |
12177 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12178 | |
5172800e RD |
12179 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
12180 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 12181 | if (!SWIG_IsOK(res1)) { |
5172800e | 12182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 12183 | } |
5172800e RD |
12184 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12185 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12186 | if (!SWIG_IsOK(res2)) { | |
12187 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 12188 | } |
5172800e RD |
12189 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12190 | if (arg1) (arg1)->window = arg2; | |
12191 | ||
5c8c7dd3 RD |
12192 | resultobj = SWIG_Py_Void(); |
12193 | return resultobj; | |
12194 | fail: | |
12195 | return NULL; | |
12196 | } | |
12197 | ||
12198 | ||
5172800e | 12199 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12200 | PyObject *resultobj = 0; |
5172800e RD |
12201 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12202 | wxWindow *result = 0 ; | |
12203 | void *argp1 = 0 ; | |
12204 | int res1 = 0 ; | |
12205 | PyObject *swig_obj[1] ; | |
10044bf1 | 12206 | |
5172800e RD |
12207 | if (!args) SWIG_fail; |
12208 | swig_obj[0] = args; | |
12209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12210 | if (!SWIG_IsOK(res1)) { | |
12211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10044bf1 | 12212 | } |
5172800e RD |
12213 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12214 | result = (wxWindow *) ((arg1)->window); | |
10044bf1 | 12215 | { |
5172800e | 12216 | resultobj = wxPyMake_wxObject(result, 0); |
10044bf1 | 12217 | } |
10044bf1 RD |
12218 | return resultobj; |
12219 | fail: | |
12220 | return NULL; | |
27e45892 RD |
12221 | } |
12222 | ||
10044bf1 | 12223 | |
5172800e | 12224 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12225 | PyObject *resultobj = 0; |
5172800e RD |
12226 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12227 | wxString *arg2 = (wxString *) 0 ; | |
10044bf1 RD |
12228 | void *argp1 = 0 ; |
12229 | int res1 = 0 ; | |
5172800e RD |
12230 | bool temp2 = false ; |
12231 | PyObject *swig_obj[2] ; | |
10044bf1 | 12232 | |
5172800e RD |
12233 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
12234 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12235 | if (!SWIG_IsOK(res1)) { |
5172800e | 12236 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12237 | } |
5172800e | 12238 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
10044bf1 | 12239 | { |
5172800e RD |
12240 | arg2 = wxString_in_helper(swig_obj[1]); |
12241 | if (arg2 == NULL) SWIG_fail; | |
12242 | temp2 = true; | |
10044bf1 | 12243 | } |
5172800e RD |
12244 | if (arg1) (arg1)->caption = *arg2; |
12245 | ||
10044bf1 | 12246 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12247 | { |
12248 | if (temp2) | |
12249 | delete arg2; | |
12250 | } | |
10044bf1 RD |
12251 | return resultobj; |
12252 | fail: | |
5172800e RD |
12253 | { |
12254 | if (temp2) | |
12255 | delete arg2; | |
12256 | } | |
10044bf1 RD |
12257 | return NULL; |
12258 | } | |
12259 | ||
12260 | ||
5172800e | 12261 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12262 | PyObject *resultobj = 0; |
5172800e RD |
12263 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12264 | wxString *result = 0 ; | |
d95b9f2b RD |
12265 | void *argp1 = 0 ; |
12266 | int res1 = 0 ; | |
12267 | PyObject *swig_obj[1] ; | |
12268 | ||
12269 | if (!args) SWIG_fail; | |
12270 | swig_obj[0] = args; | |
5172800e | 12271 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 12272 | if (!SWIG_IsOK(res1)) { |
5172800e | 12273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12274 | } |
5172800e RD |
12275 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12276 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 12277 | { |
5172800e RD |
12278 | #if wxUSE_UNICODE |
12279 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12280 | #else | |
12281 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12282 | #endif | |
d95b9f2b | 12283 | } |
d95b9f2b RD |
12284 | return resultobj; |
12285 | fail: | |
12286 | return NULL; | |
12287 | } | |
12288 | ||
12289 | ||
5172800e | 12290 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12291 | PyObject *resultobj = 0; |
5172800e RD |
12292 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12293 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12294 | void *argp1 = 0 ; |
12295 | int res1 = 0 ; | |
5172800e RD |
12296 | void *argp2 = 0 ; |
12297 | int res2 = 0 ; | |
12298 | PyObject *swig_obj[2] ; | |
10044bf1 | 12299 | |
5172800e RD |
12300 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12301 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12302 | if (!SWIG_IsOK(res1)) { |
5172800e | 12303 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12304 | } |
5172800e RD |
12305 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12306 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12307 | if (!SWIG_IsOK(res2)) { | |
12308 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12309 | } |
5172800e RD |
12310 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12311 | if (arg1) (arg1)->bitmap = *arg2; | |
12312 | ||
10044bf1 RD |
12313 | resultobj = SWIG_Py_Void(); |
12314 | return resultobj; | |
12315 | fail: | |
12316 | return NULL; | |
12317 | } | |
12318 | ||
12319 | ||
5172800e | 12320 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12321 | PyObject *resultobj = 0; |
5172800e RD |
12322 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12323 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12324 | void *argp1 = 0 ; |
12325 | int res1 = 0 ; | |
12326 | PyObject *swig_obj[1] ; | |
12327 | ||
12328 | if (!args) SWIG_fail; | |
12329 | swig_obj[0] = args; | |
5172800e | 12330 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12331 | if (!SWIG_IsOK(res1)) { |
5172800e | 12332 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12333 | } |
5172800e RD |
12334 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12335 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12336 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12337 | return resultobj; |
12338 | fail: | |
12339 | return NULL; | |
12340 | } | |
12341 | ||
12342 | ||
5172800e | 12343 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12344 | PyObject *resultobj = 0; |
5172800e RD |
12345 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12346 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12347 | void *argp1 = 0 ; |
12348 | int res1 = 0 ; | |
12349 | void *argp2 = 0 ; | |
12350 | int res2 = 0 ; | |
5172800e | 12351 | PyObject *swig_obj[2] ; |
d95b9f2b | 12352 | |
5172800e RD |
12353 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12354 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12355 | if (!SWIG_IsOK(res1)) { |
5172800e | 12356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12357 | } |
5172800e RD |
12358 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12359 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12360 | if (!SWIG_IsOK(res2)) { |
5172800e | 12361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12362 | } |
5172800e RD |
12363 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12364 | if (arg1) (arg1)->rect = *arg2; | |
12365 | ||
d95b9f2b RD |
12366 | resultobj = SWIG_Py_Void(); |
12367 | return resultobj; | |
12368 | fail: | |
12369 | return NULL; | |
12370 | } | |
12371 | ||
12372 | ||
5172800e | 12373 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12374 | PyObject *resultobj = 0; |
5172800e RD |
12375 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12376 | wxRect *result = 0 ; | |
10044bf1 RD |
12377 | void *argp1 = 0 ; |
12378 | int res1 = 0 ; | |
12379 | PyObject *swig_obj[1] ; | |
12380 | ||
12381 | if (!args) SWIG_fail; | |
12382 | swig_obj[0] = args; | |
5172800e | 12383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12384 | if (!SWIG_IsOK(res1)) { |
5172800e | 12385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12386 | } |
5172800e RD |
12387 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12388 | result = (wxRect *)& ((arg1)->rect); | |
12389 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10044bf1 RD |
12390 | return resultobj; |
12391 | fail: | |
12392 | return NULL; | |
12393 | } | |
12394 | ||
12395 | ||
5172800e | 12396 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12397 | PyObject *resultobj = 0; |
5172800e RD |
12398 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12399 | bool arg2 ; | |
10044bf1 RD |
12400 | void *argp1 = 0 ; |
12401 | int res1 = 0 ; | |
5172800e | 12402 | bool val2 ; |
10044bf1 RD |
12403 | int ecode2 = 0 ; |
12404 | PyObject *swig_obj[2] ; | |
12405 | ||
5172800e RD |
12406 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12407 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12408 | if (!SWIG_IsOK(res1)) { |
5172800e | 12409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12410 | } |
5172800e RD |
12411 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12412 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10044bf1 | 12413 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12414 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
10044bf1 | 12415 | } |
5172800e RD |
12416 | arg2 = static_cast< bool >(val2); |
12417 | if (arg1) (arg1)->active = arg2; | |
10044bf1 RD |
12418 | |
12419 | resultobj = SWIG_Py_Void(); | |
12420 | return resultobj; | |
12421 | fail: | |
12422 | return NULL; | |
12423 | } | |
12424 | ||
12425 | ||
5172800e | 12426 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12427 | PyObject *resultobj = 0; |
5172800e RD |
12428 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12429 | bool result; | |
10044bf1 RD |
12430 | void *argp1 = 0 ; |
12431 | int res1 = 0 ; | |
12432 | PyObject *swig_obj[1] ; | |
12433 | ||
12434 | if (!args) SWIG_fail; | |
12435 | swig_obj[0] = args; | |
5172800e | 12436 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12437 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12438 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12439 | } | |
12440 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12441 | result = (bool) ((arg1)->active); | |
12442 | { | |
12443 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 12444 | } |
10044bf1 RD |
12445 | return resultobj; |
12446 | fail: | |
12447 | return NULL; | |
12448 | } | |
12449 | ||
12450 | ||
5172800e RD |
12451 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12452 | PyObject *obj; | |
12453 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12454 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12455 | return SWIG_Py_Void(); | |
12456 | } | |
12457 | ||
12458 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12459 | PyObject *resultobj = 0; |
5172800e | 12460 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12461 | int arg2 ; |
12462 | void *argp1 = 0 ; | |
12463 | int res1 = 0 ; | |
12464 | int val2 ; | |
12465 | int ecode2 = 0 ; | |
12466 | PyObject *swig_obj[2] ; | |
12467 | ||
5172800e RD |
12468 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12469 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12470 | if (!SWIG_IsOK(res1)) { |
5172800e | 12471 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12472 | } |
5172800e | 12473 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12474 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12475 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12476 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
12477 | } |
12478 | arg2 = static_cast< int >(val2); | |
5172800e | 12479 | if (arg1) (arg1)->id = arg2; |
10044bf1 RD |
12480 | |
12481 | resultobj = SWIG_Py_Void(); | |
12482 | return resultobj; | |
12483 | fail: | |
12484 | return NULL; | |
12485 | } | |
12486 | ||
12487 | ||
5172800e | 12488 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12489 | PyObject *resultobj = 0; |
5172800e | 12490 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12491 | int result; |
12492 | void *argp1 = 0 ; | |
12493 | int res1 = 0 ; | |
12494 | PyObject *swig_obj[1] ; | |
12495 | ||
12496 | if (!args) SWIG_fail; | |
12497 | swig_obj[0] = args; | |
5172800e | 12498 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12499 | if (!SWIG_IsOK(res1)) { |
5172800e | 12500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12501 | } |
5172800e RD |
12502 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12503 | result = (int) ((arg1)->id); | |
10044bf1 RD |
12504 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12505 | return resultobj; | |
12506 | fail: | |
12507 | return NULL; | |
12508 | } | |
12509 | ||
12510 | ||
5172800e | 12511 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12512 | PyObject *resultobj = 0; |
5172800e RD |
12513 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12514 | int arg2 ; | |
d95b9f2b RD |
12515 | void *argp1 = 0 ; |
12516 | int res1 = 0 ; | |
5172800e RD |
12517 | int val2 ; |
12518 | int ecode2 = 0 ; | |
d95b9f2b RD |
12519 | PyObject *swig_obj[2] ; |
12520 | ||
5172800e RD |
12521 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12522 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12523 | if (!SWIG_IsOK(res1)) { |
5172800e | 12524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12525 | } |
5172800e RD |
12526 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12527 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12528 | if (!SWIG_IsOK(ecode2)) { | |
12529 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12530 | } | |
12531 | arg2 = static_cast< int >(val2); | |
12532 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12533 | |
12534 | resultobj = SWIG_Py_Void(); | |
12535 | return resultobj; | |
12536 | fail: | |
12537 | return NULL; | |
12538 | } | |
12539 | ||
12540 | ||
5172800e | 12541 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12542 | PyObject *resultobj = 0; |
5172800e RD |
12543 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12544 | int result; | |
d95b9f2b RD |
12545 | void *argp1 = 0 ; |
12546 | int res1 = 0 ; | |
12547 | PyObject *swig_obj[1] ; | |
12548 | ||
12549 | if (!args) SWIG_fail; | |
12550 | swig_obj[0] = args; | |
5172800e | 12551 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12552 | if (!SWIG_IsOK(res1)) { |
5172800e | 12553 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12554 | } |
5172800e RD |
12555 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12556 | result = (int) ((arg1)->cur_state); | |
12557 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12558 | return resultobj; |
12559 | fail: | |
12560 | return NULL; | |
12561 | } | |
12562 | ||
12563 | ||
5172800e | 12564 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12565 | PyObject *resultobj = 0; |
5172800e RD |
12566 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12567 | int arg2 ; | |
10044bf1 RD |
12568 | void *argp1 = 0 ; |
12569 | int res1 = 0 ; | |
5172800e RD |
12570 | int val2 ; |
12571 | int ecode2 = 0 ; | |
10044bf1 RD |
12572 | PyObject *swig_obj[2] ; |
12573 | ||
5172800e RD |
12574 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12576 | if (!SWIG_IsOK(res1)) { |
5172800e | 12577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12578 | } |
5172800e RD |
12579 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12580 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12581 | if (!SWIG_IsOK(ecode2)) { | |
12582 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12583 | } | |
12584 | arg2 = static_cast< int >(val2); | |
12585 | if (arg1) (arg1)->location = arg2; | |
10044bf1 RD |
12586 | |
12587 | resultobj = SWIG_Py_Void(); | |
12588 | return resultobj; | |
12589 | fail: | |
12590 | return NULL; | |
12591 | } | |
12592 | ||
12593 | ||
5172800e | 12594 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12595 | PyObject *resultobj = 0; |
5172800e RD |
12596 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12597 | int result; | |
10044bf1 RD |
12598 | void *argp1 = 0 ; |
12599 | int res1 = 0 ; | |
12600 | PyObject *swig_obj[1] ; | |
12601 | ||
12602 | if (!args) SWIG_fail; | |
12603 | swig_obj[0] = args; | |
5172800e | 12604 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12605 | if (!SWIG_IsOK(res1)) { |
5172800e | 12606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12607 | } |
5172800e RD |
12608 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12609 | result = (int) ((arg1)->location); | |
12610 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
12611 | return resultobj; |
12612 | fail: | |
12613 | return NULL; | |
12614 | } | |
12615 | ||
12616 | ||
5172800e | 12617 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12618 | PyObject *resultobj = 0; |
5172800e RD |
12619 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12620 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12621 | void *argp1 = 0 ; |
12622 | int res1 = 0 ; | |
5172800e RD |
12623 | void *argp2 = 0 ; |
12624 | int res2 = 0 ; | |
10044bf1 RD |
12625 | PyObject *swig_obj[2] ; |
12626 | ||
5172800e RD |
12627 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12628 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12629 | if (!SWIG_IsOK(res1)) { |
5172800e | 12630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12631 | } |
5172800e RD |
12632 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12633 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12634 | if (!SWIG_IsOK(res2)) { | |
12635 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12636 | } |
5172800e RD |
12637 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12638 | if (arg1) (arg1)->bitmap = *arg2; | |
10044bf1 RD |
12639 | |
12640 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12641 | return resultobj; |
12642 | fail: | |
10044bf1 RD |
12643 | return NULL; |
12644 | } | |
12645 | ||
12646 | ||
5172800e | 12647 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12648 | PyObject *resultobj = 0; |
5172800e RD |
12649 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12650 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12651 | void *argp1 = 0 ; |
12652 | int res1 = 0 ; | |
12653 | PyObject *swig_obj[1] ; | |
12654 | ||
12655 | if (!args) SWIG_fail; | |
12656 | swig_obj[0] = args; | |
5172800e RD |
12657 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12658 | if (!SWIG_IsOK(res1)) { | |
12659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
10044bf1 | 12660 | } |
5172800e RD |
12661 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12662 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12663 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12664 | return resultobj; |
12665 | fail: | |
12666 | return NULL; | |
12667 | } | |
12668 | ||
12669 | ||
5172800e | 12670 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12671 | PyObject *resultobj = 0; |
5172800e | 12672 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12673 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12674 | void *argp1 = 0 ; | |
12675 | int res1 = 0 ; | |
12676 | void *argp2 = 0 ; | |
12677 | int res2 = 0 ; | |
12678 | PyObject *swig_obj[2] ; | |
12679 | ||
5172800e RD |
12680 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12681 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12682 | if (!SWIG_IsOK(res1)) { |
5172800e | 12683 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12684 | } |
5172800e | 12685 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12686 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12687 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12688 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
10044bf1 RD |
12689 | } |
12690 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12691 | if (arg1) (arg1)->dis_bitmap = *arg2; |
10044bf1 RD |
12692 | |
12693 | resultobj = SWIG_Py_Void(); | |
12694 | return resultobj; | |
12695 | fail: | |
12696 | return NULL; | |
12697 | } | |
12698 | ||
12699 | ||
5172800e | 12700 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12701 | PyObject *resultobj = 0; |
5172800e | 12702 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12703 | wxBitmap *result = 0 ; |
12704 | void *argp1 = 0 ; | |
12705 | int res1 = 0 ; | |
12706 | PyObject *swig_obj[1] ; | |
12707 | ||
12708 | if (!args) SWIG_fail; | |
12709 | swig_obj[0] = args; | |
5172800e | 12710 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12711 | if (!SWIG_IsOK(res1)) { |
5172800e | 12712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12713 | } |
5172800e RD |
12714 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12715 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
10044bf1 RD |
12716 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12717 | return resultobj; | |
12718 | fail: | |
12719 | return NULL; | |
12720 | } | |
12721 | ||
12722 | ||
5172800e | 12723 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12724 | PyObject *resultobj = 0; |
5172800e | 12725 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12726 | wxRect *arg2 = (wxRect *) 0 ; |
12727 | void *argp1 = 0 ; | |
12728 | int res1 = 0 ; | |
12729 | void *argp2 = 0 ; | |
12730 | int res2 = 0 ; | |
12731 | PyObject *swig_obj[2] ; | |
12732 | ||
5172800e RD |
12733 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12734 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12735 | if (!SWIG_IsOK(res1)) { |
5172800e | 12736 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12737 | } |
5172800e | 12738 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12739 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12740 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12741 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
10044bf1 RD |
12742 | } |
12743 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12744 | if (arg1) (arg1)->rect = *arg2; | |
12745 | ||
12746 | resultobj = SWIG_Py_Void(); | |
12747 | return resultobj; | |
12748 | fail: | |
12749 | return NULL; | |
12750 | } | |
12751 | ||
12752 | ||
5172800e | 12753 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12754 | PyObject *resultobj = 0; |
5172800e | 12755 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12756 | wxRect *result = 0 ; |
12757 | void *argp1 = 0 ; | |
12758 | int res1 = 0 ; | |
12759 | PyObject *swig_obj[1] ; | |
12760 | ||
12761 | if (!args) SWIG_fail; | |
12762 | swig_obj[0] = args; | |
5172800e | 12763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12764 | if (!SWIG_IsOK(res1)) { |
5172800e | 12765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12766 | } |
5172800e | 12767 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12768 | result = (wxRect *)& ((arg1)->rect); |
12769 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12770 | return resultobj; | |
12771 | fail: | |
12772 | return NULL; | |
12773 | } | |
12774 | ||
12775 | ||
5172800e RD |
12776 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12777 | PyObject *obj; | |
12778 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12779 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12780 | return SWIG_Py_Void(); | |
12781 | } | |
12782 | ||
12783 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12784 | PyObject *resultobj = 0; |
5172800e | 12785 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
10044bf1 RD |
12786 | void *argp1 = 0 ; |
12787 | int res1 = 0 ; | |
5172800e RD |
12788 | PyObject *swig_obj[1] ; |
12789 | ||
12790 | if (!args) SWIG_fail; | |
12791 | swig_obj[0] = args; | |
12792 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12793 | if (!SWIG_IsOK(res1)) { | |
12794 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12795 | } | |
12796 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12797 | { | |
12798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12799 | delete arg1; | |
12800 | ||
12801 | wxPyEndAllowThreads(__tstate); | |
12802 | if (PyErr_Occurred()) SWIG_fail; | |
12803 | } | |
12804 | resultobj = SWIG_Py_Void(); | |
12805 | return resultobj; | |
12806 | fail: | |
12807 | return NULL; | |
12808 | } | |
12809 | ||
12810 | ||
12811 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12812 | PyObject *resultobj = 0; | |
12813 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12814 | wxAuiTabArt *result = 0 ; | |
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_wxAuiTabArt, 0 | 0 ); | |
12822 | if (!SWIG_IsOK(res1)) { | |
12823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12824 | } | |
12825 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12826 | { | |
12827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12828 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12829 | wxPyEndAllowThreads(__tstate); | |
12830 | if (PyErr_Occurred()) SWIG_fail; | |
12831 | } | |
12832 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12833 | return resultobj; | |
12834 | fail: | |
12835 | return NULL; | |
12836 | } | |
12837 | ||
12838 | ||
12839 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12840 | PyObject *resultobj = 0; | |
12841 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12842 | int arg2 ; | |
12843 | void *argp1 = 0 ; | |
12844 | int res1 = 0 ; | |
12845 | int val2 ; | |
10044bf1 | 12846 | int ecode2 = 0 ; |
5172800e RD |
12847 | PyObject * obj0 = 0 ; |
12848 | PyObject * obj1 = 0 ; | |
12849 | char * kwnames[] = { | |
12850 | (char *) "self",(char *) "flags", NULL | |
12851 | }; | |
10044bf1 | 12852 | |
5172800e RD |
12853 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12854 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12855 | if (!SWIG_IsOK(res1)) { |
5172800e | 12856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12857 | } |
5172800e RD |
12858 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12859 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10044bf1 | 12860 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12861 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 | 12862 | } |
5172800e RD |
12863 | arg2 = static_cast< int >(val2); |
12864 | { | |
12865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12866 | (arg1)->SetFlags(arg2); | |
12867 | wxPyEndAllowThreads(__tstate); | |
12868 | if (PyErr_Occurred()) SWIG_fail; | |
12869 | } | |
12870 | resultobj = SWIG_Py_Void(); | |
12871 | return resultobj; | |
12872 | fail: | |
12873 | return NULL; | |
12874 | } | |
12875 | ||
12876 | ||
12877 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12878 | PyObject *resultobj = 0; | |
12879 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12880 | wxSize *arg2 = 0 ; | |
12881 | size_t arg3 ; | |
12882 | void *argp1 = 0 ; | |
12883 | int res1 = 0 ; | |
12884 | wxSize temp2 ; | |
12885 | size_t val3 ; | |
12886 | int ecode3 = 0 ; | |
12887 | PyObject * obj0 = 0 ; | |
12888 | PyObject * obj1 = 0 ; | |
12889 | PyObject * obj2 = 0 ; | |
12890 | char * kwnames[] = { | |
12891 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12892 | }; | |
10044bf1 | 12893 | |
5172800e RD |
12894 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12895 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12896 | if (!SWIG_IsOK(res1)) { | |
12897 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12898 | } | |
12899 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12900 | { | |
12901 | arg2 = &temp2; | |
12902 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12903 | } | |
12904 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12905 | if (!SWIG_IsOK(ecode3)) { | |
12906 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12907 | } | |
12908 | arg3 = static_cast< size_t >(val3); | |
12909 | { | |
12910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12911 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12912 | wxPyEndAllowThreads(__tstate); | |
12913 | if (PyErr_Occurred()) SWIG_fail; | |
12914 | } | |
10044bf1 RD |
12915 | resultobj = SWIG_Py_Void(); |
12916 | return resultobj; | |
12917 | fail: | |
12918 | return NULL; | |
12919 | } | |
12920 | ||
12921 | ||
5172800e | 12922 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12923 | PyObject *resultobj = 0; |
5172800e RD |
12924 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12925 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12926 | void *argp1 = 0 ; |
12927 | int res1 = 0 ; | |
5172800e RD |
12928 | void *argp2 = 0 ; |
12929 | int res2 = 0 ; | |
12930 | PyObject * obj0 = 0 ; | |
12931 | PyObject * obj1 = 0 ; | |
12932 | char * kwnames[] = { | |
12933 | (char *) "self",(char *) "font", NULL | |
12934 | }; | |
10044bf1 | 12935 | |
5172800e RD |
12936 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12937 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12938 | if (!SWIG_IsOK(res1)) { |
5172800e | 12939 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12940 | } |
5172800e RD |
12941 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12942 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12943 | if (!SWIG_IsOK(res2)) { | |
12944 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12945 | } | |
12946 | if (!argp2) { | |
12947 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12948 | } | |
12949 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12950 | { | |
12951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12952 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12953 | wxPyEndAllowThreads(__tstate); | |
12954 | if (PyErr_Occurred()) SWIG_fail; | |
12955 | } | |
12956 | resultobj = SWIG_Py_Void(); | |
12957 | return resultobj; | |
12958 | fail: | |
12959 | return NULL; | |
12960 | } | |
12961 | ||
12962 | ||
12963 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12964 | PyObject *resultobj = 0; | |
12965 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12966 | wxFont *arg2 = 0 ; | |
12967 | void *argp1 = 0 ; | |
12968 | int res1 = 0 ; | |
12969 | void *argp2 = 0 ; | |
12970 | int res2 = 0 ; | |
12971 | PyObject * obj0 = 0 ; | |
12972 | PyObject * obj1 = 0 ; | |
12973 | char * kwnames[] = { | |
12974 | (char *) "self",(char *) "font", NULL | |
12975 | }; | |
12976 | ||
12977 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12978 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12979 | if (!SWIG_IsOK(res1)) { | |
12980 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12981 | } | |
12982 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12983 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12984 | if (!SWIG_IsOK(res2)) { | |
12985 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12986 | } | |
12987 | if (!argp2) { | |
12988 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12989 | } | |
12990 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
10044bf1 | 12991 | { |
5172800e RD |
12992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12993 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12994 | wxPyEndAllowThreads(__tstate); | |
12995 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 12996 | } |
5172800e | 12997 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
12998 | return resultobj; |
12999 | fail: | |
13000 | return NULL; | |
13001 | } | |
13002 | ||
13003 | ||
5172800e | 13004 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13005 | PyObject *resultobj = 0; |
5172800e RD |
13006 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13007 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
13008 | void *argp1 = 0 ; |
13009 | int res1 = 0 ; | |
5172800e RD |
13010 | void *argp2 = 0 ; |
13011 | int res2 = 0 ; | |
13012 | PyObject * obj0 = 0 ; | |
13013 | PyObject * obj1 = 0 ; | |
13014 | char * kwnames[] = { | |
13015 | (char *) "self",(char *) "font", NULL | |
13016 | }; | |
10044bf1 | 13017 | |
5172800e RD |
13018 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
13019 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13020 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13021 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13022 | } | |
13023 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13024 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13025 | if (!SWIG_IsOK(res2)) { | |
13026 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13027 | } | |
13028 | if (!argp2) { | |
13029 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13030 | } | |
13031 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13032 | { | |
13033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13034 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13035 | wxPyEndAllowThreads(__tstate); | |
13036 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13037 | } |
10044bf1 RD |
13038 | resultobj = SWIG_Py_Void(); |
13039 | return resultobj; | |
13040 | fail: | |
13041 | return NULL; | |
13042 | } | |
13043 | ||
13044 | ||
5172800e | 13045 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13046 | PyObject *resultobj = 0; |
5172800e RD |
13047 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13048 | wxDC *arg2 = 0 ; | |
13049 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13050 | wxRect *arg4 = 0 ; | |
10044bf1 RD |
13051 | void *argp1 = 0 ; |
13052 | int res1 = 0 ; | |
5172800e RD |
13053 | void *argp2 = 0 ; |
13054 | int res2 = 0 ; | |
13055 | void *argp3 = 0 ; | |
13056 | int res3 = 0 ; | |
13057 | wxRect temp4 ; | |
13058 | PyObject * obj0 = 0 ; | |
13059 | PyObject * obj1 = 0 ; | |
13060 | PyObject * obj2 = 0 ; | |
13061 | PyObject * obj3 = 0 ; | |
13062 | char * kwnames[] = { | |
13063 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
13064 | }; | |
10044bf1 | 13065 | |
5172800e RD |
13066 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13067 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13068 | if (!SWIG_IsOK(res1)) { |
5172800e | 13069 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13070 | } |
5172800e RD |
13071 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13072 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13073 | if (!SWIG_IsOK(res2)) { | |
13074 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13075 | } | |
13076 | if (!argp2) { | |
13077 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13078 | } | |
13079 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13080 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13081 | if (!SWIG_IsOK(res3)) { | |
13082 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13083 | } | |
13084 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13085 | { | |
13086 | arg4 = &temp4; | |
13087 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13088 | } | |
13089 | { | |
13090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13091 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
13092 | wxPyEndAllowThreads(__tstate); | |
13093 | if (PyErr_Occurred()) SWIG_fail; | |
13094 | } | |
13095 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13096 | return resultobj; |
13097 | fail: | |
13098 | return NULL; | |
13099 | } | |
13100 | ||
13101 | ||
5172800e | 13102 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13103 | PyObject *resultobj = 0; |
5172800e RD |
13104 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13105 | wxDC *arg2 = 0 ; | |
13106 | wxWindow *arg3 = (wxWindow *) 0 ; | |
d754c85e RD |
13107 | wxAuiNotebookPage *arg4 = 0 ; |
13108 | wxRect *arg5 = 0 ; | |
13109 | int arg6 ; | |
13110 | wxRect *arg7 = (wxRect *) 0 ; | |
13111 | wxRect *arg8 = (wxRect *) 0 ; | |
13112 | int *arg9 = (int *) 0 ; | |
10044bf1 RD |
13113 | void *argp1 = 0 ; |
13114 | int res1 = 0 ; | |
5172800e RD |
13115 | void *argp2 = 0 ; |
13116 | int res2 = 0 ; | |
13117 | void *argp3 = 0 ; | |
13118 | int res3 = 0 ; | |
d754c85e RD |
13119 | void *argp4 = 0 ; |
13120 | int res4 = 0 ; | |
13121 | wxRect temp5 ; | |
13122 | int val6 ; | |
13123 | int ecode6 = 0 ; | |
13124 | void *argp7 = 0 ; | |
13125 | int res7 = 0 ; | |
13126 | void *argp8 = 0 ; | |
13127 | int res8 = 0 ; | |
5172800e RD |
13128 | void *argp9 = 0 ; |
13129 | int res9 = 0 ; | |
5172800e RD |
13130 | PyObject * obj0 = 0 ; |
13131 | PyObject * obj1 = 0 ; | |
13132 | PyObject * obj2 = 0 ; | |
13133 | PyObject * obj3 = 0 ; | |
13134 | PyObject * obj4 = 0 ; | |
13135 | PyObject * obj5 = 0 ; | |
13136 | PyObject * obj6 = 0 ; | |
13137 | PyObject * obj7 = 0 ; | |
13138 | PyObject * obj8 = 0 ; | |
5172800e | 13139 | char * kwnames[] = { |
d754c85e | 13140 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "pane",(char *) "in_rect",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL |
5172800e | 13141 | }; |
10044bf1 | 13142 | |
d754c85e | 13143 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5172800e | 13144 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13145 | if (!SWIG_IsOK(res1)) { |
5172800e | 13146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13147 | } |
5172800e RD |
13148 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13149 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13150 | if (!SWIG_IsOK(res2)) { | |
13151 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13152 | } | |
13153 | if (!argp2) { | |
13154 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13155 | } | |
13156 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13157 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13158 | if (!SWIG_IsOK(res3)) { | |
13159 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13160 | } | |
13161 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
d754c85e RD |
13162 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); |
13163 | if (!SWIG_IsOK(res4)) { | |
13164 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13165 | } |
d754c85e RD |
13166 | if (!argp4) { |
13167 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13168 | } |
d754c85e RD |
13169 | arg4 = reinterpret_cast< wxAuiNotebookPage * >(argp4); |
13170 | { | |
13171 | arg5 = &temp5; | |
13172 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
5172800e | 13173 | } |
d754c85e RD |
13174 | ecode6 = SWIG_AsVal_int(obj5, &val6); |
13175 | if (!SWIG_IsOK(ecode6)) { | |
13176 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); | |
5172800e | 13177 | } |
d754c85e RD |
13178 | arg6 = static_cast< int >(val6); |
13179 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13180 | if (!SWIG_IsOK(res7)) { | |
13181 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); | |
5172800e | 13182 | } |
d754c85e RD |
13183 | arg7 = reinterpret_cast< wxRect * >(argp7); |
13184 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13185 | if (!SWIG_IsOK(res8)) { | |
13186 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); | |
5172800e | 13187 | } |
d754c85e RD |
13188 | arg8 = reinterpret_cast< wxRect * >(argp8); |
13189 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); | |
13190 | if (!SWIG_IsOK(res9)) { | |
13191 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); | |
5172800e | 13192 | } |
d754c85e | 13193 | arg9 = reinterpret_cast< int * >(argp9); |
5172800e RD |
13194 | { |
13195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13196 | (arg1)->DrawTab(*arg2,arg3,(wxAuiNotebookPage const &)*arg4,(wxRect const &)*arg5,arg6,arg7,arg8,arg9); |
5172800e RD |
13197 | wxPyEndAllowThreads(__tstate); |
13198 | if (PyErr_Occurred()) SWIG_fail; | |
13199 | } | |
10044bf1 RD |
13200 | resultobj = SWIG_Py_Void(); |
13201 | return resultobj; | |
13202 | fail: | |
13203 | return NULL; | |
13204 | } | |
13205 | ||
13206 | ||
5172800e | 13207 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13208 | PyObject *resultobj = 0; |
5172800e RD |
13209 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13210 | wxDC *arg2 = 0 ; | |
13211 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13212 | wxRect *arg4 = 0 ; | |
13213 | int arg5 ; | |
13214 | int arg6 ; | |
13215 | int arg7 ; | |
d754c85e | 13216 | wxRect *arg8 = (wxRect *) 0 ; |
10044bf1 RD |
13217 | void *argp1 = 0 ; |
13218 | int res1 = 0 ; | |
5172800e RD |
13219 | void *argp2 = 0 ; |
13220 | int res2 = 0 ; | |
13221 | void *argp3 = 0 ; | |
13222 | int res3 = 0 ; | |
13223 | wxRect temp4 ; | |
13224 | int val5 ; | |
13225 | int ecode5 = 0 ; | |
13226 | int val6 ; | |
13227 | int ecode6 = 0 ; | |
13228 | int val7 ; | |
13229 | int ecode7 = 0 ; | |
13230 | void *argp8 = 0 ; | |
13231 | int res8 = 0 ; | |
5172800e RD |
13232 | PyObject * obj0 = 0 ; |
13233 | PyObject * obj1 = 0 ; | |
13234 | PyObject * obj2 = 0 ; | |
13235 | PyObject * obj3 = 0 ; | |
13236 | PyObject * obj4 = 0 ; | |
13237 | PyObject * obj5 = 0 ; | |
13238 | PyObject * obj6 = 0 ; | |
13239 | PyObject * obj7 = 0 ; | |
5172800e | 13240 | char * kwnames[] = { |
d754c85e | 13241 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "out_rect", NULL |
5172800e | 13242 | }; |
10044bf1 | 13243 | |
d754c85e | 13244 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
5172800e | 13245 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13246 | if (!SWIG_IsOK(res1)) { |
5172800e | 13247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13248 | } |
5172800e RD |
13249 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13250 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13251 | if (!SWIG_IsOK(res2)) { | |
13252 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 13253 | } |
5172800e RD |
13254 | if (!argp2) { |
13255 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13256 | } | |
13257 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13258 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13259 | if (!SWIG_IsOK(res3)) { | |
13260 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13261 | } | |
13262 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13263 | { | |
13264 | arg4 = &temp4; | |
13265 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13266 | } | |
13267 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13268 | if (!SWIG_IsOK(ecode5)) { | |
13269 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 13270 | } |
5172800e RD |
13271 | arg5 = static_cast< int >(val5); |
13272 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13273 | if (!SWIG_IsOK(ecode6)) { | |
13274 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
13275 | } | |
13276 | arg6 = static_cast< int >(val6); | |
13277 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13278 | if (!SWIG_IsOK(ecode7)) { | |
13279 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
13280 | } | |
13281 | arg7 = static_cast< int >(val7); | |
d754c85e | 13282 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5172800e | 13283 | if (!SWIG_IsOK(res8)) { |
d754c85e | 13284 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); |
5172800e | 13285 | } |
d754c85e | 13286 | arg8 = reinterpret_cast< wxRect * >(argp8); |
5172800e RD |
13287 | { |
13288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13289 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,arg8); |
5172800e RD |
13290 | wxPyEndAllowThreads(__tstate); |
13291 | if (PyErr_Occurred()) SWIG_fail; | |
13292 | } | |
5c8c7dd3 RD |
13293 | resultobj = SWIG_Py_Void(); |
13294 | return resultobj; | |
13295 | fail: | |
13296 | return NULL; | |
13297 | } | |
13298 | ||
13299 | ||
5172800e | 13300 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13301 | PyObject *resultobj = 0; |
5172800e RD |
13302 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13303 | wxDC *arg2 = 0 ; | |
13304 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13305 | wxString *arg4 = 0 ; | |
13306 | wxBitmap *arg5 = 0 ; | |
13307 | bool arg6 ; | |
13308 | int arg7 ; | |
13309 | int *arg8 = (int *) 0 ; | |
13310 | wxSize result; | |
10044bf1 RD |
13311 | void *argp1 = 0 ; |
13312 | int res1 = 0 ; | |
13313 | void *argp2 = 0 ; | |
13314 | int res2 = 0 ; | |
5172800e RD |
13315 | void *argp3 = 0 ; |
13316 | int res3 = 0 ; | |
13317 | bool temp4 = false ; | |
13318 | void *argp5 = 0 ; | |
13319 | int res5 = 0 ; | |
13320 | bool val6 ; | |
13321 | int ecode6 = 0 ; | |
13322 | int val7 ; | |
13323 | int ecode7 = 0 ; | |
13324 | void *argp8 = 0 ; | |
13325 | int res8 = 0 ; | |
13326 | PyObject * obj0 = 0 ; | |
13327 | PyObject * obj1 = 0 ; | |
13328 | PyObject * obj2 = 0 ; | |
13329 | PyObject * obj3 = 0 ; | |
13330 | PyObject * obj4 = 0 ; | |
13331 | PyObject * obj5 = 0 ; | |
13332 | PyObject * obj6 = 0 ; | |
13333 | PyObject * obj7 = 0 ; | |
13334 | char * kwnames[] = { | |
13335 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13336 | }; | |
10044bf1 | 13337 | |
5172800e RD |
13338 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13339 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13340 | if (!SWIG_IsOK(res1)) { |
5172800e | 13341 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13342 | } |
5172800e RD |
13343 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13344 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10044bf1 | 13345 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13346 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13347 | } | |
13348 | if (!argp2) { | |
13349 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13350 | } | |
13351 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13352 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13353 | if (!SWIG_IsOK(res3)) { | |
13354 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13355 | } | |
13356 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13357 | { | |
13358 | arg4 = wxString_in_helper(obj3); | |
13359 | if (arg4 == NULL) SWIG_fail; | |
13360 | temp4 = true; | |
13361 | } | |
13362 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13363 | if (!SWIG_IsOK(res5)) { | |
13364 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13365 | } | |
13366 | if (!argp5) { | |
13367 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13368 | } | |
13369 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13370 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13371 | if (!SWIG_IsOK(ecode6)) { | |
13372 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13373 | } | |
13374 | arg6 = static_cast< bool >(val6); | |
13375 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13376 | if (!SWIG_IsOK(ecode7)) { | |
13377 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13378 | } | |
13379 | arg7 = static_cast< int >(val7); | |
13380 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13381 | if (!SWIG_IsOK(res8)) { | |
13382 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13383 | } | |
13384 | arg8 = reinterpret_cast< int * >(argp8); | |
13385 | { | |
13386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13387 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13388 | wxPyEndAllowThreads(__tstate); | |
13389 | if (PyErr_Occurred()) SWIG_fail; | |
13390 | } | |
13391 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13392 | { | |
13393 | if (temp4) | |
13394 | delete arg4; | |
10044bf1 | 13395 | } |
10044bf1 RD |
13396 | return resultobj; |
13397 | fail: | |
5172800e RD |
13398 | { |
13399 | if (temp4) | |
13400 | delete arg4; | |
13401 | } | |
10044bf1 RD |
13402 | return NULL; |
13403 | } | |
13404 | ||
13405 | ||
d754c85e | 13406 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowDropDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13407 | PyObject *resultobj = 0; |
5172800e RD |
13408 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13409 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d754c85e | 13410 | wxAuiNotebookPageArray *arg3 = 0 ; |
5172800e RD |
13411 | int arg4 ; |
13412 | int result; | |
10044bf1 RD |
13413 | void *argp1 = 0 ; |
13414 | int res1 = 0 ; | |
5172800e RD |
13415 | void *argp2 = 0 ; |
13416 | int res2 = 0 ; | |
d754c85e RD |
13417 | void *argp3 = 0 ; |
13418 | int res3 = 0 ; | |
5172800e RD |
13419 | int val4 ; |
13420 | int ecode4 = 0 ; | |
13421 | PyObject * obj0 = 0 ; | |
13422 | PyObject * obj1 = 0 ; | |
13423 | PyObject * obj2 = 0 ; | |
13424 | PyObject * obj3 = 0 ; | |
13425 | char * kwnames[] = { | |
13426 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13427 | }; | |
10044bf1 | 13428 | |
d754c85e | 13429 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowDropDown",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13430 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13431 | if (!SWIG_IsOK(res1)) { |
d754c85e | 13432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5172800e RD |
13433 | } |
13434 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13435 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13436 | if (!SWIG_IsOK(res2)) { | |
d754c85e | 13437 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5172800e RD |
13438 | } |
13439 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
d754c85e RD |
13440 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
13441 | if (!SWIG_IsOK(res3)) { | |
13442 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
13443 | } | |
13444 | if (!argp3) { | |
13445 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
5172800e | 13446 | } |
d754c85e | 13447 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); |
5172800e RD |
13448 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
13449 | if (!SWIG_IsOK(ecode4)) { | |
d754c85e | 13450 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "4"" of type '" "int""'"); |
5172800e RD |
13451 | } |
13452 | arg4 = static_cast< int >(val4); | |
13453 | { | |
13454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13455 | result = (int)(arg1)->ShowDropDown(arg2,(wxAuiNotebookPageArray const &)*arg3,arg4); |
5172800e RD |
13456 | wxPyEndAllowThreads(__tstate); |
13457 | if (PyErr_Occurred()) SWIG_fail; | |
13458 | } | |
13459 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
13460 | return resultobj; |
13461 | fail: | |
d754c85e RD |
13462 | return NULL; |
13463 | } | |
13464 | ||
13465 | ||
13466 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13467 | PyObject *resultobj = 0; | |
13468 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
13469 | int result; | |
13470 | void *argp1 = 0 ; | |
13471 | int res1 = 0 ; | |
13472 | PyObject *swig_obj[1] ; | |
13473 | ||
13474 | if (!args) SWIG_fail; | |
13475 | swig_obj[0] = args; | |
13476 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13477 | if (!SWIG_IsOK(res1)) { | |
13478 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
13479 | } | |
13480 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
5172800e | 13481 | { |
d754c85e RD |
13482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13483 | result = (int)(arg1)->GetIndentSize(); | |
13484 | wxPyEndAllowThreads(__tstate); | |
13485 | if (PyErr_Occurred()) SWIG_fail; | |
5172800e | 13486 | } |
d754c85e RD |
13487 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13488 | return resultobj; | |
13489 | fail: | |
10044bf1 RD |
13490 | return NULL; |
13491 | } | |
13492 | ||
13493 | ||
5172800e | 13494 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 13495 | PyObject *resultobj = 0; |
5172800e RD |
13496 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13497 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13498 | wxAuiNotebookPageArray *arg3 = 0 ; | |
8287c33f | 13499 | wxSize *arg4 = 0 ; |
5172800e | 13500 | int result; |
8f514ab4 RD |
13501 | void *argp1 = 0 ; |
13502 | int res1 = 0 ; | |
13503 | void *argp2 = 0 ; | |
13504 | int res2 = 0 ; | |
5172800e RD |
13505 | void *argp3 = 0 ; |
13506 | int res3 = 0 ; | |
8287c33f | 13507 | wxSize temp4 ; |
5172800e RD |
13508 | PyObject * obj0 = 0 ; |
13509 | PyObject * obj1 = 0 ; | |
13510 | PyObject * obj2 = 0 ; | |
8287c33f | 13511 | PyObject * obj3 = 0 ; |
5172800e | 13512 | char * kwnames[] = { |
8287c33f | 13513 | (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL |
5172800e | 13514 | }; |
8f514ab4 | 13515 | |
8287c33f | 13516 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13517 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
8f514ab4 | 13518 | if (!SWIG_IsOK(res1)) { |
5172800e | 13519 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 13520 | } |
5172800e RD |
13521 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13522 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8f514ab4 | 13523 | if (!SWIG_IsOK(res2)) { |
5172800e | 13524 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
8f514ab4 | 13525 | } |
5172800e | 13526 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
d754c85e | 13527 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
5172800e | 13528 | if (!SWIG_IsOK(res3)) { |
d754c85e | 13529 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13530 | } |
13531 | if (!argp3) { | |
d754c85e | 13532 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13533 | } |
13534 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); | |
8287c33f RD |
13535 | { |
13536 | arg4 = &temp4; | |
13537 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13538 | } | |
5172800e RD |
13539 | { |
13540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13541 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,(wxAuiNotebookPageArray const &)*arg3,(wxSize const &)*arg4); |
5172800e RD |
13542 | wxPyEndAllowThreads(__tstate); |
13543 | if (PyErr_Occurred()) SWIG_fail; | |
13544 | } | |
13545 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13546 | return resultobj; | |
13547 | fail: | |
13548 | return NULL; | |
13549 | } | |
13550 | ||
13551 | ||
13552 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13553 | PyObject *obj; | |
13554 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13555 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); | |
13556 | return SWIG_Py_Void(); | |
13557 | } | |
13558 | ||
13559 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13560 | PyObject *resultobj = 0; | |
13561 | wxAuiDefaultTabArt *result = 0 ; | |
8f514ab4 | 13562 | |
5172800e RD |
13563 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
13564 | { | |
13565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13566 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); | |
13567 | wxPyEndAllowThreads(__tstate); | |
13568 | if (PyErr_Occurred()) SWIG_fail; | |
13569 | } | |
13570 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
8f514ab4 RD |
13571 | return resultobj; |
13572 | fail: | |
13573 | return NULL; | |
13574 | } | |
13575 | ||
13576 | ||
5172800e | 13577 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 13578 | PyObject *resultobj = 0; |
5172800e | 13579 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
8f514ab4 RD |
13580 | void *argp1 = 0 ; |
13581 | int res1 = 0 ; | |
13582 | PyObject *swig_obj[1] ; | |
13583 | ||
13584 | if (!args) SWIG_fail; | |
13585 | swig_obj[0] = args; | |
5172800e | 13586 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
8f514ab4 | 13587 | if (!SWIG_IsOK(res1)) { |
5172800e | 13588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
8f514ab4 | 13589 | } |
5172800e RD |
13590 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
13591 | { | |
13592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13593 | delete arg1; | |
13594 | ||
13595 | wxPyEndAllowThreads(__tstate); | |
13596 | if (PyErr_Occurred()) SWIG_fail; | |
13597 | } | |
13598 | resultobj = SWIG_Py_Void(); | |
8f514ab4 RD |
13599 | return resultobj; |
13600 | fail: | |
13601 | return NULL; | |
13602 | } | |
13603 | ||
13604 | ||
5172800e RD |
13605 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13606 | PyObject *obj; | |
13607 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13608 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); | |
13609 | return SWIG_Py_Void(); | |
13610 | } | |
13611 | ||
13612 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13613 | return SWIG_Python_InitShadowInstance(args); | |
13614 | } | |
13615 | ||
13616 | SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 13617 | PyObject *resultobj = 0; |
5172800e | 13618 | wxAuiSimpleTabArt *result = 0 ; |
10044bf1 | 13619 | |
5172800e RD |
13620 | if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail; |
13621 | { | |
13622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13623 | result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt(); | |
13624 | wxPyEndAllowThreads(__tstate); | |
13625 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13626 | } |
5172800e | 13627 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
13628 | return resultobj; |
13629 | fail: | |
13630 | return NULL; | |
13631 | } | |
13632 | ||
13633 | ||
5172800e | 13634 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 13635 | PyObject *resultobj = 0; |
5172800e | 13636 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
10044bf1 RD |
13637 | void *argp1 = 0 ; |
13638 | int res1 = 0 ; | |
13639 | PyObject *swig_obj[1] ; | |
13640 | ||
13641 | if (!args) SWIG_fail; | |
13642 | swig_obj[0] = args; | |
5172800e | 13643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 ); |
10044bf1 | 13644 | if (!SWIG_IsOK(res1)) { |
5172800e | 13645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
10044bf1 | 13646 | } |
5172800e RD |
13647 | arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1); |
13648 | { | |
13649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13650 | delete arg1; | |
13651 | ||
13652 | wxPyEndAllowThreads(__tstate); | |
13653 | if (PyErr_Occurred()) SWIG_fail; | |
13654 | } | |
13655 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13656 | return resultobj; |
13657 | fail: | |
13658 | return NULL; | |
13659 | } | |
13660 | ||
13661 | ||
5172800e | 13662 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
13663 | PyObject *obj; |
13664 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5172800e | 13665 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
13666 | return SWIG_Py_Void(); |
13667 | } | |
13668 | ||
5172800e RD |
13669 | SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13670 | return SWIG_Python_InitShadowInstance(args); | |
13671 | } | |
13672 | ||
10044bf1 RD |
13673 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13674 | PyObject *resultobj = 0; | |
13675 | wxAuiTabContainer *result = 0 ; | |
13676 | ||
13677 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13678 | { | |
13679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13680 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13681 | wxPyEndAllowThreads(__tstate); | |
13682 | if (PyErr_Occurred()) SWIG_fail; | |
13683 | } | |
13684 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13685 | return resultobj; | |
13686 | fail: | |
13687 | return NULL; | |
13688 | } | |
13689 | ||
13690 | ||
13691 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13692 | PyObject *resultobj = 0; | |
13693 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13694 | void *argp1 = 0 ; | |
13695 | int res1 = 0 ; | |
13696 | PyObject *swig_obj[1] ; | |
13697 | ||
13698 | if (!args) SWIG_fail; | |
13699 | swig_obj[0] = args; | |
13700 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13701 | if (!SWIG_IsOK(res1)) { | |
13702 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13703 | } | |
13704 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13705 | { | |
13706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13707 | delete arg1; | |
13708 | ||
13709 | wxPyEndAllowThreads(__tstate); | |
13710 | if (PyErr_Occurred()) SWIG_fail; | |
13711 | } | |
13712 | resultobj = SWIG_Py_Void(); | |
13713 | return resultobj; | |
13714 | fail: | |
13715 | return NULL; | |
13716 | } | |
13717 | ||
13718 | ||
5c8c7dd3 RD |
13719 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13720 | PyObject *resultobj = 0; | |
13721 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13722 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13723 | void *argp1 = 0 ; |
13724 | int res1 = 0 ; | |
13725 | void *argp2 = 0 ; | |
13726 | int res2 = 0 ; | |
13727 | PyObject * obj0 = 0 ; | |
13728 | PyObject * obj1 = 0 ; | |
13729 | char * kwnames[] = { | |
13730 | (char *) "self",(char *) "art", NULL | |
13731 | }; | |
13732 | ||
13733 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13734 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13735 | if (!SWIG_IsOK(res1)) { | |
13736 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13737 | } | |
13738 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13739 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13740 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13741 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13742 | } |
5eb8189c | 13743 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13744 | { |
13745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13746 | (arg1)->SetArtProvider(arg2); | |
13747 | wxPyEndAllowThreads(__tstate); | |
13748 | if (PyErr_Occurred()) SWIG_fail; | |
13749 | } | |
13750 | resultobj = SWIG_Py_Void(); | |
13751 | return resultobj; | |
13752 | fail: | |
13753 | return NULL; | |
13754 | } | |
13755 | ||
13756 | ||
13757 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13758 | PyObject *resultobj = 0; | |
13759 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13760 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13761 | void *argp1 = 0 ; |
13762 | int res1 = 0 ; | |
13763 | PyObject *swig_obj[1] ; | |
13764 | ||
13765 | if (!args) SWIG_fail; | |
13766 | swig_obj[0] = args; | |
13767 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13768 | if (!SWIG_IsOK(res1)) { | |
5172800e | 13769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); |
5c8c7dd3 RD |
13770 | } |
13771 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13772 | { | |
13773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 13774 | result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider(); |
5eb8189c RD |
13775 | wxPyEndAllowThreads(__tstate); |
13776 | if (PyErr_Occurred()) SWIG_fail; | |
13777 | } | |
13778 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13779 | return resultobj; | |
13780 | fail: | |
13781 | return NULL; | |
13782 | } | |
13783 | ||
13784 | ||
13785 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13786 | PyObject *resultobj = 0; | |
13787 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13788 | int arg2 ; | |
13789 | void *argp1 = 0 ; | |
13790 | int res1 = 0 ; | |
13791 | int val2 ; | |
13792 | int ecode2 = 0 ; | |
13793 | PyObject * obj0 = 0 ; | |
13794 | PyObject * obj1 = 0 ; | |
13795 | char * kwnames[] = { | |
13796 | (char *) "self",(char *) "flags", NULL | |
13797 | }; | |
13798 | ||
13799 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13800 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13801 | if (!SWIG_IsOK(res1)) { | |
13802 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13803 | } | |
13804 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13805 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13806 | if (!SWIG_IsOK(ecode2)) { | |
13807 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13808 | } | |
13809 | arg2 = static_cast< int >(val2); | |
13810 | { | |
13811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13812 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13813 | wxPyEndAllowThreads(__tstate); |
13814 | if (PyErr_Occurred()) SWIG_fail; | |
13815 | } | |
5eb8189c RD |
13816 | resultobj = SWIG_Py_Void(); |
13817 | return resultobj; | |
13818 | fail: | |
13819 | return NULL; | |
13820 | } | |
13821 | ||
13822 | ||
13823 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13824 | PyObject *resultobj = 0; | |
13825 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13826 | int result; | |
13827 | void *argp1 = 0 ; | |
13828 | int res1 = 0 ; | |
13829 | PyObject *swig_obj[1] ; | |
13830 | ||
13831 | if (!args) SWIG_fail; | |
13832 | swig_obj[0] = args; | |
13833 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13834 | if (!SWIG_IsOK(res1)) { | |
13835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13836 | } | |
13837 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13838 | { | |
13839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13840 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13841 | wxPyEndAllowThreads(__tstate); | |
13842 | if (PyErr_Occurred()) SWIG_fail; | |
13843 | } | |
13844 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13845 | return resultobj; |
13846 | fail: | |
13847 | return NULL; | |
13848 | } | |
13849 | ||
13850 | ||
10044bf1 RD |
13851 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13852 | PyObject *resultobj = 0; | |
13853 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13854 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13855 | wxAuiNotebookPage *arg3 = 0 ; | |
13856 | bool result; | |
13857 | void *argp1 = 0 ; | |
13858 | int res1 = 0 ; | |
13859 | void *argp2 = 0 ; | |
13860 | int res2 = 0 ; | |
13861 | void *argp3 = 0 ; | |
13862 | int res3 = 0 ; | |
13863 | PyObject * obj0 = 0 ; | |
13864 | PyObject * obj1 = 0 ; | |
13865 | PyObject * obj2 = 0 ; | |
13866 | char * kwnames[] = { | |
13867 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13868 | }; | |
13869 | ||
13870 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13871 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13872 | if (!SWIG_IsOK(res1)) { | |
13873 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13874 | } | |
13875 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13876 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13877 | if (!SWIG_IsOK(res2)) { | |
13878 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13879 | } | |
13880 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13881 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13882 | if (!SWIG_IsOK(res3)) { | |
13883 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13884 | } | |
13885 | if (!argp3) { | |
13886 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13887 | } | |
13888 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13889 | { | |
13890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13891 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13892 | wxPyEndAllowThreads(__tstate); | |
13893 | if (PyErr_Occurred()) SWIG_fail; | |
13894 | } | |
13895 | { | |
13896 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13897 | } | |
13898 | return resultobj; | |
13899 | fail: | |
13900 | return NULL; | |
13901 | } | |
13902 | ||
13903 | ||
13904 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13905 | PyObject *resultobj = 0; | |
13906 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13907 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13908 | wxAuiNotebookPage *arg3 = 0 ; | |
13909 | size_t arg4 ; | |
13910 | bool result; | |
13911 | void *argp1 = 0 ; | |
13912 | int res1 = 0 ; | |
13913 | void *argp2 = 0 ; | |
13914 | int res2 = 0 ; | |
13915 | void *argp3 = 0 ; | |
13916 | int res3 = 0 ; | |
13917 | size_t val4 ; | |
13918 | int ecode4 = 0 ; | |
13919 | PyObject * obj0 = 0 ; | |
13920 | PyObject * obj1 = 0 ; | |
13921 | PyObject * obj2 = 0 ; | |
13922 | PyObject * obj3 = 0 ; | |
13923 | char * kwnames[] = { | |
13924 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13925 | }; | |
13926 | ||
13927 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13928 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13929 | if (!SWIG_IsOK(res1)) { | |
13930 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13931 | } | |
13932 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13933 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13934 | if (!SWIG_IsOK(res2)) { | |
13935 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13936 | } | |
13937 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13938 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13939 | if (!SWIG_IsOK(res3)) { | |
13940 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13941 | } | |
13942 | if (!argp3) { | |
13943 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13944 | } | |
13945 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13946 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13947 | if (!SWIG_IsOK(ecode4)) { | |
13948 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13949 | } | |
13950 | arg4 = static_cast< size_t >(val4); | |
13951 | { | |
13952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13953 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13954 | wxPyEndAllowThreads(__tstate); | |
13955 | if (PyErr_Occurred()) SWIG_fail; | |
13956 | } | |
13957 | { | |
13958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13959 | } | |
13960 | return resultobj; | |
13961 | fail: | |
13962 | return NULL; | |
13963 | } | |
13964 | ||
13965 | ||
580080c5 RD |
13966 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13967 | PyObject *resultobj = 0; | |
13968 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13969 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13970 | size_t arg3 ; | |
13971 | bool result; | |
13972 | void *argp1 = 0 ; | |
13973 | int res1 = 0 ; | |
13974 | void *argp2 = 0 ; | |
13975 | int res2 = 0 ; | |
13976 | size_t val3 ; | |
13977 | int ecode3 = 0 ; | |
13978 | PyObject * obj0 = 0 ; | |
13979 | PyObject * obj1 = 0 ; | |
13980 | PyObject * obj2 = 0 ; | |
13981 | char * kwnames[] = { | |
13982 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13983 | }; | |
13984 | ||
13985 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13986 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13987 | if (!SWIG_IsOK(res1)) { | |
13988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13989 | } | |
13990 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13991 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13992 | if (!SWIG_IsOK(res2)) { | |
13993 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13994 | } | |
13995 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13996 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13997 | if (!SWIG_IsOK(ecode3)) { | |
13998 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
13999 | } | |
14000 | arg3 = static_cast< size_t >(val3); | |
14001 | { | |
14002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14003 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
14004 | wxPyEndAllowThreads(__tstate); | |
14005 | if (PyErr_Occurred()) SWIG_fail; | |
14006 | } | |
14007 | { | |
14008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14009 | } | |
14010 | return resultobj; | |
14011 | fail: | |
14012 | return NULL; | |
14013 | } | |
14014 | ||
14015 | ||
10044bf1 RD |
14016 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14017 | PyObject *resultobj = 0; | |
14018 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14019 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14020 | bool result; | |
14021 | void *argp1 = 0 ; | |
14022 | int res1 = 0 ; | |
14023 | void *argp2 = 0 ; | |
14024 | int res2 = 0 ; | |
14025 | PyObject * obj0 = 0 ; | |
14026 | PyObject * obj1 = 0 ; | |
14027 | char * kwnames[] = { | |
14028 | (char *) "self",(char *) "page", NULL | |
14029 | }; | |
14030 | ||
14031 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14032 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14033 | if (!SWIG_IsOK(res1)) { | |
14034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14035 | } | |
14036 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14037 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14038 | if (!SWIG_IsOK(res2)) { | |
14039 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14040 | } | |
14041 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14042 | { | |
14043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14044 | result = (bool)(arg1)->RemovePage(arg2); | |
14045 | wxPyEndAllowThreads(__tstate); | |
14046 | if (PyErr_Occurred()) SWIG_fail; | |
14047 | } | |
14048 | { | |
14049 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14050 | } | |
14051 | return resultobj; | |
14052 | fail: | |
14053 | return NULL; | |
14054 | } | |
14055 | ||
14056 | ||
14057 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14058 | PyObject *resultobj = 0; | |
14059 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14060 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14061 | bool result; | |
14062 | void *argp1 = 0 ; | |
14063 | int res1 = 0 ; | |
14064 | void *argp2 = 0 ; | |
14065 | int res2 = 0 ; | |
14066 | ||
14067 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14068 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14069 | if (!SWIG_IsOK(res1)) { | |
14070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14071 | } | |
14072 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14073 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14074 | if (!SWIG_IsOK(res2)) { | |
14075 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14076 | } | |
14077 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14078 | { | |
14079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14080 | result = (bool)(arg1)->SetActivePage(arg2); | |
14081 | wxPyEndAllowThreads(__tstate); | |
14082 | if (PyErr_Occurred()) SWIG_fail; | |
14083 | } | |
14084 | { | |
14085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14086 | } | |
14087 | return resultobj; | |
14088 | fail: | |
14089 | return NULL; | |
14090 | } | |
14091 | ||
14092 | ||
14093 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14094 | PyObject *resultobj = 0; | |
14095 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14096 | size_t arg2 ; | |
14097 | bool result; | |
14098 | void *argp1 = 0 ; | |
14099 | int res1 = 0 ; | |
14100 | size_t val2 ; | |
14101 | int ecode2 = 0 ; | |
14102 | ||
14103 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14104 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14105 | if (!SWIG_IsOK(res1)) { | |
14106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14107 | } | |
14108 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14109 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
14110 | if (!SWIG_IsOK(ecode2)) { | |
14111 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14112 | } | |
14113 | arg2 = static_cast< size_t >(val2); | |
14114 | { | |
14115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14116 | result = (bool)(arg1)->SetActivePage(arg2); | |
14117 | wxPyEndAllowThreads(__tstate); | |
14118 | if (PyErr_Occurred()) SWIG_fail; | |
14119 | } | |
14120 | { | |
14121 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14122 | } | |
14123 | return resultobj; | |
14124 | fail: | |
14125 | return NULL; | |
14126 | } | |
14127 | ||
14128 | ||
14129 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
14130 | int argc; | |
14131 | PyObject *argv[3]; | |
14132 | ||
14133 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
14134 | --argc; | |
14135 | if (argc == 2) { | |
14136 | int _v = 0; | |
14137 | { | |
14138 | void *vptr = 0; | |
14139 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
14140 | _v = SWIG_CheckState(res); | |
14141 | } | |
14142 | if (!_v) goto check_1; | |
14143 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
14144 | } | |
14145 | check_1: | |
14146 | ||
14147 | if (argc == 2) { | |
14148 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
14149 | } | |
14150 | ||
14151 | fail: | |
14152 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
14153 | return NULL; | |
14154 | } | |
14155 | ||
14156 | ||
14157 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14158 | PyObject *resultobj = 0; | |
14159 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14160 | void *argp1 = 0 ; | |
14161 | int res1 = 0 ; | |
14162 | PyObject *swig_obj[1] ; | |
14163 | ||
14164 | if (!args) SWIG_fail; | |
14165 | swig_obj[0] = args; | |
14166 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14167 | if (!SWIG_IsOK(res1)) { | |
14168 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14169 | } | |
14170 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14171 | { | |
14172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14173 | (arg1)->SetNoneActive(); | |
14174 | wxPyEndAllowThreads(__tstate); | |
14175 | if (PyErr_Occurred()) SWIG_fail; | |
14176 | } | |
14177 | resultobj = SWIG_Py_Void(); | |
14178 | return resultobj; | |
14179 | fail: | |
14180 | return NULL; | |
14181 | } | |
14182 | ||
14183 | ||
14184 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14185 | PyObject *resultobj = 0; | |
14186 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14187 | int result; | |
14188 | void *argp1 = 0 ; | |
14189 | int res1 = 0 ; | |
14190 | PyObject *swig_obj[1] ; | |
14191 | ||
14192 | if (!args) SWIG_fail; | |
14193 | swig_obj[0] = args; | |
14194 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14195 | if (!SWIG_IsOK(res1)) { | |
14196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14197 | } | |
14198 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14199 | { | |
14200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14201 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
14202 | wxPyEndAllowThreads(__tstate); | |
14203 | if (PyErr_Occurred()) SWIG_fail; | |
14204 | } | |
14205 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14206 | return resultobj; | |
14207 | fail: | |
14208 | return NULL; | |
14209 | } | |
14210 | ||
14211 | ||
14212 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14213 | PyObject *resultobj = 0; | |
14214 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14215 | int arg2 ; | |
14216 | int arg3 ; | |
14217 | wxWindow **arg4 = (wxWindow **) 0 ; | |
14218 | bool result; | |
14219 | void *argp1 = 0 ; | |
14220 | int res1 = 0 ; | |
14221 | int val2 ; | |
14222 | int ecode2 = 0 ; | |
14223 | int val3 ; | |
14224 | int ecode3 = 0 ; | |
14225 | void *argp4 = 0 ; | |
14226 | int res4 = 0 ; | |
14227 | PyObject * obj0 = 0 ; | |
14228 | PyObject * obj1 = 0 ; | |
14229 | PyObject * obj2 = 0 ; | |
14230 | PyObject * obj3 = 0 ; | |
14231 | char * kwnames[] = { | |
14232 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14233 | }; | |
14234 | ||
14235 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14236 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14237 | if (!SWIG_IsOK(res1)) { | |
14238 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14239 | } | |
14240 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14241 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14242 | if (!SWIG_IsOK(ecode2)) { | |
14243 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14244 | } | |
14245 | arg2 = static_cast< int >(val2); | |
14246 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14247 | if (!SWIG_IsOK(ecode3)) { | |
14248 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14249 | } | |
14250 | arg3 = static_cast< int >(val3); | |
14251 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
14252 | if (!SWIG_IsOK(res4)) { | |
14253 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
14254 | } | |
14255 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
14256 | { | |
14257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14258 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
14259 | wxPyEndAllowThreads(__tstate); | |
14260 | if (PyErr_Occurred()) SWIG_fail; | |
14261 | } | |
14262 | { | |
14263 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14264 | } | |
14265 | return resultobj; | |
14266 | fail: | |
14267 | return NULL; | |
14268 | } | |
14269 | ||
14270 | ||
14271 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14272 | PyObject *resultobj = 0; | |
14273 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14274 | int arg2 ; | |
14275 | int arg3 ; | |
14276 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
14277 | bool result; | |
14278 | void *argp1 = 0 ; | |
14279 | int res1 = 0 ; | |
14280 | int val2 ; | |
14281 | int ecode2 = 0 ; | |
14282 | int val3 ; | |
14283 | int ecode3 = 0 ; | |
14284 | void *argp4 = 0 ; | |
14285 | int res4 = 0 ; | |
14286 | PyObject * obj0 = 0 ; | |
14287 | PyObject * obj1 = 0 ; | |
14288 | PyObject * obj2 = 0 ; | |
14289 | PyObject * obj3 = 0 ; | |
14290 | char * kwnames[] = { | |
14291 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14292 | }; | |
14293 | ||
14294 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14295 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14296 | if (!SWIG_IsOK(res1)) { | |
14297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14298 | } | |
14299 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14300 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14301 | if (!SWIG_IsOK(ecode2)) { | |
14302 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14303 | } | |
14304 | arg2 = static_cast< int >(val2); | |
14305 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14306 | if (!SWIG_IsOK(ecode3)) { | |
14307 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14308 | } | |
14309 | arg3 = static_cast< int >(val3); | |
14310 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
14311 | if (!SWIG_IsOK(res4)) { | |
14312 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
14313 | } | |
14314 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
14315 | { | |
14316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14317 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
14318 | wxPyEndAllowThreads(__tstate); | |
14319 | if (PyErr_Occurred()) SWIG_fail; | |
14320 | } | |
14321 | { | |
14322 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14323 | } | |
14324 | return resultobj; | |
14325 | fail: | |
14326 | return NULL; | |
14327 | } | |
14328 | ||
14329 | ||
14330 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14331 | PyObject *resultobj = 0; | |
14332 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14333 | size_t arg2 ; | |
14334 | wxWindow *result = 0 ; | |
14335 | void *argp1 = 0 ; | |
14336 | int res1 = 0 ; | |
14337 | size_t val2 ; | |
14338 | int ecode2 = 0 ; | |
14339 | PyObject * obj0 = 0 ; | |
14340 | PyObject * obj1 = 0 ; | |
14341 | char * kwnames[] = { | |
14342 | (char *) "self",(char *) "idx", NULL | |
14343 | }; | |
14344 | ||
14345 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
14346 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14347 | if (!SWIG_IsOK(res1)) { | |
14348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14349 | } | |
14350 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14351 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14352 | if (!SWIG_IsOK(ecode2)) { | |
14353 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
14354 | } | |
14355 | arg2 = static_cast< size_t >(val2); | |
14356 | { | |
14357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14358 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
14359 | wxPyEndAllowThreads(__tstate); | |
14360 | if (PyErr_Occurred()) SWIG_fail; | |
14361 | } | |
14362 | { | |
14363 | resultobj = wxPyMake_wxObject(result, 0); | |
14364 | } | |
14365 | return resultobj; | |
14366 | fail: | |
14367 | return NULL; | |
14368 | } | |
14369 | ||
14370 | ||
14371 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14372 | PyObject *resultobj = 0; | |
14373 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14374 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14375 | int result; | |
14376 | void *argp1 = 0 ; | |
14377 | int res1 = 0 ; | |
14378 | void *argp2 = 0 ; | |
14379 | int res2 = 0 ; | |
14380 | PyObject * obj0 = 0 ; | |
14381 | PyObject * obj1 = 0 ; | |
14382 | char * kwnames[] = { | |
14383 | (char *) "self",(char *) "page", NULL | |
14384 | }; | |
14385 | ||
14386 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
14387 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14388 | if (!SWIG_IsOK(res1)) { | |
14389 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14390 | } | |
14391 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14392 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14393 | if (!SWIG_IsOK(res2)) { | |
14394 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14395 | } | |
14396 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14397 | { | |
14398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14399 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
14400 | wxPyEndAllowThreads(__tstate); | |
14401 | if (PyErr_Occurred()) SWIG_fail; | |
14402 | } | |
14403 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14404 | return resultobj; | |
14405 | fail: | |
14406 | return NULL; | |
14407 | } | |
14408 | ||
14409 | ||
14410 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14411 | PyObject *resultobj = 0; | |
14412 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14413 | size_t result; | |
14414 | void *argp1 = 0 ; | |
14415 | int res1 = 0 ; | |
14416 | PyObject *swig_obj[1] ; | |
14417 | ||
14418 | if (!args) SWIG_fail; | |
14419 | swig_obj[0] = args; | |
14420 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14421 | if (!SWIG_IsOK(res1)) { | |
14422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14423 | } | |
14424 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14425 | { | |
14426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14427 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
14428 | wxPyEndAllowThreads(__tstate); | |
14429 | if (PyErr_Occurred()) SWIG_fail; | |
14430 | } | |
14431 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14432 | return resultobj; | |
14433 | fail: | |
14434 | return NULL; | |
14435 | } | |
14436 | ||
14437 | ||
d48ae46b | 14438 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14439 | PyObject *resultobj = 0; |
14440 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14441 | size_t arg2 ; | |
14442 | wxAuiNotebookPage *result = 0 ; | |
14443 | void *argp1 = 0 ; | |
14444 | int res1 = 0 ; | |
14445 | size_t val2 ; | |
14446 | int ecode2 = 0 ; | |
d48ae46b RD |
14447 | PyObject * obj0 = 0 ; |
14448 | PyObject * obj1 = 0 ; | |
14449 | char * kwnames[] = { | |
14450 | (char *) "self",(char *) "idx", NULL | |
14451 | }; | |
10044bf1 | 14452 | |
d48ae46b RD |
14453 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
14454 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
10044bf1 RD |
14455 | if (!SWIG_IsOK(res1)) { |
14456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14457 | } | |
14458 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
d48ae46b | 14459 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
10044bf1 RD |
14460 | if (!SWIG_IsOK(ecode2)) { |
14461 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14462 | } | |
14463 | arg2 = static_cast< size_t >(val2); | |
14464 | { | |
14465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14466 | { | |
14467 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
14468 | result = (wxAuiNotebookPage *) &_result_ref; | |
14469 | } | |
14470 | wxPyEndAllowThreads(__tstate); | |
14471 | if (PyErr_Occurred()) SWIG_fail; | |
14472 | } | |
14473 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
14474 | return resultobj; | |
14475 | fail: | |
14476 | return NULL; | |
14477 | } | |
14478 | ||
14479 | ||
14480 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14481 | PyObject *resultobj = 0; | |
14482 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14483 | wxAuiNotebookPageArray *result = 0 ; | |
14484 | void *argp1 = 0 ; | |
14485 | int res1 = 0 ; | |
14486 | PyObject *swig_obj[1] ; | |
14487 | ||
14488 | if (!args) SWIG_fail; | |
14489 | swig_obj[0] = args; | |
14490 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14491 | if (!SWIG_IsOK(res1)) { | |
14492 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14493 | } | |
14494 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14495 | { | |
14496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14497 | { | |
14498 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
14499 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
14500 | } | |
14501 | wxPyEndAllowThreads(__tstate); | |
14502 | if (PyErr_Occurred()) SWIG_fail; | |
14503 | } | |
14504 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
14505 | return resultobj; | |
14506 | fail: | |
14507 | return NULL; | |
14508 | } | |
14509 | ||
14510 | ||
14511 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14512 | PyObject *resultobj = 0; | |
14513 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14514 | wxFont *arg2 = 0 ; | |
14515 | void *argp1 = 0 ; | |
14516 | int res1 = 0 ; | |
14517 | void *argp2 = 0 ; | |
14518 | int res2 = 0 ; | |
14519 | PyObject * obj0 = 0 ; | |
14520 | PyObject * obj1 = 0 ; | |
14521 | char * kwnames[] = { | |
14522 | (char *) "self",(char *) "normal_font", NULL | |
14523 | }; | |
14524 | ||
14525 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14526 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14527 | if (!SWIG_IsOK(res1)) { | |
14528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14529 | } | |
14530 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14531 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14532 | if (!SWIG_IsOK(res2)) { | |
14533 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14534 | } | |
14535 | if (!argp2) { | |
14536 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14537 | } | |
14538 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14539 | { | |
14540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14541 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
14542 | wxPyEndAllowThreads(__tstate); | |
14543 | if (PyErr_Occurred()) SWIG_fail; | |
14544 | } | |
14545 | resultobj = SWIG_Py_Void(); | |
14546 | return resultobj; | |
14547 | fail: | |
14548 | return NULL; | |
14549 | } | |
14550 | ||
14551 | ||
14552 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14553 | PyObject *resultobj = 0; | |
14554 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14555 | wxFont *arg2 = 0 ; | |
14556 | void *argp1 = 0 ; | |
14557 | int res1 = 0 ; | |
14558 | void *argp2 = 0 ; | |
14559 | int res2 = 0 ; | |
14560 | PyObject * obj0 = 0 ; | |
14561 | PyObject * obj1 = 0 ; | |
14562 | char * kwnames[] = { | |
14563 | (char *) "self",(char *) "selected_font", NULL | |
14564 | }; | |
14565 | ||
14566 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14567 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14568 | if (!SWIG_IsOK(res1)) { | |
14569 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14570 | } | |
14571 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14572 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14573 | if (!SWIG_IsOK(res2)) { | |
14574 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14575 | } | |
14576 | if (!argp2) { | |
14577 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14578 | } | |
14579 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14580 | { | |
14581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14582 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14583 | wxPyEndAllowThreads(__tstate); | |
14584 | if (PyErr_Occurred()) SWIG_fail; | |
14585 | } | |
14586 | resultobj = SWIG_Py_Void(); | |
14587 | return resultobj; | |
14588 | fail: | |
14589 | return NULL; | |
14590 | } | |
14591 | ||
14592 | ||
14593 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14594 | PyObject *resultobj = 0; | |
14595 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14596 | wxFont *arg2 = 0 ; | |
14597 | void *argp1 = 0 ; | |
14598 | int res1 = 0 ; | |
14599 | void *argp2 = 0 ; | |
14600 | int res2 = 0 ; | |
14601 | PyObject * obj0 = 0 ; | |
14602 | PyObject * obj1 = 0 ; | |
14603 | char * kwnames[] = { | |
14604 | (char *) "self",(char *) "measuring_font", NULL | |
14605 | }; | |
14606 | ||
14607 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14608 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14609 | if (!SWIG_IsOK(res1)) { | |
14610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14611 | } | |
14612 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14613 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14614 | if (!SWIG_IsOK(res2)) { | |
14615 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14616 | } | |
14617 | if (!argp2) { | |
14618 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14619 | } | |
14620 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14621 | { | |
14622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14623 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14624 | wxPyEndAllowThreads(__tstate); | |
14625 | if (PyErr_Occurred()) SWIG_fail; | |
14626 | } | |
14627 | resultobj = SWIG_Py_Void(); | |
14628 | return resultobj; | |
14629 | fail: | |
14630 | return NULL; | |
14631 | } | |
14632 | ||
14633 | ||
14634 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14635 | PyObject *resultobj = 0; | |
14636 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14637 | void *argp1 = 0 ; | |
14638 | int res1 = 0 ; | |
14639 | PyObject *swig_obj[1] ; | |
14640 | ||
14641 | if (!args) SWIG_fail; | |
14642 | swig_obj[0] = args; | |
14643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14644 | if (!SWIG_IsOK(res1)) { | |
14645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14646 | } | |
14647 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14648 | { | |
14649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14650 | (arg1)->DoShowHide(); | |
14651 | wxPyEndAllowThreads(__tstate); | |
14652 | if (PyErr_Occurred()) SWIG_fail; | |
14653 | } | |
14654 | resultobj = SWIG_Py_Void(); | |
14655 | return resultobj; | |
14656 | fail: | |
14657 | return NULL; | |
14658 | } | |
14659 | ||
14660 | ||
14661 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14662 | PyObject *resultobj = 0; | |
14663 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14664 | wxRect *arg2 = 0 ; | |
14665 | void *argp1 = 0 ; | |
14666 | int res1 = 0 ; | |
14667 | wxRect temp2 ; | |
14668 | PyObject * obj0 = 0 ; | |
14669 | PyObject * obj1 = 0 ; | |
14670 | char * kwnames[] = { | |
14671 | (char *) "self",(char *) "rect", NULL | |
14672 | }; | |
14673 | ||
14674 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14675 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14676 | if (!SWIG_IsOK(res1)) { | |
14677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14678 | } | |
14679 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14680 | { | |
14681 | arg2 = &temp2; | |
14682 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14683 | } | |
14684 | { | |
14685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14686 | (arg1)->SetRect((wxRect const &)*arg2); | |
14687 | wxPyEndAllowThreads(__tstate); | |
14688 | if (PyErr_Occurred()) SWIG_fail; | |
14689 | } | |
14690 | resultobj = SWIG_Py_Void(); | |
14691 | return resultobj; | |
14692 | fail: | |
14693 | return NULL; | |
14694 | } | |
14695 | ||
14696 | ||
36cb9ebe RD |
14697 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14698 | PyObject *resultobj = 0; | |
14699 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14700 | int arg2 ; | |
14701 | void *argp1 = 0 ; | |
14702 | int res1 = 0 ; | |
14703 | int val2 ; | |
14704 | int ecode2 = 0 ; | |
14705 | PyObject * obj0 = 0 ; | |
14706 | PyObject * obj1 = 0 ; | |
14707 | char * kwnames[] = { | |
14708 | (char *) "self",(char *) "id", NULL | |
14709 | }; | |
14710 | ||
14711 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14712 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14713 | if (!SWIG_IsOK(res1)) { | |
14714 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14715 | } | |
14716 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14717 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14718 | if (!SWIG_IsOK(ecode2)) { | |
14719 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14720 | } | |
14721 | arg2 = static_cast< int >(val2); | |
14722 | { | |
14723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14724 | (arg1)->RemoveButton(arg2); | |
14725 | wxPyEndAllowThreads(__tstate); | |
14726 | if (PyErr_Occurred()) SWIG_fail; | |
14727 | } | |
14728 | resultobj = SWIG_Py_Void(); | |
14729 | return resultobj; | |
14730 | fail: | |
14731 | return NULL; | |
14732 | } | |
14733 | ||
14734 | ||
10044bf1 RD |
14735 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14736 | PyObject *resultobj = 0; | |
14737 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14738 | int arg2 ; | |
5c8c7dd3 | 14739 | int arg3 ; |
8f514ab4 RD |
14740 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14741 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14742 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14743 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14744 | void *argp1 = 0 ; |
14745 | int res1 = 0 ; | |
14746 | int val2 ; | |
14747 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14748 | int val3 ; |
14749 | int ecode3 = 0 ; | |
14750 | void *argp4 = 0 ; | |
14751 | int res4 = 0 ; | |
8f514ab4 RD |
14752 | void *argp5 = 0 ; |
14753 | int res5 = 0 ; | |
10044bf1 RD |
14754 | PyObject * obj0 = 0 ; |
14755 | PyObject * obj1 = 0 ; | |
14756 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14757 | PyObject * obj3 = 0 ; |
8f514ab4 | 14758 | PyObject * obj4 = 0 ; |
10044bf1 | 14759 | char * kwnames[] = { |
8f514ab4 | 14760 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14761 | }; |
14762 | ||
8f514ab4 | 14763 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14764 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14765 | if (!SWIG_IsOK(res1)) { | |
14766 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14767 | } | |
14768 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14769 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14770 | if (!SWIG_IsOK(ecode2)) { | |
14771 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14772 | } | |
14773 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14774 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14775 | if (!SWIG_IsOK(ecode3)) { | |
14776 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14777 | } | |
14778 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14779 | if (obj3) { |
14780 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14781 | if (!SWIG_IsOK(res4)) { | |
14782 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14783 | } | |
14784 | if (!argp4) { | |
14785 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14786 | } | |
14787 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14788 | } |
8f514ab4 RD |
14789 | if (obj4) { |
14790 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14791 | if (!SWIG_IsOK(res5)) { | |
14792 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14793 | } | |
14794 | if (!argp5) { | |
14795 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14796 | } | |
14797 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14798 | } |
10044bf1 RD |
14799 | { |
14800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14801 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14802 | wxPyEndAllowThreads(__tstate); | |
14803 | if (PyErr_Occurred()) SWIG_fail; | |
14804 | } | |
14805 | resultobj = SWIG_Py_Void(); | |
14806 | return resultobj; | |
14807 | fail: | |
14808 | return NULL; | |
14809 | } | |
14810 | ||
14811 | ||
14812 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14813 | PyObject *resultobj = 0; | |
14814 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14815 | size_t result; | |
14816 | void *argp1 = 0 ; | |
14817 | int res1 = 0 ; | |
14818 | PyObject *swig_obj[1] ; | |
14819 | ||
14820 | if (!args) SWIG_fail; | |
14821 | swig_obj[0] = args; | |
14822 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14823 | if (!SWIG_IsOK(res1)) { | |
14824 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14825 | } | |
14826 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14827 | { | |
14828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14829 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14830 | wxPyEndAllowThreads(__tstate); | |
14831 | if (PyErr_Occurred()) SWIG_fail; | |
14832 | } | |
14833 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14834 | return resultobj; | |
14835 | fail: | |
14836 | return NULL; | |
14837 | } | |
14838 | ||
14839 | ||
14840 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14841 | PyObject *resultobj = 0; | |
14842 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14843 | size_t arg2 ; | |
14844 | void *argp1 = 0 ; | |
14845 | int res1 = 0 ; | |
14846 | size_t val2 ; | |
14847 | int ecode2 = 0 ; | |
14848 | PyObject * obj0 = 0 ; | |
14849 | PyObject * obj1 = 0 ; | |
14850 | char * kwnames[] = { | |
14851 | (char *) "self",(char *) "offset", NULL | |
14852 | }; | |
14853 | ||
14854 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14855 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14856 | if (!SWIG_IsOK(res1)) { | |
14857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14858 | } | |
14859 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14860 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14861 | if (!SWIG_IsOK(ecode2)) { | |
14862 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14863 | } | |
14864 | arg2 = static_cast< size_t >(val2); | |
14865 | { | |
14866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14867 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14868 | wxPyEndAllowThreads(__tstate); |
14869 | if (PyErr_Occurred()) SWIG_fail; | |
14870 | } | |
14871 | resultobj = SWIG_Py_Void(); | |
14872 | return resultobj; | |
14873 | fail: | |
14874 | return NULL; | |
14875 | } | |
14876 | ||
14877 | ||
14878 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14879 | PyObject *obj; | |
14880 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14881 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14882 | return SWIG_Py_Void(); | |
14883 | } | |
14884 | ||
14885 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14886 | return SWIG_Python_InitShadowInstance(args); | |
14887 | } | |
14888 | ||
14889 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14890 | PyObject *resultobj = 0; | |
14891 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14892 | int arg2 = (int) wxID_ANY ; | |
14893 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14894 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14895 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14896 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14897 | long arg5 = (long) 0 ; | |
14898 | wxAuiTabCtrl *result = 0 ; | |
14899 | void *argp1 = 0 ; | |
14900 | int res1 = 0 ; | |
14901 | int val2 ; | |
14902 | int ecode2 = 0 ; | |
14903 | wxPoint temp3 ; | |
14904 | wxSize temp4 ; | |
14905 | long val5 ; | |
14906 | int ecode5 = 0 ; | |
14907 | PyObject * obj0 = 0 ; | |
14908 | PyObject * obj1 = 0 ; | |
14909 | PyObject * obj2 = 0 ; | |
14910 | PyObject * obj3 = 0 ; | |
14911 | PyObject * obj4 = 0 ; | |
14912 | char * kwnames[] = { | |
14913 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14914 | }; | |
14915 | ||
14916 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14917 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14918 | if (!SWIG_IsOK(res1)) { | |
14919 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14920 | } | |
14921 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14922 | if (obj1) { | |
14923 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14924 | if (!SWIG_IsOK(ecode2)) { | |
14925 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14926 | } | |
14927 | arg2 = static_cast< int >(val2); | |
14928 | } | |
14929 | if (obj2) { | |
14930 | { | |
14931 | arg3 = &temp3; | |
14932 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14933 | } | |
14934 | } | |
14935 | if (obj3) { | |
14936 | { | |
14937 | arg4 = &temp4; | |
14938 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14939 | } | |
14940 | } | |
14941 | if (obj4) { | |
14942 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14943 | if (!SWIG_IsOK(ecode5)) { | |
14944 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14945 | } | |
14946 | arg5 = static_cast< long >(val5); | |
14947 | } | |
14948 | { | |
14949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14950 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14951 | wxPyEndAllowThreads(__tstate); | |
14952 | if (PyErr_Occurred()) SWIG_fail; | |
14953 | } | |
14954 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14955 | return resultobj; | |
14956 | fail: | |
14957 | return NULL; | |
14958 | } | |
14959 | ||
14960 | ||
580080c5 RD |
14961 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14962 | PyObject *resultobj = 0; | |
14963 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14964 | void *argp1 = 0 ; | |
14965 | int res1 = 0 ; | |
14966 | PyObject *swig_obj[1] ; | |
14967 | ||
14968 | if (!args) SWIG_fail; | |
14969 | swig_obj[0] = args; | |
14970 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14971 | if (!SWIG_IsOK(res1)) { | |
14972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14973 | } | |
14974 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14975 | { | |
14976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14977 | delete arg1; | |
14978 | ||
14979 | wxPyEndAllowThreads(__tstate); | |
14980 | if (PyErr_Occurred()) SWIG_fail; | |
14981 | } | |
14982 | resultobj = SWIG_Py_Void(); | |
14983 | return resultobj; | |
14984 | fail: | |
14985 | return NULL; | |
14986 | } | |
14987 | ||
14988 | ||
10044bf1 RD |
14989 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14990 | PyObject *obj; | |
14991 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14992 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14993 | return SWIG_Py_Void(); | |
14994 | } | |
14995 | ||
14996 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14997 | return SWIG_Python_InitShadowInstance(args); | |
14998 | } | |
14999 | ||
5eb8189c | 15000 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15001 | PyObject *resultobj = 0; |
5eb8189c | 15002 | wxAuiNotebook *result = 0 ; |
10044bf1 | 15003 | |
5eb8189c | 15004 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
15005 | { |
15006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15007 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
15008 | wxPyEndAllowThreads(__tstate); |
15009 | if (PyErr_Occurred()) SWIG_fail; | |
15010 | } | |
5eb8189c | 15011 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
15012 | return resultobj; |
15013 | fail: | |
15014 | return NULL; | |
15015 | } | |
15016 | ||
15017 | ||
5eb8189c | 15018 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
15019 | PyObject *resultobj = 0; |
15020 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15021 | int arg2 = (int) wxID_ANY ; | |
15022 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
15023 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15024 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15025 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
15026 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
15027 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
15028 | void *argp1 = 0 ; |
15029 | int res1 = 0 ; | |
15030 | int val2 ; | |
15031 | int ecode2 = 0 ; | |
15032 | wxPoint temp3 ; | |
15033 | wxSize temp4 ; | |
15034 | long val5 ; | |
15035 | int ecode5 = 0 ; | |
15036 | PyObject * obj0 = 0 ; | |
15037 | PyObject * obj1 = 0 ; | |
15038 | PyObject * obj2 = 0 ; | |
15039 | PyObject * obj3 = 0 ; | |
15040 | PyObject * obj4 = 0 ; | |
15041 | char * kwnames[] = { | |
15042 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15043 | }; | |
15044 | ||
5eb8189c | 15045 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
15046 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15047 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 15048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15049 | } |
15050 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15051 | if (obj1) { | |
15052 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15053 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15054 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
15055 | } |
15056 | arg2 = static_cast< int >(val2); | |
15057 | } | |
15058 | if (obj2) { | |
15059 | { | |
15060 | arg3 = &temp3; | |
15061 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15062 | } | |
15063 | } | |
15064 | if (obj3) { | |
15065 | { | |
15066 | arg4 = &temp4; | |
15067 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15068 | } | |
15069 | } | |
15070 | if (obj4) { | |
15071 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
15072 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15073 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
15074 | } |
15075 | arg5 = static_cast< long >(val5); | |
15076 | } | |
15077 | { | |
15078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
15079 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
15080 | wxPyEndAllowThreads(__tstate); | |
15081 | if (PyErr_Occurred()) SWIG_fail; | |
15082 | } | |
15083 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
15084 | return resultobj; | |
15085 | fail: | |
15086 | return NULL; | |
15087 | } | |
15088 | ||
15089 | ||
15090 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15091 | PyObject *resultobj = 0; | |
15092 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15093 | void *argp1 = 0 ; | |
15094 | int res1 = 0 ; | |
15095 | PyObject *swig_obj[1] ; | |
15096 | ||
15097 | if (!args) SWIG_fail; | |
15098 | swig_obj[0] = args; | |
15099 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
15100 | if (!SWIG_IsOK(res1)) { | |
15101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15102 | } | |
15103 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15104 | { | |
15105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15106 | delete arg1; | |
15107 | ||
10044bf1 RD |
15108 | wxPyEndAllowThreads(__tstate); |
15109 | if (PyErr_Occurred()) SWIG_fail; | |
15110 | } | |
5eb8189c | 15111 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
15112 | return resultobj; |
15113 | fail: | |
15114 | return NULL; | |
15115 | } | |
15116 | ||
15117 | ||
5eb8189c | 15118 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15119 | PyObject *resultobj = 0; |
5eb8189c | 15120 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15121 | wxWindow *arg2 = (wxWindow *) 0 ; |
15122 | int arg3 = (int) wxID_ANY ; | |
15123 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
15124 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15125 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15126 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15127 | long arg6 = (long) 0 ; | |
15128 | bool result; | |
15129 | void *argp1 = 0 ; | |
15130 | int res1 = 0 ; | |
15131 | void *argp2 = 0 ; | |
15132 | int res2 = 0 ; | |
15133 | int val3 ; | |
15134 | int ecode3 = 0 ; | |
15135 | wxPoint temp4 ; | |
15136 | wxSize temp5 ; | |
15137 | long val6 ; | |
15138 | int ecode6 = 0 ; | |
15139 | PyObject * obj0 = 0 ; | |
15140 | PyObject * obj1 = 0 ; | |
15141 | PyObject * obj2 = 0 ; | |
15142 | PyObject * obj3 = 0 ; | |
15143 | PyObject * obj4 = 0 ; | |
15144 | PyObject * obj5 = 0 ; | |
15145 | char * kwnames[] = { | |
15146 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15147 | }; | |
15148 | ||
5eb8189c RD |
15149 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15150 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15151 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15152 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15153 | } |
5eb8189c | 15154 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15155 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15156 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15157 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15158 | } |
15159 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15160 | if (obj2) { | |
15161 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15162 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 15163 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
15164 | } |
15165 | arg3 = static_cast< int >(val3); | |
15166 | } | |
15167 | if (obj3) { | |
15168 | { | |
15169 | arg4 = &temp4; | |
15170 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15171 | } | |
15172 | } | |
15173 | if (obj4) { | |
15174 | { | |
15175 | arg5 = &temp5; | |
15176 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15177 | } | |
15178 | } | |
15179 | if (obj5) { | |
15180 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
15181 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 15182 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
15183 | } |
15184 | arg6 = static_cast< long >(val6); | |
15185 | } | |
15186 | { | |
15187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15188 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
15189 | wxPyEndAllowThreads(__tstate); | |
15190 | if (PyErr_Occurred()) SWIG_fail; | |
15191 | } | |
15192 | { | |
15193 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15194 | } | |
15195 | return resultobj; | |
15196 | fail: | |
15197 | return NULL; | |
15198 | } | |
15199 | ||
15200 | ||
a6927690 RD |
15201 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15202 | PyObject *resultobj = 0; | |
15203 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15204 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
15205 | void *argp1 = 0 ; | |
15206 | int res1 = 0 ; | |
15207 | void *argp2 = 0 ; | |
15208 | int res2 = 0 ; | |
15209 | PyObject * obj0 = 0 ; | |
15210 | PyObject * obj1 = 0 ; | |
15211 | char * kwnames[] = { | |
15212 | (char *) "self",(char *) "art", NULL | |
15213 | }; | |
15214 | ||
15215 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
15216 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15217 | if (!SWIG_IsOK(res1)) { | |
15218 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15219 | } | |
15220 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15221 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15222 | if (!SWIG_IsOK(res2)) { | |
15223 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
15224 | } | |
15225 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
15226 | { | |
15227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15228 | (arg1)->SetArtProvider(arg2); | |
15229 | wxPyEndAllowThreads(__tstate); | |
15230 | if (PyErr_Occurred()) SWIG_fail; | |
15231 | } | |
15232 | resultobj = SWIG_Py_Void(); | |
15233 | return resultobj; | |
15234 | fail: | |
15235 | return NULL; | |
15236 | } | |
15237 | ||
15238 | ||
15239 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15240 | PyObject *resultobj = 0; | |
15241 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15242 | wxAuiTabArt *result = 0 ; | |
15243 | void *argp1 = 0 ; | |
15244 | int res1 = 0 ; | |
15245 | PyObject *swig_obj[1] ; | |
15246 | ||
15247 | if (!args) SWIG_fail; | |
15248 | swig_obj[0] = args; | |
15249 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15250 | if (!SWIG_IsOK(res1)) { | |
15251 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15252 | } | |
15253 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15254 | { | |
15255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15256 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); | |
15257 | wxPyEndAllowThreads(__tstate); | |
15258 | if (PyErr_Occurred()) SWIG_fail; | |
15259 | } | |
15260 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15261 | return resultobj; | |
15262 | fail: | |
15263 | return NULL; | |
15264 | } | |
15265 | ||
15266 | ||
15267 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15268 | PyObject *resultobj = 0; | |
15269 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15270 | wxSize *arg2 = 0 ; | |
15271 | void *argp1 = 0 ; | |
15272 | int res1 = 0 ; | |
15273 | wxSize temp2 ; | |
15274 | PyObject * obj0 = 0 ; | |
15275 | PyObject * obj1 = 0 ; | |
15276 | char * kwnames[] = { | |
15277 | (char *) "self",(char *) "size", NULL | |
15278 | }; | |
15279 | ||
15280 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
15281 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15282 | if (!SWIG_IsOK(res1)) { | |
15283 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15284 | } | |
15285 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15286 | { | |
15287 | arg2 = &temp2; | |
15288 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15289 | } | |
15290 | { | |
15291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15292 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15293 | wxPyEndAllowThreads(__tstate); | |
15294 | if (PyErr_Occurred()) SWIG_fail; | |
15295 | } | |
15296 | resultobj = SWIG_Py_Void(); | |
15297 | return resultobj; | |
15298 | fail: | |
15299 | return NULL; | |
15300 | } | |
15301 | ||
15302 | ||
15303 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15304 | PyObject *resultobj = 0; | |
15305 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15306 | int arg2 ; | |
15307 | void *argp1 = 0 ; | |
15308 | int res1 = 0 ; | |
15309 | int val2 ; | |
15310 | int ecode2 = 0 ; | |
15311 | PyObject * obj0 = 0 ; | |
15312 | PyObject * obj1 = 0 ; | |
15313 | char * kwnames[] = { | |
15314 | (char *) "self",(char *) "height", NULL | |
15315 | }; | |
15316 | ||
15317 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15318 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15319 | if (!SWIG_IsOK(res1)) { | |
15320 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15321 | } | |
15322 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15323 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15324 | if (!SWIG_IsOK(ecode2)) { | |
15325 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15326 | } | |
15327 | arg2 = static_cast< int >(val2); | |
15328 | { | |
15329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15330 | (arg1)->SetTabCtrlHeight(arg2); | |
15331 | wxPyEndAllowThreads(__tstate); | |
15332 | if (PyErr_Occurred()) SWIG_fail; | |
15333 | } | |
15334 | resultobj = SWIG_Py_Void(); | |
15335 | return resultobj; | |
15336 | fail: | |
15337 | return NULL; | |
15338 | } | |
15339 | ||
15340 | ||
5eb8189c | 15341 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15342 | PyObject *resultobj = 0; |
5eb8189c | 15343 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15344 | wxWindow *arg2 = (wxWindow *) 0 ; |
15345 | wxString *arg3 = 0 ; | |
15346 | bool arg4 = (bool) false ; | |
15347 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
15348 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
15349 | bool result; | |
15350 | void *argp1 = 0 ; | |
15351 | int res1 = 0 ; | |
15352 | void *argp2 = 0 ; | |
15353 | int res2 = 0 ; | |
15354 | bool temp3 = false ; | |
15355 | bool val4 ; | |
15356 | int ecode4 = 0 ; | |
15357 | void *argp5 = 0 ; | |
15358 | int res5 = 0 ; | |
15359 | PyObject * obj0 = 0 ; | |
15360 | PyObject * obj1 = 0 ; | |
15361 | PyObject * obj2 = 0 ; | |
15362 | PyObject * obj3 = 0 ; | |
15363 | PyObject * obj4 = 0 ; | |
15364 | char * kwnames[] = { | |
15365 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15366 | }; | |
15367 | ||
5eb8189c RD |
15368 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
15369 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15370 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15371 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15372 | } |
5eb8189c | 15373 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15374 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15375 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15376 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15377 | } |
15378 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15379 | { | |
15380 | arg3 = wxString_in_helper(obj2); | |
15381 | if (arg3 == NULL) SWIG_fail; | |
15382 | temp3 = true; | |
15383 | } | |
15384 | if (obj3) { | |
15385 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
15386 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 15387 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
15388 | } |
15389 | arg4 = static_cast< bool >(val4); | |
15390 | } | |
15391 | if (obj4) { | |
15392 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15393 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 15394 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15395 | } |
15396 | if (!argp5) { | |
5eb8189c | 15397 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15398 | } |
15399 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15400 | } | |
15401 | { | |
15402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15403 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15404 | wxPyEndAllowThreads(__tstate); | |
15405 | if (PyErr_Occurred()) SWIG_fail; | |
15406 | } | |
15407 | { | |
15408 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15409 | } | |
15410 | { | |
15411 | if (temp3) | |
15412 | delete arg3; | |
15413 | } | |
15414 | return resultobj; | |
15415 | fail: | |
15416 | { | |
15417 | if (temp3) | |
15418 | delete arg3; | |
15419 | } | |
15420 | return NULL; | |
15421 | } | |
15422 | ||
15423 | ||
5eb8189c | 15424 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15425 | PyObject *resultobj = 0; |
5eb8189c | 15426 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15427 | size_t arg2 ; |
15428 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15429 | wxString *arg4 = 0 ; | |
15430 | bool arg5 = (bool) false ; | |
15431 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15432 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15433 | bool result; | |
15434 | void *argp1 = 0 ; | |
15435 | int res1 = 0 ; | |
15436 | size_t val2 ; | |
15437 | int ecode2 = 0 ; | |
15438 | void *argp3 = 0 ; | |
15439 | int res3 = 0 ; | |
15440 | bool temp4 = false ; | |
15441 | bool val5 ; | |
15442 | int ecode5 = 0 ; | |
15443 | void *argp6 = 0 ; | |
15444 | int res6 = 0 ; | |
15445 | PyObject * obj0 = 0 ; | |
15446 | PyObject * obj1 = 0 ; | |
15447 | PyObject * obj2 = 0 ; | |
15448 | PyObject * obj3 = 0 ; | |
15449 | PyObject * obj4 = 0 ; | |
15450 | PyObject * obj5 = 0 ; | |
15451 | char * kwnames[] = { | |
15452 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15453 | }; | |
15454 | ||
5eb8189c RD |
15455 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15456 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15457 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15459 | } |
5eb8189c | 15460 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15461 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15462 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15463 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15464 | } |
15465 | arg2 = static_cast< size_t >(val2); | |
15466 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15467 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15468 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15469 | } |
15470 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15471 | { | |
15472 | arg4 = wxString_in_helper(obj3); | |
15473 | if (arg4 == NULL) SWIG_fail; | |
15474 | temp4 = true; | |
15475 | } | |
15476 | if (obj4) { | |
15477 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15478 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15479 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
15480 | } |
15481 | arg5 = static_cast< bool >(val5); | |
15482 | } | |
15483 | if (obj5) { | |
15484 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15485 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15486 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15487 | } |
15488 | if (!argp6) { | |
5eb8189c | 15489 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15490 | } |
15491 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15492 | } | |
15493 | { | |
15494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15495 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15496 | wxPyEndAllowThreads(__tstate); | |
15497 | if (PyErr_Occurred()) SWIG_fail; | |
15498 | } | |
15499 | { | |
15500 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15501 | } | |
15502 | { | |
15503 | if (temp4) | |
15504 | delete arg4; | |
15505 | } | |
15506 | return resultobj; | |
15507 | fail: | |
15508 | { | |
15509 | if (temp4) | |
15510 | delete arg4; | |
15511 | } | |
15512 | return NULL; | |
15513 | } | |
15514 | ||
15515 | ||
5eb8189c | 15516 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15517 | PyObject *resultobj = 0; |
5eb8189c | 15518 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15519 | size_t arg2 ; |
15520 | bool result; | |
15521 | void *argp1 = 0 ; | |
15522 | int res1 = 0 ; | |
15523 | size_t val2 ; | |
15524 | int ecode2 = 0 ; | |
15525 | PyObject * obj0 = 0 ; | |
15526 | PyObject * obj1 = 0 ; | |
15527 | char * kwnames[] = { | |
15528 | (char *) "self",(char *) "page", NULL | |
15529 | }; | |
15530 | ||
5eb8189c RD |
15531 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15532 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15533 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15534 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15535 | } |
5eb8189c | 15536 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15537 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15538 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15539 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15540 | } |
15541 | arg2 = static_cast< size_t >(val2); | |
15542 | { | |
15543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15544 | result = (bool)(arg1)->DeletePage(arg2); | |
15545 | wxPyEndAllowThreads(__tstate); | |
15546 | if (PyErr_Occurred()) SWIG_fail; | |
15547 | } | |
15548 | { | |
15549 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15550 | } | |
15551 | return resultobj; | |
15552 | fail: | |
15553 | return NULL; | |
15554 | } | |
15555 | ||
15556 | ||
5eb8189c | 15557 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15558 | PyObject *resultobj = 0; |
5eb8189c | 15559 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15560 | size_t arg2 ; |
15561 | bool result; | |
15562 | void *argp1 = 0 ; | |
15563 | int res1 = 0 ; | |
15564 | size_t val2 ; | |
15565 | int ecode2 = 0 ; | |
15566 | PyObject * obj0 = 0 ; | |
15567 | PyObject * obj1 = 0 ; | |
15568 | char * kwnames[] = { | |
15569 | (char *) "self",(char *) "page", NULL | |
15570 | }; | |
15571 | ||
5eb8189c RD |
15572 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15574 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15576 | } |
5eb8189c | 15577 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15578 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15579 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15580 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15581 | } |
15582 | arg2 = static_cast< size_t >(val2); | |
15583 | { | |
15584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15585 | result = (bool)(arg1)->RemovePage(arg2); | |
15586 | wxPyEndAllowThreads(__tstate); | |
15587 | if (PyErr_Occurred()) SWIG_fail; | |
15588 | } | |
15589 | { | |
15590 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15591 | } | |
15592 | return resultobj; | |
15593 | fail: | |
15594 | return NULL; | |
15595 | } | |
15596 | ||
15597 | ||
a6927690 | 15598 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15599 | PyObject *resultobj = 0; |
5eb8189c | 15600 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 | 15601 | size_t result; |
10044bf1 RD |
15602 | void *argp1 = 0 ; |
15603 | int res1 = 0 ; | |
a6927690 | 15604 | PyObject *swig_obj[1] ; |
10044bf1 | 15605 | |
a6927690 RD |
15606 | if (!args) SWIG_fail; |
15607 | swig_obj[0] = args; | |
15608 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15609 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15611 | } |
5eb8189c | 15612 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15613 | { |
15614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15615 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15616 | wxPyEndAllowThreads(__tstate); |
15617 | if (PyErr_Occurred()) SWIG_fail; | |
15618 | } | |
a6927690 | 15619 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
10044bf1 RD |
15620 | return resultobj; |
15621 | fail: | |
10044bf1 RD |
15622 | return NULL; |
15623 | } | |
15624 | ||
15625 | ||
a6927690 | 15626 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15627 | PyObject *resultobj = 0; |
15628 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15629 | size_t arg2 ; | |
a6927690 | 15630 | wxWindow *result = 0 ; |
5172800e RD |
15631 | void *argp1 = 0 ; |
15632 | int res1 = 0 ; | |
15633 | size_t val2 ; | |
15634 | int ecode2 = 0 ; | |
5172800e RD |
15635 | PyObject * obj0 = 0 ; |
15636 | PyObject * obj1 = 0 ; | |
5172800e | 15637 | char * kwnames[] = { |
a6927690 | 15638 | (char *) "self",(char *) "page_idx", NULL |
5172800e RD |
15639 | }; |
15640 | ||
a6927690 | 15641 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
5172800e RD |
15642 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15643 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15644 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5172800e RD |
15645 | } |
15646 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15647 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15648 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15649 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
5172800e RD |
15650 | } |
15651 | arg2 = static_cast< size_t >(val2); | |
5172800e RD |
15652 | { |
15653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15654 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
5172800e RD |
15655 | wxPyEndAllowThreads(__tstate); |
15656 | if (PyErr_Occurred()) SWIG_fail; | |
15657 | } | |
15658 | { | |
a6927690 | 15659 | resultobj = wxPyMake_wxObject(result, 0); |
5172800e RD |
15660 | } |
15661 | return resultobj; | |
15662 | fail: | |
15663 | return NULL; | |
15664 | } | |
15665 | ||
15666 | ||
a6927690 | 15667 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15668 | PyObject *resultobj = 0; |
5eb8189c | 15669 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15670 | wxWindow *arg2 = (wxWindow *) 0 ; |
15671 | int result; | |
10044bf1 RD |
15672 | void *argp1 = 0 ; |
15673 | int res1 = 0 ; | |
a6927690 RD |
15674 | void *argp2 = 0 ; |
15675 | int res2 = 0 ; | |
10044bf1 RD |
15676 | PyObject * obj0 = 0 ; |
15677 | PyObject * obj1 = 0 ; | |
15678 | char * kwnames[] = { | |
a6927690 | 15679 | (char *) "self",(char *) "page_wnd", NULL |
10044bf1 RD |
15680 | }; |
15681 | ||
a6927690 | 15682 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15683 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15684 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15685 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15686 | } |
5eb8189c | 15687 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15688 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15689 | if (!SWIG_IsOK(res2)) { | |
15690 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15691 | } | |
15692 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10044bf1 RD |
15693 | { |
15694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15695 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); |
10044bf1 RD |
15696 | wxPyEndAllowThreads(__tstate); |
15697 | if (PyErr_Occurred()) SWIG_fail; | |
15698 | } | |
a6927690 | 15699 | resultobj = SWIG_From_int(static_cast< int >(result)); |
10044bf1 RD |
15700 | return resultobj; |
15701 | fail: | |
15702 | return NULL; | |
15703 | } | |
15704 | ||
15705 | ||
a6927690 | 15706 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15707 | PyObject *resultobj = 0; |
5eb8189c | 15708 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15709 | size_t arg2 ; |
15710 | wxString *arg3 = 0 ; | |
15711 | bool result; | |
10044bf1 RD |
15712 | void *argp1 = 0 ; |
15713 | int res1 = 0 ; | |
a6927690 RD |
15714 | size_t val2 ; |
15715 | int ecode2 = 0 ; | |
15716 | bool temp3 = false ; | |
15717 | PyObject * obj0 = 0 ; | |
15718 | PyObject * obj1 = 0 ; | |
15719 | PyObject * obj2 = 0 ; | |
15720 | char * kwnames[] = { | |
15721 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15722 | }; | |
10044bf1 | 15723 | |
a6927690 RD |
15724 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15725 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15726 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15728 | } |
5eb8189c | 15729 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15730 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15731 | if (!SWIG_IsOK(ecode2)) { | |
15732 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
15733 | } | |
15734 | arg2 = static_cast< size_t >(val2); | |
15735 | { | |
15736 | arg3 = wxString_in_helper(obj2); | |
15737 | if (arg3 == NULL) SWIG_fail; | |
15738 | temp3 = true; | |
15739 | } | |
10044bf1 RD |
15740 | { |
15741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15742 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); |
10044bf1 RD |
15743 | wxPyEndAllowThreads(__tstate); |
15744 | if (PyErr_Occurred()) SWIG_fail; | |
15745 | } | |
a6927690 RD |
15746 | { |
15747 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 15748 | } |
10044bf1 | 15749 | { |
a6927690 RD |
15750 | if (temp3) |
15751 | delete arg3; | |
10044bf1 | 15752 | } |
10044bf1 RD |
15753 | return resultobj; |
15754 | fail: | |
a6927690 RD |
15755 | { |
15756 | if (temp3) | |
15757 | delete arg3; | |
15758 | } | |
10044bf1 RD |
15759 | return NULL; |
15760 | } | |
15761 | ||
15762 | ||
a6927690 | 15763 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15764 | PyObject *resultobj = 0; |
5eb8189c | 15765 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 | 15766 | size_t arg2 ; |
a6927690 | 15767 | wxString result; |
10044bf1 RD |
15768 | void *argp1 = 0 ; |
15769 | int res1 = 0 ; | |
15770 | size_t val2 ; | |
15771 | int ecode2 = 0 ; | |
15772 | PyObject * obj0 = 0 ; | |
15773 | PyObject * obj1 = 0 ; | |
15774 | char * kwnames[] = { | |
15775 | (char *) "self",(char *) "page_idx", NULL | |
15776 | }; | |
15777 | ||
a6927690 | 15778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15780 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15782 | } |
5eb8189c | 15783 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15784 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15785 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15786 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15787 | } |
15788 | arg2 = static_cast< size_t >(val2); | |
15789 | { | |
15790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15791 | result = ((wxAuiNotebook const *)arg1)->GetPageText(arg2); |
10044bf1 RD |
15792 | wxPyEndAllowThreads(__tstate); |
15793 | if (PyErr_Occurred()) SWIG_fail; | |
15794 | } | |
15795 | { | |
a6927690 RD |
15796 | #if wxUSE_UNICODE |
15797 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15798 | #else | |
15799 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15800 | #endif | |
10044bf1 RD |
15801 | } |
15802 | return resultobj; | |
15803 | fail: | |
15804 | return NULL; | |
15805 | } | |
15806 | ||
15807 | ||
a6927690 | 15808 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15809 | PyObject *resultobj = 0; |
15810 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15811 | size_t arg2 ; |
15812 | wxBitmap *arg3 = 0 ; | |
15813 | bool result; | |
5172800e RD |
15814 | void *argp1 = 0 ; |
15815 | int res1 = 0 ; | |
a6927690 RD |
15816 | size_t val2 ; |
15817 | int ecode2 = 0 ; | |
15818 | void *argp3 = 0 ; | |
15819 | int res3 = 0 ; | |
5172800e RD |
15820 | PyObject * obj0 = 0 ; |
15821 | PyObject * obj1 = 0 ; | |
a6927690 | 15822 | PyObject * obj2 = 0 ; |
5172800e | 15823 | char * kwnames[] = { |
a6927690 | 15824 | (char *) "self",(char *) "page",(char *) "bitmap", NULL |
5172800e RD |
15825 | }; |
15826 | ||
a6927690 | 15827 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
5172800e RD |
15828 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15829 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5172800e RD |
15831 | } |
15832 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 RD |
15833 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15834 | if (!SWIG_IsOK(ecode2)) { | |
15835 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15836 | } | |
15837 | arg2 = static_cast< size_t >(val2); | |
15838 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15839 | if (!SWIG_IsOK(res3)) { | |
15840 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
5172800e | 15841 | } |
a6927690 RD |
15842 | if (!argp3) { |
15843 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15844 | } | |
15845 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
5172800e RD |
15846 | { |
15847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15848 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); |
5172800e RD |
15849 | wxPyEndAllowThreads(__tstate); |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
a6927690 RD |
15852 | { |
15853 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15854 | } | |
5172800e RD |
15855 | return resultobj; |
15856 | fail: | |
15857 | return NULL; | |
15858 | } | |
15859 | ||
15860 | ||
a6927690 | 15861 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15862 | PyObject *resultobj = 0; |
5eb8189c | 15863 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15864 | size_t arg2 ; |
15865 | wxBitmap result; | |
5c8c7dd3 RD |
15866 | void *argp1 = 0 ; |
15867 | int res1 = 0 ; | |
a6927690 RD |
15868 | size_t val2 ; |
15869 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
15870 | PyObject * obj0 = 0 ; |
15871 | PyObject * obj1 = 0 ; | |
15872 | char * kwnames[] = { | |
a6927690 | 15873 | (char *) "self",(char *) "page_idx", NULL |
5c8c7dd3 RD |
15874 | }; |
15875 | ||
a6927690 | 15876 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageBitmap",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15877 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15878 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15880 | } |
5eb8189c | 15881 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15882 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15883 | if (!SWIG_IsOK(ecode2)) { | |
15884 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15885 | } | |
15886 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15887 | { |
15888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15889 | result = ((wxAuiNotebook const *)arg1)->GetPageBitmap(arg2); |
5c8c7dd3 RD |
15890 | wxPyEndAllowThreads(__tstate); |
15891 | if (PyErr_Occurred()) SWIG_fail; | |
15892 | } | |
a6927690 | 15893 | resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); |
5c8c7dd3 RD |
15894 | return resultobj; |
15895 | fail: | |
15896 | return NULL; | |
15897 | } | |
15898 | ||
15899 | ||
a6927690 | 15900 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15901 | PyObject *resultobj = 0; |
5eb8189c | 15902 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15903 | size_t arg2 ; |
15904 | size_t result; | |
5c8c7dd3 RD |
15905 | void *argp1 = 0 ; |
15906 | int res1 = 0 ; | |
a6927690 RD |
15907 | size_t val2 ; |
15908 | int ecode2 = 0 ; | |
15909 | PyObject * obj0 = 0 ; | |
15910 | PyObject * obj1 = 0 ; | |
15911 | char * kwnames[] = { | |
15912 | (char *) "self",(char *) "new_page", NULL | |
15913 | }; | |
5c8c7dd3 | 15914 | |
a6927690 RD |
15915 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15916 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15917 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15919 | } |
5eb8189c | 15920 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15921 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15922 | if (!SWIG_IsOK(ecode2)) { | |
15923 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
15924 | } | |
15925 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15926 | { |
15927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15928 | result = (size_t)(arg1)->SetSelection(arg2); |
5c8c7dd3 RD |
15929 | wxPyEndAllowThreads(__tstate); |
15930 | if (PyErr_Occurred()) SWIG_fail; | |
15931 | } | |
a6927690 | 15932 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
5c8c7dd3 RD |
15933 | return resultobj; |
15934 | fail: | |
15935 | return NULL; | |
15936 | } | |
15937 | ||
15938 | ||
a6927690 | 15939 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8287c33f RD |
15940 | PyObject *resultobj = 0; |
15941 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 | 15942 | int result; |
8287c33f RD |
15943 | void *argp1 = 0 ; |
15944 | int res1 = 0 ; | |
a6927690 | 15945 | PyObject *swig_obj[1] ; |
8287c33f | 15946 | |
a6927690 RD |
15947 | if (!args) SWIG_fail; |
15948 | swig_obj[0] = args; | |
15949 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
8287c33f | 15950 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
8287c33f RD |
15952 | } |
15953 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
8287c33f RD |
15954 | { |
15955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15956 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
8287c33f RD |
15957 | wxPyEndAllowThreads(__tstate); |
15958 | if (PyErr_Occurred()) SWIG_fail; | |
15959 | } | |
a6927690 | 15960 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8287c33f RD |
15961 | return resultobj; |
15962 | fail: | |
15963 | return NULL; | |
15964 | } | |
15965 | ||
15966 | ||
a6927690 | 15967 | SWIGINTERN PyObject *_wrap_AuiNotebook_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8287c33f RD |
15968 | PyObject *resultobj = 0; |
15969 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15970 | size_t arg2 ; |
15971 | int arg3 ; | |
8287c33f RD |
15972 | void *argp1 = 0 ; |
15973 | int res1 = 0 ; | |
a6927690 | 15974 | size_t val2 ; |
8287c33f | 15975 | int ecode2 = 0 ; |
a6927690 RD |
15976 | int val3 ; |
15977 | int ecode3 = 0 ; | |
8287c33f RD |
15978 | PyObject * obj0 = 0 ; |
15979 | PyObject * obj1 = 0 ; | |
a6927690 | 15980 | PyObject * obj2 = 0 ; |
8287c33f | 15981 | char * kwnames[] = { |
a6927690 | 15982 | (char *) "self",(char *) "page",(char *) "direction", NULL |
8287c33f RD |
15983 | }; |
15984 | ||
a6927690 | 15985 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_Split",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8287c33f RD |
15986 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15987 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Split" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
8287c33f RD |
15989 | } |
15990 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 | 15991 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
8287c33f | 15992 | if (!SWIG_IsOK(ecode2)) { |
a6927690 | 15993 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_Split" "', expected argument " "2"" of type '" "size_t""'"); |
8287c33f | 15994 | } |
a6927690 RD |
15995 | arg2 = static_cast< size_t >(val2); |
15996 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15997 | if (!SWIG_IsOK(ecode3)) { | |
15998 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Split" "', expected argument " "3"" of type '" "int""'"); | |
15999 | } | |
16000 | arg3 = static_cast< int >(val3); | |
8287c33f RD |
16001 | { |
16002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 16003 | (arg1)->Split(arg2,arg3); |
8287c33f RD |
16004 | wxPyEndAllowThreads(__tstate); |
16005 | if (PyErr_Occurred()) SWIG_fail; | |
16006 | } | |
16007 | resultobj = SWIG_Py_Void(); | |
16008 | return resultobj; | |
16009 | fail: | |
16010 | return NULL; | |
16011 | } | |
16012 | ||
16013 | ||
5eb8189c | 16014 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16015 | PyObject *obj; |
16016 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16017 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
16018 | return SWIG_Py_Void(); |
16019 | } | |
16020 | ||
5eb8189c | 16021 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16022 | return SWIG_Python_InitShadowInstance(args); |
16023 | } | |
16024 | ||
5eb8189c | 16025 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16026 | PyObject *obj; |
16027 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16028 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
16029 | return SWIG_Py_Void(); |
16030 | } | |
16031 | ||
5eb8189c | 16032 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
16033 | PyObject *obj; |
16034 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16035 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
16036 | return SWIG_Py_Void(); |
16037 | } | |
16038 | ||
10044bf1 | 16039 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
16040 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
16041 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
16042 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16043 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
16044 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
16045 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
16046 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
16047 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
16048 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
16049 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
16050 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
16051 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
16052 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
16053 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
16054 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
16055 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
16056 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
16057 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
16058 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
16059 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
16060 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
16061 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
16062 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
16063 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
16064 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
16065 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
16066 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16067 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16068 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16069 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
16070 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
16071 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
16072 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
16073 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
16074 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
16075 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16076 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16077 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16078 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16079 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16080 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16081 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16082 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16083 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16084 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
16085 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16086 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
16087 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
16088 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
16089 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16090 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16091 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
16092 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
16093 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16094 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16095 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16096 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16097 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16098 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16099 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16100 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16101 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16102 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16103 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16104 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16105 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16106 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16107 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, |
16108 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
16109 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
16110 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
16111 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
16112 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16113 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16114 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
16115 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
16116 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
16117 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
16118 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
16119 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
16120 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
16121 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
16122 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
16123 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
16124 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
16125 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
16126 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
16127 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
16128 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
16129 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
16130 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
16131 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
16132 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
16133 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
16134 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
16135 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
16136 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
16137 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
16138 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
16139 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
16140 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
16141 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
16142 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
16143 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
16144 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
16145 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
16146 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
16147 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
16148 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
16149 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
16150 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16151 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
16152 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
16153 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16154 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
16155 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16156 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
eccab1a7 | 16157 | { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16158 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16159 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
16160 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16161 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16162 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
16163 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
16164 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16165 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
16166 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16167 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d7645bfd | 16168 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, |
5eb8189c RD |
16169 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
16170 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16171 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
16172 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d7645bfd VZ |
16173 | { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, |
16174 | { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16175 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16176 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16177 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16178 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
5eb8189c | 16179 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
e7e9d1b8 | 16180 | { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, |
5172800e | 16181 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16182 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
16183 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16184 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
16185 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16186 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16187 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
16188 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
16189 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16190 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
eccab1a7 | 16191 | { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16192 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, |
16193 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16194 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
eccab1a7 | 16195 | { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL}, |
5eb8189c RD |
16196 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, |
16197 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
16198 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
16199 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16200 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
16201 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16202 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
eccab1a7 RD |
16203 | { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL}, |
16204 | { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL}, | |
5eb8189c RD |
16205 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, |
16206 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
16207 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
16208 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
16209 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
16210 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
16211 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
16212 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
16213 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
16214 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
16215 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
16216 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
16217 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
16218 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
16219 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
16220 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
16221 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
16222 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
16223 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
16224 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
16225 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
16226 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
16227 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
16228 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
16229 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
16230 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
16231 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
16232 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
16233 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
16234 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
16235 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
16236 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
16237 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
16238 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
16239 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
16240 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
cbdf0fb0 RD |
16241 | { (char *)"AuiDockInfo_reserved1_set", _wrap_AuiDockInfo_reserved1_set, METH_VARARGS, NULL}, |
16242 | { (char *)"AuiDockInfo_reserved1_get", (PyCFunction)_wrap_AuiDockInfo_reserved1_get, METH_O, NULL}, | |
5eb8189c RD |
16243 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, |
16244 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
16245 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
16246 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
16247 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
16248 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
16249 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
16250 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
16251 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
16252 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
16253 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
16254 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
16255 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
16256 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
16257 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
16258 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
16259 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
16260 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
16261 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
16262 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
16263 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
16264 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
16265 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
16266 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
16267 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
16268 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
16269 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16270 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16271 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16272 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16273 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16274 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16275 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16276 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16277 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16278 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16279 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16280 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16281 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16282 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16283 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16284 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
16285 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
16286 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
16287 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16288 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
16289 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
eccab1a7 | 16290 | { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL}, |
5eb8189c RD |
16291 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, |
16292 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
16293 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
16294 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 | 16295 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, |
d95b9f2b | 16296 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 16297 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, |
d95b9f2b RD |
16298 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
16299 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
10044bf1 RD |
16300 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, |
16301 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
16302 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
16303 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
d95b9f2b RD |
16304 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, |
16305 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
10044bf1 RD |
16306 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, |
16307 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
16308 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
16309 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
16310 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
16311 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
16312 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
16313 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
16314 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
16315 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
16316 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
16317 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
16318 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
16319 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
16320 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
16321 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
16322 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
16323 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
16324 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
10044bf1 RD |
16325 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
16326 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
16327 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
16328 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
10044bf1 RD |
16329 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
16330 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
16331 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
5172800e RD |
16332 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, |
16333 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
16334 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16335 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16336 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16337 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16338 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16339 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16340 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16341 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 16342 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
d754c85e RD |
16343 | { (char *)"AuiTabArt_ShowDropDown", (PyCFunction) _wrap_AuiTabArt_ShowDropDown, METH_VARARGS | METH_KEYWORDS, NULL}, |
16344 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
5172800e RD |
16345 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
16346 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
16347 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
16348 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
16349 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
16350 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
16351 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
16352 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
16353 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
16354 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
16355 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, |
16356 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
16357 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16358 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
16359 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
16360 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
10044bf1 RD |
16361 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16362 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 16363 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
16364 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16365 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
16366 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
16367 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
16368 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16369 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16370 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16371 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16372 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
d48ae46b | 16373 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
16374 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, |
16375 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16376 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16377 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16378 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
16379 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 16380 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 16381 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
16382 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
16383 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 RD |
16384 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
16385 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
16386 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 16387 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
10044bf1 RD |
16388 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
16389 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
16390 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
16391 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16392 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
16393 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
a6927690 RD |
16394 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16395 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
16396 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16397 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16398 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16399 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16400 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16401 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
a6927690 RD |
16402 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, |
16403 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16404 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c | 16405 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, |
a6927690 | 16406 | { (char *)"AuiNotebook_GetPageText", (PyCFunction) _wrap_AuiNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, |
5172800e | 16407 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
a6927690 | 16408 | { (char *)"AuiNotebook_GetPageBitmap", (PyCFunction) _wrap_AuiNotebook_GetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16409 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
16410 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
a6927690 | 16411 | { (char *)"AuiNotebook_Split", (PyCFunction) _wrap_AuiNotebook_Split, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16412 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, |
16413 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
16414 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16415 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
16416 | { NULL, NULL, 0, NULL } |
16417 | }; | |
16418 | ||
16419 | ||
16420 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
16421 | ||
5eb8189c RD |
16422 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
16423 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16424 | } |
16425 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
16426 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
16427 | } | |
16428 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
16429 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16430 | } | |
16431 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
16432 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16433 | } | |
16434 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
16435 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16436 | } | |
16437 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
16438 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
16439 | } | |
16440 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
16441 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16442 | } | |
16443 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
16444 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
16445 | } | |
5eb8189c RD |
16446 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
16447 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
16448 | } | |
5172800e RD |
16449 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
16450 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
16451 | } | |
5eb8189c RD |
16452 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
16453 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
16454 | } | |
10044bf1 RD |
16455 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
16456 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16457 | } | |
16458 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
16459 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16460 | } | |
27e45892 RD |
16461 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
16462 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
16463 | } | |
16464 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
16465 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
16466 | } | |
16467 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
16468 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
16469 | } | |
16470 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
16471 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
16472 | } | |
16473 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
16474 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
16475 | } | |
16476 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
16477 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
16478 | } | |
16479 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
16480 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
16481 | } | |
16482 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
16483 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
16484 | } | |
16485 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
16486 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
16487 | } | |
5eb8189c RD |
16488 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
16489 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16490 | } |
16491 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
16492 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
16493 | } | |
16494 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16495 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
16496 | } | |
16497 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16498 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16499 | } | |
16500 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16501 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
16502 | } | |
16503 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16504 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16505 | } | |
16506 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16507 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16508 | } | |
16509 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
16510 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
16511 | } | |
16512 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
16513 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
16514 | } | |
16515 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
16516 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
16517 | } | |
16518 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16519 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
16520 | } | |
16521 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16522 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16523 | } | |
16524 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
16525 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16526 | } | |
16527 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
16528 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16529 | } | |
16530 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
16531 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
16532 | } | |
16533 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
16534 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
16535 | } | |
16536 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
16537 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16538 | } | |
16539 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
16540 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16541 | } | |
16542 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
16543 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16544 | } | |
16545 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
16546 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16547 | } | |
16548 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
16549 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16550 | } | |
16551 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
16552 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16553 | } | |
16554 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
16555 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16556 | } | |
16557 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
16558 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16559 | } | |
16560 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
16561 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16562 | } | |
16563 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
16564 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
16565 | } | |
16566 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
16567 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
16568 | } | |
16569 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
16570 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16571 | } | |
16572 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
16573 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16574 | } | |
16575 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
16576 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16577 | } | |
16578 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
16579 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
16580 | } | |
16581 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
16582 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16583 | } | |
16584 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
16585 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
16586 | } | |
16587 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
16588 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
16589 | } | |
16590 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
16591 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
16592 | } | |
16593 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
16594 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
16595 | } | |
16596 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
16597 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
16598 | } | |
16599 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
16600 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
16601 | } | |
16602 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
16603 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16604 | } | |
16605 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
16606 | return (void *)((wxWindow *) ((wxControl *) x)); | |
16607 | } | |
16608 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
16609 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16610 | } | |
16611 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
16612 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16613 | } | |
16614 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
16615 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16616 | } | |
16617 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
16618 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
16619 | } | |
16620 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
16621 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
16622 | } | |
16623 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
16624 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16625 | } | |
f9bf356b RD |
16626 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
16627 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
16628 | } | |
27e45892 RD |
16629 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
16630 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16631 | } | |
16632 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
16633 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16634 | } | |
5eb8189c RD |
16635 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
16636 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16637 | } |
27e45892 RD |
16638 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
16639 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
16640 | } | |
16641 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
16642 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16643 | } | |
10044bf1 RD |
16644 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
16645 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
16646 | } | |
27e45892 RD |
16647 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
16648 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
16649 | } | |
16650 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
16651 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16652 | } | |
16653 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
16654 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16655 | } | |
16656 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
16657 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16658 | } | |
16659 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
16660 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
16661 | } | |
5eb8189c RD |
16662 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
16663 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16664 | } | |
27e45892 RD |
16665 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
16666 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16667 | } | |
10044bf1 RD |
16668 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
16669 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
16670 | } | |
16671 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
16672 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
16673 | } | |
16674 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
16675 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
16676 | } | |
16677 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
16678 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
16679 | } | |
16680 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
16681 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
16682 | } | |
16683 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
16684 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
16685 | } | |
16686 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
16687 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
16688 | } | |
16689 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
16690 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
16691 | } | |
16692 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
16693 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
16694 | } | |
16695 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
16696 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
16697 | } | |
16698 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
16699 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
16700 | } | |
16701 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
16702 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
16703 | } | |
16704 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
16705 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
16706 | } | |
16707 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
16708 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
16709 | } | |
16710 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
16711 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
16712 | } | |
16713 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
16714 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
16715 | } | |
16716 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
16717 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
16718 | } | |
16719 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
16720 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
16721 | } | |
16722 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
16723 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
16724 | } | |
16725 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
16726 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
16727 | } | |
16728 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
16729 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
16730 | } | |
16731 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
16732 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
16733 | } | |
16734 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
16735 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
16736 | } | |
16737 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
16738 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
16739 | } | |
16740 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
16741 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
16742 | } | |
16743 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
16744 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
16745 | } | |
16746 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
16747 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
16748 | } | |
16749 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
16750 | return (void *)((wxWindow **) ((wxControl **) x)); | |
16751 | } | |
16752 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
16753 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
16754 | } | |
16755 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
16756 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
16757 | } | |
16758 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
16759 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
16760 | } | |
16761 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
16762 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
16763 | } | |
16764 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
16765 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
16766 | } | |
16767 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
16768 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
16769 | } | |
f9bf356b RD |
16770 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { |
16771 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
16772 | } | |
10044bf1 RD |
16773 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
16774 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
16775 | } | |
16776 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
16777 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
16778 | } | |
5eb8189c RD |
16779 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
16780 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
10044bf1 RD |
16781 | } |
16782 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16783 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
16784 | } | |
16785 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16786 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
16787 | } | |
16788 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
16789 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
16790 | } | |
16791 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
16792 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
16793 | } | |
16794 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
16795 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
16796 | } | |
16797 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
16798 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
16799 | } | |
16800 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
16801 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
16802 | } | |
16803 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
16804 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
16805 | } | |
5eb8189c RD |
16806 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
16807 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
16808 | } | |
10044bf1 RD |
16809 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
16810 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
16811 | } | |
16812 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
16813 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
16814 | } | |
16815 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
16816 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
16817 | } | |
5eb8189c RD |
16818 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
16819 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16820 | } |
27e45892 RD |
16821 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
16822 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16823 | } | |
16824 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
16825 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
16826 | } | |
16827 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
16828 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
16829 | } | |
16830 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
16831 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
16832 | } | |
16833 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
16834 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
16835 | } | |
16836 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
16837 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
16838 | } | |
16839 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
16840 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16841 | } | |
5eb8189c RD |
16842 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
16843 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16844 | } |
16845 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
16846 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
16847 | } | |
16848 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
16849 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
16850 | } | |
16851 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
16852 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16853 | } | |
16854 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
16855 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16856 | } | |
0f83f5da RD |
16857 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
16858 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16859 | } | |
27e45892 RD |
16860 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
16861 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
16862 | } | |
16863 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
16864 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16865 | } | |
10044bf1 RD |
16866 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
16867 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16868 | } | |
27e45892 RD |
16869 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
16870 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
16871 | } | |
16872 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
16873 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16874 | } | |
16875 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
16876 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16877 | } | |
16878 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
16879 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
16880 | } | |
16881 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
16882 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
16883 | } | |
16884 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
16885 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
16886 | } | |
16887 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
16888 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
16889 | } | |
16890 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
16891 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
16892 | } | |
16893 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
16894 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
16895 | } | |
27e45892 RD |
16896 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
16897 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
16898 | } | |
16899 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
16900 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
16901 | } | |
0f83f5da RD |
16902 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
16903 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16904 | } | |
27e45892 RD |
16905 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
16906 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16907 | } | |
16908 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
16909 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16910 | } | |
16911 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
16912 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16913 | } | |
16914 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
16915 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16916 | } | |
16917 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
16918 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16919 | } | |
16920 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
16921 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
16922 | } | |
16923 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
16924 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
16925 | } | |
16926 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
16927 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16928 | } | |
16929 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
16930 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
16931 | } | |
16932 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
16933 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16934 | } | |
16935 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
16936 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
16937 | } | |
16938 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
16939 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
16940 | } | |
16941 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
16942 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16943 | } | |
16944 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
16945 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16946 | } | |
16947 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
16948 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16949 | } | |
16950 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
16951 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
16952 | } | |
16953 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
16954 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
16955 | } | |
16956 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
16957 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16958 | } | |
16959 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
16960 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
16961 | } | |
16962 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
16963 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16964 | } | |
16965 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
16966 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16967 | } | |
16968 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
16969 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16970 | } | |
27e45892 RD |
16971 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
16972 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
16973 | } | |
0f83f5da RD |
16974 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
16975 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
16976 | } | |
27e45892 RD |
16977 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
16978 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
16979 | } | |
16980 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
16981 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
16982 | } | |
16983 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
16984 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16985 | } | |
16986 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
16987 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
16988 | } | |
16989 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
16990 | return (void *)((wxObject *) ((wxSizer *) x)); | |
16991 | } | |
16992 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
16993 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16994 | } | |
16995 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
16996 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16997 | } | |
16998 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
16999 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
17000 | } | |
17001 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17002 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17003 | } | |
17004 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
17005 | return (void *)((wxObject *) ((wxFontData *) x)); | |
17006 | } | |
17007 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
17008 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
17009 | } | |
17010 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17011 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17012 | } | |
17013 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17014 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17015 | } | |
17016 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17017 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17018 | } | |
17019 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
17020 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
17021 | } | |
17022 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
17023 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
17024 | } | |
17025 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
17026 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17027 | } | |
10044bf1 RD |
17028 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
17029 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
17030 | } | |
27e45892 RD |
17031 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
17032 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17033 | } | |
17034 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17035 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17036 | } | |
17037 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17038 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17039 | } | |
17040 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17041 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17042 | } | |
17043 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17044 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17045 | } | |
17046 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17047 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17048 | } | |
17049 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17050 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17051 | } | |
17052 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
17053 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
17054 | } | |
17055 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17056 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17057 | } | |
17058 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17059 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17060 | } | |
17061 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
17062 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17063 | } | |
5eb8189c RD |
17064 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
17065 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
17066 | } |
17067 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
17068 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
17069 | } | |
17070 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
17071 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
17072 | } | |
5eb8189c RD |
17073 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
17074 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17075 | } | |
27e45892 RD |
17076 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
17077 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17078 | } | |
17079 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
17080 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
17081 | } | |
5eb8189c RD |
17082 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
17083 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 17084 | } |
27e45892 RD |
17085 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
17086 | return (void *)((wxObject *) ((wxColourData *) x)); | |
17087 | } | |
17088 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17089 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17090 | } | |
17091 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17092 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17093 | } | |
17094 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
17095 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
17096 | } | |
17097 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
17098 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
17099 | } | |
17100 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
17101 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17102 | } | |
17103 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
17104 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17105 | } | |
17106 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
17107 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17108 | } | |
17109 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
17110 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17111 | } | |
17112 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
17113 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17114 | } | |
17115 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
17116 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
17117 | } | |
17118 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
17119 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17120 | } | |
17121 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
17122 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17123 | } | |
17124 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
17125 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17126 | } | |
17127 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17128 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17129 | } | |
17130 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
17131 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
17132 | } | |
17133 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17134 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17135 | } | |
17136 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
17137 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17138 | } | |
17139 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17140 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17141 | } | |
17142 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17143 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17144 | } | |
17145 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17146 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17147 | } | |
17148 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17149 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17150 | } | |
17151 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17152 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17153 | } | |
17154 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17155 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17156 | } | |
17157 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17158 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17159 | } | |
17160 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17161 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17162 | } | |
17163 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17164 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17165 | } | |
17166 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17167 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17168 | } | |
17169 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17170 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17171 | } | |
17172 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17173 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17174 | } | |
17175 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17176 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17177 | } | |
17178 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17179 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17180 | } | |
17181 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17182 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17183 | } | |
17184 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17185 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17186 | } | |
17187 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17188 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17189 | } | |
17190 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
17191 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
17192 | } | |
17193 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17194 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17195 | } | |
17196 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17197 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17198 | } | |
17199 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17200 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17201 | } | |
580080c5 RD |
17202 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
17203 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
17204 | } | |
27e45892 RD |
17205 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
17206 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17207 | } | |
0f83f5da RD |
17208 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
17209 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
17210 | } | |
27e45892 RD |
17211 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
17212 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
17213 | } | |
17214 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
17215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17216 | } | |
17217 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
17218 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17219 | } | |
f9bf356b RD |
17220 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
17221 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17222 | } | |
27e45892 RD |
17223 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17224 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17225 | } | |
580080c5 RD |
17226 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17227 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17228 | } | |
27e45892 RD |
17229 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
17230 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17231 | } | |
17232 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17233 | return (void *)((wxObject *) ((wxImage *) x)); | |
17234 | } | |
17235 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
17236 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17237 | } | |
17238 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
17239 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
17240 | } | |
17241 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17242 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17243 | } | |
17244 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
17245 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
17246 | } | |
27e45892 RD |
17247 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
17248 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
17249 | } | |
5eb8189c RD |
17250 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
17251 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
17252 | } |
17253 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
17254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17255 | } | |
10044bf1 RD |
17256 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
17257 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17258 | } | |
27e45892 RD |
17259 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
17260 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17261 | } | |
17262 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17263 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17264 | } | |
17265 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17266 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17267 | } | |
17268 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17269 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17270 | } | |
17271 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17272 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17273 | } | |
17274 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17275 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17276 | } | |
17277 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
17278 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17279 | } | |
17280 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
17281 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
17282 | } | |
17283 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
17284 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
17285 | } | |
17286 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
17287 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
17288 | } | |
17289 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
17290 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
17291 | } | |
17292 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
17293 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17294 | } | |
17295 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
17296 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
17297 | } | |
17298 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
17299 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17300 | } | |
17301 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
17302 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
17303 | } | |
17304 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
17305 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17306 | } | |
17307 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
17308 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
17309 | } | |
17310 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
17311 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17312 | } | |
17313 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
17314 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
17315 | } | |
17316 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
17317 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
17318 | } | |
17319 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
17320 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
17321 | } | |
17322 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
17323 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
17324 | } | |
17325 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
17326 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17327 | } | |
17328 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
17329 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17330 | } | |
17331 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
17332 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17333 | } | |
17334 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
17335 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17336 | } | |
17337 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
17338 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
17339 | } | |
17340 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
17341 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
17342 | } | |
17343 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17344 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17345 | } | |
17346 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17347 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17348 | } | |
17349 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17350 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17351 | } | |
17352 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17353 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17354 | } | |
17355 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17356 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17357 | } | |
17358 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17359 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17360 | } | |
17361 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17362 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17363 | } | |
17364 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17365 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17366 | } | |
17367 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17368 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17369 | } | |
17370 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
17371 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17372 | } | |
17373 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
17374 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17375 | } | |
17376 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17377 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17378 | } | |
17379 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17380 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17381 | } | |
17382 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17383 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17384 | } | |
17385 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17386 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17387 | } | |
17388 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
17389 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
17390 | } | |
17391 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
17392 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
17393 | } | |
17394 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17395 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17396 | } | |
17397 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17398 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17399 | } | |
17400 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
17401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
17402 | } | |
17403 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
17404 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17405 | } | |
17406 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
17407 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
17408 | } | |
17409 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17410 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17411 | } | |
17412 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17413 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17414 | } | |
17415 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17416 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17417 | } | |
17418 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17419 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17420 | } | |
27e45892 RD |
17421 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
17422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17423 | } | |
17424 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17426 | } | |
17427 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17429 | } | |
17430 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
17431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17432 | } | |
f9bf356b RD |
17433 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
17434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17435 | } | |
27e45892 RD |
17436 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
17437 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
17438 | } | |
17439 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
17440 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17441 | } | |
17442 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
17443 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17444 | } | |
17445 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
17446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17447 | } | |
17448 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
17449 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
17450 | } | |
17451 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
17452 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
17453 | } | |
17454 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17456 | } | |
17457 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
17458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
17459 | } | |
17460 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
17461 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17462 | } | |
17463 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
17464 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
17465 | } | |
17466 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
17467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17468 | } | |
17469 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
17470 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
17471 | } | |
17472 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
17473 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
17474 | } | |
17475 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
17476 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
17477 | } | |
17478 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17479 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17480 | } | |
17481 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17483 | } | |
17484 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
17485 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
17486 | } | |
17487 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
17488 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
17489 | } | |
17490 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17492 | } | |
17493 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17494 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17495 | } | |
17496 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17497 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
17498 | } | |
17499 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17500 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17501 | } | |
17502 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
17503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
17504 | } | |
17505 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17506 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17507 | } | |
17508 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17510 | } | |
17511 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
17512 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
17513 | } | |
17514 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
17515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
17516 | } | |
f9bf356b RD |
17517 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17518 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17519 | } | |
27e45892 RD |
17520 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17521 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17522 | } | |
17523 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
17524 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17525 | } | |
5eb8189c RD |
17526 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
17527 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 17528 | } |
27e45892 RD |
17529 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
17530 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17531 | } | |
17532 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
17533 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17534 | } | |
17535 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
17536 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
17537 | } | |
10044bf1 RD |
17538 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
17539 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
17540 | } | |
27e45892 RD |
17541 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
17542 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17543 | } | |
17544 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
17545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17546 | } | |
17547 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
17548 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17549 | } | |
17550 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
17551 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17552 | } | |
17553 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
17554 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17555 | } | |
5eb8189c RD |
17556 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
17557 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17558 | } | |
27e45892 RD |
17559 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
17560 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17561 | } | |
5eb8189c RD |
17562 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
17563 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 17564 | } |
10044bf1 RD |
17565 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
17566 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
17567 | } | |
27e45892 RD |
17568 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
17569 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
17570 | } | |
17571 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
17572 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
17573 | } | |
17574 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
17575 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
17576 | } | |
17577 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
17578 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
17579 | } | |
17580 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
17581 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17582 | } | |
27e45892 RD |
17583 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
17584 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
17585 | } | |
17586 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
17587 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
17588 | } | |
17589 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
17590 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
17591 | } | |
5eb8189c RD |
17592 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
17593 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17594 | } | |
10044bf1 RD |
17595 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
17596 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
17597 | } | |
17598 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17599 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17600 | } | |
17601 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
17602 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17603 | } | |
17604 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
17605 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17606 | } | |
17607 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17608 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17609 | } | |
17610 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17611 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17612 | } | |
17613 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17614 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17615 | } | |
17616 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17617 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17618 | } | |
17619 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
17620 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17621 | } | |
17622 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
17623 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
17624 | } | |
17625 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17626 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17627 | } | |
17628 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17629 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17630 | } | |
17631 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
17632 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17633 | } | |
17634 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17635 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17636 | } | |
5eb8189c RD |
17637 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
17638 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 17639 | } |
5eb8189c RD |
17640 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
17641 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 17642 | } |
5eb8189c RD |
17643 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
17644 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
5c8c7dd3 | 17645 | } |
5eb8189c RD |
17646 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
17647 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 17648 | } |
27e45892 | 17649 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
d7645bfd | 17650 | static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; |
27e45892 | 17651 | 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 | 17652 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17653 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
17654 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
17655 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17656 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
17657 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17658 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17659 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
17660 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17661 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
17662 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
17663 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
17664 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
17665 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
17666 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
17667 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
17668 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
17669 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17670 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17671 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17672 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17673 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17674 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17675 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17676 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
17677 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17678 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17679 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17680 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17681 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17682 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
17683 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17684 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
17685 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
17686 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
17687 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
17688 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17689 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17690 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17691 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 17692 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17693 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
17694 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17695 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
17696 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
17697 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17698 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17699 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17700 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 17701 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 17702 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
17703 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
17704 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
17705 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17706 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
17707 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
17708 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
17709 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
17710 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
17711 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
17712 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
17713 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
17714 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
17715 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
17716 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
17717 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17718 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
17719 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
17720 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
17721 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 17722 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 17723 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17724 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
17725 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
17726 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
17727 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17728 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
17729 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
17730 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
17731 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
17732 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
17733 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
17734 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
17735 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
17736 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
17737 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
17738 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
17739 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
17740 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
17741 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
17742 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
17743 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
17744 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 17745 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17746 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
17747 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17748 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
17749 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
17750 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
17751 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
17752 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 17753 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 17754 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 17755 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
17756 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
17757 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17758 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
17759 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
17760 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
17761 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
17762 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
17763 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17764 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
17765 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17766 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
17767 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
17768 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
17769 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
17770 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
17771 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17772 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
17773 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17774 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
17775 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
17776 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
17777 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
17778 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
17779 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17780 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17781 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17782 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
17783 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
17784 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17785 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 17786 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17787 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
17788 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17789 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17790 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
17791 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17792 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17793 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; |
17794 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17795 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17796 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17797 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17798 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17799 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17800 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17801 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17802 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17803 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17804 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17805 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17806 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17807 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17808 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
17809 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17810 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
17811 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17812 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
17813 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17814 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
17815 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
17816 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17817 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
17818 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17819 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17820 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17821 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
17822 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
17823 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17824 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
17825 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 17826 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 17827 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17828 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
17829 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
17830 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
17831 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
17832 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
17833 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
17834 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
17835 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
17836 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
17837 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
17838 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
17839 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
17840 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
17841 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
17842 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
17843 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
17844 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
17845 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17846 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
17847 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
17848 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
17849 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
17850 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 17851 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17852 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
17853 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17854 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
17855 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
17856 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
17857 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
17858 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 17859 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
17860 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
17861 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
17862 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
17863 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
17864 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
17865 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
17866 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
17867 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
17868 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
17869 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
17870 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17871 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
17872 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17873 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
17874 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17875 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
17876 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
17877 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
17878 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
17879 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
17880 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
17881 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
17882 | ||
17883 | static swig_type_info *swig_type_initial[] = { | |
17884 | &_swigt__p_char, | |
d7645bfd | 17885 | &_swigt__p_double, |
27e45892 RD |
17886 | &_swigt__p_form_ops_t, |
17887 | &_swigt__p_int, | |
5eb8189c RD |
17888 | &_swigt__p_p_wxAuiFloatingFrame, |
17889 | &_swigt__p_p_wxAuiNotebook, | |
10044bf1 RD |
17890 | &_swigt__p_p_wxAuiTabContainerButton, |
17891 | &_swigt__p_p_wxAuiTabCtrl, | |
17892 | &_swigt__p_p_wxColourDialog, | |
17893 | &_swigt__p_p_wxControl, | |
17894 | &_swigt__p_p_wxControlWithItems, | |
17895 | &_swigt__p_p_wxDialog, | |
17896 | &_swigt__p_p_wxDirDialog, | |
17897 | &_swigt__p_p_wxFileDialog, | |
17898 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
17899 | &_swigt__p_p_wxFontDialog, |
17900 | &_swigt__p_p_wxFrame, | |
17901 | &_swigt__p_p_wxMDIChildFrame, | |
17902 | &_swigt__p_p_wxMDIClientWindow, | |
17903 | &_swigt__p_p_wxMDIParentFrame, | |
17904 | &_swigt__p_p_wxMenuBar, | |
17905 | &_swigt__p_p_wxMessageDialog, | |
17906 | &_swigt__p_p_wxMiniFrame, | |
17907 | &_swigt__p_p_wxMultiChoiceDialog, | |
17908 | &_swigt__p_p_wxNumberEntryDialog, | |
17909 | &_swigt__p_p_wxPanel, | |
17910 | &_swigt__p_p_wxPasswordEntryDialog, | |
17911 | &_swigt__p_p_wxPopupWindow, | |
17912 | &_swigt__p_p_wxPreviewCanvas, | |
17913 | &_swigt__p_p_wxPreviewControlBar, | |
17914 | &_swigt__p_p_wxPreviewFrame, | |
17915 | &_swigt__p_p_wxProgressDialog, | |
17916 | &_swigt__p_p_wxPyHtmlListBox, | |
17917 | &_swigt__p_p_wxPyPanel, | |
17918 | &_swigt__p_p_wxPyPopupTransientWindow, | |
17919 | &_swigt__p_p_wxPyPreviewControlBar, | |
17920 | &_swigt__p_p_wxPyPreviewFrame, | |
17921 | &_swigt__p_p_wxPyScrolledWindow, | |
17922 | &_swigt__p_p_wxPyVListBox, | |
17923 | &_swigt__p_p_wxPyVScrolledWindow, | |
17924 | &_swigt__p_p_wxPyWindow, | |
17925 | &_swigt__p_p_wxSashLayoutWindow, | |
17926 | &_swigt__p_p_wxSashWindow, | |
17927 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 17928 | &_swigt__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
17929 | &_swigt__p_p_wxSingleChoiceDialog, |
17930 | &_swigt__p_p_wxSplashScreen, | |
17931 | &_swigt__p_p_wxSplashScreenWindow, | |
17932 | &_swigt__p_p_wxSplitterWindow, | |
17933 | &_swigt__p_p_wxStatusBar, | |
17934 | &_swigt__p_p_wxTextEntryDialog, | |
17935 | &_swigt__p_p_wxTipWindow, | |
17936 | &_swigt__p_p_wxTopLevelWindow, | |
17937 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
17938 | &_swigt__p_unsigned_char, |
17939 | &_swigt__p_unsigned_int, | |
17940 | &_swigt__p_unsigned_long, | |
17941 | &_swigt__p_wxANIHandler, | |
17942 | &_swigt__p_wxAcceleratorTable, | |
17943 | &_swigt__p_wxActivateEvent, | |
5eb8189c RD |
17944 | &_swigt__p_wxAuiDefaultDockArt, |
17945 | &_swigt__p_wxAuiDefaultTabArt, | |
17946 | &_swigt__p_wxAuiDockArt, | |
17947 | &_swigt__p_wxAuiDockInfo, | |
17948 | &_swigt__p_wxAuiDockUIPart, | |
17949 | &_swigt__p_wxAuiFloatingFrame, | |
17950 | &_swigt__p_wxAuiManager, | |
17951 | &_swigt__p_wxAuiManagerEvent, | |
17952 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
17953 | &_swigt__p_wxAuiNotebookEvent, |
17954 | &_swigt__p_wxAuiNotebookPage, | |
17955 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17956 | &_swigt__p_wxAuiPaneButton, |
17957 | &_swigt__p_wxAuiPaneButtonArray, | |
17958 | &_swigt__p_wxAuiPaneInfo, | |
17959 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 17960 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 17961 | &_swigt__p_wxAuiTabArt, |
10044bf1 RD |
17962 | &_swigt__p_wxAuiTabContainer, |
17963 | &_swigt__p_wxAuiTabContainerButton, | |
17964 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 17965 | &_swigt__p_wxBMPHandler, |
10044bf1 | 17966 | &_swigt__p_wxBitmap, |
27e45892 RD |
17967 | &_swigt__p_wxBoxSizer, |
17968 | &_swigt__p_wxCURHandler, | |
17969 | &_swigt__p_wxCalculateLayoutEvent, | |
17970 | &_swigt__p_wxChildFocusEvent, | |
17971 | &_swigt__p_wxClipboardTextEvent, | |
17972 | &_swigt__p_wxCloseEvent, | |
17973 | &_swigt__p_wxColor, | |
17974 | &_swigt__p_wxColour, | |
17975 | &_swigt__p_wxColourData, | |
17976 | &_swigt__p_wxColourDialog, | |
17977 | &_swigt__p_wxCommandEvent, | |
17978 | &_swigt__p_wxContextMenuEvent, | |
17979 | &_swigt__p_wxControl, | |
17980 | &_swigt__p_wxControlWithItems, | |
17981 | &_swigt__p_wxDC, | |
17982 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
17983 | &_swigt__p_wxDialog, |
17984 | &_swigt__p_wxDirDialog, | |
17985 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
17986 | &_swigt__p_wxDropFilesEvent, |
17987 | &_swigt__p_wxDuplexMode, | |
17988 | &_swigt__p_wxEraseEvent, | |
17989 | &_swigt__p_wxEvent, | |
17990 | &_swigt__p_wxEvtHandler, | |
17991 | &_swigt__p_wxFSFile, | |
17992 | &_swigt__p_wxFileDialog, | |
17993 | &_swigt__p_wxFileSystem, | |
17994 | &_swigt__p_wxFindDialogEvent, | |
17995 | &_swigt__p_wxFindReplaceData, | |
17996 | &_swigt__p_wxFindReplaceDialog, | |
17997 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
17998 | &_swigt__p_wxFocusEvent, |
17999 | &_swigt__p_wxFont, | |
18000 | &_swigt__p_wxFontData, | |
18001 | &_swigt__p_wxFontDialog, | |
18002 | &_swigt__p_wxFrame, | |
27e45892 RD |
18003 | &_swigt__p_wxGBSizerItem, |
18004 | &_swigt__p_wxGIFHandler, | |
18005 | &_swigt__p_wxGridBagSizer, | |
18006 | &_swigt__p_wxGridSizer, | |
18007 | &_swigt__p_wxICOHandler, | |
18008 | &_swigt__p_wxIconizeEvent, | |
18009 | &_swigt__p_wxIdleEvent, | |
18010 | &_swigt__p_wxImage, | |
18011 | &_swigt__p_wxImageHandler, | |
18012 | &_swigt__p_wxIndividualLayoutConstraint, | |
18013 | &_swigt__p_wxInitDialogEvent, | |
18014 | &_swigt__p_wxJPEGHandler, | |
18015 | &_swigt__p_wxKeyEvent, | |
18016 | &_swigt__p_wxLayoutAlgorithm, | |
18017 | &_swigt__p_wxLayoutConstraints, | |
18018 | &_swigt__p_wxMDIChildFrame, | |
18019 | &_swigt__p_wxMDIClientWindow, | |
18020 | &_swigt__p_wxMDIParentFrame, | |
18021 | &_swigt__p_wxMaximizeEvent, | |
18022 | &_swigt__p_wxMenu, | |
18023 | &_swigt__p_wxMenuBar, | |
18024 | &_swigt__p_wxMenuEvent, | |
18025 | &_swigt__p_wxMenuItem, | |
18026 | &_swigt__p_wxMessageDialog, | |
18027 | &_swigt__p_wxMiniFrame, | |
18028 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 18029 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
18030 | &_swigt__p_wxMouseEvent, |
18031 | &_swigt__p_wxMoveEvent, | |
18032 | &_swigt__p_wxMultiChoiceDialog, | |
18033 | &_swigt__p_wxNavigationKeyEvent, | |
18034 | &_swigt__p_wxNcPaintEvent, | |
18035 | &_swigt__p_wxNotifyEvent, | |
18036 | &_swigt__p_wxNumberEntryDialog, | |
18037 | &_swigt__p_wxObject, | |
18038 | &_swigt__p_wxPCXHandler, | |
18039 | &_swigt__p_wxPNGHandler, | |
18040 | &_swigt__p_wxPNMHandler, | |
18041 | &_swigt__p_wxPageSetupDialog, | |
18042 | &_swigt__p_wxPageSetupDialogData, | |
18043 | &_swigt__p_wxPaintEvent, | |
18044 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
18045 | &_swigt__p_wxPanel, |
18046 | &_swigt__p_wxPaperSize, | |
18047 | &_swigt__p_wxPasswordEntryDialog, | |
18048 | &_swigt__p_wxPoint, | |
18049 | &_swigt__p_wxPopupWindow, | |
18050 | &_swigt__p_wxPreviewCanvas, | |
18051 | &_swigt__p_wxPreviewControlBar, | |
18052 | &_swigt__p_wxPreviewFrame, | |
18053 | &_swigt__p_wxPrintData, | |
18054 | &_swigt__p_wxPrintDialog, | |
18055 | &_swigt__p_wxPrintDialogData, | |
18056 | &_swigt__p_wxPrintPreview, | |
18057 | &_swigt__p_wxPrinter, | |
18058 | &_swigt__p_wxProgressDialog, | |
18059 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
18060 | &_swigt__p_wxPyAuiDockArt, |
18061 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 18062 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
18063 | &_swigt__p_wxPyEvent, |
18064 | &_swigt__p_wxPyHtmlListBox, | |
18065 | &_swigt__p_wxPyImageHandler, | |
18066 | &_swigt__p_wxPyPanel, | |
18067 | &_swigt__p_wxPyPopupTransientWindow, | |
18068 | &_swigt__p_wxPyPreviewControlBar, | |
18069 | &_swigt__p_wxPyPreviewFrame, | |
18070 | &_swigt__p_wxPyPrintPreview, | |
18071 | &_swigt__p_wxPyPrintout, | |
18072 | &_swigt__p_wxPyScrolledWindow, | |
18073 | &_swigt__p_wxPySizer, | |
18074 | &_swigt__p_wxPyTaskBarIcon, | |
18075 | &_swigt__p_wxPyVListBox, | |
18076 | &_swigt__p_wxPyVScrolledWindow, | |
18077 | &_swigt__p_wxPyValidator, | |
18078 | &_swigt__p_wxPyWindow, | |
18079 | &_swigt__p_wxQueryLayoutInfoEvent, | |
18080 | &_swigt__p_wxQueryNewPaletteEvent, | |
18081 | &_swigt__p_wxRect, | |
18082 | &_swigt__p_wxSashEvent, | |
18083 | &_swigt__p_wxSashLayoutWindow, | |
18084 | &_swigt__p_wxSashWindow, | |
18085 | &_swigt__p_wxScrollEvent, | |
18086 | &_swigt__p_wxScrollWinEvent, | |
18087 | &_swigt__p_wxScrolledWindow, | |
18088 | &_swigt__p_wxSetCursorEvent, | |
18089 | &_swigt__p_wxShowEvent, | |
f9bf356b | 18090 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
18091 | &_swigt__p_wxSingleChoiceDialog, |
18092 | &_swigt__p_wxSize, | |
18093 | &_swigt__p_wxSizeEvent, | |
18094 | &_swigt__p_wxSizer, | |
18095 | &_swigt__p_wxSizerItem, | |
18096 | &_swigt__p_wxSplashScreen, | |
18097 | &_swigt__p_wxSplashScreenWindow, | |
18098 | &_swigt__p_wxSplitterEvent, | |
18099 | &_swigt__p_wxSplitterWindow, | |
18100 | &_swigt__p_wxStaticBoxSizer, | |
18101 | &_swigt__p_wxStatusBar, | |
18102 | &_swigt__p_wxStdDialogButtonSizer, | |
18103 | &_swigt__p_wxString, | |
18104 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 18105 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
18106 | &_swigt__p_wxTIFFHandler, |
18107 | &_swigt__p_wxTaskBarIconEvent, | |
18108 | &_swigt__p_wxTextEntryDialog, | |
18109 | &_swigt__p_wxTipWindow, | |
18110 | &_swigt__p_wxTopLevelWindow, | |
18111 | &_swigt__p_wxUpdateUIEvent, | |
18112 | &_swigt__p_wxValidator, | |
18113 | &_swigt__p_wxWindow, | |
18114 | &_swigt__p_wxWindowCreateEvent, | |
18115 | &_swigt__p_wxWindowDestroyEvent, | |
18116 | &_swigt__p_wxXPMHandler, | |
18117 | }; | |
18118 | ||
18119 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
d7645bfd | 18120 | static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18121 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
18122 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
18123 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
18124 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
18125 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18126 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18127 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18128 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18129 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18130 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18131 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18132 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18133 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18134 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18135 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18136 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18137 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18138 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18139 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18140 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18141 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18142 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18143 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18144 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18145 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18146 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18147 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18148 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18149 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18150 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18151 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18152 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18153 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
18154 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18155 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
18156 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18157 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18158 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18159 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
18160 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18161 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18162 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
18163 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18164 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18165 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18166 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18167 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18168 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18169 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18170 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 18171 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 18172 | 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_wxSimpleHtmlListBox, _p_p_wxSimpleHtmlListBoxTo_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 |
18173 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
18174 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18175 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18176 | 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}}; |
18177 | 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}}; | |
18178 | 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}}; | |
18179 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18180 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
18181 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18182 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
18183 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18184 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
18185 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18186 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
18187 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18188 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
18189 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
18190 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18191 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
18192 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
18193 | 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}, {&_swigt__p_wxAuiSimpleTabArt, _p_wxAuiSimpleTabArtTo_p_wxAuiTabArt, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
18194 | 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}}; |
18195 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
18196 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18197 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18198 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
18199 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
18200 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18201 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18202 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18203 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18204 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18205 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18206 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18207 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18208 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18209 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18210 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18211 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18212 | 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}}; | |
18213 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18214 | 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 | 18215 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18216 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18217 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18218 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18219 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18220 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18221 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 18222 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18223 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 18224 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18225 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18226 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18227 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18228 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18229 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18230 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18231 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18232 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18233 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18234 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18235 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18236 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18237 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18238 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18239 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18240 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18241 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18242 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18243 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18244 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18245 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18246 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18247 | 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 |
18248 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
18249 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18250 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18251 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18252 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18253 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18254 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18255 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18256 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
18257 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18258 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18259 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
18260 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18261 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18262 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; |
18263 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18264 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18265 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18266 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18267 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18268 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18269 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18270 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18271 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18272 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18273 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18274 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18275 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18276 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18277 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
18278 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18279 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
18280 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18281 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18282 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
18283 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
18284 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18285 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18286 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
18287 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18288 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18289 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18290 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18291 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
18292 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18293 | 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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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 | 18294 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
18295 | 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}}; |
18296 | 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 | 18297 | 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 |
18298 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
18299 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18300 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
18301 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18302 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18303 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18304 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
18305 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
18306 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18307 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18308 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
18309 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
18310 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
18311 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18312 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
18313 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
18314 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18315 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18316 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18317 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18318 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18319 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18320 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18321 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18322 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18323 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18324 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18325 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18326 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18327 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 18328 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18329 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
18330 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
18331 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
18332 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
18333 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18334 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18335 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18336 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18337 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
18338 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
18339 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18340 | 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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 |
18341 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
18342 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18343 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
18344 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18345 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
18346 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
18347 | 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}}; | |
18348 | 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}}; | |
18349 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18350 | 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}}; |
f9bf356b | 18351 | 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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 |
18352 | |
18353 | static swig_cast_info *swig_cast_initial[] = { | |
18354 | _swigc__p_char, | |
d7645bfd | 18355 | _swigc__p_double, |
27e45892 RD |
18356 | _swigc__p_form_ops_t, |
18357 | _swigc__p_int, | |
5eb8189c RD |
18358 | _swigc__p_p_wxAuiFloatingFrame, |
18359 | _swigc__p_p_wxAuiNotebook, | |
10044bf1 RD |
18360 | _swigc__p_p_wxAuiTabContainerButton, |
18361 | _swigc__p_p_wxAuiTabCtrl, | |
18362 | _swigc__p_p_wxColourDialog, | |
18363 | _swigc__p_p_wxControl, | |
18364 | _swigc__p_p_wxControlWithItems, | |
18365 | _swigc__p_p_wxDialog, | |
18366 | _swigc__p_p_wxDirDialog, | |
18367 | _swigc__p_p_wxFileDialog, | |
18368 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
18369 | _swigc__p_p_wxFontDialog, |
18370 | _swigc__p_p_wxFrame, | |
18371 | _swigc__p_p_wxMDIChildFrame, | |
18372 | _swigc__p_p_wxMDIClientWindow, | |
18373 | _swigc__p_p_wxMDIParentFrame, | |
18374 | _swigc__p_p_wxMenuBar, | |
18375 | _swigc__p_p_wxMessageDialog, | |
18376 | _swigc__p_p_wxMiniFrame, | |
18377 | _swigc__p_p_wxMultiChoiceDialog, | |
18378 | _swigc__p_p_wxNumberEntryDialog, | |
18379 | _swigc__p_p_wxPanel, | |
18380 | _swigc__p_p_wxPasswordEntryDialog, | |
18381 | _swigc__p_p_wxPopupWindow, | |
18382 | _swigc__p_p_wxPreviewCanvas, | |
18383 | _swigc__p_p_wxPreviewControlBar, | |
18384 | _swigc__p_p_wxPreviewFrame, | |
18385 | _swigc__p_p_wxProgressDialog, | |
18386 | _swigc__p_p_wxPyHtmlListBox, | |
18387 | _swigc__p_p_wxPyPanel, | |
18388 | _swigc__p_p_wxPyPopupTransientWindow, | |
18389 | _swigc__p_p_wxPyPreviewControlBar, | |
18390 | _swigc__p_p_wxPyPreviewFrame, | |
18391 | _swigc__p_p_wxPyScrolledWindow, | |
18392 | _swigc__p_p_wxPyVListBox, | |
18393 | _swigc__p_p_wxPyVScrolledWindow, | |
18394 | _swigc__p_p_wxPyWindow, | |
18395 | _swigc__p_p_wxSashLayoutWindow, | |
18396 | _swigc__p_p_wxSashWindow, | |
18397 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 18398 | _swigc__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
18399 | _swigc__p_p_wxSingleChoiceDialog, |
18400 | _swigc__p_p_wxSplashScreen, | |
18401 | _swigc__p_p_wxSplashScreenWindow, | |
18402 | _swigc__p_p_wxSplitterWindow, | |
18403 | _swigc__p_p_wxStatusBar, | |
18404 | _swigc__p_p_wxTextEntryDialog, | |
18405 | _swigc__p_p_wxTipWindow, | |
18406 | _swigc__p_p_wxTopLevelWindow, | |
18407 | _swigc__p_p_wxWindow, | |
27e45892 RD |
18408 | _swigc__p_unsigned_char, |
18409 | _swigc__p_unsigned_int, | |
18410 | _swigc__p_unsigned_long, | |
18411 | _swigc__p_wxANIHandler, | |
18412 | _swigc__p_wxAcceleratorTable, | |
18413 | _swigc__p_wxActivateEvent, | |
5eb8189c RD |
18414 | _swigc__p_wxAuiDefaultDockArt, |
18415 | _swigc__p_wxAuiDefaultTabArt, | |
18416 | _swigc__p_wxAuiDockArt, | |
18417 | _swigc__p_wxAuiDockInfo, | |
18418 | _swigc__p_wxAuiDockUIPart, | |
18419 | _swigc__p_wxAuiFloatingFrame, | |
18420 | _swigc__p_wxAuiManager, | |
18421 | _swigc__p_wxAuiManagerEvent, | |
18422 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
18423 | _swigc__p_wxAuiNotebookEvent, |
18424 | _swigc__p_wxAuiNotebookPage, | |
18425 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
18426 | _swigc__p_wxAuiPaneButton, |
18427 | _swigc__p_wxAuiPaneButtonArray, | |
18428 | _swigc__p_wxAuiPaneInfo, | |
18429 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 18430 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 18431 | _swigc__p_wxAuiTabArt, |
10044bf1 RD |
18432 | _swigc__p_wxAuiTabContainer, |
18433 | _swigc__p_wxAuiTabContainerButton, | |
18434 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 18435 | _swigc__p_wxBMPHandler, |
10044bf1 | 18436 | _swigc__p_wxBitmap, |
27e45892 RD |
18437 | _swigc__p_wxBoxSizer, |
18438 | _swigc__p_wxCURHandler, | |
18439 | _swigc__p_wxCalculateLayoutEvent, | |
18440 | _swigc__p_wxChildFocusEvent, | |
18441 | _swigc__p_wxClipboardTextEvent, | |
18442 | _swigc__p_wxCloseEvent, | |
18443 | _swigc__p_wxColor, | |
18444 | _swigc__p_wxColour, | |
18445 | _swigc__p_wxColourData, | |
18446 | _swigc__p_wxColourDialog, | |
18447 | _swigc__p_wxCommandEvent, | |
18448 | _swigc__p_wxContextMenuEvent, | |
18449 | _swigc__p_wxControl, | |
18450 | _swigc__p_wxControlWithItems, | |
18451 | _swigc__p_wxDC, | |
18452 | _swigc__p_wxDateEvent, | |
27e45892 RD |
18453 | _swigc__p_wxDialog, |
18454 | _swigc__p_wxDirDialog, | |
18455 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
18456 | _swigc__p_wxDropFilesEvent, |
18457 | _swigc__p_wxDuplexMode, | |
18458 | _swigc__p_wxEraseEvent, | |
18459 | _swigc__p_wxEvent, | |
18460 | _swigc__p_wxEvtHandler, | |
18461 | _swigc__p_wxFSFile, | |
18462 | _swigc__p_wxFileDialog, | |
18463 | _swigc__p_wxFileSystem, | |
18464 | _swigc__p_wxFindDialogEvent, | |
18465 | _swigc__p_wxFindReplaceData, | |
18466 | _swigc__p_wxFindReplaceDialog, | |
18467 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
18468 | _swigc__p_wxFocusEvent, |
18469 | _swigc__p_wxFont, | |
18470 | _swigc__p_wxFontData, | |
18471 | _swigc__p_wxFontDialog, | |
18472 | _swigc__p_wxFrame, | |
27e45892 RD |
18473 | _swigc__p_wxGBSizerItem, |
18474 | _swigc__p_wxGIFHandler, | |
18475 | _swigc__p_wxGridBagSizer, | |
18476 | _swigc__p_wxGridSizer, | |
18477 | _swigc__p_wxICOHandler, | |
18478 | _swigc__p_wxIconizeEvent, | |
18479 | _swigc__p_wxIdleEvent, | |
18480 | _swigc__p_wxImage, | |
18481 | _swigc__p_wxImageHandler, | |
18482 | _swigc__p_wxIndividualLayoutConstraint, | |
18483 | _swigc__p_wxInitDialogEvent, | |
18484 | _swigc__p_wxJPEGHandler, | |
18485 | _swigc__p_wxKeyEvent, | |
18486 | _swigc__p_wxLayoutAlgorithm, | |
18487 | _swigc__p_wxLayoutConstraints, | |
18488 | _swigc__p_wxMDIChildFrame, | |
18489 | _swigc__p_wxMDIClientWindow, | |
18490 | _swigc__p_wxMDIParentFrame, | |
18491 | _swigc__p_wxMaximizeEvent, | |
18492 | _swigc__p_wxMenu, | |
18493 | _swigc__p_wxMenuBar, | |
18494 | _swigc__p_wxMenuEvent, | |
18495 | _swigc__p_wxMenuItem, | |
18496 | _swigc__p_wxMessageDialog, | |
18497 | _swigc__p_wxMiniFrame, | |
18498 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 18499 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
18500 | _swigc__p_wxMouseEvent, |
18501 | _swigc__p_wxMoveEvent, | |
18502 | _swigc__p_wxMultiChoiceDialog, | |
18503 | _swigc__p_wxNavigationKeyEvent, | |
18504 | _swigc__p_wxNcPaintEvent, | |
18505 | _swigc__p_wxNotifyEvent, | |
18506 | _swigc__p_wxNumberEntryDialog, | |
18507 | _swigc__p_wxObject, | |
18508 | _swigc__p_wxPCXHandler, | |
18509 | _swigc__p_wxPNGHandler, | |
18510 | _swigc__p_wxPNMHandler, | |
18511 | _swigc__p_wxPageSetupDialog, | |
18512 | _swigc__p_wxPageSetupDialogData, | |
18513 | _swigc__p_wxPaintEvent, | |
18514 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
18515 | _swigc__p_wxPanel, |
18516 | _swigc__p_wxPaperSize, | |
18517 | _swigc__p_wxPasswordEntryDialog, | |
18518 | _swigc__p_wxPoint, | |
18519 | _swigc__p_wxPopupWindow, | |
18520 | _swigc__p_wxPreviewCanvas, | |
18521 | _swigc__p_wxPreviewControlBar, | |
18522 | _swigc__p_wxPreviewFrame, | |
18523 | _swigc__p_wxPrintData, | |
18524 | _swigc__p_wxPrintDialog, | |
18525 | _swigc__p_wxPrintDialogData, | |
18526 | _swigc__p_wxPrintPreview, | |
18527 | _swigc__p_wxPrinter, | |
18528 | _swigc__p_wxProgressDialog, | |
18529 | _swigc__p_wxPyApp, | |
5eb8189c RD |
18530 | _swigc__p_wxPyAuiDockArt, |
18531 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 18532 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
18533 | _swigc__p_wxPyEvent, |
18534 | _swigc__p_wxPyHtmlListBox, | |
18535 | _swigc__p_wxPyImageHandler, | |
18536 | _swigc__p_wxPyPanel, | |
18537 | _swigc__p_wxPyPopupTransientWindow, | |
18538 | _swigc__p_wxPyPreviewControlBar, | |
18539 | _swigc__p_wxPyPreviewFrame, | |
18540 | _swigc__p_wxPyPrintPreview, | |
18541 | _swigc__p_wxPyPrintout, | |
18542 | _swigc__p_wxPyScrolledWindow, | |
18543 | _swigc__p_wxPySizer, | |
18544 | _swigc__p_wxPyTaskBarIcon, | |
18545 | _swigc__p_wxPyVListBox, | |
18546 | _swigc__p_wxPyVScrolledWindow, | |
18547 | _swigc__p_wxPyValidator, | |
18548 | _swigc__p_wxPyWindow, | |
18549 | _swigc__p_wxQueryLayoutInfoEvent, | |
18550 | _swigc__p_wxQueryNewPaletteEvent, | |
18551 | _swigc__p_wxRect, | |
18552 | _swigc__p_wxSashEvent, | |
18553 | _swigc__p_wxSashLayoutWindow, | |
18554 | _swigc__p_wxSashWindow, | |
18555 | _swigc__p_wxScrollEvent, | |
18556 | _swigc__p_wxScrollWinEvent, | |
18557 | _swigc__p_wxScrolledWindow, | |
18558 | _swigc__p_wxSetCursorEvent, | |
18559 | _swigc__p_wxShowEvent, | |
f9bf356b | 18560 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
18561 | _swigc__p_wxSingleChoiceDialog, |
18562 | _swigc__p_wxSize, | |
18563 | _swigc__p_wxSizeEvent, | |
18564 | _swigc__p_wxSizer, | |
18565 | _swigc__p_wxSizerItem, | |
18566 | _swigc__p_wxSplashScreen, | |
18567 | _swigc__p_wxSplashScreenWindow, | |
18568 | _swigc__p_wxSplitterEvent, | |
18569 | _swigc__p_wxSplitterWindow, | |
18570 | _swigc__p_wxStaticBoxSizer, | |
18571 | _swigc__p_wxStatusBar, | |
18572 | _swigc__p_wxStdDialogButtonSizer, | |
18573 | _swigc__p_wxString, | |
18574 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 18575 | _swigc__p_wxTGAHandler, |
27e45892 RD |
18576 | _swigc__p_wxTIFFHandler, |
18577 | _swigc__p_wxTaskBarIconEvent, | |
18578 | _swigc__p_wxTextEntryDialog, | |
18579 | _swigc__p_wxTipWindow, | |
18580 | _swigc__p_wxTopLevelWindow, | |
18581 | _swigc__p_wxUpdateUIEvent, | |
18582 | _swigc__p_wxValidator, | |
18583 | _swigc__p_wxWindow, | |
18584 | _swigc__p_wxWindowCreateEvent, | |
18585 | _swigc__p_wxWindowDestroyEvent, | |
18586 | _swigc__p_wxXPMHandler, | |
18587 | }; | |
18588 | ||
18589 | ||
18590 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18591 | ||
18592 | static swig_const_info swig_const_table[] = { | |
18593 | {0, 0, 0, 0.0, 0, 0}}; | |
18594 | ||
18595 | #ifdef __cplusplus | |
18596 | } | |
18597 | #endif | |
18598 | /* ----------------------------------------------------------------------------- | |
18599 | * Type initialization: | |
18600 | * This problem is tough by the requirement that no dynamic | |
18601 | * memory is used. Also, since swig_type_info structures store pointers to | |
18602 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
18603 | * to swig_type_info structures, we need some lookup code at initialization. | |
18604 | * The idea is that swig generates all the structures that are needed. | |
18605 | * The runtime then collects these partially filled structures. | |
18606 | * The SWIG_InitializeModule function takes these initial arrays out of | |
18607 | * swig_module, and does all the lookup, filling in the swig_module.types | |
18608 | * array with the correct data and linking the correct swig_cast_info | |
18609 | * structures together. | |
18610 | * | |
18611 | * The generated swig_type_info structures are assigned staticly to an initial | |
18612 | * array. We just loop though that array, and handle each type individually. | |
18613 | * First we lookup if this type has been already loaded, and if so, use the | |
18614 | * loaded structure instead of the generated one. Then we have to fill in the | |
18615 | * cast linked list. The cast data is initially stored in something like a | |
18616 | * two-dimensional array. Each row corresponds to a type (there are the same | |
18617 | * number of rows as there are in the swig_type_initial array). Each entry in | |
18618 | * a column is one of the swig_cast_info structures for that type. | |
18619 | * The cast_initial array is actually an array of arrays, because each row has | |
18620 | * a variable number of columns. So to actually build the cast linked list, | |
18621 | * we find the array of casts associated with the type, and loop through it | |
18622 | * adding the casts to the list. The one last trick we need to do is making | |
18623 | * sure the type pointer in the swig_cast_info struct is correct. | |
18624 | * | |
18625 | * First off, we lookup the cast->type name to see if it is already loaded. | |
18626 | * There are three cases to handle: | |
18627 | * 1) If the cast->type has already been loaded AND the type we are adding | |
18628 | * casting info to has not been loaded (it is in this module), THEN we | |
18629 | * replace the cast->type pointer with the type pointer that has already | |
18630 | * been loaded. | |
18631 | * 2) If BOTH types (the one we are adding casting info to, and the | |
18632 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
18633 | * the previous module so we just ignore it. | |
18634 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
18635 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
18636 | * be correct. | |
18637 | * ----------------------------------------------------------------------------- */ | |
18638 | ||
18639 | #ifdef __cplusplus | |
18640 | extern "C" { | |
18641 | #if 0 | |
18642 | } /* c-mode */ | |
18643 | #endif | |
18644 | #endif | |
18645 | ||
18646 | #if 0 | |
18647 | #define SWIGRUNTIME_DEBUG | |
18648 | #endif | |
18649 | ||
18650 | SWIGRUNTIME void | |
18651 | SWIG_InitializeModule(void *clientdata) { | |
18652 | size_t i; | |
18653 | swig_module_info *module_head; | |
18654 | static int init_run = 0; | |
18655 | ||
18656 | clientdata = clientdata; | |
18657 | ||
18658 | if (init_run) return; | |
18659 | init_run = 1; | |
18660 | ||
18661 | /* Initialize the swig_module */ | |
18662 | swig_module.type_initial = swig_type_initial; | |
18663 | swig_module.cast_initial = swig_cast_initial; | |
18664 | ||
18665 | /* Try and load any already created modules */ | |
18666 | module_head = SWIG_GetModule(clientdata); | |
18667 | if (module_head) { | |
18668 | swig_module.next = module_head->next; | |
18669 | module_head->next = &swig_module; | |
18670 | } else { | |
18671 | /* This is the first module loaded */ | |
18672 | swig_module.next = &swig_module; | |
18673 | SWIG_SetModule(clientdata, &swig_module); | |
18674 | } | |
18675 | ||
18676 | /* Now work on filling in swig_module.types */ | |
18677 | #ifdef SWIGRUNTIME_DEBUG | |
18678 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
18679 | #endif | |
18680 | for (i = 0; i < swig_module.size; ++i) { | |
18681 | swig_type_info *type = 0; | |
18682 | swig_type_info *ret; | |
18683 | swig_cast_info *cast; | |
18684 | ||
18685 | #ifdef SWIGRUNTIME_DEBUG | |
18686 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18687 | #endif | |
18688 | ||
18689 | /* if there is another module already loaded */ | |
18690 | if (swig_module.next != &swig_module) { | |
18691 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
18692 | } | |
18693 | if (type) { | |
18694 | /* Overwrite clientdata field */ | |
18695 | #ifdef SWIGRUNTIME_DEBUG | |
18696 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
18697 | #endif | |
18698 | if (swig_module.type_initial[i]->clientdata) { | |
18699 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
18700 | #ifdef SWIGRUNTIME_DEBUG | |
18701 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
18702 | #endif | |
18703 | } | |
18704 | } else { | |
18705 | type = swig_module.type_initial[i]; | |
18706 | } | |
18707 | ||
18708 | /* Insert casting types */ | |
18709 | cast = swig_module.cast_initial[i]; | |
18710 | while (cast->type) { | |
18711 | /* Don't need to add information already in the list */ | |
18712 | ret = 0; | |
18713 | #ifdef SWIGRUNTIME_DEBUG | |
18714 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
18715 | #endif | |
18716 | if (swig_module.next != &swig_module) { | |
18717 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
18718 | #ifdef SWIGRUNTIME_DEBUG | |
18719 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
18720 | #endif | |
18721 | } | |
18722 | if (ret) { | |
18723 | if (type == swig_module.type_initial[i]) { | |
18724 | #ifdef SWIGRUNTIME_DEBUG | |
18725 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
18726 | #endif | |
18727 | cast->type = ret; | |
18728 | ret = 0; | |
18729 | } else { | |
18730 | /* Check for casting already in the list */ | |
18731 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
18732 | #ifdef SWIGRUNTIME_DEBUG | |
18733 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
18734 | #endif | |
18735 | if (!ocast) ret = 0; | |
18736 | } | |
18737 | } | |
18738 | ||
18739 | if (!ret) { | |
18740 | #ifdef SWIGRUNTIME_DEBUG | |
18741 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
18742 | #endif | |
18743 | if (type->cast) { | |
18744 | type->cast->prev = cast; | |
18745 | cast->next = type->cast; | |
18746 | } | |
18747 | type->cast = cast; | |
18748 | } | |
18749 | cast++; | |
18750 | } | |
18751 | /* Set entry in modules->types array equal to the type */ | |
18752 | swig_module.types[i] = type; | |
18753 | } | |
18754 | swig_module.types[i] = 0; | |
18755 | ||
18756 | #ifdef SWIGRUNTIME_DEBUG | |
18757 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18758 | for (i = 0; i < swig_module.size; ++i) { | |
18759 | int j = 0; | |
18760 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
18761 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18762 | while (cast->type) { | |
18763 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
18764 | cast++; | |
18765 | ++j; | |
18766 | } | |
18767 | printf("---- Total casts: %d\n",j); | |
18768 | } | |
18769 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18770 | #endif | |
18771 | } | |
18772 | ||
18773 | /* This function will propagate the clientdata field of type to | |
18774 | * any new swig_type_info structures that have been added into the list | |
18775 | * of equivalent types. It is like calling | |
18776 | * SWIG_TypeClientData(type, clientdata) a second time. | |
18777 | */ | |
18778 | SWIGRUNTIME void | |
18779 | SWIG_PropagateClientData(void) { | |
18780 | size_t i; | |
18781 | swig_cast_info *equiv; | |
18782 | static int init_run = 0; | |
18783 | ||
18784 | if (init_run) return; | |
18785 | init_run = 1; | |
18786 | ||
18787 | for (i = 0; i < swig_module.size; i++) { | |
18788 | if (swig_module.types[i]->clientdata) { | |
18789 | equiv = swig_module.types[i]->cast; | |
18790 | while (equiv) { | |
18791 | if (!equiv->converter) { | |
18792 | if (equiv->type && !equiv->type->clientdata) | |
18793 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
18794 | } | |
18795 | equiv = equiv->next; | |
18796 | } | |
18797 | } | |
18798 | } | |
18799 | } | |
18800 | ||
18801 | #ifdef __cplusplus | |
18802 | #if 0 | |
18803 | { | |
18804 | /* c-mode */ | |
18805 | #endif | |
18806 | } | |
18807 | #endif | |
18808 | ||
18809 | ||
18810 | ||
18811 | #ifdef __cplusplus | |
18812 | extern "C" { | |
18813 | #endif | |
18814 | ||
18815 | /* Python-specific SWIG API */ | |
18816 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18817 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18818 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18819 | ||
18820 | /* ----------------------------------------------------------------------------- | |
18821 | * global variable support code. | |
18822 | * ----------------------------------------------------------------------------- */ | |
18823 | ||
18824 | typedef struct swig_globalvar { | |
18825 | char *name; /* Name of global variable */ | |
18826 | PyObject *(*get_attr)(void); /* Return the current value */ | |
18827 | int (*set_attr)(PyObject *); /* Set the value */ | |
18828 | struct swig_globalvar *next; | |
18829 | } swig_globalvar; | |
18830 | ||
18831 | typedef struct swig_varlinkobject { | |
18832 | PyObject_HEAD | |
18833 | swig_globalvar *vars; | |
18834 | } swig_varlinkobject; | |
18835 | ||
18836 | SWIGINTERN PyObject * | |
18837 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
18838 | return PyString_FromString("<Swig global variables>"); | |
18839 | } | |
18840 | ||
18841 | SWIGINTERN PyObject * | |
18842 | swig_varlink_str(swig_varlinkobject *v) { | |
18843 | PyObject *str = PyString_FromString("("); | |
18844 | swig_globalvar *var; | |
18845 | for (var = v->vars; var; var=var->next) { | |
18846 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
18847 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
18848 | } | |
18849 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
18850 | return str; | |
18851 | } | |
18852 | ||
18853 | SWIGINTERN int | |
18854 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
18855 | PyObject *str = swig_varlink_str(v); | |
18856 | fprintf(fp,"Swig global variables "); | |
18857 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
18858 | Py_DECREF(str); | |
18859 | return 0; | |
18860 | } | |
18861 | ||
18862 | SWIGINTERN void | |
18863 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
18864 | swig_globalvar *var = v->vars; | |
18865 | while (var) { | |
18866 | swig_globalvar *n = var->next; | |
18867 | free(var->name); | |
18868 | free(var); | |
18869 | var = n; | |
18870 | } | |
18871 | } | |
18872 | ||
18873 | SWIGINTERN PyObject * | |
18874 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18875 | PyObject *res = NULL; | |
18876 | swig_globalvar *var = v->vars; | |
18877 | while (var) { | |
18878 | if (strcmp(var->name,n) == 0) { | |
18879 | res = (*var->get_attr)(); | |
18880 | break; | |
18881 | } | |
18882 | var = var->next; | |
18883 | } | |
18884 | if (res == NULL && !PyErr_Occurred()) { | |
18885 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18886 | } | |
18887 | return res; | |
18888 | } | |
18889 | ||
18890 | SWIGINTERN int | |
18891 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18892 | int res = 1; | |
18893 | swig_globalvar *var = v->vars; | |
18894 | while (var) { | |
18895 | if (strcmp(var->name,n) == 0) { | |
18896 | res = (*var->set_attr)(p); | |
18897 | break; | |
18898 | } | |
18899 | var = var->next; | |
18900 | } | |
18901 | if (res == 1 && !PyErr_Occurred()) { | |
18902 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18903 | } | |
18904 | return res; | |
18905 | } | |
18906 | ||
18907 | SWIGINTERN PyTypeObject* | |
18908 | swig_varlink_type(void) { | |
18909 | static char varlink__doc__[] = "Swig var link object"; | |
18910 | static PyTypeObject varlink_type; | |
18911 | static int type_init = 0; | |
18912 | if (!type_init) { | |
18913 | const PyTypeObject tmp | |
18914 | = { | |
18915 | PyObject_HEAD_INIT(NULL) | |
18916 | 0, /* Number of items in variable part (ob_size) */ | |
18917 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18918 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18919 | 0, /* Itemsize (tp_itemsize) */ | |
18920 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
18921 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18922 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18923 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18924 | 0, /* tp_compare */ | |
18925 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18926 | 0, /* tp_as_number */ | |
18927 | 0, /* tp_as_sequence */ | |
18928 | 0, /* tp_as_mapping */ | |
18929 | 0, /* tp_hash */ | |
18930 | 0, /* tp_call */ | |
18931 | (reprfunc)swig_varlink_str, /* tp_str */ | |
18932 | 0, /* tp_getattro */ | |
18933 | 0, /* tp_setattro */ | |
18934 | 0, /* tp_as_buffer */ | |
18935 | 0, /* tp_flags */ | |
18936 | varlink__doc__, /* tp_doc */ | |
18937 | 0, /* tp_traverse */ | |
18938 | 0, /* tp_clear */ | |
18939 | 0, /* tp_richcompare */ | |
18940 | 0, /* tp_weaklistoffset */ | |
18941 | #if PY_VERSION_HEX >= 0x02020000 | |
18942 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18943 | #endif | |
18944 | #if PY_VERSION_HEX >= 0x02030000 | |
18945 | 0, /* tp_del */ | |
18946 | #endif | |
18947 | #ifdef COUNT_ALLOCS | |
18948 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18949 | #endif | |
18950 | }; | |
18951 | varlink_type = tmp; | |
18952 | varlink_type.ob_type = &PyType_Type; | |
18953 | type_init = 1; | |
18954 | } | |
18955 | return &varlink_type; | |
18956 | } | |
18957 | ||
18958 | /* Create a variable linking object for use later */ | |
18959 | SWIGINTERN PyObject * | |
18960 | SWIG_Python_newvarlink(void) { | |
18961 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
18962 | if (result) { | |
18963 | result->vars = 0; | |
18964 | } | |
18965 | return ((PyObject*) result); | |
18966 | } | |
18967 | ||
18968 | SWIGINTERN void | |
18969 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18970 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
18971 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18972 | if (gv) { | |
18973 | size_t size = strlen(name)+1; | |
18974 | gv->name = (char *)malloc(size); | |
18975 | if (gv->name) { | |
18976 | strncpy(gv->name,name,size); | |
18977 | gv->get_attr = get_attr; | |
18978 | gv->set_attr = set_attr; | |
18979 | gv->next = v->vars; | |
18980 | } | |
18981 | } | |
18982 | v->vars = gv; | |
18983 | } | |
18984 | ||
18985 | SWIGINTERN PyObject * | |
18986 | SWIG_globals() { | |
18987 | static PyObject *_SWIG_globals = 0; | |
18988 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
18989 | return _SWIG_globals; | |
18990 | } | |
18991 | ||
18992 | /* ----------------------------------------------------------------------------- | |
18993 | * constants/methods manipulation | |
18994 | * ----------------------------------------------------------------------------- */ | |
18995 | ||
18996 | /* Install Constants */ | |
18997 | SWIGINTERN void | |
18998 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18999 | PyObject *obj = 0; | |
19000 | size_t i; | |
19001 | for (i = 0; constants[i].type; ++i) { | |
19002 | switch(constants[i].type) { | |
19003 | case SWIG_PY_POINTER: | |
19004 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
19005 | break; | |
19006 | case SWIG_PY_BINARY: | |
19007 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
19008 | break; | |
19009 | default: | |
19010 | obj = 0; | |
19011 | break; | |
19012 | } | |
19013 | if (obj) { | |
19014 | PyDict_SetItemString(d, constants[i].name, obj); | |
19015 | Py_DECREF(obj); | |
19016 | } | |
19017 | } | |
19018 | } | |
19019 | ||
19020 | /* -----------------------------------------------------------------------------*/ | |
19021 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19022 | /* -----------------------------------------------------------------------------*/ | |
19023 | ||
19024 | SWIGINTERN void | |
19025 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
19026 | swig_const_info *const_table, | |
19027 | swig_type_info **types, | |
19028 | swig_type_info **types_initial) { | |
19029 | size_t i; | |
19030 | for (i = 0; methods[i].ml_name; ++i) { | |
19031 | const char *c = methods[i].ml_doc; | |
19032 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
19033 | int j; | |
19034 | swig_const_info *ci = 0; | |
19035 | const char *name = c + 10; | |
19036 | for (j = 0; const_table[j].type; ++j) { | |
19037 | if (strncmp(const_table[j].name, name, | |
19038 | strlen(const_table[j].name)) == 0) { | |
19039 | ci = &(const_table[j]); | |
19040 | break; | |
19041 | } | |
19042 | } | |
19043 | if (ci) { | |
19044 | size_t shift = (ci->ptype) - types; | |
19045 | swig_type_info *ty = types_initial[shift]; | |
19046 | size_t ldoc = (c - methods[i].ml_doc); | |
19047 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
19048 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
19049 | if (ndoc) { | |
19050 | char *buff = ndoc; | |
19051 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
19052 | if (ptr) { | |
19053 | strncpy(buff, methods[i].ml_doc, ldoc); | |
19054 | buff += ldoc; | |
19055 | strncpy(buff, "swig_ptr: ", 10); | |
19056 | buff += 10; | |
19057 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
19058 | methods[i].ml_doc = ndoc; | |
19059 | } | |
19060 | } | |
19061 | } | |
19062 | } | |
19063 | } | |
19064 | } | |
19065 | ||
19066 | #ifdef __cplusplus | |
19067 | } | |
19068 | #endif | |
19069 | ||
19070 | /* -----------------------------------------------------------------------------* | |
19071 | * Partial Init method | |
19072 | * -----------------------------------------------------------------------------*/ | |
19073 | ||
19074 | #ifdef __cplusplus | |
19075 | extern "C" | |
19076 | #endif | |
19077 | SWIGEXPORT void SWIG_init(void) { | |
19078 | PyObject *m, *d; | |
19079 | ||
19080 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19081 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
19082 | ||
19083 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
19084 | d = PyModule_GetDict(m); | |
19085 | ||
19086 | SWIG_InitializeModule(0); | |
19087 | SWIG_InstallConstants(d,swig_const_table); | |
19088 | ||
19089 | ||
19090 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
19091 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
19092 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
19093 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
19094 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
19095 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
19096 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
19097 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
19098 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
19099 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
19100 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
19101 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
19102 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
19103 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
19104 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
19105 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 | 19106 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
eccab1a7 RD |
19107 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE))); |
19108 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE))); | |
19109 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE))); | |
19110 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE))); | |
19111 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE))); | |
19112 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR))); | |
19113 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR))); | |
19114 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR))); | |
19115 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
19116 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR))); | |
19117 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
19118 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
19119 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
19120 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR))); | |
19121 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR))); | |
19122 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT))); | |
19123 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE))); | |
27e45892 RD |
19124 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); |
19125 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
19126 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
19127 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
19128 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
19129 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
19130 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
19131 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
eccab1a7 | 19132 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED))); |
8f514ab4 | 19133 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); |
5eb8189c | 19134 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
19135 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
19136 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
19137 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 19138 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
19139 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
19140 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
19141 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
19142 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
19143 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
19144 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
19145 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
19146 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
19147 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
19148 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
19149 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
19150 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
19151 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
19152 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
19153 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
19154 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
19155 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
19156 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
19157 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
19158 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
19159 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
19160 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
19161 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
19162 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
19163 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
19164 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
19165 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
19166 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
19167 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
19168 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
5eb8189c RD |
19169 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); |
19170 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
19171 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
19172 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
19173 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
19174 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
19175 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
9b881d36 | 19176 | SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); |
5eb8189c RD |
19177 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); |
19178 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
19179 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
19180 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
19181 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
19182 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
19183 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
19184 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
19185 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
19186 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
d7645bfd VZ |
19187 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); |
19188 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); | |
19189 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); | |
19190 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); | |
81f5836b | 19191 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
d7645bfd | 19192 | PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); |
5eb8189c RD |
19193 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
19194 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
19195 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
19196 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
19197 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
19198 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 19199 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 19200 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 19201 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 19202 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 19203 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
19204 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
19205 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
19206 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 19207 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
19208 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
19209 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
19210 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
19211 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
19212 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
19213 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 19214 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
19215 | } |
19216 |