]>
Commit | Line | Data |
---|---|---|
27e45892 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.29 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | /* ----------------------------------------------------------------------------- | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * ----------------------------------------------------------------------------- */ | |
34 | ||
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ | |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
37 | # if defined(__SUNPRO_CC) | |
38 | # if (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | # else | |
44 | # define SWIGTEMPLATEDISAMBIGUATOR | |
45 | # endif | |
46 | #endif | |
47 | ||
48 | /* inline attribute */ | |
49 | #ifndef SWIGINLINE | |
50 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
51 | # define SWIGINLINE inline | |
52 | # else | |
53 | # define SWIGINLINE | |
54 | # endif | |
55 | #endif | |
56 | ||
57 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
58 | #ifndef SWIGUNUSED | |
59 | # if defined(__GNUC__) | |
60 | # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) | |
61 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
62 | # else | |
63 | # define SWIGUNUSED | |
64 | # endif | |
65 | # elif defined(__ICC) | |
66 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
67 | # else | |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
72 | #ifndef SWIGUNUSEDPARM | |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
80 | /* internal SWIG method */ | |
81 | #ifndef SWIGINTERN | |
82 | # define SWIGINTERN static SWIGUNUSED | |
83 | #endif | |
84 | ||
85 | /* internal inline SWIG method */ | |
86 | #ifndef SWIGINTERNINLINE | |
87 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
88 | #endif | |
89 | ||
90 | /* exporting methods */ | |
91 | #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | |
92 | # ifndef GCC_HASCLASSVISIBILITY | |
93 | # define GCC_HASCLASSVISIBILITY | |
94 | # endif | |
95 | #endif | |
96 | ||
97 | #ifndef SWIGEXPORT | |
98 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
99 | # if defined(STATIC_LINKED) | |
100 | # define SWIGEXPORT | |
101 | # else | |
102 | # define SWIGEXPORT __declspec(dllexport) | |
103 | # endif | |
104 | # else | |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) | |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
110 | # endif | |
111 | #endif | |
112 | ||
113 | /* calling conventions for Windows */ | |
114 | #ifndef SWIGSTDCALL | |
115 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
116 | # define SWIGSTDCALL __stdcall | |
117 | # else | |
118 | # define SWIGSTDCALL | |
119 | # endif | |
120 | #endif | |
121 | ||
122 | /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ | |
123 | #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) | |
124 | # define _CRT_SECURE_NO_DEPRECATE | |
125 | #endif | |
126 | ||
127 | ||
128 | /* Python.h has to appear first */ | |
129 | #include <Python.h> | |
130 | ||
131 | /* ----------------------------------------------------------------------------- | |
132 | * swigrun.swg | |
133 | * | |
134 | * This file contains generic CAPI SWIG runtime support for pointer | |
135 | * type checking. | |
136 | * ----------------------------------------------------------------------------- */ | |
137 | ||
138 | /* This should only be incremented when either the layout of swig_type_info changes, | |
139 | or for whatever reason, the runtime changes incompatibly */ | |
140 | #define SWIG_RUNTIME_VERSION "2" | |
141 | ||
142 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ | |
143 | #ifdef SWIG_TYPE_TABLE | |
144 | # define SWIG_QUOTE_STRING(x) #x | |
145 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
146 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
147 | #else | |
148 | # define SWIG_TYPE_TABLE_NAME | |
149 | #endif | |
150 | ||
151 | /* | |
152 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
153 | creating a static or dynamic library from the swig runtime code. | |
154 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
155 | ||
156 | But only do this if is strictly necessary, ie, if you have problems | |
157 | with your compiler or so. | |
158 | */ | |
159 | ||
160 | #ifndef SWIGRUNTIME | |
161 | # define SWIGRUNTIME SWIGINTERN | |
162 | #endif | |
163 | ||
164 | #ifndef SWIGRUNTIMEINLINE | |
165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
166 | #endif | |
167 | ||
168 | /* Generic buffer size */ | |
169 | #ifndef SWIG_BUFFER_SIZE | |
170 | # define SWIG_BUFFER_SIZE 1024 | |
171 | #endif | |
172 | ||
173 | /* Flags for pointer conversions */ | |
174 | #define SWIG_POINTER_DISOWN 0x1 | |
175 | ||
176 | /* Flags for new pointer objects */ | |
177 | #define SWIG_POINTER_OWN 0x1 | |
178 | ||
179 | ||
180 | /* | |
181 | Flags/methods for returning states. | |
182 | ||
183 | The swig conversion methods, as ConvertPtr, return and integer | |
184 | that tells if the conversion was successful or not. And if not, | |
185 | an error code can be returned (see swigerrors.swg for the codes). | |
186 | ||
187 | Use the following macros/flags to set or process the returning | |
188 | states. | |
189 | ||
190 | In old swig versions, you usually write code as: | |
191 | ||
192 | if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { | |
193 | // success code | |
194 | } else { | |
195 | //fail code | |
196 | } | |
197 | ||
198 | Now you can be more explicit as: | |
199 | ||
200 | int res = SWIG_ConvertPtr(obj,vptr,ty.flags); | |
201 | if (SWIG_IsOK(res)) { | |
202 | // success code | |
203 | } else { | |
204 | // fail code | |
205 | } | |
206 | ||
207 | that seems to be the same, but now you can also do | |
208 | ||
209 | Type *ptr; | |
210 | int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); | |
211 | if (SWIG_IsOK(res)) { | |
212 | // success code | |
213 | if (SWIG_IsNewObj(res) { | |
214 | ... | |
215 | delete *ptr; | |
216 | } else { | |
217 | ... | |
218 | } | |
219 | } else { | |
220 | // fail code | |
221 | } | |
222 | ||
223 | I.e., now SWIG_ConvertPtr can return new objects and you can | |
224 | identify the case and take care of the deallocation. Of course that | |
225 | requires also to SWIG_ConvertPtr to return new result values, as | |
226 | ||
227 | int SWIG_ConvertPtr(obj, ptr,...) { | |
228 | if (<obj is ok>) { | |
229 | if (<need new object>) { | |
230 | *ptr = <ptr to new allocated object>; | |
231 | return SWIG_NEWOBJ; | |
232 | } else { | |
233 | *ptr = <ptr to old object>; | |
234 | return SWIG_OLDOBJ; | |
235 | } | |
236 | } else { | |
237 | return SWIG_BADOBJ; | |
238 | } | |
239 | } | |
240 | ||
241 | Of course, returning the plain '0(success)/-1(fail)' still works, but you can be | |
242 | more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the | |
243 | swig errors code. | |
244 | ||
245 | Finally, if the SWIG_CASTRANK_MODE is enabled, the result code | |
246 | allows to return the 'cast rank', for example, if you have this | |
247 | ||
248 | int food(double) | |
249 | int fooi(int); | |
250 | ||
251 | and you call | |
252 | ||
253 | food(1) // cast rank '1' (1 -> 1.0) | |
254 | fooi(1) // cast rank '0' | |
255 | ||
256 | just use the SWIG_AddCast()/SWIG_CheckState() | |
257 | ||
258 | ||
259 | */ | |
260 | #define SWIG_OK (0) | |
261 | #define SWIG_ERROR (-1) | |
262 | #define SWIG_IsOK(r) (r >= 0) | |
263 | #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) | |
264 | ||
265 | /* The CastRankLimit says how many bits are used for the cast rank */ | |
266 | #define SWIG_CASTRANKLIMIT (1 << 8) | |
267 | /* The NewMask denotes the object was created (using new/malloc) */ | |
268 | #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) | |
269 | /* The TmpMask is for in/out typemaps that use temporal objects */ | |
270 | #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) | |
271 | /* Simple returning values */ | |
272 | #define SWIG_BADOBJ (SWIG_ERROR) | |
273 | #define SWIG_OLDOBJ (SWIG_OK) | |
274 | #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) | |
275 | #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) | |
276 | /* Check, add and del mask methods */ | |
277 | #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) | |
278 | #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) | |
279 | #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) | |
280 | #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) | |
281 | #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) | |
282 | #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) | |
283 | ||
284 | ||
285 | /* Cast-Rank Mode */ | |
286 | #if defined(SWIG_CASTRANK_MODE) | |
287 | # ifndef SWIG_TypeRank | |
288 | # define SWIG_TypeRank unsigned long | |
289 | # endif | |
290 | # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ | |
291 | # define SWIG_MAXCASTRANK (2) | |
292 | # endif | |
293 | # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) | |
294 | # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) | |
295 | SWIGINTERNINLINE int SWIG_AddCast(int r) { | |
296 | return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; | |
297 | } | |
298 | SWIGINTERNINLINE int SWIG_CheckState(int r) { | |
299 | return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; | |
300 | } | |
301 | #else /* no cast-rank mode */ | |
302 | # define SWIG_AddCast | |
303 | # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) | |
304 | #endif | |
305 | ||
306 | ||
307 | ||
308 | ||
309 | #include <string.h> | |
310 | ||
311 | #ifdef __cplusplus | |
312 | extern "C" { | |
313 | #endif | |
314 | ||
315 | typedef void *(*swig_converter_func)(void *); | |
316 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
317 | ||
318 | /* Structure to store inforomation on one type */ | |
319 | typedef struct swig_type_info { | |
320 | const char *name; /* mangled name of this type */ | |
321 | const char *str; /* human readable name of this type */ | |
322 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
323 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
324 | void *clientdata; /* language specific type data */ | |
325 | int owndata; /* flag if the structure owns the clientdata */ | |
326 | } swig_type_info; | |
327 | ||
328 | /* Structure to store a type and conversion function used for casting */ | |
329 | typedef struct swig_cast_info { | |
330 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
331 | swig_converter_func converter; /* function to cast the void pointers */ | |
332 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
333 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
334 | } swig_cast_info; | |
335 | ||
336 | /* Structure used to store module information | |
337 | * Each module generates one structure like this, and the runtime collects | |
338 | * all of these structures and stores them in a circularly linked list.*/ | |
339 | typedef struct swig_module_info { | |
340 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
341 | size_t size; /* Number of types in this module */ | |
342 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
343 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
344 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
345 | void *clientdata; /* Language specific module data */ | |
346 | } swig_module_info; | |
347 | ||
348 | /* | |
349 | Compare two type names skipping the space characters, therefore | |
350 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
351 | ||
352 | Return 0 when the two name types are equivalent, as in | |
353 | strncmp, but skipping ' '. | |
354 | */ | |
355 | SWIGRUNTIME int | |
356 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
357 | const char *f2, const char *l2) { | |
358 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
359 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
360 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
361 | if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; | |
362 | } | |
363 | return (l1 - f1) - (l2 - f2); | |
364 | } | |
365 | ||
366 | /* | |
367 | Check type equivalence in a name list like <name1>|<name2>|... | |
368 | Return 0 if not equal, 1 if equal | |
369 | */ | |
370 | SWIGRUNTIME int | |
371 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
372 | int equiv = 0; | |
373 | const char* te = tb + strlen(tb); | |
374 | const char* ne = nb; | |
375 | while (!equiv && *ne) { | |
376 | for (nb = ne; *ne; ++ne) { | |
377 | if (*ne == '|') break; | |
378 | } | |
379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
380 | if (*ne) ++ne; | |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
386 | Check type equivalence in a name list like <name1>|<name2>|... | |
387 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
388 | */ | |
389 | SWIGRUNTIME int | |
390 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
391 | int equiv = 0; | |
392 | const char* te = tb + strlen(tb); | |
393 | const char* ne = nb; | |
394 | while (!equiv && *ne) { | |
395 | for (nb = ne; *ne; ++ne) { | |
396 | if (*ne == '|') break; | |
397 | } | |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
399 | if (*ne) ++ne; | |
400 | } | |
401 | return equiv; | |
402 | } | |
403 | ||
404 | ||
405 | /* think of this as a c++ template<> or a scheme macro */ | |
406 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
407 | if (ty) { \ | |
408 | swig_cast_info *iter = ty->cast; \ | |
409 | while (iter) { \ | |
410 | if (comparison) { \ | |
411 | if (iter == ty->cast) return iter; \ | |
412 | /* Move iter to the top of the linked list */ \ | |
413 | iter->prev->next = iter->next; \ | |
414 | if (iter->next) \ | |
415 | iter->next->prev = iter->prev; \ | |
416 | iter->next = ty->cast; \ | |
417 | iter->prev = 0; \ | |
418 | if (ty->cast) ty->cast->prev = iter; \ | |
419 | ty->cast = iter; \ | |
420 | return iter; \ | |
421 | } \ | |
422 | iter = iter->next; \ | |
423 | } \ | |
424 | } \ | |
425 | return 0 | |
426 | ||
427 | /* | |
428 | Check the typename | |
429 | */ | |
430 | SWIGRUNTIME swig_cast_info * | |
431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
432 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); | |
433 | } | |
434 | ||
435 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
436 | SWIGRUNTIME swig_cast_info * | |
437 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
438 | SWIG_TypeCheck_Template(iter->type == from, into); | |
439 | } | |
440 | ||
441 | /* | |
442 | Cast a pointer up an inheritance hierarchy | |
443 | */ | |
444 | SWIGRUNTIMEINLINE void * | |
445 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { | |
446 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
447 | } | |
448 | ||
449 | /* | |
450 | Dynamic pointer casting. Down an inheritance hierarchy | |
451 | */ | |
452 | SWIGRUNTIME swig_type_info * | |
453 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
454 | swig_type_info *lastty = ty; | |
455 | if (!ty || !ty->dcast) return ty; | |
456 | while (ty && (ty->dcast)) { | |
457 | ty = (*ty->dcast)(ptr); | |
458 | if (ty) lastty = ty; | |
459 | } | |
460 | return lastty; | |
461 | } | |
462 | ||
463 | /* | |
464 | Return the name associated with this type | |
465 | */ | |
466 | SWIGRUNTIMEINLINE const char * | |
467 | SWIG_TypeName(const swig_type_info *ty) { | |
468 | return ty->name; | |
469 | } | |
470 | ||
471 | /* | |
472 | Return the pretty name associated with this type, | |
473 | that is an unmangled type name in a form presentable to the user. | |
474 | */ | |
475 | SWIGRUNTIME const char * | |
476 | SWIG_TypePrettyName(const swig_type_info *type) { | |
477 | /* The "str" field contains the equivalent pretty names of the | |
478 | type, separated by vertical-bar characters. We choose | |
479 | to print the last name, as it is often (?) the most | |
480 | specific. */ | |
481 | if (!type) return NULL; | |
482 | if (type->str != NULL) { | |
483 | const char *last_name = type->str; | |
484 | const char *s; | |
485 | for (s = type->str; *s; s++) | |
486 | if (*s == '|') last_name = s+1; | |
487 | return last_name; | |
488 | } | |
489 | else | |
490 | return type->name; | |
491 | } | |
492 | ||
493 | /* | |
494 | Set the clientdata field for a type | |
495 | */ | |
496 | SWIGRUNTIME void | |
497 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
498 | swig_cast_info *cast = ti->cast; | |
499 | /* if (ti->clientdata == clientdata) return; */ | |
500 | ti->clientdata = clientdata; | |
501 | ||
502 | while (cast) { | |
503 | if (!cast->converter) { | |
504 | swig_type_info *tc = cast->type; | |
505 | if (!tc->clientdata) { | |
506 | SWIG_TypeClientData(tc, clientdata); | |
507 | } | |
508 | } | |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
512 | SWIGRUNTIME void | |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
518 | /* | |
519 | Search for a swig_type_info structure only by mangled name | |
520 | Search is a O(log #types) | |
521 | ||
522 | We start searching at module start, and finish searching when start == end. | |
523 | Note: if start == end at the beginning of the function, we go all the way around | |
524 | the circular list. | |
525 | */ | |
526 | SWIGRUNTIME swig_type_info * | |
527 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
528 | swig_module_info *end, | |
529 | const char *name) { | |
530 | swig_module_info *iter = start; | |
531 | do { | |
532 | if (iter->size) { | |
533 | register size_t l = 0; | |
534 | register size_t r = iter->size - 1; | |
535 | do { | |
536 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
537 | register size_t i = (l + r) >> 1; | |
538 | const char *iname = iter->types[i]->name; | |
539 | if (iname) { | |
540 | register int compare = strcmp(name, iname); | |
541 | if (compare == 0) { | |
542 | return iter->types[i]; | |
543 | } else if (compare < 0) { | |
544 | if (i) { | |
545 | r = i - 1; | |
546 | } else { | |
547 | break; | |
548 | } | |
549 | } else if (compare > 0) { | |
550 | l = i + 1; | |
551 | } | |
552 | } else { | |
553 | break; /* should never happen */ | |
554 | } | |
555 | } while (l <= r); | |
556 | } | |
557 | iter = iter->next; | |
558 | } while (iter != end); | |
559 | return 0; | |
560 | } | |
561 | ||
562 | /* | |
563 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
564 | It first searches the mangled names of the types, which is a O(log #types) | |
565 | If a type is not found it then searches the human readable names, which is O(#types). | |
566 | ||
567 | We start searching at module start, and finish searching when start == end. | |
568 | Note: if start == end at the beginning of the function, we go all the way around | |
569 | the circular list. | |
570 | */ | |
571 | SWIGRUNTIME swig_type_info * | |
572 | SWIG_TypeQueryModule(swig_module_info *start, | |
573 | swig_module_info *end, | |
574 | const char *name) { | |
575 | /* STEP 1: Search the name field using binary search */ | |
576 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
577 | if (ret) { | |
578 | return ret; | |
579 | } else { | |
580 | /* STEP 2: If the type hasn't been found, do a complete search | |
581 | of the str field (the human readable name) */ | |
582 | swig_module_info *iter = start; | |
583 | do { | |
584 | register size_t i = 0; | |
585 | for (; i < iter->size; ++i) { | |
586 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
587 | return iter->types[i]; | |
588 | } | |
589 | iter = iter->next; | |
590 | } while (iter != end); | |
591 | } | |
592 | ||
593 | /* neither found a match */ | |
594 | return 0; | |
595 | } | |
596 | ||
597 | /* | |
598 | Pack binary data into a string | |
599 | */ | |
600 | SWIGRUNTIME char * | |
601 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
602 | static const char hex[17] = "0123456789abcdef"; | |
603 | register const unsigned char *u = (unsigned char *) ptr; | |
604 | register const unsigned char *eu = u + sz; | |
605 | for (; u != eu; ++u) { | |
606 | register unsigned char uu = *u; | |
607 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
608 | *(c++) = hex[uu & 0xf]; | |
609 | } | |
610 | return c; | |
611 | } | |
612 | ||
613 | /* | |
614 | Unpack binary data from a string | |
615 | */ | |
616 | SWIGRUNTIME const char * | |
617 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
618 | register unsigned char *u = (unsigned char *) ptr; | |
619 | register const unsigned char *eu = u + sz; | |
620 | for (; u != eu; ++u) { | |
621 | register char d = *(c++); | |
622 | register unsigned char uu; | |
623 | if ((d >= '0') && (d <= '9')) | |
624 | uu = ((d - '0') << 4); | |
625 | else if ((d >= 'a') && (d <= 'f')) | |
626 | uu = ((d - ('a'-10)) << 4); | |
627 | else | |
628 | return (char *) 0; | |
629 | d = *(c++); | |
630 | if ((d >= '0') && (d <= '9')) | |
631 | uu |= (d - '0'); | |
632 | else if ((d >= 'a') && (d <= 'f')) | |
633 | uu |= (d - ('a'-10)); | |
634 | else | |
635 | return (char *) 0; | |
636 | *u = uu; | |
637 | } | |
638 | return c; | |
639 | } | |
640 | ||
641 | /* | |
642 | Pack 'void *' into a string buffer. | |
643 | */ | |
644 | SWIGRUNTIME char * | |
645 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
646 | char *r = buff; | |
647 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
648 | *(r++) = '_'; | |
649 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
650 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
651 | strcpy(r,name); | |
652 | return buff; | |
653 | } | |
654 | ||
655 | SWIGRUNTIME const char * | |
656 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
657 | if (*c != '_') { | |
658 | if (strcmp(c,"NULL") == 0) { | |
659 | *ptr = (void *) 0; | |
660 | return name; | |
661 | } else { | |
662 | return 0; | |
663 | } | |
664 | } | |
665 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
666 | } | |
667 | ||
668 | SWIGRUNTIME char * | |
669 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
670 | char *r = buff; | |
671 | size_t lname = (name ? strlen(name) : 0); | |
672 | if ((2*sz + 2 + lname) > bsz) return 0; | |
673 | *(r++) = '_'; | |
674 | r = SWIG_PackData(r,ptr,sz); | |
675 | if (lname) { | |
676 | strncpy(r,name,lname+1); | |
677 | } else { | |
678 | *r = 0; | |
679 | } | |
680 | return buff; | |
681 | } | |
682 | ||
683 | SWIGRUNTIME const char * | |
684 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
685 | if (*c != '_') { | |
686 | if (strcmp(c,"NULL") == 0) { | |
687 | memset(ptr,0,sz); | |
688 | return name; | |
689 | } else { | |
690 | return 0; | |
691 | } | |
692 | } | |
693 | return SWIG_UnpackData(++c,ptr,sz); | |
694 | } | |
695 | ||
696 | #ifdef __cplusplus | |
697 | } | |
698 | #endif | |
699 | ||
700 | /* Errors in SWIG */ | |
701 | #define SWIG_UnknownError -1 | |
702 | #define SWIG_IOError -2 | |
703 | #define SWIG_RuntimeError -3 | |
704 | #define SWIG_IndexError -4 | |
705 | #define SWIG_TypeError -5 | |
706 | #define SWIG_DivisionByZero -6 | |
707 | #define SWIG_OverflowError -7 | |
708 | #define SWIG_SyntaxError -8 | |
709 | #define SWIG_ValueError -9 | |
710 | #define SWIG_SystemError -10 | |
711 | #define SWIG_AttributeError -11 | |
712 | #define SWIG_MemoryError -12 | |
713 | #define SWIG_NullReferenceError -13 | |
714 | ||
715 | ||
716 | ||
717 | /* Python.h has to appear first */ | |
718 | #include <Python.h> | |
719 | ||
720 | /* Add PyOS_snprintf for old Pythons */ | |
721 | #if PY_VERSION_HEX < 0x02020000 | |
722 | # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) | |
723 | # define PyOS_snprintf _snprintf | |
724 | # else | |
725 | # define PyOS_snprintf snprintf | |
726 | # endif | |
727 | #endif | |
728 | ||
729 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
730 | #if PY_VERSION_HEX < 0x02020000 | |
731 | ||
732 | #ifndef SWIG_PYBUFFER_SIZE | |
733 | # define SWIG_PYBUFFER_SIZE 1024 | |
734 | #endif | |
735 | ||
736 | static PyObject * | |
737 | PyString_FromFormat(const char *fmt, ...) { | |
738 | va_list ap; | |
739 | char buf[SWIG_PYBUFFER_SIZE * 2]; | |
740 | int res; | |
741 | va_start(ap, fmt); | |
742 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
743 | va_end(ap); | |
744 | return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); | |
745 | } | |
746 | #endif | |
747 | ||
748 | /* Add PyObject_Del for old Pythons */ | |
749 | #if PY_VERSION_HEX < 0x01060000 | |
750 | # define PyObject_Del(op) PyMem_DEL((op)) | |
751 | #endif | |
752 | #ifndef PyObject_DEL | |
753 | # define PyObject_DEL PyObject_Del | |
754 | #endif | |
755 | ||
756 | /* A crude PyExc_StopIteration exception for old Pythons */ | |
757 | #if PY_VERSION_HEX < 0x02020000 | |
758 | # ifndef PyExc_StopIteration | |
759 | # define PyExc_StopIteration PyExc_RuntimeError | |
760 | # endif | |
761 | # ifndef PyObject_GenericGetAttr | |
762 | # define PyObject_GenericGetAttr 0 | |
763 | # endif | |
764 | #endif | |
765 | /* Py_NotImplemented is defined in 2.1 and up. */ | |
766 | #if PY_VERSION_HEX < 0x02010000 | |
767 | # ifndef Py_NotImplemented | |
768 | # define Py_NotImplemented PyExc_RuntimeError | |
769 | # endif | |
770 | #endif | |
771 | ||
772 | ||
773 | /* A crude PyString_AsStringAndSize implementation for old Pythons */ | |
774 | #if PY_VERSION_HEX < 0x02010000 | |
775 | # ifndef PyString_AsStringAndSize | |
776 | # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} | |
777 | # endif | |
778 | #endif | |
779 | ||
780 | /* PySequence_Size for old Pythons */ | |
781 | #if PY_VERSION_HEX < 0x02000000 | |
782 | # ifndef PySequence_Size | |
783 | # define PySequence_Size PySequence_Length | |
784 | # endif | |
785 | #endif | |
786 | ||
787 | ||
788 | /* PyBool_FromLong for old Pythons */ | |
789 | #if PY_VERSION_HEX < 0x02030000 | |
790 | static | |
791 | PyObject *PyBool_FromLong(long ok) | |
792 | { | |
793 | PyObject *result = ok ? Py_True : Py_False; | |
794 | Py_INCREF(result); | |
795 | return result; | |
796 | } | |
797 | #endif | |
798 | ||
799 | ||
800 | /* ----------------------------------------------------------------------------- | |
801 | * error manipulation | |
802 | * ----------------------------------------------------------------------------- */ | |
803 | ||
804 | SWIGRUNTIME PyObject* | |
805 | SWIG_Python_ErrorType(int code) { | |
806 | PyObject* type = 0; | |
807 | switch(code) { | |
808 | case SWIG_MemoryError: | |
809 | type = PyExc_MemoryError; | |
810 | break; | |
811 | case SWIG_IOError: | |
812 | type = PyExc_IOError; | |
813 | break; | |
814 | case SWIG_RuntimeError: | |
815 | type = PyExc_RuntimeError; | |
816 | break; | |
817 | case SWIG_IndexError: | |
818 | type = PyExc_IndexError; | |
819 | break; | |
820 | case SWIG_TypeError: | |
821 | type = PyExc_TypeError; | |
822 | break; | |
823 | case SWIG_DivisionByZero: | |
824 | type = PyExc_ZeroDivisionError; | |
825 | break; | |
826 | case SWIG_OverflowError: | |
827 | type = PyExc_OverflowError; | |
828 | break; | |
829 | case SWIG_SyntaxError: | |
830 | type = PyExc_SyntaxError; | |
831 | break; | |
832 | case SWIG_ValueError: | |
833 | type = PyExc_ValueError; | |
834 | break; | |
835 | case SWIG_SystemError: | |
836 | type = PyExc_SystemError; | |
837 | break; | |
838 | case SWIG_AttributeError: | |
839 | type = PyExc_AttributeError; | |
840 | break; | |
841 | default: | |
842 | type = PyExc_RuntimeError; | |
843 | } | |
844 | return type; | |
845 | } | |
846 | ||
847 | ||
848 | SWIGRUNTIME void | |
849 | SWIG_Python_AddErrorMsg(const char* mesg) | |
850 | { | |
851 | PyObject *type = 0; | |
852 | PyObject *value = 0; | |
853 | PyObject *traceback = 0; | |
854 | ||
855 | if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); | |
856 | if (value) { | |
857 | PyObject *old_str = PyObject_Str(value); | |
858 | PyErr_Clear(); | |
859 | Py_XINCREF(type); | |
860 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
861 | Py_DECREF(old_str); | |
862 | Py_DECREF(value); | |
863 | } else { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
935 | #endif | |
936 | ||
937 | /* ----------------------------------------------------------------------------- | |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
940 | ||
941 | #ifdef __cplusplus | |
942 | extern "C" { | |
943 | #if 0 | |
944 | } /* cc-mode */ | |
945 | #endif | |
946 | #endif | |
947 | ||
948 | /* ----------------------------------------------------------------------------- | |
949 | * Constant declarations | |
950 | * ----------------------------------------------------------------------------- */ | |
951 | ||
952 | /* Constant Types */ | |
953 | #define SWIG_PY_POINTER 4 | |
954 | #define SWIG_PY_BINARY 5 | |
955 | ||
956 | /* Constant information structure */ | |
957 | typedef struct swig_const_info { | |
958 | int type; | |
959 | char *name; | |
960 | long lvalue; | |
961 | double dvalue; | |
962 | void *pvalue; | |
963 | swig_type_info **ptype; | |
964 | } swig_const_info; | |
965 | ||
966 | #ifdef __cplusplus | |
967 | #if 0 | |
968 | { /* cc-mode */ | |
969 | #endif | |
970 | } | |
971 | #endif | |
972 | ||
973 | ||
974 | /* ----------------------------------------------------------------------------- | |
975 | * See the LICENSE file for information on copyright, usage and redistribution | |
976 | * of SWIG, and the README file for authors - http://www.swig.org/release.html. | |
977 | * | |
978 | * pyrun.swg | |
979 | * | |
980 | * This file contains the runtime support for Python modules | |
981 | * and includes code for managing global variables and pointer | |
982 | * type checking. | |
983 | * | |
984 | * ----------------------------------------------------------------------------- */ | |
985 | ||
986 | /* Common SWIG API */ | |
987 | ||
988 | #if PY_VERSION_HEX < 0x02050000 | |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
992 | /* for raw pointers */ | |
993 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
994 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
995 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
996 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
997 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
998 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
999 | #define swig_owntype int | |
1000 | ||
1001 | /* for raw packed data */ | |
1002 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1003 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1004 | ||
1005 | /* for class or struct pointers */ | |
1006 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1007 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
1008 | ||
1009 | /* for C or C++ function pointers */ | |
1010 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1011 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
1012 | ||
1013 | /* for C++ member pointers, ie, member methods */ | |
1014 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1015 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1016 | ||
1017 | ||
1018 | /* Runtime API */ | |
1019 | ||
1020 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
1021 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1022 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
1023 | ||
1024 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj | |
1025 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1026 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1027 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1028 | #define SWIG_fail goto fail | |
1029 | ||
1030 | ||
1031 | /* Runtime API implementation */ | |
1032 | ||
1033 | /* Error manipulation */ | |
1034 | ||
1035 | SWIGINTERN void | |
1036 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1037 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1038 | PyErr_SetObject(errtype, obj); | |
1039 | Py_DECREF(obj); | |
1040 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1041 | } | |
1042 | ||
1043 | SWIGINTERN void | |
1044 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1045 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1046 | PyErr_SetString(errtype, (char *) msg); | |
1047 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1048 | } | |
1049 | ||
1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) | |
1051 | ||
1052 | /* Set a constant value */ | |
1053 | ||
1054 | SWIGINTERN void | |
1055 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1056 | PyDict_SetItemString(d, (char*) name, obj); | |
1057 | Py_DECREF(obj); | |
1058 | } | |
1059 | ||
1060 | /* Append a value to the result obj */ | |
1061 | ||
1062 | SWIGINTERN PyObject* | |
1063 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1064 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1065 | if (!result) { | |
1066 | result = obj; | |
1067 | } else if (result == Py_None) { | |
1068 | Py_DECREF(result); | |
1069 | result = obj; | |
1070 | } else { | |
1071 | if (!PyList_Check(result)) { | |
1072 | PyObject *o2 = result; | |
1073 | result = PyList_New(1); | |
1074 | PyList_SetItem(result, 0, o2); | |
1075 | } | |
1076 | PyList_Append(result,obj); | |
1077 | Py_DECREF(obj); | |
1078 | } | |
1079 | return result; | |
1080 | #else | |
1081 | PyObject* o2; | |
1082 | PyObject* o3; | |
1083 | if (!result) { | |
1084 | result = obj; | |
1085 | } else if (result == Py_None) { | |
1086 | Py_DECREF(result); | |
1087 | result = obj; | |
1088 | } else { | |
1089 | if (!PyTuple_Check(result)) { | |
1090 | o2 = result; | |
1091 | result = PyTuple_New(1); | |
1092 | PyTuple_SET_ITEM(result, 0, o2); | |
1093 | } | |
1094 | o3 = PyTuple_New(1); | |
1095 | PyTuple_SET_ITEM(o3, 0, obj); | |
1096 | o2 = result; | |
1097 | result = PySequence_Concat(o2, o3); | |
1098 | Py_DECREF(o2); | |
1099 | Py_DECREF(o3); | |
1100 | } | |
1101 | return result; | |
1102 | #endif | |
1103 | } | |
1104 | ||
1105 | /* Unpack the argument tuple */ | |
1106 | ||
1107 | SWIGINTERN int | |
1108 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1109 | { | |
1110 | if (!args) { | |
1111 | if (!min && !max) { | |
1112 | return 1; | |
1113 | } else { | |
1114 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1115 | name, (min == max ? "" : "at least "), min); | |
1116 | return 0; | |
1117 | } | |
1118 | } | |
1119 | if (!PyTuple_Check(args)) { | |
1120 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1121 | return 0; | |
1122 | } else { | |
1123 | register int l = PyTuple_GET_SIZE(args); | |
1124 | if (l < min) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at least "), min, l); | |
1127 | return 0; | |
1128 | } else if (l > max) { | |
1129 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1130 | name, (min == max ? "" : "at most "), max, l); | |
1131 | return 0; | |
1132 | } else { | |
1133 | register int i; | |
1134 | for (i = 0; i < l; ++i) { | |
1135 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1136 | } | |
1137 | for (; l < max; ++l) { | |
1138 | objs[l] = 0; | |
1139 | } | |
1140 | return i + 1; | |
1141 | } | |
1142 | } | |
1143 | } | |
1144 | ||
1145 | /* A functor is a function object with one single object argument */ | |
1146 | #if PY_VERSION_HEX >= 0x02020000 | |
1147 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1148 | #else | |
1149 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1150 | #endif | |
1151 | ||
1152 | /* | |
1153 | Helper for static pointer initialization for both C and C++ code, for example | |
1154 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1155 | */ | |
1156 | #ifdef __cplusplus | |
1157 | #define SWIG_STATIC_POINTER(var) var | |
1158 | #else | |
1159 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1160 | #endif | |
1161 | ||
1162 | /* ----------------------------------------------------------------------------- | |
1163 | * Pointer declarations | |
1164 | * ----------------------------------------------------------------------------- */ | |
1165 | ||
1166 | /* Flags for new pointer objects */ | |
1167 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1168 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1169 | ||
1170 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1171 | ||
1172 | #ifdef __cplusplus | |
1173 | extern "C" { | |
1174 | #if 0 | |
1175 | } /* cc-mode */ | |
1176 | #endif | |
1177 | #endif | |
1178 | ||
1179 | /* How to access Py_None */ | |
1180 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1181 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1182 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1183 | # define SWIG_PYTHON_BUILD_NONE | |
1184 | # endif | |
1185 | # endif | |
1186 | #endif | |
1187 | ||
1188 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1189 | # ifdef Py_None | |
1190 | # undef Py_None | |
1191 | # define Py_None SWIG_Py_None() | |
1192 | # endif | |
1193 | SWIGRUNTIMEINLINE PyObject * | |
1194 | _SWIG_Py_None(void) | |
1195 | { | |
1196 | PyObject *none = Py_BuildValue(""); | |
1197 | Py_DECREF(none); | |
1198 | return none; | |
1199 | } | |
1200 | SWIGRUNTIME PyObject * | |
1201 | SWIG_Py_None(void) | |
1202 | { | |
1203 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1204 | return none; | |
1205 | } | |
1206 | #endif | |
1207 | ||
1208 | /* The python void return value */ | |
1209 | ||
1210 | SWIGRUNTIMEINLINE PyObject * | |
1211 | SWIG_Py_Void(void) | |
1212 | { | |
1213 | PyObject *none = Py_None; | |
1214 | Py_INCREF(none); | |
1215 | return none; | |
1216 | } | |
1217 | ||
1218 | /* PySwigClientData */ | |
1219 | ||
1220 | typedef struct { | |
1221 | PyObject *klass; | |
1222 | PyObject *newraw; | |
1223 | PyObject *newargs; | |
1224 | PyObject *destroy; | |
1225 | int delargs; | |
1226 | int implicitconv; | |
1227 | } PySwigClientData; | |
1228 | ||
1229 | SWIGRUNTIMEINLINE int | |
1230 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1231 | { | |
1232 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1233 | return data ? data->implicitconv : 0; | |
1234 | } | |
1235 | ||
1236 | SWIGRUNTIMEINLINE PyObject * | |
1237 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1238 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1239 | PyObject *klass = data ? data->klass : 0; | |
1240 | return (klass ? klass : PyExc_RuntimeError); | |
1241 | } | |
1242 | ||
1243 | ||
1244 | SWIGRUNTIME PySwigClientData * | |
1245 | PySwigClientData_New(PyObject* obj) | |
1246 | { | |
1247 | if (!obj) { | |
1248 | return 0; | |
1249 | } else { | |
1250 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1251 | /* the klass element */ | |
1252 | data->klass = obj; | |
1253 | Py_INCREF(data->klass); | |
1254 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1255 | if (PyClass_Check(obj)) { | |
1256 | data->newraw = 0; | |
1257 | data->newargs = obj; | |
1258 | Py_INCREF(obj); | |
1259 | } else { | |
1260 | #if (PY_VERSION_HEX < 0x02020000) | |
1261 | data->newraw = 0; | |
1262 | #else | |
1263 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1264 | #endif | |
1265 | if (data->newraw) { | |
1266 | Py_INCREF(data->newraw); | |
1267 | data->newargs = PyTuple_New(1); | |
1268 | PyTuple_SetItem(data->newargs, 0, obj); | |
1269 | } else { | |
1270 | data->newargs = obj; | |
1271 | } | |
1272 | Py_INCREF(data->newargs); | |
1273 | } | |
1274 | /* the destroy method, aka as the C++ delete method */ | |
1275 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1276 | if (PyErr_Occurred()) { | |
1277 | PyErr_Clear(); | |
1278 | data->destroy = 0; | |
1279 | } | |
1280 | if (data->destroy) { | |
1281 | int flags; | |
1282 | Py_INCREF(data->destroy); | |
1283 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1284 | #ifdef METH_O | |
1285 | data->delargs = !(flags & (METH_O)); | |
1286 | #else | |
1287 | data->delargs = 0; | |
1288 | #endif | |
1289 | } else { | |
1290 | data->delargs = 0; | |
1291 | } | |
1292 | data->implicitconv = 0; | |
1293 | return data; | |
1294 | } | |
1295 | } | |
1296 | ||
1297 | SWIGRUNTIME void | |
1298 | PySwigClientData_Del(PySwigClientData* data) | |
1299 | { | |
1300 | Py_XDECREF(data->newraw); | |
1301 | Py_XDECREF(data->newargs); | |
1302 | Py_XDECREF(data->destroy); | |
1303 | } | |
1304 | ||
1305 | /* =============== PySwigObject =====================*/ | |
1306 | ||
1307 | typedef struct { | |
1308 | PyObject_HEAD | |
1309 | void *ptr; | |
1310 | swig_type_info *ty; | |
1311 | int own; | |
1312 | PyObject *next; | |
1313 | } PySwigObject; | |
1314 | ||
1315 | SWIGRUNTIME PyObject * | |
1316 | PySwigObject_long(PySwigObject *v) | |
1317 | { | |
1318 | return PyLong_FromVoidPtr(v->ptr); | |
1319 | } | |
1320 | ||
1321 | SWIGRUNTIME PyObject * | |
1322 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1323 | { | |
1324 | PyObject *res = NULL; | |
1325 | PyObject *args = PyTuple_New(1); | |
1326 | if (args) { | |
1327 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1328 | PyObject *ofmt = PyString_FromString(fmt); | |
1329 | if (ofmt) { | |
1330 | res = PyString_Format(ofmt,args); | |
1331 | Py_DECREF(ofmt); | |
1332 | } | |
1333 | Py_DECREF(args); | |
1334 | } | |
1335 | } | |
1336 | return res; | |
1337 | } | |
1338 | ||
1339 | SWIGRUNTIME PyObject * | |
1340 | PySwigObject_oct(PySwigObject *v) | |
1341 | { | |
1342 | return PySwigObject_format("%o",v); | |
1343 | } | |
1344 | ||
1345 | SWIGRUNTIME PyObject * | |
1346 | PySwigObject_hex(PySwigObject *v) | |
1347 | { | |
1348 | return PySwigObject_format("%x",v); | |
1349 | } | |
1350 | ||
1351 | SWIGRUNTIME PyObject * | |
1352 | #ifdef METH_NOARGS | |
1353 | PySwigObject_repr(PySwigObject *v) | |
1354 | #else | |
1355 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1356 | #endif | |
1357 | { | |
1358 | const char *name = SWIG_TypePrettyName(v->ty); | |
1359 | PyObject *hex = PySwigObject_hex(v); | |
1360 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1361 | Py_DECREF(hex); | |
1362 | if (v->next) { | |
1363 | #ifdef METH_NOARGS | |
1364 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1365 | #else | |
1366 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1367 | #endif | |
1368 | PyString_ConcatAndDel(&repr,nrep); | |
1369 | } | |
1370 | return repr; | |
1371 | } | |
1372 | ||
1373 | SWIGRUNTIME int | |
1374 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1375 | { | |
1376 | #ifdef METH_NOARGS | |
1377 | PyObject *repr = PySwigObject_repr(v); | |
1378 | #else | |
1379 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1380 | #endif | |
1381 | if (repr) { | |
1382 | fputs(PyString_AsString(repr), fp); | |
1383 | Py_DECREF(repr); | |
1384 | return 0; | |
1385 | } else { | |
1386 | return 1; | |
1387 | } | |
1388 | } | |
1389 | ||
1390 | SWIGRUNTIME PyObject * | |
1391 | PySwigObject_str(PySwigObject *v) | |
1392 | { | |
1393 | char result[SWIG_BUFFER_SIZE]; | |
1394 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1395 | PyString_FromString(result) : 0; | |
1396 | } | |
1397 | ||
1398 | SWIGRUNTIME int | |
1399 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1400 | { | |
1401 | void *i = v->ptr; | |
1402 | void *j = w->ptr; | |
1403 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1404 | } | |
1405 | ||
1406 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1407 | ||
1408 | SWIGRUNTIME PyTypeObject* | |
1409 | PySwigObject_type(void) { | |
1410 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1411 | return type; | |
1412 | } | |
1413 | ||
1414 | SWIGRUNTIMEINLINE int | |
1415 | PySwigObject_Check(PyObject *op) { | |
1416 | return ((op)->ob_type == PySwigObject_type()) | |
1417 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1418 | } | |
1419 | ||
1420 | SWIGRUNTIME PyObject * | |
1421 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1422 | ||
1423 | SWIGRUNTIME void | |
1424 | PySwigObject_dealloc(PyObject *v) | |
1425 | { | |
1426 | PySwigObject *sobj = (PySwigObject *) v; | |
1427 | PyObject *next = sobj->next; | |
1428 | if (sobj->own) { | |
1429 | swig_type_info *ty = sobj->ty; | |
1430 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1431 | PyObject *destroy = data ? data->destroy : 0; | |
1432 | if (destroy) { | |
1433 | /* destroy is always a VARARGS method */ | |
1434 | PyObject *res; | |
1435 | if (data->delargs) { | |
1436 | /* we need to create a temporal object to carry the destroy operation */ | |
1437 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1438 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1439 | Py_DECREF(tmp); | |
1440 | } else { | |
1441 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1442 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1443 | res = ((*meth)(mself, v)); | |
1444 | } | |
1445 | Py_XDECREF(res); | |
1446 | } else { | |
1447 | const char *name = SWIG_TypePrettyName(ty); | |
1448 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1449 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1450 | #endif | |
1451 | } | |
1452 | } | |
1453 | Py_XDECREF(next); | |
1454 | PyObject_DEL(v); | |
1455 | } | |
1456 | ||
1457 | SWIGRUNTIME PyObject* | |
1458 | PySwigObject_append(PyObject* v, PyObject* next) | |
1459 | { | |
1460 | PySwigObject *sobj = (PySwigObject *) v; | |
1461 | #ifndef METH_O | |
1462 | PyObject *tmp = 0; | |
1463 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1464 | next = tmp; | |
1465 | #endif | |
1466 | if (!PySwigObject_Check(next)) { | |
1467 | return NULL; | |
1468 | } | |
1469 | sobj->next = next; | |
1470 | Py_INCREF(next); | |
1471 | return SWIG_Py_Void(); | |
1472 | } | |
1473 | ||
1474 | SWIGRUNTIME PyObject* | |
1475 | #ifdef METH_NOARGS | |
1476 | PySwigObject_next(PyObject* v) | |
1477 | #else | |
1478 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1479 | #endif | |
1480 | { | |
1481 | PySwigObject *sobj = (PySwigObject *) v; | |
1482 | if (sobj->next) { | |
1483 | Py_INCREF(sobj->next); | |
1484 | return sobj->next; | |
1485 | } else { | |
1486 | return SWIG_Py_Void(); | |
1487 | } | |
1488 | } | |
1489 | ||
1490 | SWIGINTERN PyObject* | |
1491 | #ifdef METH_NOARGS | |
1492 | PySwigObject_disown(PyObject *v) | |
1493 | #else | |
1494 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1495 | #endif | |
1496 | { | |
1497 | PySwigObject *sobj = (PySwigObject *)v; | |
1498 | sobj->own = 0; | |
1499 | return SWIG_Py_Void(); | |
1500 | } | |
1501 | ||
1502 | SWIGINTERN PyObject* | |
1503 | #ifdef METH_NOARGS | |
1504 | PySwigObject_acquire(PyObject *v) | |
1505 | #else | |
1506 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1507 | #endif | |
1508 | { | |
1509 | PySwigObject *sobj = (PySwigObject *)v; | |
1510 | sobj->own = SWIG_POINTER_OWN; | |
1511 | return SWIG_Py_Void(); | |
1512 | } | |
1513 | ||
1514 | SWIGINTERN PyObject* | |
1515 | PySwigObject_own(PyObject *v, PyObject *args) | |
1516 | { | |
1517 | PyObject *val = 0; | |
1518 | #if (PY_VERSION_HEX < 0x02020000) | |
1519 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1520 | #else | |
1521 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1522 | #endif | |
1523 | { | |
1524 | return NULL; | |
1525 | } | |
1526 | else | |
1527 | { | |
1528 | PySwigObject *sobj = (PySwigObject *)v; | |
1529 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1530 | if (val) { | |
1531 | #ifdef METH_NOARGS | |
1532 | if (PyObject_IsTrue(val)) { | |
1533 | PySwigObject_acquire(v); | |
1534 | } else { | |
1535 | PySwigObject_disown(v); | |
1536 | } | |
1537 | #else | |
1538 | if (PyObject_IsTrue(val)) { | |
1539 | PySwigObject_acquire(v,args); | |
1540 | } else { | |
1541 | PySwigObject_disown(v,args); | |
1542 | } | |
1543 | #endif | |
1544 | } | |
1545 | return obj; | |
1546 | } | |
1547 | } | |
1548 | ||
1549 | #ifdef METH_O | |
1550 | static PyMethodDef | |
1551 | swigobject_methods[] = { | |
1552 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1553 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1554 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1555 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1556 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1557 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1558 | {0, 0, 0, 0} | |
1559 | }; | |
1560 | #else | |
1561 | static PyMethodDef | |
1562 | swigobject_methods[] = { | |
1563 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1564 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1565 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1566 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1567 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1568 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1569 | {0, 0, 0, 0} | |
1570 | }; | |
1571 | #endif | |
1572 | ||
1573 | #if PY_VERSION_HEX < 0x02020000 | |
1574 | SWIGINTERN PyObject * | |
1575 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1576 | { | |
1577 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1578 | } | |
1579 | #endif | |
1580 | ||
1581 | SWIGRUNTIME PyTypeObject* | |
1582 | _PySwigObject_type(void) { | |
1583 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1584 | ||
1585 | static PyNumberMethods PySwigObject_as_number = { | |
1586 | (binaryfunc)0, /*nb_add*/ | |
1587 | (binaryfunc)0, /*nb_subtract*/ | |
1588 | (binaryfunc)0, /*nb_multiply*/ | |
1589 | (binaryfunc)0, /*nb_divide*/ | |
1590 | (binaryfunc)0, /*nb_remainder*/ | |
1591 | (binaryfunc)0, /*nb_divmod*/ | |
1592 | (ternaryfunc)0,/*nb_power*/ | |
1593 | (unaryfunc)0, /*nb_negative*/ | |
1594 | (unaryfunc)0, /*nb_positive*/ | |
1595 | (unaryfunc)0, /*nb_absolute*/ | |
1596 | (inquiry)0, /*nb_nonzero*/ | |
1597 | 0, /*nb_invert*/ | |
1598 | 0, /*nb_lshift*/ | |
1599 | 0, /*nb_rshift*/ | |
1600 | 0, /*nb_and*/ | |
1601 | 0, /*nb_xor*/ | |
1602 | 0, /*nb_or*/ | |
1603 | (coercion)0, /*nb_coerce*/ | |
1604 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1605 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1606 | (unaryfunc)0, /*nb_float*/ | |
1607 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1608 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
1609 | #if PY_VERSION_HEX >= 0x02020000 | |
1610 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
1611 | #elif PY_VERSION_HEX >= 0x02000000 | |
1612 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
1613 | #endif | |
1614 | }; | |
1615 | ||
1616 | static PyTypeObject pyswigobject_type; | |
1617 | static int type_init = 0; | |
1618 | if (!type_init) { | |
1619 | const PyTypeObject tmp | |
1620 | = { | |
1621 | PyObject_HEAD_INIT(NULL) | |
1622 | 0, /* ob_size */ | |
1623 | (char *)"PySwigObject", /* tp_name */ | |
1624 | sizeof(PySwigObject), /* tp_basicsize */ | |
1625 | 0, /* tp_itemsize */ | |
1626 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1627 | (printfunc)PySwigObject_print, /* tp_print */ | |
1628 | #if PY_VERSION_HEX < 0x02020000 | |
1629 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1630 | #else | |
1631 | (getattrfunc)0, /* tp_getattr */ | |
1632 | #endif | |
1633 | (setattrfunc)0, /* tp_setattr */ | |
1634 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1635 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1636 | &PySwigObject_as_number, /* tp_as_number */ | |
1637 | 0, /* tp_as_sequence */ | |
1638 | 0, /* tp_as_mapping */ | |
1639 | (hashfunc)0, /* tp_hash */ | |
1640 | (ternaryfunc)0, /* tp_call */ | |
1641 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1642 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1643 | 0, /* tp_setattro */ | |
1644 | 0, /* tp_as_buffer */ | |
1645 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1646 | swigobject_doc, /* tp_doc */ | |
1647 | 0, /* tp_traverse */ | |
1648 | 0, /* tp_clear */ | |
1649 | 0, /* tp_richcompare */ | |
1650 | 0, /* tp_weaklistoffset */ | |
1651 | #if PY_VERSION_HEX >= 0x02020000 | |
1652 | 0, /* tp_iter */ | |
1653 | 0, /* tp_iternext */ | |
1654 | swigobject_methods, /* tp_methods */ | |
1655 | 0, /* tp_members */ | |
1656 | 0, /* tp_getset */ | |
1657 | 0, /* tp_base */ | |
1658 | 0, /* tp_dict */ | |
1659 | 0, /* tp_descr_get */ | |
1660 | 0, /* tp_descr_set */ | |
1661 | 0, /* tp_dictoffset */ | |
1662 | 0, /* tp_init */ | |
1663 | 0, /* tp_alloc */ | |
1664 | 0, /* tp_new */ | |
1665 | 0, /* tp_free */ | |
1666 | 0, /* tp_is_gc */ | |
1667 | 0, /* tp_bases */ | |
1668 | 0, /* tp_mro */ | |
1669 | 0, /* tp_cache */ | |
1670 | 0, /* tp_subclasses */ | |
1671 | 0, /* tp_weaklist */ | |
1672 | #endif | |
1673 | #if PY_VERSION_HEX >= 0x02030000 | |
1674 | 0, /* tp_del */ | |
1675 | #endif | |
1676 | #ifdef COUNT_ALLOCS | |
1677 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1678 | #endif | |
1679 | }; | |
1680 | pyswigobject_type = tmp; | |
1681 | pyswigobject_type.ob_type = &PyType_Type; | |
1682 | type_init = 1; | |
1683 | } | |
1684 | return &pyswigobject_type; | |
1685 | } | |
1686 | ||
1687 | SWIGRUNTIME PyObject * | |
1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) | |
1689 | { | |
1690 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); | |
1691 | if (sobj) { | |
1692 | sobj->ptr = ptr; | |
1693 | sobj->ty = ty; | |
1694 | sobj->own = own; | |
1695 | sobj->next = 0; | |
1696 | } | |
1697 | return (PyObject *)sobj; | |
1698 | } | |
1699 | ||
1700 | /* ----------------------------------------------------------------------------- | |
1701 | * Implements a simple Swig Packed type, and use it instead of string | |
1702 | * ----------------------------------------------------------------------------- */ | |
1703 | ||
1704 | typedef struct { | |
1705 | PyObject_HEAD | |
1706 | void *pack; | |
1707 | swig_type_info *ty; | |
1708 | size_t size; | |
1709 | } PySwigPacked; | |
1710 | ||
1711 | SWIGRUNTIME int | |
1712 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1713 | { | |
1714 | char result[SWIG_BUFFER_SIZE]; | |
1715 | fputs("<Swig Packed ", fp); | |
1716 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1717 | fputs("at ", fp); | |
1718 | fputs(result, fp); | |
1719 | } | |
1720 | fputs(v->ty->name,fp); | |
1721 | fputs(">", fp); | |
1722 | return 0; | |
1723 | } | |
1724 | ||
1725 | SWIGRUNTIME PyObject * | |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); | |
1731 | } else { | |
1732 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); | |
1733 | } | |
1734 | } | |
1735 | ||
1736 | SWIGRUNTIME PyObject * | |
1737 | PySwigPacked_str(PySwigPacked *v) | |
1738 | { | |
1739 | char result[SWIG_BUFFER_SIZE]; | |
1740 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
1741 | return PyString_FromFormat("%s%s", result, v->ty->name); | |
1742 | } else { | |
1743 | return PyString_FromString(v->ty->name); | |
1744 | } | |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
1750 | size_t i = v->size; | |
1751 | size_t j = w->size; | |
1752 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1753 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
1754 | } | |
1755 | ||
1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); | |
1757 | ||
1758 | SWIGRUNTIME PyTypeObject* | |
1759 | PySwigPacked_type(void) { | |
1760 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); | |
1761 | return type; | |
1762 | } | |
1763 | ||
1764 | SWIGRUNTIMEINLINE int | |
1765 | PySwigPacked_Check(PyObject *op) { | |
1766 | return ((op)->ob_type == _PySwigPacked_type()) | |
1767 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1768 | } | |
1769 | ||
1770 | SWIGRUNTIME void | |
1771 | PySwigPacked_dealloc(PyObject *v) | |
1772 | { | |
1773 | if (PySwigPacked_Check(v)) { | |
1774 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1775 | free(sobj->pack); | |
1776 | } | |
1777 | PyObject_DEL(v); | |
1778 | } | |
1779 | ||
1780 | SWIGRUNTIME PyTypeObject* | |
1781 | _PySwigPacked_type(void) { | |
1782 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1783 | static PyTypeObject pyswigpacked_type; | |
1784 | static int type_init = 0; | |
1785 | if (!type_init) { | |
1786 | const PyTypeObject tmp | |
1787 | = { | |
1788 | PyObject_HEAD_INIT(NULL) | |
1789 | 0, /* ob_size */ | |
1790 | (char *)"PySwigPacked", /* tp_name */ | |
1791 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1792 | 0, /* tp_itemsize */ | |
1793 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1794 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1795 | (getattrfunc)0, /* tp_getattr */ | |
1796 | (setattrfunc)0, /* tp_setattr */ | |
1797 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1798 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1799 | 0, /* tp_as_number */ | |
1800 | 0, /* tp_as_sequence */ | |
1801 | 0, /* tp_as_mapping */ | |
1802 | (hashfunc)0, /* tp_hash */ | |
1803 | (ternaryfunc)0, /* tp_call */ | |
1804 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1805 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1806 | 0, /* tp_setattro */ | |
1807 | 0, /* tp_as_buffer */ | |
1808 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1809 | swigpacked_doc, /* tp_doc */ | |
1810 | 0, /* tp_traverse */ | |
1811 | 0, /* tp_clear */ | |
1812 | 0, /* tp_richcompare */ | |
1813 | 0, /* tp_weaklistoffset */ | |
1814 | #if PY_VERSION_HEX >= 0x02020000 | |
1815 | 0, /* tp_iter */ | |
1816 | 0, /* tp_iternext */ | |
1817 | 0, /* tp_methods */ | |
1818 | 0, /* tp_members */ | |
1819 | 0, /* tp_getset */ | |
1820 | 0, /* tp_base */ | |
1821 | 0, /* tp_dict */ | |
1822 | 0, /* tp_descr_get */ | |
1823 | 0, /* tp_descr_set */ | |
1824 | 0, /* tp_dictoffset */ | |
1825 | 0, /* tp_init */ | |
1826 | 0, /* tp_alloc */ | |
1827 | 0, /* tp_new */ | |
1828 | 0, /* tp_free */ | |
1829 | 0, /* tp_is_gc */ | |
1830 | 0, /* tp_bases */ | |
1831 | 0, /* tp_mro */ | |
1832 | 0, /* tp_cache */ | |
1833 | 0, /* tp_subclasses */ | |
1834 | 0, /* tp_weaklist */ | |
1835 | #endif | |
1836 | #if PY_VERSION_HEX >= 0x02030000 | |
1837 | 0, /* tp_del */ | |
1838 | #endif | |
1839 | #ifdef COUNT_ALLOCS | |
1840 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1841 | #endif | |
1842 | }; | |
1843 | pyswigpacked_type = tmp; | |
1844 | pyswigpacked_type.ob_type = &PyType_Type; | |
1845 | type_init = 1; | |
1846 | } | |
1847 | return &pyswigpacked_type; | |
1848 | } | |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) | |
1852 | { | |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); | |
1854 | if (sobj) { | |
1855 | void *pack = malloc(size); | |
1856 | if (pack) { | |
1857 | memcpy(pack, ptr, size); | |
1858 | sobj->pack = pack; | |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
1864 | } | |
1865 | } | |
1866 | return (PyObject *) sobj; | |
1867 | } | |
1868 | ||
1869 | SWIGRUNTIME swig_type_info * | |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
1871 | { | |
1872 | if (PySwigPacked_Check(obj)) { | |
1873 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1874 | if (sobj->size != size) return 0; | |
1875 | memcpy(ptr, sobj->pack, size); | |
1876 | return sobj->ty; | |
1877 | } else { | |
1878 | return 0; | |
1879 | } | |
1880 | } | |
1881 | ||
1882 | /* ----------------------------------------------------------------------------- | |
1883 | * pointers/data manipulation | |
1884 | * ----------------------------------------------------------------------------- */ | |
1885 | ||
1886 | SWIGRUNTIMEINLINE PyObject * | |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
1891 | ||
1892 | SWIGRUNTIME PyObject * | |
1893 | SWIG_This(void) | |
1894 | { | |
1895 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1896 | return swig_this; | |
1897 | } | |
1898 | ||
1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ | |
1900 | ||
1901 | SWIGRUNTIME PySwigObject * | |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
1903 | { | |
1904 | if (PySwigObject_Check(pyobj)) { | |
1905 | return (PySwigObject *) pyobj; | |
1906 | } else { | |
1907 | PyObject *obj = 0; | |
1908 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1909 | if (PyInstance_Check(pyobj)) { | |
1910 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1911 | } else { | |
1912 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1913 | if (dictptr != NULL) { | |
1914 | PyObject *dict = *dictptr; | |
1915 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1916 | } else { | |
1917 | #ifdef PyWeakref_CheckProxy | |
1918 | if (PyWeakref_CheckProxy(pyobj)) { | |
1919 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1920 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1921 | } | |
1922 | #endif | |
1923 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1924 | if (obj) { | |
1925 | Py_DECREF(obj); | |
1926 | } else { | |
1927 | if (PyErr_Occurred()) PyErr_Clear(); | |
1928 | return 0; | |
1929 | } | |
1930 | } | |
1931 | } | |
1932 | #else | |
1933 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1934 | if (obj) { | |
1935 | Py_DECREF(obj); | |
1936 | } else { | |
1937 | if (PyErr_Occurred()) PyErr_Clear(); | |
1938 | return 0; | |
1939 | } | |
1940 | #endif | |
1941 | if (obj && !PySwigObject_Check(obj)) { | |
1942 | /* a PyObject is called 'this', try to get the 'real this' | |
1943 | PySwigObject from it */ | |
1944 | return SWIG_Python_GetSwigThis(obj); | |
1945 | } | |
1946 | return (PySwigObject *)obj; | |
1947 | } | |
1948 | } | |
1949 | ||
1950 | /* Acquire a pointer value */ | |
1951 | ||
1952 | SWIGRUNTIME int | |
1953 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1954 | if (own) { | |
1955 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1956 | if (sobj) { | |
1957 | int oldown = sobj->own; | |
1958 | sobj->own = own; | |
1959 | return oldown; | |
1960 | } | |
1961 | } | |
1962 | return 0; | |
1963 | } | |
1964 | ||
1965 | /* Convert a pointer value */ | |
1966 | ||
1967 | SWIGRUNTIME int | |
1968 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { | |
1969 | if (!obj) return SWIG_ERROR; | |
1970 | if (obj == Py_None) { | |
1971 | if (ptr) *ptr = 0; | |
1972 | return SWIG_OK; | |
1973 | } else { | |
1974 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1975 | while (sobj) { | |
1976 | void *vptr = sobj->ptr; | |
1977 | if (ty) { | |
1978 | swig_type_info *to = sobj->ty; | |
1979 | if (to == ty) { | |
1980 | /* no type cast needed */ | |
1981 | if (ptr) *ptr = vptr; | |
1982 | break; | |
1983 | } else { | |
1984 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1985 | if (!tc) { | |
1986 | sobj = (PySwigObject *)sobj->next; | |
1987 | } else { | |
1988 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1989 | break; | |
1990 | } | |
1991 | } | |
1992 | } else { | |
1993 | if (ptr) *ptr = vptr; | |
1994 | break; | |
1995 | } | |
1996 | } | |
1997 | if (sobj) { | |
1998 | if (own) *own = sobj->own; | |
1999 | if (flags & SWIG_POINTER_DISOWN) { | |
2000 | sobj->own = 0; | |
2001 | } | |
2002 | return SWIG_OK; | |
2003 | } else { | |
2004 | int res = SWIG_ERROR; | |
2005 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2006 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2007 | if (data && !data->implicitconv) { | |
2008 | PyObject *klass = data->klass; | |
2009 | if (klass) { | |
2010 | PyObject *impconv; | |
2011 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2012 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2013 | data->implicitconv = 0; | |
2014 | if (PyErr_Occurred()) { | |
2015 | PyErr_Clear(); | |
2016 | impconv = 0; | |
2017 | } | |
2018 | if (impconv) { | |
2019 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2020 | if (iobj) { | |
2021 | void *vptr; | |
2022 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2023 | if (SWIG_IsOK(res)) { | |
2024 | if (ptr) { | |
2025 | *ptr = vptr; | |
2026 | /* transfer the ownership to 'ptr' */ | |
2027 | iobj->own = 0; | |
2028 | res = SWIG_AddCast(res); | |
2029 | res = SWIG_AddNewMask(res); | |
2030 | } else { | |
2031 | res = SWIG_AddCast(res); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | Py_DECREF(impconv); | |
2036 | } | |
2037 | } | |
2038 | } | |
2039 | } | |
2040 | return res; | |
2041 | } | |
2042 | } | |
2043 | } | |
2044 | ||
2045 | /* Convert a function ptr value */ | |
2046 | ||
2047 | SWIGRUNTIME int | |
2048 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { | |
2049 | if (!PyCFunction_Check(obj)) { | |
2050 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
2051 | } else { | |
2052 | void *vptr = 0; | |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
2056 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; | |
2057 | if (desc) { | |
2058 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2059 | if (!desc) return SWIG_ERROR; | |
2060 | } | |
2061 | if (ty) { | |
2062 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2063 | if (!tc) return SWIG_ERROR; | |
2064 | *ptr = SWIG_TypeCast(tc,vptr); | |
2065 | } else { | |
2066 | *ptr = vptr; | |
2067 | } | |
2068 | return SWIG_OK; | |
2069 | } | |
2070 | } | |
2071 | ||
2072 | /* Convert a packed value value */ | |
2073 | ||
2074 | SWIGRUNTIME int | |
2075 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { | |
2076 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2077 | if (!to) return SWIG_ERROR; | |
2078 | if (ty) { | |
2079 | if (to != ty) { | |
2080 | /* check type cast? */ | |
2081 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2082 | if (!tc) return SWIG_ERROR; | |
2083 | } | |
2084 | } | |
2085 | return SWIG_OK; | |
2086 | } | |
2087 | ||
2088 | /* ----------------------------------------------------------------------------- | |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
2091 | ||
2092 | /* | |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
2096 | ||
2097 | SWIGRUNTIME PyObject* | |
2098 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2099 | { | |
2100 | #if (PY_VERSION_HEX >= 0x02020000) | |
2101 | PyObject *inst = 0; | |
2102 | PyObject *newraw = data->newraw; | |
2103 | if (newraw) { | |
2104 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2105 | if (inst) { | |
2106 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2107 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2108 | if (dictptr != NULL) { | |
2109 | PyObject *dict = *dictptr; | |
2110 | if (dict == NULL) { | |
2111 | dict = PyDict_New(); | |
2112 | *dictptr = dict; | |
2113 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2114 | } | |
2115 | } | |
2116 | #else | |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
2120 | } | |
2121 | } else { | |
2122 | PyObject *dict = PyDict_New(); | |
2123 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2124 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2125 | Py_DECREF(dict); | |
2126 | } | |
2127 | return inst; | |
2128 | #else | |
2129 | #if (PY_VERSION_HEX >= 0x02010000) | |
2130 | PyObject *inst; | |
2131 | PyObject *dict = PyDict_New(); | |
2132 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2133 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2134 | Py_DECREF(dict); | |
2135 | return (PyObject *) inst; | |
2136 | #else | |
2137 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2138 | if (inst == NULL) { | |
2139 | return NULL; | |
2140 | } | |
2141 | inst->in_class = (PyClassObject *)data->newargs; | |
2142 | Py_INCREF(inst->in_class); | |
2143 | inst->in_dict = PyDict_New(); | |
2144 | if (inst->in_dict == NULL) { | |
2145 | Py_DECREF(inst); | |
2146 | return NULL; | |
2147 | } | |
2148 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS | |
2149 | inst->in_weakreflist = NULL; | |
2150 | #endif | |
2151 | #ifdef Py_TPFLAGS_GC | |
2152 | PyObject_GC_Init(inst); | |
2153 | #endif | |
2154 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2155 | return (PyObject *) inst; | |
2156 | #endif | |
2157 | #endif | |
2158 | } | |
2159 | ||
2160 | SWIGRUNTIME void | |
2161 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2162 | { | |
2163 | PyObject *dict; | |
2164 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2165 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2166 | if (dictptr != NULL) { | |
2167 | dict = *dictptr; | |
2168 | if (dict == NULL) { | |
2169 | dict = PyDict_New(); | |
2170 | *dictptr = dict; | |
2171 | } | |
2172 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2173 | return; | |
2174 | } | |
2175 | #endif | |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); | |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
2180 | ||
2181 | ||
2182 | SWIGINTERN PyObject * | |
2183 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2184 | PyObject *obj[2]; | |
2185 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2186 | return NULL; | |
2187 | } else { | |
2188 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2189 | if (sthis) { | |
2190 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
2191 | } else { | |
2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); | |
2193 | } | |
2194 | return SWIG_Py_Void(); | |
2195 | } | |
2196 | } | |
2197 | ||
2198 | /* Create a new pointer object */ | |
2199 | ||
2200 | SWIGRUNTIME PyObject * | |
2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { | |
2202 | if (!ptr) { | |
2203 | return SWIG_Py_Void(); | |
2204 | } else { | |
2205 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2206 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2207 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2208 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2209 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2210 | if (inst) { | |
2211 | Py_DECREF(robj); | |
2212 | robj = inst; | |
2213 | } | |
2214 | } | |
2215 | return robj; | |
2216 | } | |
2217 | } | |
2218 | ||
2219 | /* Create a new packed object */ | |
2220 | ||
2221 | SWIGRUNTIMEINLINE PyObject * | |
2222 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
2223 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); | |
2224 | } | |
2225 | ||
2226 | /* -----------------------------------------------------------------------------* | |
2227 | * Get type list | |
2228 | * -----------------------------------------------------------------------------*/ | |
2229 | ||
2230 | #ifdef SWIG_LINK_RUNTIME | |
2231 | void *SWIG_ReturnGlobalTypeList(void *); | |
2232 | #endif | |
2233 | ||
2234 | SWIGRUNTIME swig_module_info * | |
2235 | SWIG_Python_GetModule(void) { | |
2236 | static void *type_pointer = (void *)0; | |
2237 | /* first check if module already created */ | |
2238 | if (!type_pointer) { | |
2239 | #ifdef SWIG_LINK_RUNTIME | |
2240 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2241 | #else | |
2242 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2243 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2244 | if (PyErr_Occurred()) { | |
2245 | PyErr_Clear(); | |
2246 | type_pointer = (void *)0; | |
2247 | } | |
2248 | #endif | |
2249 | } | |
2250 | return (swig_module_info *) type_pointer; | |
2251 | } | |
2252 | ||
2253 | #if PY_MAJOR_VERSION < 2 | |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
2256 | SWIGINTERN int | |
2257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2258 | { | |
2259 | PyObject *dict; | |
2260 | if (!PyModule_Check(m)) { | |
2261 | PyErr_SetString(PyExc_TypeError, | |
2262 | "PyModule_AddObject() needs module as first arg"); | |
2263 | return SWIG_ERROR; | |
2264 | } | |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
2268 | return SWIG_ERROR; | |
2269 | } | |
2270 | ||
2271 | dict = PyModule_GetDict(m); | |
2272 | if (dict == NULL) { | |
2273 | /* Internal error -- modules must have a dict! */ | |
2274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2275 | PyModule_GetName(m)); | |
2276 | return SWIG_ERROR; | |
2277 | } | |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
2279 | return SWIG_ERROR; | |
2280 | Py_DECREF(o); | |
2281 | return SWIG_OK; | |
2282 | } | |
2283 | #endif | |
2284 | ||
2285 | SWIGRUNTIME void | |
2286 | SWIG_Python_DestroyModule(void *vptr) | |
2287 | { | |
2288 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2289 | swig_type_info **types = swig_module->types; | |
2290 | size_t i; | |
2291 | for (i =0; i < swig_module->size; ++i) { | |
2292 | swig_type_info *ty = types[i]; | |
2293 | if (ty->owndata) { | |
2294 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2295 | if (data) PySwigClientData_Del(data); | |
2296 | } | |
2297 | } | |
2298 | Py_DECREF(SWIG_This()); | |
2299 | } | |
2300 | ||
2301 | SWIGRUNTIME void | |
2302 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2303 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2304 | ||
2305 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2306 | swig_empty_runtime_method_table); | |
2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); | |
2308 | if (pointer && module) { | |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
2310 | } else { | |
2311 | Py_XDECREF(pointer); | |
2312 | } | |
2313 | } | |
2314 | ||
2315 | /* The python cached type query */ | |
2316 | SWIGRUNTIME PyObject * | |
2317 | SWIG_Python_TypeCache() { | |
2318 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2319 | return cache; | |
2320 | } | |
2321 | ||
2322 | SWIGRUNTIME swig_type_info * | |
2323 | SWIG_Python_TypeQuery(const char *type) | |
2324 | { | |
2325 | PyObject *cache = SWIG_Python_TypeCache(); | |
2326 | PyObject *key = PyString_FromString(type); | |
2327 | PyObject *obj = PyDict_GetItem(cache, key); | |
2328 | swig_type_info *descriptor; | |
2329 | if (obj) { | |
2330 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2331 | } else { | |
2332 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2333 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2334 | if (descriptor) { | |
2335 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2336 | PyDict_SetItem(cache, key, obj); | |
2337 | Py_DECREF(obj); | |
2338 | } | |
2339 | } | |
2340 | Py_DECREF(key); | |
2341 | return descriptor; | |
2342 | } | |
2343 | ||
2344 | /* | |
2345 | For backward compatibility only | |
2346 | */ | |
2347 | #define SWIG_POINTER_EXCEPTION 0 | |
2348 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2349 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2350 | ||
2351 | SWIGRUNTIME int | |
2352 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2353 | { | |
2354 | if (PyErr_Occurred()) { | |
2355 | PyObject *type = 0; | |
2356 | PyObject *value = 0; | |
2357 | PyObject *traceback = 0; | |
2358 | PyErr_Fetch(&type, &value, &traceback); | |
2359 | if (value) { | |
2360 | PyObject *old_str = PyObject_Str(value); | |
2361 | Py_XINCREF(type); | |
2362 | PyErr_Clear(); | |
2363 | if (infront) { | |
2364 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2365 | } else { | |
2366 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2367 | } | |
2368 | Py_DECREF(old_str); | |
2369 | } | |
2370 | return 1; | |
2371 | } else { | |
2372 | return 0; | |
2373 | } | |
2374 | } | |
2375 | ||
2376 | SWIGRUNTIME int | |
2377 | SWIG_Python_ArgFail(int argnum) | |
2378 | { | |
2379 | if (PyErr_Occurred()) { | |
2380 | /* add information about failing argument */ | |
2381 | char mesg[256]; | |
2382 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2383 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2384 | } else { | |
2385 | return 0; | |
2386 | } | |
2387 | } | |
2388 | ||
2389 | SWIGRUNTIMEINLINE const char * | |
2390 | PySwigObject_GetDesc(PyObject *self) | |
2391 | { | |
2392 | PySwigObject *v = (PySwigObject *)self; | |
2393 | swig_type_info *ty = v ? v->ty : 0; | |
2394 | return ty ? ty->str : (char*)""; | |
2395 | } | |
2396 | ||
2397 | SWIGRUNTIME void | |
2398 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2399 | { | |
2400 | if (type) { | |
2401 | #if defined(SWIG_COBJECT_TYPES) | |
2402 | if (obj && PySwigObject_Check(obj)) { | |
2403 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2404 | if (otype) { | |
2405 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2406 | type, otype); | |
2407 | return; | |
2408 | } | |
2409 | } else | |
2410 | #endif | |
2411 | { | |
2412 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2413 | if (otype) { | |
2414 | PyObject *str = PyObject_Str(obj); | |
2415 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2416 | if (cstr) { | |
2417 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2418 | type, otype, cstr); | |
2419 | } else { | |
2420 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2421 | type, otype); | |
2422 | } | |
2423 | Py_XDECREF(str); | |
2424 | return; | |
2425 | } | |
2426 | } | |
2427 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2428 | } else { | |
2429 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2430 | } | |
2431 | } | |
2432 | ||
2433 | ||
2434 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2435 | SWIGRUNTIME void * | |
2436 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2437 | void *result; | |
2438 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2439 | PyErr_Clear(); | |
2440 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2441 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2442 | SWIG_Python_ArgFail(argnum); | |
2443 | } | |
2444 | } | |
2445 | return result; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | #ifdef __cplusplus | |
2450 | #if 0 | |
2451 | { /* cc-mode */ | |
2452 | #endif | |
2453 | } | |
2454 | #endif | |
2455 | ||
2456 | ||
2457 | ||
2458 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2459 | ||
2460 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2461 | ||
2462 | ||
2463 | ||
2464 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2465 | ||
2466 | #define SWIGTYPE_p_char swig_types[0] | |
2467 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
2468 | #define SWIGTYPE_p_int swig_types[2] | |
5eb8189c RD |
2469 | #define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[3] |
2470 | #define SWIGTYPE_p_p_wxAuiNotebook swig_types[4] | |
2471 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[5] | |
2472 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxColourDialog swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxControl swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxDialog swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxDirDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxFileDialog swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[13] | |
10044bf1 RD |
2480 | #define SWIGTYPE_p_p_wxFontDialog swig_types[14] |
2481 | #define SWIGTYPE_p_p_wxFrame swig_types[15] | |
2482 | #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16] | |
2483 | #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17] | |
2484 | #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18] | |
2485 | #define SWIGTYPE_p_p_wxMenuBar swig_types[19] | |
2486 | #define SWIGTYPE_p_p_wxMessageDialog swig_types[20] | |
2487 | #define SWIGTYPE_p_p_wxMiniFrame swig_types[21] | |
2488 | #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22] | |
2489 | #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23] | |
2490 | #define SWIGTYPE_p_p_wxPanel swig_types[24] | |
2491 | #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25] | |
2492 | #define SWIGTYPE_p_p_wxPopupWindow swig_types[26] | |
2493 | #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27] | |
2494 | #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28] | |
2495 | #define SWIGTYPE_p_p_wxPreviewFrame swig_types[29] | |
2496 | #define SWIGTYPE_p_p_wxProgressDialog swig_types[30] | |
2497 | #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31] | |
2498 | #define SWIGTYPE_p_p_wxPyPanel swig_types[32] | |
2499 | #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33] | |
2500 | #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34] | |
2501 | #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35] | |
2502 | #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36] | |
2503 | #define SWIGTYPE_p_p_wxPyVListBox swig_types[37] | |
2504 | #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38] | |
2505 | #define SWIGTYPE_p_p_wxPyWindow swig_types[39] | |
2506 | #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40] | |
2507 | #define SWIGTYPE_p_p_wxSashWindow swig_types[41] | |
2508 | #define SWIGTYPE_p_p_wxScrolledWindow swig_types[42] | |
f9bf356b RD |
2509 | #define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[43] |
2510 | #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[44] | |
2511 | #define SWIGTYPE_p_p_wxSplashScreen swig_types[45] | |
2512 | #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[46] | |
2513 | #define SWIGTYPE_p_p_wxSplitterWindow swig_types[47] | |
2514 | #define SWIGTYPE_p_p_wxStatusBar swig_types[48] | |
2515 | #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[49] | |
2516 | #define SWIGTYPE_p_p_wxTipWindow swig_types[50] | |
2517 | #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[51] | |
2518 | #define SWIGTYPE_p_p_wxWindow swig_types[52] | |
2519 | #define SWIGTYPE_p_unsigned_char swig_types[53] | |
2520 | #define SWIGTYPE_p_unsigned_int swig_types[54] | |
2521 | #define SWIGTYPE_p_unsigned_long swig_types[55] | |
2522 | #define SWIGTYPE_p_wxANIHandler swig_types[56] | |
2523 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[57] | |
2524 | #define SWIGTYPE_p_wxActivateEvent swig_types[58] | |
2525 | #define SWIGTYPE_p_wxArrayString swig_types[59] | |
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 | ||
5eb8189c RD |
2869 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2870 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2871 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2872 | |
10044bf1 RD |
2873 | SWIGINTERN int |
2874 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2875 | { | |
2876 | long v = 0; | |
2877 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2878 | return SWIG_TypeError; | |
2879 | } | |
2880 | else if (val) | |
2881 | *val = (unsigned long)v; | |
2882 | return SWIG_OK; | |
2883 | } | |
2884 | ||
2885 | ||
2886 | SWIGINTERNINLINE int | |
2887 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2888 | { | |
2889 | unsigned long v; | |
2890 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2891 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2892 | return res; | |
2893 | } | |
2894 | ||
2895 | ||
2896 | SWIGINTERNINLINE PyObject* | |
2897 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2898 | { | |
2899 | return (value > LONG_MAX) ? | |
2900 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2901 | } | |
2902 | ||
2903 | ||
2904 | SWIGINTERNINLINE PyObject * | |
2905 | SWIG_From_size_t (size_t value) | |
2906 | { | |
2907 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2908 | } | |
2909 | ||
2910 | ||
5c8c7dd3 | 2911 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2912 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2913 | { |
5eb8189c | 2914 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2915 | |
2916 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2917 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2918 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2919 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2920 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2921 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2922 | ||
2923 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2924 | wxWindow* window, |
27e45892 RD |
2925 | int orientation, |
2926 | const wxRect& rect) | |
2927 | { | |
2928 | bool found; | |
2929 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2930 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2931 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2932 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2933 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2934 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2935 | odc, owin, orientation, orect)); | |
27e45892 | 2936 | Py_DECREF(odc); |
8f514ab4 | 2937 | Py_DECREF(owin); |
27e45892 RD |
2938 | Py_DECREF(orect); |
2939 | } | |
2940 | wxPyEndBlockThreads(blocked); | |
2941 | if (! found) | |
5eb8189c | 2942 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2943 | } |
2944 | ||
2945 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2946 | wxWindow* window, |
27e45892 RD |
2947 | int orientation, |
2948 | const wxRect& rect) | |
2949 | { | |
2950 | bool found; | |
2951 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2952 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2953 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2954 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2955 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2956 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2957 | odc, owin, orientation, orect)); | |
27e45892 | 2958 | Py_DECREF(odc); |
8f514ab4 | 2959 | Py_DECREF(owin); |
27e45892 RD |
2960 | Py_DECREF(orect); |
2961 | } | |
2962 | wxPyEndBlockThreads(blocked); | |
2963 | if (! found) | |
5eb8189c | 2964 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2965 | } |
2966 | ||
2967 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2968 | wxWindow* window, |
27e45892 RD |
2969 | const wxString& text, |
2970 | const wxRect& rect, | |
5eb8189c | 2971 | wxAuiPaneInfo& pane) |
27e45892 RD |
2972 | { |
2973 | bool found; | |
2974 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2975 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2976 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2977 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2978 | PyObject* otext = wx2PyString(text); |
2979 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2980 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
2981 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2982 | odc, owin, otext, orect, opane)); | |
27e45892 | 2983 | Py_DECREF(odc); |
8f514ab4 | 2984 | Py_DECREF(owin); |
27e45892 RD |
2985 | Py_DECREF(otext); |
2986 | Py_DECREF(orect); | |
2987 | Py_DECREF(opane); | |
2988 | } | |
2989 | wxPyEndBlockThreads(blocked); | |
2990 | if (! found) | |
5eb8189c | 2991 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
2992 | } |
2993 | ||
2994 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 2995 | wxWindow* window, |
27e45892 | 2996 | const wxRect& rect, |
5eb8189c | 2997 | wxAuiPaneInfo& pane) |
27e45892 RD |
2998 | { |
2999 | bool found; | |
3000 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3001 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3002 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3003 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3004 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3005 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3006 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3007 | Py_DECREF(odc); |
3008 | Py_DECREF(orect); | |
3009 | Py_DECREF(opane); | |
3010 | } | |
3011 | wxPyEndBlockThreads(blocked); | |
3012 | if (! found) | |
5eb8189c | 3013 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3014 | } |
3015 | ||
3016 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3017 | wxWindow* window, |
27e45892 | 3018 | const wxRect& rect, |
5eb8189c | 3019 | wxAuiPaneInfo& pane) |
27e45892 RD |
3020 | { |
3021 | bool found; | |
3022 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3023 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3024 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3025 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3026 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3027 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3028 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3029 | Py_DECREF(odc); | |
8f514ab4 | 3030 | Py_DECREF(owin); |
27e45892 RD |
3031 | Py_DECREF(orect); |
3032 | Py_DECREF(opane); | |
3033 | } | |
3034 | wxPyEndBlockThreads(blocked); | |
3035 | if (! found) | |
5eb8189c | 3036 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3037 | } |
3038 | ||
3039 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3040 | wxWindow* window, |
27e45892 RD |
3041 | int button, |
3042 | int button_state, | |
3043 | const wxRect& rect, | |
5eb8189c | 3044 | wxAuiPaneInfo& pane) |
27e45892 RD |
3045 | { |
3046 | bool found; | |
3047 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3048 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3049 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3050 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3051 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3052 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3053 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3054 | odc, owin, button, button_state, | |
27e45892 RD |
3055 | orect, opane)); |
3056 | Py_DECREF(odc); | |
8f514ab4 | 3057 | Py_DECREF(owin); |
27e45892 RD |
3058 | Py_DECREF(orect); |
3059 | Py_DECREF(opane); | |
3060 | } | |
3061 | wxPyEndBlockThreads(blocked); | |
3062 | if (! found) | |
5eb8189c | 3063 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3064 | } |
3065 | ||
3066 | PYPRIVATE; | |
3067 | ||
3068 | }; | |
3069 | ||
5eb8189c RD |
3070 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3071 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3072 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3073 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3074 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3075 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3076 | |
3077 | ||
5c8c7dd3 RD |
3078 | |
3079 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3080 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3081 | { |
5eb8189c | 3082 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3083 | |
8f514ab4 | 3084 | |
d95b9f2b | 3085 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3086 | wxWindow* wnd, |
5c8c7dd3 RD |
3087 | const wxRect& rect ) |
3088 | { | |
3089 | bool found; | |
3090 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3091 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3092 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3093 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3094 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3095 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3096 | Py_DECREF(odc); |
26c4d26f | 3097 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3098 | Py_DECREF(orect); |
3099 | } | |
3100 | wxPyEndBlockThreads(blocked); | |
3101 | if (!found) | |
26c4d26f | 3102 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3103 | } |
3104 | ||
d95b9f2b | 3105 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3106 | wxWindow* wnd, |
5c8c7dd3 RD |
3107 | const wxRect& in_rect, |
3108 | const wxString& caption, | |
5172800e | 3109 | const wxBitmap& bitmap, |
5c8c7dd3 | 3110 | bool active, |
36cb9ebe RD |
3111 | int close_button_state, |
3112 | wxRect* out_tab_rect, | |
3113 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3114 | int* x_extent) |
3115 | { | |
3116 | bool found; | |
36cb9ebe | 3117 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3118 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3119 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3120 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3121 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 RD |
3122 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
3123 | PyObject* otext = wx2PyString(caption); | |
5172800e | 3124 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
5c8c7dd3 | 3125 | PyObject* ro; |
5eb8189c | 3126 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e RD |
3127 | "(OOOOOii)", |
3128 | odc, ownd, orect, otext, obmp, | |
36cb9ebe | 3129 | (int)active, close_button_state)); |
5c8c7dd3 | 3130 | if (ro) { |
36cb9ebe | 3131 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3132 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3133 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3134 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3135 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3136 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3137 | else if (!wxRect_helper(o2, &out_button_rect)) |
3138 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3139 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3140 | PyErr_SetString(PyExc_TypeError, errmsg); |
3141 | else | |
36cb9ebe | 3142 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3143 | |
3144 | Py_DECREF(o1); | |
3145 | Py_DECREF(o2); | |
36cb9ebe | 3146 | Py_DECREF(o3); |
5c8c7dd3 RD |
3147 | } |
3148 | else { | |
3149 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3150 | } | |
3151 | Py_DECREF(ro); | |
3152 | } | |
3153 | ||
3154 | Py_DECREF(odc); | |
26c4d26f | 3155 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3156 | Py_DECREF(orect); |
3157 | Py_DECREF(otext); | |
5172800e | 3158 | Py_DECREF(obmp); |
5c8c7dd3 RD |
3159 | } |
3160 | wxPyEndBlockThreads(blocked); | |
3161 | if (!found) | |
5172800e | 3162 | wxAuiDefaultTabArt::DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3163 | } |
3164 | ||
3165 | ||
d95b9f2b | 3166 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3167 | wxWindow* wnd, |
8f514ab4 RD |
3168 | const wxRect& in_rect, |
3169 | int bitmap_id, | |
3170 | int button_state, | |
3171 | int orientation, | |
3172 | const wxBitmap& bitmap_override, | |
3173 | wxRect* out_rect) | |
3174 | { | |
3175 | bool found; | |
3176 | const char* errmsg = "DrawButton should return a wxRect"; | |
3177 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3178 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3179 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3180 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 RD |
3181 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
3182 | PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0); | |
3183 | PyObject* ro; | |
26c4d26f | 3184 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
8f514ab4 RD |
3185 | bitmap_id, button_state, orientation, |
3186 | obmp)); | |
3187 | if (ro) { | |
3188 | if (!wxRect_helper(ro, &out_rect)) | |
3189 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3190 | Py_DECREF(ro); | |
3191 | } | |
3192 | ||
3193 | Py_DECREF(odc); | |
26c4d26f | 3194 | Py_DECREF(ownd); |
8f514ab4 RD |
3195 | Py_DECREF(orect); |
3196 | Py_DECREF(obmp); | |
3197 | } | |
3198 | wxPyEndBlockThreads(blocked); | |
3199 | if (!found) | |
26c4d26f | 3200 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect); |
8f514ab4 RD |
3201 | } |
3202 | ||
26c4d26f | 3203 | |
d95b9f2b | 3204 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3205 | wxWindow* wnd, |
8f514ab4 | 3206 | const wxString& caption, |
5172800e | 3207 | const wxBitmap& bitmap, |
8f514ab4 | 3208 | bool active, |
36cb9ebe | 3209 | int close_button_state, |
8f514ab4 RD |
3210 | int* x_extent) |
3211 | { | |
3212 | bool found; | |
3213 | wxSize rv, *prv = &rv; | |
3214 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3215 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3216 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3217 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3218 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3219 | PyObject* otext = wx2PyString(caption); |
5172800e | 3220 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3221 | PyObject* ro; |
5eb8189c | 3222 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3223 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3224 | if (ro) { |
3225 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3226 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3227 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3228 | if (!wxSize_helper(o1, &prv)) | |
3229 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3230 | else if (!PyInt_Check(o2)) | |
3231 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3232 | else | |
3233 | *x_extent = PyInt_AsLong(o2); | |
3234 | ||
3235 | Py_DECREF(o1); | |
3236 | Py_DECREF(o2); | |
3237 | } | |
3238 | else { | |
3239 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3240 | } | |
3241 | Py_DECREF(ro); | |
3242 | } | |
3243 | ||
3244 | Py_DECREF(odc); | |
26c4d26f | 3245 | Py_DECREF(ownd); |
8f514ab4 | 3246 | Py_DECREF(otext); |
5172800e | 3247 | Py_DECREF(obmp); |
8f514ab4 RD |
3248 | } |
3249 | wxPyEndBlockThreads(blocked); | |
3250 | if (!found) | |
5172800e | 3251 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3252 | return rv; |
3253 | } | |
26c4d26f | 3254 | |
d95b9f2b RD |
3255 | // TODO |
3256 | // virtual int ShowWindowList( | |
3257 | // wxWindow* wnd, | |
3258 | // const wxArrayString& items, | |
3259 | // int active_idx); | |
5172800e RD |
3260 | // |
3261 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, | |
3262 | // wxAuiNotebookPageArray& pages); | |
3263 | // virtual wxAuiTabArt* Clone(); | |
3264 | // virtual void SetFlags(unsigned int flags); | |
3265 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3266 | // size_t tab_count); | |
3267 | // virtual int GetIndentSize(); | |
3268 | ||
d95b9f2b | 3269 | |
8f514ab4 | 3270 | |
5c8c7dd3 RD |
3271 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3272 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3273 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3274 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3275 | |
3276 | PYPRIVATE; | |
3277 | }; | |
3278 | ||
3279 | ||
5eb8189c RD |
3280 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3281 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3282 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3283 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3284 | |
27e45892 RD |
3285 | #ifdef __cplusplus |
3286 | extern "C" { | |
3287 | #endif | |
5eb8189c | 3288 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3289 | { |
3290 | void *argp = 0; | |
5eb8189c | 3291 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3292 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3293 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3294 | } |
3295 | if (!argp) { | |
5eb8189c | 3296 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3297 | } else { |
5eb8189c RD |
3298 | wxAuiDockInfo * temp; |
3299 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3300 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3301 | if (SWIG_IsNewObj(res)) delete temp; |
3302 | } | |
3303 | } | |
3304 | return 0; | |
3305 | fail: | |
3306 | return 1; | |
3307 | } | |
3308 | ||
3309 | ||
5eb8189c | 3310 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3311 | PyObject *pyobj = 0; |
3312 | ||
5eb8189c | 3313 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3314 | return pyobj; |
3315 | } | |
3316 | ||
3317 | ||
5eb8189c | 3318 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3319 | { |
3320 | void *argp = 0; | |
5eb8189c | 3321 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3322 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3323 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3324 | } |
3325 | if (!argp) { | |
5eb8189c | 3326 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3327 | } else { |
5eb8189c RD |
3328 | wxAuiPaneInfo * temp; |
3329 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3330 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3331 | if (SWIG_IsNewObj(res)) delete temp; |
3332 | } | |
3333 | } | |
3334 | return 0; | |
3335 | fail: | |
3336 | return 1; | |
3337 | } | |
3338 | ||
3339 | ||
5eb8189c | 3340 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3341 | PyObject *pyobj = 0; |
3342 | ||
5eb8189c | 3343 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3344 | return pyobj; |
3345 | } | |
3346 | ||
3347 | ||
5eb8189c | 3348 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3349 | PyObject *resultobj = 0; |
5eb8189c | 3350 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3351 | |
5eb8189c | 3352 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3353 | { |
3354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3355 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3356 | wxPyEndAllowThreads(__tstate); |
3357 | if (PyErr_Occurred()) SWIG_fail; | |
3358 | } | |
5eb8189c | 3359 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3360 | return resultobj; |
3361 | fail: | |
3362 | return NULL; | |
3363 | } | |
3364 | ||
3365 | ||
5eb8189c | 3366 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3367 | PyObject *resultobj = 0; |
5eb8189c | 3368 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3369 | void *argp1 = 0 ; |
3370 | int res1 = 0 ; | |
3371 | PyObject *swig_obj[1] ; | |
3372 | ||
3373 | if (!args) SWIG_fail; | |
3374 | swig_obj[0] = args; | |
5eb8189c | 3375 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3376 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3378 | } |
5eb8189c | 3379 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3380 | { |
3381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3382 | delete arg1; | |
3383 | ||
3384 | wxPyEndAllowThreads(__tstate); | |
3385 | if (PyErr_Occurred()) SWIG_fail; | |
3386 | } | |
3387 | resultobj = SWIG_Py_Void(); | |
3388 | return resultobj; | |
3389 | fail: | |
3390 | return NULL; | |
3391 | } | |
3392 | ||
3393 | ||
5eb8189c | 3394 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 3395 | PyObject *resultobj = 0; |
5eb8189c RD |
3396 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3397 | wxAuiPaneInfo arg2 ; | |
0f83f5da RD |
3398 | void *argp1 = 0 ; |
3399 | int res1 = 0 ; | |
3400 | void *argp2 ; | |
3401 | int res2 = 0 ; | |
3402 | PyObject * obj0 = 0 ; | |
3403 | PyObject * obj1 = 0 ; | |
3404 | char * kwnames[] = { | |
3405 | (char *) "self",(char *) "source", NULL | |
3406 | }; | |
3407 | ||
5eb8189c RD |
3408 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3409 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
0f83f5da | 3410 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
0f83f5da | 3412 | } |
5eb8189c | 3413 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
0f83f5da | 3414 | { |
5eb8189c | 3415 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
0f83f5da | 3416 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3417 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da RD |
3418 | } |
3419 | if (!argp2) { | |
5eb8189c | 3420 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da | 3421 | } else { |
5eb8189c | 3422 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
3423 | arg2 = *temp; |
3424 | if (SWIG_IsNewObj(res2)) delete temp; | |
3425 | } | |
3426 | } | |
3427 | { | |
3428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3429 | (arg1)->SafeSet(arg2); | |
3430 | wxPyEndAllowThreads(__tstate); | |
3431 | if (PyErr_Occurred()) SWIG_fail; | |
3432 | } | |
3433 | resultobj = SWIG_Py_Void(); | |
3434 | return resultobj; | |
3435 | fail: | |
3436 | return NULL; | |
3437 | } | |
3438 | ||
3439 | ||
5eb8189c | 3440 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3441 | PyObject *resultobj = 0; |
5eb8189c | 3442 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3443 | bool result; |
3444 | void *argp1 = 0 ; | |
3445 | int res1 = 0 ; | |
3446 | PyObject *swig_obj[1] ; | |
3447 | ||
3448 | if (!args) SWIG_fail; | |
3449 | swig_obj[0] = args; | |
5eb8189c | 3450 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3451 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3452 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3453 | } |
5eb8189c | 3454 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3455 | { |
3456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3457 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3458 | wxPyEndAllowThreads(__tstate); |
3459 | if (PyErr_Occurred()) SWIG_fail; | |
3460 | } | |
3461 | { | |
3462 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3463 | } | |
3464 | return resultobj; | |
3465 | fail: | |
3466 | return NULL; | |
3467 | } | |
3468 | ||
3469 | ||
5eb8189c | 3470 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3471 | PyObject *resultobj = 0; |
5eb8189c | 3472 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3473 | bool result; |
3474 | void *argp1 = 0 ; | |
3475 | int res1 = 0 ; | |
3476 | PyObject *swig_obj[1] ; | |
3477 | ||
3478 | if (!args) SWIG_fail; | |
3479 | swig_obj[0] = args; | |
5eb8189c | 3480 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3481 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3482 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3483 | } |
5eb8189c | 3484 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3485 | { |
3486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3487 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3488 | wxPyEndAllowThreads(__tstate); |
3489 | if (PyErr_Occurred()) SWIG_fail; | |
3490 | } | |
3491 | { | |
3492 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3493 | } | |
3494 | return resultobj; | |
3495 | fail: | |
3496 | return NULL; | |
3497 | } | |
3498 | ||
3499 | ||
5eb8189c | 3500 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3501 | PyObject *resultobj = 0; |
5eb8189c | 3502 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3503 | bool result; |
3504 | void *argp1 = 0 ; | |
3505 | int res1 = 0 ; | |
3506 | PyObject *swig_obj[1] ; | |
3507 | ||
3508 | if (!args) SWIG_fail; | |
3509 | swig_obj[0] = args; | |
5eb8189c | 3510 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3511 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3512 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3513 | } |
5eb8189c | 3514 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3515 | { |
3516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3517 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3518 | wxPyEndAllowThreads(__tstate); |
3519 | if (PyErr_Occurred()) SWIG_fail; | |
3520 | } | |
3521 | { | |
3522 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3523 | } | |
3524 | return resultobj; | |
3525 | fail: | |
3526 | return NULL; | |
3527 | } | |
3528 | ||
3529 | ||
5eb8189c | 3530 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3531 | PyObject *resultobj = 0; |
5eb8189c | 3532 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3533 | bool result; |
3534 | void *argp1 = 0 ; | |
3535 | int res1 = 0 ; | |
3536 | PyObject *swig_obj[1] ; | |
3537 | ||
3538 | if (!args) SWIG_fail; | |
3539 | swig_obj[0] = args; | |
5eb8189c | 3540 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3541 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3543 | } |
5eb8189c | 3544 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3545 | { |
3546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3547 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3548 | wxPyEndAllowThreads(__tstate); |
3549 | if (PyErr_Occurred()) SWIG_fail; | |
3550 | } | |
3551 | { | |
3552 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3553 | } | |
3554 | return resultobj; | |
3555 | fail: | |
3556 | return NULL; | |
3557 | } | |
3558 | ||
3559 | ||
5eb8189c | 3560 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3561 | PyObject *resultobj = 0; |
5eb8189c | 3562 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3563 | bool result; |
3564 | void *argp1 = 0 ; | |
3565 | int res1 = 0 ; | |
3566 | PyObject *swig_obj[1] ; | |
3567 | ||
3568 | if (!args) SWIG_fail; | |
3569 | swig_obj[0] = args; | |
5eb8189c | 3570 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3571 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3572 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3573 | } |
5eb8189c | 3574 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3575 | { |
3576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3577 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3578 | wxPyEndAllowThreads(__tstate); |
3579 | if (PyErr_Occurred()) SWIG_fail; | |
3580 | } | |
3581 | { | |
3582 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3583 | } | |
3584 | return resultobj; | |
3585 | fail: | |
3586 | return NULL; | |
3587 | } | |
3588 | ||
3589 | ||
5eb8189c | 3590 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3591 | PyObject *resultobj = 0; |
5eb8189c | 3592 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3593 | bool result; |
3594 | void *argp1 = 0 ; | |
3595 | int res1 = 0 ; | |
3596 | PyObject *swig_obj[1] ; | |
3597 | ||
3598 | if (!args) SWIG_fail; | |
3599 | swig_obj[0] = args; | |
5eb8189c | 3600 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3601 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3603 | } |
5eb8189c | 3604 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3605 | { |
3606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3607 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3608 | wxPyEndAllowThreads(__tstate); |
3609 | if (PyErr_Occurred()) SWIG_fail; | |
3610 | } | |
3611 | { | |
3612 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3613 | } | |
3614 | return resultobj; | |
3615 | fail: | |
3616 | return NULL; | |
3617 | } | |
3618 | ||
3619 | ||
5eb8189c | 3620 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3621 | PyObject *resultobj = 0; |
5eb8189c | 3622 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3623 | bool result; |
3624 | void *argp1 = 0 ; | |
3625 | int res1 = 0 ; | |
3626 | PyObject *swig_obj[1] ; | |
3627 | ||
3628 | if (!args) SWIG_fail; | |
3629 | swig_obj[0] = args; | |
5eb8189c | 3630 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3631 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3633 | } |
5eb8189c | 3634 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3635 | { |
3636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3637 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3638 | wxPyEndAllowThreads(__tstate); |
3639 | if (PyErr_Occurred()) SWIG_fail; | |
3640 | } | |
3641 | { | |
3642 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3643 | } | |
3644 | return resultobj; | |
3645 | fail: | |
3646 | return NULL; | |
3647 | } | |
3648 | ||
3649 | ||
5eb8189c | 3650 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3651 | PyObject *resultobj = 0; |
5eb8189c | 3652 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3653 | bool result; |
3654 | void *argp1 = 0 ; | |
3655 | int res1 = 0 ; | |
3656 | PyObject *swig_obj[1] ; | |
3657 | ||
3658 | if (!args) SWIG_fail; | |
3659 | swig_obj[0] = args; | |
5eb8189c | 3660 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3661 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3662 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3663 | } |
5eb8189c | 3664 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3665 | { |
3666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3667 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3668 | wxPyEndAllowThreads(__tstate); |
3669 | if (PyErr_Occurred()) SWIG_fail; | |
3670 | } | |
3671 | { | |
3672 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3673 | } | |
3674 | return resultobj; | |
3675 | fail: | |
3676 | return NULL; | |
3677 | } | |
3678 | ||
3679 | ||
5eb8189c | 3680 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3681 | PyObject *resultobj = 0; |
5eb8189c | 3682 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3683 | bool result; |
3684 | void *argp1 = 0 ; | |
3685 | int res1 = 0 ; | |
3686 | PyObject *swig_obj[1] ; | |
3687 | ||
3688 | if (!args) SWIG_fail; | |
3689 | swig_obj[0] = args; | |
5eb8189c | 3690 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3691 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3692 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3693 | } |
5eb8189c | 3694 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3695 | { |
3696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3697 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3698 | wxPyEndAllowThreads(__tstate); |
3699 | if (PyErr_Occurred()) SWIG_fail; | |
3700 | } | |
3701 | { | |
3702 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3703 | } | |
3704 | return resultobj; | |
3705 | fail: | |
3706 | return NULL; | |
3707 | } | |
3708 | ||
3709 | ||
5eb8189c | 3710 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3711 | PyObject *resultobj = 0; |
5eb8189c | 3712 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3713 | bool result; |
3714 | void *argp1 = 0 ; | |
3715 | int res1 = 0 ; | |
3716 | PyObject *swig_obj[1] ; | |
3717 | ||
3718 | if (!args) SWIG_fail; | |
3719 | swig_obj[0] = args; | |
5eb8189c | 3720 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3721 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3722 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3723 | } |
5eb8189c | 3724 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3725 | { |
3726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3727 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3728 | wxPyEndAllowThreads(__tstate); |
3729 | if (PyErr_Occurred()) SWIG_fail; | |
3730 | } | |
3731 | { | |
3732 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3733 | } | |
3734 | return resultobj; | |
3735 | fail: | |
3736 | return NULL; | |
3737 | } | |
3738 | ||
3739 | ||
5eb8189c | 3740 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3741 | PyObject *resultobj = 0; |
5eb8189c | 3742 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3743 | bool result; |
3744 | void *argp1 = 0 ; | |
3745 | int res1 = 0 ; | |
3746 | PyObject *swig_obj[1] ; | |
3747 | ||
3748 | if (!args) SWIG_fail; | |
3749 | swig_obj[0] = args; | |
5eb8189c | 3750 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3751 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3752 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3753 | } |
5eb8189c | 3754 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3755 | { |
3756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3757 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3758 | wxPyEndAllowThreads(__tstate); |
3759 | if (PyErr_Occurred()) SWIG_fail; | |
3760 | } | |
3761 | { | |
3762 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3763 | } | |
3764 | return resultobj; | |
3765 | fail: | |
3766 | return NULL; | |
3767 | } | |
3768 | ||
3769 | ||
5eb8189c | 3770 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3771 | PyObject *resultobj = 0; |
5eb8189c | 3772 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3773 | bool result; |
3774 | void *argp1 = 0 ; | |
3775 | int res1 = 0 ; | |
3776 | PyObject *swig_obj[1] ; | |
3777 | ||
3778 | if (!args) SWIG_fail; | |
3779 | swig_obj[0] = args; | |
5eb8189c | 3780 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3781 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3782 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3783 | } |
5eb8189c | 3784 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3785 | { |
3786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3787 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3788 | wxPyEndAllowThreads(__tstate); |
3789 | if (PyErr_Occurred()) SWIG_fail; | |
3790 | } | |
3791 | { | |
3792 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3793 | } | |
3794 | return resultobj; | |
3795 | fail: | |
3796 | return NULL; | |
3797 | } | |
3798 | ||
3799 | ||
5eb8189c | 3800 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3801 | PyObject *resultobj = 0; |
5eb8189c | 3802 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3803 | bool result; |
3804 | void *argp1 = 0 ; | |
3805 | int res1 = 0 ; | |
3806 | PyObject *swig_obj[1] ; | |
3807 | ||
3808 | if (!args) SWIG_fail; | |
3809 | swig_obj[0] = args; | |
5eb8189c | 3810 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3811 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3812 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3813 | } |
5eb8189c | 3814 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3815 | { |
3816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3817 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3818 | wxPyEndAllowThreads(__tstate); |
3819 | if (PyErr_Occurred()) SWIG_fail; | |
3820 | } | |
3821 | { | |
3822 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3823 | } | |
3824 | return resultobj; | |
3825 | fail: | |
3826 | return NULL; | |
3827 | } | |
3828 | ||
3829 | ||
5eb8189c | 3830 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3831 | PyObject *resultobj = 0; |
5eb8189c | 3832 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3833 | bool result; |
3834 | void *argp1 = 0 ; | |
3835 | int res1 = 0 ; | |
3836 | PyObject *swig_obj[1] ; | |
3837 | ||
3838 | if (!args) SWIG_fail; | |
3839 | swig_obj[0] = args; | |
5eb8189c | 3840 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3841 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3843 | } |
5eb8189c | 3844 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3845 | { |
3846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3847 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3848 | wxPyEndAllowThreads(__tstate); |
3849 | if (PyErr_Occurred()) SWIG_fail; | |
3850 | } | |
3851 | { | |
3852 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3853 | } | |
3854 | return resultobj; | |
3855 | fail: | |
3856 | return NULL; | |
3857 | } | |
3858 | ||
3859 | ||
5eb8189c | 3860 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3861 | PyObject *resultobj = 0; |
5eb8189c | 3862 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3863 | bool result; |
3864 | void *argp1 = 0 ; | |
3865 | int res1 = 0 ; | |
3866 | PyObject *swig_obj[1] ; | |
3867 | ||
3868 | if (!args) SWIG_fail; | |
3869 | swig_obj[0] = args; | |
5eb8189c | 3870 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3871 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3873 | } |
5eb8189c | 3874 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3875 | { |
3876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3877 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3878 | wxPyEndAllowThreads(__tstate); |
3879 | if (PyErr_Occurred()) SWIG_fail; | |
3880 | } | |
3881 | { | |
3882 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3883 | } | |
3884 | return resultobj; | |
3885 | fail: | |
3886 | return NULL; | |
3887 | } | |
3888 | ||
3889 | ||
5eb8189c | 3890 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3891 | PyObject *resultobj = 0; |
5eb8189c | 3892 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3893 | bool result; |
3894 | void *argp1 = 0 ; | |
3895 | int res1 = 0 ; | |
3896 | PyObject *swig_obj[1] ; | |
3897 | ||
3898 | if (!args) SWIG_fail; | |
3899 | swig_obj[0] = args; | |
5eb8189c | 3900 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3901 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3902 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3903 | } |
5eb8189c | 3904 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3905 | { |
3906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3907 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3908 | wxPyEndAllowThreads(__tstate); |
3909 | if (PyErr_Occurred()) SWIG_fail; | |
3910 | } | |
3911 | { | |
3912 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3913 | } | |
3914 | return resultobj; | |
3915 | fail: | |
3916 | return NULL; | |
3917 | } | |
3918 | ||
3919 | ||
5eb8189c | 3920 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3921 | PyObject *resultobj = 0; |
5eb8189c | 3922 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3923 | bool result; |
3924 | void *argp1 = 0 ; | |
3925 | int res1 = 0 ; | |
3926 | PyObject *swig_obj[1] ; | |
3927 | ||
3928 | if (!args) SWIG_fail; | |
3929 | swig_obj[0] = args; | |
5eb8189c | 3930 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3931 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3932 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3933 | } |
5eb8189c | 3934 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3935 | { |
3936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3937 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3938 | wxPyEndAllowThreads(__tstate); |
3939 | if (PyErr_Occurred()) SWIG_fail; | |
3940 | } | |
3941 | { | |
3942 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3943 | } | |
3944 | return resultobj; | |
3945 | fail: | |
3946 | return NULL; | |
3947 | } | |
3948 | ||
3949 | ||
5eb8189c | 3950 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3951 | PyObject *resultobj = 0; |
5eb8189c | 3952 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3953 | bool result; |
3954 | void *argp1 = 0 ; | |
3955 | int res1 = 0 ; | |
3956 | PyObject *swig_obj[1] ; | |
3957 | ||
3958 | if (!args) SWIG_fail; | |
3959 | swig_obj[0] = args; | |
5eb8189c | 3960 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3961 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3962 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3963 | } |
5eb8189c | 3964 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3965 | { |
3966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3967 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3968 | wxPyEndAllowThreads(__tstate); |
3969 | if (PyErr_Occurred()) SWIG_fail; | |
3970 | } | |
3971 | { | |
3972 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3973 | } | |
3974 | return resultobj; | |
3975 | fail: | |
3976 | return NULL; | |
3977 | } | |
3978 | ||
3979 | ||
5eb8189c | 3980 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3981 | PyObject *resultobj = 0; |
5eb8189c | 3982 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3983 | bool result; |
3984 | void *argp1 = 0 ; | |
3985 | int res1 = 0 ; | |
3986 | PyObject *swig_obj[1] ; | |
3987 | ||
3988 | if (!args) SWIG_fail; | |
3989 | swig_obj[0] = args; | |
5eb8189c | 3990 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3991 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3993 | } |
5eb8189c | 3994 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3995 | { |
3996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3997 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
3998 | wxPyEndAllowThreads(__tstate); |
3999 | if (PyErr_Occurred()) SWIG_fail; | |
4000 | } | |
4001 | { | |
4002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4003 | } | |
4004 | return resultobj; | |
4005 | fail: | |
4006 | return NULL; | |
4007 | } | |
4008 | ||
4009 | ||
5eb8189c | 4010 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4011 | PyObject *resultobj = 0; |
5eb8189c | 4012 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4013 | bool result; |
4014 | void *argp1 = 0 ; | |
4015 | int res1 = 0 ; | |
4016 | PyObject *swig_obj[1] ; | |
4017 | ||
4018 | if (!args) SWIG_fail; | |
4019 | swig_obj[0] = args; | |
5eb8189c | 4020 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4021 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4023 | } |
5eb8189c | 4024 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4025 | { |
4026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4027 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4028 | wxPyEndAllowThreads(__tstate); |
4029 | if (PyErr_Occurred()) SWIG_fail; | |
4030 | } | |
4031 | { | |
4032 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4033 | } | |
4034 | return resultobj; | |
4035 | fail: | |
4036 | return NULL; | |
4037 | } | |
4038 | ||
4039 | ||
5eb8189c | 4040 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4041 | PyObject *resultobj = 0; |
5eb8189c | 4042 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4043 | bool result; |
4044 | void *argp1 = 0 ; | |
4045 | int res1 = 0 ; | |
4046 | PyObject *swig_obj[1] ; | |
4047 | ||
4048 | if (!args) SWIG_fail; | |
4049 | swig_obj[0] = args; | |
5eb8189c | 4050 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4051 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4053 | } |
5eb8189c | 4054 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4055 | { |
4056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4057 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4058 | wxPyEndAllowThreads(__tstate); |
4059 | if (PyErr_Occurred()) SWIG_fail; | |
4060 | } | |
4061 | { | |
4062 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4063 | } | |
4064 | return resultobj; | |
4065 | fail: | |
4066 | return NULL; | |
4067 | } | |
4068 | ||
4069 | ||
5eb8189c | 4070 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4071 | PyObject *resultobj = 0; |
5eb8189c | 4072 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4073 | bool result; |
4074 | void *argp1 = 0 ; | |
4075 | int res1 = 0 ; | |
4076 | PyObject *swig_obj[1] ; | |
4077 | ||
4078 | if (!args) SWIG_fail; | |
4079 | swig_obj[0] = args; | |
5eb8189c | 4080 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4081 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4083 | } |
5eb8189c | 4084 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4085 | { |
4086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4087 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4088 | wxPyEndAllowThreads(__tstate); |
4089 | if (PyErr_Occurred()) SWIG_fail; | |
4090 | } | |
4091 | { | |
4092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4093 | } | |
4094 | return resultobj; | |
4095 | fail: | |
4096 | return NULL; | |
4097 | } | |
4098 | ||
4099 | ||
5eb8189c | 4100 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4101 | PyObject *resultobj = 0; |
5eb8189c RD |
4102 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4103 | bool result; | |
4104 | void *argp1 = 0 ; | |
4105 | int res1 = 0 ; | |
4106 | PyObject *swig_obj[1] ; | |
4107 | ||
4108 | if (!args) SWIG_fail; | |
4109 | swig_obj[0] = args; | |
4110 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4111 | if (!SWIG_IsOK(res1)) { | |
4112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4113 | } | |
4114 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4115 | { | |
4116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4117 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4118 | wxPyEndAllowThreads(__tstate); | |
4119 | if (PyErr_Occurred()) SWIG_fail; | |
4120 | } | |
4121 | { | |
4122 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4123 | } | |
4124 | return resultobj; | |
4125 | fail: | |
4126 | return NULL; | |
4127 | } | |
4128 | ||
4129 | ||
4130 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4131 | PyObject *resultobj = 0; | |
4132 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4133 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4134 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4135 | void *argp1 = 0 ; |
4136 | int res1 = 0 ; | |
4137 | void *argp2 = 0 ; | |
4138 | int res2 = 0 ; | |
4139 | PyObject * obj0 = 0 ; | |
4140 | PyObject * obj1 = 0 ; | |
4141 | char * kwnames[] = { | |
4142 | (char *) "self",(char *) "w", NULL | |
4143 | }; | |
4144 | ||
5eb8189c RD |
4145 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4146 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4147 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4148 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4149 | } |
5eb8189c | 4150 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4151 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4152 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4153 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4154 | } |
4155 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4156 | { | |
4157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4158 | { | |
5eb8189c RD |
4159 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4160 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4161 | } |
4162 | wxPyEndAllowThreads(__tstate); | |
4163 | if (PyErr_Occurred()) SWIG_fail; | |
4164 | } | |
4165 | { | |
4166 | resultobj = obj0; Py_INCREF(resultobj); | |
4167 | } | |
4168 | return resultobj; | |
4169 | fail: | |
4170 | return NULL; | |
4171 | } | |
4172 | ||
4173 | ||
5eb8189c | 4174 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4175 | PyObject *resultobj = 0; |
5eb8189c | 4176 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4177 | wxString *arg2 = 0 ; |
5eb8189c | 4178 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4179 | void *argp1 = 0 ; |
4180 | int res1 = 0 ; | |
4181 | bool temp2 = false ; | |
4182 | PyObject * obj0 = 0 ; | |
4183 | PyObject * obj1 = 0 ; | |
4184 | char * kwnames[] = { | |
4185 | (char *) "self",(char *) "n", NULL | |
4186 | }; | |
4187 | ||
5eb8189c RD |
4188 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4189 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4190 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4192 | } |
5eb8189c | 4193 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4194 | { |
4195 | arg2 = wxString_in_helper(obj1); | |
4196 | if (arg2 == NULL) SWIG_fail; | |
4197 | temp2 = true; | |
4198 | } | |
4199 | { | |
4200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4201 | { | |
5eb8189c RD |
4202 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4203 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4204 | } |
4205 | wxPyEndAllowThreads(__tstate); | |
4206 | if (PyErr_Occurred()) SWIG_fail; | |
4207 | } | |
4208 | { | |
4209 | resultobj = obj0; Py_INCREF(resultobj); | |
4210 | } | |
4211 | { | |
4212 | if (temp2) | |
4213 | delete arg2; | |
4214 | } | |
4215 | return resultobj; | |
4216 | fail: | |
4217 | { | |
4218 | if (temp2) | |
4219 | delete arg2; | |
4220 | } | |
4221 | return NULL; | |
4222 | } | |
4223 | ||
4224 | ||
5eb8189c | 4225 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4226 | PyObject *resultobj = 0; |
5eb8189c | 4227 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4228 | wxString *arg2 = 0 ; |
5eb8189c | 4229 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4230 | void *argp1 = 0 ; |
4231 | int res1 = 0 ; | |
4232 | bool temp2 = false ; | |
4233 | PyObject * obj0 = 0 ; | |
4234 | PyObject * obj1 = 0 ; | |
4235 | char * kwnames[] = { | |
4236 | (char *) "self",(char *) "c", NULL | |
4237 | }; | |
4238 | ||
5eb8189c RD |
4239 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4240 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4241 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4242 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4243 | } |
5eb8189c | 4244 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4245 | { |
4246 | arg2 = wxString_in_helper(obj1); | |
4247 | if (arg2 == NULL) SWIG_fail; | |
4248 | temp2 = true; | |
4249 | } | |
4250 | { | |
4251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4252 | { | |
5eb8189c RD |
4253 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4254 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4255 | } |
4256 | wxPyEndAllowThreads(__tstate); | |
4257 | if (PyErr_Occurred()) SWIG_fail; | |
4258 | } | |
4259 | { | |
4260 | resultobj = obj0; Py_INCREF(resultobj); | |
4261 | } | |
4262 | { | |
4263 | if (temp2) | |
4264 | delete arg2; | |
4265 | } | |
4266 | return resultobj; | |
4267 | fail: | |
4268 | { | |
4269 | if (temp2) | |
4270 | delete arg2; | |
4271 | } | |
4272 | return NULL; | |
4273 | } | |
4274 | ||
4275 | ||
5eb8189c | 4276 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4277 | PyObject *resultobj = 0; |
5eb8189c RD |
4278 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4279 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4280 | void *argp1 = 0 ; |
4281 | int res1 = 0 ; | |
4282 | PyObject *swig_obj[1] ; | |
4283 | ||
4284 | if (!args) SWIG_fail; | |
4285 | swig_obj[0] = args; | |
5eb8189c | 4286 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4287 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4289 | } |
5eb8189c | 4290 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4291 | { |
4292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4293 | { | |
5eb8189c RD |
4294 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4295 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4296 | } |
4297 | wxPyEndAllowThreads(__tstate); | |
4298 | if (PyErr_Occurred()) SWIG_fail; | |
4299 | } | |
4300 | { | |
4301 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4302 | } | |
4303 | return resultobj; | |
4304 | fail: | |
4305 | return NULL; | |
4306 | } | |
4307 | ||
4308 | ||
5eb8189c | 4309 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4310 | PyObject *resultobj = 0; |
5eb8189c RD |
4311 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4312 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4313 | void *argp1 = 0 ; |
4314 | int res1 = 0 ; | |
4315 | PyObject *swig_obj[1] ; | |
4316 | ||
4317 | if (!args) SWIG_fail; | |
4318 | swig_obj[0] = args; | |
5eb8189c | 4319 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4320 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4321 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4322 | } |
5eb8189c | 4323 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4324 | { |
4325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4326 | { | |
5eb8189c RD |
4327 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4328 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4329 | } |
4330 | wxPyEndAllowThreads(__tstate); | |
4331 | if (PyErr_Occurred()) SWIG_fail; | |
4332 | } | |
4333 | { | |
4334 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4335 | } | |
4336 | return resultobj; | |
4337 | fail: | |
4338 | return NULL; | |
4339 | } | |
4340 | ||
4341 | ||
5eb8189c | 4342 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4343 | PyObject *resultobj = 0; |
5eb8189c RD |
4344 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4345 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4346 | void *argp1 = 0 ; |
4347 | int res1 = 0 ; | |
4348 | PyObject *swig_obj[1] ; | |
4349 | ||
4350 | if (!args) SWIG_fail; | |
4351 | swig_obj[0] = args; | |
5eb8189c | 4352 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4353 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4355 | } |
5eb8189c | 4356 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4357 | { |
4358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4359 | { | |
5eb8189c RD |
4360 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4361 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4362 | } |
4363 | wxPyEndAllowThreads(__tstate); | |
4364 | if (PyErr_Occurred()) SWIG_fail; | |
4365 | } | |
4366 | { | |
4367 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4368 | } | |
4369 | return resultobj; | |
4370 | fail: | |
4371 | return NULL; | |
4372 | } | |
4373 | ||
4374 | ||
5eb8189c | 4375 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4376 | PyObject *resultobj = 0; |
5eb8189c RD |
4377 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4378 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4379 | void *argp1 = 0 ; |
4380 | int res1 = 0 ; | |
4381 | PyObject *swig_obj[1] ; | |
4382 | ||
4383 | if (!args) SWIG_fail; | |
4384 | swig_obj[0] = args; | |
5eb8189c | 4385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4386 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4388 | } |
5eb8189c | 4389 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4390 | { |
4391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4392 | { | |
5eb8189c RD |
4393 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4394 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4395 | } |
4396 | wxPyEndAllowThreads(__tstate); | |
4397 | if (PyErr_Occurred()) SWIG_fail; | |
4398 | } | |
4399 | { | |
4400 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4401 | } | |
4402 | return resultobj; | |
4403 | fail: | |
4404 | return NULL; | |
4405 | } | |
4406 | ||
4407 | ||
5eb8189c | 4408 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4409 | PyObject *resultobj = 0; |
5eb8189c RD |
4410 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4411 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4412 | void *argp1 = 0 ; |
4413 | int res1 = 0 ; | |
4414 | PyObject *swig_obj[1] ; | |
4415 | ||
4416 | if (!args) SWIG_fail; | |
4417 | swig_obj[0] = args; | |
5eb8189c | 4418 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4419 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4420 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4421 | } |
5eb8189c | 4422 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4423 | { |
4424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4425 | { | |
5eb8189c RD |
4426 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4427 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4428 | } |
4429 | wxPyEndAllowThreads(__tstate); | |
4430 | if (PyErr_Occurred()) SWIG_fail; | |
4431 | } | |
4432 | { | |
4433 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4434 | } | |
4435 | return resultobj; | |
4436 | fail: | |
4437 | return NULL; | |
4438 | } | |
4439 | ||
4440 | ||
5eb8189c | 4441 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4442 | PyObject *resultobj = 0; |
5eb8189c RD |
4443 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4444 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4445 | void *argp1 = 0 ; |
4446 | int res1 = 0 ; | |
4447 | PyObject *swig_obj[1] ; | |
4448 | ||
4449 | if (!args) SWIG_fail; | |
4450 | swig_obj[0] = args; | |
5eb8189c | 4451 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4452 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4453 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4454 | } |
5eb8189c | 4455 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4456 | { |
4457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4458 | { | |
5eb8189c RD |
4459 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4460 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4461 | } |
4462 | wxPyEndAllowThreads(__tstate); | |
4463 | if (PyErr_Occurred()) SWIG_fail; | |
4464 | } | |
4465 | { | |
4466 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4467 | } | |
4468 | return resultobj; | |
4469 | fail: | |
4470 | return NULL; | |
4471 | } | |
4472 | ||
4473 | ||
5eb8189c | 4474 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4475 | PyObject *resultobj = 0; |
5eb8189c | 4476 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4477 | int arg2 ; |
5eb8189c | 4478 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4479 | void *argp1 = 0 ; |
4480 | int res1 = 0 ; | |
4481 | int val2 ; | |
4482 | int ecode2 = 0 ; | |
4483 | PyObject * obj0 = 0 ; | |
4484 | PyObject * obj1 = 0 ; | |
4485 | char * kwnames[] = { | |
4486 | (char *) "self",(char *) "direction", NULL | |
4487 | }; | |
4488 | ||
5eb8189c RD |
4489 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4490 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4491 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4492 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4493 | } |
5eb8189c | 4494 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4495 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4496 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4497 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4498 | } |
4499 | arg2 = static_cast< int >(val2); | |
4500 | { | |
4501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4502 | { | |
5eb8189c RD |
4503 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4504 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4505 | } |
4506 | wxPyEndAllowThreads(__tstate); | |
4507 | if (PyErr_Occurred()) SWIG_fail; | |
4508 | } | |
4509 | { | |
4510 | resultobj = obj0; Py_INCREF(resultobj); | |
4511 | } | |
4512 | return resultobj; | |
4513 | fail: | |
4514 | return NULL; | |
4515 | } | |
4516 | ||
4517 | ||
5eb8189c | 4518 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4519 | PyObject *resultobj = 0; |
5eb8189c | 4520 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4521 | int arg2 ; |
5eb8189c | 4522 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4523 | void *argp1 = 0 ; |
4524 | int res1 = 0 ; | |
4525 | int val2 ; | |
4526 | int ecode2 = 0 ; | |
4527 | PyObject * obj0 = 0 ; | |
4528 | PyObject * obj1 = 0 ; | |
4529 | char * kwnames[] = { | |
4530 | (char *) "self",(char *) "layer", NULL | |
4531 | }; | |
4532 | ||
5eb8189c RD |
4533 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4534 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4535 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4537 | } |
5eb8189c | 4538 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4539 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4540 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4541 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4542 | } |
4543 | arg2 = static_cast< int >(val2); | |
4544 | { | |
4545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4546 | { | |
5eb8189c RD |
4547 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4548 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4549 | } |
4550 | wxPyEndAllowThreads(__tstate); | |
4551 | if (PyErr_Occurred()) SWIG_fail; | |
4552 | } | |
4553 | { | |
4554 | resultobj = obj0; Py_INCREF(resultobj); | |
4555 | } | |
4556 | return resultobj; | |
4557 | fail: | |
4558 | return NULL; | |
4559 | } | |
4560 | ||
4561 | ||
5eb8189c | 4562 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4563 | PyObject *resultobj = 0; |
5eb8189c | 4564 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4565 | int arg2 ; |
5eb8189c | 4566 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4567 | void *argp1 = 0 ; |
4568 | int res1 = 0 ; | |
4569 | int val2 ; | |
4570 | int ecode2 = 0 ; | |
4571 | PyObject * obj0 = 0 ; | |
4572 | PyObject * obj1 = 0 ; | |
4573 | char * kwnames[] = { | |
4574 | (char *) "self",(char *) "row", NULL | |
4575 | }; | |
4576 | ||
5eb8189c RD |
4577 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4578 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4579 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4580 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4581 | } |
5eb8189c | 4582 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4583 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4584 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4585 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4586 | } |
4587 | arg2 = static_cast< int >(val2); | |
4588 | { | |
4589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4590 | { | |
5eb8189c RD |
4591 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4592 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4593 | } |
4594 | wxPyEndAllowThreads(__tstate); | |
4595 | if (PyErr_Occurred()) SWIG_fail; | |
4596 | } | |
4597 | { | |
4598 | resultobj = obj0; Py_INCREF(resultobj); | |
4599 | } | |
4600 | return resultobj; | |
4601 | fail: | |
4602 | return NULL; | |
4603 | } | |
4604 | ||
4605 | ||
5eb8189c | 4606 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4607 | PyObject *resultobj = 0; |
5eb8189c | 4608 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4609 | int arg2 ; |
5eb8189c | 4610 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4611 | void *argp1 = 0 ; |
4612 | int res1 = 0 ; | |
4613 | int val2 ; | |
4614 | int ecode2 = 0 ; | |
4615 | PyObject * obj0 = 0 ; | |
4616 | PyObject * obj1 = 0 ; | |
4617 | char * kwnames[] = { | |
4618 | (char *) "self",(char *) "pos", NULL | |
4619 | }; | |
4620 | ||
5eb8189c RD |
4621 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4622 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4623 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4625 | } |
5eb8189c | 4626 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4627 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4628 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4629 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4630 | } |
4631 | arg2 = static_cast< int >(val2); | |
4632 | { | |
4633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4634 | { | |
5eb8189c RD |
4635 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4636 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4637 | } |
4638 | wxPyEndAllowThreads(__tstate); | |
4639 | if (PyErr_Occurred()) SWIG_fail; | |
4640 | } | |
4641 | { | |
4642 | resultobj = obj0; Py_INCREF(resultobj); | |
4643 | } | |
4644 | return resultobj; | |
4645 | fail: | |
4646 | return NULL; | |
4647 | } | |
4648 | ||
4649 | ||
5eb8189c | 4650 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4651 | PyObject *resultobj = 0; |
5eb8189c | 4652 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4653 | wxSize *arg2 = 0 ; |
5eb8189c | 4654 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4655 | void *argp1 = 0 ; |
4656 | int res1 = 0 ; | |
4657 | wxSize temp2 ; | |
4658 | PyObject * obj0 = 0 ; | |
4659 | PyObject * obj1 = 0 ; | |
4660 | char * kwnames[] = { | |
4661 | (char *) "self",(char *) "size", NULL | |
4662 | }; | |
4663 | ||
5eb8189c RD |
4664 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4665 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4666 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4668 | } |
5eb8189c | 4669 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4670 | { |
4671 | arg2 = &temp2; | |
4672 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4673 | } | |
4674 | { | |
4675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4676 | { | |
5eb8189c RD |
4677 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4678 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4679 | } |
4680 | wxPyEndAllowThreads(__tstate); | |
4681 | if (PyErr_Occurred()) SWIG_fail; | |
4682 | } | |
4683 | { | |
4684 | resultobj = obj0; Py_INCREF(resultobj); | |
4685 | } | |
4686 | return resultobj; | |
4687 | fail: | |
4688 | return NULL; | |
4689 | } | |
4690 | ||
4691 | ||
5eb8189c | 4692 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4693 | PyObject *resultobj = 0; |
5eb8189c | 4694 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4695 | wxSize *arg2 = 0 ; |
5eb8189c | 4696 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4697 | void *argp1 = 0 ; |
4698 | int res1 = 0 ; | |
4699 | wxSize temp2 ; | |
4700 | PyObject * obj0 = 0 ; | |
4701 | PyObject * obj1 = 0 ; | |
4702 | char * kwnames[] = { | |
4703 | (char *) "self",(char *) "size", NULL | |
4704 | }; | |
4705 | ||
5eb8189c RD |
4706 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4707 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4708 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4709 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4710 | } |
5eb8189c | 4711 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4712 | { |
4713 | arg2 = &temp2; | |
4714 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4715 | } | |
4716 | { | |
4717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4718 | { | |
5eb8189c RD |
4719 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4720 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4721 | } |
4722 | wxPyEndAllowThreads(__tstate); | |
4723 | if (PyErr_Occurred()) SWIG_fail; | |
4724 | } | |
4725 | { | |
4726 | resultobj = obj0; Py_INCREF(resultobj); | |
4727 | } | |
4728 | return resultobj; | |
4729 | fail: | |
4730 | return NULL; | |
4731 | } | |
4732 | ||
4733 | ||
5eb8189c | 4734 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4735 | PyObject *resultobj = 0; |
5eb8189c | 4736 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4737 | wxSize *arg2 = 0 ; |
5eb8189c | 4738 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4739 | void *argp1 = 0 ; |
4740 | int res1 = 0 ; | |
4741 | wxSize temp2 ; | |
4742 | PyObject * obj0 = 0 ; | |
4743 | PyObject * obj1 = 0 ; | |
4744 | char * kwnames[] = { | |
4745 | (char *) "self",(char *) "size", NULL | |
4746 | }; | |
4747 | ||
5eb8189c RD |
4748 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4749 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4752 | } |
5eb8189c | 4753 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4754 | { |
4755 | arg2 = &temp2; | |
4756 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4757 | } | |
4758 | { | |
4759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4760 | { | |
5eb8189c RD |
4761 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4762 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4763 | } |
4764 | wxPyEndAllowThreads(__tstate); | |
4765 | if (PyErr_Occurred()) SWIG_fail; | |
4766 | } | |
4767 | { | |
4768 | resultobj = obj0; Py_INCREF(resultobj); | |
4769 | } | |
4770 | return resultobj; | |
4771 | fail: | |
4772 | return NULL; | |
4773 | } | |
4774 | ||
4775 | ||
5eb8189c | 4776 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4777 | PyObject *resultobj = 0; |
5eb8189c | 4778 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4779 | wxPoint *arg2 = 0 ; |
5eb8189c | 4780 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4781 | void *argp1 = 0 ; |
4782 | int res1 = 0 ; | |
4783 | wxPoint temp2 ; | |
4784 | PyObject * obj0 = 0 ; | |
4785 | PyObject * obj1 = 0 ; | |
4786 | char * kwnames[] = { | |
4787 | (char *) "self",(char *) "pos", NULL | |
4788 | }; | |
4789 | ||
5eb8189c RD |
4790 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4791 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4792 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4793 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4794 | } |
5eb8189c | 4795 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4796 | { |
4797 | arg2 = &temp2; | |
4798 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4799 | } | |
4800 | { | |
4801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4802 | { | |
5eb8189c RD |
4803 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4804 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4805 | } |
4806 | wxPyEndAllowThreads(__tstate); | |
4807 | if (PyErr_Occurred()) SWIG_fail; | |
4808 | } | |
4809 | { | |
4810 | resultobj = obj0; Py_INCREF(resultobj); | |
4811 | } | |
4812 | return resultobj; | |
4813 | fail: | |
4814 | return NULL; | |
4815 | } | |
4816 | ||
4817 | ||
5eb8189c | 4818 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4819 | PyObject *resultobj = 0; |
5eb8189c | 4820 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4821 | wxSize *arg2 = 0 ; |
5eb8189c | 4822 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4823 | void *argp1 = 0 ; |
4824 | int res1 = 0 ; | |
4825 | wxSize temp2 ; | |
4826 | PyObject * obj0 = 0 ; | |
4827 | PyObject * obj1 = 0 ; | |
4828 | char * kwnames[] = { | |
4829 | (char *) "self",(char *) "size", NULL | |
4830 | }; | |
4831 | ||
5eb8189c RD |
4832 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4833 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4834 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4836 | } |
5eb8189c | 4837 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4838 | { |
4839 | arg2 = &temp2; | |
4840 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4841 | } | |
4842 | { | |
4843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4844 | { | |
5eb8189c RD |
4845 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4846 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4847 | } |
4848 | wxPyEndAllowThreads(__tstate); | |
4849 | if (PyErr_Occurred()) SWIG_fail; | |
4850 | } | |
4851 | { | |
4852 | resultobj = obj0; Py_INCREF(resultobj); | |
4853 | } | |
4854 | return resultobj; | |
4855 | fail: | |
4856 | return NULL; | |
4857 | } | |
4858 | ||
4859 | ||
5eb8189c | 4860 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4861 | PyObject *resultobj = 0; |
5eb8189c RD |
4862 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4863 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4864 | void *argp1 = 0 ; |
4865 | int res1 = 0 ; | |
4866 | PyObject *swig_obj[1] ; | |
4867 | ||
4868 | if (!args) SWIG_fail; | |
4869 | swig_obj[0] = args; | |
5eb8189c | 4870 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4871 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4872 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4873 | } |
5eb8189c | 4874 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4875 | { |
4876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4877 | { | |
5eb8189c RD |
4878 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4879 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4880 | } |
4881 | wxPyEndAllowThreads(__tstate); | |
4882 | if (PyErr_Occurred()) SWIG_fail; | |
4883 | } | |
4884 | { | |
4885 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4886 | } | |
4887 | return resultobj; | |
4888 | fail: | |
4889 | return NULL; | |
4890 | } | |
4891 | ||
4892 | ||
5eb8189c | 4893 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4894 | PyObject *resultobj = 0; |
5eb8189c | 4895 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4896 | bool arg2 = (bool) true ; |
5eb8189c | 4897 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4898 | void *argp1 = 0 ; |
4899 | int res1 = 0 ; | |
4900 | bool val2 ; | |
4901 | int ecode2 = 0 ; | |
4902 | PyObject * obj0 = 0 ; | |
4903 | PyObject * obj1 = 0 ; | |
4904 | char * kwnames[] = { | |
4905 | (char *) "self",(char *) "resizable", NULL | |
4906 | }; | |
4907 | ||
5eb8189c RD |
4908 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4909 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4910 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4912 | } |
5eb8189c | 4913 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4914 | if (obj1) { |
4915 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4916 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4917 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4918 | } |
4919 | arg2 = static_cast< bool >(val2); | |
4920 | } | |
4921 | { | |
4922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4923 | { | |
5eb8189c RD |
4924 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4925 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4926 | } |
4927 | wxPyEndAllowThreads(__tstate); | |
4928 | if (PyErr_Occurred()) SWIG_fail; | |
4929 | } | |
4930 | { | |
4931 | resultobj = obj0; Py_INCREF(resultobj); | |
4932 | } | |
4933 | return resultobj; | |
4934 | fail: | |
4935 | return NULL; | |
4936 | } | |
4937 | ||
4938 | ||
5eb8189c | 4939 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4940 | PyObject *resultobj = 0; |
5eb8189c RD |
4941 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4942 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4943 | void *argp1 = 0 ; |
4944 | int res1 = 0 ; | |
4945 | PyObject *swig_obj[1] ; | |
4946 | ||
4947 | if (!args) SWIG_fail; | |
4948 | swig_obj[0] = args; | |
5eb8189c | 4949 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4950 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4952 | } |
5eb8189c | 4953 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4954 | { |
4955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4956 | { | |
5eb8189c RD |
4957 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4958 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4959 | } |
4960 | wxPyEndAllowThreads(__tstate); | |
4961 | if (PyErr_Occurred()) SWIG_fail; | |
4962 | } | |
4963 | { | |
4964 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4965 | } | |
4966 | return resultobj; | |
4967 | fail: | |
4968 | return NULL; | |
4969 | } | |
4970 | ||
4971 | ||
5eb8189c | 4972 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4973 | PyObject *resultobj = 0; |
5eb8189c RD |
4974 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4975 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4976 | void *argp1 = 0 ; |
4977 | int res1 = 0 ; | |
4978 | PyObject *swig_obj[1] ; | |
4979 | ||
4980 | if (!args) SWIG_fail; | |
4981 | swig_obj[0] = args; | |
5eb8189c | 4982 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4983 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4985 | } |
5eb8189c | 4986 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4987 | { |
4988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4989 | { | |
5eb8189c RD |
4990 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
4991 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4992 | } |
4993 | wxPyEndAllowThreads(__tstate); | |
4994 | if (PyErr_Occurred()) SWIG_fail; | |
4995 | } | |
4996 | { | |
4997 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4998 | } | |
4999 | return resultobj; | |
5000 | fail: | |
5001 | return NULL; | |
5002 | } | |
5003 | ||
5004 | ||
5eb8189c | 5005 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5006 | PyObject *resultobj = 0; |
5eb8189c RD |
5007 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5008 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5009 | void *argp1 = 0 ; |
5010 | int res1 = 0 ; | |
5011 | PyObject *swig_obj[1] ; | |
5012 | ||
5013 | if (!args) SWIG_fail; | |
5014 | swig_obj[0] = args; | |
5eb8189c | 5015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5016 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5018 | } |
5eb8189c | 5019 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5020 | { |
5021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5022 | { | |
5eb8189c RD |
5023 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5024 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5025 | } |
5026 | wxPyEndAllowThreads(__tstate); | |
5027 | if (PyErr_Occurred()) SWIG_fail; | |
5028 | } | |
5029 | { | |
5030 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5031 | } | |
5032 | return resultobj; | |
5033 | fail: | |
5034 | return NULL; | |
5035 | } | |
5036 | ||
5037 | ||
5eb8189c | 5038 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5039 | PyObject *resultobj = 0; |
5eb8189c | 5040 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5041 | bool arg2 = (bool) true ; |
5eb8189c | 5042 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5043 | void *argp1 = 0 ; |
5044 | int res1 = 0 ; | |
5045 | bool val2 ; | |
5046 | int ecode2 = 0 ; | |
5047 | PyObject * obj0 = 0 ; | |
5048 | PyObject * obj1 = 0 ; | |
5049 | char * kwnames[] = { | |
5050 | (char *) "self",(char *) "show", NULL | |
5051 | }; | |
5052 | ||
5eb8189c RD |
5053 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5055 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5057 | } |
5eb8189c | 5058 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5059 | if (obj1) { |
5060 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5061 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5062 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5063 | } |
5064 | arg2 = static_cast< bool >(val2); | |
5065 | } | |
5066 | { | |
5067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5068 | { | |
5eb8189c RD |
5069 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5070 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5071 | } |
5072 | wxPyEndAllowThreads(__tstate); | |
5073 | if (PyErr_Occurred()) SWIG_fail; | |
5074 | } | |
5075 | { | |
5076 | resultobj = obj0; Py_INCREF(resultobj); | |
5077 | } | |
5078 | return resultobj; | |
5079 | fail: | |
5080 | return NULL; | |
5081 | } | |
5082 | ||
5083 | ||
5eb8189c | 5084 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5085 | PyObject *resultobj = 0; |
5eb8189c | 5086 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5087 | bool arg2 = (bool) true ; |
5eb8189c | 5088 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5089 | void *argp1 = 0 ; |
5090 | int res1 = 0 ; | |
5091 | bool val2 ; | |
5092 | int ecode2 = 0 ; | |
5093 | PyObject * obj0 = 0 ; | |
5094 | PyObject * obj1 = 0 ; | |
5095 | char * kwnames[] = { | |
5096 | (char *) "self",(char *) "visible", NULL | |
5097 | }; | |
5098 | ||
5eb8189c RD |
5099 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5100 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5101 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5102 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5103 | } |
5eb8189c | 5104 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5105 | if (obj1) { |
5106 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5107 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5108 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5109 | } |
5110 | arg2 = static_cast< bool >(val2); | |
5111 | } | |
5112 | { | |
5113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5114 | { | |
5eb8189c RD |
5115 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5116 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5117 | } |
5118 | wxPyEndAllowThreads(__tstate); | |
5119 | if (PyErr_Occurred()) SWIG_fail; | |
5120 | } | |
5121 | { | |
5122 | resultobj = obj0; Py_INCREF(resultobj); | |
5123 | } | |
5124 | return resultobj; | |
5125 | fail: | |
5126 | return NULL; | |
5127 | } | |
5128 | ||
5129 | ||
5eb8189c RD |
5130 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5131 | PyObject *resultobj = 0; | |
5132 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5133 | wxAuiPaneInfo *result = 0 ; | |
5134 | void *argp1 = 0 ; | |
5135 | int res1 = 0 ; | |
5136 | PyObject *swig_obj[1] ; | |
5137 | ||
5138 | if (!args) SWIG_fail; | |
5139 | swig_obj[0] = args; | |
5140 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5141 | if (!SWIG_IsOK(res1)) { | |
5142 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5143 | } | |
5144 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5145 | { | |
5146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5147 | { | |
5148 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5149 | result = (wxAuiPaneInfo *) &_result_ref; | |
5150 | } | |
5151 | wxPyEndAllowThreads(__tstate); | |
5152 | if (PyErr_Occurred()) SWIG_fail; | |
5153 | } | |
5154 | { | |
5155 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5156 | } | |
5157 | return resultobj; | |
5158 | fail: | |
5159 | return NULL; | |
5160 | } | |
5161 | ||
5162 | ||
5163 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5164 | PyObject *resultobj = 0; |
5eb8189c RD |
5165 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5166 | wxAuiPaneInfo *result = 0 ; | |
5167 | void *argp1 = 0 ; | |
5168 | int res1 = 0 ; | |
5169 | PyObject *swig_obj[1] ; | |
5170 | ||
5171 | if (!args) SWIG_fail; | |
5172 | swig_obj[0] = args; | |
5173 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5174 | if (!SWIG_IsOK(res1)) { | |
5175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5176 | } | |
5177 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5178 | { | |
5179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5180 | { | |
5181 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5182 | result = (wxAuiPaneInfo *) &_result_ref; | |
5183 | } | |
5184 | wxPyEndAllowThreads(__tstate); | |
5185 | if (PyErr_Occurred()) SWIG_fail; | |
5186 | } | |
5187 | { | |
5188 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5189 | } | |
5190 | return resultobj; | |
5191 | fail: | |
5192 | return NULL; | |
5193 | } | |
5194 | ||
5195 | ||
5196 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5197 | PyObject *resultobj = 0; | |
5198 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5199 | bool arg2 = (bool) true ; |
5eb8189c | 5200 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5201 | void *argp1 = 0 ; |
5202 | int res1 = 0 ; | |
5203 | bool val2 ; | |
5204 | int ecode2 = 0 ; | |
5205 | PyObject * obj0 = 0 ; | |
5206 | PyObject * obj1 = 0 ; | |
5207 | char * kwnames[] = { | |
5208 | (char *) "self",(char *) "visible", NULL | |
5209 | }; | |
5210 | ||
5eb8189c RD |
5211 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5212 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5213 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5214 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5215 | } |
5eb8189c | 5216 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5217 | if (obj1) { |
5218 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5219 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5220 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5221 | } |
5222 | arg2 = static_cast< bool >(val2); | |
5223 | } | |
5224 | { | |
5225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5226 | { | |
5eb8189c RD |
5227 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5228 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5229 | } |
5230 | wxPyEndAllowThreads(__tstate); | |
5231 | if (PyErr_Occurred()) SWIG_fail; | |
5232 | } | |
5233 | { | |
5234 | resultobj = obj0; Py_INCREF(resultobj); | |
5235 | } | |
5236 | return resultobj; | |
5237 | fail: | |
5238 | return NULL; | |
5239 | } | |
5240 | ||
5241 | ||
5eb8189c | 5242 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5243 | PyObject *resultobj = 0; |
5eb8189c | 5244 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5245 | bool arg2 = (bool) true ; |
5eb8189c | 5246 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5247 | void *argp1 = 0 ; |
5248 | int res1 = 0 ; | |
5249 | bool val2 ; | |
5250 | int ecode2 = 0 ; | |
5251 | PyObject * obj0 = 0 ; | |
5252 | PyObject * obj1 = 0 ; | |
5253 | char * kwnames[] = { | |
5254 | (char *) "self",(char *) "visible", NULL | |
5255 | }; | |
5256 | ||
5eb8189c RD |
5257 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5258 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5259 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5261 | } |
5eb8189c | 5262 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5263 | if (obj1) { |
5264 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5265 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5266 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5267 | } |
5268 | arg2 = static_cast< bool >(val2); | |
5269 | } | |
5270 | { | |
5271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5272 | { | |
5eb8189c RD |
5273 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5274 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5275 | } |
5276 | wxPyEndAllowThreads(__tstate); | |
5277 | if (PyErr_Occurred()) SWIG_fail; | |
5278 | } | |
5279 | { | |
5280 | resultobj = obj0; Py_INCREF(resultobj); | |
5281 | } | |
5282 | return resultobj; | |
5283 | fail: | |
5284 | return NULL; | |
5285 | } | |
5286 | ||
5287 | ||
5eb8189c | 5288 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5289 | PyObject *resultobj = 0; |
5eb8189c | 5290 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5291 | bool arg2 = (bool) true ; |
5eb8189c | 5292 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5293 | void *argp1 = 0 ; |
5294 | int res1 = 0 ; | |
5295 | bool val2 ; | |
5296 | int ecode2 = 0 ; | |
5297 | PyObject * obj0 = 0 ; | |
5298 | PyObject * obj1 = 0 ; | |
5299 | char * kwnames[] = { | |
5300 | (char *) "self",(char *) "attop", NULL | |
5301 | }; | |
5302 | ||
5eb8189c RD |
5303 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5304 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5305 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5307 | } |
5eb8189c | 5308 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5309 | if (obj1) { |
5310 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5311 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5312 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5313 | } |
5314 | arg2 = static_cast< bool >(val2); | |
5315 | } | |
5316 | { | |
5317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5318 | { | |
5eb8189c RD |
5319 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5320 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5321 | } |
5322 | wxPyEndAllowThreads(__tstate); | |
5323 | if (PyErr_Occurred()) SWIG_fail; | |
5324 | } | |
5325 | { | |
5326 | resultobj = obj0; Py_INCREF(resultobj); | |
5327 | } | |
5328 | return resultobj; | |
5329 | fail: | |
5330 | return NULL; | |
5331 | } | |
5332 | ||
5333 | ||
5eb8189c | 5334 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5335 | PyObject *resultobj = 0; |
5eb8189c | 5336 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5337 | bool arg2 = (bool) true ; |
5eb8189c | 5338 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5339 | void *argp1 = 0 ; |
5340 | int res1 = 0 ; | |
5341 | bool val2 ; | |
5342 | int ecode2 = 0 ; | |
5343 | PyObject * obj0 = 0 ; | |
5344 | PyObject * obj1 = 0 ; | |
5345 | char * kwnames[] = { | |
5346 | (char *) "self",(char *) "visible", NULL | |
5347 | }; | |
5348 | ||
5eb8189c RD |
5349 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5350 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5351 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5353 | } |
5eb8189c | 5354 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5355 | if (obj1) { |
5356 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5357 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5358 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5359 | } |
5360 | arg2 = static_cast< bool >(val2); | |
5361 | } | |
5362 | { | |
5363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5364 | { | |
5eb8189c RD |
5365 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5366 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5367 | } |
5368 | wxPyEndAllowThreads(__tstate); | |
5369 | if (PyErr_Occurred()) SWIG_fail; | |
5370 | } | |
5371 | { | |
5372 | resultobj = obj0; Py_INCREF(resultobj); | |
5373 | } | |
5374 | return resultobj; | |
5375 | fail: | |
5376 | return NULL; | |
5377 | } | |
5378 | ||
5379 | ||
5eb8189c | 5380 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5381 | PyObject *resultobj = 0; |
5eb8189c | 5382 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5383 | bool arg2 = (bool) true ; |
5eb8189c | 5384 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5385 | void *argp1 = 0 ; |
5386 | int res1 = 0 ; | |
5387 | bool val2 ; | |
5388 | int ecode2 = 0 ; | |
5389 | PyObject * obj0 = 0 ; | |
5390 | PyObject * obj1 = 0 ; | |
5391 | char * kwnames[] = { | |
5392 | (char *) "self",(char *) "visible", NULL | |
5393 | }; | |
5394 | ||
5eb8189c RD |
5395 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5396 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5397 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5399 | } |
5eb8189c | 5400 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5401 | if (obj1) { |
5402 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5403 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5404 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5405 | } |
5406 | arg2 = static_cast< bool >(val2); | |
5407 | } | |
5408 | { | |
5409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5410 | { | |
5eb8189c RD |
5411 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5412 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5413 | } |
5414 | wxPyEndAllowThreads(__tstate); | |
5415 | if (PyErr_Occurred()) SWIG_fail; | |
5416 | } | |
5417 | { | |
5418 | resultobj = obj0; Py_INCREF(resultobj); | |
5419 | } | |
5420 | return resultobj; | |
5421 | fail: | |
5422 | return NULL; | |
5423 | } | |
5424 | ||
5425 | ||
5eb8189c | 5426 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5427 | PyObject *resultobj = 0; |
5eb8189c | 5428 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5429 | bool arg2 = (bool) true ; |
5eb8189c | 5430 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5431 | void *argp1 = 0 ; |
5432 | int res1 = 0 ; | |
5433 | bool val2 ; | |
5434 | int ecode2 = 0 ; | |
5435 | PyObject * obj0 = 0 ; | |
5436 | PyObject * obj1 = 0 ; | |
5437 | char * kwnames[] = { | |
5438 | (char *) "self",(char *) "visible", NULL | |
5439 | }; | |
5440 | ||
5eb8189c RD |
5441 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5442 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5443 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5444 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5445 | } |
5eb8189c | 5446 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5447 | if (obj1) { |
5448 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5449 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5450 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5451 | } |
5452 | arg2 = static_cast< bool >(val2); | |
5453 | } | |
5454 | { | |
5455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5456 | { | |
5eb8189c RD |
5457 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5458 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5459 | } |
5460 | wxPyEndAllowThreads(__tstate); | |
5461 | if (PyErr_Occurred()) SWIG_fail; | |
5462 | } | |
5463 | { | |
5464 | resultobj = obj0; Py_INCREF(resultobj); | |
5465 | } | |
5466 | return resultobj; | |
5467 | fail: | |
5468 | return NULL; | |
5469 | } | |
5470 | ||
5471 | ||
5eb8189c | 5472 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5473 | PyObject *resultobj = 0; |
5eb8189c | 5474 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5475 | bool arg2 = (bool) true ; |
5eb8189c | 5476 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5477 | void *argp1 = 0 ; |
5478 | int res1 = 0 ; | |
5479 | bool val2 ; | |
5480 | int ecode2 = 0 ; | |
5481 | PyObject * obj0 = 0 ; | |
5482 | PyObject * obj1 = 0 ; | |
5483 | char * kwnames[] = { | |
5484 | (char *) "self",(char *) "visible", NULL | |
5485 | }; | |
5486 | ||
5eb8189c RD |
5487 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5488 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5489 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5490 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5491 | } |
5eb8189c | 5492 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5493 | if (obj1) { |
5494 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5495 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5496 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5497 | } |
5498 | arg2 = static_cast< bool >(val2); | |
5499 | } | |
5500 | { | |
5501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5502 | { | |
5eb8189c RD |
5503 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5504 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5505 | } |
5506 | wxPyEndAllowThreads(__tstate); | |
5507 | if (PyErr_Occurred()) SWIG_fail; | |
5508 | } | |
5509 | { | |
5510 | resultobj = obj0; Py_INCREF(resultobj); | |
5511 | } | |
5512 | return resultobj; | |
5513 | fail: | |
5514 | return NULL; | |
5515 | } | |
5516 | ||
5517 | ||
5eb8189c | 5518 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5519 | PyObject *resultobj = 0; |
5eb8189c | 5520 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5521 | bool arg2 = (bool) true ; |
5eb8189c | 5522 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5523 | void *argp1 = 0 ; |
5524 | int res1 = 0 ; | |
5525 | bool val2 ; | |
5526 | int ecode2 = 0 ; | |
5527 | PyObject * obj0 = 0 ; | |
5528 | PyObject * obj1 = 0 ; | |
5529 | char * kwnames[] = { | |
5530 | (char *) "self",(char *) "b", NULL | |
5531 | }; | |
5532 | ||
5eb8189c RD |
5533 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5534 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5535 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5537 | } |
5eb8189c | 5538 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5539 | if (obj1) { |
5540 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5541 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5542 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5543 | } |
5544 | arg2 = static_cast< bool >(val2); | |
5545 | } | |
5546 | { | |
5547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5548 | { | |
5eb8189c RD |
5549 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5550 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5551 | } |
5552 | wxPyEndAllowThreads(__tstate); | |
5553 | if (PyErr_Occurred()) SWIG_fail; | |
5554 | } | |
5555 | { | |
5556 | resultobj = obj0; Py_INCREF(resultobj); | |
5557 | } | |
5558 | return resultobj; | |
5559 | fail: | |
5560 | return NULL; | |
5561 | } | |
5562 | ||
5563 | ||
5eb8189c | 5564 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5565 | PyObject *resultobj = 0; |
5eb8189c | 5566 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5567 | bool arg2 = (bool) true ; |
5eb8189c | 5568 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5569 | void *argp1 = 0 ; |
5570 | int res1 = 0 ; | |
5571 | bool val2 ; | |
5572 | int ecode2 = 0 ; | |
5573 | PyObject * obj0 = 0 ; | |
5574 | PyObject * obj1 = 0 ; | |
5575 | char * kwnames[] = { | |
5576 | (char *) "self",(char *) "b", NULL | |
5577 | }; | |
5578 | ||
5eb8189c RD |
5579 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5580 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5581 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5583 | } |
5eb8189c | 5584 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5585 | if (obj1) { |
5586 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5587 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5588 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5589 | } |
5590 | arg2 = static_cast< bool >(val2); | |
5591 | } | |
5592 | { | |
5593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5594 | { | |
5eb8189c RD |
5595 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5596 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5597 | } |
5598 | wxPyEndAllowThreads(__tstate); | |
5599 | if (PyErr_Occurred()) SWIG_fail; | |
5600 | } | |
5601 | { | |
5602 | resultobj = obj0; Py_INCREF(resultobj); | |
5603 | } | |
5604 | return resultobj; | |
5605 | fail: | |
5606 | return NULL; | |
5607 | } | |
5608 | ||
5609 | ||
5eb8189c | 5610 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5611 | PyObject *resultobj = 0; |
5eb8189c | 5612 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5613 | bool arg2 = (bool) true ; |
5eb8189c | 5614 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5615 | void *argp1 = 0 ; |
5616 | int res1 = 0 ; | |
5617 | bool val2 ; | |
5618 | int ecode2 = 0 ; | |
5619 | PyObject * obj0 = 0 ; | |
5620 | PyObject * obj1 = 0 ; | |
5621 | char * kwnames[] = { | |
5622 | (char *) "self",(char *) "b", NULL | |
5623 | }; | |
5624 | ||
5eb8189c RD |
5625 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5626 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5627 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5628 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5629 | } |
5eb8189c | 5630 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5631 | if (obj1) { |
5632 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5633 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5634 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5635 | } |
5636 | arg2 = static_cast< bool >(val2); | |
5637 | } | |
5638 | { | |
5639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5640 | { | |
5eb8189c RD |
5641 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5642 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5643 | } |
5644 | wxPyEndAllowThreads(__tstate); | |
5645 | if (PyErr_Occurred()) SWIG_fail; | |
5646 | } | |
5647 | { | |
5648 | resultobj = obj0; Py_INCREF(resultobj); | |
5649 | } | |
5650 | return resultobj; | |
5651 | fail: | |
5652 | return NULL; | |
5653 | } | |
5654 | ||
5655 | ||
5eb8189c | 5656 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5657 | PyObject *resultobj = 0; |
5eb8189c | 5658 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5659 | bool arg2 = (bool) true ; |
5eb8189c | 5660 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5661 | void *argp1 = 0 ; |
5662 | int res1 = 0 ; | |
5663 | bool val2 ; | |
5664 | int ecode2 = 0 ; | |
5665 | PyObject * obj0 = 0 ; | |
5666 | PyObject * obj1 = 0 ; | |
5667 | char * kwnames[] = { | |
5668 | (char *) "self",(char *) "b", NULL | |
5669 | }; | |
5670 | ||
5eb8189c RD |
5671 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5672 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5673 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5674 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5675 | } |
5eb8189c | 5676 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5677 | if (obj1) { |
5678 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5679 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5680 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5681 | } |
5682 | arg2 = static_cast< bool >(val2); | |
5683 | } | |
5684 | { | |
5685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5686 | { | |
5eb8189c RD |
5687 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5688 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5689 | } |
5690 | wxPyEndAllowThreads(__tstate); | |
5691 | if (PyErr_Occurred()) SWIG_fail; | |
5692 | } | |
5693 | { | |
5694 | resultobj = obj0; Py_INCREF(resultobj); | |
5695 | } | |
5696 | return resultobj; | |
5697 | fail: | |
5698 | return NULL; | |
5699 | } | |
5700 | ||
5701 | ||
5eb8189c | 5702 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5703 | PyObject *resultobj = 0; |
5eb8189c | 5704 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5705 | bool arg2 = (bool) true ; |
5eb8189c | 5706 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5707 | void *argp1 = 0 ; |
5708 | int res1 = 0 ; | |
5709 | bool val2 ; | |
5710 | int ecode2 = 0 ; | |
5711 | PyObject * obj0 = 0 ; | |
5712 | PyObject * obj1 = 0 ; | |
5713 | char * kwnames[] = { | |
5714 | (char *) "self",(char *) "b", NULL | |
5715 | }; | |
5716 | ||
5eb8189c RD |
5717 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5718 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5719 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5721 | } |
5eb8189c | 5722 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5723 | if (obj1) { |
5724 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5725 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5726 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5727 | } |
5728 | arg2 = static_cast< bool >(val2); | |
5729 | } | |
5730 | { | |
5731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5732 | { | |
5eb8189c RD |
5733 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5734 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5735 | } |
5736 | wxPyEndAllowThreads(__tstate); | |
5737 | if (PyErr_Occurred()) SWIG_fail; | |
5738 | } | |
5739 | { | |
5740 | resultobj = obj0; Py_INCREF(resultobj); | |
5741 | } | |
5742 | return resultobj; | |
5743 | fail: | |
5744 | return NULL; | |
5745 | } | |
5746 | ||
5747 | ||
5eb8189c | 5748 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5749 | PyObject *resultobj = 0; |
5eb8189c | 5750 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5751 | bool arg2 = (bool) true ; |
5eb8189c | 5752 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5753 | void *argp1 = 0 ; |
5754 | int res1 = 0 ; | |
5755 | bool val2 ; | |
5756 | int ecode2 = 0 ; | |
5757 | PyObject * obj0 = 0 ; | |
5758 | PyObject * obj1 = 0 ; | |
5759 | char * kwnames[] = { | |
5760 | (char *) "self",(char *) "b", NULL | |
5761 | }; | |
5762 | ||
5eb8189c RD |
5763 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5764 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5765 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5766 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5767 | } |
5eb8189c | 5768 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5769 | if (obj1) { |
5770 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5771 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5772 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5773 | } |
5774 | arg2 = static_cast< bool >(val2); | |
5775 | } | |
5776 | { | |
5777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5778 | { | |
5eb8189c RD |
5779 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5780 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5781 | } |
5782 | wxPyEndAllowThreads(__tstate); | |
5783 | if (PyErr_Occurred()) SWIG_fail; | |
5784 | } | |
5785 | { | |
5786 | resultobj = obj0; Py_INCREF(resultobj); | |
5787 | } | |
5788 | return resultobj; | |
5789 | fail: | |
5790 | return NULL; | |
5791 | } | |
5792 | ||
5793 | ||
5eb8189c | 5794 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5795 | PyObject *resultobj = 0; |
5eb8189c | 5796 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5797 | bool arg2 = (bool) true ; |
5eb8189c | 5798 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5799 | void *argp1 = 0 ; |
5800 | int res1 = 0 ; | |
5801 | bool val2 ; | |
5802 | int ecode2 = 0 ; | |
5803 | PyObject * obj0 = 0 ; | |
5804 | PyObject * obj1 = 0 ; | |
5805 | char * kwnames[] = { | |
5806 | (char *) "self",(char *) "b", NULL | |
5807 | }; | |
5808 | ||
5eb8189c RD |
5809 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5810 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5811 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5812 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5813 | } |
5eb8189c | 5814 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5815 | if (obj1) { |
5816 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5817 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5818 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5819 | } |
5820 | arg2 = static_cast< bool >(val2); | |
5821 | } | |
5822 | { | |
5823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5824 | { | |
5eb8189c RD |
5825 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5826 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5827 | } |
5828 | wxPyEndAllowThreads(__tstate); | |
5829 | if (PyErr_Occurred()) SWIG_fail; | |
5830 | } | |
5831 | { | |
5832 | resultobj = obj0; Py_INCREF(resultobj); | |
5833 | } | |
5834 | return resultobj; | |
5835 | fail: | |
5836 | return NULL; | |
5837 | } | |
5838 | ||
5839 | ||
5eb8189c | 5840 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SaveHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5841 | PyObject *resultobj = 0; |
5eb8189c RD |
5842 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5843 | wxAuiPaneInfo *result = 0 ; | |
5844 | void *argp1 = 0 ; | |
5845 | int res1 = 0 ; | |
5846 | PyObject *swig_obj[1] ; | |
5847 | ||
5848 | if (!args) SWIG_fail; | |
5849 | swig_obj[0] = args; | |
5850 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5851 | if (!SWIG_IsOK(res1)) { | |
5852 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SaveHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5853 | } | |
5854 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5855 | { | |
5856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5857 | { | |
5858 | wxAuiPaneInfo &_result_ref = (arg1)->SaveHidden(); | |
5859 | result = (wxAuiPaneInfo *) &_result_ref; | |
5860 | } | |
5861 | wxPyEndAllowThreads(__tstate); | |
5862 | if (PyErr_Occurred()) SWIG_fail; | |
5863 | } | |
5864 | { | |
5865 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5866 | } | |
5867 | return resultobj; | |
5868 | fail: | |
5869 | return NULL; | |
5870 | } | |
5871 | ||
5872 | ||
5873 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RestoreHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5874 | PyObject *resultobj = 0; | |
5875 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5876 | wxAuiPaneInfo *result = 0 ; | |
5877 | void *argp1 = 0 ; | |
5878 | int res1 = 0 ; | |
5879 | PyObject *swig_obj[1] ; | |
5880 | ||
5881 | if (!args) SWIG_fail; | |
5882 | swig_obj[0] = args; | |
5883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5884 | if (!SWIG_IsOK(res1)) { | |
5885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RestoreHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5886 | } | |
5887 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5888 | { | |
5889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5890 | { | |
5891 | wxAuiPaneInfo &_result_ref = (arg1)->RestoreHidden(); | |
5892 | result = (wxAuiPaneInfo *) &_result_ref; | |
5893 | } | |
5894 | wxPyEndAllowThreads(__tstate); | |
5895 | if (PyErr_Occurred()) SWIG_fail; | |
5896 | } | |
5897 | { | |
5898 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5899 | } | |
5900 | return resultobj; | |
5901 | fail: | |
5902 | return NULL; | |
5903 | } | |
5904 | ||
5905 | ||
5906 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5907 | PyObject *resultobj = 0; | |
5908 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5909 | bool arg2 = (bool) true ; |
5eb8189c | 5910 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5911 | void *argp1 = 0 ; |
5912 | int res1 = 0 ; | |
5913 | bool val2 ; | |
5914 | int ecode2 = 0 ; | |
5915 | PyObject * obj0 = 0 ; | |
5916 | PyObject * obj1 = 0 ; | |
5917 | char * kwnames[] = { | |
5918 | (char *) "self",(char *) "b", NULL | |
5919 | }; | |
5920 | ||
5eb8189c RD |
5921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5923 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5925 | } |
5eb8189c | 5926 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5927 | if (obj1) { |
5928 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5929 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5930 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5931 | } |
5932 | arg2 = static_cast< bool >(val2); | |
5933 | } | |
5934 | { | |
5935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5936 | { | |
5eb8189c RD |
5937 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5938 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5939 | } |
5940 | wxPyEndAllowThreads(__tstate); | |
5941 | if (PyErr_Occurred()) SWIG_fail; | |
5942 | } | |
5943 | { | |
5944 | resultobj = obj0; Py_INCREF(resultobj); | |
5945 | } | |
5946 | return resultobj; | |
5947 | fail: | |
5948 | return NULL; | |
5949 | } | |
5950 | ||
5951 | ||
5eb8189c | 5952 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5953 | PyObject *resultobj = 0; |
5eb8189c RD |
5954 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5955 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5956 | void *argp1 = 0 ; |
5957 | int res1 = 0 ; | |
5958 | PyObject *swig_obj[1] ; | |
5959 | ||
5960 | if (!args) SWIG_fail; | |
5961 | swig_obj[0] = args; | |
5eb8189c | 5962 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5963 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5965 | } |
5eb8189c | 5966 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5967 | { |
5968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5969 | { | |
5eb8189c RD |
5970 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5971 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5972 | } |
5973 | wxPyEndAllowThreads(__tstate); | |
5974 | if (PyErr_Occurred()) SWIG_fail; | |
5975 | } | |
5976 | { | |
5977 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5978 | } | |
5979 | return resultobj; | |
5980 | fail: | |
5981 | return NULL; | |
5982 | } | |
5983 | ||
5984 | ||
5eb8189c | 5985 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5986 | PyObject *resultobj = 0; |
5eb8189c RD |
5987 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5988 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5989 | void *argp1 = 0 ; |
5990 | int res1 = 0 ; | |
5991 | PyObject *swig_obj[1] ; | |
5992 | ||
5993 | if (!args) SWIG_fail; | |
5994 | swig_obj[0] = args; | |
5eb8189c | 5995 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5996 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5998 | } |
5eb8189c | 5999 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6000 | { |
6001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6002 | { | |
5eb8189c RD |
6003 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
6004 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6005 | } |
6006 | wxPyEndAllowThreads(__tstate); | |
6007 | if (PyErr_Occurred()) SWIG_fail; | |
6008 | } | |
6009 | { | |
6010 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6011 | } | |
6012 | return resultobj; | |
6013 | fail: | |
6014 | return NULL; | |
6015 | } | |
6016 | ||
6017 | ||
5eb8189c | 6018 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6019 | PyObject *resultobj = 0; |
5eb8189c RD |
6020 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6021 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6022 | void *argp1 = 0 ; |
6023 | int res1 = 0 ; | |
6024 | PyObject *swig_obj[1] ; | |
6025 | ||
6026 | if (!args) SWIG_fail; | |
6027 | swig_obj[0] = args; | |
5eb8189c | 6028 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6029 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6030 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6031 | } |
5eb8189c | 6032 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6033 | { |
6034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6035 | { | |
5eb8189c RD |
6036 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
6037 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6038 | } |
6039 | wxPyEndAllowThreads(__tstate); | |
6040 | if (PyErr_Occurred()) SWIG_fail; | |
6041 | } | |
6042 | { | |
6043 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6044 | } | |
6045 | return resultobj; | |
6046 | fail: | |
6047 | return NULL; | |
6048 | } | |
6049 | ||
6050 | ||
5eb8189c | 6051 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6052 | PyObject *resultobj = 0; |
5eb8189c RD |
6053 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6054 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6055 | void *argp1 = 0 ; |
6056 | int res1 = 0 ; | |
6057 | PyObject *swig_obj[1] ; | |
6058 | ||
6059 | if (!args) SWIG_fail; | |
6060 | swig_obj[0] = args; | |
5eb8189c | 6061 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6062 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6063 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6064 | } |
5eb8189c | 6065 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6066 | { |
6067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6068 | { | |
5eb8189c RD |
6069 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6070 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6071 | } |
6072 | wxPyEndAllowThreads(__tstate); | |
6073 | if (PyErr_Occurred()) SWIG_fail; | |
6074 | } | |
6075 | { | |
6076 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6077 | } | |
6078 | return resultobj; | |
6079 | fail: | |
6080 | return NULL; | |
6081 | } | |
6082 | ||
6083 | ||
5eb8189c | 6084 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6085 | PyObject *resultobj = 0; |
5eb8189c | 6086 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6087 | int arg2 ; |
6088 | bool arg3 ; | |
5eb8189c | 6089 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6090 | void *argp1 = 0 ; |
6091 | int res1 = 0 ; | |
6092 | int val2 ; | |
6093 | int ecode2 = 0 ; | |
6094 | bool val3 ; | |
6095 | int ecode3 = 0 ; | |
6096 | PyObject * obj0 = 0 ; | |
6097 | PyObject * obj1 = 0 ; | |
6098 | PyObject * obj2 = 0 ; | |
6099 | char * kwnames[] = { | |
6100 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6101 | }; | |
6102 | ||
5eb8189c RD |
6103 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6104 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6105 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6107 | } |
5eb8189c | 6108 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6109 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6110 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6111 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6112 | } |
6113 | arg2 = static_cast< int >(val2); | |
6114 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6115 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6116 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6117 | } |
6118 | arg3 = static_cast< bool >(val3); | |
6119 | { | |
6120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6121 | { | |
5eb8189c RD |
6122 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6123 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6124 | } |
6125 | wxPyEndAllowThreads(__tstate); | |
6126 | if (PyErr_Occurred()) SWIG_fail; | |
6127 | } | |
6128 | { | |
6129 | resultobj = obj0; Py_INCREF(resultobj); | |
6130 | } | |
6131 | return resultobj; | |
6132 | fail: | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
5eb8189c | 6137 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6138 | PyObject *resultobj = 0; |
5eb8189c | 6139 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6140 | int arg2 ; |
6141 | bool result; | |
6142 | void *argp1 = 0 ; | |
6143 | int res1 = 0 ; | |
6144 | int val2 ; | |
6145 | int ecode2 = 0 ; | |
6146 | PyObject * obj0 = 0 ; | |
6147 | PyObject * obj1 = 0 ; | |
6148 | char * kwnames[] = { | |
6149 | (char *) "self",(char *) "flag", NULL | |
6150 | }; | |
6151 | ||
5eb8189c RD |
6152 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6153 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6154 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6155 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6156 | } |
5eb8189c | 6157 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6158 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6159 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6160 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6161 | } |
6162 | arg2 = static_cast< int >(val2); | |
6163 | { | |
6164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6165 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6166 | wxPyEndAllowThreads(__tstate); |
6167 | if (PyErr_Occurred()) SWIG_fail; | |
6168 | } | |
6169 | { | |
6170 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6171 | } | |
6172 | return resultobj; | |
6173 | fail: | |
6174 | return NULL; | |
6175 | } | |
6176 | ||
6177 | ||
5eb8189c | 6178 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6179 | PyObject *resultobj = 0; |
5eb8189c | 6180 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6181 | wxString *arg2 = (wxString *) 0 ; |
6182 | void *argp1 = 0 ; | |
6183 | int res1 = 0 ; | |
6184 | bool temp2 = false ; | |
6185 | PyObject *swig_obj[2] ; | |
6186 | ||
5eb8189c RD |
6187 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6188 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6189 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6190 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6191 | } |
5eb8189c | 6192 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6193 | { |
6194 | arg2 = wxString_in_helper(swig_obj[1]); | |
6195 | if (arg2 == NULL) SWIG_fail; | |
6196 | temp2 = true; | |
6197 | } | |
6198 | if (arg1) (arg1)->name = *arg2; | |
6199 | ||
6200 | resultobj = SWIG_Py_Void(); | |
6201 | { | |
6202 | if (temp2) | |
6203 | delete arg2; | |
6204 | } | |
6205 | return resultobj; | |
6206 | fail: | |
6207 | { | |
6208 | if (temp2) | |
6209 | delete arg2; | |
6210 | } | |
6211 | return NULL; | |
6212 | } | |
6213 | ||
6214 | ||
5eb8189c | 6215 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6216 | PyObject *resultobj = 0; |
5eb8189c | 6217 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6218 | wxString *result = 0 ; |
6219 | void *argp1 = 0 ; | |
6220 | int res1 = 0 ; | |
6221 | PyObject *swig_obj[1] ; | |
6222 | ||
6223 | if (!args) SWIG_fail; | |
6224 | swig_obj[0] = args; | |
5eb8189c | 6225 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6226 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6228 | } |
5eb8189c | 6229 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6230 | result = (wxString *)& ((arg1)->name); |
6231 | { | |
6232 | #if wxUSE_UNICODE | |
6233 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6234 | #else | |
6235 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6236 | #endif | |
6237 | } | |
6238 | return resultobj; | |
6239 | fail: | |
6240 | return NULL; | |
6241 | } | |
6242 | ||
6243 | ||
5eb8189c | 6244 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6245 | PyObject *resultobj = 0; |
5eb8189c | 6246 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6247 | wxString *arg2 = (wxString *) 0 ; |
6248 | void *argp1 = 0 ; | |
6249 | int res1 = 0 ; | |
6250 | bool temp2 = false ; | |
6251 | PyObject *swig_obj[2] ; | |
6252 | ||
5eb8189c RD |
6253 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6254 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6255 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6257 | } |
5eb8189c | 6258 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6259 | { |
6260 | arg2 = wxString_in_helper(swig_obj[1]); | |
6261 | if (arg2 == NULL) SWIG_fail; | |
6262 | temp2 = true; | |
6263 | } | |
6264 | if (arg1) (arg1)->caption = *arg2; | |
6265 | ||
6266 | resultobj = SWIG_Py_Void(); | |
6267 | { | |
6268 | if (temp2) | |
6269 | delete arg2; | |
6270 | } | |
6271 | return resultobj; | |
6272 | fail: | |
6273 | { | |
6274 | if (temp2) | |
6275 | delete arg2; | |
6276 | } | |
6277 | return NULL; | |
6278 | } | |
6279 | ||
6280 | ||
5eb8189c | 6281 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6282 | PyObject *resultobj = 0; |
5eb8189c | 6283 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6284 | wxString *result = 0 ; |
6285 | void *argp1 = 0 ; | |
6286 | int res1 = 0 ; | |
6287 | PyObject *swig_obj[1] ; | |
6288 | ||
6289 | if (!args) SWIG_fail; | |
6290 | swig_obj[0] = args; | |
5eb8189c | 6291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6292 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6294 | } |
5eb8189c | 6295 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6296 | result = (wxString *)& ((arg1)->caption); |
6297 | { | |
6298 | #if wxUSE_UNICODE | |
6299 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6300 | #else | |
6301 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6302 | #endif | |
6303 | } | |
6304 | return resultobj; | |
6305 | fail: | |
6306 | return NULL; | |
6307 | } | |
6308 | ||
6309 | ||
5eb8189c | 6310 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6311 | PyObject *resultobj = 0; |
5eb8189c | 6312 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6313 | wxWindow *arg2 = (wxWindow *) 0 ; |
6314 | void *argp1 = 0 ; | |
6315 | int res1 = 0 ; | |
6316 | void *argp2 = 0 ; | |
6317 | int res2 = 0 ; | |
6318 | PyObject *swig_obj[2] ; | |
6319 | ||
5eb8189c RD |
6320 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6321 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6322 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6324 | } |
5eb8189c | 6325 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6326 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6327 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6328 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6329 | } |
6330 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6331 | if (arg1) (arg1)->window = arg2; | |
6332 | ||
6333 | resultobj = SWIG_Py_Void(); | |
6334 | return resultobj; | |
6335 | fail: | |
6336 | return NULL; | |
6337 | } | |
6338 | ||
6339 | ||
5eb8189c | 6340 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6341 | PyObject *resultobj = 0; |
5eb8189c | 6342 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6343 | wxWindow *result = 0 ; |
6344 | void *argp1 = 0 ; | |
6345 | int res1 = 0 ; | |
6346 | PyObject *swig_obj[1] ; | |
6347 | ||
6348 | if (!args) SWIG_fail; | |
6349 | swig_obj[0] = args; | |
5eb8189c | 6350 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6351 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6353 | } |
5eb8189c | 6354 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6355 | result = (wxWindow *) ((arg1)->window); |
6356 | { | |
6357 | resultobj = wxPyMake_wxObject(result, 0); | |
6358 | } | |
6359 | return resultobj; | |
6360 | fail: | |
6361 | return NULL; | |
6362 | } | |
6363 | ||
6364 | ||
5eb8189c | 6365 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6366 | PyObject *resultobj = 0; |
5eb8189c | 6367 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6368 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6369 | void *argp1 = 0 ; |
6370 | int res1 = 0 ; | |
6371 | void *argp2 = 0 ; | |
6372 | int res2 = 0 ; | |
6373 | PyObject *swig_obj[2] ; | |
6374 | ||
5eb8189c RD |
6375 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6376 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6377 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6379 | } |
5eb8189c | 6380 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6381 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6382 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6383 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6384 | } |
10044bf1 | 6385 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6386 | if (arg1) (arg1)->frame = arg2; |
6387 | ||
6388 | resultobj = SWIG_Py_Void(); | |
6389 | return resultobj; | |
6390 | fail: | |
6391 | return NULL; | |
6392 | } | |
6393 | ||
6394 | ||
5eb8189c | 6395 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6396 | PyObject *resultobj = 0; |
5eb8189c | 6397 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6398 | wxFrame *result = 0 ; |
27e45892 RD |
6399 | void *argp1 = 0 ; |
6400 | int res1 = 0 ; | |
6401 | PyObject *swig_obj[1] ; | |
6402 | ||
6403 | if (!args) SWIG_fail; | |
6404 | swig_obj[0] = args; | |
5eb8189c | 6405 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6406 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6408 | } |
5eb8189c | 6409 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6410 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6411 | { |
6412 | resultobj = wxPyMake_wxObject(result, 0); | |
6413 | } | |
6414 | return resultobj; | |
6415 | fail: | |
6416 | return NULL; | |
6417 | } | |
6418 | ||
6419 | ||
5eb8189c | 6420 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6421 | PyObject *resultobj = 0; |
5eb8189c | 6422 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6423 | int arg2 ; |
6424 | void *argp1 = 0 ; | |
6425 | int res1 = 0 ; | |
6426 | int val2 ; | |
6427 | int ecode2 = 0 ; | |
6428 | PyObject *swig_obj[2] ; | |
6429 | ||
5eb8189c RD |
6430 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6431 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6432 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6434 | } |
5eb8189c | 6435 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6436 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6437 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6438 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6439 | } |
6440 | arg2 = static_cast< int >(val2); | |
6441 | if (arg1) (arg1)->state = arg2; | |
6442 | ||
6443 | resultobj = SWIG_Py_Void(); | |
6444 | return resultobj; | |
6445 | fail: | |
6446 | return NULL; | |
6447 | } | |
6448 | ||
6449 | ||
5eb8189c | 6450 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6451 | PyObject *resultobj = 0; |
5eb8189c | 6452 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6453 | int result; |
6454 | void *argp1 = 0 ; | |
6455 | int res1 = 0 ; | |
6456 | PyObject *swig_obj[1] ; | |
6457 | ||
6458 | if (!args) SWIG_fail; | |
6459 | swig_obj[0] = args; | |
5eb8189c | 6460 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6461 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6462 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6463 | } |
5eb8189c | 6464 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6465 | result = (int) ((arg1)->state); |
6466 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6467 | return resultobj; | |
6468 | fail: | |
6469 | return NULL; | |
6470 | } | |
6471 | ||
6472 | ||
5eb8189c | 6473 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6474 | PyObject *resultobj = 0; |
5eb8189c | 6475 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6476 | int arg2 ; |
6477 | void *argp1 = 0 ; | |
6478 | int res1 = 0 ; | |
6479 | int val2 ; | |
6480 | int ecode2 = 0 ; | |
6481 | PyObject *swig_obj[2] ; | |
6482 | ||
5eb8189c RD |
6483 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6484 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6485 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6486 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6487 | } |
5eb8189c | 6488 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6489 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6490 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6491 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6492 | } |
6493 | arg2 = static_cast< int >(val2); | |
6494 | if (arg1) (arg1)->dock_direction = arg2; | |
6495 | ||
6496 | resultobj = SWIG_Py_Void(); | |
6497 | return resultobj; | |
6498 | fail: | |
6499 | return NULL; | |
6500 | } | |
6501 | ||
6502 | ||
5eb8189c | 6503 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6504 | PyObject *resultobj = 0; |
5eb8189c | 6505 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6506 | int result; |
6507 | void *argp1 = 0 ; | |
6508 | int res1 = 0 ; | |
6509 | PyObject *swig_obj[1] ; | |
6510 | ||
6511 | if (!args) SWIG_fail; | |
6512 | swig_obj[0] = args; | |
5eb8189c | 6513 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6514 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6515 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6516 | } |
5eb8189c | 6517 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6518 | result = (int) ((arg1)->dock_direction); |
6519 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6520 | return resultobj; | |
6521 | fail: | |
6522 | return NULL; | |
6523 | } | |
6524 | ||
6525 | ||
5eb8189c | 6526 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6527 | PyObject *resultobj = 0; |
5eb8189c | 6528 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6529 | int arg2 ; |
6530 | void *argp1 = 0 ; | |
6531 | int res1 = 0 ; | |
6532 | int val2 ; | |
6533 | int ecode2 = 0 ; | |
6534 | PyObject *swig_obj[2] ; | |
6535 | ||
5eb8189c RD |
6536 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6537 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6538 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6540 | } |
5eb8189c | 6541 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6542 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6543 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6544 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6545 | } |
6546 | arg2 = static_cast< int >(val2); | |
6547 | if (arg1) (arg1)->dock_layer = arg2; | |
6548 | ||
6549 | resultobj = SWIG_Py_Void(); | |
6550 | return resultobj; | |
6551 | fail: | |
6552 | return NULL; | |
6553 | } | |
6554 | ||
6555 | ||
5eb8189c | 6556 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6557 | PyObject *resultobj = 0; |
5eb8189c | 6558 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6559 | int result; |
6560 | void *argp1 = 0 ; | |
6561 | int res1 = 0 ; | |
6562 | PyObject *swig_obj[1] ; | |
6563 | ||
6564 | if (!args) SWIG_fail; | |
6565 | swig_obj[0] = args; | |
5eb8189c | 6566 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6567 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6568 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6569 | } |
5eb8189c | 6570 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6571 | result = (int) ((arg1)->dock_layer); |
6572 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6573 | return resultobj; | |
6574 | fail: | |
6575 | return NULL; | |
6576 | } | |
6577 | ||
6578 | ||
5eb8189c | 6579 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6580 | PyObject *resultobj = 0; |
5eb8189c | 6581 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6582 | int arg2 ; |
6583 | void *argp1 = 0 ; | |
6584 | int res1 = 0 ; | |
6585 | int val2 ; | |
6586 | int ecode2 = 0 ; | |
6587 | PyObject *swig_obj[2] ; | |
6588 | ||
5eb8189c RD |
6589 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6590 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6591 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6593 | } |
5eb8189c | 6594 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6595 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6596 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6597 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6598 | } |
6599 | arg2 = static_cast< int >(val2); | |
6600 | if (arg1) (arg1)->dock_row = arg2; | |
6601 | ||
6602 | resultobj = SWIG_Py_Void(); | |
6603 | return resultobj; | |
6604 | fail: | |
6605 | return NULL; | |
6606 | } | |
6607 | ||
6608 | ||
5eb8189c | 6609 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6610 | PyObject *resultobj = 0; |
5eb8189c | 6611 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6612 | int result; |
6613 | void *argp1 = 0 ; | |
6614 | int res1 = 0 ; | |
6615 | PyObject *swig_obj[1] ; | |
6616 | ||
6617 | if (!args) SWIG_fail; | |
6618 | swig_obj[0] = args; | |
5eb8189c | 6619 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6620 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6621 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6622 | } |
5eb8189c | 6623 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6624 | result = (int) ((arg1)->dock_row); |
6625 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6626 | return resultobj; | |
6627 | fail: | |
6628 | return NULL; | |
6629 | } | |
6630 | ||
6631 | ||
5eb8189c | 6632 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6633 | PyObject *resultobj = 0; |
5eb8189c | 6634 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6635 | int arg2 ; |
6636 | void *argp1 = 0 ; | |
6637 | int res1 = 0 ; | |
6638 | int val2 ; | |
6639 | int ecode2 = 0 ; | |
6640 | PyObject *swig_obj[2] ; | |
6641 | ||
5eb8189c RD |
6642 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6644 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6646 | } |
5eb8189c | 6647 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6648 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6649 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6650 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6651 | } |
6652 | arg2 = static_cast< int >(val2); | |
6653 | if (arg1) (arg1)->dock_pos = arg2; | |
6654 | ||
6655 | resultobj = SWIG_Py_Void(); | |
6656 | return resultobj; | |
6657 | fail: | |
6658 | return NULL; | |
6659 | } | |
6660 | ||
6661 | ||
5eb8189c | 6662 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6663 | PyObject *resultobj = 0; |
5eb8189c | 6664 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6665 | int result; |
6666 | void *argp1 = 0 ; | |
6667 | int res1 = 0 ; | |
6668 | PyObject *swig_obj[1] ; | |
6669 | ||
6670 | if (!args) SWIG_fail; | |
6671 | swig_obj[0] = args; | |
5eb8189c | 6672 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6673 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6674 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6675 | } |
5eb8189c | 6676 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6677 | result = (int) ((arg1)->dock_pos); |
6678 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6679 | return resultobj; | |
6680 | fail: | |
6681 | return NULL; | |
6682 | } | |
6683 | ||
6684 | ||
5eb8189c | 6685 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6686 | PyObject *resultobj = 0; |
5eb8189c | 6687 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6688 | wxSize *arg2 = (wxSize *) 0 ; |
6689 | void *argp1 = 0 ; | |
6690 | int res1 = 0 ; | |
6691 | void *argp2 = 0 ; | |
6692 | int res2 = 0 ; | |
6693 | PyObject *swig_obj[2] ; | |
6694 | ||
5eb8189c RD |
6695 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6696 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6697 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6699 | } |
5eb8189c | 6700 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6701 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6702 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6703 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6704 | } |
6705 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6706 | if (arg1) (arg1)->best_size = *arg2; | |
6707 | ||
6708 | resultobj = SWIG_Py_Void(); | |
6709 | return resultobj; | |
6710 | fail: | |
6711 | return NULL; | |
6712 | } | |
6713 | ||
6714 | ||
5eb8189c | 6715 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6716 | PyObject *resultobj = 0; |
5eb8189c | 6717 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6718 | wxSize *result = 0 ; |
6719 | void *argp1 = 0 ; | |
6720 | int res1 = 0 ; | |
6721 | PyObject *swig_obj[1] ; | |
6722 | ||
6723 | if (!args) SWIG_fail; | |
6724 | swig_obj[0] = args; | |
5eb8189c | 6725 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6726 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6728 | } |
5eb8189c | 6729 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6730 | result = (wxSize *)& ((arg1)->best_size); |
6731 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6732 | return resultobj; | |
6733 | fail: | |
6734 | return NULL; | |
6735 | } | |
6736 | ||
6737 | ||
5eb8189c | 6738 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6739 | PyObject *resultobj = 0; |
5eb8189c | 6740 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6741 | wxSize *arg2 = (wxSize *) 0 ; |
6742 | void *argp1 = 0 ; | |
6743 | int res1 = 0 ; | |
6744 | void *argp2 = 0 ; | |
6745 | int res2 = 0 ; | |
6746 | PyObject *swig_obj[2] ; | |
6747 | ||
5eb8189c RD |
6748 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6749 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6752 | } |
5eb8189c | 6753 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6754 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6755 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6756 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6757 | } |
6758 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6759 | if (arg1) (arg1)->min_size = *arg2; | |
6760 | ||
6761 | resultobj = SWIG_Py_Void(); | |
6762 | return resultobj; | |
6763 | fail: | |
6764 | return NULL; | |
6765 | } | |
6766 | ||
6767 | ||
5eb8189c | 6768 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6769 | PyObject *resultobj = 0; |
5eb8189c | 6770 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6771 | wxSize *result = 0 ; |
6772 | void *argp1 = 0 ; | |
6773 | int res1 = 0 ; | |
6774 | PyObject *swig_obj[1] ; | |
6775 | ||
6776 | if (!args) SWIG_fail; | |
6777 | swig_obj[0] = args; | |
5eb8189c | 6778 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6779 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6780 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6781 | } |
5eb8189c | 6782 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6783 | result = (wxSize *)& ((arg1)->min_size); |
6784 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6785 | return resultobj; | |
6786 | fail: | |
6787 | return NULL; | |
6788 | } | |
6789 | ||
6790 | ||
5eb8189c | 6791 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6792 | PyObject *resultobj = 0; |
5eb8189c | 6793 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6794 | wxSize *arg2 = (wxSize *) 0 ; |
6795 | void *argp1 = 0 ; | |
6796 | int res1 = 0 ; | |
6797 | void *argp2 = 0 ; | |
6798 | int res2 = 0 ; | |
6799 | PyObject *swig_obj[2] ; | |
6800 | ||
5eb8189c RD |
6801 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6802 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6803 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6804 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6805 | } |
5eb8189c | 6806 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6807 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6808 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6809 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6810 | } |
6811 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6812 | if (arg1) (arg1)->max_size = *arg2; | |
6813 | ||
6814 | resultobj = SWIG_Py_Void(); | |
6815 | return resultobj; | |
6816 | fail: | |
6817 | return NULL; | |
6818 | } | |
6819 | ||
6820 | ||
5eb8189c | 6821 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6822 | PyObject *resultobj = 0; |
5eb8189c | 6823 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6824 | wxSize *result = 0 ; |
6825 | void *argp1 = 0 ; | |
6826 | int res1 = 0 ; | |
6827 | PyObject *swig_obj[1] ; | |
6828 | ||
6829 | if (!args) SWIG_fail; | |
6830 | swig_obj[0] = args; | |
5eb8189c | 6831 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6832 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6833 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6834 | } |
5eb8189c | 6835 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6836 | result = (wxSize *)& ((arg1)->max_size); |
6837 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6838 | return resultobj; | |
6839 | fail: | |
6840 | return NULL; | |
6841 | } | |
6842 | ||
6843 | ||
5eb8189c | 6844 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6845 | PyObject *resultobj = 0; |
5eb8189c | 6846 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6847 | wxPoint *arg2 = (wxPoint *) 0 ; |
6848 | void *argp1 = 0 ; | |
6849 | int res1 = 0 ; | |
6850 | void *argp2 = 0 ; | |
6851 | int res2 = 0 ; | |
6852 | PyObject *swig_obj[2] ; | |
6853 | ||
5eb8189c RD |
6854 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6855 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6856 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6858 | } |
5eb8189c | 6859 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6860 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6861 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6862 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6863 | } |
6864 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6865 | if (arg1) (arg1)->floating_pos = *arg2; | |
6866 | ||
6867 | resultobj = SWIG_Py_Void(); | |
6868 | return resultobj; | |
6869 | fail: | |
6870 | return NULL; | |
6871 | } | |
6872 | ||
6873 | ||
5eb8189c | 6874 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6875 | PyObject *resultobj = 0; |
5eb8189c | 6876 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6877 | wxPoint *result = 0 ; |
6878 | void *argp1 = 0 ; | |
6879 | int res1 = 0 ; | |
6880 | PyObject *swig_obj[1] ; | |
6881 | ||
6882 | if (!args) SWIG_fail; | |
6883 | swig_obj[0] = args; | |
5eb8189c | 6884 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6885 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6886 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6887 | } |
5eb8189c | 6888 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6889 | result = (wxPoint *)& ((arg1)->floating_pos); |
6890 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6891 | return resultobj; | |
6892 | fail: | |
6893 | return NULL; | |
6894 | } | |
6895 | ||
6896 | ||
5eb8189c | 6897 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6898 | PyObject *resultobj = 0; |
5eb8189c | 6899 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6900 | wxSize *arg2 = (wxSize *) 0 ; |
6901 | void *argp1 = 0 ; | |
6902 | int res1 = 0 ; | |
6903 | void *argp2 = 0 ; | |
6904 | int res2 = 0 ; | |
6905 | PyObject *swig_obj[2] ; | |
6906 | ||
5eb8189c RD |
6907 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6908 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6909 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6911 | } |
5eb8189c | 6912 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6913 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6914 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6915 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6916 | } |
6917 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6918 | if (arg1) (arg1)->floating_size = *arg2; | |
6919 | ||
6920 | resultobj = SWIG_Py_Void(); | |
6921 | return resultobj; | |
6922 | fail: | |
6923 | return NULL; | |
6924 | } | |
6925 | ||
6926 | ||
5eb8189c | 6927 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6928 | PyObject *resultobj = 0; |
5eb8189c | 6929 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6930 | wxSize *result = 0 ; |
6931 | void *argp1 = 0 ; | |
6932 | int res1 = 0 ; | |
6933 | PyObject *swig_obj[1] ; | |
6934 | ||
6935 | if (!args) SWIG_fail; | |
6936 | swig_obj[0] = args; | |
5eb8189c | 6937 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6938 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6939 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6940 | } |
5eb8189c | 6941 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6942 | result = (wxSize *)& ((arg1)->floating_size); |
6943 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6944 | return resultobj; | |
6945 | fail: | |
6946 | return NULL; | |
6947 | } | |
6948 | ||
6949 | ||
5eb8189c | 6950 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6951 | PyObject *resultobj = 0; |
5eb8189c | 6952 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6953 | int arg2 ; |
6954 | void *argp1 = 0 ; | |
6955 | int res1 = 0 ; | |
6956 | int val2 ; | |
6957 | int ecode2 = 0 ; | |
6958 | PyObject *swig_obj[2] ; | |
6959 | ||
5eb8189c RD |
6960 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6961 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6962 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6964 | } |
5eb8189c | 6965 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6966 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6967 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6968 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6969 | } |
6970 | arg2 = static_cast< int >(val2); | |
6971 | if (arg1) (arg1)->dock_proportion = arg2; | |
6972 | ||
6973 | resultobj = SWIG_Py_Void(); | |
6974 | return resultobj; | |
6975 | fail: | |
6976 | return NULL; | |
6977 | } | |
6978 | ||
6979 | ||
5eb8189c | 6980 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6981 | PyObject *resultobj = 0; |
5eb8189c | 6982 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6983 | int result; |
6984 | void *argp1 = 0 ; | |
6985 | int res1 = 0 ; | |
6986 | PyObject *swig_obj[1] ; | |
6987 | ||
6988 | if (!args) SWIG_fail; | |
6989 | swig_obj[0] = args; | |
5eb8189c | 6990 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6991 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6993 | } |
5eb8189c | 6994 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6995 | result = (int) ((arg1)->dock_proportion); |
6996 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6997 | return resultobj; | |
6998 | fail: | |
6999 | return NULL; | |
7000 | } | |
7001 | ||
7002 | ||
5eb8189c | 7003 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7004 | PyObject *resultobj = 0; |
5eb8189c RD |
7005 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
7006 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
7007 | void *argp1 = 0 ; |
7008 | int res1 = 0 ; | |
7009 | void *argp2 ; | |
7010 | int res2 = 0 ; | |
7011 | PyObject *swig_obj[2] ; | |
7012 | ||
5eb8189c RD |
7013 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
7014 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7015 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7016 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7017 | } |
5eb8189c | 7018 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7019 | { |
5eb8189c | 7020 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 7021 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7022 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
7023 | } |
7024 | if (!argp2) { | |
5eb8189c | 7025 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 7026 | } else { |
5eb8189c | 7027 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
7028 | arg2 = *temp; |
7029 | if (SWIG_IsNewObj(res2)) delete temp; | |
7030 | } | |
7031 | } | |
7032 | if (arg1) (arg1)->buttons = arg2; | |
7033 | ||
7034 | resultobj = SWIG_Py_Void(); | |
7035 | return resultobj; | |
7036 | fail: | |
7037 | return NULL; | |
7038 | } | |
7039 | ||
7040 | ||
5eb8189c | 7041 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7042 | PyObject *resultobj = 0; |
5eb8189c RD |
7043 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
7044 | wxAuiPaneButtonArray result; | |
27e45892 RD |
7045 | void *argp1 = 0 ; |
7046 | int res1 = 0 ; | |
7047 | PyObject *swig_obj[1] ; | |
7048 | ||
7049 | if (!args) SWIG_fail; | |
7050 | swig_obj[0] = args; | |
5eb8189c | 7051 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7052 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7054 | } |
5eb8189c | 7055 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7056 | result = ((arg1)->buttons); |
5eb8189c | 7057 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7058 | return resultobj; |
7059 | fail: | |
7060 | return NULL; | |
7061 | } | |
7062 | ||
7063 | ||
5eb8189c | 7064 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7065 | PyObject *resultobj = 0; |
5eb8189c | 7066 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7067 | wxRect *arg2 = (wxRect *) 0 ; |
7068 | void *argp1 = 0 ; | |
7069 | int res1 = 0 ; | |
7070 | void *argp2 = 0 ; | |
7071 | int res2 = 0 ; | |
7072 | PyObject *swig_obj[2] ; | |
7073 | ||
5eb8189c RD |
7074 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7075 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7076 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7078 | } |
5eb8189c | 7079 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7080 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7081 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7082 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7083 | } |
7084 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7085 | if (arg1) (arg1)->rect = *arg2; | |
7086 | ||
7087 | resultobj = SWIG_Py_Void(); | |
7088 | return resultobj; | |
7089 | fail: | |
7090 | return NULL; | |
7091 | } | |
7092 | ||
7093 | ||
5eb8189c | 7094 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7095 | PyObject *resultobj = 0; |
5eb8189c | 7096 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7097 | wxRect *result = 0 ; |
7098 | void *argp1 = 0 ; | |
7099 | int res1 = 0 ; | |
7100 | PyObject *swig_obj[1] ; | |
7101 | ||
7102 | if (!args) SWIG_fail; | |
7103 | swig_obj[0] = args; | |
5eb8189c | 7104 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7105 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7107 | } |
5eb8189c | 7108 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7109 | result = (wxRect *)& ((arg1)->rect); |
7110 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7111 | return resultobj; | |
7112 | fail: | |
7113 | return NULL; | |
7114 | } | |
7115 | ||
7116 | ||
5eb8189c | 7117 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7118 | PyObject *obj; |
7119 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7120 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7121 | return SWIG_Py_Void(); |
7122 | } | |
7123 | ||
5eb8189c | 7124 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7125 | return SWIG_Python_InitShadowInstance(args); |
7126 | } | |
7127 | ||
5eb8189c | 7128 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7129 | PyObject *resultobj = 0; |
10044bf1 | 7130 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7131 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7132 | wxAuiManager *result = 0 ; |
27e45892 RD |
7133 | void *argp1 = 0 ; |
7134 | int res1 = 0 ; | |
7135 | int val2 ; | |
7136 | int ecode2 = 0 ; | |
7137 | PyObject * obj0 = 0 ; | |
7138 | PyObject * obj1 = 0 ; | |
7139 | char * kwnames[] = { | |
10044bf1 | 7140 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7141 | }; |
7142 | ||
5eb8189c | 7143 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7144 | if (obj0) { |
10044bf1 | 7145 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7146 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7148 | } |
10044bf1 | 7149 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7150 | } |
7151 | if (obj1) { | |
7152 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7153 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7154 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7155 | } |
7156 | arg2 = static_cast< int >(val2); | |
7157 | } | |
7158 | { | |
7159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7160 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7161 | wxPyEndAllowThreads(__tstate); |
7162 | if (PyErr_Occurred()) SWIG_fail; | |
7163 | } | |
5eb8189c | 7164 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7165 | return resultobj; |
7166 | fail: | |
7167 | return NULL; | |
7168 | } | |
7169 | ||
7170 | ||
5eb8189c | 7171 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7172 | PyObject *resultobj = 0; |
5eb8189c | 7173 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7174 | void *argp1 = 0 ; |
7175 | int res1 = 0 ; | |
7176 | PyObject *swig_obj[1] ; | |
7177 | ||
7178 | if (!args) SWIG_fail; | |
7179 | swig_obj[0] = args; | |
5eb8189c | 7180 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7181 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7183 | } |
5eb8189c | 7184 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7185 | { |
7186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7187 | delete arg1; | |
7188 | ||
7189 | wxPyEndAllowThreads(__tstate); | |
7190 | if (PyErr_Occurred()) SWIG_fail; | |
7191 | } | |
7192 | resultobj = SWIG_Py_Void(); | |
7193 | return resultobj; | |
7194 | fail: | |
7195 | return NULL; | |
7196 | } | |
7197 | ||
7198 | ||
5eb8189c | 7199 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7200 | PyObject *resultobj = 0; |
5eb8189c | 7201 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7202 | void *argp1 = 0 ; |
7203 | int res1 = 0 ; | |
7204 | PyObject *swig_obj[1] ; | |
7205 | ||
7206 | if (!args) SWIG_fail; | |
7207 | swig_obj[0] = args; | |
5eb8189c | 7208 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7209 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7210 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7211 | } |
5eb8189c | 7212 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7213 | { |
7214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7215 | (arg1)->UnInit(); | |
7216 | wxPyEndAllowThreads(__tstate); | |
7217 | if (PyErr_Occurred()) SWIG_fail; | |
7218 | } | |
7219 | resultobj = SWIG_Py_Void(); | |
7220 | return resultobj; | |
7221 | fail: | |
7222 | return NULL; | |
7223 | } | |
7224 | ||
7225 | ||
5eb8189c | 7226 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7227 | PyObject *resultobj = 0; |
5eb8189c | 7228 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7229 | int arg2 ; |
7230 | void *argp1 = 0 ; | |
7231 | int res1 = 0 ; | |
7232 | int val2 ; | |
7233 | int ecode2 = 0 ; | |
7234 | PyObject * obj0 = 0 ; | |
7235 | PyObject * obj1 = 0 ; | |
7236 | char * kwnames[] = { | |
7237 | (char *) "self",(char *) "flags", NULL | |
7238 | }; | |
7239 | ||
5eb8189c RD |
7240 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7241 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7242 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7243 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7244 | } |
5eb8189c | 7245 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7246 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7247 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7248 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7249 | } |
7250 | arg2 = static_cast< int >(val2); | |
7251 | { | |
7252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7253 | (arg1)->SetFlags(arg2); | |
7254 | wxPyEndAllowThreads(__tstate); | |
7255 | if (PyErr_Occurred()) SWIG_fail; | |
7256 | } | |
7257 | resultobj = SWIG_Py_Void(); | |
7258 | return resultobj; | |
7259 | fail: | |
7260 | return NULL; | |
7261 | } | |
7262 | ||
7263 | ||
5eb8189c | 7264 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7265 | PyObject *resultobj = 0; |
5eb8189c | 7266 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7267 | int result; |
7268 | void *argp1 = 0 ; | |
7269 | int res1 = 0 ; | |
7270 | PyObject *swig_obj[1] ; | |
7271 | ||
7272 | if (!args) SWIG_fail; | |
7273 | swig_obj[0] = args; | |
5eb8189c | 7274 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7275 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7277 | } |
5eb8189c | 7278 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7279 | { |
7280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7281 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7282 | wxPyEndAllowThreads(__tstate); |
7283 | if (PyErr_Occurred()) SWIG_fail; | |
7284 | } | |
7285 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7286 | return resultobj; | |
7287 | fail: | |
7288 | return NULL; | |
7289 | } | |
7290 | ||
7291 | ||
5eb8189c | 7292 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7293 | PyObject *resultobj = 0; |
5eb8189c | 7294 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7295 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7296 | void *argp1 = 0 ; |
7297 | int res1 = 0 ; | |
7298 | void *argp2 = 0 ; | |
7299 | int res2 = 0 ; | |
7300 | PyObject * obj0 = 0 ; | |
7301 | PyObject * obj1 = 0 ; | |
7302 | char * kwnames[] = { | |
10044bf1 | 7303 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7304 | }; |
7305 | ||
5eb8189c RD |
7306 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7307 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7308 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7310 | } |
5eb8189c | 7311 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7312 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7313 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7314 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7315 | } |
1d5ee749 | 7316 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7317 | { |
7318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7319 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7320 | wxPyEndAllowThreads(__tstate); |
7321 | if (PyErr_Occurred()) SWIG_fail; | |
7322 | } | |
7323 | resultobj = SWIG_Py_Void(); | |
7324 | return resultobj; | |
7325 | fail: | |
7326 | return NULL; | |
7327 | } | |
7328 | ||
7329 | ||
5eb8189c | 7330 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7331 | PyObject *resultobj = 0; |
5eb8189c | 7332 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7333 | wxWindow *result = 0 ; |
27e45892 RD |
7334 | void *argp1 = 0 ; |
7335 | int res1 = 0 ; | |
7336 | PyObject *swig_obj[1] ; | |
7337 | ||
7338 | if (!args) SWIG_fail; | |
7339 | swig_obj[0] = args; | |
5eb8189c | 7340 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7341 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7343 | } |
5eb8189c | 7344 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7345 | { |
7346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7347 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7348 | wxPyEndAllowThreads(__tstate); |
7349 | if (PyErr_Occurred()) SWIG_fail; | |
7350 | } | |
7351 | { | |
7352 | resultobj = wxPyMake_wxObject(result, 0); | |
7353 | } | |
7354 | return resultobj; | |
7355 | fail: | |
7356 | return NULL; | |
7357 | } | |
7358 | ||
7359 | ||
5eb8189c | 7360 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7361 | PyObject *resultobj = 0; |
5eb8189c RD |
7362 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7363 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7364 | void *argp1 = 0 ; |
7365 | int res1 = 0 ; | |
7366 | int res2 = 0 ; | |
7367 | PyObject * obj0 = 0 ; | |
7368 | PyObject * obj1 = 0 ; | |
7369 | char * kwnames[] = { | |
7370 | (char *) "self",(char *) "art_provider", NULL | |
7371 | }; | |
7372 | ||
5eb8189c RD |
7373 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7374 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7375 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7377 | } |
5eb8189c RD |
7378 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7379 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7380 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7381 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7382 | } |
7383 | { | |
7384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7385 | (arg1)->SetArtProvider(arg2); | |
7386 | wxPyEndAllowThreads(__tstate); | |
7387 | if (PyErr_Occurred()) SWIG_fail; | |
7388 | } | |
7389 | resultobj = SWIG_Py_Void(); | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | return NULL; | |
7393 | } | |
7394 | ||
7395 | ||
5eb8189c | 7396 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7397 | PyObject *resultobj = 0; |
5eb8189c RD |
7398 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7399 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7400 | void *argp1 = 0 ; |
7401 | int res1 = 0 ; | |
7402 | PyObject *swig_obj[1] ; | |
7403 | ||
7404 | if (!args) SWIG_fail; | |
7405 | swig_obj[0] = args; | |
5eb8189c | 7406 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7407 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7409 | } |
5eb8189c | 7410 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7411 | { |
7412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7413 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7414 | wxPyEndAllowThreads(__tstate); |
7415 | if (PyErr_Occurred()) SWIG_fail; | |
7416 | } | |
5eb8189c | 7417 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7418 | return resultobj; |
7419 | fail: | |
7420 | return NULL; | |
7421 | } | |
7422 | ||
7423 | ||
5eb8189c | 7424 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7425 | PyObject *resultobj = 0; |
5eb8189c | 7426 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7427 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7428 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7429 | void *argp1 = 0 ; |
7430 | int res1 = 0 ; | |
7431 | void *argp2 = 0 ; | |
7432 | int res2 = 0 ; | |
7433 | PyObject * obj0 = 0 ; | |
7434 | PyObject * obj1 = 0 ; | |
7435 | char * kwnames[] = { | |
7436 | (char *) "self",(char *) "window", NULL | |
7437 | }; | |
7438 | ||
5eb8189c RD |
7439 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7440 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7441 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7442 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7443 | } |
5eb8189c | 7444 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7445 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7446 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7447 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7448 | } |
7449 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7450 | { | |
7451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7452 | { | |
5eb8189c RD |
7453 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7454 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7455 | } |
7456 | wxPyEndAllowThreads(__tstate); | |
7457 | if (PyErr_Occurred()) SWIG_fail; | |
7458 | } | |
5eb8189c | 7459 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7460 | return resultobj; |
7461 | fail: | |
7462 | return NULL; | |
7463 | } | |
7464 | ||
7465 | ||
5eb8189c | 7466 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7467 | PyObject *resultobj = 0; |
5eb8189c | 7468 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7469 | wxString *arg2 = 0 ; |
5eb8189c | 7470 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7471 | void *argp1 = 0 ; |
7472 | int res1 = 0 ; | |
7473 | bool temp2 = false ; | |
7474 | PyObject * obj0 = 0 ; | |
7475 | PyObject * obj1 = 0 ; | |
7476 | char * kwnames[] = { | |
7477 | (char *) "self",(char *) "name", NULL | |
7478 | }; | |
7479 | ||
5eb8189c RD |
7480 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7481 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7482 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7483 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7484 | } |
5eb8189c | 7485 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7486 | { |
7487 | arg2 = wxString_in_helper(obj1); | |
7488 | if (arg2 == NULL) SWIG_fail; | |
7489 | temp2 = true; | |
7490 | } | |
7491 | { | |
7492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7493 | { | |
5eb8189c RD |
7494 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7495 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7496 | } |
7497 | wxPyEndAllowThreads(__tstate); | |
7498 | if (PyErr_Occurred()) SWIG_fail; | |
7499 | } | |
5eb8189c | 7500 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7501 | { |
7502 | if (temp2) | |
7503 | delete arg2; | |
7504 | } | |
7505 | return resultobj; | |
7506 | fail: | |
7507 | { | |
7508 | if (temp2) | |
7509 | delete arg2; | |
7510 | } | |
7511 | return NULL; | |
7512 | } | |
7513 | ||
7514 | ||
5eb8189c | 7515 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7516 | PyObject *resultobj = 0; |
5eb8189c RD |
7517 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7518 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7519 | void *argp1 = 0 ; |
7520 | int res1 = 0 ; | |
7521 | PyObject *swig_obj[1] ; | |
7522 | ||
7523 | if (!args) SWIG_fail; | |
7524 | swig_obj[0] = args; | |
5eb8189c | 7525 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7526 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7528 | } |
5eb8189c | 7529 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7530 | { |
7531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7532 | { | |
5eb8189c RD |
7533 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7534 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7535 | } |
7536 | wxPyEndAllowThreads(__tstate); | |
7537 | if (PyErr_Occurred()) SWIG_fail; | |
7538 | } | |
7539 | { | |
7540 | resultobj = PyList_New(0); | |
7541 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7542 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7543 | PyList_Append(resultobj, pane_obj); |
7544 | } | |
7545 | } | |
7546 | return resultobj; | |
7547 | fail: | |
7548 | return NULL; | |
7549 | } | |
7550 | ||
7551 | ||
36cb9ebe | 7552 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7553 | PyObject *resultobj = 0; |
5eb8189c | 7554 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7555 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7556 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7557 | bool result; |
7558 | void *argp1 = 0 ; | |
7559 | int res1 = 0 ; | |
7560 | void *argp2 = 0 ; | |
7561 | int res2 = 0 ; | |
7562 | void *argp3 = 0 ; | |
7563 | int res3 = 0 ; | |
36cb9ebe RD |
7564 | PyObject * obj0 = 0 ; |
7565 | PyObject * obj1 = 0 ; | |
7566 | PyObject * obj2 = 0 ; | |
7567 | char * kwnames[] = { | |
7568 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7569 | }; | |
27e45892 | 7570 | |
36cb9ebe RD |
7571 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7572 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7573 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7574 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7575 | } |
5eb8189c | 7576 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7577 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7578 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7579 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7580 | } |
7581 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7582 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7583 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7584 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7585 | } |
7586 | if (!argp3) { | |
36cb9ebe | 7587 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7588 | } |
5eb8189c | 7589 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7590 | { |
7591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7592 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7593 | wxPyEndAllowThreads(__tstate); |
7594 | if (PyErr_Occurred()) SWIG_fail; | |
7595 | } | |
7596 | { | |
7597 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7598 | } | |
7599 | return resultobj; | |
7600 | fail: | |
7601 | return NULL; | |
7602 | } | |
7603 | ||
7604 | ||
36cb9ebe | 7605 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7606 | PyObject *resultobj = 0; |
5eb8189c | 7607 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7608 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7609 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7610 | wxPoint *arg4 = 0 ; |
7611 | bool result; | |
7612 | void *argp1 = 0 ; | |
7613 | int res1 = 0 ; | |
7614 | void *argp2 = 0 ; | |
7615 | int res2 = 0 ; | |
7616 | void *argp3 = 0 ; | |
7617 | int res3 = 0 ; | |
7618 | wxPoint temp4 ; | |
36cb9ebe RD |
7619 | PyObject * obj0 = 0 ; |
7620 | PyObject * obj1 = 0 ; | |
7621 | PyObject * obj2 = 0 ; | |
7622 | PyObject * obj3 = 0 ; | |
7623 | char * kwnames[] = { | |
7624 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7625 | }; | |
10044bf1 | 7626 | |
36cb9ebe RD |
7627 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7628 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7629 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7630 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7631 | } |
5eb8189c | 7632 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7633 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7634 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7635 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7636 | } |
7637 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7638 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7639 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7640 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7641 | } |
7642 | if (!argp3) { | |
5eb8189c | 7643 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7644 | } |
5eb8189c | 7645 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7646 | { |
7647 | arg4 = &temp4; | |
36cb9ebe | 7648 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7649 | } |
7650 | { | |
7651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7652 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7653 | wxPyEndAllowThreads(__tstate); |
7654 | if (PyErr_Occurred()) SWIG_fail; | |
7655 | } | |
7656 | { | |
7657 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7658 | } | |
7659 | return resultobj; | |
7660 | fail: | |
7661 | return NULL; | |
7662 | } | |
7663 | ||
7664 | ||
5eb8189c | 7665 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7666 | PyObject *resultobj = 0; |
5eb8189c | 7667 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7668 | wxWindow *arg2 = (wxWindow *) 0 ; |
7669 | int arg3 = (int) wxLEFT ; | |
7670 | wxString const &arg4_defvalue = wxEmptyString ; | |
7671 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7672 | bool result; | |
7673 | void *argp1 = 0 ; | |
7674 | int res1 = 0 ; | |
7675 | void *argp2 = 0 ; | |
7676 | int res2 = 0 ; | |
7677 | int val3 ; | |
7678 | int ecode3 = 0 ; | |
7679 | bool temp4 = false ; | |
7680 | PyObject * obj0 = 0 ; | |
7681 | PyObject * obj1 = 0 ; | |
7682 | PyObject * obj2 = 0 ; | |
7683 | PyObject * obj3 = 0 ; | |
7684 | char * kwnames[] = { | |
7685 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7686 | }; | |
7687 | ||
5eb8189c RD |
7688 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7689 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7690 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7692 | } |
5eb8189c | 7693 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7694 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7695 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7696 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7697 | } |
7698 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7699 | if (obj2) { | |
7700 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7701 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7702 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7703 | } |
7704 | arg3 = static_cast< int >(val3); | |
7705 | } | |
7706 | if (obj3) { | |
7707 | { | |
7708 | arg4 = wxString_in_helper(obj3); | |
7709 | if (arg4 == NULL) SWIG_fail; | |
7710 | temp4 = true; | |
7711 | } | |
7712 | } | |
7713 | { | |
7714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7715 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7716 | wxPyEndAllowThreads(__tstate); | |
7717 | if (PyErr_Occurred()) SWIG_fail; | |
7718 | } | |
7719 | { | |
7720 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7721 | } | |
7722 | { | |
7723 | if (temp4) | |
7724 | delete arg4; | |
7725 | } | |
7726 | return resultobj; | |
7727 | fail: | |
7728 | { | |
7729 | if (temp4) | |
7730 | delete arg4; | |
7731 | } | |
7732 | return NULL; | |
7733 | } | |
7734 | ||
7735 | ||
5eb8189c | 7736 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7737 | PyObject *resultobj = 0; |
5eb8189c | 7738 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7739 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7740 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7741 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7742 | bool result; | |
7743 | void *argp1 = 0 ; | |
7744 | int res1 = 0 ; | |
7745 | void *argp2 = 0 ; | |
7746 | int res2 = 0 ; | |
7747 | void *argp3 = 0 ; | |
7748 | int res3 = 0 ; | |
7749 | int val4 ; | |
7750 | int ecode4 = 0 ; | |
7751 | PyObject * obj0 = 0 ; | |
7752 | PyObject * obj1 = 0 ; | |
7753 | PyObject * obj2 = 0 ; | |
7754 | PyObject * obj3 = 0 ; | |
7755 | char * kwnames[] = { | |
7756 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7757 | }; | |
7758 | ||
5eb8189c RD |
7759 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7760 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7761 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7763 | } |
5eb8189c | 7764 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7765 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7766 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7767 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7768 | } |
7769 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7770 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7771 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7772 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7773 | } |
7774 | if (!argp3) { | |
5eb8189c | 7775 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7776 | } |
5eb8189c | 7777 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7778 | if (obj3) { |
7779 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7780 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7781 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7782 | } |
7783 | arg4 = static_cast< int >(val4); | |
7784 | } | |
7785 | { | |
7786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7787 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7788 | wxPyEndAllowThreads(__tstate); |
7789 | if (PyErr_Occurred()) SWIG_fail; | |
7790 | } | |
7791 | { | |
7792 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7793 | } | |
7794 | return resultobj; | |
7795 | fail: | |
7796 | return NULL; | |
7797 | } | |
7798 | ||
7799 | ||
5eb8189c | 7800 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7801 | PyObject *resultobj = 0; |
5eb8189c | 7802 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7803 | wxWindow *arg2 = (wxWindow *) 0 ; |
7804 | bool result; | |
7805 | void *argp1 = 0 ; | |
7806 | int res1 = 0 ; | |
7807 | void *argp2 = 0 ; | |
7808 | int res2 = 0 ; | |
7809 | PyObject * obj0 = 0 ; | |
7810 | PyObject * obj1 = 0 ; | |
7811 | char * kwnames[] = { | |
7812 | (char *) "self",(char *) "window", NULL | |
7813 | }; | |
7814 | ||
5eb8189c RD |
7815 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7816 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7817 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7819 | } |
5eb8189c | 7820 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7821 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7822 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7823 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7824 | } |
7825 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7826 | { | |
7827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7828 | result = (bool)(arg1)->DetachPane(arg2); | |
7829 | wxPyEndAllowThreads(__tstate); | |
7830 | if (PyErr_Occurred()) SWIG_fail; | |
7831 | } | |
7832 | { | |
7833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7834 | } | |
7835 | return resultobj; | |
7836 | fail: | |
7837 | return NULL; | |
7838 | } | |
7839 | ||
7840 | ||
5eb8189c | 7841 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 7842 | PyObject *resultobj = 0; |
5eb8189c RD |
7843 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7844 | wxAuiPaneInfo *arg2 = 0 ; | |
9b940138 RD |
7845 | void *argp1 = 0 ; |
7846 | int res1 = 0 ; | |
7847 | void *argp2 = 0 ; | |
7848 | int res2 = 0 ; | |
7849 | PyObject * obj0 = 0 ; | |
7850 | PyObject * obj1 = 0 ; | |
7851 | char * kwnames[] = { | |
7852 | (char *) "self",(char *) "pane_info", NULL | |
7853 | }; | |
7854 | ||
5eb8189c RD |
7855 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; |
7856 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 7857 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 7859 | } |
5eb8189c RD |
7860 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7861 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
9b940138 | 7862 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7863 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
9b940138 RD |
7864 | } |
7865 | if (!argp2) { | |
5eb8189c | 7866 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
9b940138 | 7867 | } |
5eb8189c | 7868 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
9b940138 RD |
7869 | { |
7870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7871 | (arg1)->ClosePane(*arg2); | |
7872 | wxPyEndAllowThreads(__tstate); | |
7873 | if (PyErr_Occurred()) SWIG_fail; | |
7874 | } | |
7875 | resultobj = SWIG_Py_Void(); | |
7876 | return resultobj; | |
7877 | fail: | |
7878 | return NULL; | |
7879 | } | |
7880 | ||
7881 | ||
5eb8189c | 7882 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 7883 | PyObject *resultobj = 0; |
5eb8189c RD |
7884 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7885 | wxAuiPaneInfo *arg2 = 0 ; | |
7886 | void *argp1 = 0 ; | |
7887 | int res1 = 0 ; | |
7888 | void *argp2 = 0 ; | |
7889 | int res2 = 0 ; | |
7890 | PyObject * obj0 = 0 ; | |
7891 | PyObject * obj1 = 0 ; | |
7892 | char * kwnames[] = { | |
7893 | (char *) "self",(char *) "pane_info", NULL | |
7894 | }; | |
7895 | ||
7896 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7897 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7898 | if (!SWIG_IsOK(res1)) { | |
7899 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7900 | } | |
7901 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7902 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
7903 | if (!SWIG_IsOK(res2)) { | |
7904 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7905 | } | |
7906 | if (!argp2) { | |
7907 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7908 | } | |
7909 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
7910 | { | |
7911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7912 | (arg1)->MaximizePane(*arg2); | |
7913 | wxPyEndAllowThreads(__tstate); | |
7914 | if (PyErr_Occurred()) SWIG_fail; | |
7915 | } | |
7916 | resultobj = SWIG_Py_Void(); | |
7917 | return resultobj; | |
7918 | fail: | |
7919 | return NULL; | |
7920 | } | |
7921 | ||
7922 | ||
7923 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7924 | PyObject *resultobj = 0; | |
7925 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7926 | wxAuiPaneInfo *arg2 = 0 ; | |
7927 | void *argp1 = 0 ; | |
7928 | int res1 = 0 ; | |
7929 | void *argp2 = 0 ; | |
7930 | int res2 = 0 ; | |
7931 | PyObject * obj0 = 0 ; | |
7932 | PyObject * obj1 = 0 ; | |
7933 | char * kwnames[] = { | |
7934 | (char *) "self",(char *) "pane_info", NULL | |
7935 | }; | |
7936 | ||
7937 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
7938 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7939 | if (!SWIG_IsOK(res1)) { | |
7940 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7941 | } | |
7942 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7943 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
7944 | if (!SWIG_IsOK(res2)) { | |
7945 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7946 | } | |
7947 | if (!argp2) { | |
7948 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
7949 | } | |
7950 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
7951 | { | |
7952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7953 | (arg1)->RestorePane(*arg2); | |
7954 | wxPyEndAllowThreads(__tstate); | |
7955 | if (PyErr_Occurred()) SWIG_fail; | |
7956 | } | |
7957 | resultobj = SWIG_Py_Void(); | |
7958 | return resultobj; | |
7959 | fail: | |
7960 | return NULL; | |
7961 | } | |
7962 | ||
7963 | ||
7964 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
7965 | PyObject *resultobj = 0; | |
7966 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7967 | void *argp1 = 0 ; | |
7968 | int res1 = 0 ; | |
7969 | PyObject *swig_obj[1] ; | |
7970 | ||
7971 | if (!args) SWIG_fail; | |
7972 | swig_obj[0] = args; | |
7973 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7974 | if (!SWIG_IsOK(res1)) { | |
7975 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
7976 | } | |
7977 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7978 | { | |
7979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7980 | (arg1)->RestoreMaximizedPane(); | |
7981 | wxPyEndAllowThreads(__tstate); | |
7982 | if (PyErr_Occurred()) SWIG_fail; | |
7983 | } | |
7984 | resultobj = SWIG_Py_Void(); | |
7985 | return resultobj; | |
7986 | fail: | |
7987 | return NULL; | |
7988 | } | |
7989 | ||
7990 | ||
7991 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7992 | PyObject *resultobj = 0; | |
7993 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7994 | wxAuiPaneInfo *arg2 = 0 ; | |
0f83f5da RD |
7995 | wxString result; |
7996 | void *argp1 = 0 ; | |
7997 | int res1 = 0 ; | |
7998 | void *argp2 = 0 ; | |
7999 | int res2 = 0 ; | |
8000 | PyObject * obj0 = 0 ; | |
8001 | PyObject * obj1 = 0 ; | |
8002 | char * kwnames[] = { | |
8003 | (char *) "self",(char *) "pane", NULL | |
8004 | }; | |
8005 | ||
5eb8189c RD |
8006 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
8007 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 8008 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8009 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 8010 | } |
5eb8189c RD |
8011 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8012 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
0f83f5da | 8013 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8014 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
8015 | } |
8016 | if (!argp2) { | |
5eb8189c | 8017 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 8018 | } |
5eb8189c | 8019 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
8020 | { |
8021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8022 | result = (arg1)->SavePaneInfo(*arg2); | |
8023 | wxPyEndAllowThreads(__tstate); | |
8024 | if (PyErr_Occurred()) SWIG_fail; | |
8025 | } | |
8026 | { | |
8027 | #if wxUSE_UNICODE | |
8028 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8029 | #else | |
8030 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8031 | #endif | |
8032 | } | |
8033 | return resultobj; | |
8034 | fail: | |
8035 | return NULL; | |
8036 | } | |
8037 | ||
8038 | ||
5eb8189c | 8039 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 8040 | PyObject *resultobj = 0; |
5eb8189c | 8041 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
0f83f5da | 8042 | wxString arg2 ; |
5eb8189c | 8043 | wxAuiPaneInfo *arg3 = 0 ; |
0f83f5da RD |
8044 | void *argp1 = 0 ; |
8045 | int res1 = 0 ; | |
8046 | void *argp3 = 0 ; | |
8047 | int res3 = 0 ; | |
8048 | PyObject * obj0 = 0 ; | |
8049 | PyObject * obj1 = 0 ; | |
8050 | PyObject * obj2 = 0 ; | |
8051 | char * kwnames[] = { | |
8052 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
8053 | }; | |
8054 | ||
5eb8189c RD |
8055 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8056 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 8057 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8058 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 8059 | } |
5eb8189c | 8060 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
0f83f5da RD |
8061 | { |
8062 | wxString* sptr = wxString_in_helper(obj1); | |
8063 | if (sptr == NULL) SWIG_fail; | |
8064 | arg2 = *sptr; | |
8065 | delete sptr; | |
8066 | } | |
5eb8189c | 8067 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
0f83f5da | 8068 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8069 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
8070 | } |
8071 | if (!argp3) { | |
5eb8189c | 8072 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 8073 | } |
5eb8189c | 8074 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
0f83f5da RD |
8075 | { |
8076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8077 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
8078 | wxPyEndAllowThreads(__tstate); | |
8079 | if (PyErr_Occurred()) SWIG_fail; | |
8080 | } | |
8081 | resultobj = SWIG_Py_Void(); | |
8082 | return resultobj; | |
8083 | fail: | |
8084 | return NULL; | |
8085 | } | |
8086 | ||
8087 | ||
5eb8189c | 8088 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8089 | PyObject *resultobj = 0; |
5eb8189c | 8090 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8091 | wxString result; |
8092 | void *argp1 = 0 ; | |
8093 | int res1 = 0 ; | |
8094 | PyObject *swig_obj[1] ; | |
8095 | ||
8096 | if (!args) SWIG_fail; | |
8097 | swig_obj[0] = args; | |
5eb8189c | 8098 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8099 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8100 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8101 | } |
5eb8189c | 8102 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8103 | { |
8104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8105 | result = (arg1)->SavePerspective(); | |
8106 | wxPyEndAllowThreads(__tstate); | |
8107 | if (PyErr_Occurred()) SWIG_fail; | |
8108 | } | |
8109 | { | |
8110 | #if wxUSE_UNICODE | |
8111 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
8112 | #else | |
8113 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
8114 | #endif | |
8115 | } | |
8116 | return resultobj; | |
8117 | fail: | |
8118 | return NULL; | |
8119 | } | |
8120 | ||
8121 | ||
5eb8189c | 8122 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8123 | PyObject *resultobj = 0; |
5eb8189c | 8124 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8125 | wxString *arg2 = 0 ; |
8126 | bool arg3 = (bool) true ; | |
8127 | bool result; | |
8128 | void *argp1 = 0 ; | |
8129 | int res1 = 0 ; | |
8130 | bool temp2 = false ; | |
8131 | bool val3 ; | |
8132 | int ecode3 = 0 ; | |
8133 | PyObject * obj0 = 0 ; | |
8134 | PyObject * obj1 = 0 ; | |
8135 | PyObject * obj2 = 0 ; | |
8136 | char * kwnames[] = { | |
8137 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
8138 | }; | |
8139 | ||
5eb8189c RD |
8140 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8141 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 8142 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8143 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8144 | } |
5eb8189c | 8145 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8146 | { |
8147 | arg2 = wxString_in_helper(obj1); | |
8148 | if (arg2 == NULL) SWIG_fail; | |
8149 | temp2 = true; | |
8150 | } | |
8151 | if (obj2) { | |
8152 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8153 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8154 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8155 | } |
8156 | arg3 = static_cast< bool >(val3); | |
8157 | } | |
8158 | { | |
8159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8160 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8161 | wxPyEndAllowThreads(__tstate); | |
8162 | if (PyErr_Occurred()) SWIG_fail; | |
8163 | } | |
8164 | { | |
8165 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8166 | } | |
8167 | { | |
8168 | if (temp2) | |
8169 | delete arg2; | |
8170 | } | |
8171 | return resultobj; | |
8172 | fail: | |
8173 | { | |
8174 | if (temp2) | |
8175 | delete arg2; | |
8176 | } | |
8177 | return NULL; | |
8178 | } | |
8179 | ||
8180 | ||
5eb8189c | 8181 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8182 | PyObject *resultobj = 0; |
5eb8189c | 8183 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8184 | void *argp1 = 0 ; |
8185 | int res1 = 0 ; | |
8186 | PyObject *swig_obj[1] ; | |
8187 | ||
8188 | if (!args) SWIG_fail; | |
8189 | swig_obj[0] = args; | |
5eb8189c | 8190 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8191 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8192 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8193 | } |
5eb8189c | 8194 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8195 | { |
8196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8197 | (arg1)->Update(); | |
8198 | wxPyEndAllowThreads(__tstate); | |
8199 | if (PyErr_Occurred()) SWIG_fail; | |
8200 | } | |
8201 | resultobj = SWIG_Py_Void(); | |
8202 | return resultobj; | |
8203 | fail: | |
8204 | return NULL; | |
8205 | } | |
8206 | ||
8207 | ||
5eb8189c | 8208 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8209 | PyObject *resultobj = 0; |
5eb8189c | 8210 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8211 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8212 | wxAuiPaneInfo *arg3 = 0 ; |
8213 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8214 | void *argp1 = 0 ; |
8215 | int res1 = 0 ; | |
8216 | void *argp2 = 0 ; | |
8217 | int res2 = 0 ; | |
8218 | void *argp3 = 0 ; | |
8219 | int res3 = 0 ; | |
8220 | PyObject * obj0 = 0 ; | |
8221 | PyObject * obj1 = 0 ; | |
8222 | PyObject * obj2 = 0 ; | |
8223 | char * kwnames[] = { | |
8224 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8225 | }; | |
8226 | ||
5eb8189c RD |
8227 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8228 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8229 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8231 | } |
5eb8189c | 8232 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8233 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8234 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8235 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8236 | } |
8237 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8238 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8239 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8240 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8241 | } |
8242 | if (!argp3) { | |
5eb8189c | 8243 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8244 | } |
5eb8189c | 8245 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8246 | { |
8247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8248 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8249 | wxPyEndAllowThreads(__tstate); |
8250 | if (PyErr_Occurred()) SWIG_fail; | |
8251 | } | |
5eb8189c | 8252 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8253 | return resultobj; |
8254 | fail: | |
8255 | return NULL; | |
8256 | } | |
8257 | ||
8258 | ||
5172800e RD |
8259 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8260 | PyObject *resultobj = 0; | |
8261 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8262 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8263 | wxPoint *arg3 = 0 ; | |
8264 | wxPoint *arg4 = 0 ; | |
8265 | wxRect result; | |
8266 | void *argp1 = 0 ; | |
8267 | int res1 = 0 ; | |
8268 | void *argp2 = 0 ; | |
8269 | int res2 = 0 ; | |
8270 | wxPoint temp3 ; | |
8271 | wxPoint temp4 ; | |
8272 | PyObject * obj0 = 0 ; | |
8273 | PyObject * obj1 = 0 ; | |
8274 | PyObject * obj2 = 0 ; | |
8275 | PyObject * obj3 = 0 ; | |
8276 | char * kwnames[] = { | |
8277 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8278 | }; | |
8279 | ||
8280 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8281 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8282 | if (!SWIG_IsOK(res1)) { | |
8283 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8284 | } | |
8285 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8286 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8287 | if (!SWIG_IsOK(res2)) { | |
8288 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8289 | } | |
8290 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8291 | { | |
8292 | arg3 = &temp3; | |
8293 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8294 | } | |
8295 | { | |
8296 | arg4 = &temp4; | |
8297 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8298 | } | |
8299 | { | |
8300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8301 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8302 | wxPyEndAllowThreads(__tstate); | |
8303 | if (PyErr_Occurred()) SWIG_fail; | |
8304 | } | |
8305 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8306 | return resultobj; | |
8307 | fail: | |
8308 | return NULL; | |
8309 | } | |
8310 | ||
8311 | ||
5eb8189c | 8312 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8313 | PyObject *resultobj = 0; |
5eb8189c | 8314 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8315 | wxWindow *arg2 = (wxWindow *) 0 ; |
8316 | wxPoint *arg3 = 0 ; | |
8317 | wxPoint *arg4 = 0 ; | |
8318 | void *argp1 = 0 ; | |
8319 | int res1 = 0 ; | |
8320 | void *argp2 = 0 ; | |
8321 | int res2 = 0 ; | |
8322 | wxPoint temp3 ; | |
8323 | wxPoint temp4 ; | |
8324 | PyObject * obj0 = 0 ; | |
8325 | PyObject * obj1 = 0 ; | |
8326 | PyObject * obj2 = 0 ; | |
8327 | PyObject * obj3 = 0 ; | |
8328 | char * kwnames[] = { | |
8329 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8330 | }; | |
8331 | ||
5eb8189c RD |
8332 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8333 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8334 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8336 | } |
5eb8189c | 8337 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8338 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8339 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8340 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8341 | } |
8342 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8343 | { | |
8344 | arg3 = &temp3; | |
8345 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8346 | } | |
8347 | { | |
8348 | arg4 = &temp4; | |
8349 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8350 | } | |
8351 | { | |
8352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8353 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8354 | wxPyEndAllowThreads(__tstate); | |
8355 | if (PyErr_Occurred()) SWIG_fail; | |
8356 | } | |
8357 | resultobj = SWIG_Py_Void(); | |
8358 | return resultobj; | |
8359 | fail: | |
8360 | return NULL; | |
8361 | } | |
8362 | ||
8363 | ||
5eb8189c | 8364 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8365 | PyObject *resultobj = 0; |
5eb8189c | 8366 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8367 | wxRect *arg2 = 0 ; |
8368 | void *argp1 = 0 ; | |
8369 | int res1 = 0 ; | |
8370 | wxRect temp2 ; | |
8371 | PyObject * obj0 = 0 ; | |
8372 | PyObject * obj1 = 0 ; | |
8373 | char * kwnames[] = { | |
8374 | (char *) "self",(char *) "rect", NULL | |
8375 | }; | |
8376 | ||
5eb8189c RD |
8377 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8378 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8379 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8380 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8381 | } |
5eb8189c | 8382 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8383 | { |
8384 | arg2 = &temp2; | |
8385 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8386 | } | |
8387 | { | |
8388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8389 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8390 | wxPyEndAllowThreads(__tstate); | |
8391 | if (PyErr_Occurred()) SWIG_fail; | |
8392 | } | |
8393 | resultobj = SWIG_Py_Void(); | |
8394 | return resultobj; | |
8395 | fail: | |
8396 | return NULL; | |
8397 | } | |
8398 | ||
8399 | ||
5eb8189c | 8400 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8401 | PyObject *resultobj = 0; |
5eb8189c | 8402 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8403 | void *argp1 = 0 ; |
8404 | int res1 = 0 ; | |
8405 | PyObject *swig_obj[1] ; | |
8406 | ||
8407 | if (!args) SWIG_fail; | |
8408 | swig_obj[0] = args; | |
5eb8189c | 8409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8410 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8412 | } |
5eb8189c | 8413 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8414 | { |
8415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8416 | (arg1)->HideHint(); | |
8417 | wxPyEndAllowThreads(__tstate); | |
8418 | if (PyErr_Occurred()) SWIG_fail; | |
8419 | } | |
8420 | resultobj = SWIG_Py_Void(); | |
8421 | return resultobj; | |
8422 | fail: | |
8423 | return NULL; | |
8424 | } | |
8425 | ||
8426 | ||
5eb8189c | 8427 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8428 | PyObject *resultobj = 0; |
5eb8189c RD |
8429 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8430 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8431 | void *argp1 = 0 ; |
8432 | int res1 = 0 ; | |
8433 | void *argp2 = 0 ; | |
8434 | int res2 = 0 ; | |
8435 | PyObject * obj0 = 0 ; | |
8436 | PyObject * obj1 = 0 ; | |
8437 | char * kwnames[] = { | |
8438 | (char *) "self",(char *) "evt", NULL | |
8439 | }; | |
8440 | ||
5eb8189c RD |
8441 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8442 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8443 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8444 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8445 | } |
5eb8189c RD |
8446 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8447 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8448 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8449 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8450 | } |
8451 | if (!argp2) { | |
5eb8189c | 8452 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8453 | } |
5eb8189c | 8454 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8455 | { |
8456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8457 | (arg1)->OnRender(*arg2); | |
8458 | wxPyEndAllowThreads(__tstate); | |
8459 | if (PyErr_Occurred()) SWIG_fail; | |
8460 | } | |
8461 | resultobj = SWIG_Py_Void(); | |
8462 | return resultobj; | |
8463 | fail: | |
8464 | return NULL; | |
8465 | } | |
8466 | ||
8467 | ||
5eb8189c | 8468 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8469 | PyObject *resultobj = 0; |
5eb8189c RD |
8470 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8471 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8472 | void *argp1 = 0 ; |
8473 | int res1 = 0 ; | |
8474 | void *argp2 = 0 ; | |
8475 | int res2 = 0 ; | |
8476 | PyObject * obj0 = 0 ; | |
8477 | PyObject * obj1 = 0 ; | |
8478 | char * kwnames[] = { | |
8479 | (char *) "self",(char *) "evt", NULL | |
8480 | }; | |
8481 | ||
5eb8189c RD |
8482 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8483 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8484 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8486 | } |
5eb8189c RD |
8487 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8488 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8489 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8490 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8491 | } |
8492 | if (!argp2) { | |
5eb8189c | 8493 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8494 | } |
5eb8189c | 8495 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8496 | { |
8497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8498 | (arg1)->OnPaneButton(*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 *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8510 | PyObject *obj; |
8511 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8512 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8513 | return SWIG_Py_Void(); |
8514 | } | |
8515 | ||
5eb8189c | 8516 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8517 | return SWIG_Python_InitShadowInstance(args); |
8518 | } | |
8519 | ||
5eb8189c | 8520 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8521 | PyObject *resultobj = 0; |
8522 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8523 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8524 | int val1 ; |
8525 | int ecode1 = 0 ; | |
8526 | PyObject * obj0 = 0 ; | |
8527 | char * kwnames[] = { | |
8528 | (char *) "type", NULL | |
8529 | }; | |
8530 | ||
5eb8189c | 8531 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8532 | if (obj0) { |
8533 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8534 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8535 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8536 | } |
8537 | arg1 = static_cast< wxEventType >(val1); | |
8538 | } | |
8539 | { | |
8540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8541 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8542 | wxPyEndAllowThreads(__tstate); |
8543 | if (PyErr_Occurred()) SWIG_fail; | |
8544 | } | |
5eb8189c | 8545 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8546 | return resultobj; |
8547 | fail: | |
8548 | return NULL; | |
8549 | } | |
8550 | ||
8551 | ||
5eb8189c | 8552 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8553 | PyObject *resultobj = 0; |
5eb8189c | 8554 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8555 | wxEvent *result = 0 ; |
8556 | void *argp1 = 0 ; | |
8557 | int res1 = 0 ; | |
8558 | PyObject *swig_obj[1] ; | |
8559 | ||
8560 | if (!args) SWIG_fail; | |
8561 | swig_obj[0] = args; | |
5eb8189c | 8562 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8563 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8564 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8565 | } |
5eb8189c | 8566 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8567 | { |
8568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8569 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8570 | wxPyEndAllowThreads(__tstate); |
8571 | if (PyErr_Occurred()) SWIG_fail; | |
8572 | } | |
8573 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8574 | return resultobj; | |
8575 | fail: | |
8576 | return NULL; | |
8577 | } | |
8578 | ||
8579 | ||
5eb8189c | 8580 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8581 | PyObject *resultobj = 0; |
5eb8189c RD |
8582 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8583 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8584 | void *argp1 = 0 ; |
8585 | int res1 = 0 ; | |
8586 | void *argp2 = 0 ; | |
8587 | int res2 = 0 ; | |
8588 | PyObject * obj0 = 0 ; | |
8589 | PyObject * obj1 = 0 ; | |
8590 | char * kwnames[] = { | |
8591 | (char *) "self",(char *) "p", NULL | |
8592 | }; | |
8593 | ||
5eb8189c RD |
8594 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8595 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8596 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8597 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8598 | } |
5eb8189c RD |
8599 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8600 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8601 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8602 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8603 | } |
5eb8189c | 8604 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8605 | { |
8606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8607 | (arg1)->SetPane(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 *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8619 | PyObject *resultobj = 0; |
5eb8189c | 8620 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8621 | int arg2 ; |
8622 | void *argp1 = 0 ; | |
8623 | int res1 = 0 ; | |
8624 | int val2 ; | |
8625 | int ecode2 = 0 ; | |
8626 | PyObject * obj0 = 0 ; | |
8627 | PyObject * obj1 = 0 ; | |
8628 | char * kwnames[] = { | |
8629 | (char *) "self",(char *) "b", NULL | |
8630 | }; | |
8631 | ||
5eb8189c RD |
8632 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8633 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8634 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8635 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8636 | } |
5eb8189c | 8637 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8638 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8639 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8640 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8641 | } |
8642 | arg2 = static_cast< int >(val2); | |
8643 | { | |
8644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8645 | (arg1)->SetButton(arg2); | |
8646 | wxPyEndAllowThreads(__tstate); | |
8647 | if (PyErr_Occurred()) SWIG_fail; | |
8648 | } | |
8649 | resultobj = SWIG_Py_Void(); | |
8650 | return resultobj; | |
8651 | fail: | |
8652 | return NULL; | |
8653 | } | |
8654 | ||
8655 | ||
5eb8189c | 8656 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8657 | PyObject *resultobj = 0; |
5eb8189c | 8658 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8659 | wxDC *arg2 = (wxDC *) 0 ; |
8660 | void *argp1 = 0 ; | |
8661 | int res1 = 0 ; | |
8662 | void *argp2 = 0 ; | |
8663 | int res2 = 0 ; | |
8664 | PyObject * obj0 = 0 ; | |
8665 | PyObject * obj1 = 0 ; | |
8666 | char * kwnames[] = { | |
8667 | (char *) "self",(char *) "pdc", NULL | |
8668 | }; | |
8669 | ||
5eb8189c RD |
8670 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8671 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8674 | } |
5eb8189c | 8675 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8676 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8677 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8678 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8679 | } |
8680 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8681 | { | |
8682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8683 | (arg1)->SetDC(arg2); | |
8684 | wxPyEndAllowThreads(__tstate); | |
8685 | if (PyErr_Occurred()) SWIG_fail; | |
8686 | } | |
8687 | resultobj = SWIG_Py_Void(); | |
8688 | return resultobj; | |
8689 | fail: | |
8690 | return NULL; | |
8691 | } | |
8692 | ||
8693 | ||
5eb8189c | 8694 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8695 | PyObject *resultobj = 0; |
5eb8189c RD |
8696 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8697 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8698 | void *argp1 = 0 ; |
8699 | int res1 = 0 ; | |
8700 | PyObject *swig_obj[1] ; | |
8701 | ||
8702 | if (!args) SWIG_fail; | |
8703 | swig_obj[0] = args; | |
5eb8189c | 8704 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8705 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8707 | } |
5eb8189c | 8708 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8709 | { |
8710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8711 | result = (wxAuiPaneInfo *)(arg1)->GetPane(); |
27e45892 RD |
8712 | wxPyEndAllowThreads(__tstate); |
8713 | if (PyErr_Occurred()) SWIG_fail; | |
8714 | } | |
5eb8189c | 8715 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8716 | return resultobj; |
8717 | fail: | |
8718 | return NULL; | |
8719 | } | |
8720 | ||
8721 | ||
5eb8189c | 8722 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8723 | PyObject *resultobj = 0; |
5eb8189c | 8724 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8725 | int result; |
8726 | void *argp1 = 0 ; | |
8727 | int res1 = 0 ; | |
8728 | PyObject *swig_obj[1] ; | |
8729 | ||
8730 | if (!args) SWIG_fail; | |
8731 | swig_obj[0] = args; | |
5eb8189c | 8732 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8733 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8734 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8735 | } |
5eb8189c | 8736 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8737 | { |
8738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8739 | result = (int)(arg1)->GetButton(); | |
8740 | wxPyEndAllowThreads(__tstate); | |
8741 | if (PyErr_Occurred()) SWIG_fail; | |
8742 | } | |
8743 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8744 | return resultobj; | |
8745 | fail: | |
8746 | return NULL; | |
8747 | } | |
8748 | ||
8749 | ||
5eb8189c | 8750 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8751 | PyObject *resultobj = 0; |
5eb8189c | 8752 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8753 | wxDC *result = 0 ; |
8754 | void *argp1 = 0 ; | |
8755 | int res1 = 0 ; | |
8756 | PyObject *swig_obj[1] ; | |
8757 | ||
8758 | if (!args) SWIG_fail; | |
8759 | swig_obj[0] = args; | |
5eb8189c | 8760 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8761 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8763 | } |
5eb8189c | 8764 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8765 | { |
8766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8767 | result = (wxDC *)(arg1)->GetDC(); | |
8768 | wxPyEndAllowThreads(__tstate); | |
8769 | if (PyErr_Occurred()) SWIG_fail; | |
8770 | } | |
8771 | { | |
8772 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8773 | } | |
8774 | return resultobj; | |
8775 | fail: | |
8776 | return NULL; | |
8777 | } | |
8778 | ||
8779 | ||
5eb8189c | 8780 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8781 | PyObject *resultobj = 0; |
5eb8189c | 8782 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8783 | bool arg2 = (bool) true ; |
8784 | void *argp1 = 0 ; | |
8785 | int res1 = 0 ; | |
8786 | bool val2 ; | |
8787 | int ecode2 = 0 ; | |
8788 | PyObject * obj0 = 0 ; | |
8789 | PyObject * obj1 = 0 ; | |
8790 | char * kwnames[] = { | |
8791 | (char *) "self",(char *) "veto", NULL | |
8792 | }; | |
8793 | ||
5eb8189c RD |
8794 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8795 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8796 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8798 | } |
5eb8189c | 8799 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8800 | if (obj1) { |
8801 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8802 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8803 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8804 | } |
8805 | arg2 = static_cast< bool >(val2); | |
8806 | } | |
8807 | { | |
8808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8809 | (arg1)->Veto(arg2); | |
8810 | wxPyEndAllowThreads(__tstate); | |
8811 | if (PyErr_Occurred()) SWIG_fail; | |
8812 | } | |
8813 | resultobj = SWIG_Py_Void(); | |
8814 | return resultobj; | |
8815 | fail: | |
8816 | return NULL; | |
8817 | } | |
8818 | ||
8819 | ||
5eb8189c | 8820 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8821 | PyObject *resultobj = 0; |
5eb8189c | 8822 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8823 | bool result; |
8824 | void *argp1 = 0 ; | |
8825 | int res1 = 0 ; | |
8826 | PyObject *swig_obj[1] ; | |
8827 | ||
8828 | if (!args) SWIG_fail; | |
8829 | swig_obj[0] = args; | |
5eb8189c | 8830 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8831 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8833 | } |
5eb8189c | 8834 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8835 | { |
8836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8837 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
8838 | wxPyEndAllowThreads(__tstate); |
8839 | if (PyErr_Occurred()) SWIG_fail; | |
8840 | } | |
8841 | { | |
8842 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8843 | } | |
8844 | return resultobj; | |
8845 | fail: | |
8846 | return NULL; | |
8847 | } | |
8848 | ||
8849 | ||
5eb8189c | 8850 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8851 | PyObject *resultobj = 0; |
5eb8189c | 8852 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8853 | bool arg2 ; |
8854 | void *argp1 = 0 ; | |
8855 | int res1 = 0 ; | |
8856 | bool val2 ; | |
8857 | int ecode2 = 0 ; | |
8858 | PyObject * obj0 = 0 ; | |
8859 | PyObject * obj1 = 0 ; | |
8860 | char * kwnames[] = { | |
8861 | (char *) "self",(char *) "can_veto", NULL | |
8862 | }; | |
8863 | ||
5eb8189c RD |
8864 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
8865 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8866 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8867 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8868 | } |
5eb8189c | 8869 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8870 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
8871 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8872 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8873 | } |
8874 | arg2 = static_cast< bool >(val2); | |
8875 | { | |
8876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8877 | (arg1)->SetCanVeto(arg2); | |
8878 | wxPyEndAllowThreads(__tstate); | |
8879 | if (PyErr_Occurred()) SWIG_fail; | |
8880 | } | |
8881 | resultobj = SWIG_Py_Void(); | |
8882 | return resultobj; | |
8883 | fail: | |
8884 | return NULL; | |
8885 | } | |
8886 | ||
8887 | ||
5eb8189c | 8888 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8889 | PyObject *resultobj = 0; |
5eb8189c | 8890 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8891 | bool result; |
8892 | void *argp1 = 0 ; | |
8893 | int res1 = 0 ; | |
8894 | PyObject *swig_obj[1] ; | |
8895 | ||
8896 | if (!args) SWIG_fail; | |
8897 | swig_obj[0] = args; | |
5eb8189c | 8898 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8899 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8900 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8901 | } |
5eb8189c | 8902 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8903 | { |
8904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8905 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
8906 | wxPyEndAllowThreads(__tstate); |
8907 | if (PyErr_Occurred()) SWIG_fail; | |
8908 | } | |
8909 | { | |
8910 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8911 | } | |
8912 | return resultobj; | |
8913 | fail: | |
8914 | return NULL; | |
8915 | } | |
8916 | ||
8917 | ||
5eb8189c | 8918 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8919 | PyObject *resultobj = 0; |
5eb8189c RD |
8920 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8921 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8922 | void *argp1 = 0 ; |
8923 | int res1 = 0 ; | |
8924 | void *argp2 = 0 ; | |
8925 | int res2 = 0 ; | |
8926 | PyObject *swig_obj[2] ; | |
8927 | ||
5eb8189c RD |
8928 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
8929 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8930 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8931 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8932 | } |
5eb8189c RD |
8933 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8934 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 8935 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8936 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8937 | } |
5eb8189c | 8938 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8939 | if (arg1) (arg1)->pane = arg2; |
8940 | ||
8941 | resultobj = SWIG_Py_Void(); | |
8942 | return resultobj; | |
8943 | fail: | |
8944 | return NULL; | |
8945 | } | |
8946 | ||
8947 | ||
5eb8189c | 8948 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8949 | PyObject *resultobj = 0; |
5eb8189c RD |
8950 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8951 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8952 | void *argp1 = 0 ; |
8953 | int res1 = 0 ; | |
8954 | PyObject *swig_obj[1] ; | |
8955 | ||
8956 | if (!args) SWIG_fail; | |
8957 | swig_obj[0] = args; | |
5eb8189c | 8958 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8959 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8960 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8961 | } |
5eb8189c RD |
8962 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8963 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
8964 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
8965 | return resultobj; |
8966 | fail: | |
8967 | return NULL; | |
8968 | } | |
8969 | ||
8970 | ||
5eb8189c | 8971 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8972 | PyObject *resultobj = 0; |
5eb8189c | 8973 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8974 | int arg2 ; |
8975 | void *argp1 = 0 ; | |
8976 | int res1 = 0 ; | |
8977 | int val2 ; | |
8978 | int ecode2 = 0 ; | |
8979 | PyObject *swig_obj[2] ; | |
8980 | ||
5eb8189c RD |
8981 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
8982 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8983 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8985 | } |
5eb8189c | 8986 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8987 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
8988 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8989 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8990 | } |
8991 | arg2 = static_cast< int >(val2); | |
8992 | if (arg1) (arg1)->button = arg2; | |
8993 | ||
8994 | resultobj = SWIG_Py_Void(); | |
8995 | return resultobj; | |
8996 | fail: | |
8997 | return NULL; | |
8998 | } | |
8999 | ||
9000 | ||
5eb8189c | 9001 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9002 | PyObject *resultobj = 0; |
5eb8189c | 9003 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9004 | int result; |
9005 | void *argp1 = 0 ; | |
9006 | int res1 = 0 ; | |
9007 | PyObject *swig_obj[1] ; | |
9008 | ||
9009 | if (!args) SWIG_fail; | |
9010 | swig_obj[0] = args; | |
5eb8189c | 9011 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9012 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9014 | } |
5eb8189c | 9015 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9016 | result = (int) ((arg1)->button); |
9017 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9018 | return resultobj; | |
9019 | fail: | |
9020 | return NULL; | |
9021 | } | |
9022 | ||
9023 | ||
5eb8189c | 9024 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9025 | PyObject *resultobj = 0; |
5eb8189c | 9026 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9027 | bool arg2 ; |
9028 | void *argp1 = 0 ; | |
9029 | int res1 = 0 ; | |
9030 | bool val2 ; | |
9031 | int ecode2 = 0 ; | |
9032 | PyObject *swig_obj[2] ; | |
9033 | ||
5eb8189c RD |
9034 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9035 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9036 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9038 | } |
5eb8189c | 9039 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9040 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9041 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9042 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9043 | } |
9044 | arg2 = static_cast< bool >(val2); | |
9045 | if (arg1) (arg1)->veto_flag = arg2; | |
9046 | ||
9047 | resultobj = SWIG_Py_Void(); | |
9048 | return resultobj; | |
9049 | fail: | |
9050 | return NULL; | |
9051 | } | |
9052 | ||
9053 | ||
5eb8189c | 9054 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9055 | PyObject *resultobj = 0; |
5eb8189c | 9056 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9057 | bool result; |
9058 | void *argp1 = 0 ; | |
9059 | int res1 = 0 ; | |
9060 | PyObject *swig_obj[1] ; | |
9061 | ||
9062 | if (!args) SWIG_fail; | |
9063 | swig_obj[0] = args; | |
5eb8189c | 9064 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9065 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9066 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9067 | } |
5eb8189c | 9068 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9069 | result = (bool) ((arg1)->veto_flag); |
9070 | { | |
9071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9072 | } | |
9073 | return resultobj; | |
9074 | fail: | |
9075 | return NULL; | |
9076 | } | |
9077 | ||
9078 | ||
5eb8189c | 9079 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9080 | PyObject *resultobj = 0; |
5eb8189c | 9081 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9082 | bool arg2 ; |
9083 | void *argp1 = 0 ; | |
9084 | int res1 = 0 ; | |
9085 | bool val2 ; | |
9086 | int ecode2 = 0 ; | |
9087 | PyObject *swig_obj[2] ; | |
9088 | ||
5eb8189c RD |
9089 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9090 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9091 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9092 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9093 | } |
5eb8189c | 9094 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9095 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9096 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9097 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9098 | } |
9099 | arg2 = static_cast< bool >(val2); | |
9100 | if (arg1) (arg1)->canveto_flag = arg2; | |
9101 | ||
9102 | resultobj = SWIG_Py_Void(); | |
9103 | return resultobj; | |
9104 | fail: | |
9105 | return NULL; | |
9106 | } | |
9107 | ||
9108 | ||
5eb8189c | 9109 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9110 | PyObject *resultobj = 0; |
5eb8189c | 9111 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9112 | bool result; |
9113 | void *argp1 = 0 ; | |
9114 | int res1 = 0 ; | |
9115 | PyObject *swig_obj[1] ; | |
9116 | ||
9117 | if (!args) SWIG_fail; | |
9118 | swig_obj[0] = args; | |
5eb8189c | 9119 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9120 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9121 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9122 | } |
5eb8189c | 9123 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9124 | result = (bool) ((arg1)->canveto_flag); |
9125 | { | |
9126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9127 | } | |
9128 | return resultobj; | |
9129 | fail: | |
9130 | return NULL; | |
9131 | } | |
9132 | ||
9133 | ||
5eb8189c | 9134 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9135 | PyObject *resultobj = 0; |
5eb8189c | 9136 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9137 | wxDC *arg2 = (wxDC *) 0 ; |
9138 | void *argp1 = 0 ; | |
9139 | int res1 = 0 ; | |
9140 | void *argp2 = 0 ; | |
9141 | int res2 = 0 ; | |
9142 | PyObject *swig_obj[2] ; | |
9143 | ||
5eb8189c RD |
9144 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9145 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9146 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9148 | } |
5eb8189c | 9149 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9150 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9151 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9152 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9153 | } |
9154 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9155 | if (arg1) (arg1)->dc = arg2; | |
9156 | ||
9157 | resultobj = SWIG_Py_Void(); | |
9158 | return resultobj; | |
9159 | fail: | |
9160 | return NULL; | |
9161 | } | |
9162 | ||
9163 | ||
5eb8189c | 9164 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9165 | PyObject *resultobj = 0; |
5eb8189c | 9166 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9167 | wxDC *result = 0 ; |
9168 | void *argp1 = 0 ; | |
9169 | int res1 = 0 ; | |
9170 | PyObject *swig_obj[1] ; | |
9171 | ||
9172 | if (!args) SWIG_fail; | |
9173 | swig_obj[0] = args; | |
5eb8189c | 9174 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9175 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9177 | } |
5eb8189c | 9178 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9179 | result = (wxDC *) ((arg1)->dc); |
9180 | { | |
9181 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9182 | } | |
9183 | return resultobj; | |
9184 | fail: | |
9185 | return NULL; | |
9186 | } | |
9187 | ||
9188 | ||
5eb8189c | 9189 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9190 | PyObject *obj; |
9191 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9192 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9193 | return SWIG_Py_Void(); |
9194 | } | |
9195 | ||
5eb8189c | 9196 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9197 | return SWIG_Python_InitShadowInstance(args); |
9198 | } | |
9199 | ||
5eb8189c | 9200 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9201 | PyObject *resultobj = 0; |
5eb8189c | 9202 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9203 | |
5eb8189c | 9204 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9205 | { |
9206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9207 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9208 | wxPyEndAllowThreads(__tstate); |
9209 | if (PyErr_Occurred()) SWIG_fail; | |
9210 | } | |
5eb8189c | 9211 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9212 | return resultobj; |
9213 | fail: | |
9214 | return NULL; | |
9215 | } | |
9216 | ||
9217 | ||
5eb8189c | 9218 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9219 | PyObject *resultobj = 0; |
5eb8189c | 9220 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9221 | bool result; |
9222 | void *argp1 = 0 ; | |
9223 | int res1 = 0 ; | |
9224 | PyObject *swig_obj[1] ; | |
9225 | ||
9226 | if (!args) SWIG_fail; | |
9227 | swig_obj[0] = args; | |
5eb8189c | 9228 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9229 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9231 | } |
5eb8189c | 9232 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9233 | { |
9234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9235 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9236 | wxPyEndAllowThreads(__tstate); |
9237 | if (PyErr_Occurred()) SWIG_fail; | |
9238 | } | |
9239 | { | |
9240 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9241 | } | |
9242 | return resultobj; | |
9243 | fail: | |
9244 | return NULL; | |
9245 | } | |
9246 | ||
9247 | ||
5eb8189c | 9248 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9249 | PyObject *resultobj = 0; |
5eb8189c | 9250 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9251 | bool result; |
9252 | void *argp1 = 0 ; | |
9253 | int res1 = 0 ; | |
9254 | PyObject *swig_obj[1] ; | |
9255 | ||
9256 | if (!args) SWIG_fail; | |
9257 | swig_obj[0] = args; | |
5eb8189c | 9258 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9259 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9260 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9261 | } |
5eb8189c | 9262 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9263 | { |
9264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9265 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9266 | wxPyEndAllowThreads(__tstate); |
9267 | if (PyErr_Occurred()) SWIG_fail; | |
9268 | } | |
9269 | { | |
9270 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9271 | } | |
9272 | return resultobj; | |
9273 | fail: | |
9274 | return NULL; | |
9275 | } | |
9276 | ||
9277 | ||
5eb8189c | 9278 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9279 | PyObject *resultobj = 0; |
5eb8189c | 9280 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9281 | bool result; |
9282 | void *argp1 = 0 ; | |
9283 | int res1 = 0 ; | |
9284 | PyObject *swig_obj[1] ; | |
9285 | ||
9286 | if (!args) SWIG_fail; | |
9287 | swig_obj[0] = args; | |
5eb8189c | 9288 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9289 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9290 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9291 | } |
5eb8189c | 9292 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9293 | { |
9294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9295 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9296 | wxPyEndAllowThreads(__tstate); |
9297 | if (PyErr_Occurred()) SWIG_fail; | |
9298 | } | |
9299 | { | |
9300 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9301 | } | |
9302 | return resultobj; | |
9303 | fail: | |
9304 | return NULL; | |
9305 | } | |
9306 | ||
9307 | ||
5eb8189c | 9308 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9309 | PyObject *resultobj = 0; |
5eb8189c RD |
9310 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9311 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9312 | void *argp1 = 0 ; |
9313 | int res1 = 0 ; | |
9314 | void *argp2 ; | |
9315 | int res2 = 0 ; | |
9316 | PyObject *swig_obj[2] ; | |
9317 | ||
5eb8189c RD |
9318 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9319 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9320 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9321 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9322 | } |
5eb8189c | 9323 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9324 | { |
5eb8189c | 9325 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9326 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9327 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9328 | } |
9329 | if (!argp2) { | |
5eb8189c | 9330 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9331 | } else { |
5eb8189c | 9332 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9333 | arg2 = *temp; |
9334 | if (SWIG_IsNewObj(res2)) delete temp; | |
9335 | } | |
9336 | } | |
9337 | if (arg1) (arg1)->panes = arg2; | |
9338 | ||
9339 | resultobj = SWIG_Py_Void(); | |
9340 | return resultobj; | |
9341 | fail: | |
9342 | return NULL; | |
9343 | } | |
9344 | ||
9345 | ||
5eb8189c | 9346 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9347 | PyObject *resultobj = 0; |
5eb8189c RD |
9348 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9349 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9350 | void *argp1 = 0 ; |
9351 | int res1 = 0 ; | |
9352 | PyObject *swig_obj[1] ; | |
9353 | ||
9354 | if (!args) SWIG_fail; | |
9355 | swig_obj[0] = args; | |
5eb8189c | 9356 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9357 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9359 | } |
5eb8189c | 9360 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9361 | result = ((arg1)->panes); |
5eb8189c | 9362 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9363 | return resultobj; |
9364 | fail: | |
9365 | return NULL; | |
9366 | } | |
9367 | ||
9368 | ||
5eb8189c | 9369 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9370 | PyObject *resultobj = 0; |
5eb8189c | 9371 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9372 | wxRect *arg2 = (wxRect *) 0 ; |
9373 | void *argp1 = 0 ; | |
9374 | int res1 = 0 ; | |
9375 | void *argp2 = 0 ; | |
9376 | int res2 = 0 ; | |
9377 | PyObject *swig_obj[2] ; | |
9378 | ||
5eb8189c RD |
9379 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9381 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9383 | } |
5eb8189c | 9384 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9385 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9386 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9387 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9388 | } |
9389 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9390 | if (arg1) (arg1)->rect = *arg2; | |
9391 | ||
9392 | resultobj = SWIG_Py_Void(); | |
9393 | return resultobj; | |
9394 | fail: | |
9395 | return NULL; | |
9396 | } | |
9397 | ||
9398 | ||
5eb8189c | 9399 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9400 | PyObject *resultobj = 0; |
5eb8189c | 9401 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9402 | wxRect *result = 0 ; |
9403 | void *argp1 = 0 ; | |
9404 | int res1 = 0 ; | |
9405 | PyObject *swig_obj[1] ; | |
9406 | ||
9407 | if (!args) SWIG_fail; | |
9408 | swig_obj[0] = args; | |
5eb8189c | 9409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9410 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9412 | } |
5eb8189c | 9413 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9414 | result = (wxRect *)& ((arg1)->rect); |
9415 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9416 | return resultobj; | |
9417 | fail: | |
9418 | return NULL; | |
9419 | } | |
9420 | ||
9421 | ||
5eb8189c | 9422 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9423 | PyObject *resultobj = 0; |
5eb8189c | 9424 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9425 | int arg2 ; |
9426 | void *argp1 = 0 ; | |
9427 | int res1 = 0 ; | |
9428 | int val2 ; | |
9429 | int ecode2 = 0 ; | |
9430 | PyObject *swig_obj[2] ; | |
9431 | ||
5eb8189c RD |
9432 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9433 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9434 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9436 | } |
5eb8189c | 9437 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9438 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9439 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9440 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9441 | } |
9442 | arg2 = static_cast< int >(val2); | |
9443 | if (arg1) (arg1)->dock_direction = arg2; | |
9444 | ||
9445 | resultobj = SWIG_Py_Void(); | |
9446 | return resultobj; | |
9447 | fail: | |
9448 | return NULL; | |
9449 | } | |
9450 | ||
9451 | ||
5eb8189c | 9452 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9453 | PyObject *resultobj = 0; |
5eb8189c | 9454 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9455 | int result; |
9456 | void *argp1 = 0 ; | |
9457 | int res1 = 0 ; | |
9458 | PyObject *swig_obj[1] ; | |
9459 | ||
9460 | if (!args) SWIG_fail; | |
9461 | swig_obj[0] = args; | |
5eb8189c | 9462 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9463 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9465 | } |
5eb8189c | 9466 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9467 | result = (int) ((arg1)->dock_direction); |
9468 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9469 | return resultobj; | |
9470 | fail: | |
9471 | return NULL; | |
9472 | } | |
9473 | ||
9474 | ||
5eb8189c | 9475 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9476 | PyObject *resultobj = 0; |
5eb8189c | 9477 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9478 | int arg2 ; |
9479 | void *argp1 = 0 ; | |
9480 | int res1 = 0 ; | |
9481 | int val2 ; | |
9482 | int ecode2 = 0 ; | |
9483 | PyObject *swig_obj[2] ; | |
9484 | ||
5eb8189c RD |
9485 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
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_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9489 | } |
5eb8189c | 9490 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9491 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9492 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9493 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9494 | } |
9495 | arg2 = static_cast< int >(val2); | |
9496 | if (arg1) (arg1)->dock_layer = arg2; | |
9497 | ||
9498 | resultobj = SWIG_Py_Void(); | |
9499 | return resultobj; | |
9500 | fail: | |
9501 | return NULL; | |
9502 | } | |
9503 | ||
9504 | ||
5eb8189c | 9505 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9506 | PyObject *resultobj = 0; |
5eb8189c | 9507 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9508 | int result; |
9509 | void *argp1 = 0 ; | |
9510 | int res1 = 0 ; | |
9511 | PyObject *swig_obj[1] ; | |
9512 | ||
9513 | if (!args) SWIG_fail; | |
9514 | swig_obj[0] = args; | |
5eb8189c | 9515 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9516 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9518 | } |
5eb8189c | 9519 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9520 | result = (int) ((arg1)->dock_layer); |
9521 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9522 | return resultobj; | |
9523 | fail: | |
9524 | return NULL; | |
9525 | } | |
9526 | ||
9527 | ||
5eb8189c | 9528 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9529 | PyObject *resultobj = 0; |
5eb8189c | 9530 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9531 | int arg2 ; |
9532 | void *argp1 = 0 ; | |
9533 | int res1 = 0 ; | |
9534 | int val2 ; | |
9535 | int ecode2 = 0 ; | |
9536 | PyObject *swig_obj[2] ; | |
9537 | ||
5eb8189c RD |
9538 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9539 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9540 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9541 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9542 | } |
5eb8189c | 9543 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9544 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9545 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9546 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9547 | } |
9548 | arg2 = static_cast< int >(val2); | |
9549 | if (arg1) (arg1)->dock_row = arg2; | |
9550 | ||
9551 | resultobj = SWIG_Py_Void(); | |
9552 | return resultobj; | |
9553 | fail: | |
9554 | return NULL; | |
9555 | } | |
9556 | ||
9557 | ||
5eb8189c | 9558 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9559 | PyObject *resultobj = 0; |
5eb8189c | 9560 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9561 | int result; |
9562 | void *argp1 = 0 ; | |
9563 | int res1 = 0 ; | |
9564 | PyObject *swig_obj[1] ; | |
9565 | ||
9566 | if (!args) SWIG_fail; | |
9567 | swig_obj[0] = args; | |
5eb8189c | 9568 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9569 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9570 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9571 | } |
5eb8189c | 9572 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9573 | result = (int) ((arg1)->dock_row); |
9574 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9575 | return resultobj; | |
9576 | fail: | |
9577 | return NULL; | |
9578 | } | |
9579 | ||
9580 | ||
5eb8189c | 9581 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9582 | PyObject *resultobj = 0; |
5eb8189c | 9583 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9584 | int arg2 ; |
9585 | void *argp1 = 0 ; | |
9586 | int res1 = 0 ; | |
9587 | int val2 ; | |
9588 | int ecode2 = 0 ; | |
9589 | PyObject *swig_obj[2] ; | |
9590 | ||
5eb8189c RD |
9591 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9592 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9593 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9594 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9595 | } |
5eb8189c | 9596 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9597 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9598 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9599 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9600 | } |
9601 | arg2 = static_cast< int >(val2); | |
9602 | if (arg1) (arg1)->size = arg2; | |
9603 | ||
9604 | resultobj = SWIG_Py_Void(); | |
9605 | return resultobj; | |
9606 | fail: | |
9607 | return NULL; | |
9608 | } | |
9609 | ||
9610 | ||
5eb8189c | 9611 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9612 | PyObject *resultobj = 0; |
5eb8189c | 9613 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9614 | int result; |
9615 | void *argp1 = 0 ; | |
9616 | int res1 = 0 ; | |
9617 | PyObject *swig_obj[1] ; | |
9618 | ||
9619 | if (!args) SWIG_fail; | |
9620 | swig_obj[0] = args; | |
5eb8189c | 9621 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9622 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9623 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9624 | } |
5eb8189c | 9625 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9626 | result = (int) ((arg1)->size); |
9627 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9628 | return resultobj; | |
9629 | fail: | |
9630 | return NULL; | |
9631 | } | |
9632 | ||
9633 | ||
5eb8189c | 9634 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9635 | PyObject *resultobj = 0; |
5eb8189c | 9636 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9637 | int arg2 ; |
9638 | void *argp1 = 0 ; | |
9639 | int res1 = 0 ; | |
9640 | int val2 ; | |
9641 | int ecode2 = 0 ; | |
9642 | PyObject *swig_obj[2] ; | |
9643 | ||
5eb8189c RD |
9644 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9646 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9648 | } |
5eb8189c | 9649 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9650 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9651 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9652 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9653 | } |
9654 | arg2 = static_cast< int >(val2); | |
9655 | if (arg1) (arg1)->min_size = arg2; | |
9656 | ||
9657 | resultobj = SWIG_Py_Void(); | |
9658 | return resultobj; | |
9659 | fail: | |
9660 | return NULL; | |
9661 | } | |
9662 | ||
9663 | ||
5eb8189c | 9664 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9665 | PyObject *resultobj = 0; |
5eb8189c | 9666 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9667 | int result; |
9668 | void *argp1 = 0 ; | |
9669 | int res1 = 0 ; | |
9670 | PyObject *swig_obj[1] ; | |
9671 | ||
9672 | if (!args) SWIG_fail; | |
9673 | swig_obj[0] = args; | |
5eb8189c | 9674 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9675 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9677 | } |
5eb8189c | 9678 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9679 | result = (int) ((arg1)->min_size); |
9680 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9681 | return resultobj; | |
9682 | fail: | |
9683 | return NULL; | |
9684 | } | |
9685 | ||
9686 | ||
5eb8189c | 9687 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9688 | PyObject *resultobj = 0; |
5eb8189c | 9689 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9690 | bool arg2 ; |
9691 | void *argp1 = 0 ; | |
9692 | int res1 = 0 ; | |
9693 | bool val2 ; | |
9694 | int ecode2 = 0 ; | |
9695 | PyObject *swig_obj[2] ; | |
9696 | ||
5eb8189c RD |
9697 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9698 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9699 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9700 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9701 | } |
5eb8189c | 9702 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9703 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9704 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9705 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9706 | } |
9707 | arg2 = static_cast< bool >(val2); | |
9708 | if (arg1) (arg1)->resizable = arg2; | |
9709 | ||
9710 | resultobj = SWIG_Py_Void(); | |
9711 | return resultobj; | |
9712 | fail: | |
9713 | return NULL; | |
9714 | } | |
9715 | ||
9716 | ||
5eb8189c | 9717 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9718 | PyObject *resultobj = 0; |
5eb8189c | 9719 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9720 | bool result; |
9721 | void *argp1 = 0 ; | |
9722 | int res1 = 0 ; | |
9723 | PyObject *swig_obj[1] ; | |
9724 | ||
9725 | if (!args) SWIG_fail; | |
9726 | swig_obj[0] = args; | |
5eb8189c | 9727 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9728 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9729 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9730 | } |
5eb8189c | 9731 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9732 | result = (bool) ((arg1)->resizable); |
9733 | { | |
9734 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9735 | } | |
9736 | return resultobj; | |
9737 | fail: | |
9738 | return NULL; | |
9739 | } | |
9740 | ||
9741 | ||
5eb8189c | 9742 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9743 | PyObject *resultobj = 0; |
5eb8189c | 9744 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9745 | bool arg2 ; |
9746 | void *argp1 = 0 ; | |
9747 | int res1 = 0 ; | |
9748 | bool val2 ; | |
9749 | int ecode2 = 0 ; | |
9750 | PyObject *swig_obj[2] ; | |
9751 | ||
5eb8189c RD |
9752 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9753 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9754 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9756 | } |
5eb8189c | 9757 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9758 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9759 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9760 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9761 | } |
9762 | arg2 = static_cast< bool >(val2); | |
9763 | if (arg1) (arg1)->toolbar = arg2; | |
9764 | ||
9765 | resultobj = SWIG_Py_Void(); | |
9766 | return resultobj; | |
9767 | fail: | |
9768 | return NULL; | |
9769 | } | |
9770 | ||
9771 | ||
5eb8189c | 9772 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9773 | PyObject *resultobj = 0; |
5eb8189c | 9774 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9775 | bool result; |
9776 | void *argp1 = 0 ; | |
9777 | int res1 = 0 ; | |
9778 | PyObject *swig_obj[1] ; | |
9779 | ||
9780 | if (!args) SWIG_fail; | |
9781 | swig_obj[0] = args; | |
5eb8189c | 9782 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9783 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9784 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9785 | } |
5eb8189c | 9786 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9787 | result = (bool) ((arg1)->toolbar); |
9788 | { | |
9789 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9790 | } | |
9791 | return resultobj; | |
9792 | fail: | |
9793 | return NULL; | |
9794 | } | |
9795 | ||
9796 | ||
5eb8189c | 9797 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9798 | PyObject *resultobj = 0; |
5eb8189c | 9799 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9800 | bool arg2 ; |
9801 | void *argp1 = 0 ; | |
9802 | int res1 = 0 ; | |
9803 | bool val2 ; | |
9804 | int ecode2 = 0 ; | |
9805 | PyObject *swig_obj[2] ; | |
9806 | ||
5eb8189c RD |
9807 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
9808 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9809 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9810 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9811 | } |
5eb8189c | 9812 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9813 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9814 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9815 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9816 | } |
9817 | arg2 = static_cast< bool >(val2); | |
9818 | if (arg1) (arg1)->fixed = arg2; | |
9819 | ||
9820 | resultobj = SWIG_Py_Void(); | |
9821 | return resultobj; | |
9822 | fail: | |
9823 | return NULL; | |
9824 | } | |
9825 | ||
9826 | ||
5eb8189c | 9827 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9828 | PyObject *resultobj = 0; |
5eb8189c | 9829 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9830 | bool result; |
9831 | void *argp1 = 0 ; | |
9832 | int res1 = 0 ; | |
9833 | PyObject *swig_obj[1] ; | |
9834 | ||
9835 | if (!args) SWIG_fail; | |
9836 | swig_obj[0] = args; | |
5eb8189c | 9837 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9838 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9839 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9840 | } |
5eb8189c | 9841 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9842 | result = (bool) ((arg1)->fixed); |
9843 | { | |
9844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9845 | } | |
9846 | return resultobj; | |
9847 | fail: | |
9848 | return NULL; | |
9849 | } | |
9850 | ||
9851 | ||
5eb8189c | 9852 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 9853 | PyObject *resultobj = 0; |
5eb8189c | 9854 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
9855 | void *argp1 = 0 ; |
9856 | int res1 = 0 ; | |
9857 | PyObject *swig_obj[1] ; | |
9858 | ||
9859 | if (!args) SWIG_fail; | |
9860 | swig_obj[0] = args; | |
5eb8189c | 9861 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 9862 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 9864 | } |
5eb8189c | 9865 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
9866 | { |
9867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9868 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
9869 | |
9870 | wxPyEndAllowThreads(__tstate); | |
9871 | if (PyErr_Occurred()) SWIG_fail; | |
9872 | } | |
9873 | resultobj = SWIG_Py_Void(); | |
9874 | return resultobj; | |
9875 | fail: | |
9876 | return NULL; | |
9877 | } | |
9878 | ||
9879 | ||
5eb8189c | 9880 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9881 | PyObject *obj; |
9882 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9883 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
9884 | return SWIG_Py_Void(); |
9885 | } | |
9886 | ||
5eb8189c | 9887 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9888 | return SWIG_Python_InitShadowInstance(args); |
9889 | } | |
9890 | ||
5eb8189c | 9891 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9892 | PyObject *resultobj = 0; |
5eb8189c | 9893 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9894 | int arg2 ; |
9895 | void *argp1 = 0 ; | |
9896 | int res1 = 0 ; | |
9897 | int val2 ; | |
9898 | int ecode2 = 0 ; | |
9899 | PyObject *swig_obj[2] ; | |
9900 | ||
5eb8189c RD |
9901 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
9902 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9903 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9905 | } |
5eb8189c | 9906 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9907 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9908 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9909 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9910 | } |
9911 | arg2 = static_cast< int >(val2); | |
9912 | if (arg1) (arg1)->type = arg2; | |
9913 | ||
9914 | resultobj = SWIG_Py_Void(); | |
9915 | return resultobj; | |
9916 | fail: | |
9917 | return NULL; | |
9918 | } | |
9919 | ||
9920 | ||
5eb8189c | 9921 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9922 | PyObject *resultobj = 0; |
5eb8189c | 9923 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9924 | int result; |
9925 | void *argp1 = 0 ; | |
9926 | int res1 = 0 ; | |
9927 | PyObject *swig_obj[1] ; | |
9928 | ||
9929 | if (!args) SWIG_fail; | |
9930 | swig_obj[0] = args; | |
5eb8189c | 9931 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9932 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9933 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9934 | } |
5eb8189c | 9935 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9936 | result = (int) ((arg1)->type); |
9937 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9938 | return resultobj; | |
9939 | fail: | |
9940 | return NULL; | |
9941 | } | |
9942 | ||
9943 | ||
5eb8189c | 9944 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9945 | PyObject *resultobj = 0; |
5eb8189c | 9946 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9947 | int arg2 ; |
9948 | void *argp1 = 0 ; | |
9949 | int res1 = 0 ; | |
9950 | int val2 ; | |
9951 | int ecode2 = 0 ; | |
9952 | PyObject *swig_obj[2] ; | |
9953 | ||
5eb8189c RD |
9954 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
9955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 9956 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9958 | } |
5eb8189c | 9959 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9960 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9961 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9962 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9963 | } |
9964 | arg2 = static_cast< int >(val2); | |
9965 | if (arg1) (arg1)->orientation = arg2; | |
9966 | ||
9967 | resultobj = SWIG_Py_Void(); | |
9968 | return resultobj; | |
9969 | fail: | |
9970 | return NULL; | |
9971 | } | |
9972 | ||
9973 | ||
5eb8189c | 9974 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9975 | PyObject *resultobj = 0; |
5eb8189c | 9976 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
9977 | int result; |
9978 | void *argp1 = 0 ; | |
9979 | int res1 = 0 ; | |
9980 | PyObject *swig_obj[1] ; | |
9981 | ||
9982 | if (!args) SWIG_fail; | |
9983 | swig_obj[0] = args; | |
5eb8189c | 9984 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 9985 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9986 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 9987 | } |
5eb8189c | 9988 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
9989 | result = (int) ((arg1)->orientation); |
9990 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9991 | return resultobj; | |
9992 | fail: | |
9993 | return NULL; | |
9994 | } | |
9995 | ||
9996 | ||
5eb8189c | 9997 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9998 | PyObject *resultobj = 0; |
5eb8189c RD |
9999 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10000 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10001 | void *argp1 = 0 ; |
10002 | int res1 = 0 ; | |
10003 | void *argp2 = 0 ; | |
10004 | int res2 = 0 ; | |
10005 | PyObject *swig_obj[2] ; | |
10006 | ||
5eb8189c RD |
10007 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10008 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10009 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10010 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10011 | } |
5eb8189c RD |
10012 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10013 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10014 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10015 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10016 | } |
5eb8189c | 10017 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10018 | if (arg1) (arg1)->dock = arg2; |
10019 | ||
10020 | resultobj = SWIG_Py_Void(); | |
10021 | return resultobj; | |
10022 | fail: | |
10023 | return NULL; | |
10024 | } | |
10025 | ||
10026 | ||
5eb8189c | 10027 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10028 | PyObject *resultobj = 0; |
5eb8189c RD |
10029 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10030 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10031 | void *argp1 = 0 ; |
10032 | int res1 = 0 ; | |
10033 | PyObject *swig_obj[1] ; | |
10034 | ||
10035 | if (!args) SWIG_fail; | |
10036 | swig_obj[0] = args; | |
5eb8189c | 10037 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10038 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10039 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10040 | } |
5eb8189c RD |
10041 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10042 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10043 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10044 | return resultobj; |
10045 | fail: | |
10046 | return NULL; | |
10047 | } | |
10048 | ||
10049 | ||
5eb8189c | 10050 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10051 | PyObject *resultobj = 0; |
5eb8189c RD |
10052 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10053 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10054 | void *argp1 = 0 ; |
10055 | int res1 = 0 ; | |
10056 | void *argp2 = 0 ; | |
10057 | int res2 = 0 ; | |
10058 | PyObject *swig_obj[2] ; | |
10059 | ||
5eb8189c RD |
10060 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10061 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10062 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10063 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10064 | } |
5eb8189c RD |
10065 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10066 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10067 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10068 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10069 | } |
5eb8189c | 10070 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10071 | if (arg1) (arg1)->pane = arg2; |
10072 | ||
10073 | resultobj = SWIG_Py_Void(); | |
10074 | return resultobj; | |
10075 | fail: | |
10076 | return NULL; | |
10077 | } | |
10078 | ||
10079 | ||
5eb8189c | 10080 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10081 | PyObject *resultobj = 0; |
5eb8189c RD |
10082 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10083 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10084 | void *argp1 = 0 ; |
10085 | int res1 = 0 ; | |
10086 | PyObject *swig_obj[1] ; | |
10087 | ||
10088 | if (!args) SWIG_fail; | |
10089 | swig_obj[0] = args; | |
5eb8189c | 10090 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10091 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10092 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10093 | } |
5eb8189c RD |
10094 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10095 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10096 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10097 | return resultobj; |
10098 | fail: | |
10099 | return NULL; | |
10100 | } | |
10101 | ||
10102 | ||
5eb8189c | 10103 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10104 | PyObject *resultobj = 0; |
5eb8189c RD |
10105 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10106 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10107 | void *argp1 = 0 ; |
10108 | int res1 = 0 ; | |
10109 | void *argp2 = 0 ; | |
10110 | int res2 = 0 ; | |
10111 | PyObject *swig_obj[2] ; | |
10112 | ||
5eb8189c RD |
10113 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10114 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10115 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10116 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10117 | } |
5eb8189c RD |
10118 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10119 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10120 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10121 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10122 | } |
5eb8189c | 10123 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10124 | if (arg1) (arg1)->button = arg2; |
10125 | ||
10126 | resultobj = SWIG_Py_Void(); | |
10127 | return resultobj; | |
10128 | fail: | |
10129 | return NULL; | |
10130 | } | |
10131 | ||
10132 | ||
5eb8189c | 10133 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10134 | PyObject *resultobj = 0; |
5eb8189c RD |
10135 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10136 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10137 | void *argp1 = 0 ; |
10138 | int res1 = 0 ; | |
10139 | PyObject *swig_obj[1] ; | |
10140 | ||
10141 | if (!args) SWIG_fail; | |
10142 | swig_obj[0] = args; | |
5eb8189c | 10143 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10144 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10145 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10146 | } |
5eb8189c RD |
10147 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10148 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10149 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10150 | return resultobj; |
10151 | fail: | |
10152 | return NULL; | |
10153 | } | |
10154 | ||
10155 | ||
5eb8189c | 10156 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10157 | PyObject *resultobj = 0; |
5eb8189c | 10158 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10159 | wxSizer *arg2 = (wxSizer *) 0 ; |
10160 | void *argp1 = 0 ; | |
10161 | int res1 = 0 ; | |
10162 | void *argp2 = 0 ; | |
10163 | int res2 = 0 ; | |
10164 | PyObject *swig_obj[2] ; | |
10165 | ||
5eb8189c RD |
10166 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10167 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10168 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10170 | } |
5eb8189c | 10171 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10172 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10173 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10174 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10175 | } |
10176 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10177 | if (arg1) (arg1)->cont_sizer = arg2; | |
10178 | ||
10179 | resultobj = SWIG_Py_Void(); | |
10180 | return resultobj; | |
10181 | fail: | |
10182 | return NULL; | |
10183 | } | |
10184 | ||
10185 | ||
5eb8189c | 10186 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10187 | PyObject *resultobj = 0; |
5eb8189c | 10188 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10189 | wxSizer *result = 0 ; |
10190 | void *argp1 = 0 ; | |
10191 | int res1 = 0 ; | |
10192 | PyObject *swig_obj[1] ; | |
10193 | ||
10194 | if (!args) SWIG_fail; | |
10195 | swig_obj[0] = args; | |
5eb8189c | 10196 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10197 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10198 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10199 | } |
5eb8189c | 10200 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10201 | result = (wxSizer *) ((arg1)->cont_sizer); |
10202 | { | |
10203 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10204 | } | |
10205 | return resultobj; | |
10206 | fail: | |
10207 | return NULL; | |
10208 | } | |
10209 | ||
10210 | ||
5eb8189c | 10211 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10212 | PyObject *resultobj = 0; |
5eb8189c | 10213 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10214 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10215 | void *argp1 = 0 ; | |
10216 | int res1 = 0 ; | |
10217 | void *argp2 = 0 ; | |
10218 | int res2 = 0 ; | |
10219 | PyObject *swig_obj[2] ; | |
10220 | ||
5eb8189c RD |
10221 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10222 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10223 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10225 | } |
5eb8189c | 10226 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10227 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10228 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10229 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10230 | } |
10231 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10232 | if (arg1) (arg1)->sizer_item = arg2; | |
10233 | ||
10234 | resultobj = SWIG_Py_Void(); | |
10235 | return resultobj; | |
10236 | fail: | |
10237 | return NULL; | |
10238 | } | |
10239 | ||
10240 | ||
5eb8189c | 10241 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10242 | PyObject *resultobj = 0; |
5eb8189c | 10243 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10244 | wxSizerItem *result = 0 ; |
10245 | void *argp1 = 0 ; | |
10246 | int res1 = 0 ; | |
10247 | PyObject *swig_obj[1] ; | |
10248 | ||
10249 | if (!args) SWIG_fail; | |
10250 | swig_obj[0] = args; | |
5eb8189c | 10251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10252 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10254 | } |
5eb8189c | 10255 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10256 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10257 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10258 | return resultobj; | |
10259 | fail: | |
10260 | return NULL; | |
10261 | } | |
10262 | ||
10263 | ||
5eb8189c | 10264 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10265 | PyObject *resultobj = 0; |
5eb8189c | 10266 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10267 | wxRect *arg2 = (wxRect *) 0 ; |
10268 | void *argp1 = 0 ; | |
10269 | int res1 = 0 ; | |
10270 | void *argp2 = 0 ; | |
10271 | int res2 = 0 ; | |
10272 | PyObject *swig_obj[2] ; | |
10273 | ||
5eb8189c RD |
10274 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10275 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10276 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10278 | } |
5eb8189c | 10279 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10280 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10281 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10282 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10283 | } |
10284 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10285 | if (arg1) (arg1)->rect = *arg2; | |
10286 | ||
10287 | resultobj = SWIG_Py_Void(); | |
10288 | return resultobj; | |
10289 | fail: | |
10290 | return NULL; | |
10291 | } | |
10292 | ||
10293 | ||
5eb8189c | 10294 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10295 | PyObject *resultobj = 0; |
5eb8189c | 10296 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10297 | wxRect *result = 0 ; |
10298 | void *argp1 = 0 ; | |
10299 | int res1 = 0 ; | |
10300 | PyObject *swig_obj[1] ; | |
10301 | ||
10302 | if (!args) SWIG_fail; | |
10303 | swig_obj[0] = args; | |
5eb8189c | 10304 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10305 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10306 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10307 | } |
5eb8189c | 10308 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10309 | result = (wxRect *)& ((arg1)->rect); |
10310 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10311 | return resultobj; | |
10312 | fail: | |
10313 | return NULL; | |
10314 | } | |
10315 | ||
10316 | ||
5eb8189c | 10317 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10318 | PyObject *resultobj = 0; |
5eb8189c | 10319 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10320 | void *argp1 = 0 ; |
10321 | int res1 = 0 ; | |
10322 | PyObject *swig_obj[1] ; | |
10323 | ||
10324 | if (!args) SWIG_fail; | |
10325 | swig_obj[0] = args; | |
5eb8189c | 10326 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10327 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10328 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10329 | } |
5eb8189c | 10330 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10331 | { |
10332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10333 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10334 | |
10335 | wxPyEndAllowThreads(__tstate); | |
10336 | if (PyErr_Occurred()) SWIG_fail; | |
10337 | } | |
10338 | resultobj = SWIG_Py_Void(); | |
10339 | return resultobj; | |
10340 | fail: | |
10341 | return NULL; | |
10342 | } | |
10343 | ||
10344 | ||
5eb8189c | 10345 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10346 | PyObject *obj; |
10347 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10348 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10349 | return SWIG_Py_Void(); |
10350 | } | |
10351 | ||
5eb8189c | 10352 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10353 | PyObject *resultobj = 0; |
5eb8189c | 10354 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10355 | int arg2 ; |
10356 | void *argp1 = 0 ; | |
10357 | int res1 = 0 ; | |
10358 | int val2 ; | |
10359 | int ecode2 = 0 ; | |
10360 | PyObject *swig_obj[2] ; | |
10361 | ||
5eb8189c RD |
10362 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10363 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10364 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10366 | } |
5eb8189c | 10367 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10368 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10369 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10370 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10371 | } |
10372 | arg2 = static_cast< int >(val2); | |
10373 | if (arg1) (arg1)->button_id = arg2; | |
10374 | ||
10375 | resultobj = SWIG_Py_Void(); | |
10376 | return resultobj; | |
10377 | fail: | |
10378 | return NULL; | |
10379 | } | |
10380 | ||
10381 | ||
5eb8189c | 10382 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10383 | PyObject *resultobj = 0; |
5eb8189c | 10384 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10385 | int result; |
10386 | void *argp1 = 0 ; | |
10387 | int res1 = 0 ; | |
10388 | PyObject *swig_obj[1] ; | |
10389 | ||
10390 | if (!args) SWIG_fail; | |
10391 | swig_obj[0] = args; | |
5eb8189c | 10392 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10393 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10395 | } |
5eb8189c | 10396 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10397 | result = (int) ((arg1)->button_id); |
10398 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10399 | return resultobj; | |
10400 | fail: | |
10401 | return NULL; | |
10402 | } | |
10403 | ||
10404 | ||
5eb8189c | 10405 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10406 | PyObject *resultobj = 0; |
5eb8189c | 10407 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10408 | void *argp1 = 0 ; |
10409 | int res1 = 0 ; | |
10410 | PyObject *swig_obj[1] ; | |
10411 | ||
10412 | if (!args) SWIG_fail; | |
10413 | swig_obj[0] = args; | |
5eb8189c | 10414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10415 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10417 | } |
5eb8189c | 10418 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10419 | { |
10420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10421 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10422 | |
10423 | wxPyEndAllowThreads(__tstate); | |
10424 | if (PyErr_Occurred()) SWIG_fail; | |
10425 | } | |
10426 | resultobj = SWIG_Py_Void(); | |
10427 | return resultobj; | |
10428 | fail: | |
10429 | return NULL; | |
10430 | } | |
10431 | ||
10432 | ||
5eb8189c | 10433 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10434 | PyObject *obj; |
10435 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10436 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10437 | return SWIG_Py_Void(); |
10438 | } | |
10439 | ||
5eb8189c | 10440 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10441 | PyObject *resultobj = 0; |
5eb8189c | 10442 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10443 | void *argp1 = 0 ; |
10444 | int res1 = 0 ; | |
10445 | PyObject *swig_obj[1] ; | |
10446 | ||
10447 | if (!args) SWIG_fail; | |
10448 | swig_obj[0] = args; | |
5eb8189c | 10449 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10450 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10452 | } |
5eb8189c | 10453 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10454 | { |
10455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10456 | delete arg1; | |
10457 | ||
10458 | wxPyEndAllowThreads(__tstate); | |
10459 | if (PyErr_Occurred()) SWIG_fail; | |
10460 | } | |
10461 | resultobj = SWIG_Py_Void(); | |
10462 | return resultobj; | |
10463 | fail: | |
10464 | return NULL; | |
10465 | } | |
10466 | ||
10467 | ||
5eb8189c | 10468 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10469 | PyObject *resultobj = 0; |
5eb8189c | 10470 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10471 | int arg2 ; |
10472 | int result; | |
10473 | void *argp1 = 0 ; | |
10474 | int res1 = 0 ; | |
10475 | int val2 ; | |
10476 | int ecode2 = 0 ; | |
10477 | PyObject * obj0 = 0 ; | |
10478 | PyObject * obj1 = 0 ; | |
10479 | char * kwnames[] = { | |
10480 | (char *) "self",(char *) "id", NULL | |
10481 | }; | |
10482 | ||
5eb8189c RD |
10483 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10484 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10485 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10486 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10487 | } |
5eb8189c | 10488 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10489 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10490 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10491 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10492 | } |
10493 | arg2 = static_cast< int >(val2); | |
10494 | { | |
10495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10496 | result = (int)(arg1)->GetMetric(arg2); | |
10497 | wxPyEndAllowThreads(__tstate); | |
10498 | if (PyErr_Occurred()) SWIG_fail; | |
10499 | } | |
10500 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10501 | return resultobj; | |
10502 | fail: | |
10503 | return NULL; | |
10504 | } | |
10505 | ||
10506 | ||
5eb8189c | 10507 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10508 | PyObject *resultobj = 0; |
5eb8189c | 10509 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10510 | int arg2 ; |
10511 | int arg3 ; | |
10512 | void *argp1 = 0 ; | |
10513 | int res1 = 0 ; | |
10514 | int val2 ; | |
10515 | int ecode2 = 0 ; | |
10516 | int val3 ; | |
10517 | int ecode3 = 0 ; | |
10518 | PyObject * obj0 = 0 ; | |
10519 | PyObject * obj1 = 0 ; | |
10520 | PyObject * obj2 = 0 ; | |
10521 | char * kwnames[] = { | |
10522 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10523 | }; | |
10524 | ||
5eb8189c RD |
10525 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10526 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10527 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10529 | } |
5eb8189c | 10530 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10531 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10532 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10533 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10534 | } |
10535 | arg2 = static_cast< int >(val2); | |
10536 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10537 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10538 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10539 | } |
10540 | arg3 = static_cast< int >(val3); | |
10541 | { | |
10542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10543 | (arg1)->SetMetric(arg2,arg3); | |
10544 | wxPyEndAllowThreads(__tstate); | |
10545 | if (PyErr_Occurred()) SWIG_fail; | |
10546 | } | |
10547 | resultobj = SWIG_Py_Void(); | |
10548 | return resultobj; | |
10549 | fail: | |
10550 | return NULL; | |
10551 | } | |
10552 | ||
10553 | ||
5eb8189c | 10554 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10555 | PyObject *resultobj = 0; |
5eb8189c | 10556 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10557 | int arg2 ; |
10558 | wxFont *arg3 = 0 ; | |
10559 | void *argp1 = 0 ; | |
10560 | int res1 = 0 ; | |
10561 | int val2 ; | |
10562 | int ecode2 = 0 ; | |
10563 | void *argp3 = 0 ; | |
10564 | int res3 = 0 ; | |
10565 | PyObject * obj0 = 0 ; | |
10566 | PyObject * obj1 = 0 ; | |
10567 | PyObject * obj2 = 0 ; | |
10568 | char * kwnames[] = { | |
10569 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10570 | }; | |
10571 | ||
5eb8189c RD |
10572 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10574 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10576 | } |
5eb8189c | 10577 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10578 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10579 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10580 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10581 | } |
10582 | arg2 = static_cast< int >(val2); | |
10583 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10584 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10585 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10586 | } |
10587 | if (!argp3) { | |
5eb8189c | 10588 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10589 | } |
10590 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10591 | { | |
10592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10593 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10594 | wxPyEndAllowThreads(__tstate); | |
10595 | if (PyErr_Occurred()) SWIG_fail; | |
10596 | } | |
10597 | resultobj = SWIG_Py_Void(); | |
10598 | return resultobj; | |
10599 | fail: | |
10600 | return NULL; | |
10601 | } | |
10602 | ||
10603 | ||
5eb8189c | 10604 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10605 | PyObject *resultobj = 0; |
5eb8189c | 10606 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10607 | int arg2 ; |
10608 | wxFont result; | |
10609 | void *argp1 = 0 ; | |
10610 | int res1 = 0 ; | |
10611 | int val2 ; | |
10612 | int ecode2 = 0 ; | |
10613 | PyObject * obj0 = 0 ; | |
10614 | PyObject * obj1 = 0 ; | |
10615 | char * kwnames[] = { | |
10616 | (char *) "self",(char *) "id", NULL | |
10617 | }; | |
10618 | ||
5eb8189c RD |
10619 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10620 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10621 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10623 | } |
5eb8189c | 10624 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10625 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10626 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10627 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10628 | } |
10629 | arg2 = static_cast< int >(val2); | |
10630 | { | |
10631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10632 | result = (arg1)->GetFont(arg2); | |
10633 | wxPyEndAllowThreads(__tstate); | |
10634 | if (PyErr_Occurred()) SWIG_fail; | |
10635 | } | |
10636 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10637 | return resultobj; | |
10638 | fail: | |
10639 | return NULL; | |
10640 | } | |
10641 | ||
10642 | ||
5eb8189c | 10643 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10644 | PyObject *resultobj = 0; |
5eb8189c | 10645 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10646 | int arg2 ; |
10647 | wxColour result; | |
10648 | void *argp1 = 0 ; | |
10649 | int res1 = 0 ; | |
10650 | int val2 ; | |
10651 | int ecode2 = 0 ; | |
10652 | PyObject * obj0 = 0 ; | |
10653 | PyObject * obj1 = 0 ; | |
10654 | char * kwnames[] = { | |
10655 | (char *) "self",(char *) "id", NULL | |
10656 | }; | |
10657 | ||
5eb8189c RD |
10658 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10659 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10660 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10662 | } |
5eb8189c | 10663 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10664 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10665 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10666 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10667 | } |
10668 | arg2 = static_cast< int >(val2); | |
10669 | { | |
10670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10671 | result = (arg1)->GetColour(arg2); | |
10672 | wxPyEndAllowThreads(__tstate); | |
10673 | if (PyErr_Occurred()) SWIG_fail; | |
10674 | } | |
10675 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10676 | return resultobj; | |
10677 | fail: | |
10678 | return NULL; | |
10679 | } | |
10680 | ||
10681 | ||
5eb8189c | 10682 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10683 | PyObject *resultobj = 0; |
5eb8189c | 10684 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10685 | int arg2 ; |
10686 | wxColor *arg3 = 0 ; | |
10687 | void *argp1 = 0 ; | |
10688 | int res1 = 0 ; | |
10689 | int val2 ; | |
10690 | int ecode2 = 0 ; | |
10691 | void *argp3 = 0 ; | |
10692 | int res3 = 0 ; | |
10693 | PyObject * obj0 = 0 ; | |
10694 | PyObject * obj1 = 0 ; | |
10695 | PyObject * obj2 = 0 ; | |
10696 | char * kwnames[] = { | |
10697 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10698 | }; | |
10699 | ||
5eb8189c RD |
10700 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10701 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10702 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10703 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10704 | } |
5eb8189c | 10705 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10706 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10707 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10708 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10709 | } |
10710 | arg2 = static_cast< int >(val2); | |
10711 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10712 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10713 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10714 | } |
10715 | if (!argp3) { | |
5eb8189c | 10716 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10717 | } |
10718 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
10719 | { | |
10720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10721 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
10722 | wxPyEndAllowThreads(__tstate); | |
10723 | if (PyErr_Occurred()) SWIG_fail; | |
10724 | } | |
10725 | resultobj = SWIG_Py_Void(); | |
10726 | return resultobj; | |
10727 | fail: | |
10728 | return NULL; | |
10729 | } | |
10730 | ||
10731 | ||
5eb8189c | 10732 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10733 | PyObject *resultobj = 0; |
5eb8189c | 10734 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10735 | int arg2 ; |
10736 | wxColour result; | |
10737 | void *argp1 = 0 ; | |
10738 | int res1 = 0 ; | |
10739 | int val2 ; | |
10740 | int ecode2 = 0 ; | |
10741 | PyObject * obj0 = 0 ; | |
10742 | PyObject * obj1 = 0 ; | |
10743 | char * kwnames[] = { | |
10744 | (char *) "self",(char *) "id", NULL | |
10745 | }; | |
10746 | ||
5eb8189c RD |
10747 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
10748 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10749 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10751 | } |
5eb8189c | 10752 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10753 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10754 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10755 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10756 | } |
10757 | arg2 = static_cast< int >(val2); | |
10758 | { | |
10759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10760 | result = (arg1)->GetColor(arg2); | |
10761 | wxPyEndAllowThreads(__tstate); | |
10762 | if (PyErr_Occurred()) SWIG_fail; | |
10763 | } | |
10764 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10765 | return resultobj; | |
10766 | fail: | |
10767 | return NULL; | |
10768 | } | |
10769 | ||
10770 | ||
5eb8189c | 10771 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10772 | PyObject *resultobj = 0; |
5eb8189c | 10773 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10774 | int arg2 ; |
10775 | wxColour *arg3 = 0 ; | |
10776 | void *argp1 = 0 ; | |
10777 | int res1 = 0 ; | |
10778 | int val2 ; | |
10779 | int ecode2 = 0 ; | |
10780 | wxColour temp3 ; | |
10781 | PyObject * obj0 = 0 ; | |
10782 | PyObject * obj1 = 0 ; | |
10783 | PyObject * obj2 = 0 ; | |
10784 | char * kwnames[] = { | |
10785 | (char *) "self",(char *) "id",(char *) "color", NULL | |
10786 | }; | |
10787 | ||
5eb8189c RD |
10788 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10789 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10790 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10791 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10792 | } |
5eb8189c | 10793 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10794 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10795 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10796 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10797 | } |
10798 | arg2 = static_cast< int >(val2); | |
10799 | { | |
10800 | arg3 = &temp3; | |
10801 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10802 | } | |
10803 | { | |
10804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10805 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
10806 | wxPyEndAllowThreads(__tstate); | |
10807 | if (PyErr_Occurred()) SWIG_fail; | |
10808 | } | |
10809 | resultobj = SWIG_Py_Void(); | |
10810 | return resultobj; | |
10811 | fail: | |
10812 | return NULL; | |
10813 | } | |
10814 | ||
10815 | ||
5eb8189c | 10816 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10817 | PyObject *resultobj = 0; |
5eb8189c | 10818 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10819 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10820 | wxWindow *arg3 = (wxWindow *) 0 ; |
10821 | int arg4 ; | |
10822 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10823 | void *argp1 = 0 ; |
10824 | int res1 = 0 ; | |
10825 | void *argp2 = 0 ; | |
10826 | int res2 = 0 ; | |
97ab0f6a RD |
10827 | void *argp3 = 0 ; |
10828 | int res3 = 0 ; | |
10829 | int val4 ; | |
10830 | int ecode4 = 0 ; | |
10831 | wxRect temp5 ; | |
27e45892 RD |
10832 | PyObject * obj0 = 0 ; |
10833 | PyObject * obj1 = 0 ; | |
10834 | PyObject * obj2 = 0 ; | |
10835 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10836 | PyObject * obj4 = 0 ; |
27e45892 | 10837 | char * kwnames[] = { |
97ab0f6a | 10838 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10839 | }; |
10840 | ||
5eb8189c RD |
10841 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10842 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10843 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10844 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10845 | } |
5eb8189c | 10846 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10847 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10848 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10849 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10850 | } |
10851 | if (!argp2) { | |
5eb8189c | 10852 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10853 | } |
10854 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10855 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10856 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10857 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
10858 | } |
10859 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10860 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10861 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 10862 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 10863 | } |
97ab0f6a | 10864 | arg4 = static_cast< int >(val4); |
27e45892 | 10865 | { |
97ab0f6a RD |
10866 | arg5 = &temp5; |
10867 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10868 | } |
10869 | { | |
10870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10871 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10872 | wxPyEndAllowThreads(__tstate); |
10873 | if (PyErr_Occurred()) SWIG_fail; | |
10874 | } | |
10875 | resultobj = SWIG_Py_Void(); | |
10876 | return resultobj; | |
10877 | fail: | |
10878 | return NULL; | |
10879 | } | |
10880 | ||
10881 | ||
5eb8189c | 10882 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10883 | PyObject *resultobj = 0; |
5eb8189c | 10884 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10885 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10886 | wxWindow *arg3 = (wxWindow *) 0 ; |
10887 | int arg4 ; | |
10888 | wxRect *arg5 = 0 ; | |
27e45892 RD |
10889 | void *argp1 = 0 ; |
10890 | int res1 = 0 ; | |
10891 | void *argp2 = 0 ; | |
10892 | int res2 = 0 ; | |
97ab0f6a RD |
10893 | void *argp3 = 0 ; |
10894 | int res3 = 0 ; | |
10895 | int val4 ; | |
10896 | int ecode4 = 0 ; | |
10897 | wxRect temp5 ; | |
27e45892 RD |
10898 | PyObject * obj0 = 0 ; |
10899 | PyObject * obj1 = 0 ; | |
10900 | PyObject * obj2 = 0 ; | |
10901 | PyObject * obj3 = 0 ; | |
97ab0f6a | 10902 | PyObject * obj4 = 0 ; |
27e45892 | 10903 | char * kwnames[] = { |
97ab0f6a | 10904 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
10905 | }; |
10906 | ||
5eb8189c RD |
10907 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10908 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10909 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10911 | } |
5eb8189c | 10912 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10913 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10914 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10915 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10916 | } |
10917 | if (!argp2) { | |
5eb8189c | 10918 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10919 | } |
10920 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10921 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10922 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10923 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
10924 | } |
10925 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
10926 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10927 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 10928 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 10929 | } |
97ab0f6a | 10930 | arg4 = static_cast< int >(val4); |
27e45892 | 10931 | { |
97ab0f6a RD |
10932 | arg5 = &temp5; |
10933 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
10934 | } |
10935 | { | |
10936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 10937 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
10938 | wxPyEndAllowThreads(__tstate); |
10939 | if (PyErr_Occurred()) SWIG_fail; | |
10940 | } | |
10941 | resultobj = SWIG_Py_Void(); | |
10942 | return resultobj; | |
10943 | fail: | |
10944 | return NULL; | |
10945 | } | |
10946 | ||
10947 | ||
5eb8189c | 10948 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10949 | PyObject *resultobj = 0; |
5eb8189c | 10950 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10951 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
10952 | wxWindow *arg3 = (wxWindow *) 0 ; |
10953 | wxString *arg4 = 0 ; | |
10954 | wxRect *arg5 = 0 ; | |
5eb8189c | 10955 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
10956 | void *argp1 = 0 ; |
10957 | int res1 = 0 ; | |
10958 | void *argp2 = 0 ; | |
10959 | int res2 = 0 ; | |
97ab0f6a RD |
10960 | void *argp3 = 0 ; |
10961 | int res3 = 0 ; | |
10962 | bool temp4 = false ; | |
10963 | wxRect temp5 ; | |
10964 | void *argp6 = 0 ; | |
10965 | int res6 = 0 ; | |
27e45892 RD |
10966 | PyObject * obj0 = 0 ; |
10967 | PyObject * obj1 = 0 ; | |
10968 | PyObject * obj2 = 0 ; | |
10969 | PyObject * obj3 = 0 ; | |
10970 | PyObject * obj4 = 0 ; | |
97ab0f6a | 10971 | PyObject * obj5 = 0 ; |
27e45892 | 10972 | char * kwnames[] = { |
97ab0f6a | 10973 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
10974 | }; |
10975 | ||
5eb8189c RD |
10976 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
10977 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10978 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10979 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10980 | } |
5eb8189c | 10981 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10982 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
10983 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10984 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10985 | } |
10986 | if (!argp2) { | |
5eb8189c | 10987 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
10988 | } |
10989 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
10990 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10991 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10992 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
10993 | } |
10994 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 10995 | { |
97ab0f6a RD |
10996 | arg4 = wxString_in_helper(obj3); |
10997 | if (arg4 == NULL) SWIG_fail; | |
10998 | temp4 = true; | |
27e45892 RD |
10999 | } |
11000 | { | |
97ab0f6a RD |
11001 | arg5 = &temp5; |
11002 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11003 | } |
5eb8189c | 11004 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11005 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11006 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11007 | } |
97ab0f6a | 11008 | if (!argp6) { |
5eb8189c | 11009 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11010 | } |
5eb8189c | 11011 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11012 | { |
11013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11014 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11015 | wxPyEndAllowThreads(__tstate); |
11016 | if (PyErr_Occurred()) SWIG_fail; | |
11017 | } | |
11018 | resultobj = SWIG_Py_Void(); | |
11019 | { | |
97ab0f6a RD |
11020 | if (temp4) |
11021 | delete arg4; | |
27e45892 RD |
11022 | } |
11023 | return resultobj; | |
11024 | fail: | |
11025 | { | |
97ab0f6a RD |
11026 | if (temp4) |
11027 | delete arg4; | |
27e45892 RD |
11028 | } |
11029 | return NULL; | |
11030 | } | |
11031 | ||
11032 | ||
5eb8189c | 11033 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11034 | PyObject *resultobj = 0; |
5eb8189c | 11035 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11036 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11037 | wxWindow *arg3 = (wxWindow *) 0 ; |
11038 | wxRect *arg4 = 0 ; | |
5eb8189c | 11039 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11040 | void *argp1 = 0 ; |
11041 | int res1 = 0 ; | |
11042 | void *argp2 = 0 ; | |
11043 | int res2 = 0 ; | |
97ab0f6a RD |
11044 | void *argp3 = 0 ; |
11045 | int res3 = 0 ; | |
11046 | wxRect temp4 ; | |
11047 | void *argp5 = 0 ; | |
11048 | int res5 = 0 ; | |
27e45892 RD |
11049 | PyObject * obj0 = 0 ; |
11050 | PyObject * obj1 = 0 ; | |
11051 | PyObject * obj2 = 0 ; | |
11052 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11053 | PyObject * obj4 = 0 ; |
27e45892 | 11054 | char * kwnames[] = { |
97ab0f6a | 11055 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11056 | }; |
11057 | ||
5eb8189c RD |
11058 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11059 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11060 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11061 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11062 | } |
5eb8189c | 11063 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11064 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11065 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11066 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11067 | } |
11068 | if (!argp2) { | |
5eb8189c | 11069 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11070 | } |
11071 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11072 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11073 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11074 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11075 | } |
11076 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11077 | { |
97ab0f6a RD |
11078 | arg4 = &temp4; |
11079 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11080 | } |
5eb8189c | 11081 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11082 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11083 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11084 | } |
97ab0f6a | 11085 | if (!argp5) { |
5eb8189c | 11086 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11087 | } |
5eb8189c | 11088 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11089 | { |
11090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11091 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11092 | wxPyEndAllowThreads(__tstate); |
11093 | if (PyErr_Occurred()) SWIG_fail; | |
11094 | } | |
11095 | resultobj = SWIG_Py_Void(); | |
11096 | return resultobj; | |
11097 | fail: | |
11098 | return NULL; | |
11099 | } | |
11100 | ||
11101 | ||
5eb8189c | 11102 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11103 | PyObject *resultobj = 0; |
5eb8189c | 11104 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11105 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11106 | wxWindow *arg3 = (wxWindow *) 0 ; |
11107 | wxRect *arg4 = 0 ; | |
5eb8189c | 11108 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11109 | void *argp1 = 0 ; |
11110 | int res1 = 0 ; | |
11111 | void *argp2 = 0 ; | |
11112 | int res2 = 0 ; | |
97ab0f6a RD |
11113 | void *argp3 = 0 ; |
11114 | int res3 = 0 ; | |
11115 | wxRect temp4 ; | |
11116 | void *argp5 = 0 ; | |
11117 | int res5 = 0 ; | |
27e45892 RD |
11118 | PyObject * obj0 = 0 ; |
11119 | PyObject * obj1 = 0 ; | |
11120 | PyObject * obj2 = 0 ; | |
11121 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11122 | PyObject * obj4 = 0 ; |
27e45892 | 11123 | char * kwnames[] = { |
97ab0f6a | 11124 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11125 | }; |
11126 | ||
5eb8189c RD |
11127 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11128 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11129 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11130 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11131 | } |
5eb8189c | 11132 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11133 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11134 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11135 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11136 | } |
11137 | if (!argp2) { | |
5eb8189c | 11138 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11139 | } |
11140 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11141 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11142 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11143 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11144 | } |
11145 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11146 | { |
97ab0f6a RD |
11147 | arg4 = &temp4; |
11148 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11149 | } |
5eb8189c | 11150 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11151 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11152 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11153 | } |
97ab0f6a | 11154 | if (!argp5) { |
5eb8189c | 11155 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11156 | } |
5eb8189c | 11157 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11158 | { |
11159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11160 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11161 | wxPyEndAllowThreads(__tstate); |
11162 | if (PyErr_Occurred()) SWIG_fail; | |
11163 | } | |
11164 | resultobj = SWIG_Py_Void(); | |
11165 | return resultobj; | |
11166 | fail: | |
11167 | return NULL; | |
11168 | } | |
11169 | ||
11170 | ||
5eb8189c | 11171 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11172 | PyObject *resultobj = 0; |
5eb8189c | 11173 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11174 | wxDC *arg2 = 0 ; |
97ab0f6a | 11175 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11176 | int arg4 ; |
97ab0f6a RD |
11177 | int arg5 ; |
11178 | wxRect *arg6 = 0 ; | |
5eb8189c | 11179 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11180 | void *argp1 = 0 ; |
11181 | int res1 = 0 ; | |
11182 | void *argp2 = 0 ; | |
11183 | int res2 = 0 ; | |
97ab0f6a RD |
11184 | void *argp3 = 0 ; |
11185 | int res3 = 0 ; | |
27e45892 RD |
11186 | int val4 ; |
11187 | int ecode4 = 0 ; | |
97ab0f6a RD |
11188 | int val5 ; |
11189 | int ecode5 = 0 ; | |
11190 | wxRect temp6 ; | |
11191 | void *argp7 = 0 ; | |
11192 | int res7 = 0 ; | |
27e45892 RD |
11193 | PyObject * obj0 = 0 ; |
11194 | PyObject * obj1 = 0 ; | |
11195 | PyObject * obj2 = 0 ; | |
11196 | PyObject * obj3 = 0 ; | |
11197 | PyObject * obj4 = 0 ; | |
11198 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11199 | PyObject * obj6 = 0 ; |
27e45892 | 11200 | char * kwnames[] = { |
97ab0f6a | 11201 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11202 | }; |
11203 | ||
5eb8189c RD |
11204 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11205 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11206 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11208 | } |
5eb8189c | 11209 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11210 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11211 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11212 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11213 | } |
11214 | if (!argp2) { | |
5eb8189c | 11215 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11216 | } |
11217 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11218 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11219 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11220 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11221 | } |
11222 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11223 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11224 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11225 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11226 | } |
11227 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11228 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11229 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11230 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11231 | } |
11232 | arg5 = static_cast< int >(val5); | |
27e45892 | 11233 | { |
97ab0f6a RD |
11234 | arg6 = &temp6; |
11235 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11236 | } |
5eb8189c | 11237 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11238 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11239 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11240 | } |
97ab0f6a | 11241 | if (!argp7) { |
5eb8189c | 11242 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11243 | } |
5eb8189c | 11244 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11245 | { |
11246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11247 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11248 | wxPyEndAllowThreads(__tstate); |
11249 | if (PyErr_Occurred()) SWIG_fail; | |
11250 | } | |
11251 | resultobj = SWIG_Py_Void(); | |
11252 | return resultobj; | |
11253 | fail: | |
11254 | return NULL; | |
11255 | } | |
11256 | ||
11257 | ||
5eb8189c | 11258 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11259 | PyObject *obj; |
11260 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11261 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11262 | return SWIG_Py_Void(); |
11263 | } | |
11264 | ||
5eb8189c | 11265 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11266 | PyObject *resultobj = 0; |
5eb8189c | 11267 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11268 | |
5eb8189c | 11269 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11270 | { |
11271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11272 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11273 | wxPyEndAllowThreads(__tstate); |
11274 | if (PyErr_Occurred()) SWIG_fail; | |
11275 | } | |
5eb8189c | 11276 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11277 | return resultobj; |
11278 | fail: | |
11279 | return NULL; | |
11280 | } | |
11281 | ||
11282 | ||
5eb8189c | 11283 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11284 | PyObject *obj; |
11285 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11286 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11287 | return SWIG_Py_Void(); |
11288 | } | |
11289 | ||
5eb8189c | 11290 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11291 | return SWIG_Python_InitShadowInstance(args); |
11292 | } | |
11293 | ||
5eb8189c | 11294 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11295 | PyObject *resultobj = 0; |
11296 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11297 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11298 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11299 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11300 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11301 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11302 | void *argp1 = 0 ; |
11303 | int res1 = 0 ; | |
11304 | void *argp2 = 0 ; | |
11305 | int res2 = 0 ; | |
11306 | void *argp3 = 0 ; | |
11307 | int res3 = 0 ; | |
11308 | int val4 ; | |
11309 | int ecode4 = 0 ; | |
9b940138 RD |
11310 | long val5 ; |
11311 | int ecode5 = 0 ; | |
27e45892 RD |
11312 | PyObject * obj0 = 0 ; |
11313 | PyObject * obj1 = 0 ; | |
11314 | PyObject * obj2 = 0 ; | |
11315 | PyObject * obj3 = 0 ; | |
9b940138 | 11316 | PyObject * obj4 = 0 ; |
27e45892 | 11317 | char * kwnames[] = { |
9b940138 | 11318 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11319 | }; |
11320 | ||
5eb8189c | 11321 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11322 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11323 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11325 | } |
11326 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11327 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11328 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11329 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11330 | } |
5eb8189c RD |
11331 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11332 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11333 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11334 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11335 | } |
11336 | if (!argp3) { | |
5eb8189c | 11337 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11338 | } |
5eb8189c | 11339 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11340 | if (obj3) { |
11341 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11342 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11343 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11344 | } |
11345 | arg4 = static_cast< int >(val4); | |
11346 | } | |
9b940138 RD |
11347 | if (obj4) { |
11348 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11349 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11350 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11351 | } |
11352 | arg5 = static_cast< long >(val5); | |
11353 | } | |
27e45892 RD |
11354 | { |
11355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11356 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11357 | wxPyEndAllowThreads(__tstate); |
11358 | if (PyErr_Occurred()) SWIG_fail; | |
11359 | } | |
5eb8189c | 11360 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11361 | return resultobj; |
11362 | fail: | |
11363 | return NULL; | |
11364 | } | |
11365 | ||
11366 | ||
5eb8189c | 11367 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11368 | PyObject *resultobj = 0; |
5eb8189c | 11369 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11370 | void *argp1 = 0 ; |
11371 | int res1 = 0 ; | |
11372 | PyObject *swig_obj[1] ; | |
11373 | ||
11374 | if (!args) SWIG_fail; | |
11375 | swig_obj[0] = args; | |
5eb8189c | 11376 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11377 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11379 | } |
5eb8189c | 11380 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11381 | { |
11382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11383 | delete arg1; | |
11384 | ||
11385 | wxPyEndAllowThreads(__tstate); | |
11386 | if (PyErr_Occurred()) SWIG_fail; | |
11387 | } | |
11388 | resultobj = SWIG_Py_Void(); | |
11389 | return resultobj; | |
11390 | fail: | |
11391 | return NULL; | |
11392 | } | |
11393 | ||
11394 | ||
5eb8189c | 11395 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11396 | PyObject *resultobj = 0; |
5eb8189c RD |
11397 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11398 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11399 | void *argp1 = 0 ; |
11400 | int res1 = 0 ; | |
11401 | void *argp2 = 0 ; | |
11402 | int res2 = 0 ; | |
11403 | PyObject * obj0 = 0 ; | |
11404 | PyObject * obj1 = 0 ; | |
11405 | char * kwnames[] = { | |
11406 | (char *) "self",(char *) "pane", NULL | |
11407 | }; | |
11408 | ||
5eb8189c RD |
11409 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11410 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11411 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11412 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11413 | } |
5eb8189c RD |
11414 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11415 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11416 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11417 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11418 | } |
11419 | if (!argp2) { | |
5eb8189c | 11420 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11421 | } |
5eb8189c | 11422 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11423 | { |
11424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11425 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11426 | wxPyEndAllowThreads(__tstate); |
11427 | if (PyErr_Occurred()) SWIG_fail; | |
11428 | } | |
11429 | resultobj = SWIG_Py_Void(); | |
11430 | return resultobj; | |
11431 | fail: | |
11432 | return NULL; | |
11433 | } | |
11434 | ||
11435 | ||
5eb8189c | 11436 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11437 | PyObject *obj; |
11438 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11439 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11440 | return SWIG_Py_Void(); |
11441 | } | |
11442 | ||
5eb8189c | 11443 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11444 | return SWIG_Python_InitShadowInstance(args); |
11445 | } | |
11446 | ||
5172800e | 11447 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11448 | PyObject *resultobj = 0; |
5172800e RD |
11449 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11450 | int arg2 = (int) 0 ; | |
11451 | wxAuiNotebookEvent *result = 0 ; | |
11452 | int val1 ; | |
11453 | int ecode1 = 0 ; | |
11454 | int val2 ; | |
11455 | int ecode2 = 0 ; | |
11456 | PyObject * obj0 = 0 ; | |
11457 | PyObject * obj1 = 0 ; | |
11458 | char * kwnames[] = { | |
11459 | (char *) "command_type",(char *) "win_id", NULL | |
11460 | }; | |
5c8c7dd3 | 11461 | |
5172800e RD |
11462 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11463 | if (obj0) { | |
11464 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11465 | if (!SWIG_IsOK(ecode1)) { | |
11466 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11467 | } | |
11468 | arg1 = static_cast< wxEventType >(val1); | |
11469 | } | |
11470 | if (obj1) { | |
11471 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11472 | if (!SWIG_IsOK(ecode2)) { | |
11473 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11474 | } | |
11475 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11476 | } |
5c8c7dd3 RD |
11477 | { |
11478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11479 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11480 | wxPyEndAllowThreads(__tstate); |
11481 | if (PyErr_Occurred()) SWIG_fail; | |
11482 | } | |
5172800e | 11483 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11484 | return resultobj; |
11485 | fail: | |
11486 | return NULL; | |
11487 | } | |
11488 | ||
11489 | ||
5172800e | 11490 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11491 | PyObject *resultobj = 0; |
5172800e RD |
11492 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11493 | int arg2 ; | |
8f514ab4 RD |
11494 | void *argp1 = 0 ; |
11495 | int res1 = 0 ; | |
5172800e RD |
11496 | int val2 ; |
11497 | int ecode2 = 0 ; | |
8f514ab4 RD |
11498 | PyObject * obj0 = 0 ; |
11499 | PyObject * obj1 = 0 ; | |
11500 | char * kwnames[] = { | |
5172800e | 11501 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11502 | }; |
11503 | ||
5172800e RD |
11504 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11505 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11506 | if (!SWIG_IsOK(res1)) { |
5172800e | 11507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11508 | } |
5172800e RD |
11509 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11510 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11511 | if (!SWIG_IsOK(ecode2)) { | |
11512 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11513 | } | |
11514 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11515 | { |
11516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11517 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11518 | wxPyEndAllowThreads(__tstate); |
11519 | if (PyErr_Occurred()) SWIG_fail; | |
11520 | } | |
11521 | resultobj = SWIG_Py_Void(); | |
11522 | return resultobj; | |
11523 | fail: | |
11524 | return NULL; | |
11525 | } | |
11526 | ||
11527 | ||
5172800e | 11528 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11529 | PyObject *resultobj = 0; |
5172800e RD |
11530 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11531 | int result; | |
8f514ab4 RD |
11532 | void *argp1 = 0 ; |
11533 | int res1 = 0 ; | |
5172800e | 11534 | PyObject *swig_obj[1] ; |
8f514ab4 | 11535 | |
5172800e RD |
11536 | if (!args) SWIG_fail; |
11537 | swig_obj[0] = args; | |
11538 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11539 | if (!SWIG_IsOK(res1)) { |
5172800e | 11540 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11541 | } |
5172800e | 11542 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11543 | { |
11544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11545 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11546 | wxPyEndAllowThreads(__tstate); |
11547 | if (PyErr_Occurred()) SWIG_fail; | |
11548 | } | |
5172800e | 11549 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11550 | return resultobj; |
11551 | fail: | |
11552 | return NULL; | |
11553 | } | |
11554 | ||
11555 | ||
5172800e | 11556 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11557 | PyObject *resultobj = 0; |
5172800e RD |
11558 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11559 | int arg2 ; | |
8f514ab4 RD |
11560 | void *argp1 = 0 ; |
11561 | int res1 = 0 ; | |
5172800e RD |
11562 | int val2 ; |
11563 | int ecode2 = 0 ; | |
8f514ab4 RD |
11564 | PyObject * obj0 = 0 ; |
11565 | PyObject * obj1 = 0 ; | |
11566 | char * kwnames[] = { | |
5172800e | 11567 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11568 | }; |
11569 | ||
5172800e RD |
11570 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11571 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11572 | if (!SWIG_IsOK(res1)) { |
5172800e | 11573 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11574 | } |
5172800e RD |
11575 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11576 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11577 | if (!SWIG_IsOK(ecode2)) { | |
11578 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11579 | } | |
11580 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11581 | { |
11582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11583 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11584 | wxPyEndAllowThreads(__tstate); |
11585 | if (PyErr_Occurred()) SWIG_fail; | |
11586 | } | |
11587 | resultobj = SWIG_Py_Void(); | |
11588 | return resultobj; | |
11589 | fail: | |
11590 | return NULL; | |
11591 | } | |
11592 | ||
11593 | ||
5172800e | 11594 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11595 | PyObject *resultobj = 0; |
5172800e RD |
11596 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11597 | int result; | |
5c8c7dd3 RD |
11598 | void *argp1 = 0 ; |
11599 | int res1 = 0 ; | |
5172800e | 11600 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11601 | |
5172800e RD |
11602 | if (!args) SWIG_fail; |
11603 | swig_obj[0] = args; | |
11604 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11605 | if (!SWIG_IsOK(res1)) { |
5172800e | 11606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11607 | } |
5172800e | 11608 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11609 | { |
11610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11611 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11612 | wxPyEndAllowThreads(__tstate); |
11613 | if (PyErr_Occurred()) SWIG_fail; | |
11614 | } | |
5172800e | 11615 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11616 | return resultobj; |
11617 | fail: | |
11618 | return NULL; | |
11619 | } | |
11620 | ||
11621 | ||
5172800e | 11622 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11623 | PyObject *resultobj = 0; |
5172800e RD |
11624 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11625 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11626 | void *argp1 = 0 ; |
11627 | int res1 = 0 ; | |
11628 | void *argp2 = 0 ; | |
11629 | int res2 = 0 ; | |
5c8c7dd3 RD |
11630 | PyObject * obj0 = 0 ; |
11631 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11632 | char * kwnames[] = { |
5172800e | 11633 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11634 | }; |
11635 | ||
5172800e RD |
11636 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11637 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11638 | if (!SWIG_IsOK(res1)) { |
5172800e | 11639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11640 | } |
5172800e RD |
11641 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11642 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11643 | if (!SWIG_IsOK(res2)) { |
5172800e | 11644 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11645 | } |
5172800e | 11646 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11647 | { |
11648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11649 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11650 | wxPyEndAllowThreads(__tstate); |
11651 | if (PyErr_Occurred()) SWIG_fail; | |
11652 | } | |
11653 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11654 | return resultobj; |
11655 | fail: | |
5c8c7dd3 RD |
11656 | return NULL; |
11657 | } | |
11658 | ||
11659 | ||
5172800e | 11660 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11661 | PyObject *resultobj = 0; |
5172800e RD |
11662 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11663 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11664 | void *argp1 = 0 ; |
11665 | int res1 = 0 ; | |
5172800e | 11666 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11667 | |
5172800e RD |
11668 | if (!args) SWIG_fail; |
11669 | swig_obj[0] = args; | |
11670 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11671 | if (!SWIG_IsOK(res1)) { |
5172800e | 11672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11673 | } |
5172800e | 11674 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11675 | { |
11676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11677 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
11678 | wxPyEndAllowThreads(__tstate); |
11679 | if (PyErr_Occurred()) SWIG_fail; | |
11680 | } | |
5172800e | 11681 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
11682 | return resultobj; |
11683 | fail: | |
11684 | return NULL; | |
11685 | } | |
11686 | ||
11687 | ||
5172800e | 11688 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11689 | PyObject *resultobj = 0; |
5172800e RD |
11690 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11691 | int arg2 ; | |
5c8c7dd3 RD |
11692 | void *argp1 = 0 ; |
11693 | int res1 = 0 ; | |
5172800e RD |
11694 | int val2 ; |
11695 | int ecode2 = 0 ; | |
11696 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 11697 | |
5172800e RD |
11698 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
11699 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11700 | if (!SWIG_IsOK(res1)) { |
5172800e | 11701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11702 | } |
5172800e RD |
11703 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11704 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11705 | if (!SWIG_IsOK(ecode2)) { | |
11706 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 11707 | } |
5172800e RD |
11708 | arg2 = static_cast< int >(val2); |
11709 | if (arg1) (arg1)->old_selection = arg2; | |
11710 | ||
11711 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11712 | return resultobj; |
11713 | fail: | |
11714 | return NULL; | |
11715 | } | |
11716 | ||
11717 | ||
5172800e | 11718 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 11719 | PyObject *resultobj = 0; |
5172800e | 11720 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
11721 | int result; |
11722 | void *argp1 = 0 ; | |
11723 | int res1 = 0 ; | |
5172800e | 11724 | PyObject *swig_obj[1] ; |
d95b9f2b | 11725 | |
5172800e RD |
11726 | if (!args) SWIG_fail; |
11727 | swig_obj[0] = args; | |
11728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 11729 | if (!SWIG_IsOK(res1)) { |
5172800e | 11730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 11731 | } |
5172800e RD |
11732 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11733 | result = (int) ((arg1)->old_selection); | |
11734 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11735 | return resultobj; | |
11736 | fail: | |
11737 | return NULL; | |
11738 | } | |
11739 | ||
11740 | ||
11741 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11742 | PyObject *resultobj = 0; | |
11743 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11744 | int arg2 ; | |
11745 | void *argp1 = 0 ; | |
11746 | int res1 = 0 ; | |
11747 | int val2 ; | |
11748 | int ecode2 = 0 ; | |
11749 | PyObject *swig_obj[2] ; | |
11750 | ||
11751 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
11752 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11753 | if (!SWIG_IsOK(res1)) { | |
11754 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 11755 | } |
5172800e RD |
11756 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11757 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11758 | if (!SWIG_IsOK(ecode2)) { | |
11759 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 11760 | } |
5172800e RD |
11761 | arg2 = static_cast< int >(val2); |
11762 | if (arg1) (arg1)->selection = arg2; | |
11763 | ||
11764 | resultobj = SWIG_Py_Void(); | |
11765 | return resultobj; | |
11766 | fail: | |
11767 | return NULL; | |
11768 | } | |
11769 | ||
11770 | ||
11771 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11772 | PyObject *resultobj = 0; | |
11773 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
11774 | int result; | |
11775 | void *argp1 = 0 ; | |
11776 | int res1 = 0 ; | |
11777 | PyObject *swig_obj[1] ; | |
11778 | ||
11779 | if (!args) SWIG_fail; | |
11780 | swig_obj[0] = args; | |
11781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11782 | if (!SWIG_IsOK(res1)) { | |
11783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 11784 | } |
5172800e RD |
11785 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11786 | result = (int) ((arg1)->selection); | |
d95b9f2b | 11787 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
11788 | return resultobj; |
11789 | fail: | |
d95b9f2b RD |
11790 | return NULL; |
11791 | } | |
11792 | ||
11793 | ||
5172800e | 11794 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11795 | PyObject *resultobj = 0; |
5172800e RD |
11796 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11797 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11798 | void *argp1 = 0 ; |
11799 | int res1 = 0 ; | |
11800 | void *argp2 = 0 ; | |
11801 | int res2 = 0 ; | |
5172800e | 11802 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 11803 | |
5172800e RD |
11804 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
11805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11806 | if (!SWIG_IsOK(res1)) { |
5172800e | 11807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11808 | } |
5172800e RD |
11809 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11810 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 11811 | if (!SWIG_IsOK(res2)) { |
5172800e | 11812 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 11813 | } |
5172800e RD |
11814 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
11815 | if (arg1) (arg1)->drag_source = arg2; | |
11816 | ||
11817 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11818 | return resultobj; |
11819 | fail: | |
11820 | return NULL; | |
11821 | } | |
11822 | ||
11823 | ||
5172800e | 11824 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11825 | PyObject *resultobj = 0; |
5172800e RD |
11826 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11827 | wxAuiNotebook *result = 0 ; | |
11828 | void *argp1 = 0 ; | |
11829 | int res1 = 0 ; | |
11830 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 11831 | |
5172800e RD |
11832 | if (!args) SWIG_fail; |
11833 | swig_obj[0] = args; | |
11834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
11835 | if (!SWIG_IsOK(res1)) { | |
11836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 11837 | } |
5172800e RD |
11838 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11839 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
11840 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
11841 | return resultobj; |
11842 | fail: | |
11843 | return NULL; | |
11844 | } | |
11845 | ||
11846 | ||
5172800e RD |
11847 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11848 | PyObject *obj; | |
11849 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11850 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
11851 | return SWIG_Py_Void(); | |
11852 | } | |
11853 | ||
11854 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11855 | return SWIG_Python_InitShadowInstance(args); | |
11856 | } | |
11857 | ||
11858 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 11859 | PyObject *resultobj = 0; |
5172800e RD |
11860 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
11861 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
11862 | void *argp1 = 0 ; |
11863 | int res1 = 0 ; | |
5172800e RD |
11864 | void *argp2 = 0 ; |
11865 | int res2 = 0 ; | |
11866 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 11867 | |
5172800e RD |
11868 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
11869 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 11870 | if (!SWIG_IsOK(res1)) { |
5172800e | 11871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 11872 | } |
5172800e RD |
11873 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
11874 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
11875 | if (!SWIG_IsOK(res2)) { | |
11876 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 11877 | } |
5172800e RD |
11878 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
11879 | if (arg1) (arg1)->window = arg2; | |
11880 | ||
5c8c7dd3 RD |
11881 | resultobj = SWIG_Py_Void(); |
11882 | return resultobj; | |
11883 | fail: | |
11884 | return NULL; | |
11885 | } | |
11886 | ||
11887 | ||
5172800e | 11888 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 11889 | PyObject *resultobj = 0; |
5172800e RD |
11890 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
11891 | wxWindow *result = 0 ; | |
11892 | void *argp1 = 0 ; | |
11893 | int res1 = 0 ; | |
11894 | PyObject *swig_obj[1] ; | |
10044bf1 | 11895 | |
5172800e RD |
11896 | if (!args) SWIG_fail; |
11897 | swig_obj[0] = args; | |
11898 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
11899 | if (!SWIG_IsOK(res1)) { | |
11900 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10044bf1 | 11901 | } |
5172800e RD |
11902 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
11903 | result = (wxWindow *) ((arg1)->window); | |
10044bf1 | 11904 | { |
5172800e | 11905 | resultobj = wxPyMake_wxObject(result, 0); |
10044bf1 | 11906 | } |
10044bf1 RD |
11907 | return resultobj; |
11908 | fail: | |
11909 | return NULL; | |
27e45892 RD |
11910 | } |
11911 | ||
10044bf1 | 11912 | |
5172800e | 11913 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 11914 | PyObject *resultobj = 0; |
5172800e RD |
11915 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
11916 | wxString *arg2 = (wxString *) 0 ; | |
10044bf1 RD |
11917 | void *argp1 = 0 ; |
11918 | int res1 = 0 ; | |
5172800e RD |
11919 | bool temp2 = false ; |
11920 | PyObject *swig_obj[2] ; | |
10044bf1 | 11921 | |
5172800e RD |
11922 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
11923 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 11924 | if (!SWIG_IsOK(res1)) { |
5172800e | 11925 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 11926 | } |
5172800e | 11927 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
10044bf1 | 11928 | { |
5172800e RD |
11929 | arg2 = wxString_in_helper(swig_obj[1]); |
11930 | if (arg2 == NULL) SWIG_fail; | |
11931 | temp2 = true; | |
10044bf1 | 11932 | } |
5172800e RD |
11933 | if (arg1) (arg1)->caption = *arg2; |
11934 | ||
10044bf1 | 11935 | resultobj = SWIG_Py_Void(); |
5172800e RD |
11936 | { |
11937 | if (temp2) | |
11938 | delete arg2; | |
11939 | } | |
10044bf1 RD |
11940 | return resultobj; |
11941 | fail: | |
5172800e RD |
11942 | { |
11943 | if (temp2) | |
11944 | delete arg2; | |
11945 | } | |
10044bf1 RD |
11946 | return NULL; |
11947 | } | |
11948 | ||
11949 | ||
5172800e | 11950 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 11951 | PyObject *resultobj = 0; |
5172800e RD |
11952 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
11953 | wxString *result = 0 ; | |
d95b9f2b RD |
11954 | void *argp1 = 0 ; |
11955 | int res1 = 0 ; | |
11956 | PyObject *swig_obj[1] ; | |
11957 | ||
11958 | if (!args) SWIG_fail; | |
11959 | swig_obj[0] = args; | |
5172800e | 11960 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 11961 | if (!SWIG_IsOK(res1)) { |
5172800e | 11962 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 11963 | } |
5172800e RD |
11964 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
11965 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 11966 | { |
5172800e RD |
11967 | #if wxUSE_UNICODE |
11968 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
11969 | #else | |
11970 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
11971 | #endif | |
d95b9f2b | 11972 | } |
d95b9f2b RD |
11973 | return resultobj; |
11974 | fail: | |
11975 | return NULL; | |
11976 | } | |
11977 | ||
11978 | ||
5172800e | 11979 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 11980 | PyObject *resultobj = 0; |
5172800e RD |
11981 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
11982 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
11983 | void *argp1 = 0 ; |
11984 | int res1 = 0 ; | |
5172800e RD |
11985 | void *argp2 = 0 ; |
11986 | int res2 = 0 ; | |
11987 | PyObject *swig_obj[2] ; | |
10044bf1 | 11988 | |
5172800e RD |
11989 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
11990 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 11991 | if (!SWIG_IsOK(res1)) { |
5172800e | 11992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 11993 | } |
5172800e RD |
11994 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
11995 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
11996 | if (!SWIG_IsOK(res2)) { | |
11997 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 11998 | } |
5172800e RD |
11999 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12000 | if (arg1) (arg1)->bitmap = *arg2; | |
12001 | ||
10044bf1 RD |
12002 | resultobj = SWIG_Py_Void(); |
12003 | return resultobj; | |
12004 | fail: | |
12005 | return NULL; | |
12006 | } | |
12007 | ||
12008 | ||
5172800e | 12009 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12010 | PyObject *resultobj = 0; |
5172800e RD |
12011 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12012 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12013 | void *argp1 = 0 ; |
12014 | int res1 = 0 ; | |
12015 | PyObject *swig_obj[1] ; | |
12016 | ||
12017 | if (!args) SWIG_fail; | |
12018 | swig_obj[0] = args; | |
5172800e | 12019 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12020 | if (!SWIG_IsOK(res1)) { |
5172800e | 12021 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12022 | } |
5172800e RD |
12023 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12024 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12025 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12026 | return resultobj; |
12027 | fail: | |
12028 | return NULL; | |
12029 | } | |
12030 | ||
12031 | ||
5172800e | 12032 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12033 | PyObject *resultobj = 0; |
5172800e RD |
12034 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12035 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12036 | void *argp1 = 0 ; |
12037 | int res1 = 0 ; | |
12038 | void *argp2 = 0 ; | |
12039 | int res2 = 0 ; | |
5172800e | 12040 | PyObject *swig_obj[2] ; |
d95b9f2b | 12041 | |
5172800e RD |
12042 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12044 | if (!SWIG_IsOK(res1)) { |
5172800e | 12045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12046 | } |
5172800e RD |
12047 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12048 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12049 | if (!SWIG_IsOK(res2)) { |
5172800e | 12050 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12051 | } |
5172800e RD |
12052 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12053 | if (arg1) (arg1)->rect = *arg2; | |
12054 | ||
d95b9f2b RD |
12055 | resultobj = SWIG_Py_Void(); |
12056 | return resultobj; | |
12057 | fail: | |
12058 | return NULL; | |
12059 | } | |
12060 | ||
12061 | ||
5172800e | 12062 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12063 | PyObject *resultobj = 0; |
5172800e RD |
12064 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12065 | wxRect *result = 0 ; | |
10044bf1 RD |
12066 | void *argp1 = 0 ; |
12067 | int res1 = 0 ; | |
12068 | PyObject *swig_obj[1] ; | |
12069 | ||
12070 | if (!args) SWIG_fail; | |
12071 | swig_obj[0] = args; | |
5172800e | 12072 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12073 | if (!SWIG_IsOK(res1)) { |
5172800e | 12074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12075 | } |
5172800e RD |
12076 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12077 | result = (wxRect *)& ((arg1)->rect); | |
12078 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10044bf1 RD |
12079 | return resultobj; |
12080 | fail: | |
12081 | return NULL; | |
12082 | } | |
12083 | ||
12084 | ||
5172800e | 12085 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12086 | PyObject *resultobj = 0; |
5172800e RD |
12087 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12088 | bool arg2 ; | |
10044bf1 RD |
12089 | void *argp1 = 0 ; |
12090 | int res1 = 0 ; | |
5172800e | 12091 | bool val2 ; |
10044bf1 RD |
12092 | int ecode2 = 0 ; |
12093 | PyObject *swig_obj[2] ; | |
12094 | ||
5172800e RD |
12095 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12096 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12097 | if (!SWIG_IsOK(res1)) { |
5172800e | 12098 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12099 | } |
5172800e RD |
12100 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12101 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10044bf1 | 12102 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12103 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
10044bf1 | 12104 | } |
5172800e RD |
12105 | arg2 = static_cast< bool >(val2); |
12106 | if (arg1) (arg1)->active = arg2; | |
10044bf1 RD |
12107 | |
12108 | resultobj = SWIG_Py_Void(); | |
12109 | return resultobj; | |
12110 | fail: | |
12111 | return NULL; | |
12112 | } | |
12113 | ||
12114 | ||
5172800e | 12115 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12116 | PyObject *resultobj = 0; |
5172800e RD |
12117 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12118 | bool result; | |
10044bf1 RD |
12119 | void *argp1 = 0 ; |
12120 | int res1 = 0 ; | |
12121 | PyObject *swig_obj[1] ; | |
12122 | ||
12123 | if (!args) SWIG_fail; | |
12124 | swig_obj[0] = args; | |
5172800e | 12125 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12126 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12127 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12128 | } | |
12129 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12130 | result = (bool) ((arg1)->active); | |
12131 | { | |
12132 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 12133 | } |
10044bf1 RD |
12134 | return resultobj; |
12135 | fail: | |
12136 | return NULL; | |
12137 | } | |
12138 | ||
12139 | ||
5172800e RD |
12140 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12141 | PyObject *obj; | |
12142 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12143 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12144 | return SWIG_Py_Void(); | |
12145 | } | |
12146 | ||
12147 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12148 | PyObject *resultobj = 0; |
5172800e | 12149 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12150 | int arg2 ; |
12151 | void *argp1 = 0 ; | |
12152 | int res1 = 0 ; | |
12153 | int val2 ; | |
12154 | int ecode2 = 0 ; | |
12155 | PyObject *swig_obj[2] ; | |
12156 | ||
5172800e RD |
12157 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12158 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12159 | if (!SWIG_IsOK(res1)) { |
5172800e | 12160 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12161 | } |
5172800e | 12162 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12163 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12164 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12165 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
12166 | } |
12167 | arg2 = static_cast< int >(val2); | |
5172800e | 12168 | if (arg1) (arg1)->id = arg2; |
10044bf1 RD |
12169 | |
12170 | resultobj = SWIG_Py_Void(); | |
12171 | return resultobj; | |
12172 | fail: | |
12173 | return NULL; | |
12174 | } | |
12175 | ||
12176 | ||
5172800e | 12177 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12178 | PyObject *resultobj = 0; |
5172800e | 12179 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12180 | int result; |
12181 | void *argp1 = 0 ; | |
12182 | int res1 = 0 ; | |
12183 | PyObject *swig_obj[1] ; | |
12184 | ||
12185 | if (!args) SWIG_fail; | |
12186 | swig_obj[0] = args; | |
5172800e | 12187 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12188 | if (!SWIG_IsOK(res1)) { |
5172800e | 12189 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12190 | } |
5172800e RD |
12191 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12192 | result = (int) ((arg1)->id); | |
10044bf1 RD |
12193 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12194 | return resultobj; | |
12195 | fail: | |
12196 | return NULL; | |
12197 | } | |
12198 | ||
12199 | ||
5172800e | 12200 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12201 | PyObject *resultobj = 0; |
5172800e RD |
12202 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12203 | int arg2 ; | |
d95b9f2b RD |
12204 | void *argp1 = 0 ; |
12205 | int res1 = 0 ; | |
5172800e RD |
12206 | int val2 ; |
12207 | int ecode2 = 0 ; | |
d95b9f2b RD |
12208 | PyObject *swig_obj[2] ; |
12209 | ||
5172800e RD |
12210 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12211 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12212 | if (!SWIG_IsOK(res1)) { |
5172800e | 12213 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12214 | } |
5172800e RD |
12215 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12216 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12217 | if (!SWIG_IsOK(ecode2)) { | |
12218 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12219 | } | |
12220 | arg2 = static_cast< int >(val2); | |
12221 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12222 | |
12223 | resultobj = SWIG_Py_Void(); | |
12224 | return resultobj; | |
12225 | fail: | |
12226 | return NULL; | |
12227 | } | |
12228 | ||
12229 | ||
5172800e | 12230 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12231 | PyObject *resultobj = 0; |
5172800e RD |
12232 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12233 | int result; | |
d95b9f2b RD |
12234 | void *argp1 = 0 ; |
12235 | int res1 = 0 ; | |
12236 | PyObject *swig_obj[1] ; | |
12237 | ||
12238 | if (!args) SWIG_fail; | |
12239 | swig_obj[0] = args; | |
5172800e | 12240 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12241 | if (!SWIG_IsOK(res1)) { |
5172800e | 12242 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12243 | } |
5172800e RD |
12244 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12245 | result = (int) ((arg1)->cur_state); | |
12246 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12247 | return resultobj; |
12248 | fail: | |
12249 | return NULL; | |
12250 | } | |
12251 | ||
12252 | ||
5172800e | 12253 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12254 | PyObject *resultobj = 0; |
5172800e RD |
12255 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12256 | int arg2 ; | |
10044bf1 RD |
12257 | void *argp1 = 0 ; |
12258 | int res1 = 0 ; | |
5172800e RD |
12259 | int val2 ; |
12260 | int ecode2 = 0 ; | |
10044bf1 RD |
12261 | PyObject *swig_obj[2] ; |
12262 | ||
5172800e RD |
12263 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12264 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12265 | if (!SWIG_IsOK(res1)) { |
5172800e | 12266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12267 | } |
5172800e RD |
12268 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12269 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12270 | if (!SWIG_IsOK(ecode2)) { | |
12271 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12272 | } | |
12273 | arg2 = static_cast< int >(val2); | |
12274 | if (arg1) (arg1)->location = arg2; | |
10044bf1 RD |
12275 | |
12276 | resultobj = SWIG_Py_Void(); | |
12277 | return resultobj; | |
12278 | fail: | |
12279 | return NULL; | |
12280 | } | |
12281 | ||
12282 | ||
5172800e | 12283 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12284 | PyObject *resultobj = 0; |
5172800e RD |
12285 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12286 | int result; | |
10044bf1 RD |
12287 | void *argp1 = 0 ; |
12288 | int res1 = 0 ; | |
12289 | PyObject *swig_obj[1] ; | |
12290 | ||
12291 | if (!args) SWIG_fail; | |
12292 | swig_obj[0] = args; | |
5172800e | 12293 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12294 | if (!SWIG_IsOK(res1)) { |
5172800e | 12295 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12296 | } |
5172800e RD |
12297 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12298 | result = (int) ((arg1)->location); | |
12299 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
12300 | return resultobj; |
12301 | fail: | |
12302 | return NULL; | |
12303 | } | |
12304 | ||
12305 | ||
5172800e | 12306 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12307 | PyObject *resultobj = 0; |
5172800e RD |
12308 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12309 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12310 | void *argp1 = 0 ; |
12311 | int res1 = 0 ; | |
5172800e RD |
12312 | void *argp2 = 0 ; |
12313 | int res2 = 0 ; | |
10044bf1 RD |
12314 | PyObject *swig_obj[2] ; |
12315 | ||
5172800e RD |
12316 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12317 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12318 | if (!SWIG_IsOK(res1)) { |
5172800e | 12319 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12320 | } |
5172800e RD |
12321 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12322 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12323 | if (!SWIG_IsOK(res2)) { | |
12324 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12325 | } |
5172800e RD |
12326 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12327 | if (arg1) (arg1)->bitmap = *arg2; | |
10044bf1 RD |
12328 | |
12329 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12330 | return resultobj; |
12331 | fail: | |
10044bf1 RD |
12332 | return NULL; |
12333 | } | |
12334 | ||
12335 | ||
5172800e | 12336 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12337 | PyObject *resultobj = 0; |
5172800e RD |
12338 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12339 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12340 | void *argp1 = 0 ; |
12341 | int res1 = 0 ; | |
12342 | PyObject *swig_obj[1] ; | |
12343 | ||
12344 | if (!args) SWIG_fail; | |
12345 | swig_obj[0] = args; | |
5172800e RD |
12346 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12347 | if (!SWIG_IsOK(res1)) { | |
12348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
10044bf1 | 12349 | } |
5172800e RD |
12350 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12351 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12352 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12353 | return resultobj; |
12354 | fail: | |
12355 | return NULL; | |
12356 | } | |
12357 | ||
12358 | ||
5172800e | 12359 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12360 | PyObject *resultobj = 0; |
5172800e | 12361 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12362 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12363 | void *argp1 = 0 ; | |
12364 | int res1 = 0 ; | |
12365 | void *argp2 = 0 ; | |
12366 | int res2 = 0 ; | |
12367 | PyObject *swig_obj[2] ; | |
12368 | ||
5172800e RD |
12369 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12371 | if (!SWIG_IsOK(res1)) { |
5172800e | 12372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12373 | } |
5172800e | 12374 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12375 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12376 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12377 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
10044bf1 RD |
12378 | } |
12379 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12380 | if (arg1) (arg1)->dis_bitmap = *arg2; |
10044bf1 RD |
12381 | |
12382 | resultobj = SWIG_Py_Void(); | |
12383 | return resultobj; | |
12384 | fail: | |
12385 | return NULL; | |
12386 | } | |
12387 | ||
12388 | ||
5172800e | 12389 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12390 | PyObject *resultobj = 0; |
5172800e | 12391 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12392 | wxBitmap *result = 0 ; |
12393 | void *argp1 = 0 ; | |
12394 | int res1 = 0 ; | |
12395 | PyObject *swig_obj[1] ; | |
12396 | ||
12397 | if (!args) SWIG_fail; | |
12398 | swig_obj[0] = args; | |
5172800e | 12399 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12400 | if (!SWIG_IsOK(res1)) { |
5172800e | 12401 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12402 | } |
5172800e RD |
12403 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12404 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
10044bf1 RD |
12405 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12406 | return resultobj; | |
12407 | fail: | |
12408 | return NULL; | |
12409 | } | |
12410 | ||
12411 | ||
5172800e | 12412 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12413 | PyObject *resultobj = 0; |
5172800e | 12414 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12415 | wxRect *arg2 = (wxRect *) 0 ; |
12416 | void *argp1 = 0 ; | |
12417 | int res1 = 0 ; | |
12418 | void *argp2 = 0 ; | |
12419 | int res2 = 0 ; | |
12420 | PyObject *swig_obj[2] ; | |
12421 | ||
5172800e RD |
12422 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12423 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12424 | if (!SWIG_IsOK(res1)) { |
5172800e | 12425 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12426 | } |
5172800e | 12427 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12428 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12429 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12430 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
10044bf1 RD |
12431 | } |
12432 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12433 | if (arg1) (arg1)->rect = *arg2; | |
12434 | ||
12435 | resultobj = SWIG_Py_Void(); | |
12436 | return resultobj; | |
12437 | fail: | |
12438 | return NULL; | |
12439 | } | |
12440 | ||
12441 | ||
5172800e | 12442 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12443 | PyObject *resultobj = 0; |
5172800e | 12444 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12445 | wxRect *result = 0 ; |
12446 | void *argp1 = 0 ; | |
12447 | int res1 = 0 ; | |
12448 | PyObject *swig_obj[1] ; | |
12449 | ||
12450 | if (!args) SWIG_fail; | |
12451 | swig_obj[0] = args; | |
5172800e | 12452 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12453 | if (!SWIG_IsOK(res1)) { |
5172800e | 12454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12455 | } |
5172800e | 12456 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12457 | result = (wxRect *)& ((arg1)->rect); |
12458 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12459 | return resultobj; | |
12460 | fail: | |
12461 | return NULL; | |
12462 | } | |
12463 | ||
12464 | ||
5172800e RD |
12465 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12466 | PyObject *obj; | |
12467 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12468 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12469 | return SWIG_Py_Void(); | |
12470 | } | |
12471 | ||
12472 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12473 | PyObject *resultobj = 0; |
5172800e | 12474 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
10044bf1 RD |
12475 | void *argp1 = 0 ; |
12476 | int res1 = 0 ; | |
5172800e RD |
12477 | PyObject *swig_obj[1] ; |
12478 | ||
12479 | if (!args) SWIG_fail; | |
12480 | swig_obj[0] = args; | |
12481 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12482 | if (!SWIG_IsOK(res1)) { | |
12483 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12484 | } | |
12485 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12486 | { | |
12487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12488 | delete arg1; | |
12489 | ||
12490 | wxPyEndAllowThreads(__tstate); | |
12491 | if (PyErr_Occurred()) SWIG_fail; | |
12492 | } | |
12493 | resultobj = SWIG_Py_Void(); | |
12494 | return resultobj; | |
12495 | fail: | |
12496 | return NULL; | |
12497 | } | |
12498 | ||
12499 | ||
12500 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12501 | PyObject *resultobj = 0; | |
12502 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12503 | wxAuiTabArt *result = 0 ; | |
12504 | void *argp1 = 0 ; | |
12505 | int res1 = 0 ; | |
12506 | PyObject *swig_obj[1] ; | |
12507 | ||
12508 | if (!args) SWIG_fail; | |
12509 | swig_obj[0] = args; | |
12510 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12511 | if (!SWIG_IsOK(res1)) { | |
12512 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12513 | } | |
12514 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12515 | { | |
12516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12517 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12518 | wxPyEndAllowThreads(__tstate); | |
12519 | if (PyErr_Occurred()) SWIG_fail; | |
12520 | } | |
12521 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12522 | return resultobj; | |
12523 | fail: | |
12524 | return NULL; | |
12525 | } | |
12526 | ||
12527 | ||
12528 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12529 | PyObject *resultobj = 0; | |
12530 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12531 | int arg2 ; | |
12532 | void *argp1 = 0 ; | |
12533 | int res1 = 0 ; | |
12534 | int val2 ; | |
10044bf1 | 12535 | int ecode2 = 0 ; |
5172800e RD |
12536 | PyObject * obj0 = 0 ; |
12537 | PyObject * obj1 = 0 ; | |
12538 | char * kwnames[] = { | |
12539 | (char *) "self",(char *) "flags", NULL | |
12540 | }; | |
10044bf1 | 12541 | |
5172800e RD |
12542 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12543 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12544 | if (!SWIG_IsOK(res1)) { |
5172800e | 12545 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12546 | } |
5172800e RD |
12547 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12548 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10044bf1 | 12549 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12550 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 | 12551 | } |
5172800e RD |
12552 | arg2 = static_cast< int >(val2); |
12553 | { | |
12554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12555 | (arg1)->SetFlags(arg2); | |
12556 | wxPyEndAllowThreads(__tstate); | |
12557 | if (PyErr_Occurred()) SWIG_fail; | |
12558 | } | |
12559 | resultobj = SWIG_Py_Void(); | |
12560 | return resultobj; | |
12561 | fail: | |
12562 | return NULL; | |
12563 | } | |
12564 | ||
12565 | ||
12566 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12567 | PyObject *resultobj = 0; | |
12568 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12569 | wxSize *arg2 = 0 ; | |
12570 | size_t arg3 ; | |
12571 | void *argp1 = 0 ; | |
12572 | int res1 = 0 ; | |
12573 | wxSize temp2 ; | |
12574 | size_t val3 ; | |
12575 | int ecode3 = 0 ; | |
12576 | PyObject * obj0 = 0 ; | |
12577 | PyObject * obj1 = 0 ; | |
12578 | PyObject * obj2 = 0 ; | |
12579 | char * kwnames[] = { | |
12580 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12581 | }; | |
10044bf1 | 12582 | |
5172800e RD |
12583 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12584 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12585 | if (!SWIG_IsOK(res1)) { | |
12586 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12587 | } | |
12588 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12589 | { | |
12590 | arg2 = &temp2; | |
12591 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12592 | } | |
12593 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12594 | if (!SWIG_IsOK(ecode3)) { | |
12595 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12596 | } | |
12597 | arg3 = static_cast< size_t >(val3); | |
12598 | { | |
12599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12600 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12601 | wxPyEndAllowThreads(__tstate); | |
12602 | if (PyErr_Occurred()) SWIG_fail; | |
12603 | } | |
10044bf1 RD |
12604 | resultobj = SWIG_Py_Void(); |
12605 | return resultobj; | |
12606 | fail: | |
12607 | return NULL; | |
12608 | } | |
12609 | ||
12610 | ||
5172800e | 12611 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12612 | PyObject *resultobj = 0; |
5172800e RD |
12613 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12614 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12615 | void *argp1 = 0 ; |
12616 | int res1 = 0 ; | |
5172800e RD |
12617 | void *argp2 = 0 ; |
12618 | int res2 = 0 ; | |
12619 | PyObject * obj0 = 0 ; | |
12620 | PyObject * obj1 = 0 ; | |
12621 | char * kwnames[] = { | |
12622 | (char *) "self",(char *) "font", NULL | |
12623 | }; | |
10044bf1 | 12624 | |
5172800e RD |
12625 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12626 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12627 | if (!SWIG_IsOK(res1)) { |
5172800e | 12628 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12629 | } |
5172800e RD |
12630 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12631 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12632 | if (!SWIG_IsOK(res2)) { | |
12633 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12634 | } | |
12635 | if (!argp2) { | |
12636 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12637 | } | |
12638 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12639 | { | |
12640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12641 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12642 | wxPyEndAllowThreads(__tstate); | |
12643 | if (PyErr_Occurred()) SWIG_fail; | |
12644 | } | |
12645 | resultobj = SWIG_Py_Void(); | |
12646 | return resultobj; | |
12647 | fail: | |
12648 | return NULL; | |
12649 | } | |
12650 | ||
12651 | ||
12652 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12653 | PyObject *resultobj = 0; | |
12654 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12655 | wxFont *arg2 = 0 ; | |
12656 | void *argp1 = 0 ; | |
12657 | int res1 = 0 ; | |
12658 | void *argp2 = 0 ; | |
12659 | int res2 = 0 ; | |
12660 | PyObject * obj0 = 0 ; | |
12661 | PyObject * obj1 = 0 ; | |
12662 | char * kwnames[] = { | |
12663 | (char *) "self",(char *) "font", NULL | |
12664 | }; | |
12665 | ||
12666 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12667 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12668 | if (!SWIG_IsOK(res1)) { | |
12669 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12670 | } | |
12671 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12672 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12673 | if (!SWIG_IsOK(res2)) { | |
12674 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12675 | } | |
12676 | if (!argp2) { | |
12677 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12678 | } | |
12679 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
10044bf1 | 12680 | { |
5172800e RD |
12681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12682 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12683 | wxPyEndAllowThreads(__tstate); | |
12684 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 12685 | } |
5172800e | 12686 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
12687 | return resultobj; |
12688 | fail: | |
12689 | return NULL; | |
12690 | } | |
12691 | ||
12692 | ||
5172800e | 12693 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12694 | PyObject *resultobj = 0; |
5172800e RD |
12695 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12696 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12697 | void *argp1 = 0 ; |
12698 | int res1 = 0 ; | |
5172800e RD |
12699 | void *argp2 = 0 ; |
12700 | int res2 = 0 ; | |
12701 | PyObject * obj0 = 0 ; | |
12702 | PyObject * obj1 = 0 ; | |
12703 | char * kwnames[] = { | |
12704 | (char *) "self",(char *) "font", NULL | |
12705 | }; | |
10044bf1 | 12706 | |
5172800e RD |
12707 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12708 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12709 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12710 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
12711 | } | |
12712 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12713 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12714 | if (!SWIG_IsOK(res2)) { | |
12715 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12716 | } | |
12717 | if (!argp2) { | |
12718 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12719 | } | |
12720 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12721 | { | |
12722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12723 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
12724 | wxPyEndAllowThreads(__tstate); | |
12725 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 12726 | } |
10044bf1 RD |
12727 | resultobj = SWIG_Py_Void(); |
12728 | return resultobj; | |
12729 | fail: | |
12730 | return NULL; | |
12731 | } | |
12732 | ||
12733 | ||
5172800e | 12734 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12735 | PyObject *resultobj = 0; |
5172800e RD |
12736 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12737 | wxDC *arg2 = 0 ; | |
12738 | wxWindow *arg3 = (wxWindow *) 0 ; | |
12739 | wxRect *arg4 = 0 ; | |
10044bf1 RD |
12740 | void *argp1 = 0 ; |
12741 | int res1 = 0 ; | |
5172800e RD |
12742 | void *argp2 = 0 ; |
12743 | int res2 = 0 ; | |
12744 | void *argp3 = 0 ; | |
12745 | int res3 = 0 ; | |
12746 | wxRect temp4 ; | |
12747 | PyObject * obj0 = 0 ; | |
12748 | PyObject * obj1 = 0 ; | |
12749 | PyObject * obj2 = 0 ; | |
12750 | PyObject * obj3 = 0 ; | |
12751 | char * kwnames[] = { | |
12752 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
12753 | }; | |
10044bf1 | 12754 | |
5172800e RD |
12755 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
12756 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12757 | if (!SWIG_IsOK(res1)) { |
5172800e | 12758 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12759 | } |
5172800e RD |
12760 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12761 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
12762 | if (!SWIG_IsOK(res2)) { | |
12763 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
12764 | } | |
12765 | if (!argp2) { | |
12766 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
12767 | } | |
12768 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
12769 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12770 | if (!SWIG_IsOK(res3)) { | |
12771 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
12772 | } | |
12773 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
12774 | { | |
12775 | arg4 = &temp4; | |
12776 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
12777 | } | |
12778 | { | |
12779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12780 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
12781 | wxPyEndAllowThreads(__tstate); | |
12782 | if (PyErr_Occurred()) SWIG_fail; | |
12783 | } | |
12784 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12785 | return resultobj; |
12786 | fail: | |
12787 | return NULL; | |
12788 | } | |
12789 | ||
12790 | ||
5172800e | 12791 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12792 | PyObject *resultobj = 0; |
5172800e RD |
12793 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12794 | wxDC *arg2 = 0 ; | |
12795 | wxWindow *arg3 = (wxWindow *) 0 ; | |
12796 | wxRect *arg4 = 0 ; | |
12797 | wxString *arg5 = 0 ; | |
12798 | wxBitmap *arg6 = 0 ; | |
12799 | bool arg7 ; | |
12800 | int arg8 ; | |
12801 | wxRect *arg9 = (wxRect *) 0 ; | |
12802 | wxRect *arg10 = (wxRect *) 0 ; | |
12803 | int *arg11 = (int *) 0 ; | |
10044bf1 RD |
12804 | void *argp1 = 0 ; |
12805 | int res1 = 0 ; | |
5172800e RD |
12806 | void *argp2 = 0 ; |
12807 | int res2 = 0 ; | |
12808 | void *argp3 = 0 ; | |
12809 | int res3 = 0 ; | |
12810 | wxRect temp4 ; | |
12811 | bool temp5 = false ; | |
12812 | void *argp6 = 0 ; | |
12813 | int res6 = 0 ; | |
12814 | bool val7 ; | |
12815 | int ecode7 = 0 ; | |
12816 | int val8 ; | |
12817 | int ecode8 = 0 ; | |
12818 | void *argp9 = 0 ; | |
12819 | int res9 = 0 ; | |
12820 | void *argp10 = 0 ; | |
12821 | int res10 = 0 ; | |
12822 | void *argp11 = 0 ; | |
12823 | int res11 = 0 ; | |
12824 | PyObject * obj0 = 0 ; | |
12825 | PyObject * obj1 = 0 ; | |
12826 | PyObject * obj2 = 0 ; | |
12827 | PyObject * obj3 = 0 ; | |
12828 | PyObject * obj4 = 0 ; | |
12829 | PyObject * obj5 = 0 ; | |
12830 | PyObject * obj6 = 0 ; | |
12831 | PyObject * obj7 = 0 ; | |
12832 | PyObject * obj8 = 0 ; | |
12833 | PyObject * obj9 = 0 ; | |
12834 | PyObject * obj10 = 0 ; | |
12835 | char * kwnames[] = { | |
12836 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL | |
12837 | }; | |
10044bf1 | 12838 | |
5172800e RD |
12839 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; |
12840 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12841 | if (!SWIG_IsOK(res1)) { |
5172800e | 12842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12843 | } |
5172800e RD |
12844 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12845 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
12846 | if (!SWIG_IsOK(res2)) { | |
12847 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
12848 | } | |
12849 | if (!argp2) { | |
12850 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
12851 | } | |
12852 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
12853 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12854 | if (!SWIG_IsOK(res3)) { | |
12855 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
12856 | } | |
12857 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
12858 | { | |
12859 | arg4 = &temp4; | |
12860 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
12861 | } | |
12862 | { | |
12863 | arg5 = wxString_in_helper(obj4); | |
12864 | if (arg5 == NULL) SWIG_fail; | |
12865 | temp5 = true; | |
12866 | } | |
12867 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
12868 | if (!SWIG_IsOK(res6)) { | |
12869 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
12870 | } | |
12871 | if (!argp6) { | |
12872 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
12873 | } | |
12874 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
12875 | ecode7 = SWIG_AsVal_bool(obj6, &val7); | |
12876 | if (!SWIG_IsOK(ecode7)) { | |
12877 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "bool""'"); | |
10044bf1 | 12878 | } |
5172800e RD |
12879 | arg7 = static_cast< bool >(val7); |
12880 | ecode8 = SWIG_AsVal_int(obj7, &val8); | |
12881 | if (!SWIG_IsOK(ecode8)) { | |
12882 | SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "int""'"); | |
12883 | } | |
12884 | arg8 = static_cast< int >(val8); | |
12885 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12886 | if (!SWIG_IsOK(res9)) { | |
12887 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'"); | |
12888 | } | |
12889 | arg9 = reinterpret_cast< wxRect * >(argp9); | |
12890 | res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_wxRect, 0 | 0 ); | |
12891 | if (!SWIG_IsOK(res10)) { | |
12892 | SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "wxRect *""'"); | |
12893 | } | |
12894 | arg10 = reinterpret_cast< wxRect * >(argp10); | |
12895 | res11 = SWIG_ConvertPtr(obj10, &argp11,SWIGTYPE_p_int, 0 | 0 ); | |
12896 | if (!SWIG_IsOK(res11)) { | |
12897 | SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "AuiTabArt_DrawTab" "', expected argument " "11"" of type '" "int *""'"); | |
12898 | } | |
12899 | arg11 = reinterpret_cast< int * >(argp11); | |
12900 | { | |
12901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12902 | (arg1)->DrawTab(*arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,(wxBitmap const &)*arg6,arg7,arg8,arg9,arg10,arg11); | |
12903 | wxPyEndAllowThreads(__tstate); | |
12904 | if (PyErr_Occurred()) SWIG_fail; | |
12905 | } | |
10044bf1 | 12906 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12907 | { |
12908 | if (temp5) | |
12909 | delete arg5; | |
12910 | } | |
10044bf1 RD |
12911 | return resultobj; |
12912 | fail: | |
5172800e RD |
12913 | { |
12914 | if (temp5) | |
12915 | delete arg5; | |
12916 | } | |
10044bf1 RD |
12917 | return NULL; |
12918 | } | |
12919 | ||
12920 | ||
5172800e | 12921 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12922 | PyObject *resultobj = 0; |
5172800e RD |
12923 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12924 | wxDC *arg2 = 0 ; | |
12925 | wxWindow *arg3 = (wxWindow *) 0 ; | |
12926 | wxRect *arg4 = 0 ; | |
12927 | int arg5 ; | |
12928 | int arg6 ; | |
12929 | int arg7 ; | |
12930 | wxBitmap *arg8 = 0 ; | |
12931 | wxRect *arg9 = (wxRect *) 0 ; | |
10044bf1 RD |
12932 | void *argp1 = 0 ; |
12933 | int res1 = 0 ; | |
5172800e RD |
12934 | void *argp2 = 0 ; |
12935 | int res2 = 0 ; | |
12936 | void *argp3 = 0 ; | |
12937 | int res3 = 0 ; | |
12938 | wxRect temp4 ; | |
12939 | int val5 ; | |
12940 | int ecode5 = 0 ; | |
12941 | int val6 ; | |
12942 | int ecode6 = 0 ; | |
12943 | int val7 ; | |
12944 | int ecode7 = 0 ; | |
12945 | void *argp8 = 0 ; | |
12946 | int res8 = 0 ; | |
12947 | void *argp9 = 0 ; | |
12948 | int res9 = 0 ; | |
12949 | PyObject * obj0 = 0 ; | |
12950 | PyObject * obj1 = 0 ; | |
12951 | PyObject * obj2 = 0 ; | |
12952 | PyObject * obj3 = 0 ; | |
12953 | PyObject * obj4 = 0 ; | |
12954 | PyObject * obj5 = 0 ; | |
12955 | PyObject * obj6 = 0 ; | |
12956 | PyObject * obj7 = 0 ; | |
12957 | PyObject * obj8 = 0 ; | |
12958 | char * kwnames[] = { | |
12959 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL | |
12960 | }; | |
10044bf1 | 12961 | |
5172800e RD |
12962 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
12963 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12964 | if (!SWIG_IsOK(res1)) { |
5172800e | 12965 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12966 | } |
5172800e RD |
12967 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12968 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
12969 | if (!SWIG_IsOK(res2)) { | |
12970 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 12971 | } |
5172800e RD |
12972 | if (!argp2) { |
12973 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
12974 | } | |
12975 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
12976 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
12977 | if (!SWIG_IsOK(res3)) { | |
12978 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
12979 | } | |
12980 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
12981 | { | |
12982 | arg4 = &temp4; | |
12983 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
12984 | } | |
12985 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
12986 | if (!SWIG_IsOK(ecode5)) { | |
12987 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 12988 | } |
5172800e RD |
12989 | arg5 = static_cast< int >(val5); |
12990 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
12991 | if (!SWIG_IsOK(ecode6)) { | |
12992 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
12993 | } | |
12994 | arg6 = static_cast< int >(val6); | |
12995 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
12996 | if (!SWIG_IsOK(ecode7)) { | |
12997 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
12998 | } | |
12999 | arg7 = static_cast< int >(val7); | |
13000 | res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13001 | if (!SWIG_IsOK(res8)) { | |
13002 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
13003 | } | |
13004 | if (!argp8) { | |
13005 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
13006 | } | |
13007 | arg8 = reinterpret_cast< wxBitmap * >(argp8); | |
13008 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13009 | if (!SWIG_IsOK(res9)) { | |
13010 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'"); | |
13011 | } | |
13012 | arg9 = reinterpret_cast< wxRect * >(argp9); | |
13013 | { | |
13014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13015 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9); | |
13016 | wxPyEndAllowThreads(__tstate); | |
13017 | if (PyErr_Occurred()) SWIG_fail; | |
13018 | } | |
5c8c7dd3 RD |
13019 | resultobj = SWIG_Py_Void(); |
13020 | return resultobj; | |
13021 | fail: | |
13022 | return NULL; | |
13023 | } | |
13024 | ||
13025 | ||
5172800e | 13026 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 13027 | PyObject *resultobj = 0; |
5172800e | 13028 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13029 | int result; |
13030 | void *argp1 = 0 ; | |
13031 | int res1 = 0 ; | |
13032 | PyObject *swig_obj[1] ; | |
13033 | ||
13034 | if (!args) SWIG_fail; | |
13035 | swig_obj[0] = args; | |
5172800e | 13036 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13037 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13039 | } | |
13040 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13041 | { | |
13042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13043 | result = (int)(arg1)->GetIndentSize(); | |
13044 | wxPyEndAllowThreads(__tstate); | |
13045 | if (PyErr_Occurred()) SWIG_fail; | |
5c8c7dd3 | 13046 | } |
5c8c7dd3 RD |
13047 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13048 | return resultobj; | |
13049 | fail: | |
13050 | return NULL; | |
13051 | } | |
13052 | ||
13053 | ||
5172800e | 13054 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13055 | PyObject *resultobj = 0; |
5172800e RD |
13056 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13057 | wxDC *arg2 = 0 ; | |
13058 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13059 | wxString *arg4 = 0 ; | |
13060 | wxBitmap *arg5 = 0 ; | |
13061 | bool arg6 ; | |
13062 | int arg7 ; | |
13063 | int *arg8 = (int *) 0 ; | |
13064 | wxSize result; | |
10044bf1 RD |
13065 | void *argp1 = 0 ; |
13066 | int res1 = 0 ; | |
13067 | void *argp2 = 0 ; | |
13068 | int res2 = 0 ; | |
5172800e RD |
13069 | void *argp3 = 0 ; |
13070 | int res3 = 0 ; | |
13071 | bool temp4 = false ; | |
13072 | void *argp5 = 0 ; | |
13073 | int res5 = 0 ; | |
13074 | bool val6 ; | |
13075 | int ecode6 = 0 ; | |
13076 | int val7 ; | |
13077 | int ecode7 = 0 ; | |
13078 | void *argp8 = 0 ; | |
13079 | int res8 = 0 ; | |
13080 | PyObject * obj0 = 0 ; | |
13081 | PyObject * obj1 = 0 ; | |
13082 | PyObject * obj2 = 0 ; | |
13083 | PyObject * obj3 = 0 ; | |
13084 | PyObject * obj4 = 0 ; | |
13085 | PyObject * obj5 = 0 ; | |
13086 | PyObject * obj6 = 0 ; | |
13087 | PyObject * obj7 = 0 ; | |
13088 | char * kwnames[] = { | |
13089 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13090 | }; | |
10044bf1 | 13091 | |
5172800e RD |
13092 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13093 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13094 | if (!SWIG_IsOK(res1)) { |
5172800e | 13095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13096 | } |
5172800e RD |
13097 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13098 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10044bf1 | 13099 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13100 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13101 | } | |
13102 | if (!argp2) { | |
13103 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13104 | } | |
13105 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13106 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13107 | if (!SWIG_IsOK(res3)) { | |
13108 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13109 | } | |
13110 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13111 | { | |
13112 | arg4 = wxString_in_helper(obj3); | |
13113 | if (arg4 == NULL) SWIG_fail; | |
13114 | temp4 = true; | |
13115 | } | |
13116 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13117 | if (!SWIG_IsOK(res5)) { | |
13118 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13119 | } | |
13120 | if (!argp5) { | |
13121 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13122 | } | |
13123 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13124 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13125 | if (!SWIG_IsOK(ecode6)) { | |
13126 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13127 | } | |
13128 | arg6 = static_cast< bool >(val6); | |
13129 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13130 | if (!SWIG_IsOK(ecode7)) { | |
13131 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13132 | } | |
13133 | arg7 = static_cast< int >(val7); | |
13134 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13135 | if (!SWIG_IsOK(res8)) { | |
13136 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13137 | } | |
13138 | arg8 = reinterpret_cast< int * >(argp8); | |
13139 | { | |
13140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13141 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13142 | wxPyEndAllowThreads(__tstate); | |
13143 | if (PyErr_Occurred()) SWIG_fail; | |
13144 | } | |
13145 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13146 | { | |
13147 | if (temp4) | |
13148 | delete arg4; | |
10044bf1 | 13149 | } |
10044bf1 RD |
13150 | return resultobj; |
13151 | fail: | |
5172800e RD |
13152 | { |
13153 | if (temp4) | |
13154 | delete arg4; | |
13155 | } | |
10044bf1 RD |
13156 | return NULL; |
13157 | } | |
13158 | ||
13159 | ||
5172800e | 13160 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13161 | PyObject *resultobj = 0; |
5172800e RD |
13162 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13163 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13164 | wxArrayString *arg3 = 0 ; | |
13165 | int arg4 ; | |
13166 | int result; | |
10044bf1 RD |
13167 | void *argp1 = 0 ; |
13168 | int res1 = 0 ; | |
5172800e RD |
13169 | void *argp2 = 0 ; |
13170 | int res2 = 0 ; | |
13171 | bool temp3 = false ; | |
13172 | int val4 ; | |
13173 | int ecode4 = 0 ; | |
13174 | PyObject * obj0 = 0 ; | |
13175 | PyObject * obj1 = 0 ; | |
13176 | PyObject * obj2 = 0 ; | |
13177 | PyObject * obj3 = 0 ; | |
13178 | char * kwnames[] = { | |
13179 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13180 | }; | |
10044bf1 | 13181 | |
5172800e RD |
13182 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13183 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13184 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13185 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13186 | } | |
13187 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13188 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13189 | if (!SWIG_IsOK(res2)) { | |
13190 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13191 | } | |
13192 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13193 | { | |
13194 | if (! PySequence_Check(obj2)) { | |
13195 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
13196 | SWIG_fail; | |
13197 | } | |
13198 | arg3 = new wxArrayString; | |
13199 | temp3 = true; | |
13200 | int i, len=PySequence_Length(obj2); | |
13201 | for (i=0; i<len; i++) { | |
13202 | PyObject* item = PySequence_GetItem(obj2, i); | |
13203 | wxString* s = wxString_in_helper(item); | |
13204 | if (PyErr_Occurred()) SWIG_fail; | |
13205 | arg3->Add(*s); | |
13206 | delete s; | |
13207 | Py_DECREF(item); | |
13208 | } | |
13209 | } | |
13210 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
13211 | if (!SWIG_IsOK(ecode4)) { | |
13212 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'"); | |
13213 | } | |
13214 | arg4 = static_cast< int >(val4); | |
13215 | { | |
13216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13217 | result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4); | |
13218 | wxPyEndAllowThreads(__tstate); | |
13219 | if (PyErr_Occurred()) SWIG_fail; | |
13220 | } | |
13221 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13222 | { | |
13223 | if (temp3) delete arg3; | |
10044bf1 | 13224 | } |
10044bf1 RD |
13225 | return resultobj; |
13226 | fail: | |
5172800e RD |
13227 | { |
13228 | if (temp3) delete arg3; | |
13229 | } | |
10044bf1 RD |
13230 | return NULL; |
13231 | } | |
13232 | ||
13233 | ||
5172800e | 13234 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 13235 | PyObject *resultobj = 0; |
5172800e RD |
13236 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13237 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13238 | wxAuiNotebookPageArray *arg3 = 0 ; | |
8287c33f | 13239 | wxSize *arg4 = 0 ; |
5172800e | 13240 | int result; |
8f514ab4 RD |
13241 | void *argp1 = 0 ; |
13242 | int res1 = 0 ; | |
13243 | void *argp2 = 0 ; | |
13244 | int res2 = 0 ; | |
5172800e RD |
13245 | void *argp3 = 0 ; |
13246 | int res3 = 0 ; | |
8287c33f | 13247 | wxSize temp4 ; |
5172800e RD |
13248 | PyObject * obj0 = 0 ; |
13249 | PyObject * obj1 = 0 ; | |
13250 | PyObject * obj2 = 0 ; | |
8287c33f | 13251 | PyObject * obj3 = 0 ; |
5172800e | 13252 | char * kwnames[] = { |
8287c33f | 13253 | (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL |
5172800e | 13254 | }; |
8f514ab4 | 13255 | |
8287c33f | 13256 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13257 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
8f514ab4 | 13258 | if (!SWIG_IsOK(res1)) { |
5172800e | 13259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 13260 | } |
5172800e RD |
13261 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13262 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8f514ab4 | 13263 | if (!SWIG_IsOK(res2)) { |
5172800e | 13264 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
8f514ab4 | 13265 | } |
5172800e RD |
13266 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
13267 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 ); | |
13268 | if (!SWIG_IsOK(res3)) { | |
13269 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'"); | |
13270 | } | |
13271 | if (!argp3) { | |
13272 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'"); | |
13273 | } | |
13274 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); | |
8287c33f RD |
13275 | { |
13276 | arg4 = &temp4; | |
13277 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13278 | } | |
5172800e RD |
13279 | { |
13280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8287c33f | 13281 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,*arg3,(wxSize const &)*arg4); |
5172800e RD |
13282 | wxPyEndAllowThreads(__tstate); |
13283 | if (PyErr_Occurred()) SWIG_fail; | |
13284 | } | |
13285 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13286 | return resultobj; | |
13287 | fail: | |
13288 | return NULL; | |
13289 | } | |
13290 | ||
13291 | ||
13292 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13293 | PyObject *obj; | |
13294 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13295 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); | |
13296 | return SWIG_Py_Void(); | |
13297 | } | |
13298 | ||
13299 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13300 | PyObject *resultobj = 0; | |
13301 | wxAuiDefaultTabArt *result = 0 ; | |
8f514ab4 | 13302 | |
5172800e RD |
13303 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
13304 | { | |
13305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13306 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); | |
13307 | wxPyEndAllowThreads(__tstate); | |
13308 | if (PyErr_Occurred()) SWIG_fail; | |
13309 | } | |
13310 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
8f514ab4 RD |
13311 | return resultobj; |
13312 | fail: | |
13313 | return NULL; | |
13314 | } | |
13315 | ||
13316 | ||
5172800e | 13317 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 13318 | PyObject *resultobj = 0; |
5172800e | 13319 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
8f514ab4 RD |
13320 | void *argp1 = 0 ; |
13321 | int res1 = 0 ; | |
13322 | PyObject *swig_obj[1] ; | |
13323 | ||
13324 | if (!args) SWIG_fail; | |
13325 | swig_obj[0] = args; | |
5172800e | 13326 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
8f514ab4 | 13327 | if (!SWIG_IsOK(res1)) { |
5172800e | 13328 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
8f514ab4 | 13329 | } |
5172800e RD |
13330 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
13331 | { | |
13332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13333 | delete arg1; | |
13334 | ||
13335 | wxPyEndAllowThreads(__tstate); | |
13336 | if (PyErr_Occurred()) SWIG_fail; | |
13337 | } | |
13338 | resultobj = SWIG_Py_Void(); | |
8f514ab4 RD |
13339 | return resultobj; |
13340 | fail: | |
13341 | return NULL; | |
13342 | } | |
13343 | ||
13344 | ||
5172800e RD |
13345 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13346 | PyObject *obj; | |
13347 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13348 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); | |
13349 | return SWIG_Py_Void(); | |
13350 | } | |
13351 | ||
13352 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13353 | return SWIG_Python_InitShadowInstance(args); | |
13354 | } | |
13355 | ||
13356 | SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 13357 | PyObject *resultobj = 0; |
5172800e | 13358 | wxAuiSimpleTabArt *result = 0 ; |
10044bf1 | 13359 | |
5172800e RD |
13360 | if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail; |
13361 | { | |
13362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13363 | result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt(); | |
13364 | wxPyEndAllowThreads(__tstate); | |
13365 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13366 | } |
5172800e | 13367 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
13368 | return resultobj; |
13369 | fail: | |
13370 | return NULL; | |
13371 | } | |
13372 | ||
13373 | ||
5172800e | 13374 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 13375 | PyObject *resultobj = 0; |
5172800e | 13376 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
10044bf1 RD |
13377 | void *argp1 = 0 ; |
13378 | int res1 = 0 ; | |
13379 | PyObject *swig_obj[1] ; | |
13380 | ||
13381 | if (!args) SWIG_fail; | |
13382 | swig_obj[0] = args; | |
5172800e | 13383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 ); |
10044bf1 | 13384 | if (!SWIG_IsOK(res1)) { |
5172800e | 13385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
10044bf1 | 13386 | } |
5172800e RD |
13387 | arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1); |
13388 | { | |
13389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13390 | delete arg1; | |
13391 | ||
13392 | wxPyEndAllowThreads(__tstate); | |
13393 | if (PyErr_Occurred()) SWIG_fail; | |
13394 | } | |
13395 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13396 | return resultobj; |
13397 | fail: | |
13398 | return NULL; | |
13399 | } | |
13400 | ||
13401 | ||
5172800e | 13402 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
13403 | PyObject *obj; |
13404 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5172800e | 13405 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
13406 | return SWIG_Py_Void(); |
13407 | } | |
13408 | ||
5172800e RD |
13409 | SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13410 | return SWIG_Python_InitShadowInstance(args); | |
13411 | } | |
13412 | ||
10044bf1 RD |
13413 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13414 | PyObject *resultobj = 0; | |
13415 | wxAuiTabContainer *result = 0 ; | |
13416 | ||
13417 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13418 | { | |
13419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13420 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13421 | wxPyEndAllowThreads(__tstate); | |
13422 | if (PyErr_Occurred()) SWIG_fail; | |
13423 | } | |
13424 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13425 | return resultobj; | |
13426 | fail: | |
13427 | return NULL; | |
13428 | } | |
13429 | ||
13430 | ||
13431 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13432 | PyObject *resultobj = 0; | |
13433 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13434 | void *argp1 = 0 ; | |
13435 | int res1 = 0 ; | |
13436 | PyObject *swig_obj[1] ; | |
13437 | ||
13438 | if (!args) SWIG_fail; | |
13439 | swig_obj[0] = args; | |
13440 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13441 | if (!SWIG_IsOK(res1)) { | |
13442 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13443 | } | |
13444 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13445 | { | |
13446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13447 | delete arg1; | |
13448 | ||
13449 | wxPyEndAllowThreads(__tstate); | |
13450 | if (PyErr_Occurred()) SWIG_fail; | |
13451 | } | |
13452 | resultobj = SWIG_Py_Void(); | |
13453 | return resultobj; | |
13454 | fail: | |
13455 | return NULL; | |
13456 | } | |
13457 | ||
13458 | ||
5c8c7dd3 RD |
13459 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13460 | PyObject *resultobj = 0; | |
13461 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13462 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13463 | void *argp1 = 0 ; |
13464 | int res1 = 0 ; | |
13465 | void *argp2 = 0 ; | |
13466 | int res2 = 0 ; | |
13467 | PyObject * obj0 = 0 ; | |
13468 | PyObject * obj1 = 0 ; | |
13469 | char * kwnames[] = { | |
13470 | (char *) "self",(char *) "art", NULL | |
13471 | }; | |
13472 | ||
13473 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13474 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13475 | if (!SWIG_IsOK(res1)) { | |
13476 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13477 | } | |
13478 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13479 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13480 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13481 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13482 | } |
5eb8189c | 13483 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13484 | { |
13485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13486 | (arg1)->SetArtProvider(arg2); | |
13487 | wxPyEndAllowThreads(__tstate); | |
13488 | if (PyErr_Occurred()) SWIG_fail; | |
13489 | } | |
13490 | resultobj = SWIG_Py_Void(); | |
13491 | return resultobj; | |
13492 | fail: | |
13493 | return NULL; | |
13494 | } | |
13495 | ||
13496 | ||
13497 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13498 | PyObject *resultobj = 0; | |
13499 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13500 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13501 | void *argp1 = 0 ; |
13502 | int res1 = 0 ; | |
13503 | PyObject *swig_obj[1] ; | |
13504 | ||
13505 | if (!args) SWIG_fail; | |
13506 | swig_obj[0] = args; | |
13507 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13508 | if (!SWIG_IsOK(res1)) { | |
5172800e | 13509 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); |
5c8c7dd3 RD |
13510 | } |
13511 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13512 | { | |
13513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 13514 | result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider(); |
5eb8189c RD |
13515 | wxPyEndAllowThreads(__tstate); |
13516 | if (PyErr_Occurred()) SWIG_fail; | |
13517 | } | |
13518 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13519 | return resultobj; | |
13520 | fail: | |
13521 | return NULL; | |
13522 | } | |
13523 | ||
13524 | ||
13525 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13526 | PyObject *resultobj = 0; | |
13527 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13528 | int arg2 ; | |
13529 | void *argp1 = 0 ; | |
13530 | int res1 = 0 ; | |
13531 | int val2 ; | |
13532 | int ecode2 = 0 ; | |
13533 | PyObject * obj0 = 0 ; | |
13534 | PyObject * obj1 = 0 ; | |
13535 | char * kwnames[] = { | |
13536 | (char *) "self",(char *) "flags", NULL | |
13537 | }; | |
13538 | ||
13539 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13541 | if (!SWIG_IsOK(res1)) { | |
13542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13543 | } | |
13544 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13545 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13546 | if (!SWIG_IsOK(ecode2)) { | |
13547 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13548 | } | |
13549 | arg2 = static_cast< int >(val2); | |
13550 | { | |
13551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13552 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13553 | wxPyEndAllowThreads(__tstate); |
13554 | if (PyErr_Occurred()) SWIG_fail; | |
13555 | } | |
5eb8189c RD |
13556 | resultobj = SWIG_Py_Void(); |
13557 | return resultobj; | |
13558 | fail: | |
13559 | return NULL; | |
13560 | } | |
13561 | ||
13562 | ||
13563 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13564 | PyObject *resultobj = 0; | |
13565 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13566 | int result; | |
13567 | void *argp1 = 0 ; | |
13568 | int res1 = 0 ; | |
13569 | PyObject *swig_obj[1] ; | |
13570 | ||
13571 | if (!args) SWIG_fail; | |
13572 | swig_obj[0] = args; | |
13573 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13574 | if (!SWIG_IsOK(res1)) { | |
13575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13576 | } | |
13577 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13578 | { | |
13579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13580 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13581 | wxPyEndAllowThreads(__tstate); | |
13582 | if (PyErr_Occurred()) SWIG_fail; | |
13583 | } | |
13584 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13585 | return resultobj; |
13586 | fail: | |
13587 | return NULL; | |
13588 | } | |
13589 | ||
13590 | ||
10044bf1 RD |
13591 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13592 | PyObject *resultobj = 0; | |
13593 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13594 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13595 | wxAuiNotebookPage *arg3 = 0 ; | |
13596 | bool result; | |
13597 | void *argp1 = 0 ; | |
13598 | int res1 = 0 ; | |
13599 | void *argp2 = 0 ; | |
13600 | int res2 = 0 ; | |
13601 | void *argp3 = 0 ; | |
13602 | int res3 = 0 ; | |
13603 | PyObject * obj0 = 0 ; | |
13604 | PyObject * obj1 = 0 ; | |
13605 | PyObject * obj2 = 0 ; | |
13606 | char * kwnames[] = { | |
13607 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13608 | }; | |
13609 | ||
13610 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13611 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13612 | if (!SWIG_IsOK(res1)) { | |
13613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13614 | } | |
13615 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13616 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13617 | if (!SWIG_IsOK(res2)) { | |
13618 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13619 | } | |
13620 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13621 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13622 | if (!SWIG_IsOK(res3)) { | |
13623 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13624 | } | |
13625 | if (!argp3) { | |
13626 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13627 | } | |
13628 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13629 | { | |
13630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13631 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13632 | wxPyEndAllowThreads(__tstate); | |
13633 | if (PyErr_Occurred()) SWIG_fail; | |
13634 | } | |
13635 | { | |
13636 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13637 | } | |
13638 | return resultobj; | |
13639 | fail: | |
13640 | return NULL; | |
13641 | } | |
13642 | ||
13643 | ||
13644 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13645 | PyObject *resultobj = 0; | |
13646 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13647 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13648 | wxAuiNotebookPage *arg3 = 0 ; | |
13649 | size_t arg4 ; | |
13650 | bool result; | |
13651 | void *argp1 = 0 ; | |
13652 | int res1 = 0 ; | |
13653 | void *argp2 = 0 ; | |
13654 | int res2 = 0 ; | |
13655 | void *argp3 = 0 ; | |
13656 | int res3 = 0 ; | |
13657 | size_t val4 ; | |
13658 | int ecode4 = 0 ; | |
13659 | PyObject * obj0 = 0 ; | |
13660 | PyObject * obj1 = 0 ; | |
13661 | PyObject * obj2 = 0 ; | |
13662 | PyObject * obj3 = 0 ; | |
13663 | char * kwnames[] = { | |
13664 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13665 | }; | |
13666 | ||
13667 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13668 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13669 | if (!SWIG_IsOK(res1)) { | |
13670 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13671 | } | |
13672 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13673 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13674 | if (!SWIG_IsOK(res2)) { | |
13675 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13676 | } | |
13677 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13678 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13679 | if (!SWIG_IsOK(res3)) { | |
13680 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13681 | } | |
13682 | if (!argp3) { | |
13683 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13684 | } | |
13685 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13686 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13687 | if (!SWIG_IsOK(ecode4)) { | |
13688 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13689 | } | |
13690 | arg4 = static_cast< size_t >(val4); | |
13691 | { | |
13692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13693 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13694 | wxPyEndAllowThreads(__tstate); | |
13695 | if (PyErr_Occurred()) SWIG_fail; | |
13696 | } | |
13697 | { | |
13698 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13699 | } | |
13700 | return resultobj; | |
13701 | fail: | |
13702 | return NULL; | |
13703 | } | |
13704 | ||
13705 | ||
580080c5 RD |
13706 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13707 | PyObject *resultobj = 0; | |
13708 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13709 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13710 | size_t arg3 ; | |
13711 | bool result; | |
13712 | void *argp1 = 0 ; | |
13713 | int res1 = 0 ; | |
13714 | void *argp2 = 0 ; | |
13715 | int res2 = 0 ; | |
13716 | size_t val3 ; | |
13717 | int ecode3 = 0 ; | |
13718 | PyObject * obj0 = 0 ; | |
13719 | PyObject * obj1 = 0 ; | |
13720 | PyObject * obj2 = 0 ; | |
13721 | char * kwnames[] = { | |
13722 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13723 | }; | |
13724 | ||
13725 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13726 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13727 | if (!SWIG_IsOK(res1)) { | |
13728 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13729 | } | |
13730 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13731 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13732 | if (!SWIG_IsOK(res2)) { | |
13733 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13734 | } | |
13735 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13736 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13737 | if (!SWIG_IsOK(ecode3)) { | |
13738 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
13739 | } | |
13740 | arg3 = static_cast< size_t >(val3); | |
13741 | { | |
13742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13743 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
13744 | wxPyEndAllowThreads(__tstate); | |
13745 | if (PyErr_Occurred()) SWIG_fail; | |
13746 | } | |
13747 | { | |
13748 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13749 | } | |
13750 | return resultobj; | |
13751 | fail: | |
13752 | return NULL; | |
13753 | } | |
13754 | ||
13755 | ||
10044bf1 RD |
13756 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13757 | PyObject *resultobj = 0; | |
13758 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13759 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13760 | bool result; | |
13761 | void *argp1 = 0 ; | |
13762 | int res1 = 0 ; | |
13763 | void *argp2 = 0 ; | |
13764 | int res2 = 0 ; | |
13765 | PyObject * obj0 = 0 ; | |
13766 | PyObject * obj1 = 0 ; | |
13767 | char * kwnames[] = { | |
13768 | (char *) "self",(char *) "page", NULL | |
13769 | }; | |
13770 | ||
13771 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
13772 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13773 | if (!SWIG_IsOK(res1)) { | |
13774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13775 | } | |
13776 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13777 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13778 | if (!SWIG_IsOK(res2)) { | |
13779 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13780 | } | |
13781 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13782 | { | |
13783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13784 | result = (bool)(arg1)->RemovePage(arg2); | |
13785 | wxPyEndAllowThreads(__tstate); | |
13786 | if (PyErr_Occurred()) SWIG_fail; | |
13787 | } | |
13788 | { | |
13789 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13790 | } | |
13791 | return resultobj; | |
13792 | fail: | |
13793 | return NULL; | |
13794 | } | |
13795 | ||
13796 | ||
13797 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13798 | PyObject *resultobj = 0; | |
13799 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13800 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13801 | bool result; | |
13802 | void *argp1 = 0 ; | |
13803 | int res1 = 0 ; | |
13804 | void *argp2 = 0 ; | |
13805 | int res2 = 0 ; | |
13806 | ||
13807 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13808 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13809 | if (!SWIG_IsOK(res1)) { | |
13810 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13811 | } | |
13812 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13813 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13814 | if (!SWIG_IsOK(res2)) { | |
13815 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13816 | } | |
13817 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13818 | { | |
13819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13820 | result = (bool)(arg1)->SetActivePage(arg2); | |
13821 | wxPyEndAllowThreads(__tstate); | |
13822 | if (PyErr_Occurred()) SWIG_fail; | |
13823 | } | |
13824 | { | |
13825 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13826 | } | |
13827 | return resultobj; | |
13828 | fail: | |
13829 | return NULL; | |
13830 | } | |
13831 | ||
13832 | ||
13833 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
13834 | PyObject *resultobj = 0; | |
13835 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13836 | size_t arg2 ; | |
13837 | bool result; | |
13838 | void *argp1 = 0 ; | |
13839 | int res1 = 0 ; | |
13840 | size_t val2 ; | |
13841 | int ecode2 = 0 ; | |
13842 | ||
13843 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
13844 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13845 | if (!SWIG_IsOK(res1)) { | |
13846 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13847 | } | |
13848 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13849 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
13850 | if (!SWIG_IsOK(ecode2)) { | |
13851 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
13852 | } | |
13853 | arg2 = static_cast< size_t >(val2); | |
13854 | { | |
13855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13856 | result = (bool)(arg1)->SetActivePage(arg2); | |
13857 | wxPyEndAllowThreads(__tstate); | |
13858 | if (PyErr_Occurred()) SWIG_fail; | |
13859 | } | |
13860 | { | |
13861 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13862 | } | |
13863 | return resultobj; | |
13864 | fail: | |
13865 | return NULL; | |
13866 | } | |
13867 | ||
13868 | ||
13869 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
13870 | int argc; | |
13871 | PyObject *argv[3]; | |
13872 | ||
13873 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
13874 | --argc; | |
13875 | if (argc == 2) { | |
13876 | int _v = 0; | |
13877 | { | |
13878 | void *vptr = 0; | |
13879 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
13880 | _v = SWIG_CheckState(res); | |
13881 | } | |
13882 | if (!_v) goto check_1; | |
13883 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
13884 | } | |
13885 | check_1: | |
13886 | ||
13887 | if (argc == 2) { | |
13888 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
13889 | } | |
13890 | ||
13891 | fail: | |
13892 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
13893 | return NULL; | |
13894 | } | |
13895 | ||
13896 | ||
13897 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13898 | PyObject *resultobj = 0; | |
13899 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13900 | void *argp1 = 0 ; | |
13901 | int res1 = 0 ; | |
13902 | PyObject *swig_obj[1] ; | |
13903 | ||
13904 | if (!args) SWIG_fail; | |
13905 | swig_obj[0] = args; | |
13906 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13907 | if (!SWIG_IsOK(res1)) { | |
13908 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13909 | } | |
13910 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13911 | { | |
13912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13913 | (arg1)->SetNoneActive(); | |
13914 | wxPyEndAllowThreads(__tstate); | |
13915 | if (PyErr_Occurred()) SWIG_fail; | |
13916 | } | |
13917 | resultobj = SWIG_Py_Void(); | |
13918 | return resultobj; | |
13919 | fail: | |
13920 | return NULL; | |
13921 | } | |
13922 | ||
13923 | ||
13924 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13925 | PyObject *resultobj = 0; | |
13926 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13927 | int result; | |
13928 | void *argp1 = 0 ; | |
13929 | int res1 = 0 ; | |
13930 | PyObject *swig_obj[1] ; | |
13931 | ||
13932 | if (!args) SWIG_fail; | |
13933 | swig_obj[0] = args; | |
13934 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13935 | if (!SWIG_IsOK(res1)) { | |
13936 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13937 | } | |
13938 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13939 | { | |
13940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13941 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
13942 | wxPyEndAllowThreads(__tstate); | |
13943 | if (PyErr_Occurred()) SWIG_fail; | |
13944 | } | |
13945 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13946 | return resultobj; | |
13947 | fail: | |
13948 | return NULL; | |
13949 | } | |
13950 | ||
13951 | ||
13952 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13953 | PyObject *resultobj = 0; | |
13954 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13955 | int arg2 ; | |
13956 | int arg3 ; | |
13957 | wxWindow **arg4 = (wxWindow **) 0 ; | |
13958 | bool result; | |
13959 | void *argp1 = 0 ; | |
13960 | int res1 = 0 ; | |
13961 | int val2 ; | |
13962 | int ecode2 = 0 ; | |
13963 | int val3 ; | |
13964 | int ecode3 = 0 ; | |
13965 | void *argp4 = 0 ; | |
13966 | int res4 = 0 ; | |
13967 | PyObject * obj0 = 0 ; | |
13968 | PyObject * obj1 = 0 ; | |
13969 | PyObject * obj2 = 0 ; | |
13970 | PyObject * obj3 = 0 ; | |
13971 | char * kwnames[] = { | |
13972 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
13973 | }; | |
13974 | ||
13975 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13976 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13977 | if (!SWIG_IsOK(res1)) { | |
13978 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13979 | } | |
13980 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13981 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13982 | if (!SWIG_IsOK(ecode2)) { | |
13983 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
13984 | } | |
13985 | arg2 = static_cast< int >(val2); | |
13986 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
13987 | if (!SWIG_IsOK(ecode3)) { | |
13988 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
13989 | } | |
13990 | arg3 = static_cast< int >(val3); | |
13991 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
13992 | if (!SWIG_IsOK(res4)) { | |
13993 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
13994 | } | |
13995 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
13996 | { | |
13997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13998 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
13999 | wxPyEndAllowThreads(__tstate); | |
14000 | if (PyErr_Occurred()) SWIG_fail; | |
14001 | } | |
14002 | { | |
14003 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14004 | } | |
14005 | return resultobj; | |
14006 | fail: | |
14007 | return NULL; | |
14008 | } | |
14009 | ||
14010 | ||
14011 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14012 | PyObject *resultobj = 0; | |
14013 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14014 | int arg2 ; | |
14015 | int arg3 ; | |
14016 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
14017 | bool result; | |
14018 | void *argp1 = 0 ; | |
14019 | int res1 = 0 ; | |
14020 | int val2 ; | |
14021 | int ecode2 = 0 ; | |
14022 | int val3 ; | |
14023 | int ecode3 = 0 ; | |
14024 | void *argp4 = 0 ; | |
14025 | int res4 = 0 ; | |
14026 | PyObject * obj0 = 0 ; | |
14027 | PyObject * obj1 = 0 ; | |
14028 | PyObject * obj2 = 0 ; | |
14029 | PyObject * obj3 = 0 ; | |
14030 | char * kwnames[] = { | |
14031 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14032 | }; | |
14033 | ||
14034 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14035 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14036 | if (!SWIG_IsOK(res1)) { | |
14037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14038 | } | |
14039 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14040 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14041 | if (!SWIG_IsOK(ecode2)) { | |
14042 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14043 | } | |
14044 | arg2 = static_cast< int >(val2); | |
14045 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14046 | if (!SWIG_IsOK(ecode3)) { | |
14047 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14048 | } | |
14049 | arg3 = static_cast< int >(val3); | |
14050 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
14051 | if (!SWIG_IsOK(res4)) { | |
14052 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
14053 | } | |
14054 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
14055 | { | |
14056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14057 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
14058 | wxPyEndAllowThreads(__tstate); | |
14059 | if (PyErr_Occurred()) SWIG_fail; | |
14060 | } | |
14061 | { | |
14062 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14063 | } | |
14064 | return resultobj; | |
14065 | fail: | |
14066 | return NULL; | |
14067 | } | |
14068 | ||
14069 | ||
14070 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14071 | PyObject *resultobj = 0; | |
14072 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14073 | size_t arg2 ; | |
14074 | wxWindow *result = 0 ; | |
14075 | void *argp1 = 0 ; | |
14076 | int res1 = 0 ; | |
14077 | size_t val2 ; | |
14078 | int ecode2 = 0 ; | |
14079 | PyObject * obj0 = 0 ; | |
14080 | PyObject * obj1 = 0 ; | |
14081 | char * kwnames[] = { | |
14082 | (char *) "self",(char *) "idx", NULL | |
14083 | }; | |
14084 | ||
14085 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
14086 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14087 | if (!SWIG_IsOK(res1)) { | |
14088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14089 | } | |
14090 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14091 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14092 | if (!SWIG_IsOK(ecode2)) { | |
14093 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
14094 | } | |
14095 | arg2 = static_cast< size_t >(val2); | |
14096 | { | |
14097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14098 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
14099 | wxPyEndAllowThreads(__tstate); | |
14100 | if (PyErr_Occurred()) SWIG_fail; | |
14101 | } | |
14102 | { | |
14103 | resultobj = wxPyMake_wxObject(result, 0); | |
14104 | } | |
14105 | return resultobj; | |
14106 | fail: | |
14107 | return NULL; | |
14108 | } | |
14109 | ||
14110 | ||
14111 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14112 | PyObject *resultobj = 0; | |
14113 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14114 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14115 | int result; | |
14116 | void *argp1 = 0 ; | |
14117 | int res1 = 0 ; | |
14118 | void *argp2 = 0 ; | |
14119 | int res2 = 0 ; | |
14120 | PyObject * obj0 = 0 ; | |
14121 | PyObject * obj1 = 0 ; | |
14122 | char * kwnames[] = { | |
14123 | (char *) "self",(char *) "page", NULL | |
14124 | }; | |
14125 | ||
14126 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
14127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14128 | if (!SWIG_IsOK(res1)) { | |
14129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14130 | } | |
14131 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14132 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14133 | if (!SWIG_IsOK(res2)) { | |
14134 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14135 | } | |
14136 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14137 | { | |
14138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14139 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
14140 | wxPyEndAllowThreads(__tstate); | |
14141 | if (PyErr_Occurred()) SWIG_fail; | |
14142 | } | |
14143 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14144 | return resultobj; | |
14145 | fail: | |
14146 | return NULL; | |
14147 | } | |
14148 | ||
14149 | ||
14150 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14151 | PyObject *resultobj = 0; | |
14152 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14153 | size_t result; | |
14154 | void *argp1 = 0 ; | |
14155 | int res1 = 0 ; | |
14156 | PyObject *swig_obj[1] ; | |
14157 | ||
14158 | if (!args) SWIG_fail; | |
14159 | swig_obj[0] = args; | |
14160 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14161 | if (!SWIG_IsOK(res1)) { | |
14162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14163 | } | |
14164 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14165 | { | |
14166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14167 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
14168 | wxPyEndAllowThreads(__tstate); | |
14169 | if (PyErr_Occurred()) SWIG_fail; | |
14170 | } | |
14171 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14172 | return resultobj; | |
14173 | fail: | |
14174 | return NULL; | |
14175 | } | |
14176 | ||
14177 | ||
14178 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14179 | PyObject *resultobj = 0; | |
14180 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14181 | size_t arg2 ; | |
14182 | wxAuiNotebookPage *result = 0 ; | |
14183 | void *argp1 = 0 ; | |
14184 | int res1 = 0 ; | |
14185 | size_t val2 ; | |
14186 | int ecode2 = 0 ; | |
14187 | PyObject * obj0 = 0 ; | |
14188 | PyObject * obj1 = 0 ; | |
14189 | char * kwnames[] = { | |
14190 | (char *) "self",(char *) "idx", NULL | |
14191 | }; | |
14192 | ||
14193 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14194 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14195 | if (!SWIG_IsOK(res1)) { | |
14196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14197 | } | |
14198 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14199 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14200 | if (!SWIG_IsOK(ecode2)) { | |
14201 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14202 | } | |
14203 | arg2 = static_cast< size_t >(val2); | |
14204 | { | |
14205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14206 | { | |
14207 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
14208 | result = (wxAuiNotebookPage *) &_result_ref; | |
14209 | } | |
14210 | wxPyEndAllowThreads(__tstate); | |
14211 | if (PyErr_Occurred()) SWIG_fail; | |
14212 | } | |
14213 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
14214 | return resultobj; | |
14215 | fail: | |
14216 | return NULL; | |
14217 | } | |
14218 | ||
14219 | ||
14220 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14221 | PyObject *resultobj = 0; | |
14222 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14223 | wxAuiNotebookPageArray *result = 0 ; | |
14224 | void *argp1 = 0 ; | |
14225 | int res1 = 0 ; | |
14226 | PyObject *swig_obj[1] ; | |
14227 | ||
14228 | if (!args) SWIG_fail; | |
14229 | swig_obj[0] = args; | |
14230 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14231 | if (!SWIG_IsOK(res1)) { | |
14232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14233 | } | |
14234 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14235 | { | |
14236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14237 | { | |
14238 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
14239 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
14240 | } | |
14241 | wxPyEndAllowThreads(__tstate); | |
14242 | if (PyErr_Occurred()) SWIG_fail; | |
14243 | } | |
14244 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
14245 | return resultobj; | |
14246 | fail: | |
14247 | return NULL; | |
14248 | } | |
14249 | ||
14250 | ||
14251 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14252 | PyObject *resultobj = 0; | |
14253 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14254 | wxFont *arg2 = 0 ; | |
14255 | void *argp1 = 0 ; | |
14256 | int res1 = 0 ; | |
14257 | void *argp2 = 0 ; | |
14258 | int res2 = 0 ; | |
14259 | PyObject * obj0 = 0 ; | |
14260 | PyObject * obj1 = 0 ; | |
14261 | char * kwnames[] = { | |
14262 | (char *) "self",(char *) "normal_font", NULL | |
14263 | }; | |
14264 | ||
14265 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14266 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14267 | if (!SWIG_IsOK(res1)) { | |
14268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14269 | } | |
14270 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14271 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14272 | if (!SWIG_IsOK(res2)) { | |
14273 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14274 | } | |
14275 | if (!argp2) { | |
14276 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14277 | } | |
14278 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14279 | { | |
14280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14281 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
14282 | wxPyEndAllowThreads(__tstate); | |
14283 | if (PyErr_Occurred()) SWIG_fail; | |
14284 | } | |
14285 | resultobj = SWIG_Py_Void(); | |
14286 | return resultobj; | |
14287 | fail: | |
14288 | return NULL; | |
14289 | } | |
14290 | ||
14291 | ||
14292 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14293 | PyObject *resultobj = 0; | |
14294 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14295 | wxFont *arg2 = 0 ; | |
14296 | void *argp1 = 0 ; | |
14297 | int res1 = 0 ; | |
14298 | void *argp2 = 0 ; | |
14299 | int res2 = 0 ; | |
14300 | PyObject * obj0 = 0 ; | |
14301 | PyObject * obj1 = 0 ; | |
14302 | char * kwnames[] = { | |
14303 | (char *) "self",(char *) "selected_font", NULL | |
14304 | }; | |
14305 | ||
14306 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14307 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14308 | if (!SWIG_IsOK(res1)) { | |
14309 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14310 | } | |
14311 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14312 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14313 | if (!SWIG_IsOK(res2)) { | |
14314 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14315 | } | |
14316 | if (!argp2) { | |
14317 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14318 | } | |
14319 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14320 | { | |
14321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14322 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14323 | wxPyEndAllowThreads(__tstate); | |
14324 | if (PyErr_Occurred()) SWIG_fail; | |
14325 | } | |
14326 | resultobj = SWIG_Py_Void(); | |
14327 | return resultobj; | |
14328 | fail: | |
14329 | return NULL; | |
14330 | } | |
14331 | ||
14332 | ||
14333 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14334 | PyObject *resultobj = 0; | |
14335 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14336 | wxFont *arg2 = 0 ; | |
14337 | void *argp1 = 0 ; | |
14338 | int res1 = 0 ; | |
14339 | void *argp2 = 0 ; | |
14340 | int res2 = 0 ; | |
14341 | PyObject * obj0 = 0 ; | |
14342 | PyObject * obj1 = 0 ; | |
14343 | char * kwnames[] = { | |
14344 | (char *) "self",(char *) "measuring_font", NULL | |
14345 | }; | |
14346 | ||
14347 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14348 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14349 | if (!SWIG_IsOK(res1)) { | |
14350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14351 | } | |
14352 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14353 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14354 | if (!SWIG_IsOK(res2)) { | |
14355 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14356 | } | |
14357 | if (!argp2) { | |
14358 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14359 | } | |
14360 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14361 | { | |
14362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14363 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14364 | wxPyEndAllowThreads(__tstate); | |
14365 | if (PyErr_Occurred()) SWIG_fail; | |
14366 | } | |
14367 | resultobj = SWIG_Py_Void(); | |
14368 | return resultobj; | |
14369 | fail: | |
14370 | return NULL; | |
14371 | } | |
14372 | ||
14373 | ||
14374 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14375 | PyObject *resultobj = 0; | |
14376 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14377 | void *argp1 = 0 ; | |
14378 | int res1 = 0 ; | |
14379 | PyObject *swig_obj[1] ; | |
14380 | ||
14381 | if (!args) SWIG_fail; | |
14382 | swig_obj[0] = args; | |
14383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14384 | if (!SWIG_IsOK(res1)) { | |
14385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14386 | } | |
14387 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14388 | { | |
14389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14390 | (arg1)->DoShowHide(); | |
14391 | wxPyEndAllowThreads(__tstate); | |
14392 | if (PyErr_Occurred()) SWIG_fail; | |
14393 | } | |
14394 | resultobj = SWIG_Py_Void(); | |
14395 | return resultobj; | |
14396 | fail: | |
14397 | return NULL; | |
14398 | } | |
14399 | ||
14400 | ||
14401 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14402 | PyObject *resultobj = 0; | |
14403 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14404 | wxRect *arg2 = 0 ; | |
14405 | void *argp1 = 0 ; | |
14406 | int res1 = 0 ; | |
14407 | wxRect temp2 ; | |
14408 | PyObject * obj0 = 0 ; | |
14409 | PyObject * obj1 = 0 ; | |
14410 | char * kwnames[] = { | |
14411 | (char *) "self",(char *) "rect", NULL | |
14412 | }; | |
14413 | ||
14414 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14415 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14416 | if (!SWIG_IsOK(res1)) { | |
14417 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14418 | } | |
14419 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14420 | { | |
14421 | arg2 = &temp2; | |
14422 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14423 | } | |
14424 | { | |
14425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14426 | (arg1)->SetRect((wxRect const &)*arg2); | |
14427 | wxPyEndAllowThreads(__tstate); | |
14428 | if (PyErr_Occurred()) SWIG_fail; | |
14429 | } | |
14430 | resultobj = SWIG_Py_Void(); | |
14431 | return resultobj; | |
14432 | fail: | |
14433 | return NULL; | |
14434 | } | |
14435 | ||
14436 | ||
36cb9ebe RD |
14437 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14438 | PyObject *resultobj = 0; | |
14439 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14440 | int arg2 ; | |
14441 | void *argp1 = 0 ; | |
14442 | int res1 = 0 ; | |
14443 | int val2 ; | |
14444 | int ecode2 = 0 ; | |
14445 | PyObject * obj0 = 0 ; | |
14446 | PyObject * obj1 = 0 ; | |
14447 | char * kwnames[] = { | |
14448 | (char *) "self",(char *) "id", NULL | |
14449 | }; | |
14450 | ||
14451 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14452 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14453 | if (!SWIG_IsOK(res1)) { | |
14454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14455 | } | |
14456 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14457 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14458 | if (!SWIG_IsOK(ecode2)) { | |
14459 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14460 | } | |
14461 | arg2 = static_cast< int >(val2); | |
14462 | { | |
14463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14464 | (arg1)->RemoveButton(arg2); | |
14465 | wxPyEndAllowThreads(__tstate); | |
14466 | if (PyErr_Occurred()) SWIG_fail; | |
14467 | } | |
14468 | resultobj = SWIG_Py_Void(); | |
14469 | return resultobj; | |
14470 | fail: | |
14471 | return NULL; | |
14472 | } | |
14473 | ||
14474 | ||
10044bf1 RD |
14475 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14476 | PyObject *resultobj = 0; | |
14477 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14478 | int arg2 ; | |
5c8c7dd3 | 14479 | int arg3 ; |
8f514ab4 RD |
14480 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14481 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14482 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14483 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14484 | void *argp1 = 0 ; |
14485 | int res1 = 0 ; | |
14486 | int val2 ; | |
14487 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14488 | int val3 ; |
14489 | int ecode3 = 0 ; | |
14490 | void *argp4 = 0 ; | |
14491 | int res4 = 0 ; | |
8f514ab4 RD |
14492 | void *argp5 = 0 ; |
14493 | int res5 = 0 ; | |
10044bf1 RD |
14494 | PyObject * obj0 = 0 ; |
14495 | PyObject * obj1 = 0 ; | |
14496 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14497 | PyObject * obj3 = 0 ; |
8f514ab4 | 14498 | PyObject * obj4 = 0 ; |
10044bf1 | 14499 | char * kwnames[] = { |
8f514ab4 | 14500 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14501 | }; |
14502 | ||
8f514ab4 | 14503 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14504 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14505 | if (!SWIG_IsOK(res1)) { | |
14506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14507 | } | |
14508 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14509 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14510 | if (!SWIG_IsOK(ecode2)) { | |
14511 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14512 | } | |
14513 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14514 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14515 | if (!SWIG_IsOK(ecode3)) { | |
14516 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14517 | } | |
14518 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14519 | if (obj3) { |
14520 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14521 | if (!SWIG_IsOK(res4)) { | |
14522 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14523 | } | |
14524 | if (!argp4) { | |
14525 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14526 | } | |
14527 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14528 | } |
8f514ab4 RD |
14529 | if (obj4) { |
14530 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14531 | if (!SWIG_IsOK(res5)) { | |
14532 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14533 | } | |
14534 | if (!argp5) { | |
14535 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14536 | } | |
14537 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14538 | } |
10044bf1 RD |
14539 | { |
14540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14541 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
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_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14553 | PyObject *resultobj = 0; | |
14554 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14555 | size_t result; | |
14556 | void *argp1 = 0 ; | |
14557 | int res1 = 0 ; | |
14558 | PyObject *swig_obj[1] ; | |
14559 | ||
14560 | if (!args) SWIG_fail; | |
14561 | swig_obj[0] = args; | |
14562 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14563 | if (!SWIG_IsOK(res1)) { | |
14564 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14565 | } | |
14566 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14567 | { | |
14568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14569 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14570 | wxPyEndAllowThreads(__tstate); | |
14571 | if (PyErr_Occurred()) SWIG_fail; | |
14572 | } | |
14573 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14574 | return resultobj; | |
14575 | fail: | |
14576 | return NULL; | |
14577 | } | |
14578 | ||
14579 | ||
14580 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14581 | PyObject *resultobj = 0; | |
14582 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14583 | size_t arg2 ; | |
14584 | void *argp1 = 0 ; | |
14585 | int res1 = 0 ; | |
14586 | size_t val2 ; | |
14587 | int ecode2 = 0 ; | |
14588 | PyObject * obj0 = 0 ; | |
14589 | PyObject * obj1 = 0 ; | |
14590 | char * kwnames[] = { | |
14591 | (char *) "self",(char *) "offset", NULL | |
14592 | }; | |
14593 | ||
14594 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14595 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14596 | if (!SWIG_IsOK(res1)) { | |
14597 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14598 | } | |
14599 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14600 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14601 | if (!SWIG_IsOK(ecode2)) { | |
14602 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14603 | } | |
14604 | arg2 = static_cast< size_t >(val2); | |
14605 | { | |
14606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14607 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14608 | wxPyEndAllowThreads(__tstate); |
14609 | if (PyErr_Occurred()) SWIG_fail; | |
14610 | } | |
14611 | resultobj = SWIG_Py_Void(); | |
14612 | return resultobj; | |
14613 | fail: | |
14614 | return NULL; | |
14615 | } | |
14616 | ||
14617 | ||
14618 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14619 | PyObject *obj; | |
14620 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14621 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14622 | return SWIG_Py_Void(); | |
14623 | } | |
14624 | ||
14625 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14626 | return SWIG_Python_InitShadowInstance(args); | |
14627 | } | |
14628 | ||
14629 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14630 | PyObject *resultobj = 0; | |
14631 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14632 | int arg2 = (int) wxID_ANY ; | |
14633 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14634 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14635 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14636 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14637 | long arg5 = (long) 0 ; | |
14638 | wxAuiTabCtrl *result = 0 ; | |
14639 | void *argp1 = 0 ; | |
14640 | int res1 = 0 ; | |
14641 | int val2 ; | |
14642 | int ecode2 = 0 ; | |
14643 | wxPoint temp3 ; | |
14644 | wxSize temp4 ; | |
14645 | long val5 ; | |
14646 | int ecode5 = 0 ; | |
14647 | PyObject * obj0 = 0 ; | |
14648 | PyObject * obj1 = 0 ; | |
14649 | PyObject * obj2 = 0 ; | |
14650 | PyObject * obj3 = 0 ; | |
14651 | PyObject * obj4 = 0 ; | |
14652 | char * kwnames[] = { | |
14653 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14654 | }; | |
14655 | ||
14656 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14657 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14658 | if (!SWIG_IsOK(res1)) { | |
14659 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14660 | } | |
14661 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14662 | if (obj1) { | |
14663 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14664 | if (!SWIG_IsOK(ecode2)) { | |
14665 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14666 | } | |
14667 | arg2 = static_cast< int >(val2); | |
14668 | } | |
14669 | if (obj2) { | |
14670 | { | |
14671 | arg3 = &temp3; | |
14672 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14673 | } | |
14674 | } | |
14675 | if (obj3) { | |
14676 | { | |
14677 | arg4 = &temp4; | |
14678 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14679 | } | |
14680 | } | |
14681 | if (obj4) { | |
14682 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14683 | if (!SWIG_IsOK(ecode5)) { | |
14684 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14685 | } | |
14686 | arg5 = static_cast< long >(val5); | |
14687 | } | |
14688 | { | |
14689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14690 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14691 | wxPyEndAllowThreads(__tstate); | |
14692 | if (PyErr_Occurred()) SWIG_fail; | |
14693 | } | |
14694 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14695 | return resultobj; | |
14696 | fail: | |
14697 | return NULL; | |
14698 | } | |
14699 | ||
14700 | ||
580080c5 RD |
14701 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14702 | PyObject *resultobj = 0; | |
14703 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14704 | void *argp1 = 0 ; | |
14705 | int res1 = 0 ; | |
14706 | PyObject *swig_obj[1] ; | |
14707 | ||
14708 | if (!args) SWIG_fail; | |
14709 | swig_obj[0] = args; | |
14710 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14711 | if (!SWIG_IsOK(res1)) { | |
14712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14713 | } | |
14714 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14715 | { | |
14716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14717 | delete arg1; | |
14718 | ||
14719 | wxPyEndAllowThreads(__tstate); | |
14720 | if (PyErr_Occurred()) SWIG_fail; | |
14721 | } | |
14722 | resultobj = SWIG_Py_Void(); | |
14723 | return resultobj; | |
14724 | fail: | |
14725 | return NULL; | |
14726 | } | |
14727 | ||
14728 | ||
10044bf1 RD |
14729 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14730 | PyObject *obj; | |
14731 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14732 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14733 | return SWIG_Py_Void(); | |
14734 | } | |
14735 | ||
14736 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14737 | return SWIG_Python_InitShadowInstance(args); | |
14738 | } | |
14739 | ||
5eb8189c | 14740 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14741 | PyObject *resultobj = 0; |
5eb8189c | 14742 | wxAuiNotebook *result = 0 ; |
10044bf1 | 14743 | |
5eb8189c | 14744 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
14745 | { |
14746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 14747 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
14748 | wxPyEndAllowThreads(__tstate); |
14749 | if (PyErr_Occurred()) SWIG_fail; | |
14750 | } | |
5eb8189c | 14751 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
14752 | return resultobj; |
14753 | fail: | |
14754 | return NULL; | |
14755 | } | |
14756 | ||
14757 | ||
5eb8189c | 14758 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14759 | PyObject *resultobj = 0; |
14760 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14761 | int arg2 = (int) wxID_ANY ; | |
14762 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14763 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14764 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14765 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
14766 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
14767 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
14768 | void *argp1 = 0 ; |
14769 | int res1 = 0 ; | |
14770 | int val2 ; | |
14771 | int ecode2 = 0 ; | |
14772 | wxPoint temp3 ; | |
14773 | wxSize temp4 ; | |
14774 | long val5 ; | |
14775 | int ecode5 = 0 ; | |
14776 | PyObject * obj0 = 0 ; | |
14777 | PyObject * obj1 = 0 ; | |
14778 | PyObject * obj2 = 0 ; | |
14779 | PyObject * obj3 = 0 ; | |
14780 | PyObject * obj4 = 0 ; | |
14781 | char * kwnames[] = { | |
14782 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14783 | }; | |
14784 | ||
5eb8189c | 14785 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14786 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14787 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 14788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14789 | } |
14790 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14791 | if (obj1) { | |
14792 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14793 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 14794 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
14795 | } |
14796 | arg2 = static_cast< int >(val2); | |
14797 | } | |
14798 | if (obj2) { | |
14799 | { | |
14800 | arg3 = &temp3; | |
14801 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14802 | } | |
14803 | } | |
14804 | if (obj3) { | |
14805 | { | |
14806 | arg4 = &temp4; | |
14807 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14808 | } | |
14809 | } | |
14810 | if (obj4) { | |
14811 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14812 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 14813 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
14814 | } |
14815 | arg5 = static_cast< long >(val5); | |
14816 | } | |
14817 | { | |
14818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
14819 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
14820 | wxPyEndAllowThreads(__tstate); | |
14821 | if (PyErr_Occurred()) SWIG_fail; | |
14822 | } | |
14823 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
14824 | return resultobj; | |
14825 | fail: | |
14826 | return NULL; | |
14827 | } | |
14828 | ||
14829 | ||
14830 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14831 | PyObject *resultobj = 0; | |
14832 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
14833 | void *argp1 = 0 ; | |
14834 | int res1 = 0 ; | |
14835 | PyObject *swig_obj[1] ; | |
14836 | ||
14837 | if (!args) SWIG_fail; | |
14838 | swig_obj[0] = args; | |
14839 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
14840 | if (!SWIG_IsOK(res1)) { | |
14841 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
14842 | } | |
14843 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
14844 | { | |
14845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14846 | delete arg1; | |
14847 | ||
10044bf1 RD |
14848 | wxPyEndAllowThreads(__tstate); |
14849 | if (PyErr_Occurred()) SWIG_fail; | |
14850 | } | |
5eb8189c | 14851 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
14852 | return resultobj; |
14853 | fail: | |
14854 | return NULL; | |
14855 | } | |
14856 | ||
14857 | ||
5eb8189c | 14858 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14859 | PyObject *resultobj = 0; |
5eb8189c | 14860 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14861 | wxWindow *arg2 = (wxWindow *) 0 ; |
14862 | int arg3 = (int) wxID_ANY ; | |
14863 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14864 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14865 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14866 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14867 | long arg6 = (long) 0 ; | |
14868 | bool result; | |
14869 | void *argp1 = 0 ; | |
14870 | int res1 = 0 ; | |
14871 | void *argp2 = 0 ; | |
14872 | int res2 = 0 ; | |
14873 | int val3 ; | |
14874 | int ecode3 = 0 ; | |
14875 | wxPoint temp4 ; | |
14876 | wxSize temp5 ; | |
14877 | long val6 ; | |
14878 | int ecode6 = 0 ; | |
14879 | PyObject * obj0 = 0 ; | |
14880 | PyObject * obj1 = 0 ; | |
14881 | PyObject * obj2 = 0 ; | |
14882 | PyObject * obj3 = 0 ; | |
14883 | PyObject * obj4 = 0 ; | |
14884 | PyObject * obj5 = 0 ; | |
14885 | char * kwnames[] = { | |
14886 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14887 | }; | |
14888 | ||
5eb8189c RD |
14889 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
14890 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14891 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14892 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14893 | } |
5eb8189c | 14894 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14895 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14896 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14897 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14898 | } |
14899 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14900 | if (obj2) { | |
14901 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14902 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 14903 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
14904 | } |
14905 | arg3 = static_cast< int >(val3); | |
14906 | } | |
14907 | if (obj3) { | |
14908 | { | |
14909 | arg4 = &temp4; | |
14910 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14911 | } | |
14912 | } | |
14913 | if (obj4) { | |
14914 | { | |
14915 | arg5 = &temp5; | |
14916 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14917 | } | |
14918 | } | |
14919 | if (obj5) { | |
14920 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
14921 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 14922 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
14923 | } |
14924 | arg6 = static_cast< long >(val6); | |
14925 | } | |
14926 | { | |
14927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14928 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
14929 | wxPyEndAllowThreads(__tstate); | |
14930 | if (PyErr_Occurred()) SWIG_fail; | |
14931 | } | |
14932 | { | |
14933 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14934 | } | |
14935 | return resultobj; | |
14936 | fail: | |
14937 | return NULL; | |
14938 | } | |
14939 | ||
14940 | ||
5eb8189c | 14941 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 14942 | PyObject *resultobj = 0; |
5eb8189c | 14943 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
14944 | wxWindow *arg2 = (wxWindow *) 0 ; |
14945 | wxString *arg3 = 0 ; | |
14946 | bool arg4 = (bool) false ; | |
14947 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14948 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
14949 | bool result; | |
14950 | void *argp1 = 0 ; | |
14951 | int res1 = 0 ; | |
14952 | void *argp2 = 0 ; | |
14953 | int res2 = 0 ; | |
14954 | bool temp3 = false ; | |
14955 | bool val4 ; | |
14956 | int ecode4 = 0 ; | |
14957 | void *argp5 = 0 ; | |
14958 | int res5 = 0 ; | |
14959 | PyObject * obj0 = 0 ; | |
14960 | PyObject * obj1 = 0 ; | |
14961 | PyObject * obj2 = 0 ; | |
14962 | PyObject * obj3 = 0 ; | |
14963 | PyObject * obj4 = 0 ; | |
14964 | char * kwnames[] = { | |
14965 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
14966 | }; | |
14967 | ||
5eb8189c RD |
14968 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
14969 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 14970 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 14971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 14972 | } |
5eb8189c | 14973 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
14974 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
14975 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 14976 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
14977 | } |
14978 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14979 | { | |
14980 | arg3 = wxString_in_helper(obj2); | |
14981 | if (arg3 == NULL) SWIG_fail; | |
14982 | temp3 = true; | |
14983 | } | |
14984 | if (obj3) { | |
14985 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
14986 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 14987 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
14988 | } |
14989 | arg4 = static_cast< bool >(val4); | |
14990 | } | |
14991 | if (obj4) { | |
14992 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14993 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 14994 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14995 | } |
14996 | if (!argp5) { | |
5eb8189c | 14997 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
14998 | } |
14999 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15000 | } | |
15001 | { | |
15002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15003 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15004 | wxPyEndAllowThreads(__tstate); | |
15005 | if (PyErr_Occurred()) SWIG_fail; | |
15006 | } | |
15007 | { | |
15008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15009 | } | |
15010 | { | |
15011 | if (temp3) | |
15012 | delete arg3; | |
15013 | } | |
15014 | return resultobj; | |
15015 | fail: | |
15016 | { | |
15017 | if (temp3) | |
15018 | delete arg3; | |
15019 | } | |
15020 | return NULL; | |
15021 | } | |
15022 | ||
15023 | ||
5eb8189c | 15024 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15025 | PyObject *resultobj = 0; |
5eb8189c | 15026 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15027 | size_t arg2 ; |
15028 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15029 | wxString *arg4 = 0 ; | |
15030 | bool arg5 = (bool) false ; | |
15031 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15032 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15033 | bool result; | |
15034 | void *argp1 = 0 ; | |
15035 | int res1 = 0 ; | |
15036 | size_t val2 ; | |
15037 | int ecode2 = 0 ; | |
15038 | void *argp3 = 0 ; | |
15039 | int res3 = 0 ; | |
15040 | bool temp4 = false ; | |
15041 | bool val5 ; | |
15042 | int ecode5 = 0 ; | |
15043 | void *argp6 = 0 ; | |
15044 | int res6 = 0 ; | |
15045 | PyObject * obj0 = 0 ; | |
15046 | PyObject * obj1 = 0 ; | |
15047 | PyObject * obj2 = 0 ; | |
15048 | PyObject * obj3 = 0 ; | |
15049 | PyObject * obj4 = 0 ; | |
15050 | PyObject * obj5 = 0 ; | |
15051 | char * kwnames[] = { | |
15052 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15053 | }; | |
15054 | ||
5eb8189c RD |
15055 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15056 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15057 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15058 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15059 | } |
5eb8189c | 15060 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15061 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15062 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15063 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15064 | } |
15065 | arg2 = static_cast< size_t >(val2); | |
15066 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15067 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15068 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15069 | } |
15070 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15071 | { | |
15072 | arg4 = wxString_in_helper(obj3); | |
15073 | if (arg4 == NULL) SWIG_fail; | |
15074 | temp4 = true; | |
15075 | } | |
15076 | if (obj4) { | |
15077 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15078 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15079 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
15080 | } |
15081 | arg5 = static_cast< bool >(val5); | |
15082 | } | |
15083 | if (obj5) { | |
15084 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15085 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15086 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15087 | } |
15088 | if (!argp6) { | |
5eb8189c | 15089 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15090 | } |
15091 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15092 | } | |
15093 | { | |
15094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15095 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15096 | wxPyEndAllowThreads(__tstate); | |
15097 | if (PyErr_Occurred()) SWIG_fail; | |
15098 | } | |
15099 | { | |
15100 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15101 | } | |
15102 | { | |
15103 | if (temp4) | |
15104 | delete arg4; | |
15105 | } | |
15106 | return resultobj; | |
15107 | fail: | |
15108 | { | |
15109 | if (temp4) | |
15110 | delete arg4; | |
15111 | } | |
15112 | return NULL; | |
15113 | } | |
15114 | ||
15115 | ||
5eb8189c | 15116 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15117 | PyObject *resultobj = 0; |
5eb8189c | 15118 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15119 | size_t arg2 ; |
15120 | bool result; | |
15121 | void *argp1 = 0 ; | |
15122 | int res1 = 0 ; | |
15123 | size_t val2 ; | |
15124 | int ecode2 = 0 ; | |
15125 | PyObject * obj0 = 0 ; | |
15126 | PyObject * obj1 = 0 ; | |
15127 | char * kwnames[] = { | |
15128 | (char *) "self",(char *) "page", NULL | |
15129 | }; | |
15130 | ||
5eb8189c RD |
15131 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15132 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15133 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15134 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15135 | } |
5eb8189c | 15136 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15137 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15138 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15139 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15140 | } |
15141 | arg2 = static_cast< size_t >(val2); | |
15142 | { | |
15143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15144 | result = (bool)(arg1)->DeletePage(arg2); | |
15145 | wxPyEndAllowThreads(__tstate); | |
15146 | if (PyErr_Occurred()) SWIG_fail; | |
15147 | } | |
15148 | { | |
15149 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15150 | } | |
15151 | return resultobj; | |
15152 | fail: | |
15153 | return NULL; | |
15154 | } | |
15155 | ||
15156 | ||
5eb8189c | 15157 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15158 | PyObject *resultobj = 0; |
5eb8189c | 15159 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15160 | size_t arg2 ; |
15161 | bool result; | |
15162 | void *argp1 = 0 ; | |
15163 | int res1 = 0 ; | |
15164 | size_t val2 ; | |
15165 | int ecode2 = 0 ; | |
15166 | PyObject * obj0 = 0 ; | |
15167 | PyObject * obj1 = 0 ; | |
15168 | char * kwnames[] = { | |
15169 | (char *) "self",(char *) "page", NULL | |
15170 | }; | |
15171 | ||
5eb8189c RD |
15172 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15173 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15174 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15175 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15176 | } |
5eb8189c | 15177 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15178 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15179 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15180 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15181 | } |
15182 | arg2 = static_cast< size_t >(val2); | |
15183 | { | |
15184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15185 | result = (bool)(arg1)->RemovePage(arg2); | |
15186 | wxPyEndAllowThreads(__tstate); | |
15187 | if (PyErr_Occurred()) SWIG_fail; | |
15188 | } | |
15189 | { | |
15190 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15191 | } | |
15192 | return resultobj; | |
15193 | fail: | |
15194 | return NULL; | |
15195 | } | |
15196 | ||
15197 | ||
5eb8189c | 15198 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15199 | PyObject *resultobj = 0; |
5eb8189c | 15200 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15201 | size_t arg2 ; |
15202 | wxString *arg3 = 0 ; | |
15203 | bool result; | |
15204 | void *argp1 = 0 ; | |
15205 | int res1 = 0 ; | |
15206 | size_t val2 ; | |
15207 | int ecode2 = 0 ; | |
15208 | bool temp3 = false ; | |
15209 | PyObject * obj0 = 0 ; | |
15210 | PyObject * obj1 = 0 ; | |
15211 | PyObject * obj2 = 0 ; | |
15212 | char * kwnames[] = { | |
15213 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15214 | }; | |
15215 | ||
5eb8189c RD |
15216 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15217 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15218 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15220 | } |
5eb8189c | 15221 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15222 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15223 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15224 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15225 | } |
15226 | arg2 = static_cast< size_t >(val2); | |
15227 | { | |
15228 | arg3 = wxString_in_helper(obj2); | |
15229 | if (arg3 == NULL) SWIG_fail; | |
15230 | temp3 = true; | |
15231 | } | |
15232 | { | |
15233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15234 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
15235 | wxPyEndAllowThreads(__tstate); | |
15236 | if (PyErr_Occurred()) SWIG_fail; | |
15237 | } | |
15238 | { | |
15239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15240 | } | |
15241 | { | |
15242 | if (temp3) | |
15243 | delete arg3; | |
15244 | } | |
15245 | return resultobj; | |
15246 | fail: | |
15247 | { | |
15248 | if (temp3) | |
15249 | delete arg3; | |
15250 | } | |
15251 | return NULL; | |
15252 | } | |
15253 | ||
15254 | ||
5172800e RD |
15255 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15256 | PyObject *resultobj = 0; | |
15257 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15258 | size_t arg2 ; | |
15259 | wxBitmap *arg3 = 0 ; | |
15260 | bool result; | |
15261 | void *argp1 = 0 ; | |
15262 | int res1 = 0 ; | |
15263 | size_t val2 ; | |
15264 | int ecode2 = 0 ; | |
15265 | void *argp3 = 0 ; | |
15266 | int res3 = 0 ; | |
15267 | PyObject * obj0 = 0 ; | |
15268 | PyObject * obj1 = 0 ; | |
15269 | PyObject * obj2 = 0 ; | |
15270 | char * kwnames[] = { | |
15271 | (char *) "self",(char *) "page",(char *) "bitmap", NULL | |
15272 | }; | |
15273 | ||
15274 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
15275 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15276 | if (!SWIG_IsOK(res1)) { | |
15277 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15278 | } | |
15279 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15280 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15281 | if (!SWIG_IsOK(ecode2)) { | |
15282 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15283 | } | |
15284 | arg2 = static_cast< size_t >(val2); | |
15285 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15286 | if (!SWIG_IsOK(res3)) { | |
15287 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15288 | } | |
15289 | if (!argp3) { | |
15290 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15291 | } | |
15292 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
15293 | { | |
15294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15295 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); | |
15296 | wxPyEndAllowThreads(__tstate); | |
15297 | if (PyErr_Occurred()) SWIG_fail; | |
15298 | } | |
15299 | { | |
15300 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15301 | } | |
15302 | return resultobj; | |
15303 | fail: | |
15304 | return NULL; | |
15305 | } | |
15306 | ||
15307 | ||
5eb8189c | 15308 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15309 | PyObject *resultobj = 0; |
5eb8189c | 15310 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15311 | size_t arg2 ; |
15312 | size_t result; | |
15313 | void *argp1 = 0 ; | |
15314 | int res1 = 0 ; | |
15315 | size_t val2 ; | |
15316 | int ecode2 = 0 ; | |
15317 | PyObject * obj0 = 0 ; | |
15318 | PyObject * obj1 = 0 ; | |
15319 | char * kwnames[] = { | |
15320 | (char *) "self",(char *) "new_page", NULL | |
15321 | }; | |
15322 | ||
5eb8189c RD |
15323 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15324 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15325 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15327 | } |
5eb8189c | 15328 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15329 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15330 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15331 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15332 | } |
15333 | arg2 = static_cast< size_t >(val2); | |
15334 | { | |
15335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15336 | result = (size_t)(arg1)->SetSelection(arg2); | |
15337 | wxPyEndAllowThreads(__tstate); | |
15338 | if (PyErr_Occurred()) SWIG_fail; | |
15339 | } | |
15340 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
15341 | return resultobj; | |
15342 | fail: | |
15343 | return NULL; | |
15344 | } | |
15345 | ||
15346 | ||
5eb8189c | 15347 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15348 | PyObject *resultobj = 0; |
5eb8189c | 15349 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15350 | int result; |
15351 | void *argp1 = 0 ; | |
15352 | int res1 = 0 ; | |
15353 | PyObject *swig_obj[1] ; | |
15354 | ||
15355 | if (!args) SWIG_fail; | |
15356 | swig_obj[0] = args; | |
5eb8189c | 15357 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15358 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15360 | } |
5eb8189c | 15361 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15362 | { |
15363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15364 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
10044bf1 RD |
15365 | wxPyEndAllowThreads(__tstate); |
15366 | if (PyErr_Occurred()) SWIG_fail; | |
15367 | } | |
15368 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
15369 | return resultobj; | |
15370 | fail: | |
15371 | return NULL; | |
15372 | } | |
15373 | ||
15374 | ||
5eb8189c | 15375 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15376 | PyObject *resultobj = 0; |
5eb8189c | 15377 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15378 | size_t result; |
15379 | void *argp1 = 0 ; | |
15380 | int res1 = 0 ; | |
15381 | PyObject *swig_obj[1] ; | |
15382 | ||
15383 | if (!args) SWIG_fail; | |
15384 | swig_obj[0] = args; | |
5eb8189c | 15385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15386 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15388 | } |
5eb8189c | 15389 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15390 | { |
15391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15392 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15393 | wxPyEndAllowThreads(__tstate); |
15394 | if (PyErr_Occurred()) SWIG_fail; | |
15395 | } | |
15396 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
15397 | return resultobj; | |
15398 | fail: | |
15399 | return NULL; | |
15400 | } | |
15401 | ||
15402 | ||
5eb8189c | 15403 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15404 | PyObject *resultobj = 0; |
5eb8189c | 15405 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15406 | size_t arg2 ; |
15407 | wxWindow *result = 0 ; | |
15408 | void *argp1 = 0 ; | |
15409 | int res1 = 0 ; | |
15410 | size_t val2 ; | |
15411 | int ecode2 = 0 ; | |
15412 | PyObject * obj0 = 0 ; | |
15413 | PyObject * obj1 = 0 ; | |
15414 | char * kwnames[] = { | |
15415 | (char *) "self",(char *) "page_idx", NULL | |
15416 | }; | |
15417 | ||
5eb8189c RD |
15418 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
15419 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15420 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15421 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15422 | } |
5eb8189c | 15423 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15424 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15425 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15426 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15427 | } |
15428 | arg2 = static_cast< size_t >(val2); | |
15429 | { | |
15430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15431 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
10044bf1 RD |
15432 | wxPyEndAllowThreads(__tstate); |
15433 | if (PyErr_Occurred()) SWIG_fail; | |
15434 | } | |
15435 | { | |
15436 | resultobj = wxPyMake_wxObject(result, 0); | |
15437 | } | |
15438 | return resultobj; | |
15439 | fail: | |
15440 | return NULL; | |
15441 | } | |
15442 | ||
15443 | ||
5172800e RD |
15444 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15445 | PyObject *resultobj = 0; | |
15446 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15447 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15448 | int result; | |
15449 | void *argp1 = 0 ; | |
15450 | int res1 = 0 ; | |
15451 | void *argp2 = 0 ; | |
15452 | int res2 = 0 ; | |
15453 | PyObject * obj0 = 0 ; | |
15454 | PyObject * obj1 = 0 ; | |
15455 | char * kwnames[] = { | |
15456 | (char *) "self",(char *) "page_wnd", NULL | |
15457 | }; | |
15458 | ||
15459 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; | |
15460 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15461 | if (!SWIG_IsOK(res1)) { | |
15462 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15463 | } | |
15464 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15465 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15466 | if (!SWIG_IsOK(res2)) { | |
15467 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15468 | } | |
15469 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15470 | { | |
15471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15472 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); | |
15473 | wxPyEndAllowThreads(__tstate); | |
15474 | if (PyErr_Occurred()) SWIG_fail; | |
15475 | } | |
15476 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
15477 | return resultobj; | |
15478 | fail: | |
15479 | return NULL; | |
15480 | } | |
15481 | ||
15482 | ||
5eb8189c | 15483 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15484 | PyObject *resultobj = 0; |
5eb8189c RD |
15485 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
15486 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
5c8c7dd3 RD |
15487 | void *argp1 = 0 ; |
15488 | int res1 = 0 ; | |
15489 | void *argp2 = 0 ; | |
15490 | int res2 = 0 ; | |
15491 | PyObject * obj0 = 0 ; | |
15492 | PyObject * obj1 = 0 ; | |
15493 | char * kwnames[] = { | |
15494 | (char *) "self",(char *) "art", NULL | |
15495 | }; | |
15496 | ||
5eb8189c RD |
15497 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
15498 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15499 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15501 | } |
5eb8189c RD |
15502 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
15503 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 15504 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 15505 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 15506 | } |
5eb8189c | 15507 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
15508 | { |
15509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15510 | (arg1)->SetArtProvider(arg2); | |
15511 | wxPyEndAllowThreads(__tstate); | |
15512 | if (PyErr_Occurred()) SWIG_fail; | |
15513 | } | |
15514 | resultobj = SWIG_Py_Void(); | |
15515 | return resultobj; | |
15516 | fail: | |
15517 | return NULL; | |
15518 | } | |
15519 | ||
15520 | ||
5eb8189c | 15521 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 15522 | PyObject *resultobj = 0; |
5eb8189c RD |
15523 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
15524 | wxAuiTabArt *result = 0 ; | |
5c8c7dd3 RD |
15525 | void *argp1 = 0 ; |
15526 | int res1 = 0 ; | |
15527 | PyObject *swig_obj[1] ; | |
15528 | ||
15529 | if (!args) SWIG_fail; | |
15530 | swig_obj[0] = args; | |
5eb8189c | 15531 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15532 | if (!SWIG_IsOK(res1)) { |
5172800e | 15533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15534 | } |
5eb8189c | 15535 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
5c8c7dd3 RD |
15536 | { |
15537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 15538 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); |
5c8c7dd3 RD |
15539 | wxPyEndAllowThreads(__tstate); |
15540 | if (PyErr_Occurred()) SWIG_fail; | |
15541 | } | |
5eb8189c | 15542 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 RD |
15543 | return resultobj; |
15544 | fail: | |
15545 | return NULL; | |
15546 | } | |
15547 | ||
15548 | ||
8287c33f RD |
15549 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15550 | PyObject *resultobj = 0; | |
15551 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15552 | wxSize *arg2 = 0 ; | |
15553 | void *argp1 = 0 ; | |
15554 | int res1 = 0 ; | |
15555 | wxSize temp2 ; | |
15556 | PyObject * obj0 = 0 ; | |
15557 | PyObject * obj1 = 0 ; | |
15558 | char * kwnames[] = { | |
15559 | (char *) "self",(char *) "size", NULL | |
15560 | }; | |
15561 | ||
15562 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
15563 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15564 | if (!SWIG_IsOK(res1)) { | |
15565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15566 | } | |
15567 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15568 | { | |
15569 | arg2 = &temp2; | |
15570 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15571 | } | |
15572 | { | |
15573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15574 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15575 | wxPyEndAllowThreads(__tstate); | |
15576 | if (PyErr_Occurred()) SWIG_fail; | |
15577 | } | |
15578 | resultobj = SWIG_Py_Void(); | |
15579 | return resultobj; | |
15580 | fail: | |
15581 | return NULL; | |
15582 | } | |
15583 | ||
15584 | ||
15585 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15586 | PyObject *resultobj = 0; | |
15587 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15588 | int arg2 ; | |
15589 | void *argp1 = 0 ; | |
15590 | int res1 = 0 ; | |
15591 | int val2 ; | |
15592 | int ecode2 = 0 ; | |
15593 | PyObject * obj0 = 0 ; | |
15594 | PyObject * obj1 = 0 ; | |
15595 | char * kwnames[] = { | |
15596 | (char *) "self",(char *) "height", NULL | |
15597 | }; | |
15598 | ||
15599 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15600 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15601 | if (!SWIG_IsOK(res1)) { | |
15602 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15603 | } | |
15604 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15605 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15606 | if (!SWIG_IsOK(ecode2)) { | |
15607 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15608 | } | |
15609 | arg2 = static_cast< int >(val2); | |
15610 | { | |
15611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15612 | (arg1)->SetTabCtrlHeight(arg2); | |
15613 | wxPyEndAllowThreads(__tstate); | |
15614 | if (PyErr_Occurred()) SWIG_fail; | |
15615 | } | |
15616 | resultobj = SWIG_Py_Void(); | |
15617 | return resultobj; | |
15618 | fail: | |
15619 | return NULL; | |
15620 | } | |
15621 | ||
15622 | ||
5eb8189c | 15623 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15624 | PyObject *obj; |
15625 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15626 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
15627 | return SWIG_Py_Void(); |
15628 | } | |
15629 | ||
5eb8189c | 15630 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15631 | return SWIG_Python_InitShadowInstance(args); |
15632 | } | |
15633 | ||
5eb8189c | 15634 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
15635 | PyObject *obj; |
15636 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15637 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
15638 | return SWIG_Py_Void(); |
15639 | } | |
15640 | ||
5eb8189c | 15641 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
15642 | PyObject *obj; |
15643 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15644 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
15645 | return SWIG_Py_Void(); |
15646 | } | |
15647 | ||
10044bf1 | 15648 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
15649 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
15650 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
15651 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15652 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
15653 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
15654 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
15655 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
15656 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
15657 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
15658 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
15659 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
15660 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
15661 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
15662 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
15663 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
15664 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
15665 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
15666 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
15667 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
15668 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
15669 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
15670 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
15671 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
15672 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
15673 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
15674 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
15675 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15676 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15677 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15678 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
15679 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
15680 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
15681 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
15682 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
15683 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
15684 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15685 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15686 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15687 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15688 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15689 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15690 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15691 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15692 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15693 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
15694 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15695 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
15696 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
15697 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
15698 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15699 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15700 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
15701 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
15702 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15703 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15704 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15705 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15706 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15707 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15708 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15709 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15710 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15711 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15712 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15713 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15714 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15715 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15716 | { (char *)"AuiPaneInfo_SaveHidden", (PyCFunction)_wrap_AuiPaneInfo_SaveHidden, METH_O, NULL}, | |
15717 | { (char *)"AuiPaneInfo_RestoreHidden", (PyCFunction)_wrap_AuiPaneInfo_RestoreHidden, METH_O, NULL}, | |
15718 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15719 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
15720 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
15721 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
15722 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
15723 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15724 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15725 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
15726 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
15727 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
15728 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
15729 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
15730 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
15731 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
15732 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
15733 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
15734 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
15735 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15736 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
15737 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15738 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
15739 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
15740 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
15741 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
15742 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
15743 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
15744 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
15745 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
15746 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
15747 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
15748 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
15749 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
15750 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
15751 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
15752 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
15753 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
15754 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
15755 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
15756 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
15757 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
15758 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
15759 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
15760 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
15761 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15762 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
15763 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
15764 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15765 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
15766 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15767 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
15768 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15769 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
15770 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15771 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15772 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
15773 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
15774 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
15775 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
15776 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15777 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15778 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15779 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15780 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15781 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
15782 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15783 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15784 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
15785 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15786 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
15787 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 15788 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
15789 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
15790 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15791 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
15792 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15793 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15794 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
15795 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
15796 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15797 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
15798 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15799 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15800 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15801 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
15802 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
15803 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
15804 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15805 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
15806 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15807 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
15808 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
15809 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
15810 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
15811 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
15812 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
15813 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
15814 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
15815 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
15816 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
15817 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
15818 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
15819 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
15820 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
15821 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
15822 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
15823 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
15824 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
15825 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
15826 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
15827 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
15828 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15829 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
15830 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15831 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
15832 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
15833 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
15834 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
15835 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
15836 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
15837 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
15838 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
15839 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
15840 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
15841 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
15842 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
15843 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
15844 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
15845 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
15846 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
15847 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
15848 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
15849 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
15850 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
15851 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
15852 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
15853 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
15854 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
15855 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
15856 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
15857 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
15858 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
15859 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
15860 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
15861 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
15862 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
15863 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
15864 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
15865 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
15866 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
15867 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
15868 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
15869 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
15870 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15871 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15872 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15873 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15874 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15875 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15876 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15877 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15878 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15879 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15880 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15881 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15882 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15883 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15884 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
15885 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
15886 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
15887 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
15888 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15889 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
15890 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15891 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
15892 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
15893 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
15894 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 | 15895 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, |
d95b9f2b | 15896 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 15897 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, |
d95b9f2b RD |
15898 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
15899 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
10044bf1 RD |
15900 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, |
15901 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
15902 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
15903 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
d95b9f2b RD |
15904 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, |
15905 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
10044bf1 RD |
15906 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, |
15907 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
15908 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
15909 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
15910 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
15911 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
15912 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
15913 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
15914 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
15915 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
15916 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
15917 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
15918 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
15919 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
15920 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
15921 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
15922 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
15923 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
15924 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
10044bf1 RD |
15925 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
15926 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
15927 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
15928 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
10044bf1 RD |
15929 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
15930 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
15931 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
5172800e RD |
15932 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, |
15933 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
15934 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15935 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15936 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15937 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15938 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15939 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15940 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15941 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15942 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
15943 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15944 | { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15945 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15946 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
15947 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
15948 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
15949 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
15950 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
15951 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
15952 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
15953 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
15954 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
15955 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, |
15956 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
15957 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
15958 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
15959 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
15960 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
10044bf1 RD |
15961 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15962 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15963 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
15964 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
15965 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
15966 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
15967 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
15968 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15969 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15970 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15971 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15972 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
15973 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15974 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
15975 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15976 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15977 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15978 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
15979 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 15980 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 15981 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
15982 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
15983 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 RD |
15984 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
15985 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
15986 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 15987 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
10044bf1 RD |
15988 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
15989 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
15990 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
15991 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15992 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
15993 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15994 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15995 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15996 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15997 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15998 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 15999 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16000 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
16001 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
16002 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
16003 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 16004 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16005 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16006 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
8287c33f RD |
16007 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
16008 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16009 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, |
16010 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
16011 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16012 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
16013 | { NULL, NULL, 0, NULL } |
16014 | }; | |
16015 | ||
16016 | ||
16017 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
16018 | ||
5eb8189c RD |
16019 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
16020 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16021 | } |
16022 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
16023 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
16024 | } | |
16025 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
16026 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16027 | } | |
16028 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
16029 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16030 | } | |
16031 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
16032 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16033 | } | |
16034 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
16035 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
16036 | } | |
16037 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
16038 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16039 | } | |
16040 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
16041 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
16042 | } | |
5eb8189c RD |
16043 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
16044 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
16045 | } | |
5172800e RD |
16046 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
16047 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
16048 | } | |
5eb8189c RD |
16049 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
16050 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
16051 | } | |
10044bf1 RD |
16052 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
16053 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16054 | } | |
16055 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
16056 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16057 | } | |
27e45892 RD |
16058 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
16059 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
16060 | } | |
16061 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
16062 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
16063 | } | |
16064 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
16065 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
16066 | } | |
16067 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
16068 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
16069 | } | |
16070 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
16071 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
16072 | } | |
16073 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
16074 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
16075 | } | |
16076 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
16077 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
16078 | } | |
16079 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
16080 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
16081 | } | |
16082 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
16083 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
16084 | } | |
5eb8189c RD |
16085 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
16086 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16087 | } |
16088 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
16089 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
16090 | } | |
16091 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16092 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
16093 | } | |
16094 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16095 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16096 | } | |
16097 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16098 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
16099 | } | |
16100 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16101 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16102 | } | |
16103 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16104 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16105 | } | |
16106 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
16107 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
16108 | } | |
16109 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
16110 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
16111 | } | |
16112 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
16113 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
16114 | } | |
16115 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16116 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
16117 | } | |
16118 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16119 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16120 | } | |
16121 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
16122 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16123 | } | |
16124 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
16125 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16126 | } | |
16127 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
16128 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
16129 | } | |
16130 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
16131 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
16132 | } | |
16133 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
16134 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16135 | } | |
16136 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
16137 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16138 | } | |
16139 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
16140 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16141 | } | |
16142 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
16143 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16144 | } | |
16145 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
16146 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16147 | } | |
16148 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
16149 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16150 | } | |
16151 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
16152 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16153 | } | |
16154 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
16155 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16156 | } | |
16157 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
16158 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16159 | } | |
16160 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
16161 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
16162 | } | |
16163 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
16164 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
16165 | } | |
16166 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
16167 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16168 | } | |
16169 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
16170 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16171 | } | |
16172 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
16173 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16174 | } | |
16175 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
16176 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
16177 | } | |
16178 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
16179 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16180 | } | |
16181 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
16182 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
16183 | } | |
16184 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
16185 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
16186 | } | |
16187 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
16188 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
16189 | } | |
16190 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
16191 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
16192 | } | |
16193 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
16194 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
16195 | } | |
16196 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
16197 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
16198 | } | |
16199 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
16200 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16201 | } | |
16202 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
16203 | return (void *)((wxWindow *) ((wxControl *) x)); | |
16204 | } | |
16205 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
16206 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16207 | } | |
16208 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
16209 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16210 | } | |
16211 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
16212 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16213 | } | |
16214 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
16215 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
16216 | } | |
16217 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
16218 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
16219 | } | |
16220 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
16221 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16222 | } | |
f9bf356b RD |
16223 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
16224 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
16225 | } | |
27e45892 RD |
16226 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
16227 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16228 | } | |
16229 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
16230 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16231 | } | |
5eb8189c RD |
16232 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
16233 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16234 | } |
27e45892 RD |
16235 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
16236 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
16237 | } | |
16238 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
16239 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16240 | } | |
10044bf1 RD |
16241 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
16242 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
16243 | } | |
27e45892 RD |
16244 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
16245 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
16246 | } | |
16247 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
16248 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16249 | } | |
16250 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
16251 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16252 | } | |
16253 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
16254 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16255 | } | |
16256 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
16257 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
16258 | } | |
5eb8189c RD |
16259 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
16260 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16261 | } | |
27e45892 RD |
16262 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
16263 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16264 | } | |
10044bf1 RD |
16265 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
16266 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
16267 | } | |
16268 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
16269 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
16270 | } | |
16271 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
16272 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
16273 | } | |
16274 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
16275 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
16276 | } | |
16277 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
16278 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
16279 | } | |
16280 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
16281 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
16282 | } | |
16283 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
16284 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
16285 | } | |
16286 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
16287 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
16288 | } | |
16289 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
16290 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
16291 | } | |
16292 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
16293 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
16294 | } | |
16295 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
16296 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
16297 | } | |
16298 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
16299 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
16300 | } | |
16301 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
16302 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
16303 | } | |
16304 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
16305 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
16306 | } | |
16307 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
16308 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
16309 | } | |
16310 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
16311 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
16312 | } | |
16313 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
16314 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
16315 | } | |
16316 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
16317 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
16318 | } | |
16319 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
16320 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
16321 | } | |
16322 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
16323 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
16324 | } | |
16325 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
16326 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
16327 | } | |
16328 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
16329 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
16330 | } | |
16331 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
16332 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
16333 | } | |
16334 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
16335 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
16336 | } | |
16337 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
16338 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
16339 | } | |
16340 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
16341 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
16342 | } | |
16343 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
16344 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
16345 | } | |
16346 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
16347 | return (void *)((wxWindow **) ((wxControl **) x)); | |
16348 | } | |
16349 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
16350 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
16351 | } | |
16352 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
16353 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
16354 | } | |
16355 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
16356 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
16357 | } | |
16358 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
16359 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
16360 | } | |
16361 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
16362 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
16363 | } | |
16364 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
16365 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
16366 | } | |
f9bf356b RD |
16367 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { |
16368 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
16369 | } | |
10044bf1 RD |
16370 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
16371 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
16372 | } | |
16373 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
16374 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
16375 | } | |
5eb8189c RD |
16376 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
16377 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
10044bf1 RD |
16378 | } |
16379 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16380 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
16381 | } | |
16382 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16383 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
16384 | } | |
16385 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
16386 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
16387 | } | |
16388 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
16389 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
16390 | } | |
16391 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
16392 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
16393 | } | |
16394 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
16395 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
16396 | } | |
16397 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
16398 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
16399 | } | |
16400 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
16401 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
16402 | } | |
5eb8189c RD |
16403 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
16404 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
16405 | } | |
10044bf1 RD |
16406 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
16407 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
16408 | } | |
16409 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
16410 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
16411 | } | |
16412 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
16413 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
16414 | } | |
5eb8189c RD |
16415 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
16416 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16417 | } |
27e45892 RD |
16418 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
16419 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16420 | } | |
16421 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
16422 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
16423 | } | |
16424 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
16425 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
16426 | } | |
16427 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
16428 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
16429 | } | |
16430 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
16431 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
16432 | } | |
16433 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
16434 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
16435 | } | |
16436 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
16437 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16438 | } | |
5eb8189c RD |
16439 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
16440 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16441 | } |
16442 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
16443 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
16444 | } | |
16445 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
16446 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
16447 | } | |
16448 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
16449 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16450 | } | |
16451 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
16452 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16453 | } | |
0f83f5da RD |
16454 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
16455 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16456 | } | |
27e45892 RD |
16457 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
16458 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
16459 | } | |
16460 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
16461 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16462 | } | |
10044bf1 RD |
16463 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
16464 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16465 | } | |
27e45892 RD |
16466 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
16467 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
16468 | } | |
16469 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
16470 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16471 | } | |
16472 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
16473 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16474 | } | |
16475 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
16476 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
16477 | } | |
16478 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
16479 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
16480 | } | |
16481 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
16482 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
16483 | } | |
16484 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
16485 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
16486 | } | |
16487 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
16488 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
16489 | } | |
16490 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
16491 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
16492 | } | |
27e45892 RD |
16493 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
16494 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
16495 | } | |
16496 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
16497 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
16498 | } | |
0f83f5da RD |
16499 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
16500 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16501 | } | |
27e45892 RD |
16502 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
16503 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16504 | } | |
16505 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
16506 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16507 | } | |
16508 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
16509 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16510 | } | |
16511 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
16512 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16513 | } | |
16514 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
16515 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16516 | } | |
16517 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
16518 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
16519 | } | |
16520 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
16521 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
16522 | } | |
16523 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
16524 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16525 | } | |
16526 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
16527 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
16528 | } | |
16529 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
16530 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16531 | } | |
16532 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
16533 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
16534 | } | |
16535 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
16536 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
16537 | } | |
16538 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
16539 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16540 | } | |
16541 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
16542 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16543 | } | |
16544 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
16545 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16546 | } | |
16547 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
16548 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
16549 | } | |
16550 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
16551 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
16552 | } | |
16553 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
16554 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16555 | } | |
16556 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
16557 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
16558 | } | |
16559 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
16560 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16561 | } | |
16562 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
16563 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16564 | } | |
16565 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
16566 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16567 | } | |
27e45892 RD |
16568 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
16569 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
16570 | } | |
0f83f5da RD |
16571 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
16572 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
16573 | } | |
27e45892 RD |
16574 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
16575 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
16576 | } | |
16577 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
16578 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
16579 | } | |
16580 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
16581 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16582 | } | |
16583 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
16584 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
16585 | } | |
16586 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
16587 | return (void *)((wxObject *) ((wxSizer *) x)); | |
16588 | } | |
16589 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
16590 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16591 | } | |
16592 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
16593 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16594 | } | |
16595 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
16596 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16597 | } | |
16598 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
16599 | return (void *)((wxObject *) ((wxEvent *) x)); | |
16600 | } | |
16601 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
16602 | return (void *)((wxObject *) ((wxFontData *) x)); | |
16603 | } | |
16604 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
16605 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
16606 | } | |
16607 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
16608 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16609 | } | |
16610 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
16611 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
16612 | } | |
16613 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
16614 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
16615 | } | |
16616 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
16617 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
16618 | } | |
16619 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
16620 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
16621 | } | |
16622 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
16623 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16624 | } | |
10044bf1 RD |
16625 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
16626 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
16627 | } | |
27e45892 RD |
16628 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
16629 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16630 | } | |
16631 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
16632 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
16633 | } | |
16634 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
16635 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
16636 | } | |
16637 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
16638 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16639 | } | |
16640 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
16641 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16642 | } | |
16643 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
16644 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16645 | } | |
16646 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
16647 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16648 | } | |
16649 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
16650 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16651 | } | |
16652 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
16653 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
16654 | } | |
16655 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
16656 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
16657 | } | |
16658 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
16659 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16660 | } | |
5eb8189c RD |
16661 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
16662 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16663 | } |
16664 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
16665 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
16666 | } | |
16667 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
16668 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
16669 | } | |
5eb8189c RD |
16670 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
16671 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16672 | } | |
27e45892 RD |
16673 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
16674 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
16675 | } | |
16676 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
16677 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16678 | } | |
5eb8189c RD |
16679 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
16680 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16681 | } |
27e45892 RD |
16682 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
16683 | return (void *)((wxObject *) ((wxColourData *) x)); | |
16684 | } | |
16685 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
16686 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
16687 | } | |
16688 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
16689 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16690 | } | |
16691 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
16692 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
16693 | } | |
16694 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
16695 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16696 | } | |
16697 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
16698 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16699 | } | |
16700 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
16701 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16702 | } | |
16703 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
16704 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16705 | } | |
16706 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
16707 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16708 | } | |
16709 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
16710 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16711 | } | |
16712 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
16713 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16714 | } | |
16715 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
16716 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16717 | } | |
16718 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
16719 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16720 | } | |
16721 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
16722 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16723 | } | |
16724 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
16725 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
16726 | } | |
16727 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
16728 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
16729 | } | |
16730 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
16731 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
16732 | } | |
16733 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
16734 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
16735 | } | |
16736 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
16737 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
16738 | } | |
16739 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
16740 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16741 | } | |
16742 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
16743 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16744 | } | |
16745 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
16746 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
16747 | } | |
16748 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
16749 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
16750 | } | |
16751 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
16752 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
16753 | } | |
16754 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
16755 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
16756 | } | |
16757 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
16758 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
16759 | } | |
16760 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
16761 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
16762 | } | |
16763 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
16764 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
16765 | } | |
16766 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
16767 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
16768 | } | |
16769 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
16770 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
16771 | } | |
16772 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
16773 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
16774 | } | |
16775 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
16776 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
16777 | } | |
16778 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
16779 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
16780 | } | |
16781 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
16782 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
16783 | } | |
16784 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
16785 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
16786 | } | |
16787 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
16788 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
16789 | } | |
16790 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
16791 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
16792 | } | |
16793 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
16794 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
16795 | } | |
16796 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
16797 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
16798 | } | |
580080c5 RD |
16799 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
16800 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
16801 | } | |
27e45892 RD |
16802 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
16803 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
16804 | } | |
0f83f5da RD |
16805 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
16806 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16807 | } | |
27e45892 RD |
16808 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
16809 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16810 | } | |
16811 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
16812 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16813 | } | |
16814 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
16815 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16816 | } | |
f9bf356b RD |
16817 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
16818 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
16819 | } | |
27e45892 RD |
16820 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
16821 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
16822 | } | |
580080c5 RD |
16823 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
16824 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16825 | } | |
27e45892 RD |
16826 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
16827 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16828 | } | |
16829 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
16830 | return (void *)((wxObject *) ((wxImage *) x)); | |
16831 | } | |
16832 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
16833 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
16834 | } | |
16835 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
16836 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
16837 | } | |
16838 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
16839 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
16840 | } | |
16841 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
16842 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16843 | } | |
27e45892 RD |
16844 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
16845 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
16846 | } | |
5eb8189c RD |
16847 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
16848 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
16849 | } |
16850 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
16851 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16852 | } | |
10044bf1 RD |
16853 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
16854 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16855 | } | |
27e45892 RD |
16856 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
16857 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16858 | } | |
16859 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
16860 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16861 | } | |
16862 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
16863 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
16864 | } | |
16865 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
16866 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
16867 | } | |
16868 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
16869 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
16870 | } | |
16871 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
16872 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
16873 | } | |
16874 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
16875 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
16876 | } | |
16877 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
16878 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
16879 | } | |
16880 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
16881 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
16882 | } | |
16883 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
16884 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
16885 | } | |
16886 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
16887 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
16888 | } | |
16889 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
16890 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16891 | } | |
16892 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
16893 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
16894 | } | |
16895 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
16896 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16897 | } | |
16898 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
16899 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16900 | } | |
16901 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
16902 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16903 | } | |
16904 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
16905 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
16906 | } | |
16907 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
16908 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16909 | } | |
16910 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
16911 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
16912 | } | |
16913 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
16914 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
16915 | } | |
16916 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
16917 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
16918 | } | |
16919 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
16920 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
16921 | } | |
16922 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
16923 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
16924 | } | |
16925 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
16926 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16927 | } | |
16928 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
16929 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16930 | } | |
16931 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
16932 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16933 | } | |
16934 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
16935 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
16936 | } | |
16937 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
16938 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
16939 | } | |
16940 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
16941 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
16942 | } | |
16943 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
16944 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16945 | } | |
16946 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
16947 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
16948 | } | |
16949 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
16950 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
16951 | } | |
16952 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
16953 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
16954 | } | |
16955 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
16956 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
16957 | } | |
16958 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
16959 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
16960 | } | |
16961 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
16962 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16963 | } | |
16964 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
16965 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
16966 | } | |
16967 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
16968 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
16969 | } | |
16970 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
16971 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16972 | } | |
16973 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
16974 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
16975 | } | |
16976 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
16977 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
16978 | } | |
16979 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
16980 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16981 | } | |
16982 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
16983 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
16984 | } | |
16985 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
16986 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
16987 | } | |
16988 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
16989 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
16990 | } | |
16991 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
16992 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
16993 | } | |
16994 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
16995 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
16996 | } | |
16997 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
16998 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16999 | } | |
17000 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
17001 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17002 | } | |
17003 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
17004 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
17005 | } | |
17006 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17007 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17008 | } | |
17009 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17010 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17011 | } | |
17012 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17013 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17014 | } | |
17015 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17016 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17017 | } | |
27e45892 RD |
17018 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
17019 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17020 | } | |
17021 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17022 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17023 | } | |
17024 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17025 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17026 | } | |
17027 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
17028 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17029 | } | |
f9bf356b RD |
17030 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
17031 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17032 | } | |
27e45892 RD |
17033 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
17034 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
17035 | } | |
17036 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
17037 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17038 | } | |
17039 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
17040 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17041 | } | |
17042 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
17043 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17044 | } | |
17045 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
17046 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
17047 | } | |
17048 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
17049 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
17050 | } | |
17051 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17052 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17053 | } | |
17054 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
17055 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
17056 | } | |
17057 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
17058 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17059 | } | |
17060 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
17061 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
17062 | } | |
17063 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
17064 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17065 | } | |
17066 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
17067 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
17068 | } | |
17069 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
17070 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
17071 | } | |
17072 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
17073 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
17074 | } | |
17075 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17076 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17077 | } | |
17078 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17079 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17080 | } | |
17081 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
17082 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
17083 | } | |
17084 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
17085 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
17086 | } | |
17087 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17088 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17089 | } | |
17090 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17091 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17092 | } | |
17093 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17094 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
17095 | } | |
17096 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17097 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17098 | } | |
17099 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
17100 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
17101 | } | |
17102 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17103 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17104 | } | |
17105 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17106 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17107 | } | |
17108 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
17109 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
17110 | } | |
17111 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
17112 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
17113 | } | |
f9bf356b RD |
17114 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17115 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17116 | } | |
27e45892 RD |
17117 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17118 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17119 | } | |
17120 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
17121 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17122 | } | |
5eb8189c RD |
17123 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
17124 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 17125 | } |
27e45892 RD |
17126 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
17127 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17128 | } | |
17129 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
17130 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17131 | } | |
17132 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
17133 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
17134 | } | |
10044bf1 RD |
17135 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
17136 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
17137 | } | |
27e45892 RD |
17138 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
17139 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17140 | } | |
17141 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
17142 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17143 | } | |
17144 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
17145 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17146 | } | |
17147 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
17148 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17149 | } | |
17150 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
17151 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17152 | } | |
5eb8189c RD |
17153 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
17154 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17155 | } | |
27e45892 RD |
17156 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
17157 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17158 | } | |
5eb8189c RD |
17159 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
17160 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 17161 | } |
10044bf1 RD |
17162 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
17163 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
17164 | } | |
27e45892 RD |
17165 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
17166 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
17167 | } | |
17168 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
17169 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
17170 | } | |
17171 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
17172 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
17173 | } | |
17174 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
17175 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
17176 | } | |
17177 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
17178 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17179 | } | |
27e45892 RD |
17180 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
17181 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
17182 | } | |
17183 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
17184 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
17185 | } | |
17186 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
17187 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
17188 | } | |
5eb8189c RD |
17189 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
17190 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17191 | } | |
10044bf1 RD |
17192 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
17193 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
17194 | } | |
17195 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17196 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17197 | } | |
17198 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
17199 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17200 | } | |
17201 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
17202 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17203 | } | |
17204 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17205 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17206 | } | |
17207 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17208 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17209 | } | |
17210 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17211 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17212 | } | |
17213 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17214 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17215 | } | |
17216 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
17217 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17218 | } | |
17219 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
17220 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
17221 | } | |
17222 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17223 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17224 | } | |
17225 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17226 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17227 | } | |
17228 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
17229 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17230 | } | |
17231 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17232 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17233 | } | |
5eb8189c RD |
17234 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
17235 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 17236 | } |
5eb8189c RD |
17237 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
17238 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 17239 | } |
5eb8189c RD |
17240 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
17241 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
5c8c7dd3 | 17242 | } |
5eb8189c RD |
17243 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
17244 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 17245 | } |
27e45892 RD |
17246 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
17247 | 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 | 17248 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17249 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
17250 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
17251 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17252 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
17253 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17254 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17255 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
17256 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17257 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
17258 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
17259 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
17260 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
17261 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
17262 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
17263 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
17264 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
17265 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17266 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17267 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17268 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17269 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17270 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17271 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17272 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
17273 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17274 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17275 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17276 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17277 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17278 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
17279 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17280 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
17281 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
17282 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
17283 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
17284 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17285 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17286 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17287 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 17288 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17289 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
17290 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17291 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
17292 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
17293 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17294 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17295 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17296 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 17297 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 17298 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
17299 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
17300 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
17301 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
26c4d26f | 17302 | static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
17303 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
17304 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
17305 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
17306 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
17307 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
17308 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
17309 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
17310 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
17311 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
17312 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
17313 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
17314 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17315 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
17316 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
17317 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
17318 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 17319 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 17320 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17321 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
17322 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
17323 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
17324 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17325 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
17326 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
17327 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
17328 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
17329 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
17330 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
17331 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
17332 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
17333 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
17334 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
17335 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
17336 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
17337 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
17338 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
17339 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
17340 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
17341 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 17342 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17343 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
17344 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17345 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
17346 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
17347 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
17348 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
17349 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 17350 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 17351 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 17352 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
17353 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
17354 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17355 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
17356 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
17357 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
17358 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
17359 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
17360 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17361 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
17362 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17363 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
17364 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
17365 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
17366 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
17367 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
17368 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17369 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
17370 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17371 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
17372 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
17373 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
17374 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
17375 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
17376 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17377 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17378 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17379 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
17380 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
17381 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17382 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 17383 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17384 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
17385 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17386 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17387 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
17388 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17389 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17390 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; |
17391 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17392 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17393 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17394 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17395 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17396 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17397 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17398 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17399 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17400 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17401 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17402 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17403 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17404 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17405 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
17406 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17407 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
17408 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17409 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
17410 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17411 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
17412 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
17413 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17414 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
17415 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17416 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17417 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17418 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
17419 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
17420 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17421 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
17422 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 17423 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 17424 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17425 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
17426 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
17427 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
17428 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
17429 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
17430 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
17431 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
17432 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
17433 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
17434 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
17435 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
17436 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
17437 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
17438 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
17439 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
17440 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
17441 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
17442 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17443 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
17444 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
17445 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
17446 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
17447 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 17448 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17449 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
17450 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17451 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
17452 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
17453 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
17454 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
17455 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 17456 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
17457 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
17458 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
17459 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
17460 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
17461 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
17462 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
17463 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
17464 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
17465 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
17466 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
17467 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17468 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
17469 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17470 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
17471 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17472 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
17473 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
17474 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
17475 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
17476 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
17477 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
17478 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
17479 | ||
17480 | static swig_type_info *swig_type_initial[] = { | |
17481 | &_swigt__p_char, | |
17482 | &_swigt__p_form_ops_t, | |
17483 | &_swigt__p_int, | |
5eb8189c RD |
17484 | &_swigt__p_p_wxAuiFloatingFrame, |
17485 | &_swigt__p_p_wxAuiNotebook, | |
10044bf1 RD |
17486 | &_swigt__p_p_wxAuiTabContainerButton, |
17487 | &_swigt__p_p_wxAuiTabCtrl, | |
17488 | &_swigt__p_p_wxColourDialog, | |
17489 | &_swigt__p_p_wxControl, | |
17490 | &_swigt__p_p_wxControlWithItems, | |
17491 | &_swigt__p_p_wxDialog, | |
17492 | &_swigt__p_p_wxDirDialog, | |
17493 | &_swigt__p_p_wxFileDialog, | |
17494 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
17495 | &_swigt__p_p_wxFontDialog, |
17496 | &_swigt__p_p_wxFrame, | |
17497 | &_swigt__p_p_wxMDIChildFrame, | |
17498 | &_swigt__p_p_wxMDIClientWindow, | |
17499 | &_swigt__p_p_wxMDIParentFrame, | |
17500 | &_swigt__p_p_wxMenuBar, | |
17501 | &_swigt__p_p_wxMessageDialog, | |
17502 | &_swigt__p_p_wxMiniFrame, | |
17503 | &_swigt__p_p_wxMultiChoiceDialog, | |
17504 | &_swigt__p_p_wxNumberEntryDialog, | |
17505 | &_swigt__p_p_wxPanel, | |
17506 | &_swigt__p_p_wxPasswordEntryDialog, | |
17507 | &_swigt__p_p_wxPopupWindow, | |
17508 | &_swigt__p_p_wxPreviewCanvas, | |
17509 | &_swigt__p_p_wxPreviewControlBar, | |
17510 | &_swigt__p_p_wxPreviewFrame, | |
17511 | &_swigt__p_p_wxProgressDialog, | |
17512 | &_swigt__p_p_wxPyHtmlListBox, | |
17513 | &_swigt__p_p_wxPyPanel, | |
17514 | &_swigt__p_p_wxPyPopupTransientWindow, | |
17515 | &_swigt__p_p_wxPyPreviewControlBar, | |
17516 | &_swigt__p_p_wxPyPreviewFrame, | |
17517 | &_swigt__p_p_wxPyScrolledWindow, | |
17518 | &_swigt__p_p_wxPyVListBox, | |
17519 | &_swigt__p_p_wxPyVScrolledWindow, | |
17520 | &_swigt__p_p_wxPyWindow, | |
17521 | &_swigt__p_p_wxSashLayoutWindow, | |
17522 | &_swigt__p_p_wxSashWindow, | |
17523 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 17524 | &_swigt__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
17525 | &_swigt__p_p_wxSingleChoiceDialog, |
17526 | &_swigt__p_p_wxSplashScreen, | |
17527 | &_swigt__p_p_wxSplashScreenWindow, | |
17528 | &_swigt__p_p_wxSplitterWindow, | |
17529 | &_swigt__p_p_wxStatusBar, | |
17530 | &_swigt__p_p_wxTextEntryDialog, | |
17531 | &_swigt__p_p_wxTipWindow, | |
17532 | &_swigt__p_p_wxTopLevelWindow, | |
17533 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
17534 | &_swigt__p_unsigned_char, |
17535 | &_swigt__p_unsigned_int, | |
17536 | &_swigt__p_unsigned_long, | |
17537 | &_swigt__p_wxANIHandler, | |
17538 | &_swigt__p_wxAcceleratorTable, | |
17539 | &_swigt__p_wxActivateEvent, | |
26c4d26f | 17540 | &_swigt__p_wxArrayString, |
5eb8189c RD |
17541 | &_swigt__p_wxAuiDefaultDockArt, |
17542 | &_swigt__p_wxAuiDefaultTabArt, | |
17543 | &_swigt__p_wxAuiDockArt, | |
17544 | &_swigt__p_wxAuiDockInfo, | |
17545 | &_swigt__p_wxAuiDockUIPart, | |
17546 | &_swigt__p_wxAuiFloatingFrame, | |
17547 | &_swigt__p_wxAuiManager, | |
17548 | &_swigt__p_wxAuiManagerEvent, | |
17549 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
17550 | &_swigt__p_wxAuiNotebookEvent, |
17551 | &_swigt__p_wxAuiNotebookPage, | |
17552 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17553 | &_swigt__p_wxAuiPaneButton, |
17554 | &_swigt__p_wxAuiPaneButtonArray, | |
17555 | &_swigt__p_wxAuiPaneInfo, | |
17556 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 17557 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 17558 | &_swigt__p_wxAuiTabArt, |
10044bf1 RD |
17559 | &_swigt__p_wxAuiTabContainer, |
17560 | &_swigt__p_wxAuiTabContainerButton, | |
17561 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 17562 | &_swigt__p_wxBMPHandler, |
10044bf1 | 17563 | &_swigt__p_wxBitmap, |
27e45892 RD |
17564 | &_swigt__p_wxBoxSizer, |
17565 | &_swigt__p_wxCURHandler, | |
17566 | &_swigt__p_wxCalculateLayoutEvent, | |
17567 | &_swigt__p_wxChildFocusEvent, | |
17568 | &_swigt__p_wxClipboardTextEvent, | |
17569 | &_swigt__p_wxCloseEvent, | |
17570 | &_swigt__p_wxColor, | |
17571 | &_swigt__p_wxColour, | |
17572 | &_swigt__p_wxColourData, | |
17573 | &_swigt__p_wxColourDialog, | |
17574 | &_swigt__p_wxCommandEvent, | |
17575 | &_swigt__p_wxContextMenuEvent, | |
17576 | &_swigt__p_wxControl, | |
17577 | &_swigt__p_wxControlWithItems, | |
17578 | &_swigt__p_wxDC, | |
17579 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
17580 | &_swigt__p_wxDialog, |
17581 | &_swigt__p_wxDirDialog, | |
17582 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
17583 | &_swigt__p_wxDropFilesEvent, |
17584 | &_swigt__p_wxDuplexMode, | |
17585 | &_swigt__p_wxEraseEvent, | |
17586 | &_swigt__p_wxEvent, | |
17587 | &_swigt__p_wxEvtHandler, | |
17588 | &_swigt__p_wxFSFile, | |
17589 | &_swigt__p_wxFileDialog, | |
17590 | &_swigt__p_wxFileSystem, | |
17591 | &_swigt__p_wxFindDialogEvent, | |
17592 | &_swigt__p_wxFindReplaceData, | |
17593 | &_swigt__p_wxFindReplaceDialog, | |
17594 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
17595 | &_swigt__p_wxFocusEvent, |
17596 | &_swigt__p_wxFont, | |
17597 | &_swigt__p_wxFontData, | |
17598 | &_swigt__p_wxFontDialog, | |
17599 | &_swigt__p_wxFrame, | |
27e45892 RD |
17600 | &_swigt__p_wxGBSizerItem, |
17601 | &_swigt__p_wxGIFHandler, | |
17602 | &_swigt__p_wxGridBagSizer, | |
17603 | &_swigt__p_wxGridSizer, | |
17604 | &_swigt__p_wxICOHandler, | |
17605 | &_swigt__p_wxIconizeEvent, | |
17606 | &_swigt__p_wxIdleEvent, | |
17607 | &_swigt__p_wxImage, | |
17608 | &_swigt__p_wxImageHandler, | |
17609 | &_swigt__p_wxIndividualLayoutConstraint, | |
17610 | &_swigt__p_wxInitDialogEvent, | |
17611 | &_swigt__p_wxJPEGHandler, | |
17612 | &_swigt__p_wxKeyEvent, | |
17613 | &_swigt__p_wxLayoutAlgorithm, | |
17614 | &_swigt__p_wxLayoutConstraints, | |
17615 | &_swigt__p_wxMDIChildFrame, | |
17616 | &_swigt__p_wxMDIClientWindow, | |
17617 | &_swigt__p_wxMDIParentFrame, | |
17618 | &_swigt__p_wxMaximizeEvent, | |
17619 | &_swigt__p_wxMenu, | |
17620 | &_swigt__p_wxMenuBar, | |
17621 | &_swigt__p_wxMenuEvent, | |
17622 | &_swigt__p_wxMenuItem, | |
17623 | &_swigt__p_wxMessageDialog, | |
17624 | &_swigt__p_wxMiniFrame, | |
17625 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 17626 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
17627 | &_swigt__p_wxMouseEvent, |
17628 | &_swigt__p_wxMoveEvent, | |
17629 | &_swigt__p_wxMultiChoiceDialog, | |
17630 | &_swigt__p_wxNavigationKeyEvent, | |
17631 | &_swigt__p_wxNcPaintEvent, | |
17632 | &_swigt__p_wxNotifyEvent, | |
17633 | &_swigt__p_wxNumberEntryDialog, | |
17634 | &_swigt__p_wxObject, | |
17635 | &_swigt__p_wxPCXHandler, | |
17636 | &_swigt__p_wxPNGHandler, | |
17637 | &_swigt__p_wxPNMHandler, | |
17638 | &_swigt__p_wxPageSetupDialog, | |
17639 | &_swigt__p_wxPageSetupDialogData, | |
17640 | &_swigt__p_wxPaintEvent, | |
17641 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
17642 | &_swigt__p_wxPanel, |
17643 | &_swigt__p_wxPaperSize, | |
17644 | &_swigt__p_wxPasswordEntryDialog, | |
17645 | &_swigt__p_wxPoint, | |
17646 | &_swigt__p_wxPopupWindow, | |
17647 | &_swigt__p_wxPreviewCanvas, | |
17648 | &_swigt__p_wxPreviewControlBar, | |
17649 | &_swigt__p_wxPreviewFrame, | |
17650 | &_swigt__p_wxPrintData, | |
17651 | &_swigt__p_wxPrintDialog, | |
17652 | &_swigt__p_wxPrintDialogData, | |
17653 | &_swigt__p_wxPrintPreview, | |
17654 | &_swigt__p_wxPrinter, | |
17655 | &_swigt__p_wxProgressDialog, | |
17656 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
17657 | &_swigt__p_wxPyAuiDockArt, |
17658 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 17659 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
17660 | &_swigt__p_wxPyEvent, |
17661 | &_swigt__p_wxPyHtmlListBox, | |
17662 | &_swigt__p_wxPyImageHandler, | |
17663 | &_swigt__p_wxPyPanel, | |
17664 | &_swigt__p_wxPyPopupTransientWindow, | |
17665 | &_swigt__p_wxPyPreviewControlBar, | |
17666 | &_swigt__p_wxPyPreviewFrame, | |
17667 | &_swigt__p_wxPyPrintPreview, | |
17668 | &_swigt__p_wxPyPrintout, | |
17669 | &_swigt__p_wxPyScrolledWindow, | |
17670 | &_swigt__p_wxPySizer, | |
17671 | &_swigt__p_wxPyTaskBarIcon, | |
17672 | &_swigt__p_wxPyVListBox, | |
17673 | &_swigt__p_wxPyVScrolledWindow, | |
17674 | &_swigt__p_wxPyValidator, | |
17675 | &_swigt__p_wxPyWindow, | |
17676 | &_swigt__p_wxQueryLayoutInfoEvent, | |
17677 | &_swigt__p_wxQueryNewPaletteEvent, | |
17678 | &_swigt__p_wxRect, | |
17679 | &_swigt__p_wxSashEvent, | |
17680 | &_swigt__p_wxSashLayoutWindow, | |
17681 | &_swigt__p_wxSashWindow, | |
17682 | &_swigt__p_wxScrollEvent, | |
17683 | &_swigt__p_wxScrollWinEvent, | |
17684 | &_swigt__p_wxScrolledWindow, | |
17685 | &_swigt__p_wxSetCursorEvent, | |
17686 | &_swigt__p_wxShowEvent, | |
f9bf356b | 17687 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
17688 | &_swigt__p_wxSingleChoiceDialog, |
17689 | &_swigt__p_wxSize, | |
17690 | &_swigt__p_wxSizeEvent, | |
17691 | &_swigt__p_wxSizer, | |
17692 | &_swigt__p_wxSizerItem, | |
17693 | &_swigt__p_wxSplashScreen, | |
17694 | &_swigt__p_wxSplashScreenWindow, | |
17695 | &_swigt__p_wxSplitterEvent, | |
17696 | &_swigt__p_wxSplitterWindow, | |
17697 | &_swigt__p_wxStaticBoxSizer, | |
17698 | &_swigt__p_wxStatusBar, | |
17699 | &_swigt__p_wxStdDialogButtonSizer, | |
17700 | &_swigt__p_wxString, | |
17701 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 17702 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
17703 | &_swigt__p_wxTIFFHandler, |
17704 | &_swigt__p_wxTaskBarIconEvent, | |
17705 | &_swigt__p_wxTextEntryDialog, | |
17706 | &_swigt__p_wxTipWindow, | |
17707 | &_swigt__p_wxTopLevelWindow, | |
17708 | &_swigt__p_wxUpdateUIEvent, | |
17709 | &_swigt__p_wxValidator, | |
17710 | &_swigt__p_wxWindow, | |
17711 | &_swigt__p_wxWindowCreateEvent, | |
17712 | &_swigt__p_wxWindowDestroyEvent, | |
17713 | &_swigt__p_wxXPMHandler, | |
17714 | }; | |
17715 | ||
17716 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
17717 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
17718 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17719 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
17720 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
17721 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17722 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17723 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17724 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17725 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17726 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17727 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17728 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17729 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17730 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17731 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17732 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17733 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17734 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17735 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17736 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17737 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17738 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17739 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17740 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17741 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17742 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17743 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17744 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17745 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17746 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17747 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17748 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17749 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
17750 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17751 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
17752 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17753 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 17754 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17755 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
17756 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17757 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17758 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
17759 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17760 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17761 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17762 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17763 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17764 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17765 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17766 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 17767 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 17768 | 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 |
17769 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
17770 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
17771 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
26c4d26f | 17772 | static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17773 | 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}}; |
17774 | 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}}; | |
17775 | 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}}; | |
17776 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17777 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
17778 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17779 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
17780 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17781 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17782 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17783 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
17784 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17785 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
17786 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
17787 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
17788 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
17789 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
17790 | 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 |
17791 | 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}}; |
17792 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
17793 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
17794 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17795 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
17796 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
17797 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17798 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17799 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17800 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17801 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17802 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17803 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17804 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17805 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17806 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17807 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17808 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17809 | 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}}; | |
17810 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17811 | 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 | 17812 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17813 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17814 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17815 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17816 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17817 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17818 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 17819 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17820 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 17821 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17822 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17823 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17824 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17825 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17826 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17827 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17828 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17829 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17830 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17831 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17832 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17833 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17834 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17835 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17836 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17837 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17838 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17839 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17840 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
17841 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17842 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
17843 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17844 | 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 |
17845 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
17846 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
17847 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17848 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17849 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
17850 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 17851 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 17852 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17853 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
17854 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17855 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17856 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
17857 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 17858 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17859 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; |
17860 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17861 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17862 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17863 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17864 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17865 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17866 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17867 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17868 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17869 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17870 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17871 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
17872 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
17873 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17874 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
17875 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17876 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
17877 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 17878 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17879 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
17880 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
17881 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17882 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
17883 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
17884 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17885 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17886 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17887 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17888 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
17889 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 17890 | 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 | 17891 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
17892 | 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}}; |
17893 | 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 | 17894 | 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 |
17895 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
17896 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
17897 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
17898 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17899 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17900 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17901 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
17902 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
17903 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17904 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17905 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
17906 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
17907 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
17908 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
17909 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
17910 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
17911 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17912 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17913 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17914 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17915 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17916 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17917 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
17918 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17919 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17920 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
17921 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17922 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17923 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
17924 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 17925 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17926 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
17927 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
17928 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
17929 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
17930 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17931 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
17932 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17933 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
17934 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
17935 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
17936 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 17937 | 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 |
17938 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
17939 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
17940 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
17941 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
17942 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
17943 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
17944 | 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}}; | |
17945 | 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}}; | |
17946 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 17947 | 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 | 17948 | 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 |
17949 | |
17950 | static swig_cast_info *swig_cast_initial[] = { | |
17951 | _swigc__p_char, | |
17952 | _swigc__p_form_ops_t, | |
17953 | _swigc__p_int, | |
5eb8189c RD |
17954 | _swigc__p_p_wxAuiFloatingFrame, |
17955 | _swigc__p_p_wxAuiNotebook, | |
10044bf1 RD |
17956 | _swigc__p_p_wxAuiTabContainerButton, |
17957 | _swigc__p_p_wxAuiTabCtrl, | |
17958 | _swigc__p_p_wxColourDialog, | |
17959 | _swigc__p_p_wxControl, | |
17960 | _swigc__p_p_wxControlWithItems, | |
17961 | _swigc__p_p_wxDialog, | |
17962 | _swigc__p_p_wxDirDialog, | |
17963 | _swigc__p_p_wxFileDialog, | |
17964 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
17965 | _swigc__p_p_wxFontDialog, |
17966 | _swigc__p_p_wxFrame, | |
17967 | _swigc__p_p_wxMDIChildFrame, | |
17968 | _swigc__p_p_wxMDIClientWindow, | |
17969 | _swigc__p_p_wxMDIParentFrame, | |
17970 | _swigc__p_p_wxMenuBar, | |
17971 | _swigc__p_p_wxMessageDialog, | |
17972 | _swigc__p_p_wxMiniFrame, | |
17973 | _swigc__p_p_wxMultiChoiceDialog, | |
17974 | _swigc__p_p_wxNumberEntryDialog, | |
17975 | _swigc__p_p_wxPanel, | |
17976 | _swigc__p_p_wxPasswordEntryDialog, | |
17977 | _swigc__p_p_wxPopupWindow, | |
17978 | _swigc__p_p_wxPreviewCanvas, | |
17979 | _swigc__p_p_wxPreviewControlBar, | |
17980 | _swigc__p_p_wxPreviewFrame, | |
17981 | _swigc__p_p_wxProgressDialog, | |
17982 | _swigc__p_p_wxPyHtmlListBox, | |
17983 | _swigc__p_p_wxPyPanel, | |
17984 | _swigc__p_p_wxPyPopupTransientWindow, | |
17985 | _swigc__p_p_wxPyPreviewControlBar, | |
17986 | _swigc__p_p_wxPyPreviewFrame, | |
17987 | _swigc__p_p_wxPyScrolledWindow, | |
17988 | _swigc__p_p_wxPyVListBox, | |
17989 | _swigc__p_p_wxPyVScrolledWindow, | |
17990 | _swigc__p_p_wxPyWindow, | |
17991 | _swigc__p_p_wxSashLayoutWindow, | |
17992 | _swigc__p_p_wxSashWindow, | |
17993 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 17994 | _swigc__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
17995 | _swigc__p_p_wxSingleChoiceDialog, |
17996 | _swigc__p_p_wxSplashScreen, | |
17997 | _swigc__p_p_wxSplashScreenWindow, | |
17998 | _swigc__p_p_wxSplitterWindow, | |
17999 | _swigc__p_p_wxStatusBar, | |
18000 | _swigc__p_p_wxTextEntryDialog, | |
18001 | _swigc__p_p_wxTipWindow, | |
18002 | _swigc__p_p_wxTopLevelWindow, | |
18003 | _swigc__p_p_wxWindow, | |
27e45892 RD |
18004 | _swigc__p_unsigned_char, |
18005 | _swigc__p_unsigned_int, | |
18006 | _swigc__p_unsigned_long, | |
18007 | _swigc__p_wxANIHandler, | |
18008 | _swigc__p_wxAcceleratorTable, | |
18009 | _swigc__p_wxActivateEvent, | |
26c4d26f | 18010 | _swigc__p_wxArrayString, |
5eb8189c RD |
18011 | _swigc__p_wxAuiDefaultDockArt, |
18012 | _swigc__p_wxAuiDefaultTabArt, | |
18013 | _swigc__p_wxAuiDockArt, | |
18014 | _swigc__p_wxAuiDockInfo, | |
18015 | _swigc__p_wxAuiDockUIPart, | |
18016 | _swigc__p_wxAuiFloatingFrame, | |
18017 | _swigc__p_wxAuiManager, | |
18018 | _swigc__p_wxAuiManagerEvent, | |
18019 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
18020 | _swigc__p_wxAuiNotebookEvent, |
18021 | _swigc__p_wxAuiNotebookPage, | |
18022 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
18023 | _swigc__p_wxAuiPaneButton, |
18024 | _swigc__p_wxAuiPaneButtonArray, | |
18025 | _swigc__p_wxAuiPaneInfo, | |
18026 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 18027 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 18028 | _swigc__p_wxAuiTabArt, |
10044bf1 RD |
18029 | _swigc__p_wxAuiTabContainer, |
18030 | _swigc__p_wxAuiTabContainerButton, | |
18031 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 18032 | _swigc__p_wxBMPHandler, |
10044bf1 | 18033 | _swigc__p_wxBitmap, |
27e45892 RD |
18034 | _swigc__p_wxBoxSizer, |
18035 | _swigc__p_wxCURHandler, | |
18036 | _swigc__p_wxCalculateLayoutEvent, | |
18037 | _swigc__p_wxChildFocusEvent, | |
18038 | _swigc__p_wxClipboardTextEvent, | |
18039 | _swigc__p_wxCloseEvent, | |
18040 | _swigc__p_wxColor, | |
18041 | _swigc__p_wxColour, | |
18042 | _swigc__p_wxColourData, | |
18043 | _swigc__p_wxColourDialog, | |
18044 | _swigc__p_wxCommandEvent, | |
18045 | _swigc__p_wxContextMenuEvent, | |
18046 | _swigc__p_wxControl, | |
18047 | _swigc__p_wxControlWithItems, | |
18048 | _swigc__p_wxDC, | |
18049 | _swigc__p_wxDateEvent, | |
27e45892 RD |
18050 | _swigc__p_wxDialog, |
18051 | _swigc__p_wxDirDialog, | |
18052 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
18053 | _swigc__p_wxDropFilesEvent, |
18054 | _swigc__p_wxDuplexMode, | |
18055 | _swigc__p_wxEraseEvent, | |
18056 | _swigc__p_wxEvent, | |
18057 | _swigc__p_wxEvtHandler, | |
18058 | _swigc__p_wxFSFile, | |
18059 | _swigc__p_wxFileDialog, | |
18060 | _swigc__p_wxFileSystem, | |
18061 | _swigc__p_wxFindDialogEvent, | |
18062 | _swigc__p_wxFindReplaceData, | |
18063 | _swigc__p_wxFindReplaceDialog, | |
18064 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
18065 | _swigc__p_wxFocusEvent, |
18066 | _swigc__p_wxFont, | |
18067 | _swigc__p_wxFontData, | |
18068 | _swigc__p_wxFontDialog, | |
18069 | _swigc__p_wxFrame, | |
27e45892 RD |
18070 | _swigc__p_wxGBSizerItem, |
18071 | _swigc__p_wxGIFHandler, | |
18072 | _swigc__p_wxGridBagSizer, | |
18073 | _swigc__p_wxGridSizer, | |
18074 | _swigc__p_wxICOHandler, | |
18075 | _swigc__p_wxIconizeEvent, | |
18076 | _swigc__p_wxIdleEvent, | |
18077 | _swigc__p_wxImage, | |
18078 | _swigc__p_wxImageHandler, | |
18079 | _swigc__p_wxIndividualLayoutConstraint, | |
18080 | _swigc__p_wxInitDialogEvent, | |
18081 | _swigc__p_wxJPEGHandler, | |
18082 | _swigc__p_wxKeyEvent, | |
18083 | _swigc__p_wxLayoutAlgorithm, | |
18084 | _swigc__p_wxLayoutConstraints, | |
18085 | _swigc__p_wxMDIChildFrame, | |
18086 | _swigc__p_wxMDIClientWindow, | |
18087 | _swigc__p_wxMDIParentFrame, | |
18088 | _swigc__p_wxMaximizeEvent, | |
18089 | _swigc__p_wxMenu, | |
18090 | _swigc__p_wxMenuBar, | |
18091 | _swigc__p_wxMenuEvent, | |
18092 | _swigc__p_wxMenuItem, | |
18093 | _swigc__p_wxMessageDialog, | |
18094 | _swigc__p_wxMiniFrame, | |
18095 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 18096 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
18097 | _swigc__p_wxMouseEvent, |
18098 | _swigc__p_wxMoveEvent, | |
18099 | _swigc__p_wxMultiChoiceDialog, | |
18100 | _swigc__p_wxNavigationKeyEvent, | |
18101 | _swigc__p_wxNcPaintEvent, | |
18102 | _swigc__p_wxNotifyEvent, | |
18103 | _swigc__p_wxNumberEntryDialog, | |
18104 | _swigc__p_wxObject, | |
18105 | _swigc__p_wxPCXHandler, | |
18106 | _swigc__p_wxPNGHandler, | |
18107 | _swigc__p_wxPNMHandler, | |
18108 | _swigc__p_wxPageSetupDialog, | |
18109 | _swigc__p_wxPageSetupDialogData, | |
18110 | _swigc__p_wxPaintEvent, | |
18111 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
18112 | _swigc__p_wxPanel, |
18113 | _swigc__p_wxPaperSize, | |
18114 | _swigc__p_wxPasswordEntryDialog, | |
18115 | _swigc__p_wxPoint, | |
18116 | _swigc__p_wxPopupWindow, | |
18117 | _swigc__p_wxPreviewCanvas, | |
18118 | _swigc__p_wxPreviewControlBar, | |
18119 | _swigc__p_wxPreviewFrame, | |
18120 | _swigc__p_wxPrintData, | |
18121 | _swigc__p_wxPrintDialog, | |
18122 | _swigc__p_wxPrintDialogData, | |
18123 | _swigc__p_wxPrintPreview, | |
18124 | _swigc__p_wxPrinter, | |
18125 | _swigc__p_wxProgressDialog, | |
18126 | _swigc__p_wxPyApp, | |
5eb8189c RD |
18127 | _swigc__p_wxPyAuiDockArt, |
18128 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 18129 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
18130 | _swigc__p_wxPyEvent, |
18131 | _swigc__p_wxPyHtmlListBox, | |
18132 | _swigc__p_wxPyImageHandler, | |
18133 | _swigc__p_wxPyPanel, | |
18134 | _swigc__p_wxPyPopupTransientWindow, | |
18135 | _swigc__p_wxPyPreviewControlBar, | |
18136 | _swigc__p_wxPyPreviewFrame, | |
18137 | _swigc__p_wxPyPrintPreview, | |
18138 | _swigc__p_wxPyPrintout, | |
18139 | _swigc__p_wxPyScrolledWindow, | |
18140 | _swigc__p_wxPySizer, | |
18141 | _swigc__p_wxPyTaskBarIcon, | |
18142 | _swigc__p_wxPyVListBox, | |
18143 | _swigc__p_wxPyVScrolledWindow, | |
18144 | _swigc__p_wxPyValidator, | |
18145 | _swigc__p_wxPyWindow, | |
18146 | _swigc__p_wxQueryLayoutInfoEvent, | |
18147 | _swigc__p_wxQueryNewPaletteEvent, | |
18148 | _swigc__p_wxRect, | |
18149 | _swigc__p_wxSashEvent, | |
18150 | _swigc__p_wxSashLayoutWindow, | |
18151 | _swigc__p_wxSashWindow, | |
18152 | _swigc__p_wxScrollEvent, | |
18153 | _swigc__p_wxScrollWinEvent, | |
18154 | _swigc__p_wxScrolledWindow, | |
18155 | _swigc__p_wxSetCursorEvent, | |
18156 | _swigc__p_wxShowEvent, | |
f9bf356b | 18157 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
18158 | _swigc__p_wxSingleChoiceDialog, |
18159 | _swigc__p_wxSize, | |
18160 | _swigc__p_wxSizeEvent, | |
18161 | _swigc__p_wxSizer, | |
18162 | _swigc__p_wxSizerItem, | |
18163 | _swigc__p_wxSplashScreen, | |
18164 | _swigc__p_wxSplashScreenWindow, | |
18165 | _swigc__p_wxSplitterEvent, | |
18166 | _swigc__p_wxSplitterWindow, | |
18167 | _swigc__p_wxStaticBoxSizer, | |
18168 | _swigc__p_wxStatusBar, | |
18169 | _swigc__p_wxStdDialogButtonSizer, | |
18170 | _swigc__p_wxString, | |
18171 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 18172 | _swigc__p_wxTGAHandler, |
27e45892 RD |
18173 | _swigc__p_wxTIFFHandler, |
18174 | _swigc__p_wxTaskBarIconEvent, | |
18175 | _swigc__p_wxTextEntryDialog, | |
18176 | _swigc__p_wxTipWindow, | |
18177 | _swigc__p_wxTopLevelWindow, | |
18178 | _swigc__p_wxUpdateUIEvent, | |
18179 | _swigc__p_wxValidator, | |
18180 | _swigc__p_wxWindow, | |
18181 | _swigc__p_wxWindowCreateEvent, | |
18182 | _swigc__p_wxWindowDestroyEvent, | |
18183 | _swigc__p_wxXPMHandler, | |
18184 | }; | |
18185 | ||
18186 | ||
18187 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18188 | ||
18189 | static swig_const_info swig_const_table[] = { | |
18190 | {0, 0, 0, 0.0, 0, 0}}; | |
18191 | ||
18192 | #ifdef __cplusplus | |
18193 | } | |
18194 | #endif | |
18195 | /* ----------------------------------------------------------------------------- | |
18196 | * Type initialization: | |
18197 | * This problem is tough by the requirement that no dynamic | |
18198 | * memory is used. Also, since swig_type_info structures store pointers to | |
18199 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
18200 | * to swig_type_info structures, we need some lookup code at initialization. | |
18201 | * The idea is that swig generates all the structures that are needed. | |
18202 | * The runtime then collects these partially filled structures. | |
18203 | * The SWIG_InitializeModule function takes these initial arrays out of | |
18204 | * swig_module, and does all the lookup, filling in the swig_module.types | |
18205 | * array with the correct data and linking the correct swig_cast_info | |
18206 | * structures together. | |
18207 | * | |
18208 | * The generated swig_type_info structures are assigned staticly to an initial | |
18209 | * array. We just loop though that array, and handle each type individually. | |
18210 | * First we lookup if this type has been already loaded, and if so, use the | |
18211 | * loaded structure instead of the generated one. Then we have to fill in the | |
18212 | * cast linked list. The cast data is initially stored in something like a | |
18213 | * two-dimensional array. Each row corresponds to a type (there are the same | |
18214 | * number of rows as there are in the swig_type_initial array). Each entry in | |
18215 | * a column is one of the swig_cast_info structures for that type. | |
18216 | * The cast_initial array is actually an array of arrays, because each row has | |
18217 | * a variable number of columns. So to actually build the cast linked list, | |
18218 | * we find the array of casts associated with the type, and loop through it | |
18219 | * adding the casts to the list. The one last trick we need to do is making | |
18220 | * sure the type pointer in the swig_cast_info struct is correct. | |
18221 | * | |
18222 | * First off, we lookup the cast->type name to see if it is already loaded. | |
18223 | * There are three cases to handle: | |
18224 | * 1) If the cast->type has already been loaded AND the type we are adding | |
18225 | * casting info to has not been loaded (it is in this module), THEN we | |
18226 | * replace the cast->type pointer with the type pointer that has already | |
18227 | * been loaded. | |
18228 | * 2) If BOTH types (the one we are adding casting info to, and the | |
18229 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
18230 | * the previous module so we just ignore it. | |
18231 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
18232 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
18233 | * be correct. | |
18234 | * ----------------------------------------------------------------------------- */ | |
18235 | ||
18236 | #ifdef __cplusplus | |
18237 | extern "C" { | |
18238 | #if 0 | |
18239 | } /* c-mode */ | |
18240 | #endif | |
18241 | #endif | |
18242 | ||
18243 | #if 0 | |
18244 | #define SWIGRUNTIME_DEBUG | |
18245 | #endif | |
18246 | ||
18247 | SWIGRUNTIME void | |
18248 | SWIG_InitializeModule(void *clientdata) { | |
18249 | size_t i; | |
18250 | swig_module_info *module_head; | |
18251 | static int init_run = 0; | |
18252 | ||
18253 | clientdata = clientdata; | |
18254 | ||
18255 | if (init_run) return; | |
18256 | init_run = 1; | |
18257 | ||
18258 | /* Initialize the swig_module */ | |
18259 | swig_module.type_initial = swig_type_initial; | |
18260 | swig_module.cast_initial = swig_cast_initial; | |
18261 | ||
18262 | /* Try and load any already created modules */ | |
18263 | module_head = SWIG_GetModule(clientdata); | |
18264 | if (module_head) { | |
18265 | swig_module.next = module_head->next; | |
18266 | module_head->next = &swig_module; | |
18267 | } else { | |
18268 | /* This is the first module loaded */ | |
18269 | swig_module.next = &swig_module; | |
18270 | SWIG_SetModule(clientdata, &swig_module); | |
18271 | } | |
18272 | ||
18273 | /* Now work on filling in swig_module.types */ | |
18274 | #ifdef SWIGRUNTIME_DEBUG | |
18275 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
18276 | #endif | |
18277 | for (i = 0; i < swig_module.size; ++i) { | |
18278 | swig_type_info *type = 0; | |
18279 | swig_type_info *ret; | |
18280 | swig_cast_info *cast; | |
18281 | ||
18282 | #ifdef SWIGRUNTIME_DEBUG | |
18283 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18284 | #endif | |
18285 | ||
18286 | /* if there is another module already loaded */ | |
18287 | if (swig_module.next != &swig_module) { | |
18288 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
18289 | } | |
18290 | if (type) { | |
18291 | /* Overwrite clientdata field */ | |
18292 | #ifdef SWIGRUNTIME_DEBUG | |
18293 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
18294 | #endif | |
18295 | if (swig_module.type_initial[i]->clientdata) { | |
18296 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
18297 | #ifdef SWIGRUNTIME_DEBUG | |
18298 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
18299 | #endif | |
18300 | } | |
18301 | } else { | |
18302 | type = swig_module.type_initial[i]; | |
18303 | } | |
18304 | ||
18305 | /* Insert casting types */ | |
18306 | cast = swig_module.cast_initial[i]; | |
18307 | while (cast->type) { | |
18308 | /* Don't need to add information already in the list */ | |
18309 | ret = 0; | |
18310 | #ifdef SWIGRUNTIME_DEBUG | |
18311 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
18312 | #endif | |
18313 | if (swig_module.next != &swig_module) { | |
18314 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
18315 | #ifdef SWIGRUNTIME_DEBUG | |
18316 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
18317 | #endif | |
18318 | } | |
18319 | if (ret) { | |
18320 | if (type == swig_module.type_initial[i]) { | |
18321 | #ifdef SWIGRUNTIME_DEBUG | |
18322 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
18323 | #endif | |
18324 | cast->type = ret; | |
18325 | ret = 0; | |
18326 | } else { | |
18327 | /* Check for casting already in the list */ | |
18328 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
18329 | #ifdef SWIGRUNTIME_DEBUG | |
18330 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
18331 | #endif | |
18332 | if (!ocast) ret = 0; | |
18333 | } | |
18334 | } | |
18335 | ||
18336 | if (!ret) { | |
18337 | #ifdef SWIGRUNTIME_DEBUG | |
18338 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
18339 | #endif | |
18340 | if (type->cast) { | |
18341 | type->cast->prev = cast; | |
18342 | cast->next = type->cast; | |
18343 | } | |
18344 | type->cast = cast; | |
18345 | } | |
18346 | cast++; | |
18347 | } | |
18348 | /* Set entry in modules->types array equal to the type */ | |
18349 | swig_module.types[i] = type; | |
18350 | } | |
18351 | swig_module.types[i] = 0; | |
18352 | ||
18353 | #ifdef SWIGRUNTIME_DEBUG | |
18354 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18355 | for (i = 0; i < swig_module.size; ++i) { | |
18356 | int j = 0; | |
18357 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
18358 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18359 | while (cast->type) { | |
18360 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
18361 | cast++; | |
18362 | ++j; | |
18363 | } | |
18364 | printf("---- Total casts: %d\n",j); | |
18365 | } | |
18366 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18367 | #endif | |
18368 | } | |
18369 | ||
18370 | /* This function will propagate the clientdata field of type to | |
18371 | * any new swig_type_info structures that have been added into the list | |
18372 | * of equivalent types. It is like calling | |
18373 | * SWIG_TypeClientData(type, clientdata) a second time. | |
18374 | */ | |
18375 | SWIGRUNTIME void | |
18376 | SWIG_PropagateClientData(void) { | |
18377 | size_t i; | |
18378 | swig_cast_info *equiv; | |
18379 | static int init_run = 0; | |
18380 | ||
18381 | if (init_run) return; | |
18382 | init_run = 1; | |
18383 | ||
18384 | for (i = 0; i < swig_module.size; i++) { | |
18385 | if (swig_module.types[i]->clientdata) { | |
18386 | equiv = swig_module.types[i]->cast; | |
18387 | while (equiv) { | |
18388 | if (!equiv->converter) { | |
18389 | if (equiv->type && !equiv->type->clientdata) | |
18390 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
18391 | } | |
18392 | equiv = equiv->next; | |
18393 | } | |
18394 | } | |
18395 | } | |
18396 | } | |
18397 | ||
18398 | #ifdef __cplusplus | |
18399 | #if 0 | |
18400 | { | |
18401 | /* c-mode */ | |
18402 | #endif | |
18403 | } | |
18404 | #endif | |
18405 | ||
18406 | ||
18407 | ||
18408 | #ifdef __cplusplus | |
18409 | extern "C" { | |
18410 | #endif | |
18411 | ||
18412 | /* Python-specific SWIG API */ | |
18413 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18414 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18415 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18416 | ||
18417 | /* ----------------------------------------------------------------------------- | |
18418 | * global variable support code. | |
18419 | * ----------------------------------------------------------------------------- */ | |
18420 | ||
18421 | typedef struct swig_globalvar { | |
18422 | char *name; /* Name of global variable */ | |
18423 | PyObject *(*get_attr)(void); /* Return the current value */ | |
18424 | int (*set_attr)(PyObject *); /* Set the value */ | |
18425 | struct swig_globalvar *next; | |
18426 | } swig_globalvar; | |
18427 | ||
18428 | typedef struct swig_varlinkobject { | |
18429 | PyObject_HEAD | |
18430 | swig_globalvar *vars; | |
18431 | } swig_varlinkobject; | |
18432 | ||
18433 | SWIGINTERN PyObject * | |
18434 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
18435 | return PyString_FromString("<Swig global variables>"); | |
18436 | } | |
18437 | ||
18438 | SWIGINTERN PyObject * | |
18439 | swig_varlink_str(swig_varlinkobject *v) { | |
18440 | PyObject *str = PyString_FromString("("); | |
18441 | swig_globalvar *var; | |
18442 | for (var = v->vars; var; var=var->next) { | |
18443 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
18444 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
18445 | } | |
18446 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
18447 | return str; | |
18448 | } | |
18449 | ||
18450 | SWIGINTERN int | |
18451 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
18452 | PyObject *str = swig_varlink_str(v); | |
18453 | fprintf(fp,"Swig global variables "); | |
18454 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
18455 | Py_DECREF(str); | |
18456 | return 0; | |
18457 | } | |
18458 | ||
18459 | SWIGINTERN void | |
18460 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
18461 | swig_globalvar *var = v->vars; | |
18462 | while (var) { | |
18463 | swig_globalvar *n = var->next; | |
18464 | free(var->name); | |
18465 | free(var); | |
18466 | var = n; | |
18467 | } | |
18468 | } | |
18469 | ||
18470 | SWIGINTERN PyObject * | |
18471 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18472 | PyObject *res = NULL; | |
18473 | swig_globalvar *var = v->vars; | |
18474 | while (var) { | |
18475 | if (strcmp(var->name,n) == 0) { | |
18476 | res = (*var->get_attr)(); | |
18477 | break; | |
18478 | } | |
18479 | var = var->next; | |
18480 | } | |
18481 | if (res == NULL && !PyErr_Occurred()) { | |
18482 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18483 | } | |
18484 | return res; | |
18485 | } | |
18486 | ||
18487 | SWIGINTERN int | |
18488 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18489 | int res = 1; | |
18490 | swig_globalvar *var = v->vars; | |
18491 | while (var) { | |
18492 | if (strcmp(var->name,n) == 0) { | |
18493 | res = (*var->set_attr)(p); | |
18494 | break; | |
18495 | } | |
18496 | var = var->next; | |
18497 | } | |
18498 | if (res == 1 && !PyErr_Occurred()) { | |
18499 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18500 | } | |
18501 | return res; | |
18502 | } | |
18503 | ||
18504 | SWIGINTERN PyTypeObject* | |
18505 | swig_varlink_type(void) { | |
18506 | static char varlink__doc__[] = "Swig var link object"; | |
18507 | static PyTypeObject varlink_type; | |
18508 | static int type_init = 0; | |
18509 | if (!type_init) { | |
18510 | const PyTypeObject tmp | |
18511 | = { | |
18512 | PyObject_HEAD_INIT(NULL) | |
18513 | 0, /* Number of items in variable part (ob_size) */ | |
18514 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18515 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18516 | 0, /* Itemsize (tp_itemsize) */ | |
18517 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
18518 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18519 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18520 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18521 | 0, /* tp_compare */ | |
18522 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18523 | 0, /* tp_as_number */ | |
18524 | 0, /* tp_as_sequence */ | |
18525 | 0, /* tp_as_mapping */ | |
18526 | 0, /* tp_hash */ | |
18527 | 0, /* tp_call */ | |
18528 | (reprfunc)swig_varlink_str, /* tp_str */ | |
18529 | 0, /* tp_getattro */ | |
18530 | 0, /* tp_setattro */ | |
18531 | 0, /* tp_as_buffer */ | |
18532 | 0, /* tp_flags */ | |
18533 | varlink__doc__, /* tp_doc */ | |
18534 | 0, /* tp_traverse */ | |
18535 | 0, /* tp_clear */ | |
18536 | 0, /* tp_richcompare */ | |
18537 | 0, /* tp_weaklistoffset */ | |
18538 | #if PY_VERSION_HEX >= 0x02020000 | |
18539 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18540 | #endif | |
18541 | #if PY_VERSION_HEX >= 0x02030000 | |
18542 | 0, /* tp_del */ | |
18543 | #endif | |
18544 | #ifdef COUNT_ALLOCS | |
18545 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18546 | #endif | |
18547 | }; | |
18548 | varlink_type = tmp; | |
18549 | varlink_type.ob_type = &PyType_Type; | |
18550 | type_init = 1; | |
18551 | } | |
18552 | return &varlink_type; | |
18553 | } | |
18554 | ||
18555 | /* Create a variable linking object for use later */ | |
18556 | SWIGINTERN PyObject * | |
18557 | SWIG_Python_newvarlink(void) { | |
18558 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
18559 | if (result) { | |
18560 | result->vars = 0; | |
18561 | } | |
18562 | return ((PyObject*) result); | |
18563 | } | |
18564 | ||
18565 | SWIGINTERN void | |
18566 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18567 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
18568 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18569 | if (gv) { | |
18570 | size_t size = strlen(name)+1; | |
18571 | gv->name = (char *)malloc(size); | |
18572 | if (gv->name) { | |
18573 | strncpy(gv->name,name,size); | |
18574 | gv->get_attr = get_attr; | |
18575 | gv->set_attr = set_attr; | |
18576 | gv->next = v->vars; | |
18577 | } | |
18578 | } | |
18579 | v->vars = gv; | |
18580 | } | |
18581 | ||
18582 | SWIGINTERN PyObject * | |
18583 | SWIG_globals() { | |
18584 | static PyObject *_SWIG_globals = 0; | |
18585 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
18586 | return _SWIG_globals; | |
18587 | } | |
18588 | ||
18589 | /* ----------------------------------------------------------------------------- | |
18590 | * constants/methods manipulation | |
18591 | * ----------------------------------------------------------------------------- */ | |
18592 | ||
18593 | /* Install Constants */ | |
18594 | SWIGINTERN void | |
18595 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18596 | PyObject *obj = 0; | |
18597 | size_t i; | |
18598 | for (i = 0; constants[i].type; ++i) { | |
18599 | switch(constants[i].type) { | |
18600 | case SWIG_PY_POINTER: | |
18601 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
18602 | break; | |
18603 | case SWIG_PY_BINARY: | |
18604 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
18605 | break; | |
18606 | default: | |
18607 | obj = 0; | |
18608 | break; | |
18609 | } | |
18610 | if (obj) { | |
18611 | PyDict_SetItemString(d, constants[i].name, obj); | |
18612 | Py_DECREF(obj); | |
18613 | } | |
18614 | } | |
18615 | } | |
18616 | ||
18617 | /* -----------------------------------------------------------------------------*/ | |
18618 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18619 | /* -----------------------------------------------------------------------------*/ | |
18620 | ||
18621 | SWIGINTERN void | |
18622 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
18623 | swig_const_info *const_table, | |
18624 | swig_type_info **types, | |
18625 | swig_type_info **types_initial) { | |
18626 | size_t i; | |
18627 | for (i = 0; methods[i].ml_name; ++i) { | |
18628 | const char *c = methods[i].ml_doc; | |
18629 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
18630 | int j; | |
18631 | swig_const_info *ci = 0; | |
18632 | const char *name = c + 10; | |
18633 | for (j = 0; const_table[j].type; ++j) { | |
18634 | if (strncmp(const_table[j].name, name, | |
18635 | strlen(const_table[j].name)) == 0) { | |
18636 | ci = &(const_table[j]); | |
18637 | break; | |
18638 | } | |
18639 | } | |
18640 | if (ci) { | |
18641 | size_t shift = (ci->ptype) - types; | |
18642 | swig_type_info *ty = types_initial[shift]; | |
18643 | size_t ldoc = (c - methods[i].ml_doc); | |
18644 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
18645 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
18646 | if (ndoc) { | |
18647 | char *buff = ndoc; | |
18648 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
18649 | if (ptr) { | |
18650 | strncpy(buff, methods[i].ml_doc, ldoc); | |
18651 | buff += ldoc; | |
18652 | strncpy(buff, "swig_ptr: ", 10); | |
18653 | buff += 10; | |
18654 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
18655 | methods[i].ml_doc = ndoc; | |
18656 | } | |
18657 | } | |
18658 | } | |
18659 | } | |
18660 | } | |
18661 | } | |
18662 | ||
18663 | #ifdef __cplusplus | |
18664 | } | |
18665 | #endif | |
18666 | ||
18667 | /* -----------------------------------------------------------------------------* | |
18668 | * Partial Init method | |
18669 | * -----------------------------------------------------------------------------*/ | |
18670 | ||
18671 | #ifdef __cplusplus | |
18672 | extern "C" | |
18673 | #endif | |
18674 | SWIGEXPORT void SWIG_init(void) { | |
18675 | PyObject *m, *d; | |
18676 | ||
18677 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18678 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
18679 | ||
18680 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
18681 | d = PyModule_GetDict(m); | |
18682 | ||
18683 | SWIG_InitializeModule(0); | |
18684 | SWIG_InstallConstants(d,swig_const_table); | |
18685 | ||
18686 | ||
18687 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
18688 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
18689 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
18690 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
18691 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
18692 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
18693 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
18694 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
18695 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
18696 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
18697 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
18698 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
18699 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
18700 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
18701 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
18702 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 RD |
18703 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
18704 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE))); | |
18705 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE))); | |
18706 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE))); | |
18707 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE))); | |
18708 | SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE))); | |
18709 | SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR))); | |
18710 | SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR))); | |
18711 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR))); | |
18712 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18713 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR))); | |
18714 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18715 | SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
18716 | SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
18717 | SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR))); | |
18718 | SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR))); | |
18719 | SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT))); | |
18720 | SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE))); | |
18721 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); | |
18722 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
18723 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
18724 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
18725 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
18726 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
18727 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
18728 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
18729 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); | |
5eb8189c | 18730 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
18731 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
18732 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
18733 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 18734 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
18735 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
18736 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
18737 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
18738 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
18739 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
18740 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
18741 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
18742 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
18743 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
18744 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
18745 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
18746 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
18747 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
18748 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
18749 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
18750 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
18751 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
18752 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
18753 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
18754 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
18755 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
18756 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
18757 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
18758 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
18759 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
18760 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
18761 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
18762 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
18763 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
18764 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
18765 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionSavedHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionSavedHidden))); | |
18766 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); | |
18767 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
18768 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
18769 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
18770 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
18771 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
18772 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
18773 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); | |
18774 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
18775 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
18776 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
18777 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
18778 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
18779 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
18780 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
18781 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
18782 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
27e45892 RD |
18783 | PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); |
18784 | PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); | |
5eb8189c RD |
18785 | PyDict_SetItemString(d, "wxEVT_AUI_PANEMAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANEMAXIMIZE)); |
18786 | PyDict_SetItemString(d, "wxEVT_AUI_PANERESTORE", PyInt_FromLong(wxEVT_AUI_PANERESTORE)); | |
81f5836b | 18787 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
5eb8189c RD |
18788 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
18789 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
18790 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
18791 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
18792 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
18793 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 18794 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 18795 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 18796 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 18797 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 18798 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
18799 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
18800 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
18801 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 18802 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
18803 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
18804 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
18805 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
18806 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
18807 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
18808 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 18809 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
18810 | } |
18811 |