]>
Commit | Line | Data |
---|---|---|
27e45892 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.29 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | /* ----------------------------------------------------------------------------- | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * ----------------------------------------------------------------------------- */ | |
34 | ||
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ | |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
37 | # if defined(__SUNPRO_CC) | |
38 | # if (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | # else | |
44 | # define SWIGTEMPLATEDISAMBIGUATOR | |
45 | # endif | |
46 | #endif | |
47 | ||
48 | /* inline attribute */ | |
49 | #ifndef SWIGINLINE | |
50 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
51 | # define SWIGINLINE inline | |
52 | # else | |
53 | # define SWIGINLINE | |
54 | # endif | |
55 | #endif | |
56 | ||
57 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
58 | #ifndef SWIGUNUSED | |
59 | # if defined(__GNUC__) | |
60 | # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) | |
61 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
62 | # else | |
63 | # define SWIGUNUSED | |
64 | # endif | |
65 | # elif defined(__ICC) | |
66 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
67 | # else | |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
72 | #ifndef SWIGUNUSEDPARM | |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
80 | /* internal SWIG method */ | |
81 | #ifndef SWIGINTERN | |
82 | # define SWIGINTERN static SWIGUNUSED | |
83 | #endif | |
84 | ||
85 | /* internal inline SWIG method */ | |
86 | #ifndef SWIGINTERNINLINE | |
87 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
88 | #endif | |
89 | ||
90 | /* exporting methods */ | |
91 | #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | |
92 | # ifndef GCC_HASCLASSVISIBILITY | |
93 | # define GCC_HASCLASSVISIBILITY | |
94 | # endif | |
95 | #endif | |
96 | ||
97 | #ifndef SWIGEXPORT | |
98 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
99 | # if defined(STATIC_LINKED) | |
100 | # define SWIGEXPORT | |
101 | # else | |
102 | # define SWIGEXPORT __declspec(dllexport) | |
103 | # endif | |
104 | # else | |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) | |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
110 | # endif | |
111 | #endif | |
112 | ||
113 | /* calling conventions for Windows */ | |
114 | #ifndef SWIGSTDCALL | |
115 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
116 | # define SWIGSTDCALL __stdcall | |
117 | # else | |
118 | # define SWIGSTDCALL | |
119 | # endif | |
120 | #endif | |
121 | ||
122 | /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ | |
123 | #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) | |
124 | # define _CRT_SECURE_NO_DEPRECATE | |
125 | #endif | |
126 | ||
127 | ||
128 | /* Python.h has to appear first */ | |
129 | #include <Python.h> | |
130 | ||
131 | /* ----------------------------------------------------------------------------- | |
132 | * swigrun.swg | |
133 | * | |
134 | * This file contains generic CAPI SWIG runtime support for pointer | |
135 | * type checking. | |
136 | * ----------------------------------------------------------------------------- */ | |
137 | ||
138 | /* This should only be incremented when either the layout of swig_type_info changes, | |
139 | or for whatever reason, the runtime changes incompatibly */ | |
140 | #define SWIG_RUNTIME_VERSION "2" | |
141 | ||
142 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ | |
143 | #ifdef SWIG_TYPE_TABLE | |
144 | # define SWIG_QUOTE_STRING(x) #x | |
145 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
146 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
147 | #else | |
148 | # define SWIG_TYPE_TABLE_NAME | |
149 | #endif | |
150 | ||
151 | /* | |
152 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
153 | creating a static or dynamic library from the swig runtime code. | |
154 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
155 | ||
156 | But only do this if is strictly necessary, ie, if you have problems | |
157 | with your compiler or so. | |
158 | */ | |
159 | ||
160 | #ifndef SWIGRUNTIME | |
161 | # define SWIGRUNTIME SWIGINTERN | |
162 | #endif | |
163 | ||
164 | #ifndef SWIGRUNTIMEINLINE | |
165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
166 | #endif | |
167 | ||
168 | /* Generic buffer size */ | |
169 | #ifndef SWIG_BUFFER_SIZE | |
170 | # define SWIG_BUFFER_SIZE 1024 | |
171 | #endif | |
172 | ||
173 | /* Flags for pointer conversions */ | |
174 | #define SWIG_POINTER_DISOWN 0x1 | |
175 | ||
176 | /* Flags for new pointer objects */ | |
177 | #define SWIG_POINTER_OWN 0x1 | |
178 | ||
179 | ||
180 | /* | |
181 | Flags/methods for returning states. | |
182 | ||
183 | The swig conversion methods, as ConvertPtr, return and integer | |
184 | that tells if the conversion was successful or not. And if not, | |
185 | an error code can be returned (see swigerrors.swg for the codes). | |
186 | ||
187 | Use the following macros/flags to set or process the returning | |
188 | states. | |
189 | ||
190 | In old swig versions, you usually write code as: | |
191 | ||
192 | if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { | |
193 | // success code | |
194 | } else { | |
195 | //fail code | |
196 | } | |
197 | ||
198 | Now you can be more explicit as: | |
199 | ||
200 | int res = SWIG_ConvertPtr(obj,vptr,ty.flags); | |
201 | if (SWIG_IsOK(res)) { | |
202 | // success code | |
203 | } else { | |
204 | // fail code | |
205 | } | |
206 | ||
207 | that seems to be the same, but now you can also do | |
208 | ||
209 | Type *ptr; | |
210 | int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); | |
211 | if (SWIG_IsOK(res)) { | |
212 | // success code | |
213 | if (SWIG_IsNewObj(res) { | |
214 | ... | |
215 | delete *ptr; | |
216 | } else { | |
217 | ... | |
218 | } | |
219 | } else { | |
220 | // fail code | |
221 | } | |
222 | ||
223 | I.e., now SWIG_ConvertPtr can return new objects and you can | |
224 | identify the case and take care of the deallocation. Of course that | |
225 | requires also to SWIG_ConvertPtr to return new result values, as | |
226 | ||
227 | int SWIG_ConvertPtr(obj, ptr,...) { | |
228 | if (<obj is ok>) { | |
229 | if (<need new object>) { | |
230 | *ptr = <ptr to new allocated object>; | |
231 | return SWIG_NEWOBJ; | |
232 | } else { | |
233 | *ptr = <ptr to old object>; | |
234 | return SWIG_OLDOBJ; | |
235 | } | |
236 | } else { | |
237 | return SWIG_BADOBJ; | |
238 | } | |
239 | } | |
240 | ||
241 | Of course, returning the plain '0(success)/-1(fail)' still works, but you can be | |
242 | more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the | |
243 | swig errors code. | |
244 | ||
245 | Finally, if the SWIG_CASTRANK_MODE is enabled, the result code | |
246 | allows to return the 'cast rank', for example, if you have this | |
247 | ||
248 | int food(double) | |
249 | int fooi(int); | |
250 | ||
251 | and you call | |
252 | ||
253 | food(1) // cast rank '1' (1 -> 1.0) | |
254 | fooi(1) // cast rank '0' | |
255 | ||
256 | just use the SWIG_AddCast()/SWIG_CheckState() | |
257 | ||
258 | ||
259 | */ | |
260 | #define SWIG_OK (0) | |
261 | #define SWIG_ERROR (-1) | |
262 | #define SWIG_IsOK(r) (r >= 0) | |
263 | #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) | |
264 | ||
265 | /* The CastRankLimit says how many bits are used for the cast rank */ | |
266 | #define SWIG_CASTRANKLIMIT (1 << 8) | |
267 | /* The NewMask denotes the object was created (using new/malloc) */ | |
268 | #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) | |
269 | /* The TmpMask is for in/out typemaps that use temporal objects */ | |
270 | #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) | |
271 | /* Simple returning values */ | |
272 | #define SWIG_BADOBJ (SWIG_ERROR) | |
273 | #define SWIG_OLDOBJ (SWIG_OK) | |
274 | #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) | |
275 | #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) | |
276 | /* Check, add and del mask methods */ | |
277 | #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) | |
278 | #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) | |
279 | #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) | |
280 | #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) | |
281 | #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) | |
282 | #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) | |
283 | ||
284 | ||
285 | /* Cast-Rank Mode */ | |
286 | #if defined(SWIG_CASTRANK_MODE) | |
287 | # ifndef SWIG_TypeRank | |
288 | # define SWIG_TypeRank unsigned long | |
289 | # endif | |
290 | # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ | |
291 | # define SWIG_MAXCASTRANK (2) | |
292 | # endif | |
293 | # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) | |
294 | # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) | |
295 | SWIGINTERNINLINE int SWIG_AddCast(int r) { | |
296 | return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; | |
297 | } | |
298 | SWIGINTERNINLINE int SWIG_CheckState(int r) { | |
299 | return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; | |
300 | } | |
301 | #else /* no cast-rank mode */ | |
302 | # define SWIG_AddCast | |
303 | # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) | |
304 | #endif | |
305 | ||
306 | ||
307 | ||
308 | ||
309 | #include <string.h> | |
310 | ||
311 | #ifdef __cplusplus | |
312 | extern "C" { | |
313 | #endif | |
314 | ||
315 | typedef void *(*swig_converter_func)(void *); | |
316 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
317 | ||
318 | /* Structure to store inforomation on one type */ | |
319 | typedef struct swig_type_info { | |
320 | const char *name; /* mangled name of this type */ | |
321 | const char *str; /* human readable name of this type */ | |
322 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
323 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
324 | void *clientdata; /* language specific type data */ | |
325 | int owndata; /* flag if the structure owns the clientdata */ | |
326 | } swig_type_info; | |
327 | ||
328 | /* Structure to store a type and conversion function used for casting */ | |
329 | typedef struct swig_cast_info { | |
330 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
331 | swig_converter_func converter; /* function to cast the void pointers */ | |
332 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
333 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
334 | } swig_cast_info; | |
335 | ||
336 | /* Structure used to store module information | |
337 | * Each module generates one structure like this, and the runtime collects | |
338 | * all of these structures and stores them in a circularly linked list.*/ | |
339 | typedef struct swig_module_info { | |
340 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
341 | size_t size; /* Number of types in this module */ | |
342 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
343 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
344 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
345 | void *clientdata; /* Language specific module data */ | |
346 | } swig_module_info; | |
347 | ||
348 | /* | |
349 | Compare two type names skipping the space characters, therefore | |
350 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
351 | ||
352 | Return 0 when the two name types are equivalent, as in | |
353 | strncmp, but skipping ' '. | |
354 | */ | |
355 | SWIGRUNTIME int | |
356 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
357 | const char *f2, const char *l2) { | |
358 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
359 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
360 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
361 | if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; | |
362 | } | |
363 | return (l1 - f1) - (l2 - f2); | |
364 | } | |
365 | ||
366 | /* | |
367 | Check type equivalence in a name list like <name1>|<name2>|... | |
368 | Return 0 if not equal, 1 if equal | |
369 | */ | |
370 | SWIGRUNTIME int | |
371 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
372 | int equiv = 0; | |
373 | const char* te = tb + strlen(tb); | |
374 | const char* ne = nb; | |
375 | while (!equiv && *ne) { | |
376 | for (nb = ne; *ne; ++ne) { | |
377 | if (*ne == '|') break; | |
378 | } | |
379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
380 | if (*ne) ++ne; | |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
386 | Check type equivalence in a name list like <name1>|<name2>|... | |
387 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
388 | */ | |
389 | SWIGRUNTIME int | |
390 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
391 | int equiv = 0; | |
392 | const char* te = tb + strlen(tb); | |
393 | const char* ne = nb; | |
394 | while (!equiv && *ne) { | |
395 | for (nb = ne; *ne; ++ne) { | |
396 | if (*ne == '|') break; | |
397 | } | |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
399 | if (*ne) ++ne; | |
400 | } | |
401 | return equiv; | |
402 | } | |
403 | ||
404 | ||
405 | /* think of this as a c++ template<> or a scheme macro */ | |
406 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
407 | if (ty) { \ | |
408 | swig_cast_info *iter = ty->cast; \ | |
409 | while (iter) { \ | |
410 | if (comparison) { \ | |
411 | if (iter == ty->cast) return iter; \ | |
412 | /* Move iter to the top of the linked list */ \ | |
413 | iter->prev->next = iter->next; \ | |
414 | if (iter->next) \ | |
415 | iter->next->prev = iter->prev; \ | |
416 | iter->next = ty->cast; \ | |
417 | iter->prev = 0; \ | |
418 | if (ty->cast) ty->cast->prev = iter; \ | |
419 | ty->cast = iter; \ | |
420 | return iter; \ | |
421 | } \ | |
422 | iter = iter->next; \ | |
423 | } \ | |
424 | } \ | |
425 | return 0 | |
426 | ||
427 | /* | |
428 | Check the typename | |
429 | */ | |
430 | SWIGRUNTIME swig_cast_info * | |
431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
432 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); | |
433 | } | |
434 | ||
435 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
436 | SWIGRUNTIME swig_cast_info * | |
437 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
438 | SWIG_TypeCheck_Template(iter->type == from, into); | |
439 | } | |
440 | ||
441 | /* | |
442 | Cast a pointer up an inheritance hierarchy | |
443 | */ | |
444 | SWIGRUNTIMEINLINE void * | |
445 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { | |
446 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
447 | } | |
448 | ||
449 | /* | |
450 | Dynamic pointer casting. Down an inheritance hierarchy | |
451 | */ | |
452 | SWIGRUNTIME swig_type_info * | |
453 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
454 | swig_type_info *lastty = ty; | |
455 | if (!ty || !ty->dcast) return ty; | |
456 | while (ty && (ty->dcast)) { | |
457 | ty = (*ty->dcast)(ptr); | |
458 | if (ty) lastty = ty; | |
459 | } | |
460 | return lastty; | |
461 | } | |
462 | ||
463 | /* | |
464 | Return the name associated with this type | |
465 | */ | |
466 | SWIGRUNTIMEINLINE const char * | |
467 | SWIG_TypeName(const swig_type_info *ty) { | |
468 | return ty->name; | |
469 | } | |
470 | ||
471 | /* | |
472 | Return the pretty name associated with this type, | |
473 | that is an unmangled type name in a form presentable to the user. | |
474 | */ | |
475 | SWIGRUNTIME const char * | |
476 | SWIG_TypePrettyName(const swig_type_info *type) { | |
477 | /* The "str" field contains the equivalent pretty names of the | |
478 | type, separated by vertical-bar characters. We choose | |
479 | to print the last name, as it is often (?) the most | |
480 | specific. */ | |
481 | if (!type) return NULL; | |
482 | if (type->str != NULL) { | |
483 | const char *last_name = type->str; | |
484 | const char *s; | |
485 | for (s = type->str; *s; s++) | |
486 | if (*s == '|') last_name = s+1; | |
487 | return last_name; | |
488 | } | |
489 | else | |
490 | return type->name; | |
491 | } | |
492 | ||
493 | /* | |
494 | Set the clientdata field for a type | |
495 | */ | |
496 | SWIGRUNTIME void | |
497 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
498 | swig_cast_info *cast = ti->cast; | |
499 | /* if (ti->clientdata == clientdata) return; */ | |
500 | ti->clientdata = clientdata; | |
501 | ||
502 | while (cast) { | |
503 | if (!cast->converter) { | |
504 | swig_type_info *tc = cast->type; | |
505 | if (!tc->clientdata) { | |
506 | SWIG_TypeClientData(tc, clientdata); | |
507 | } | |
508 | } | |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
512 | SWIGRUNTIME void | |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
518 | /* | |
519 | Search for a swig_type_info structure only by mangled name | |
520 | Search is a O(log #types) | |
521 | ||
522 | We start searching at module start, and finish searching when start == end. | |
523 | Note: if start == end at the beginning of the function, we go all the way around | |
524 | the circular list. | |
525 | */ | |
526 | SWIGRUNTIME swig_type_info * | |
527 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
528 | swig_module_info *end, | |
529 | const char *name) { | |
530 | swig_module_info *iter = start; | |
531 | do { | |
532 | if (iter->size) { | |
533 | register size_t l = 0; | |
534 | register size_t r = iter->size - 1; | |
535 | do { | |
536 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
537 | register size_t i = (l + r) >> 1; | |
538 | const char *iname = iter->types[i]->name; | |
539 | if (iname) { | |
540 | register int compare = strcmp(name, iname); | |
541 | if (compare == 0) { | |
542 | return iter->types[i]; | |
543 | } else if (compare < 0) { | |
544 | if (i) { | |
545 | r = i - 1; | |
546 | } else { | |
547 | break; | |
548 | } | |
549 | } else if (compare > 0) { | |
550 | l = i + 1; | |
551 | } | |
552 | } else { | |
553 | break; /* should never happen */ | |
554 | } | |
555 | } while (l <= r); | |
556 | } | |
557 | iter = iter->next; | |
558 | } while (iter != end); | |
559 | return 0; | |
560 | } | |
561 | ||
562 | /* | |
563 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
564 | It first searches the mangled names of the types, which is a O(log #types) | |
565 | If a type is not found it then searches the human readable names, which is O(#types). | |
566 | ||
567 | We start searching at module start, and finish searching when start == end. | |
568 | Note: if start == end at the beginning of the function, we go all the way around | |
569 | the circular list. | |
570 | */ | |
571 | SWIGRUNTIME swig_type_info * | |
572 | SWIG_TypeQueryModule(swig_module_info *start, | |
573 | swig_module_info *end, | |
574 | const char *name) { | |
575 | /* STEP 1: Search the name field using binary search */ | |
576 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
577 | if (ret) { | |
578 | return ret; | |
579 | } else { | |
580 | /* STEP 2: If the type hasn't been found, do a complete search | |
581 | of the str field (the human readable name) */ | |
582 | swig_module_info *iter = start; | |
583 | do { | |
584 | register size_t i = 0; | |
585 | for (; i < iter->size; ++i) { | |
586 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
587 | return iter->types[i]; | |
588 | } | |
589 | iter = iter->next; | |
590 | } while (iter != end); | |
591 | } | |
592 | ||
593 | /* neither found a match */ | |
594 | return 0; | |
595 | } | |
596 | ||
597 | /* | |
598 | Pack binary data into a string | |
599 | */ | |
600 | SWIGRUNTIME char * | |
601 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
602 | static const char hex[17] = "0123456789abcdef"; | |
603 | register const unsigned char *u = (unsigned char *) ptr; | |
604 | register const unsigned char *eu = u + sz; | |
605 | for (; u != eu; ++u) { | |
606 | register unsigned char uu = *u; | |
607 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
608 | *(c++) = hex[uu & 0xf]; | |
609 | } | |
610 | return c; | |
611 | } | |
612 | ||
613 | /* | |
614 | Unpack binary data from a string | |
615 | */ | |
616 | SWIGRUNTIME const char * | |
617 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
618 | register unsigned char *u = (unsigned char *) ptr; | |
619 | register const unsigned char *eu = u + sz; | |
620 | for (; u != eu; ++u) { | |
621 | register char d = *(c++); | |
622 | register unsigned char uu; | |
623 | if ((d >= '0') && (d <= '9')) | |
624 | uu = ((d - '0') << 4); | |
625 | else if ((d >= 'a') && (d <= 'f')) | |
626 | uu = ((d - ('a'-10)) << 4); | |
627 | else | |
628 | return (char *) 0; | |
629 | d = *(c++); | |
630 | if ((d >= '0') && (d <= '9')) | |
631 | uu |= (d - '0'); | |
632 | else if ((d >= 'a') && (d <= 'f')) | |
633 | uu |= (d - ('a'-10)); | |
634 | else | |
635 | return (char *) 0; | |
636 | *u = uu; | |
637 | } | |
638 | return c; | |
639 | } | |
640 | ||
641 | /* | |
642 | Pack 'void *' into a string buffer. | |
643 | */ | |
644 | SWIGRUNTIME char * | |
645 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
646 | char *r = buff; | |
647 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
648 | *(r++) = '_'; | |
649 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
650 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
651 | strcpy(r,name); | |
652 | return buff; | |
653 | } | |
654 | ||
655 | SWIGRUNTIME const char * | |
656 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
657 | if (*c != '_') { | |
658 | if (strcmp(c,"NULL") == 0) { | |
659 | *ptr = (void *) 0; | |
660 | return name; | |
661 | } else { | |
662 | return 0; | |
663 | } | |
664 | } | |
665 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
666 | } | |
667 | ||
668 | SWIGRUNTIME char * | |
669 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
670 | char *r = buff; | |
671 | size_t lname = (name ? strlen(name) : 0); | |
672 | if ((2*sz + 2 + lname) > bsz) return 0; | |
673 | *(r++) = '_'; | |
674 | r = SWIG_PackData(r,ptr,sz); | |
675 | if (lname) { | |
676 | strncpy(r,name,lname+1); | |
677 | } else { | |
678 | *r = 0; | |
679 | } | |
680 | return buff; | |
681 | } | |
682 | ||
683 | SWIGRUNTIME const char * | |
684 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
685 | if (*c != '_') { | |
686 | if (strcmp(c,"NULL") == 0) { | |
687 | memset(ptr,0,sz); | |
688 | return name; | |
689 | } else { | |
690 | return 0; | |
691 | } | |
692 | } | |
693 | return SWIG_UnpackData(++c,ptr,sz); | |
694 | } | |
695 | ||
696 | #ifdef __cplusplus | |
697 | } | |
698 | #endif | |
699 | ||
700 | /* Errors in SWIG */ | |
701 | #define SWIG_UnknownError -1 | |
702 | #define SWIG_IOError -2 | |
703 | #define SWIG_RuntimeError -3 | |
704 | #define SWIG_IndexError -4 | |
705 | #define SWIG_TypeError -5 | |
706 | #define SWIG_DivisionByZero -6 | |
707 | #define SWIG_OverflowError -7 | |
708 | #define SWIG_SyntaxError -8 | |
709 | #define SWIG_ValueError -9 | |
710 | #define SWIG_SystemError -10 | |
711 | #define SWIG_AttributeError -11 | |
712 | #define SWIG_MemoryError -12 | |
713 | #define SWIG_NullReferenceError -13 | |
714 | ||
715 | ||
716 | ||
717 | /* Python.h has to appear first */ | |
718 | #include <Python.h> | |
719 | ||
720 | /* Add PyOS_snprintf for old Pythons */ | |
721 | #if PY_VERSION_HEX < 0x02020000 | |
722 | # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) | |
723 | # define PyOS_snprintf _snprintf | |
724 | # else | |
725 | # define PyOS_snprintf snprintf | |
726 | # endif | |
727 | #endif | |
728 | ||
729 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
730 | #if PY_VERSION_HEX < 0x02020000 | |
731 | ||
732 | #ifndef SWIG_PYBUFFER_SIZE | |
733 | # define SWIG_PYBUFFER_SIZE 1024 | |
734 | #endif | |
735 | ||
736 | static PyObject * | |
737 | PyString_FromFormat(const char *fmt, ...) { | |
738 | va_list ap; | |
739 | char buf[SWIG_PYBUFFER_SIZE * 2]; | |
740 | int res; | |
741 | va_start(ap, fmt); | |
742 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
743 | va_end(ap); | |
744 | return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); | |
745 | } | |
746 | #endif | |
747 | ||
748 | /* Add PyObject_Del for old Pythons */ | |
749 | #if PY_VERSION_HEX < 0x01060000 | |
750 | # define PyObject_Del(op) PyMem_DEL((op)) | |
751 | #endif | |
752 | #ifndef PyObject_DEL | |
753 | # define PyObject_DEL PyObject_Del | |
754 | #endif | |
755 | ||
756 | /* A crude PyExc_StopIteration exception for old Pythons */ | |
757 | #if PY_VERSION_HEX < 0x02020000 | |
758 | # ifndef PyExc_StopIteration | |
759 | # define PyExc_StopIteration PyExc_RuntimeError | |
760 | # endif | |
761 | # ifndef PyObject_GenericGetAttr | |
762 | # define PyObject_GenericGetAttr 0 | |
763 | # endif | |
764 | #endif | |
765 | /* Py_NotImplemented is defined in 2.1 and up. */ | |
766 | #if PY_VERSION_HEX < 0x02010000 | |
767 | # ifndef Py_NotImplemented | |
768 | # define Py_NotImplemented PyExc_RuntimeError | |
769 | # endif | |
770 | #endif | |
771 | ||
772 | ||
773 | /* A crude PyString_AsStringAndSize implementation for old Pythons */ | |
774 | #if PY_VERSION_HEX < 0x02010000 | |
775 | # ifndef PyString_AsStringAndSize | |
776 | # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} | |
777 | # endif | |
778 | #endif | |
779 | ||
780 | /* PySequence_Size for old Pythons */ | |
781 | #if PY_VERSION_HEX < 0x02000000 | |
782 | # ifndef PySequence_Size | |
783 | # define PySequence_Size PySequence_Length | |
784 | # endif | |
785 | #endif | |
786 | ||
787 | ||
788 | /* PyBool_FromLong for old Pythons */ | |
789 | #if PY_VERSION_HEX < 0x02030000 | |
790 | static | |
791 | PyObject *PyBool_FromLong(long ok) | |
792 | { | |
793 | PyObject *result = ok ? Py_True : Py_False; | |
794 | Py_INCREF(result); | |
795 | return result; | |
796 | } | |
797 | #endif | |
798 | ||
799 | ||
800 | /* ----------------------------------------------------------------------------- | |
801 | * error manipulation | |
802 | * ----------------------------------------------------------------------------- */ | |
803 | ||
804 | SWIGRUNTIME PyObject* | |
805 | SWIG_Python_ErrorType(int code) { | |
806 | PyObject* type = 0; | |
807 | switch(code) { | |
808 | case SWIG_MemoryError: | |
809 | type = PyExc_MemoryError; | |
810 | break; | |
811 | case SWIG_IOError: | |
812 | type = PyExc_IOError; | |
813 | break; | |
814 | case SWIG_RuntimeError: | |
815 | type = PyExc_RuntimeError; | |
816 | break; | |
817 | case SWIG_IndexError: | |
818 | type = PyExc_IndexError; | |
819 | break; | |
820 | case SWIG_TypeError: | |
821 | type = PyExc_TypeError; | |
822 | break; | |
823 | case SWIG_DivisionByZero: | |
824 | type = PyExc_ZeroDivisionError; | |
825 | break; | |
826 | case SWIG_OverflowError: | |
827 | type = PyExc_OverflowError; | |
828 | break; | |
829 | case SWIG_SyntaxError: | |
830 | type = PyExc_SyntaxError; | |
831 | break; | |
832 | case SWIG_ValueError: | |
833 | type = PyExc_ValueError; | |
834 | break; | |
835 | case SWIG_SystemError: | |
836 | type = PyExc_SystemError; | |
837 | break; | |
838 | case SWIG_AttributeError: | |
839 | type = PyExc_AttributeError; | |
840 | break; | |
841 | default: | |
842 | type = PyExc_RuntimeError; | |
843 | } | |
844 | return type; | |
845 | } | |
846 | ||
847 | ||
848 | SWIGRUNTIME void | |
849 | SWIG_Python_AddErrorMsg(const char* mesg) | |
850 | { | |
851 | PyObject *type = 0; | |
852 | PyObject *value = 0; | |
853 | PyObject *traceback = 0; | |
854 | ||
855 | if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); | |
856 | if (value) { | |
857 | PyObject *old_str = PyObject_Str(value); | |
858 | PyErr_Clear(); | |
859 | Py_XINCREF(type); | |
860 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
861 | Py_DECREF(old_str); | |
862 | Py_DECREF(value); | |
863 | } else { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
935 | #endif | |
936 | ||
937 | /* ----------------------------------------------------------------------------- | |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
940 | ||
941 | #ifdef __cplusplus | |
942 | extern "C" { | |
943 | #if 0 | |
944 | } /* cc-mode */ | |
945 | #endif | |
946 | #endif | |
947 | ||
948 | /* ----------------------------------------------------------------------------- | |
949 | * Constant declarations | |
950 | * ----------------------------------------------------------------------------- */ | |
951 | ||
952 | /* Constant Types */ | |
953 | #define SWIG_PY_POINTER 4 | |
954 | #define SWIG_PY_BINARY 5 | |
955 | ||
956 | /* Constant information structure */ | |
957 | typedef struct swig_const_info { | |
958 | int type; | |
959 | char *name; | |
960 | long lvalue; | |
961 | double dvalue; | |
962 | void *pvalue; | |
963 | swig_type_info **ptype; | |
964 | } swig_const_info; | |
965 | ||
966 | #ifdef __cplusplus | |
967 | #if 0 | |
968 | { /* cc-mode */ | |
969 | #endif | |
970 | } | |
971 | #endif | |
972 | ||
973 | ||
974 | /* ----------------------------------------------------------------------------- | |
975 | * See the LICENSE file for information on copyright, usage and redistribution | |
976 | * of SWIG, and the README file for authors - http://www.swig.org/release.html. | |
977 | * | |
978 | * pyrun.swg | |
979 | * | |
980 | * This file contains the runtime support for Python modules | |
981 | * and includes code for managing global variables and pointer | |
982 | * type checking. | |
983 | * | |
984 | * ----------------------------------------------------------------------------- */ | |
985 | ||
986 | /* Common SWIG API */ | |
987 | ||
988 | #if PY_VERSION_HEX < 0x02050000 | |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
992 | /* for raw pointers */ | |
993 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
994 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
995 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
996 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
997 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
998 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
999 | #define swig_owntype int | |
1000 | ||
1001 | /* for raw packed data */ | |
1002 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1003 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1004 | ||
1005 | /* for class or struct pointers */ | |
1006 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1007 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
1008 | ||
1009 | /* for C or C++ function pointers */ | |
1010 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1011 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
1012 | ||
1013 | /* for C++ member pointers, ie, member methods */ | |
1014 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1015 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
1016 | ||
1017 | ||
1018 | /* Runtime API */ | |
1019 | ||
1020 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
1021 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1022 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
1023 | ||
1024 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj | |
1025 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1026 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1027 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1028 | #define SWIG_fail goto fail | |
1029 | ||
1030 | ||
1031 | /* Runtime API implementation */ | |
1032 | ||
1033 | /* Error manipulation */ | |
1034 | ||
1035 | SWIGINTERN void | |
1036 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1037 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1038 | PyErr_SetObject(errtype, obj); | |
1039 | Py_DECREF(obj); | |
1040 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1041 | } | |
1042 | ||
1043 | SWIGINTERN void | |
1044 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1045 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1046 | PyErr_SetString(errtype, (char *) msg); | |
1047 | SWIG_PYTHON_THREAD_END_BLOCK; | |
1048 | } | |
1049 | ||
1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) | |
1051 | ||
1052 | /* Set a constant value */ | |
1053 | ||
1054 | SWIGINTERN void | |
1055 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1056 | PyDict_SetItemString(d, (char*) name, obj); | |
1057 | Py_DECREF(obj); | |
1058 | } | |
1059 | ||
1060 | /* Append a value to the result obj */ | |
1061 | ||
1062 | SWIGINTERN PyObject* | |
1063 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1064 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1065 | if (!result) { | |
1066 | result = obj; | |
1067 | } else if (result == Py_None) { | |
1068 | Py_DECREF(result); | |
1069 | result = obj; | |
1070 | } else { | |
1071 | if (!PyList_Check(result)) { | |
1072 | PyObject *o2 = result; | |
1073 | result = PyList_New(1); | |
1074 | PyList_SetItem(result, 0, o2); | |
1075 | } | |
1076 | PyList_Append(result,obj); | |
1077 | Py_DECREF(obj); | |
1078 | } | |
1079 | return result; | |
1080 | #else | |
1081 | PyObject* o2; | |
1082 | PyObject* o3; | |
1083 | if (!result) { | |
1084 | result = obj; | |
1085 | } else if (result == Py_None) { | |
1086 | Py_DECREF(result); | |
1087 | result = obj; | |
1088 | } else { | |
1089 | if (!PyTuple_Check(result)) { | |
1090 | o2 = result; | |
1091 | result = PyTuple_New(1); | |
1092 | PyTuple_SET_ITEM(result, 0, o2); | |
1093 | } | |
1094 | o3 = PyTuple_New(1); | |
1095 | PyTuple_SET_ITEM(o3, 0, obj); | |
1096 | o2 = result; | |
1097 | result = PySequence_Concat(o2, o3); | |
1098 | Py_DECREF(o2); | |
1099 | Py_DECREF(o3); | |
1100 | } | |
1101 | return result; | |
1102 | #endif | |
1103 | } | |
1104 | ||
1105 | /* Unpack the argument tuple */ | |
1106 | ||
1107 | SWIGINTERN int | |
1108 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1109 | { | |
1110 | if (!args) { | |
1111 | if (!min && !max) { | |
1112 | return 1; | |
1113 | } else { | |
1114 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1115 | name, (min == max ? "" : "at least "), min); | |
1116 | return 0; | |
1117 | } | |
1118 | } | |
1119 | if (!PyTuple_Check(args)) { | |
1120 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1121 | return 0; | |
1122 | } else { | |
1123 | register int l = PyTuple_GET_SIZE(args); | |
1124 | if (l < min) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at least "), min, l); | |
1127 | return 0; | |
1128 | } else if (l > max) { | |
1129 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1130 | name, (min == max ? "" : "at most "), max, l); | |
1131 | return 0; | |
1132 | } else { | |
1133 | register int i; | |
1134 | for (i = 0; i < l; ++i) { | |
1135 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1136 | } | |
1137 | for (; l < max; ++l) { | |
1138 | objs[l] = 0; | |
1139 | } | |
1140 | return i + 1; | |
1141 | } | |
1142 | } | |
1143 | } | |
1144 | ||
1145 | /* A functor is a function object with one single object argument */ | |
1146 | #if PY_VERSION_HEX >= 0x02020000 | |
1147 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1148 | #else | |
1149 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1150 | #endif | |
1151 | ||
1152 | /* | |
1153 | Helper for static pointer initialization for both C and C++ code, for example | |
1154 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1155 | */ | |
1156 | #ifdef __cplusplus | |
1157 | #define SWIG_STATIC_POINTER(var) var | |
1158 | #else | |
1159 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1160 | #endif | |
1161 | ||
1162 | /* ----------------------------------------------------------------------------- | |
1163 | * Pointer declarations | |
1164 | * ----------------------------------------------------------------------------- */ | |
1165 | ||
1166 | /* Flags for new pointer objects */ | |
1167 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1168 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1169 | ||
1170 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1171 | ||
1172 | #ifdef __cplusplus | |
1173 | extern "C" { | |
1174 | #if 0 | |
1175 | } /* cc-mode */ | |
1176 | #endif | |
1177 | #endif | |
1178 | ||
1179 | /* How to access Py_None */ | |
1180 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1181 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1182 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1183 | # define SWIG_PYTHON_BUILD_NONE | |
1184 | # endif | |
1185 | # endif | |
1186 | #endif | |
1187 | ||
1188 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1189 | # ifdef Py_None | |
1190 | # undef Py_None | |
1191 | # define Py_None SWIG_Py_None() | |
1192 | # endif | |
1193 | SWIGRUNTIMEINLINE PyObject * | |
1194 | _SWIG_Py_None(void) | |
1195 | { | |
1196 | PyObject *none = Py_BuildValue(""); | |
1197 | Py_DECREF(none); | |
1198 | return none; | |
1199 | } | |
1200 | SWIGRUNTIME PyObject * | |
1201 | SWIG_Py_None(void) | |
1202 | { | |
1203 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1204 | return none; | |
1205 | } | |
1206 | #endif | |
1207 | ||
1208 | /* The python void return value */ | |
1209 | ||
1210 | SWIGRUNTIMEINLINE PyObject * | |
1211 | SWIG_Py_Void(void) | |
1212 | { | |
1213 | PyObject *none = Py_None; | |
1214 | Py_INCREF(none); | |
1215 | return none; | |
1216 | } | |
1217 | ||
1218 | /* PySwigClientData */ | |
1219 | ||
1220 | typedef struct { | |
1221 | PyObject *klass; | |
1222 | PyObject *newraw; | |
1223 | PyObject *newargs; | |
1224 | PyObject *destroy; | |
1225 | int delargs; | |
1226 | int implicitconv; | |
1227 | } PySwigClientData; | |
1228 | ||
1229 | SWIGRUNTIMEINLINE int | |
1230 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1231 | { | |
1232 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1233 | return data ? data->implicitconv : 0; | |
1234 | } | |
1235 | ||
1236 | SWIGRUNTIMEINLINE PyObject * | |
1237 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1238 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1239 | PyObject *klass = data ? data->klass : 0; | |
1240 | return (klass ? klass : PyExc_RuntimeError); | |
1241 | } | |
1242 | ||
1243 | ||
1244 | SWIGRUNTIME PySwigClientData * | |
1245 | PySwigClientData_New(PyObject* obj) | |
1246 | { | |
1247 | if (!obj) { | |
1248 | return 0; | |
1249 | } else { | |
1250 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1251 | /* the klass element */ | |
1252 | data->klass = obj; | |
1253 | Py_INCREF(data->klass); | |
1254 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1255 | if (PyClass_Check(obj)) { | |
1256 | data->newraw = 0; | |
1257 | data->newargs = obj; | |
1258 | Py_INCREF(obj); | |
1259 | } else { | |
1260 | #if (PY_VERSION_HEX < 0x02020000) | |
1261 | data->newraw = 0; | |
1262 | #else | |
1263 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1264 | #endif | |
1265 | if (data->newraw) { | |
1266 | Py_INCREF(data->newraw); | |
1267 | data->newargs = PyTuple_New(1); | |
1268 | PyTuple_SetItem(data->newargs, 0, obj); | |
1269 | } else { | |
1270 | data->newargs = obj; | |
1271 | } | |
1272 | Py_INCREF(data->newargs); | |
1273 | } | |
1274 | /* the destroy method, aka as the C++ delete method */ | |
1275 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1276 | if (PyErr_Occurred()) { | |
1277 | PyErr_Clear(); | |
1278 | data->destroy = 0; | |
1279 | } | |
1280 | if (data->destroy) { | |
1281 | int flags; | |
1282 | Py_INCREF(data->destroy); | |
1283 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1284 | #ifdef METH_O | |
1285 | data->delargs = !(flags & (METH_O)); | |
1286 | #else | |
1287 | data->delargs = 0; | |
1288 | #endif | |
1289 | } else { | |
1290 | data->delargs = 0; | |
1291 | } | |
1292 | data->implicitconv = 0; | |
1293 | return data; | |
1294 | } | |
1295 | } | |
1296 | ||
1297 | SWIGRUNTIME void | |
1298 | PySwigClientData_Del(PySwigClientData* data) | |
1299 | { | |
1300 | Py_XDECREF(data->newraw); | |
1301 | Py_XDECREF(data->newargs); | |
1302 | Py_XDECREF(data->destroy); | |
1303 | } | |
1304 | ||
1305 | /* =============== PySwigObject =====================*/ | |
1306 | ||
1307 | typedef struct { | |
1308 | PyObject_HEAD | |
1309 | void *ptr; | |
1310 | swig_type_info *ty; | |
1311 | int own; | |
1312 | PyObject *next; | |
1313 | } PySwigObject; | |
1314 | ||
1315 | SWIGRUNTIME PyObject * | |
1316 | PySwigObject_long(PySwigObject *v) | |
1317 | { | |
1318 | return PyLong_FromVoidPtr(v->ptr); | |
1319 | } | |
1320 | ||
1321 | SWIGRUNTIME PyObject * | |
1322 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1323 | { | |
1324 | PyObject *res = NULL; | |
1325 | PyObject *args = PyTuple_New(1); | |
1326 | if (args) { | |
1327 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1328 | PyObject *ofmt = PyString_FromString(fmt); | |
1329 | if (ofmt) { | |
1330 | res = PyString_Format(ofmt,args); | |
1331 | Py_DECREF(ofmt); | |
1332 | } | |
1333 | Py_DECREF(args); | |
1334 | } | |
1335 | } | |
1336 | return res; | |
1337 | } | |
1338 | ||
1339 | SWIGRUNTIME PyObject * | |
1340 | PySwigObject_oct(PySwigObject *v) | |
1341 | { | |
1342 | return PySwigObject_format("%o",v); | |
1343 | } | |
1344 | ||
1345 | SWIGRUNTIME PyObject * | |
1346 | PySwigObject_hex(PySwigObject *v) | |
1347 | { | |
1348 | return PySwigObject_format("%x",v); | |
1349 | } | |
1350 | ||
1351 | SWIGRUNTIME PyObject * | |
1352 | #ifdef METH_NOARGS | |
1353 | PySwigObject_repr(PySwigObject *v) | |
1354 | #else | |
1355 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1356 | #endif | |
1357 | { | |
1358 | const char *name = SWIG_TypePrettyName(v->ty); | |
1359 | PyObject *hex = PySwigObject_hex(v); | |
1360 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1361 | Py_DECREF(hex); | |
1362 | if (v->next) { | |
1363 | #ifdef METH_NOARGS | |
1364 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1365 | #else | |
1366 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1367 | #endif | |
1368 | PyString_ConcatAndDel(&repr,nrep); | |
1369 | } | |
1370 | return repr; | |
1371 | } | |
1372 | ||
1373 | SWIGRUNTIME int | |
1374 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1375 | { | |
1376 | #ifdef METH_NOARGS | |
1377 | PyObject *repr = PySwigObject_repr(v); | |
1378 | #else | |
1379 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1380 | #endif | |
1381 | if (repr) { | |
1382 | fputs(PyString_AsString(repr), fp); | |
1383 | Py_DECREF(repr); | |
1384 | return 0; | |
1385 | } else { | |
1386 | return 1; | |
1387 | } | |
1388 | } | |
1389 | ||
1390 | SWIGRUNTIME PyObject * | |
1391 | PySwigObject_str(PySwigObject *v) | |
1392 | { | |
1393 | char result[SWIG_BUFFER_SIZE]; | |
1394 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1395 | PyString_FromString(result) : 0; | |
1396 | } | |
1397 | ||
1398 | SWIGRUNTIME int | |
1399 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1400 | { | |
1401 | void *i = v->ptr; | |
1402 | void *j = w->ptr; | |
1403 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1404 | } | |
1405 | ||
1406 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1407 | ||
1408 | SWIGRUNTIME PyTypeObject* | |
1409 | PySwigObject_type(void) { | |
1410 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1411 | return type; | |
1412 | } | |
1413 | ||
1414 | SWIGRUNTIMEINLINE int | |
1415 | PySwigObject_Check(PyObject *op) { | |
1416 | return ((op)->ob_type == PySwigObject_type()) | |
1417 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1418 | } | |
1419 | ||
1420 | SWIGRUNTIME PyObject * | |
1421 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1422 | ||
1423 | SWIGRUNTIME void | |
1424 | PySwigObject_dealloc(PyObject *v) | |
1425 | { | |
1426 | PySwigObject *sobj = (PySwigObject *) v; | |
1427 | PyObject *next = sobj->next; | |
1428 | if (sobj->own) { | |
1429 | swig_type_info *ty = sobj->ty; | |
1430 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1431 | PyObject *destroy = data ? data->destroy : 0; | |
1432 | if (destroy) { | |
1433 | /* destroy is always a VARARGS method */ | |
1434 | PyObject *res; | |
1435 | if (data->delargs) { | |
1436 | /* we need to create a temporal object to carry the destroy operation */ | |
1437 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1438 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1439 | Py_DECREF(tmp); | |
1440 | } else { | |
1441 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1442 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1443 | res = ((*meth)(mself, v)); | |
1444 | } | |
1445 | Py_XDECREF(res); | |
1446 | } else { | |
1447 | const char *name = SWIG_TypePrettyName(ty); | |
1448 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1449 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1450 | #endif | |
1451 | } | |
1452 | } | |
1453 | Py_XDECREF(next); | |
1454 | PyObject_DEL(v); | |
1455 | } | |
1456 | ||
1457 | SWIGRUNTIME PyObject* | |
1458 | PySwigObject_append(PyObject* v, PyObject* next) | |
1459 | { | |
1460 | PySwigObject *sobj = (PySwigObject *) v; | |
1461 | #ifndef METH_O | |
1462 | PyObject *tmp = 0; | |
1463 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1464 | next = tmp; | |
1465 | #endif | |
1466 | if (!PySwigObject_Check(next)) { | |
1467 | return NULL; | |
1468 | } | |
1469 | sobj->next = next; | |
1470 | Py_INCREF(next); | |
1471 | return SWIG_Py_Void(); | |
1472 | } | |
1473 | ||
1474 | SWIGRUNTIME PyObject* | |
1475 | #ifdef METH_NOARGS | |
1476 | PySwigObject_next(PyObject* v) | |
1477 | #else | |
1478 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1479 | #endif | |
1480 | { | |
1481 | PySwigObject *sobj = (PySwigObject *) v; | |
1482 | if (sobj->next) { | |
1483 | Py_INCREF(sobj->next); | |
1484 | return sobj->next; | |
1485 | } else { | |
1486 | return SWIG_Py_Void(); | |
1487 | } | |
1488 | } | |
1489 | ||
1490 | SWIGINTERN PyObject* | |
1491 | #ifdef METH_NOARGS | |
1492 | PySwigObject_disown(PyObject *v) | |
1493 | #else | |
1494 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1495 | #endif | |
1496 | { | |
1497 | PySwigObject *sobj = (PySwigObject *)v; | |
1498 | sobj->own = 0; | |
1499 | return SWIG_Py_Void(); | |
1500 | } | |
1501 | ||
1502 | SWIGINTERN PyObject* | |
1503 | #ifdef METH_NOARGS | |
1504 | PySwigObject_acquire(PyObject *v) | |
1505 | #else | |
1506 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1507 | #endif | |
1508 | { | |
1509 | PySwigObject *sobj = (PySwigObject *)v; | |
1510 | sobj->own = SWIG_POINTER_OWN; | |
1511 | return SWIG_Py_Void(); | |
1512 | } | |
1513 | ||
1514 | SWIGINTERN PyObject* | |
1515 | PySwigObject_own(PyObject *v, PyObject *args) | |
1516 | { | |
1517 | PyObject *val = 0; | |
1518 | #if (PY_VERSION_HEX < 0x02020000) | |
1519 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1520 | #else | |
1521 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1522 | #endif | |
1523 | { | |
1524 | return NULL; | |
1525 | } | |
1526 | else | |
1527 | { | |
1528 | PySwigObject *sobj = (PySwigObject *)v; | |
1529 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1530 | if (val) { | |
1531 | #ifdef METH_NOARGS | |
1532 | if (PyObject_IsTrue(val)) { | |
1533 | PySwigObject_acquire(v); | |
1534 | } else { | |
1535 | PySwigObject_disown(v); | |
1536 | } | |
1537 | #else | |
1538 | if (PyObject_IsTrue(val)) { | |
1539 | PySwigObject_acquire(v,args); | |
1540 | } else { | |
1541 | PySwigObject_disown(v,args); | |
1542 | } | |
1543 | #endif | |
1544 | } | |
1545 | return obj; | |
1546 | } | |
1547 | } | |
1548 | ||
1549 | #ifdef METH_O | |
1550 | static PyMethodDef | |
1551 | swigobject_methods[] = { | |
1552 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1553 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1554 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1555 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1556 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1557 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1558 | {0, 0, 0, 0} | |
1559 | }; | |
1560 | #else | |
1561 | static PyMethodDef | |
1562 | swigobject_methods[] = { | |
1563 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1564 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1565 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1566 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1567 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1568 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1569 | {0, 0, 0, 0} | |
1570 | }; | |
1571 | #endif | |
1572 | ||
1573 | #if PY_VERSION_HEX < 0x02020000 | |
1574 | SWIGINTERN PyObject * | |
1575 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1576 | { | |
1577 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1578 | } | |
1579 | #endif | |
1580 | ||
1581 | SWIGRUNTIME PyTypeObject* | |
1582 | _PySwigObject_type(void) { | |
1583 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1584 | ||
1585 | static PyNumberMethods PySwigObject_as_number = { | |
1586 | (binaryfunc)0, /*nb_add*/ | |
1587 | (binaryfunc)0, /*nb_subtract*/ | |
1588 | (binaryfunc)0, /*nb_multiply*/ | |
1589 | (binaryfunc)0, /*nb_divide*/ | |
1590 | (binaryfunc)0, /*nb_remainder*/ | |
1591 | (binaryfunc)0, /*nb_divmod*/ | |
1592 | (ternaryfunc)0,/*nb_power*/ | |
1593 | (unaryfunc)0, /*nb_negative*/ | |
1594 | (unaryfunc)0, /*nb_positive*/ | |
1595 | (unaryfunc)0, /*nb_absolute*/ | |
1596 | (inquiry)0, /*nb_nonzero*/ | |
1597 | 0, /*nb_invert*/ | |
1598 | 0, /*nb_lshift*/ | |
1599 | 0, /*nb_rshift*/ | |
1600 | 0, /*nb_and*/ | |
1601 | 0, /*nb_xor*/ | |
1602 | 0, /*nb_or*/ | |
1603 | (coercion)0, /*nb_coerce*/ | |
1604 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1605 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1606 | (unaryfunc)0, /*nb_float*/ | |
1607 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1608 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
1609 | #if PY_VERSION_HEX >= 0x02020000 | |
1610 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
1611 | #elif PY_VERSION_HEX >= 0x02000000 | |
1612 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
1613 | #endif | |
1614 | }; | |
1615 | ||
1616 | static PyTypeObject pyswigobject_type; | |
1617 | static int type_init = 0; | |
1618 | if (!type_init) { | |
1619 | const PyTypeObject tmp | |
1620 | = { | |
1621 | PyObject_HEAD_INIT(NULL) | |
1622 | 0, /* ob_size */ | |
1623 | (char *)"PySwigObject", /* tp_name */ | |
1624 | sizeof(PySwigObject), /* tp_basicsize */ | |
1625 | 0, /* tp_itemsize */ | |
1626 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1627 | (printfunc)PySwigObject_print, /* tp_print */ | |
1628 | #if PY_VERSION_HEX < 0x02020000 | |
1629 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1630 | #else | |
1631 | (getattrfunc)0, /* tp_getattr */ | |
1632 | #endif | |
1633 | (setattrfunc)0, /* tp_setattr */ | |
1634 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1635 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1636 | &PySwigObject_as_number, /* tp_as_number */ | |
1637 | 0, /* tp_as_sequence */ | |
1638 | 0, /* tp_as_mapping */ | |
1639 | (hashfunc)0, /* tp_hash */ | |
1640 | (ternaryfunc)0, /* tp_call */ | |
1641 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1642 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1643 | 0, /* tp_setattro */ | |
1644 | 0, /* tp_as_buffer */ | |
1645 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1646 | swigobject_doc, /* tp_doc */ | |
1647 | 0, /* tp_traverse */ | |
1648 | 0, /* tp_clear */ | |
1649 | 0, /* tp_richcompare */ | |
1650 | 0, /* tp_weaklistoffset */ | |
1651 | #if PY_VERSION_HEX >= 0x02020000 | |
1652 | 0, /* tp_iter */ | |
1653 | 0, /* tp_iternext */ | |
1654 | swigobject_methods, /* tp_methods */ | |
1655 | 0, /* tp_members */ | |
1656 | 0, /* tp_getset */ | |
1657 | 0, /* tp_base */ | |
1658 | 0, /* tp_dict */ | |
1659 | 0, /* tp_descr_get */ | |
1660 | 0, /* tp_descr_set */ | |
1661 | 0, /* tp_dictoffset */ | |
1662 | 0, /* tp_init */ | |
1663 | 0, /* tp_alloc */ | |
1664 | 0, /* tp_new */ | |
1665 | 0, /* tp_free */ | |
1666 | 0, /* tp_is_gc */ | |
1667 | 0, /* tp_bases */ | |
1668 | 0, /* tp_mro */ | |
1669 | 0, /* tp_cache */ | |
1670 | 0, /* tp_subclasses */ | |
1671 | 0, /* tp_weaklist */ | |
1672 | #endif | |
1673 | #if PY_VERSION_HEX >= 0x02030000 | |
1674 | 0, /* tp_del */ | |
1675 | #endif | |
1676 | #ifdef COUNT_ALLOCS | |
1677 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1678 | #endif | |
1679 | }; | |
1680 | pyswigobject_type = tmp; | |
1681 | pyswigobject_type.ob_type = &PyType_Type; | |
1682 | type_init = 1; | |
1683 | } | |
1684 | return &pyswigobject_type; | |
1685 | } | |
1686 | ||
1687 | SWIGRUNTIME PyObject * | |
1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) | |
1689 | { | |
1690 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); | |
1691 | if (sobj) { | |
1692 | sobj->ptr = ptr; | |
1693 | sobj->ty = ty; | |
1694 | sobj->own = own; | |
1695 | sobj->next = 0; | |
1696 | } | |
1697 | return (PyObject *)sobj; | |
1698 | } | |
1699 | ||
1700 | /* ----------------------------------------------------------------------------- | |
1701 | * Implements a simple Swig Packed type, and use it instead of string | |
1702 | * ----------------------------------------------------------------------------- */ | |
1703 | ||
1704 | typedef struct { | |
1705 | PyObject_HEAD | |
1706 | void *pack; | |
1707 | swig_type_info *ty; | |
1708 | size_t size; | |
1709 | } PySwigPacked; | |
1710 | ||
1711 | SWIGRUNTIME int | |
1712 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1713 | { | |
1714 | char result[SWIG_BUFFER_SIZE]; | |
1715 | fputs("<Swig Packed ", fp); | |
1716 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1717 | fputs("at ", fp); | |
1718 | fputs(result, fp); | |
1719 | } | |
1720 | fputs(v->ty->name,fp); | |
1721 | fputs(">", fp); | |
1722 | return 0; | |
1723 | } | |
1724 | ||
1725 | SWIGRUNTIME PyObject * | |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); | |
1731 | } else { | |
1732 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); | |
1733 | } | |
1734 | } | |
1735 | ||
1736 | SWIGRUNTIME PyObject * | |
1737 | PySwigPacked_str(PySwigPacked *v) | |
1738 | { | |
1739 | char result[SWIG_BUFFER_SIZE]; | |
1740 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
1741 | return PyString_FromFormat("%s%s", result, v->ty->name); | |
1742 | } else { | |
1743 | return PyString_FromString(v->ty->name); | |
1744 | } | |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
1750 | size_t i = v->size; | |
1751 | size_t j = w->size; | |
1752 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1753 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
1754 | } | |
1755 | ||
1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); | |
1757 | ||
1758 | SWIGRUNTIME PyTypeObject* | |
1759 | PySwigPacked_type(void) { | |
1760 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); | |
1761 | return type; | |
1762 | } | |
1763 | ||
1764 | SWIGRUNTIMEINLINE int | |
1765 | PySwigPacked_Check(PyObject *op) { | |
1766 | return ((op)->ob_type == _PySwigPacked_type()) | |
1767 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1768 | } | |
1769 | ||
1770 | SWIGRUNTIME void | |
1771 | PySwigPacked_dealloc(PyObject *v) | |
1772 | { | |
1773 | if (PySwigPacked_Check(v)) { | |
1774 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1775 | free(sobj->pack); | |
1776 | } | |
1777 | PyObject_DEL(v); | |
1778 | } | |
1779 | ||
1780 | SWIGRUNTIME PyTypeObject* | |
1781 | _PySwigPacked_type(void) { | |
1782 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1783 | static PyTypeObject pyswigpacked_type; | |
1784 | static int type_init = 0; | |
1785 | if (!type_init) { | |
1786 | const PyTypeObject tmp | |
1787 | = { | |
1788 | PyObject_HEAD_INIT(NULL) | |
1789 | 0, /* ob_size */ | |
1790 | (char *)"PySwigPacked", /* tp_name */ | |
1791 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1792 | 0, /* tp_itemsize */ | |
1793 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1794 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1795 | (getattrfunc)0, /* tp_getattr */ | |
1796 | (setattrfunc)0, /* tp_setattr */ | |
1797 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1798 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1799 | 0, /* tp_as_number */ | |
1800 | 0, /* tp_as_sequence */ | |
1801 | 0, /* tp_as_mapping */ | |
1802 | (hashfunc)0, /* tp_hash */ | |
1803 | (ternaryfunc)0, /* tp_call */ | |
1804 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1805 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1806 | 0, /* tp_setattro */ | |
1807 | 0, /* tp_as_buffer */ | |
1808 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1809 | swigpacked_doc, /* tp_doc */ | |
1810 | 0, /* tp_traverse */ | |
1811 | 0, /* tp_clear */ | |
1812 | 0, /* tp_richcompare */ | |
1813 | 0, /* tp_weaklistoffset */ | |
1814 | #if PY_VERSION_HEX >= 0x02020000 | |
1815 | 0, /* tp_iter */ | |
1816 | 0, /* tp_iternext */ | |
1817 | 0, /* tp_methods */ | |
1818 | 0, /* tp_members */ | |
1819 | 0, /* tp_getset */ | |
1820 | 0, /* tp_base */ | |
1821 | 0, /* tp_dict */ | |
1822 | 0, /* tp_descr_get */ | |
1823 | 0, /* tp_descr_set */ | |
1824 | 0, /* tp_dictoffset */ | |
1825 | 0, /* tp_init */ | |
1826 | 0, /* tp_alloc */ | |
1827 | 0, /* tp_new */ | |
1828 | 0, /* tp_free */ | |
1829 | 0, /* tp_is_gc */ | |
1830 | 0, /* tp_bases */ | |
1831 | 0, /* tp_mro */ | |
1832 | 0, /* tp_cache */ | |
1833 | 0, /* tp_subclasses */ | |
1834 | 0, /* tp_weaklist */ | |
1835 | #endif | |
1836 | #if PY_VERSION_HEX >= 0x02030000 | |
1837 | 0, /* tp_del */ | |
1838 | #endif | |
1839 | #ifdef COUNT_ALLOCS | |
1840 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1841 | #endif | |
1842 | }; | |
1843 | pyswigpacked_type = tmp; | |
1844 | pyswigpacked_type.ob_type = &PyType_Type; | |
1845 | type_init = 1; | |
1846 | } | |
1847 | return &pyswigpacked_type; | |
1848 | } | |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) | |
1852 | { | |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); | |
1854 | if (sobj) { | |
1855 | void *pack = malloc(size); | |
1856 | if (pack) { | |
1857 | memcpy(pack, ptr, size); | |
1858 | sobj->pack = pack; | |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
1864 | } | |
1865 | } | |
1866 | return (PyObject *) sobj; | |
1867 | } | |
1868 | ||
1869 | SWIGRUNTIME swig_type_info * | |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
1871 | { | |
1872 | if (PySwigPacked_Check(obj)) { | |
1873 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1874 | if (sobj->size != size) return 0; | |
1875 | memcpy(ptr, sobj->pack, size); | |
1876 | return sobj->ty; | |
1877 | } else { | |
1878 | return 0; | |
1879 | } | |
1880 | } | |
1881 | ||
1882 | /* ----------------------------------------------------------------------------- | |
1883 | * pointers/data manipulation | |
1884 | * ----------------------------------------------------------------------------- */ | |
1885 | ||
1886 | SWIGRUNTIMEINLINE PyObject * | |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
1891 | ||
1892 | SWIGRUNTIME PyObject * | |
1893 | SWIG_This(void) | |
1894 | { | |
1895 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1896 | return swig_this; | |
1897 | } | |
1898 | ||
1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ | |
1900 | ||
1901 | SWIGRUNTIME PySwigObject * | |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
1903 | { | |
1904 | if (PySwigObject_Check(pyobj)) { | |
1905 | return (PySwigObject *) pyobj; | |
1906 | } else { | |
1907 | PyObject *obj = 0; | |
1908 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1909 | if (PyInstance_Check(pyobj)) { | |
1910 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1911 | } else { | |
1912 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1913 | if (dictptr != NULL) { | |
1914 | PyObject *dict = *dictptr; | |
1915 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1916 | } else { | |
1917 | #ifdef PyWeakref_CheckProxy | |
1918 | if (PyWeakref_CheckProxy(pyobj)) { | |
1919 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1920 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1921 | } | |
1922 | #endif | |
1923 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1924 | if (obj) { | |
1925 | Py_DECREF(obj); | |
1926 | } else { | |
1927 | if (PyErr_Occurred()) PyErr_Clear(); | |
1928 | return 0; | |
1929 | } | |
1930 | } | |
1931 | } | |
1932 | #else | |
1933 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1934 | if (obj) { | |
1935 | Py_DECREF(obj); | |
1936 | } else { | |
1937 | if (PyErr_Occurred()) PyErr_Clear(); | |
1938 | return 0; | |
1939 | } | |
1940 | #endif | |
1941 | if (obj && !PySwigObject_Check(obj)) { | |
1942 | /* a PyObject is called 'this', try to get the 'real this' | |
1943 | PySwigObject from it */ | |
1944 | return SWIG_Python_GetSwigThis(obj); | |
1945 | } | |
1946 | return (PySwigObject *)obj; | |
1947 | } | |
1948 | } | |
1949 | ||
1950 | /* Acquire a pointer value */ | |
1951 | ||
1952 | SWIGRUNTIME int | |
1953 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1954 | if (own) { | |
1955 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1956 | if (sobj) { | |
1957 | int oldown = sobj->own; | |
1958 | sobj->own = own; | |
1959 | return oldown; | |
1960 | } | |
1961 | } | |
1962 | return 0; | |
1963 | } | |
1964 | ||
1965 | /* Convert a pointer value */ | |
1966 | ||
1967 | SWIGRUNTIME int | |
1968 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { | |
1969 | if (!obj) return SWIG_ERROR; | |
1970 | if (obj == Py_None) { | |
1971 | if (ptr) *ptr = 0; | |
1972 | return SWIG_OK; | |
1973 | } else { | |
1974 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1975 | while (sobj) { | |
1976 | void *vptr = sobj->ptr; | |
1977 | if (ty) { | |
1978 | swig_type_info *to = sobj->ty; | |
1979 | if (to == ty) { | |
1980 | /* no type cast needed */ | |
1981 | if (ptr) *ptr = vptr; | |
1982 | break; | |
1983 | } else { | |
1984 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1985 | if (!tc) { | |
1986 | sobj = (PySwigObject *)sobj->next; | |
1987 | } else { | |
1988 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1989 | break; | |
1990 | } | |
1991 | } | |
1992 | } else { | |
1993 | if (ptr) *ptr = vptr; | |
1994 | break; | |
1995 | } | |
1996 | } | |
1997 | if (sobj) { | |
1998 | if (own) *own = sobj->own; | |
1999 | if (flags & SWIG_POINTER_DISOWN) { | |
2000 | sobj->own = 0; | |
2001 | } | |
2002 | return SWIG_OK; | |
2003 | } else { | |
2004 | int res = SWIG_ERROR; | |
2005 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2006 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2007 | if (data && !data->implicitconv) { | |
2008 | PyObject *klass = data->klass; | |
2009 | if (klass) { | |
2010 | PyObject *impconv; | |
2011 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2012 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2013 | data->implicitconv = 0; | |
2014 | if (PyErr_Occurred()) { | |
2015 | PyErr_Clear(); | |
2016 | impconv = 0; | |
2017 | } | |
2018 | if (impconv) { | |
2019 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2020 | if (iobj) { | |
2021 | void *vptr; | |
2022 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2023 | if (SWIG_IsOK(res)) { | |
2024 | if (ptr) { | |
2025 | *ptr = vptr; | |
2026 | /* transfer the ownership to 'ptr' */ | |
2027 | iobj->own = 0; | |
2028 | res = SWIG_AddCast(res); | |
2029 | res = SWIG_AddNewMask(res); | |
2030 | } else { | |
2031 | res = SWIG_AddCast(res); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | Py_DECREF(impconv); | |
2036 | } | |
2037 | } | |
2038 | } | |
2039 | } | |
2040 | return res; | |
2041 | } | |
2042 | } | |
2043 | } | |
2044 | ||
2045 | /* Convert a function ptr value */ | |
2046 | ||
2047 | SWIGRUNTIME int | |
2048 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { | |
2049 | if (!PyCFunction_Check(obj)) { | |
2050 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
2051 | } else { | |
2052 | void *vptr = 0; | |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
2056 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; | |
2057 | if (desc) { | |
2058 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2059 | if (!desc) return SWIG_ERROR; | |
2060 | } | |
2061 | if (ty) { | |
2062 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2063 | if (!tc) return SWIG_ERROR; | |
2064 | *ptr = SWIG_TypeCast(tc,vptr); | |
2065 | } else { | |
2066 | *ptr = vptr; | |
2067 | } | |
2068 | return SWIG_OK; | |
2069 | } | |
2070 | } | |
2071 | ||
2072 | /* Convert a packed value value */ | |
2073 | ||
2074 | SWIGRUNTIME int | |
2075 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { | |
2076 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2077 | if (!to) return SWIG_ERROR; | |
2078 | if (ty) { | |
2079 | if (to != ty) { | |
2080 | /* check type cast? */ | |
2081 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2082 | if (!tc) return SWIG_ERROR; | |
2083 | } | |
2084 | } | |
2085 | return SWIG_OK; | |
2086 | } | |
2087 | ||
2088 | /* ----------------------------------------------------------------------------- | |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
2091 | ||
2092 | /* | |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
2096 | ||
2097 | SWIGRUNTIME PyObject* | |
2098 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2099 | { | |
2100 | #if (PY_VERSION_HEX >= 0x02020000) | |
2101 | PyObject *inst = 0; | |
2102 | PyObject *newraw = data->newraw; | |
2103 | if (newraw) { | |
2104 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2105 | if (inst) { | |
2106 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2107 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2108 | if (dictptr != NULL) { | |
2109 | PyObject *dict = *dictptr; | |
2110 | if (dict == NULL) { | |
2111 | dict = PyDict_New(); | |
2112 | *dictptr = dict; | |
2113 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2114 | } | |
2115 | } | |
2116 | #else | |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
2120 | } | |
2121 | } else { | |
2122 | PyObject *dict = PyDict_New(); | |
2123 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2124 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2125 | Py_DECREF(dict); | |
2126 | } | |
2127 | return inst; | |
2128 | #else | |
2129 | #if (PY_VERSION_HEX >= 0x02010000) | |
2130 | PyObject *inst; | |
2131 | PyObject *dict = PyDict_New(); | |
2132 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2133 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2134 | Py_DECREF(dict); | |
2135 | return (PyObject *) inst; | |
2136 | #else | |
2137 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2138 | if (inst == NULL) { | |
2139 | return NULL; | |
2140 | } | |
2141 | inst->in_class = (PyClassObject *)data->newargs; | |
2142 | Py_INCREF(inst->in_class); | |
2143 | inst->in_dict = PyDict_New(); | |
2144 | if (inst->in_dict == NULL) { | |
2145 | Py_DECREF(inst); | |
2146 | return NULL; | |
2147 | } | |
2148 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS | |
2149 | inst->in_weakreflist = NULL; | |
2150 | #endif | |
2151 | #ifdef Py_TPFLAGS_GC | |
2152 | PyObject_GC_Init(inst); | |
2153 | #endif | |
2154 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2155 | return (PyObject *) inst; | |
2156 | #endif | |
2157 | #endif | |
2158 | } | |
2159 | ||
2160 | SWIGRUNTIME void | |
2161 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2162 | { | |
2163 | PyObject *dict; | |
2164 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2165 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2166 | if (dictptr != NULL) { | |
2167 | dict = *dictptr; | |
2168 | if (dict == NULL) { | |
2169 | dict = PyDict_New(); | |
2170 | *dictptr = dict; | |
2171 | } | |
2172 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2173 | return; | |
2174 | } | |
2175 | #endif | |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); | |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
2180 | ||
2181 | ||
2182 | SWIGINTERN PyObject * | |
2183 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2184 | PyObject *obj[2]; | |
2185 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2186 | return NULL; | |
2187 | } else { | |
2188 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2189 | if (sthis) { | |
2190 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
2191 | } else { | |
2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); | |
2193 | } | |
2194 | return SWIG_Py_Void(); | |
2195 | } | |
2196 | } | |
2197 | ||
2198 | /* Create a new pointer object */ | |
2199 | ||
2200 | SWIGRUNTIME PyObject * | |
2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { | |
2202 | if (!ptr) { | |
2203 | return SWIG_Py_Void(); | |
2204 | } else { | |
2205 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2206 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2207 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2208 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2209 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2210 | if (inst) { | |
2211 | Py_DECREF(robj); | |
2212 | robj = inst; | |
2213 | } | |
2214 | } | |
2215 | return robj; | |
2216 | } | |
2217 | } | |
2218 | ||
2219 | /* Create a new packed object */ | |
2220 | ||
2221 | SWIGRUNTIMEINLINE PyObject * | |
2222 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
2223 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); | |
2224 | } | |
2225 | ||
2226 | /* -----------------------------------------------------------------------------* | |
2227 | * Get type list | |
2228 | * -----------------------------------------------------------------------------*/ | |
2229 | ||
2230 | #ifdef SWIG_LINK_RUNTIME | |
2231 | void *SWIG_ReturnGlobalTypeList(void *); | |
2232 | #endif | |
2233 | ||
2234 | SWIGRUNTIME swig_module_info * | |
2235 | SWIG_Python_GetModule(void) { | |
2236 | static void *type_pointer = (void *)0; | |
2237 | /* first check if module already created */ | |
2238 | if (!type_pointer) { | |
2239 | #ifdef SWIG_LINK_RUNTIME | |
2240 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2241 | #else | |
2242 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2243 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2244 | if (PyErr_Occurred()) { | |
2245 | PyErr_Clear(); | |
2246 | type_pointer = (void *)0; | |
2247 | } | |
2248 | #endif | |
2249 | } | |
2250 | return (swig_module_info *) type_pointer; | |
2251 | } | |
2252 | ||
2253 | #if PY_MAJOR_VERSION < 2 | |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
2256 | SWIGINTERN int | |
2257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2258 | { | |
2259 | PyObject *dict; | |
2260 | if (!PyModule_Check(m)) { | |
2261 | PyErr_SetString(PyExc_TypeError, | |
2262 | "PyModule_AddObject() needs module as first arg"); | |
2263 | return SWIG_ERROR; | |
2264 | } | |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
2268 | return SWIG_ERROR; | |
2269 | } | |
2270 | ||
2271 | dict = PyModule_GetDict(m); | |
2272 | if (dict == NULL) { | |
2273 | /* Internal error -- modules must have a dict! */ | |
2274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2275 | PyModule_GetName(m)); | |
2276 | return SWIG_ERROR; | |
2277 | } | |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
2279 | return SWIG_ERROR; | |
2280 | Py_DECREF(o); | |
2281 | return SWIG_OK; | |
2282 | } | |
2283 | #endif | |
2284 | ||
2285 | SWIGRUNTIME void | |
2286 | SWIG_Python_DestroyModule(void *vptr) | |
2287 | { | |
2288 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2289 | swig_type_info **types = swig_module->types; | |
2290 | size_t i; | |
2291 | for (i =0; i < swig_module->size; ++i) { | |
2292 | swig_type_info *ty = types[i]; | |
2293 | if (ty->owndata) { | |
2294 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2295 | if (data) PySwigClientData_Del(data); | |
2296 | } | |
2297 | } | |
2298 | Py_DECREF(SWIG_This()); | |
2299 | } | |
2300 | ||
2301 | SWIGRUNTIME void | |
2302 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2303 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2304 | ||
2305 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2306 | swig_empty_runtime_method_table); | |
2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); | |
2308 | if (pointer && module) { | |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
2310 | } else { | |
2311 | Py_XDECREF(pointer); | |
2312 | } | |
2313 | } | |
2314 | ||
2315 | /* The python cached type query */ | |
2316 | SWIGRUNTIME PyObject * | |
2317 | SWIG_Python_TypeCache() { | |
2318 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2319 | return cache; | |
2320 | } | |
2321 | ||
2322 | SWIGRUNTIME swig_type_info * | |
2323 | SWIG_Python_TypeQuery(const char *type) | |
2324 | { | |
2325 | PyObject *cache = SWIG_Python_TypeCache(); | |
2326 | PyObject *key = PyString_FromString(type); | |
2327 | PyObject *obj = PyDict_GetItem(cache, key); | |
2328 | swig_type_info *descriptor; | |
2329 | if (obj) { | |
2330 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2331 | } else { | |
2332 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2333 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2334 | if (descriptor) { | |
2335 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2336 | PyDict_SetItem(cache, key, obj); | |
2337 | Py_DECREF(obj); | |
2338 | } | |
2339 | } | |
2340 | Py_DECREF(key); | |
2341 | return descriptor; | |
2342 | } | |
2343 | ||
2344 | /* | |
2345 | For backward compatibility only | |
2346 | */ | |
2347 | #define SWIG_POINTER_EXCEPTION 0 | |
2348 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2349 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2350 | ||
2351 | SWIGRUNTIME int | |
2352 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2353 | { | |
2354 | if (PyErr_Occurred()) { | |
2355 | PyObject *type = 0; | |
2356 | PyObject *value = 0; | |
2357 | PyObject *traceback = 0; | |
2358 | PyErr_Fetch(&type, &value, &traceback); | |
2359 | if (value) { | |
2360 | PyObject *old_str = PyObject_Str(value); | |
2361 | Py_XINCREF(type); | |
2362 | PyErr_Clear(); | |
2363 | if (infront) { | |
2364 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2365 | } else { | |
2366 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2367 | } | |
2368 | Py_DECREF(old_str); | |
2369 | } | |
2370 | return 1; | |
2371 | } else { | |
2372 | return 0; | |
2373 | } | |
2374 | } | |
2375 | ||
2376 | SWIGRUNTIME int | |
2377 | SWIG_Python_ArgFail(int argnum) | |
2378 | { | |
2379 | if (PyErr_Occurred()) { | |
2380 | /* add information about failing argument */ | |
2381 | char mesg[256]; | |
2382 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2383 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2384 | } else { | |
2385 | return 0; | |
2386 | } | |
2387 | } | |
2388 | ||
2389 | SWIGRUNTIMEINLINE const char * | |
2390 | PySwigObject_GetDesc(PyObject *self) | |
2391 | { | |
2392 | PySwigObject *v = (PySwigObject *)self; | |
2393 | swig_type_info *ty = v ? v->ty : 0; | |
2394 | return ty ? ty->str : (char*)""; | |
2395 | } | |
2396 | ||
2397 | SWIGRUNTIME void | |
2398 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2399 | { | |
2400 | if (type) { | |
2401 | #if defined(SWIG_COBJECT_TYPES) | |
2402 | if (obj && PySwigObject_Check(obj)) { | |
2403 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2404 | if (otype) { | |
2405 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2406 | type, otype); | |
2407 | return; | |
2408 | } | |
2409 | } else | |
2410 | #endif | |
2411 | { | |
2412 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2413 | if (otype) { | |
2414 | PyObject *str = PyObject_Str(obj); | |
2415 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2416 | if (cstr) { | |
2417 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2418 | type, otype, cstr); | |
2419 | } else { | |
2420 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2421 | type, otype); | |
2422 | } | |
2423 | Py_XDECREF(str); | |
2424 | return; | |
2425 | } | |
2426 | } | |
2427 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2428 | } else { | |
2429 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2430 | } | |
2431 | } | |
2432 | ||
2433 | ||
2434 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2435 | SWIGRUNTIME void * | |
2436 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2437 | void *result; | |
2438 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2439 | PyErr_Clear(); | |
2440 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2441 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2442 | SWIG_Python_ArgFail(argnum); | |
2443 | } | |
2444 | } | |
2445 | return result; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | #ifdef __cplusplus | |
2450 | #if 0 | |
2451 | { /* cc-mode */ | |
2452 | #endif | |
2453 | } | |
2454 | #endif | |
2455 | ||
2456 | ||
2457 | ||
2458 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2459 | ||
2460 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2461 | ||
2462 | ||
2463 | ||
2464 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2465 | ||
2466 | #define SWIGTYPE_p_char swig_types[0] | |
d7645bfd VZ |
2467 | #define SWIGTYPE_p_double swig_types[1] |
2468 | #define SWIGTYPE_p_form_ops_t swig_types[2] | |
2469 | #define SWIGTYPE_p_int swig_types[3] | |
2470 | #define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[4] | |
2471 | #define SWIGTYPE_p_p_wxAuiNotebook swig_types[5] | |
2472 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxColourDialog swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxControl swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxDirDialog swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxFileDialog swig_types[13] | |
2480 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[14] | |
2481 | #define SWIGTYPE_p_p_wxFontDialog swig_types[15] | |
2482 | #define SWIGTYPE_p_p_wxFrame swig_types[16] | |
2483 | #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[17] | |
2484 | #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[18] | |
2485 | #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[19] | |
2486 | #define SWIGTYPE_p_p_wxMenuBar swig_types[20] | |
2487 | #define SWIGTYPE_p_p_wxMessageDialog swig_types[21] | |
2488 | #define SWIGTYPE_p_p_wxMiniFrame swig_types[22] | |
2489 | #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[23] | |
2490 | #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[24] | |
2491 | #define SWIGTYPE_p_p_wxPanel swig_types[25] | |
2492 | #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[26] | |
2493 | #define SWIGTYPE_p_p_wxPopupWindow swig_types[27] | |
2494 | #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[28] | |
2495 | #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[29] | |
2496 | #define SWIGTYPE_p_p_wxPreviewFrame swig_types[30] | |
2497 | #define SWIGTYPE_p_p_wxProgressDialog swig_types[31] | |
2498 | #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[32] | |
2499 | #define SWIGTYPE_p_p_wxPyPanel swig_types[33] | |
2500 | #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[34] | |
2501 | #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[35] | |
2502 | #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[36] | |
2503 | #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[37] | |
2504 | #define SWIGTYPE_p_p_wxPyVListBox swig_types[38] | |
2505 | #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[39] | |
2506 | #define SWIGTYPE_p_p_wxPyWindow swig_types[40] | |
2507 | #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[41] | |
2508 | #define SWIGTYPE_p_p_wxSashWindow swig_types[42] | |
2509 | #define SWIGTYPE_p_p_wxScrolledWindow swig_types[43] | |
2510 | #define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[44] | |
2511 | #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[45] | |
2512 | #define SWIGTYPE_p_p_wxSplashScreen swig_types[46] | |
2513 | #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[47] | |
2514 | #define SWIGTYPE_p_p_wxSplitterWindow swig_types[48] | |
2515 | #define SWIGTYPE_p_p_wxStatusBar swig_types[49] | |
2516 | #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[50] | |
2517 | #define SWIGTYPE_p_p_wxTipWindow swig_types[51] | |
2518 | #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[52] | |
2519 | #define SWIGTYPE_p_p_wxWindow swig_types[53] | |
2520 | #define SWIGTYPE_p_unsigned_char swig_types[54] | |
2521 | #define SWIGTYPE_p_unsigned_int swig_types[55] | |
2522 | #define SWIGTYPE_p_unsigned_long swig_types[56] | |
2523 | #define SWIGTYPE_p_wxANIHandler swig_types[57] | |
2524 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[58] | |
2525 | #define SWIGTYPE_p_wxActivateEvent swig_types[59] | |
d754c85e RD |
2526 | #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[60] |
2527 | #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiDockArt swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiDockInfo swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiDockUIPart swig_types[64] | |
2531 | #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[65] | |
2532 | #define SWIGTYPE_p_wxAuiManager swig_types[66] | |
2533 | #define SWIGTYPE_p_wxAuiManagerEvent swig_types[67] | |
2534 | #define SWIGTYPE_p_wxAuiNotebook swig_types[68] | |
2535 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[69] | |
2536 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[70] | |
2537 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[71] | |
2538 | #define SWIGTYPE_p_wxAuiPaneButton swig_types[72] | |
2539 | #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[73] | |
2540 | #define SWIGTYPE_p_wxAuiPaneInfo swig_types[74] | |
2541 | #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[75] | |
2542 | #define SWIGTYPE_p_wxAuiSimpleTabArt swig_types[76] | |
2543 | #define SWIGTYPE_p_wxAuiTabArt swig_types[77] | |
2544 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[78] | |
2545 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[79] | |
2546 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[80] | |
2547 | #define SWIGTYPE_p_wxBMPHandler swig_types[81] | |
2548 | #define SWIGTYPE_p_wxBitmap swig_types[82] | |
2549 | #define SWIGTYPE_p_wxBoxSizer swig_types[83] | |
2550 | #define SWIGTYPE_p_wxCURHandler swig_types[84] | |
2551 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[85] | |
2552 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[86] | |
2553 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[87] | |
2554 | #define SWIGTYPE_p_wxCloseEvent swig_types[88] | |
59ccbf7f RD |
2555 | #define SWIGTYPE_p_wxColour swig_types[89] |
2556 | #define SWIGTYPE_p_wxColourData swig_types[90] | |
2557 | #define SWIGTYPE_p_wxColourDialog swig_types[91] | |
2558 | #define SWIGTYPE_p_wxCommandEvent swig_types[92] | |
2559 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[93] | |
2560 | #define SWIGTYPE_p_wxControl swig_types[94] | |
2561 | #define SWIGTYPE_p_wxControlWithItems swig_types[95] | |
2562 | #define SWIGTYPE_p_wxDC swig_types[96] | |
2563 | #define SWIGTYPE_p_wxDateEvent swig_types[97] | |
2564 | #define SWIGTYPE_p_wxDialog swig_types[98] | |
2565 | #define SWIGTYPE_p_wxDirDialog swig_types[99] | |
2566 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[100] | |
2567 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[101] | |
2568 | #define SWIGTYPE_p_wxDuplexMode swig_types[102] | |
2569 | #define SWIGTYPE_p_wxEraseEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxEvent swig_types[104] | |
2571 | #define SWIGTYPE_p_wxEvtHandler swig_types[105] | |
2572 | #define SWIGTYPE_p_wxFSFile swig_types[106] | |
2573 | #define SWIGTYPE_p_wxFileDialog swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFileSystem swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[109] | |
2576 | #define SWIGTYPE_p_wxFindReplaceData swig_types[110] | |
2577 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[111] | |
2578 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFocusEvent swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFont swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFontData swig_types[115] | |
2582 | #define SWIGTYPE_p_wxFontDialog swig_types[116] | |
2583 | #define SWIGTYPE_p_wxFrame swig_types[117] | |
2584 | #define SWIGTYPE_p_wxGBSizerItem swig_types[118] | |
2585 | #define SWIGTYPE_p_wxGIFHandler swig_types[119] | |
2586 | #define SWIGTYPE_p_wxGridBagSizer swig_types[120] | |
2587 | #define SWIGTYPE_p_wxGridSizer swig_types[121] | |
2588 | #define SWIGTYPE_p_wxICOHandler swig_types[122] | |
2589 | #define SWIGTYPE_p_wxIconizeEvent swig_types[123] | |
2590 | #define SWIGTYPE_p_wxIdleEvent swig_types[124] | |
2591 | #define SWIGTYPE_p_wxImage swig_types[125] | |
2592 | #define SWIGTYPE_p_wxImageHandler swig_types[126] | |
2593 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[127] | |
2594 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[128] | |
2595 | #define SWIGTYPE_p_wxJPEGHandler swig_types[129] | |
2596 | #define SWIGTYPE_p_wxKeyEvent swig_types[130] | |
2597 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[131] | |
2598 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[132] | |
2599 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[133] | |
2600 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[135] | |
2602 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[136] | |
2603 | #define SWIGTYPE_p_wxMenu swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMenuBar swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMenuEvent swig_types[139] | |
2606 | #define SWIGTYPE_p_wxMenuItem swig_types[140] | |
2607 | #define SWIGTYPE_p_wxMessageDialog swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMiniFrame swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMouseEvent swig_types[145] | |
2612 | #define SWIGTYPE_p_wxMoveEvent swig_types[146] | |
2613 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[147] | |
2614 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[148] | |
2615 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[149] | |
2616 | #define SWIGTYPE_p_wxNotifyEvent swig_types[150] | |
2617 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[151] | |
2618 | #define SWIGTYPE_p_wxObject swig_types[152] | |
2619 | #define SWIGTYPE_p_wxPCXHandler swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPNGHandler swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPNMHandler swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPaintEvent swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPanel swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPaperSize swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPoint swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPopupWindow swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPreviewFrame swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPrintData swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPrintDialog swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPrintDialogData swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPrintPreview swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPrinter swig_types[172] | |
2639 | #define SWIGTYPE_p_wxProgressDialog swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPyApp swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyEvent swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyImageHandler swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyPanel swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyPrintout swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPySizer swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyVListBox swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[191] | |
2658 | #define SWIGTYPE_p_wxPyValidator swig_types[192] | |
2659 | #define SWIGTYPE_p_wxPyWindow swig_types[193] | |
2660 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[194] | |
2661 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[195] | |
2662 | #define SWIGTYPE_p_wxRect swig_types[196] | |
2663 | #define SWIGTYPE_p_wxSashEvent swig_types[197] | |
2664 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[198] | |
2665 | #define SWIGTYPE_p_wxSashWindow swig_types[199] | |
2666 | #define SWIGTYPE_p_wxScrollEvent swig_types[200] | |
2667 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[201] | |
2668 | #define SWIGTYPE_p_wxScrolledWindow swig_types[202] | |
2669 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[203] | |
2670 | #define SWIGTYPE_p_wxShowEvent swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSize swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSizeEvent swig_types[208] | |
2675 | #define SWIGTYPE_p_wxSizer swig_types[209] | |
2676 | #define SWIGTYPE_p_wxSizerItem swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSplashScreen swig_types[211] | |
2678 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[212] | |
2679 | #define SWIGTYPE_p_wxSplitterEvent swig_types[213] | |
2680 | #define SWIGTYPE_p_wxSplitterWindow swig_types[214] | |
2681 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[215] | |
2682 | #define SWIGTYPE_p_wxStatusBar swig_types[216] | |
2683 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[217] | |
2684 | #define SWIGTYPE_p_wxString swig_types[218] | |
2685 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[219] | |
2686 | #define SWIGTYPE_p_wxTGAHandler swig_types[220] | |
2687 | #define SWIGTYPE_p_wxTIFFHandler swig_types[221] | |
2688 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[222] | |
2689 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[223] | |
2690 | #define SWIGTYPE_p_wxTipWindow swig_types[224] | |
2691 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[225] | |
2692 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[226] | |
2693 | #define SWIGTYPE_p_wxValidator swig_types[227] | |
2694 | #define SWIGTYPE_p_wxWindow swig_types[228] | |
2695 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[229] | |
2696 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[230] | |
2697 | #define SWIGTYPE_p_wxXPMHandler swig_types[231] | |
2698 | static swig_type_info *swig_types[233]; | |
2699 | static swig_module_info swig_module = {swig_types, 232, 0, 0, 0, 0}; | |
27e45892 RD |
2700 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2701 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2702 | ||
2703 | /* -------- TYPES TABLE (END) -------- */ | |
2704 | ||
2705 | #if (PY_VERSION_HEX <= 0x02000000) | |
2706 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2707 | # error "This python version requires to use swig with the '-classic' option" | |
2708 | # endif | |
2709 | #endif | |
2710 | #if (PY_VERSION_HEX <= 0x02020000) | |
2711 | # error "This python version requires to use swig with the '-nomodern' option" | |
2712 | #endif | |
2713 | #if (PY_VERSION_HEX <= 0x02020000) | |
2714 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2715 | #endif | |
2716 | #ifndef METH_O | |
2717 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2718 | #endif | |
2719 | ||
2720 | /*----------------------------------------------- | |
2721 | @(target):= _aui.so | |
2722 | ------------------------------------------------*/ | |
2723 | #define SWIG_init init_aui | |
2724 | ||
2725 | #define SWIG_name "_aui" | |
2726 | ||
2727 | #define SWIGVERSION 0x010329 | |
2728 | ||
2729 | ||
2730 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2731 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2732 | ||
2733 | ||
2734 | #include <stdexcept> | |
2735 | ||
2736 | ||
2737 | namespace swig { | |
2738 | class PyObject_ptr { | |
2739 | protected: | |
2740 | PyObject *_obj; | |
2741 | ||
2742 | public: | |
2743 | PyObject_ptr() :_obj(0) | |
2744 | { | |
2745 | } | |
2746 | ||
2747 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2748 | { | |
2749 | Py_XINCREF(_obj); | |
2750 | } | |
2751 | ||
2752 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2753 | { | |
2754 | if (initial_ref) Py_XINCREF(_obj); | |
2755 | } | |
2756 | ||
2757 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2758 | { | |
2759 | Py_XINCREF(item._obj); | |
2760 | Py_XDECREF(_obj); | |
2761 | _obj = item._obj; | |
2762 | return *this; | |
2763 | } | |
2764 | ||
2765 | ~PyObject_ptr() | |
2766 | { | |
2767 | Py_XDECREF(_obj); | |
2768 | } | |
2769 | ||
2770 | operator PyObject *() const | |
2771 | { | |
2772 | return _obj; | |
2773 | } | |
2774 | ||
2775 | PyObject *operator->() const | |
2776 | { | |
2777 | return _obj; | |
2778 | } | |
2779 | }; | |
2780 | } | |
2781 | ||
2782 | ||
2783 | namespace swig { | |
2784 | struct PyObject_var : PyObject_ptr { | |
2785 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2786 | ||
2787 | PyObject_var & operator = (PyObject* obj) | |
2788 | { | |
2789 | Py_XDECREF(_obj); | |
2790 | _obj = obj; | |
2791 | return *this; | |
2792 | } | |
2793 | }; | |
2794 | } | |
2795 | ||
2796 | ||
2797 | #include "wx/wxPython/wxPython.h" | |
2798 | #include "wx/wxPython/pyclasses.h" | |
2799 | #include <wx/aui/aui.h> | |
2800 | ||
2801 | ||
2802 | #define SWIG_From_long PyInt_FromLong | |
2803 | ||
2804 | ||
2805 | SWIGINTERNINLINE PyObject * | |
2806 | SWIG_From_int (int value) | |
2807 | { | |
2808 | return SWIG_From_long (value); | |
2809 | } | |
2810 | ||
2811 | ||
2812 | #include <limits.h> | |
2813 | #ifndef LLONG_MIN | |
2814 | # define LLONG_MIN LONG_LONG_MIN | |
2815 | #endif | |
2816 | #ifndef LLONG_MAX | |
2817 | # define LLONG_MAX LONG_LONG_MAX | |
2818 | #endif | |
2819 | #ifndef ULLONG_MAX | |
2820 | # define ULLONG_MAX ULONG_LONG_MAX | |
2821 | #endif | |
2822 | ||
2823 | ||
2824 | SWIGINTERN int | |
2825 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2826 | { | |
2827 | if (PyNumber_Check(obj)) { | |
2828 | if (val) *val = PyInt_AsLong(obj); | |
2829 | return SWIG_OK; | |
2830 | } | |
2831 | return SWIG_TypeError; | |
2832 | } | |
2833 | ||
2834 | ||
2835 | SWIGINTERN int | |
2836 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2837 | { | |
2838 | long v; | |
2839 | int res = SWIG_AsVal_long (obj, &v); | |
2840 | if (SWIG_IsOK(res)) { | |
2841 | if ((v < INT_MIN || v > INT_MAX)) { | |
2842 | return SWIG_OverflowError; | |
2843 | } else { | |
2844 | if (val) *val = static_cast< int >(v); | |
2845 | } | |
2846 | } | |
2847 | return res; | |
2848 | } | |
2849 | ||
2850 | ||
2851 | SWIGINTERN int | |
2852 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2853 | { | |
2854 | if (obj == Py_True) { | |
2855 | if (val) *val = true; | |
2856 | return SWIG_OK; | |
2857 | } else if (obj == Py_False) { | |
2858 | if (val) *val = false; | |
2859 | return SWIG_OK; | |
2860 | } else { | |
2861 | long v = 0; | |
2862 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2863 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2864 | return res; | |
2865 | } | |
2866 | } | |
2867 | ||
d7645bfd VZ |
2868 | |
2869 | SWIGINTERN int | |
2870 | SWIG_AsVal_double (PyObject *obj, double* val) | |
2871 | { | |
2872 | if (PyNumber_Check(obj)) { | |
2873 | if (val) *val = PyFloat_AsDouble(obj); | |
2874 | return SWIG_OK; | |
2875 | } | |
2876 | return SWIG_TypeError; | |
2877 | } | |
2878 | ||
5eb8189c RD |
2879 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2880 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2881 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2882 | |
10044bf1 RD |
2883 | SWIGINTERN int |
2884 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2885 | { | |
2886 | long v = 0; | |
2887 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2888 | return SWIG_TypeError; | |
2889 | } | |
2890 | else if (val) | |
2891 | *val = (unsigned long)v; | |
2892 | return SWIG_OK; | |
2893 | } | |
2894 | ||
2895 | ||
2896 | SWIGINTERNINLINE int | |
2897 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2898 | { | |
2899 | unsigned long v; | |
2900 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2901 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2902 | return res; | |
2903 | } | |
2904 | ||
2905 | ||
2906 | SWIGINTERNINLINE PyObject* | |
2907 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2908 | { | |
2909 | return (value > LONG_MAX) ? | |
2910 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2911 | } | |
2912 | ||
2913 | ||
2914 | SWIGINTERNINLINE PyObject * | |
2915 | SWIG_From_size_t (size_t value) | |
2916 | { | |
2917 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2918 | } | |
2919 | ||
2920 | ||
5c8c7dd3 | 2921 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2922 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2923 | { |
5eb8189c | 2924 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2925 | |
2926 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2927 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2928 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2929 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2930 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2931 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2932 | ||
2933 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2934 | wxWindow* window, |
27e45892 RD |
2935 | int orientation, |
2936 | const wxRect& rect) | |
2937 | { | |
2938 | bool found; | |
2939 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2940 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2941 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2942 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2943 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2944 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2945 | odc, owin, orientation, orect)); | |
27e45892 | 2946 | Py_DECREF(odc); |
8f514ab4 | 2947 | Py_DECREF(owin); |
27e45892 RD |
2948 | Py_DECREF(orect); |
2949 | } | |
2950 | wxPyEndBlockThreads(blocked); | |
2951 | if (! found) | |
5eb8189c | 2952 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2953 | } |
2954 | ||
2955 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2956 | wxWindow* window, |
27e45892 RD |
2957 | int orientation, |
2958 | const wxRect& rect) | |
2959 | { | |
2960 | bool found; | |
2961 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2962 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2963 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2964 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2965 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2966 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2967 | odc, owin, orientation, orect)); | |
27e45892 | 2968 | Py_DECREF(odc); |
8f514ab4 | 2969 | Py_DECREF(owin); |
27e45892 RD |
2970 | Py_DECREF(orect); |
2971 | } | |
2972 | wxPyEndBlockThreads(blocked); | |
2973 | if (! found) | |
5eb8189c | 2974 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2975 | } |
2976 | ||
2977 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2978 | wxWindow* window, |
27e45892 RD |
2979 | const wxString& text, |
2980 | const wxRect& rect, | |
5eb8189c | 2981 | wxAuiPaneInfo& pane) |
27e45892 RD |
2982 | { |
2983 | bool found; | |
2984 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2985 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2986 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2987 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2988 | PyObject* otext = wx2PyString(text); |
2989 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2990 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
2991 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2992 | odc, owin, otext, orect, opane)); | |
27e45892 | 2993 | Py_DECREF(odc); |
8f514ab4 | 2994 | Py_DECREF(owin); |
27e45892 RD |
2995 | Py_DECREF(otext); |
2996 | Py_DECREF(orect); | |
2997 | Py_DECREF(opane); | |
2998 | } | |
2999 | wxPyEndBlockThreads(blocked); | |
3000 | if (! found) | |
5eb8189c | 3001 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
3002 | } |
3003 | ||
3004 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 3005 | wxWindow* window, |
27e45892 | 3006 | const wxRect& rect, |
5eb8189c | 3007 | wxAuiPaneInfo& pane) |
27e45892 RD |
3008 | { |
3009 | bool found; | |
3010 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3011 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3012 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3013 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3014 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3015 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3016 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3017 | Py_DECREF(odc); |
3018 | Py_DECREF(orect); | |
3019 | Py_DECREF(opane); | |
3020 | } | |
3021 | wxPyEndBlockThreads(blocked); | |
3022 | if (! found) | |
5eb8189c | 3023 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3024 | } |
3025 | ||
3026 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3027 | wxWindow* window, |
27e45892 | 3028 | const wxRect& rect, |
5eb8189c | 3029 | wxAuiPaneInfo& pane) |
27e45892 RD |
3030 | { |
3031 | bool found; | |
3032 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3033 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3034 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3035 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3036 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3037 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3038 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3039 | Py_DECREF(odc); | |
8f514ab4 | 3040 | Py_DECREF(owin); |
27e45892 RD |
3041 | Py_DECREF(orect); |
3042 | Py_DECREF(opane); | |
3043 | } | |
3044 | wxPyEndBlockThreads(blocked); | |
3045 | if (! found) | |
5eb8189c | 3046 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3047 | } |
3048 | ||
3049 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3050 | wxWindow* window, |
27e45892 RD |
3051 | int button, |
3052 | int button_state, | |
3053 | const wxRect& rect, | |
5eb8189c | 3054 | wxAuiPaneInfo& pane) |
27e45892 RD |
3055 | { |
3056 | bool found; | |
3057 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3058 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3059 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3060 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3061 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3062 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3063 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3064 | odc, owin, button, button_state, | |
27e45892 RD |
3065 | orect, opane)); |
3066 | Py_DECREF(odc); | |
8f514ab4 | 3067 | Py_DECREF(owin); |
27e45892 RD |
3068 | Py_DECREF(orect); |
3069 | Py_DECREF(opane); | |
3070 | } | |
3071 | wxPyEndBlockThreads(blocked); | |
3072 | if (! found) | |
5eb8189c | 3073 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3074 | } |
3075 | ||
3076 | PYPRIVATE; | |
3077 | ||
3078 | }; | |
3079 | ||
5eb8189c RD |
3080 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3081 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3082 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3083 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3084 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3085 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3086 | |
3087 | ||
5c8c7dd3 RD |
3088 | |
3089 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3090 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3091 | { |
5eb8189c | 3092 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3093 | |
8f514ab4 | 3094 | |
d95b9f2b | 3095 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3096 | wxWindow* wnd, |
5c8c7dd3 RD |
3097 | const wxRect& rect ) |
3098 | { | |
3099 | bool found; | |
3100 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3101 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3102 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3103 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3104 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3105 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3106 | Py_DECREF(odc); |
26c4d26f | 3107 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3108 | Py_DECREF(orect); |
3109 | } | |
3110 | wxPyEndBlockThreads(blocked); | |
3111 | if (!found) | |
26c4d26f | 3112 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3113 | } |
3114 | ||
d95b9f2b | 3115 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3116 | wxWindow* wnd, |
d754c85e | 3117 | const wxAuiNotebookPage& pane, |
5c8c7dd3 | 3118 | const wxRect& in_rect, |
36cb9ebe RD |
3119 | int close_button_state, |
3120 | wxRect* out_tab_rect, | |
3121 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3122 | int* x_extent) |
3123 | { | |
3124 | bool found; | |
36cb9ebe | 3125 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3126 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3127 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3128 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3129 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
d754c85e | 3130 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiNotebookPage"), 0); |
5c8c7dd3 | 3131 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
5c8c7dd3 | 3132 | PyObject* ro; |
5eb8189c | 3133 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3134 | "(OOOOOii)", |
d754c85e RD |
3135 | odc, ownd, orect, opane, |
3136 | close_button_state)); | |
5c8c7dd3 | 3137 | if (ro) { |
36cb9ebe | 3138 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3139 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3140 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3141 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3142 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3143 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3144 | else if (!wxRect_helper(o2, &out_button_rect)) |
3145 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3146 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3147 | PyErr_SetString(PyExc_TypeError, errmsg); |
3148 | else | |
36cb9ebe | 3149 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3150 | |
3151 | Py_DECREF(o1); | |
3152 | Py_DECREF(o2); | |
36cb9ebe | 3153 | Py_DECREF(o3); |
5c8c7dd3 RD |
3154 | } |
3155 | else { | |
3156 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3157 | } | |
3158 | Py_DECREF(ro); | |
3159 | } | |
3160 | ||
3161 | Py_DECREF(odc); | |
26c4d26f | 3162 | Py_DECREF(ownd); |
5c8c7dd3 | 3163 | Py_DECREF(orect); |
d754c85e | 3164 | Py_DECREF(opane); |
5c8c7dd3 RD |
3165 | } |
3166 | wxPyEndBlockThreads(blocked); | |
3167 | if (!found) | |
d754c85e | 3168 | wxAuiDefaultTabArt::DrawTab(dc, wnd, pane, in_rect, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3169 | } |
3170 | ||
3171 | ||
d95b9f2b | 3172 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3173 | wxWindow* wnd, |
8f514ab4 RD |
3174 | const wxRect& in_rect, |
3175 | int bitmap_id, | |
3176 | int button_state, | |
3177 | int orientation, | |
8f514ab4 RD |
3178 | wxRect* out_rect) |
3179 | { | |
3180 | bool found; | |
3181 | const char* errmsg = "DrawButton should return a wxRect"; | |
3182 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3183 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3184 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3185 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3186 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
8f514ab4 | 3187 | PyObject* ro; |
26c4d26f | 3188 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
d754c85e | 3189 | bitmap_id, button_state, orientation)); |
8f514ab4 RD |
3190 | if (ro) { |
3191 | if (!wxRect_helper(ro, &out_rect)) | |
3192 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3193 | Py_DECREF(ro); | |
3194 | } | |
3195 | ||
3196 | Py_DECREF(odc); | |
26c4d26f | 3197 | Py_DECREF(ownd); |
8f514ab4 | 3198 | Py_DECREF(orect); |
8f514ab4 RD |
3199 | } |
3200 | wxPyEndBlockThreads(blocked); | |
3201 | if (!found) | |
d754c85e | 3202 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect); |
8f514ab4 RD |
3203 | } |
3204 | ||
26c4d26f | 3205 | |
d95b9f2b | 3206 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3207 | wxWindow* wnd, |
8f514ab4 | 3208 | const wxString& caption, |
5172800e | 3209 | const wxBitmap& bitmap, |
8f514ab4 | 3210 | bool active, |
36cb9ebe | 3211 | int close_button_state, |
8f514ab4 RD |
3212 | int* x_extent) |
3213 | { | |
3214 | bool found; | |
3215 | wxSize rv, *prv = &rv; | |
3216 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3217 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3218 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3219 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3220 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3221 | PyObject* otext = wx2PyString(caption); |
5172800e | 3222 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3223 | PyObject* ro; |
5eb8189c | 3224 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3225 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3226 | if (ro) { |
3227 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3228 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3229 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3230 | if (!wxSize_helper(o1, &prv)) | |
3231 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3232 | else if (!PyInt_Check(o2)) | |
3233 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3234 | else | |
3235 | *x_extent = PyInt_AsLong(o2); | |
3236 | ||
3237 | Py_DECREF(o1); | |
3238 | Py_DECREF(o2); | |
3239 | } | |
3240 | else { | |
3241 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3242 | } | |
3243 | Py_DECREF(ro); | |
3244 | } | |
3245 | ||
3246 | Py_DECREF(odc); | |
26c4d26f | 3247 | Py_DECREF(ownd); |
8f514ab4 | 3248 | Py_DECREF(otext); |
5172800e | 3249 | Py_DECREF(obmp); |
8f514ab4 RD |
3250 | } |
3251 | wxPyEndBlockThreads(blocked); | |
3252 | if (!found) | |
5172800e | 3253 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3254 | return rv; |
3255 | } | |
26c4d26f | 3256 | |
d95b9f2b | 3257 | // TODO |
d754c85e | 3258 | // virtual int ShowDropDown( |
d95b9f2b | 3259 | // wxWindow* wnd, |
d754c85e | 3260 | // const wxAuiNotebookPageArray& items, |
d95b9f2b | 3261 | // int active_idx); |
d754c85e RD |
3262 | |
3263 | // virtual int GetIndentSize(); | |
3264 | ||
5172800e | 3265 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, |
d754c85e RD |
3266 | // const wxAuiNotebookPageArray& pages, |
3267 | // const wxSize& required_bmp_size); | |
5172800e RD |
3268 | // virtual wxAuiTabArt* Clone(); |
3269 | // virtual void SetFlags(unsigned int flags); | |
3270 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3271 | // size_t tab_count); | |
3272 | // virtual int GetIndentSize(); | |
3273 | ||
d95b9f2b | 3274 | |
8f514ab4 | 3275 | |
5c8c7dd3 RD |
3276 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3277 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3278 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3279 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3280 | |
3281 | PYPRIVATE; | |
3282 | }; | |
3283 | ||
3284 | ||
5eb8189c RD |
3285 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3286 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3287 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3288 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3289 | |
27e45892 RD |
3290 | #ifdef __cplusplus |
3291 | extern "C" { | |
3292 | #endif | |
5eb8189c | 3293 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3294 | { |
3295 | void *argp = 0; | |
5eb8189c | 3296 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3297 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3298 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3299 | } |
3300 | if (!argp) { | |
5eb8189c | 3301 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3302 | } else { |
5eb8189c RD |
3303 | wxAuiDockInfo * temp; |
3304 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3305 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3306 | if (SWIG_IsNewObj(res)) delete temp; |
3307 | } | |
3308 | } | |
3309 | return 0; | |
3310 | fail: | |
3311 | return 1; | |
3312 | } | |
3313 | ||
3314 | ||
5eb8189c | 3315 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3316 | PyObject *pyobj = 0; |
3317 | ||
5eb8189c | 3318 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3319 | return pyobj; |
3320 | } | |
3321 | ||
3322 | ||
5eb8189c | 3323 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3324 | { |
3325 | void *argp = 0; | |
5eb8189c | 3326 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3327 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3328 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3329 | } |
3330 | if (!argp) { | |
5eb8189c | 3331 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3332 | } else { |
5eb8189c RD |
3333 | wxAuiPaneInfo * temp; |
3334 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3335 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3336 | if (SWIG_IsNewObj(res)) delete temp; |
3337 | } | |
3338 | } | |
3339 | return 0; | |
3340 | fail: | |
3341 | return 1; | |
3342 | } | |
3343 | ||
3344 | ||
5eb8189c | 3345 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3346 | PyObject *pyobj = 0; |
3347 | ||
5eb8189c | 3348 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3349 | return pyobj; |
3350 | } | |
3351 | ||
3352 | ||
5eb8189c | 3353 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3354 | PyObject *resultobj = 0; |
5eb8189c | 3355 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3356 | |
5eb8189c | 3357 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3358 | { |
3359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3360 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3361 | wxPyEndAllowThreads(__tstate); |
3362 | if (PyErr_Occurred()) SWIG_fail; | |
3363 | } | |
5eb8189c | 3364 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3365 | return resultobj; |
3366 | fail: | |
3367 | return NULL; | |
3368 | } | |
3369 | ||
3370 | ||
5eb8189c | 3371 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3372 | PyObject *resultobj = 0; |
5eb8189c | 3373 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3374 | void *argp1 = 0 ; |
3375 | int res1 = 0 ; | |
3376 | PyObject *swig_obj[1] ; | |
3377 | ||
3378 | if (!args) SWIG_fail; | |
3379 | swig_obj[0] = args; | |
5eb8189c | 3380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3381 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3383 | } |
5eb8189c | 3384 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3385 | { |
3386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3387 | delete arg1; | |
3388 | ||
3389 | wxPyEndAllowThreads(__tstate); | |
3390 | if (PyErr_Occurred()) SWIG_fail; | |
3391 | } | |
3392 | resultobj = SWIG_Py_Void(); | |
3393 | return resultobj; | |
3394 | fail: | |
3395 | return NULL; | |
3396 | } | |
3397 | ||
3398 | ||
5eb8189c | 3399 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 3400 | PyObject *resultobj = 0; |
5eb8189c RD |
3401 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3402 | wxAuiPaneInfo arg2 ; | |
0f83f5da RD |
3403 | void *argp1 = 0 ; |
3404 | int res1 = 0 ; | |
3405 | void *argp2 ; | |
3406 | int res2 = 0 ; | |
3407 | PyObject * obj0 = 0 ; | |
3408 | PyObject * obj1 = 0 ; | |
3409 | char * kwnames[] = { | |
3410 | (char *) "self",(char *) "source", NULL | |
3411 | }; | |
3412 | ||
5eb8189c RD |
3413 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3414 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
0f83f5da | 3415 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
0f83f5da | 3417 | } |
5eb8189c | 3418 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
0f83f5da | 3419 | { |
5eb8189c | 3420 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
0f83f5da | 3421 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3422 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da RD |
3423 | } |
3424 | if (!argp2) { | |
5eb8189c | 3425 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da | 3426 | } else { |
5eb8189c | 3427 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
3428 | arg2 = *temp; |
3429 | if (SWIG_IsNewObj(res2)) delete temp; | |
3430 | } | |
3431 | } | |
3432 | { | |
3433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3434 | (arg1)->SafeSet(arg2); | |
3435 | wxPyEndAllowThreads(__tstate); | |
3436 | if (PyErr_Occurred()) SWIG_fail; | |
3437 | } | |
3438 | resultobj = SWIG_Py_Void(); | |
3439 | return resultobj; | |
3440 | fail: | |
3441 | return NULL; | |
3442 | } | |
3443 | ||
3444 | ||
5eb8189c | 3445 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3446 | PyObject *resultobj = 0; |
5eb8189c | 3447 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3448 | bool result; |
3449 | void *argp1 = 0 ; | |
3450 | int res1 = 0 ; | |
3451 | PyObject *swig_obj[1] ; | |
3452 | ||
3453 | if (!args) SWIG_fail; | |
3454 | swig_obj[0] = args; | |
5eb8189c | 3455 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3456 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3457 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3458 | } |
5eb8189c | 3459 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3460 | { |
3461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3462 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3463 | wxPyEndAllowThreads(__tstate); |
3464 | if (PyErr_Occurred()) SWIG_fail; | |
3465 | } | |
3466 | { | |
3467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3468 | } | |
3469 | return resultobj; | |
3470 | fail: | |
3471 | return NULL; | |
3472 | } | |
3473 | ||
3474 | ||
5eb8189c | 3475 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3476 | PyObject *resultobj = 0; |
5eb8189c | 3477 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3478 | bool result; |
3479 | void *argp1 = 0 ; | |
3480 | int res1 = 0 ; | |
3481 | PyObject *swig_obj[1] ; | |
3482 | ||
3483 | if (!args) SWIG_fail; | |
3484 | swig_obj[0] = args; | |
5eb8189c | 3485 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3486 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3487 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3488 | } |
5eb8189c | 3489 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3490 | { |
3491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3492 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3493 | wxPyEndAllowThreads(__tstate); |
3494 | if (PyErr_Occurred()) SWIG_fail; | |
3495 | } | |
3496 | { | |
3497 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3498 | } | |
3499 | return resultobj; | |
3500 | fail: | |
3501 | return NULL; | |
3502 | } | |
3503 | ||
3504 | ||
5eb8189c | 3505 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3506 | PyObject *resultobj = 0; |
5eb8189c | 3507 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3508 | bool result; |
3509 | void *argp1 = 0 ; | |
3510 | int res1 = 0 ; | |
3511 | PyObject *swig_obj[1] ; | |
3512 | ||
3513 | if (!args) SWIG_fail; | |
3514 | swig_obj[0] = args; | |
5eb8189c | 3515 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3516 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3518 | } |
5eb8189c | 3519 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3520 | { |
3521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3522 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3523 | wxPyEndAllowThreads(__tstate); |
3524 | if (PyErr_Occurred()) SWIG_fail; | |
3525 | } | |
3526 | { | |
3527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3528 | } | |
3529 | return resultobj; | |
3530 | fail: | |
3531 | return NULL; | |
3532 | } | |
3533 | ||
3534 | ||
5eb8189c | 3535 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3536 | PyObject *resultobj = 0; |
5eb8189c | 3537 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3538 | bool result; |
3539 | void *argp1 = 0 ; | |
3540 | int res1 = 0 ; | |
3541 | PyObject *swig_obj[1] ; | |
3542 | ||
3543 | if (!args) SWIG_fail; | |
3544 | swig_obj[0] = args; | |
5eb8189c | 3545 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3546 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3547 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3548 | } |
5eb8189c | 3549 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3550 | { |
3551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3552 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3553 | wxPyEndAllowThreads(__tstate); |
3554 | if (PyErr_Occurred()) SWIG_fail; | |
3555 | } | |
3556 | { | |
3557 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3558 | } | |
3559 | return resultobj; | |
3560 | fail: | |
3561 | return NULL; | |
3562 | } | |
3563 | ||
3564 | ||
5eb8189c | 3565 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3566 | PyObject *resultobj = 0; |
5eb8189c | 3567 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3568 | bool result; |
3569 | void *argp1 = 0 ; | |
3570 | int res1 = 0 ; | |
3571 | PyObject *swig_obj[1] ; | |
3572 | ||
3573 | if (!args) SWIG_fail; | |
3574 | swig_obj[0] = args; | |
5eb8189c | 3575 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3576 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3578 | } |
5eb8189c | 3579 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3580 | { |
3581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3582 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3583 | wxPyEndAllowThreads(__tstate); |
3584 | if (PyErr_Occurred()) SWIG_fail; | |
3585 | } | |
3586 | { | |
3587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3588 | } | |
3589 | return resultobj; | |
3590 | fail: | |
3591 | return NULL; | |
3592 | } | |
3593 | ||
3594 | ||
5eb8189c | 3595 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3596 | PyObject *resultobj = 0; |
5eb8189c | 3597 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3598 | bool result; |
3599 | void *argp1 = 0 ; | |
3600 | int res1 = 0 ; | |
3601 | PyObject *swig_obj[1] ; | |
3602 | ||
3603 | if (!args) SWIG_fail; | |
3604 | swig_obj[0] = args; | |
5eb8189c | 3605 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3606 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3608 | } |
5eb8189c | 3609 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3610 | { |
3611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3612 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3613 | wxPyEndAllowThreads(__tstate); |
3614 | if (PyErr_Occurred()) SWIG_fail; | |
3615 | } | |
3616 | { | |
3617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3618 | } | |
3619 | return resultobj; | |
3620 | fail: | |
3621 | return NULL; | |
3622 | } | |
3623 | ||
3624 | ||
5eb8189c | 3625 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3626 | PyObject *resultobj = 0; |
5eb8189c | 3627 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3628 | bool result; |
3629 | void *argp1 = 0 ; | |
3630 | int res1 = 0 ; | |
3631 | PyObject *swig_obj[1] ; | |
3632 | ||
3633 | if (!args) SWIG_fail; | |
3634 | swig_obj[0] = args; | |
5eb8189c | 3635 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3636 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3638 | } |
5eb8189c | 3639 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3640 | { |
3641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3642 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3643 | wxPyEndAllowThreads(__tstate); |
3644 | if (PyErr_Occurred()) SWIG_fail; | |
3645 | } | |
3646 | { | |
3647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3648 | } | |
3649 | return resultobj; | |
3650 | fail: | |
3651 | return NULL; | |
3652 | } | |
3653 | ||
3654 | ||
5eb8189c | 3655 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3656 | PyObject *resultobj = 0; |
5eb8189c | 3657 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3658 | bool result; |
3659 | void *argp1 = 0 ; | |
3660 | int res1 = 0 ; | |
3661 | PyObject *swig_obj[1] ; | |
3662 | ||
3663 | if (!args) SWIG_fail; | |
3664 | swig_obj[0] = args; | |
5eb8189c | 3665 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3666 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3668 | } |
5eb8189c | 3669 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3670 | { |
3671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3672 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3673 | wxPyEndAllowThreads(__tstate); |
3674 | if (PyErr_Occurred()) SWIG_fail; | |
3675 | } | |
3676 | { | |
3677 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3678 | } | |
3679 | return resultobj; | |
3680 | fail: | |
3681 | return NULL; | |
3682 | } | |
3683 | ||
3684 | ||
5eb8189c | 3685 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3686 | PyObject *resultobj = 0; |
5eb8189c | 3687 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3688 | bool result; |
3689 | void *argp1 = 0 ; | |
3690 | int res1 = 0 ; | |
3691 | PyObject *swig_obj[1] ; | |
3692 | ||
3693 | if (!args) SWIG_fail; | |
3694 | swig_obj[0] = args; | |
5eb8189c | 3695 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3696 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3697 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3698 | } |
5eb8189c | 3699 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3700 | { |
3701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3702 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3703 | wxPyEndAllowThreads(__tstate); |
3704 | if (PyErr_Occurred()) SWIG_fail; | |
3705 | } | |
3706 | { | |
3707 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3708 | } | |
3709 | return resultobj; | |
3710 | fail: | |
3711 | return NULL; | |
3712 | } | |
3713 | ||
3714 | ||
5eb8189c | 3715 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3716 | PyObject *resultobj = 0; |
5eb8189c | 3717 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3718 | bool result; |
3719 | void *argp1 = 0 ; | |
3720 | int res1 = 0 ; | |
3721 | PyObject *swig_obj[1] ; | |
3722 | ||
3723 | if (!args) SWIG_fail; | |
3724 | swig_obj[0] = args; | |
5eb8189c | 3725 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3726 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3728 | } |
5eb8189c | 3729 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3730 | { |
3731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3732 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3733 | wxPyEndAllowThreads(__tstate); |
3734 | if (PyErr_Occurred()) SWIG_fail; | |
3735 | } | |
3736 | { | |
3737 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3738 | } | |
3739 | return resultobj; | |
3740 | fail: | |
3741 | return NULL; | |
3742 | } | |
3743 | ||
3744 | ||
5eb8189c | 3745 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3746 | PyObject *resultobj = 0; |
5eb8189c | 3747 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3748 | bool result; |
3749 | void *argp1 = 0 ; | |
3750 | int res1 = 0 ; | |
3751 | PyObject *swig_obj[1] ; | |
3752 | ||
3753 | if (!args) SWIG_fail; | |
3754 | swig_obj[0] = args; | |
5eb8189c | 3755 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3756 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3757 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3758 | } |
5eb8189c | 3759 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3760 | { |
3761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3762 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3763 | wxPyEndAllowThreads(__tstate); |
3764 | if (PyErr_Occurred()) SWIG_fail; | |
3765 | } | |
3766 | { | |
3767 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3768 | } | |
3769 | return resultobj; | |
3770 | fail: | |
3771 | return NULL; | |
3772 | } | |
3773 | ||
3774 | ||
5eb8189c | 3775 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3776 | PyObject *resultobj = 0; |
5eb8189c | 3777 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3778 | bool result; |
3779 | void *argp1 = 0 ; | |
3780 | int res1 = 0 ; | |
3781 | PyObject *swig_obj[1] ; | |
3782 | ||
3783 | if (!args) SWIG_fail; | |
3784 | swig_obj[0] = args; | |
5eb8189c | 3785 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3786 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3787 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3788 | } |
5eb8189c | 3789 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3790 | { |
3791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3792 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3793 | wxPyEndAllowThreads(__tstate); |
3794 | if (PyErr_Occurred()) SWIG_fail; | |
3795 | } | |
3796 | { | |
3797 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3798 | } | |
3799 | return resultobj; | |
3800 | fail: | |
3801 | return NULL; | |
3802 | } | |
3803 | ||
3804 | ||
5eb8189c | 3805 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3806 | PyObject *resultobj = 0; |
5eb8189c | 3807 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3808 | bool result; |
3809 | void *argp1 = 0 ; | |
3810 | int res1 = 0 ; | |
3811 | PyObject *swig_obj[1] ; | |
3812 | ||
3813 | if (!args) SWIG_fail; | |
3814 | swig_obj[0] = args; | |
5eb8189c | 3815 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3816 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3818 | } |
5eb8189c | 3819 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3820 | { |
3821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3822 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3823 | wxPyEndAllowThreads(__tstate); |
3824 | if (PyErr_Occurred()) SWIG_fail; | |
3825 | } | |
3826 | { | |
3827 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3828 | } | |
3829 | return resultobj; | |
3830 | fail: | |
3831 | return NULL; | |
3832 | } | |
3833 | ||
3834 | ||
5eb8189c | 3835 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3836 | PyObject *resultobj = 0; |
5eb8189c | 3837 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3838 | bool result; |
3839 | void *argp1 = 0 ; | |
3840 | int res1 = 0 ; | |
3841 | PyObject *swig_obj[1] ; | |
3842 | ||
3843 | if (!args) SWIG_fail; | |
3844 | swig_obj[0] = args; | |
5eb8189c | 3845 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3846 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3847 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3848 | } |
5eb8189c | 3849 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3850 | { |
3851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3852 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3853 | wxPyEndAllowThreads(__tstate); |
3854 | if (PyErr_Occurred()) SWIG_fail; | |
3855 | } | |
3856 | { | |
3857 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3858 | } | |
3859 | return resultobj; | |
3860 | fail: | |
3861 | return NULL; | |
3862 | } | |
3863 | ||
3864 | ||
5eb8189c | 3865 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3866 | PyObject *resultobj = 0; |
5eb8189c | 3867 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3868 | bool result; |
3869 | void *argp1 = 0 ; | |
3870 | int res1 = 0 ; | |
3871 | PyObject *swig_obj[1] ; | |
3872 | ||
3873 | if (!args) SWIG_fail; | |
3874 | swig_obj[0] = args; | |
5eb8189c | 3875 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3876 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3877 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3878 | } |
5eb8189c | 3879 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3880 | { |
3881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3882 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3883 | wxPyEndAllowThreads(__tstate); |
3884 | if (PyErr_Occurred()) SWIG_fail; | |
3885 | } | |
3886 | { | |
3887 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3888 | } | |
3889 | return resultobj; | |
3890 | fail: | |
3891 | return NULL; | |
3892 | } | |
3893 | ||
3894 | ||
5eb8189c | 3895 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3896 | PyObject *resultobj = 0; |
5eb8189c | 3897 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3898 | bool result; |
3899 | void *argp1 = 0 ; | |
3900 | int res1 = 0 ; | |
3901 | PyObject *swig_obj[1] ; | |
3902 | ||
3903 | if (!args) SWIG_fail; | |
3904 | swig_obj[0] = args; | |
5eb8189c | 3905 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3906 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3907 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3908 | } |
5eb8189c | 3909 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3910 | { |
3911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3912 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3913 | wxPyEndAllowThreads(__tstate); |
3914 | if (PyErr_Occurred()) SWIG_fail; | |
3915 | } | |
3916 | { | |
3917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3918 | } | |
3919 | return resultobj; | |
3920 | fail: | |
3921 | return NULL; | |
3922 | } | |
3923 | ||
3924 | ||
5eb8189c | 3925 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3926 | PyObject *resultobj = 0; |
5eb8189c | 3927 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3928 | bool result; |
3929 | void *argp1 = 0 ; | |
3930 | int res1 = 0 ; | |
3931 | PyObject *swig_obj[1] ; | |
3932 | ||
3933 | if (!args) SWIG_fail; | |
3934 | swig_obj[0] = args; | |
5eb8189c | 3935 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3936 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3937 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3938 | } |
5eb8189c | 3939 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3940 | { |
3941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3942 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3943 | wxPyEndAllowThreads(__tstate); |
3944 | if (PyErr_Occurred()) SWIG_fail; | |
3945 | } | |
3946 | { | |
3947 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3948 | } | |
3949 | return resultobj; | |
3950 | fail: | |
3951 | return NULL; | |
3952 | } | |
3953 | ||
3954 | ||
5eb8189c | 3955 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3956 | PyObject *resultobj = 0; |
5eb8189c | 3957 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3958 | bool result; |
3959 | void *argp1 = 0 ; | |
3960 | int res1 = 0 ; | |
3961 | PyObject *swig_obj[1] ; | |
3962 | ||
3963 | if (!args) SWIG_fail; | |
3964 | swig_obj[0] = args; | |
5eb8189c | 3965 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3966 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3968 | } |
5eb8189c | 3969 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3970 | { |
3971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3972 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3973 | wxPyEndAllowThreads(__tstate); |
3974 | if (PyErr_Occurred()) SWIG_fail; | |
3975 | } | |
3976 | { | |
3977 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3978 | } | |
3979 | return resultobj; | |
3980 | fail: | |
3981 | return NULL; | |
3982 | } | |
3983 | ||
3984 | ||
5eb8189c | 3985 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3986 | PyObject *resultobj = 0; |
5eb8189c | 3987 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3988 | bool result; |
3989 | void *argp1 = 0 ; | |
3990 | int res1 = 0 ; | |
3991 | PyObject *swig_obj[1] ; | |
3992 | ||
3993 | if (!args) SWIG_fail; | |
3994 | swig_obj[0] = args; | |
5eb8189c | 3995 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3996 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3998 | } |
5eb8189c | 3999 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4000 | { |
4001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4002 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
4003 | wxPyEndAllowThreads(__tstate); |
4004 | if (PyErr_Occurred()) SWIG_fail; | |
4005 | } | |
4006 | { | |
4007 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4008 | } | |
4009 | return resultobj; | |
4010 | fail: | |
4011 | return NULL; | |
4012 | } | |
4013 | ||
4014 | ||
5eb8189c | 4015 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4016 | PyObject *resultobj = 0; |
5eb8189c | 4017 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4018 | bool result; |
4019 | void *argp1 = 0 ; | |
4020 | int res1 = 0 ; | |
4021 | PyObject *swig_obj[1] ; | |
4022 | ||
4023 | if (!args) SWIG_fail; | |
4024 | swig_obj[0] = args; | |
5eb8189c | 4025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4026 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4028 | } |
5eb8189c | 4029 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4030 | { |
4031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4032 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4033 | wxPyEndAllowThreads(__tstate); |
4034 | if (PyErr_Occurred()) SWIG_fail; | |
4035 | } | |
4036 | { | |
4037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4038 | } | |
4039 | return resultobj; | |
4040 | fail: | |
4041 | return NULL; | |
4042 | } | |
4043 | ||
4044 | ||
5eb8189c | 4045 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4046 | PyObject *resultobj = 0; |
5eb8189c | 4047 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4048 | bool result; |
4049 | void *argp1 = 0 ; | |
4050 | int res1 = 0 ; | |
4051 | PyObject *swig_obj[1] ; | |
4052 | ||
4053 | if (!args) SWIG_fail; | |
4054 | swig_obj[0] = args; | |
5eb8189c | 4055 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4056 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4057 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4058 | } |
5eb8189c | 4059 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4060 | { |
4061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4062 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4063 | wxPyEndAllowThreads(__tstate); |
4064 | if (PyErr_Occurred()) SWIG_fail; | |
4065 | } | |
4066 | { | |
4067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4068 | } | |
4069 | return resultobj; | |
4070 | fail: | |
4071 | return NULL; | |
4072 | } | |
4073 | ||
4074 | ||
5eb8189c | 4075 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4076 | PyObject *resultobj = 0; |
5eb8189c | 4077 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4078 | bool result; |
4079 | void *argp1 = 0 ; | |
4080 | int res1 = 0 ; | |
4081 | PyObject *swig_obj[1] ; | |
4082 | ||
4083 | if (!args) SWIG_fail; | |
4084 | swig_obj[0] = args; | |
5eb8189c | 4085 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4086 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4087 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4088 | } |
5eb8189c | 4089 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4090 | { |
4091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4092 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4093 | wxPyEndAllowThreads(__tstate); |
4094 | if (PyErr_Occurred()) SWIG_fail; | |
4095 | } | |
4096 | { | |
4097 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4098 | } | |
4099 | return resultobj; | |
4100 | fail: | |
4101 | return NULL; | |
4102 | } | |
4103 | ||
4104 | ||
5eb8189c | 4105 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4106 | PyObject *resultobj = 0; |
5eb8189c RD |
4107 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4108 | bool result; | |
4109 | void *argp1 = 0 ; | |
4110 | int res1 = 0 ; | |
4111 | PyObject *swig_obj[1] ; | |
4112 | ||
4113 | if (!args) SWIG_fail; | |
4114 | swig_obj[0] = args; | |
4115 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4116 | if (!SWIG_IsOK(res1)) { | |
4117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4118 | } | |
4119 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4120 | { | |
4121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4122 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4123 | wxPyEndAllowThreads(__tstate); | |
4124 | if (PyErr_Occurred()) SWIG_fail; | |
4125 | } | |
4126 | { | |
4127 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4128 | } | |
4129 | return resultobj; | |
4130 | fail: | |
4131 | return NULL; | |
4132 | } | |
4133 | ||
4134 | ||
4135 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4136 | PyObject *resultobj = 0; | |
4137 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4138 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4139 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4140 | void *argp1 = 0 ; |
4141 | int res1 = 0 ; | |
4142 | void *argp2 = 0 ; | |
4143 | int res2 = 0 ; | |
4144 | PyObject * obj0 = 0 ; | |
4145 | PyObject * obj1 = 0 ; | |
4146 | char * kwnames[] = { | |
4147 | (char *) "self",(char *) "w", NULL | |
4148 | }; | |
4149 | ||
5eb8189c RD |
4150 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4151 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4152 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4153 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4154 | } |
5eb8189c | 4155 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4156 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4157 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4158 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4159 | } |
4160 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4161 | { | |
4162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4163 | { | |
5eb8189c RD |
4164 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4165 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4166 | } |
4167 | wxPyEndAllowThreads(__tstate); | |
4168 | if (PyErr_Occurred()) SWIG_fail; | |
4169 | } | |
4170 | { | |
4171 | resultobj = obj0; Py_INCREF(resultobj); | |
4172 | } | |
4173 | return resultobj; | |
4174 | fail: | |
4175 | return NULL; | |
4176 | } | |
4177 | ||
4178 | ||
5eb8189c | 4179 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4180 | PyObject *resultobj = 0; |
5eb8189c | 4181 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4182 | wxString *arg2 = 0 ; |
5eb8189c | 4183 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4184 | void *argp1 = 0 ; |
4185 | int res1 = 0 ; | |
4186 | bool temp2 = false ; | |
4187 | PyObject * obj0 = 0 ; | |
4188 | PyObject * obj1 = 0 ; | |
4189 | char * kwnames[] = { | |
4190 | (char *) "self",(char *) "n", NULL | |
4191 | }; | |
4192 | ||
5eb8189c RD |
4193 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4194 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4195 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4197 | } |
5eb8189c | 4198 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4199 | { |
4200 | arg2 = wxString_in_helper(obj1); | |
4201 | if (arg2 == NULL) SWIG_fail; | |
4202 | temp2 = true; | |
4203 | } | |
4204 | { | |
4205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4206 | { | |
5eb8189c RD |
4207 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4208 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4209 | } |
4210 | wxPyEndAllowThreads(__tstate); | |
4211 | if (PyErr_Occurred()) SWIG_fail; | |
4212 | } | |
4213 | { | |
4214 | resultobj = obj0; Py_INCREF(resultobj); | |
4215 | } | |
4216 | { | |
4217 | if (temp2) | |
4218 | delete arg2; | |
4219 | } | |
4220 | return resultobj; | |
4221 | fail: | |
4222 | { | |
4223 | if (temp2) | |
4224 | delete arg2; | |
4225 | } | |
4226 | return NULL; | |
4227 | } | |
4228 | ||
4229 | ||
5eb8189c | 4230 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4231 | PyObject *resultobj = 0; |
5eb8189c | 4232 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4233 | wxString *arg2 = 0 ; |
5eb8189c | 4234 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4235 | void *argp1 = 0 ; |
4236 | int res1 = 0 ; | |
4237 | bool temp2 = false ; | |
4238 | PyObject * obj0 = 0 ; | |
4239 | PyObject * obj1 = 0 ; | |
4240 | char * kwnames[] = { | |
4241 | (char *) "self",(char *) "c", NULL | |
4242 | }; | |
4243 | ||
5eb8189c RD |
4244 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4245 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4246 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4248 | } |
5eb8189c | 4249 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4250 | { |
4251 | arg2 = wxString_in_helper(obj1); | |
4252 | if (arg2 == NULL) SWIG_fail; | |
4253 | temp2 = true; | |
4254 | } | |
4255 | { | |
4256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4257 | { | |
5eb8189c RD |
4258 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4259 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4260 | } |
4261 | wxPyEndAllowThreads(__tstate); | |
4262 | if (PyErr_Occurred()) SWIG_fail; | |
4263 | } | |
4264 | { | |
4265 | resultobj = obj0; Py_INCREF(resultobj); | |
4266 | } | |
4267 | { | |
4268 | if (temp2) | |
4269 | delete arg2; | |
4270 | } | |
4271 | return resultobj; | |
4272 | fail: | |
4273 | { | |
4274 | if (temp2) | |
4275 | delete arg2; | |
4276 | } | |
4277 | return NULL; | |
4278 | } | |
4279 | ||
4280 | ||
5eb8189c | 4281 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4282 | PyObject *resultobj = 0; |
5eb8189c RD |
4283 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4284 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4285 | void *argp1 = 0 ; |
4286 | int res1 = 0 ; | |
4287 | PyObject *swig_obj[1] ; | |
4288 | ||
4289 | if (!args) SWIG_fail; | |
4290 | swig_obj[0] = args; | |
5eb8189c | 4291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4292 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4294 | } |
5eb8189c | 4295 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4296 | { |
4297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4298 | { | |
5eb8189c RD |
4299 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4300 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4301 | } |
4302 | wxPyEndAllowThreads(__tstate); | |
4303 | if (PyErr_Occurred()) SWIG_fail; | |
4304 | } | |
4305 | { | |
4306 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4307 | } | |
4308 | return resultobj; | |
4309 | fail: | |
4310 | return NULL; | |
4311 | } | |
4312 | ||
4313 | ||
5eb8189c | 4314 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4315 | PyObject *resultobj = 0; |
5eb8189c RD |
4316 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4317 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4318 | void *argp1 = 0 ; |
4319 | int res1 = 0 ; | |
4320 | PyObject *swig_obj[1] ; | |
4321 | ||
4322 | if (!args) SWIG_fail; | |
4323 | swig_obj[0] = args; | |
5eb8189c | 4324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4325 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4327 | } |
5eb8189c | 4328 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4329 | { |
4330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4331 | { | |
5eb8189c RD |
4332 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4333 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4334 | } |
4335 | wxPyEndAllowThreads(__tstate); | |
4336 | if (PyErr_Occurred()) SWIG_fail; | |
4337 | } | |
4338 | { | |
4339 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4340 | } | |
4341 | return resultobj; | |
4342 | fail: | |
4343 | return NULL; | |
4344 | } | |
4345 | ||
4346 | ||
5eb8189c | 4347 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4348 | PyObject *resultobj = 0; |
5eb8189c RD |
4349 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4350 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4351 | void *argp1 = 0 ; |
4352 | int res1 = 0 ; | |
4353 | PyObject *swig_obj[1] ; | |
4354 | ||
4355 | if (!args) SWIG_fail; | |
4356 | swig_obj[0] = args; | |
5eb8189c | 4357 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4358 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4360 | } |
5eb8189c | 4361 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4362 | { |
4363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4364 | { | |
5eb8189c RD |
4365 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4366 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4367 | } |
4368 | wxPyEndAllowThreads(__tstate); | |
4369 | if (PyErr_Occurred()) SWIG_fail; | |
4370 | } | |
4371 | { | |
4372 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4373 | } | |
4374 | return resultobj; | |
4375 | fail: | |
4376 | return NULL; | |
4377 | } | |
4378 | ||
4379 | ||
5eb8189c | 4380 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4381 | PyObject *resultobj = 0; |
5eb8189c RD |
4382 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4383 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4384 | void *argp1 = 0 ; |
4385 | int res1 = 0 ; | |
4386 | PyObject *swig_obj[1] ; | |
4387 | ||
4388 | if (!args) SWIG_fail; | |
4389 | swig_obj[0] = args; | |
5eb8189c | 4390 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4391 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4393 | } |
5eb8189c | 4394 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4395 | { |
4396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4397 | { | |
5eb8189c RD |
4398 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4399 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4400 | } |
4401 | wxPyEndAllowThreads(__tstate); | |
4402 | if (PyErr_Occurred()) SWIG_fail; | |
4403 | } | |
4404 | { | |
4405 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4406 | } | |
4407 | return resultobj; | |
4408 | fail: | |
4409 | return NULL; | |
4410 | } | |
4411 | ||
4412 | ||
5eb8189c | 4413 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4414 | PyObject *resultobj = 0; |
5eb8189c RD |
4415 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4416 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4417 | void *argp1 = 0 ; |
4418 | int res1 = 0 ; | |
4419 | PyObject *swig_obj[1] ; | |
4420 | ||
4421 | if (!args) SWIG_fail; | |
4422 | swig_obj[0] = args; | |
5eb8189c | 4423 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4424 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4425 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4426 | } |
5eb8189c | 4427 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4428 | { |
4429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4430 | { | |
5eb8189c RD |
4431 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4432 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4433 | } |
4434 | wxPyEndAllowThreads(__tstate); | |
4435 | if (PyErr_Occurred()) SWIG_fail; | |
4436 | } | |
4437 | { | |
4438 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4439 | } | |
4440 | return resultobj; | |
4441 | fail: | |
4442 | return NULL; | |
4443 | } | |
4444 | ||
4445 | ||
5eb8189c | 4446 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4447 | PyObject *resultobj = 0; |
5eb8189c RD |
4448 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4449 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4450 | void *argp1 = 0 ; |
4451 | int res1 = 0 ; | |
4452 | PyObject *swig_obj[1] ; | |
4453 | ||
4454 | if (!args) SWIG_fail; | |
4455 | swig_obj[0] = args; | |
5eb8189c | 4456 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4457 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4459 | } |
5eb8189c | 4460 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4461 | { |
4462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4463 | { | |
5eb8189c RD |
4464 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4465 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4466 | } |
4467 | wxPyEndAllowThreads(__tstate); | |
4468 | if (PyErr_Occurred()) SWIG_fail; | |
4469 | } | |
4470 | { | |
4471 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4472 | } | |
4473 | return resultobj; | |
4474 | fail: | |
4475 | return NULL; | |
4476 | } | |
4477 | ||
4478 | ||
5eb8189c | 4479 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4480 | PyObject *resultobj = 0; |
5eb8189c | 4481 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4482 | int arg2 ; |
5eb8189c | 4483 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4484 | void *argp1 = 0 ; |
4485 | int res1 = 0 ; | |
4486 | int val2 ; | |
4487 | int ecode2 = 0 ; | |
4488 | PyObject * obj0 = 0 ; | |
4489 | PyObject * obj1 = 0 ; | |
4490 | char * kwnames[] = { | |
4491 | (char *) "self",(char *) "direction", NULL | |
4492 | }; | |
4493 | ||
5eb8189c RD |
4494 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4495 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4496 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4498 | } |
5eb8189c | 4499 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4500 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4501 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4502 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4503 | } |
4504 | arg2 = static_cast< int >(val2); | |
4505 | { | |
4506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4507 | { | |
5eb8189c RD |
4508 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4509 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4510 | } |
4511 | wxPyEndAllowThreads(__tstate); | |
4512 | if (PyErr_Occurred()) SWIG_fail; | |
4513 | } | |
4514 | { | |
4515 | resultobj = obj0; Py_INCREF(resultobj); | |
4516 | } | |
4517 | return resultobj; | |
4518 | fail: | |
4519 | return NULL; | |
4520 | } | |
4521 | ||
4522 | ||
5eb8189c | 4523 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4524 | PyObject *resultobj = 0; |
5eb8189c | 4525 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4526 | int arg2 ; |
5eb8189c | 4527 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4528 | void *argp1 = 0 ; |
4529 | int res1 = 0 ; | |
4530 | int val2 ; | |
4531 | int ecode2 = 0 ; | |
4532 | PyObject * obj0 = 0 ; | |
4533 | PyObject * obj1 = 0 ; | |
4534 | char * kwnames[] = { | |
4535 | (char *) "self",(char *) "layer", NULL | |
4536 | }; | |
4537 | ||
5eb8189c RD |
4538 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4539 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4540 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4541 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4542 | } |
5eb8189c | 4543 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4544 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4545 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4546 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4547 | } |
4548 | arg2 = static_cast< int >(val2); | |
4549 | { | |
4550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4551 | { | |
5eb8189c RD |
4552 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4553 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4554 | } |
4555 | wxPyEndAllowThreads(__tstate); | |
4556 | if (PyErr_Occurred()) SWIG_fail; | |
4557 | } | |
4558 | { | |
4559 | resultobj = obj0; Py_INCREF(resultobj); | |
4560 | } | |
4561 | return resultobj; | |
4562 | fail: | |
4563 | return NULL; | |
4564 | } | |
4565 | ||
4566 | ||
5eb8189c | 4567 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4568 | PyObject *resultobj = 0; |
5eb8189c | 4569 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4570 | int arg2 ; |
5eb8189c | 4571 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4572 | void *argp1 = 0 ; |
4573 | int res1 = 0 ; | |
4574 | int val2 ; | |
4575 | int ecode2 = 0 ; | |
4576 | PyObject * obj0 = 0 ; | |
4577 | PyObject * obj1 = 0 ; | |
4578 | char * kwnames[] = { | |
4579 | (char *) "self",(char *) "row", NULL | |
4580 | }; | |
4581 | ||
5eb8189c RD |
4582 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4583 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4584 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4586 | } |
5eb8189c | 4587 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4588 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4589 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4590 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4591 | } |
4592 | arg2 = static_cast< int >(val2); | |
4593 | { | |
4594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4595 | { | |
5eb8189c RD |
4596 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4597 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4598 | } |
4599 | wxPyEndAllowThreads(__tstate); | |
4600 | if (PyErr_Occurred()) SWIG_fail; | |
4601 | } | |
4602 | { | |
4603 | resultobj = obj0; Py_INCREF(resultobj); | |
4604 | } | |
4605 | return resultobj; | |
4606 | fail: | |
4607 | return NULL; | |
4608 | } | |
4609 | ||
4610 | ||
5eb8189c | 4611 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4612 | PyObject *resultobj = 0; |
5eb8189c | 4613 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4614 | int arg2 ; |
5eb8189c | 4615 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4616 | void *argp1 = 0 ; |
4617 | int res1 = 0 ; | |
4618 | int val2 ; | |
4619 | int ecode2 = 0 ; | |
4620 | PyObject * obj0 = 0 ; | |
4621 | PyObject * obj1 = 0 ; | |
4622 | char * kwnames[] = { | |
4623 | (char *) "self",(char *) "pos", NULL | |
4624 | }; | |
4625 | ||
5eb8189c RD |
4626 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4627 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4628 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4629 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4630 | } |
5eb8189c | 4631 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4632 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4633 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4634 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4635 | } |
4636 | arg2 = static_cast< int >(val2); | |
4637 | { | |
4638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4639 | { | |
5eb8189c RD |
4640 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4641 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4642 | } |
4643 | wxPyEndAllowThreads(__tstate); | |
4644 | if (PyErr_Occurred()) SWIG_fail; | |
4645 | } | |
4646 | { | |
4647 | resultobj = obj0; Py_INCREF(resultobj); | |
4648 | } | |
4649 | return resultobj; | |
4650 | fail: | |
4651 | return NULL; | |
4652 | } | |
4653 | ||
4654 | ||
5eb8189c | 4655 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4656 | PyObject *resultobj = 0; |
5eb8189c | 4657 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4658 | wxSize *arg2 = 0 ; |
5eb8189c | 4659 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4660 | void *argp1 = 0 ; |
4661 | int res1 = 0 ; | |
4662 | wxSize temp2 ; | |
4663 | PyObject * obj0 = 0 ; | |
4664 | PyObject * obj1 = 0 ; | |
4665 | char * kwnames[] = { | |
4666 | (char *) "self",(char *) "size", NULL | |
4667 | }; | |
4668 | ||
5eb8189c RD |
4669 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4670 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4671 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4673 | } |
5eb8189c | 4674 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4675 | { |
4676 | arg2 = &temp2; | |
4677 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4678 | } | |
4679 | { | |
4680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4681 | { | |
5eb8189c RD |
4682 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4683 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4684 | } |
4685 | wxPyEndAllowThreads(__tstate); | |
4686 | if (PyErr_Occurred()) SWIG_fail; | |
4687 | } | |
4688 | { | |
4689 | resultobj = obj0; Py_INCREF(resultobj); | |
4690 | } | |
4691 | return resultobj; | |
4692 | fail: | |
4693 | return NULL; | |
4694 | } | |
4695 | ||
4696 | ||
5eb8189c | 4697 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4698 | PyObject *resultobj = 0; |
5eb8189c | 4699 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4700 | wxSize *arg2 = 0 ; |
5eb8189c | 4701 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4702 | void *argp1 = 0 ; |
4703 | int res1 = 0 ; | |
4704 | wxSize temp2 ; | |
4705 | PyObject * obj0 = 0 ; | |
4706 | PyObject * obj1 = 0 ; | |
4707 | char * kwnames[] = { | |
4708 | (char *) "self",(char *) "size", NULL | |
4709 | }; | |
4710 | ||
5eb8189c RD |
4711 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4712 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4713 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4714 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4715 | } |
5eb8189c | 4716 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4717 | { |
4718 | arg2 = &temp2; | |
4719 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4720 | } | |
4721 | { | |
4722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4723 | { | |
5eb8189c RD |
4724 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4725 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4726 | } |
4727 | wxPyEndAllowThreads(__tstate); | |
4728 | if (PyErr_Occurred()) SWIG_fail; | |
4729 | } | |
4730 | { | |
4731 | resultobj = obj0; Py_INCREF(resultobj); | |
4732 | } | |
4733 | return resultobj; | |
4734 | fail: | |
4735 | return NULL; | |
4736 | } | |
4737 | ||
4738 | ||
5eb8189c | 4739 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4740 | PyObject *resultobj = 0; |
5eb8189c | 4741 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4742 | wxSize *arg2 = 0 ; |
5eb8189c | 4743 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4744 | void *argp1 = 0 ; |
4745 | int res1 = 0 ; | |
4746 | wxSize temp2 ; | |
4747 | PyObject * obj0 = 0 ; | |
4748 | PyObject * obj1 = 0 ; | |
4749 | char * kwnames[] = { | |
4750 | (char *) "self",(char *) "size", NULL | |
4751 | }; | |
4752 | ||
5eb8189c RD |
4753 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4754 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4755 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4756 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4757 | } |
5eb8189c | 4758 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4759 | { |
4760 | arg2 = &temp2; | |
4761 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4762 | } | |
4763 | { | |
4764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4765 | { | |
5eb8189c RD |
4766 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4767 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4768 | } |
4769 | wxPyEndAllowThreads(__tstate); | |
4770 | if (PyErr_Occurred()) SWIG_fail; | |
4771 | } | |
4772 | { | |
4773 | resultobj = obj0; Py_INCREF(resultobj); | |
4774 | } | |
4775 | return resultobj; | |
4776 | fail: | |
4777 | return NULL; | |
4778 | } | |
4779 | ||
4780 | ||
5eb8189c | 4781 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4782 | PyObject *resultobj = 0; |
5eb8189c | 4783 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4784 | wxPoint *arg2 = 0 ; |
5eb8189c | 4785 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4786 | void *argp1 = 0 ; |
4787 | int res1 = 0 ; | |
4788 | wxPoint temp2 ; | |
4789 | PyObject * obj0 = 0 ; | |
4790 | PyObject * obj1 = 0 ; | |
4791 | char * kwnames[] = { | |
4792 | (char *) "self",(char *) "pos", NULL | |
4793 | }; | |
4794 | ||
5eb8189c RD |
4795 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4796 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4797 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4799 | } |
5eb8189c | 4800 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4801 | { |
4802 | arg2 = &temp2; | |
4803 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4804 | } | |
4805 | { | |
4806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4807 | { | |
5eb8189c RD |
4808 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4809 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4810 | } |
4811 | wxPyEndAllowThreads(__tstate); | |
4812 | if (PyErr_Occurred()) SWIG_fail; | |
4813 | } | |
4814 | { | |
4815 | resultobj = obj0; Py_INCREF(resultobj); | |
4816 | } | |
4817 | return resultobj; | |
4818 | fail: | |
4819 | return NULL; | |
4820 | } | |
4821 | ||
4822 | ||
5eb8189c | 4823 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4824 | PyObject *resultobj = 0; |
5eb8189c | 4825 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4826 | wxSize *arg2 = 0 ; |
5eb8189c | 4827 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4828 | void *argp1 = 0 ; |
4829 | int res1 = 0 ; | |
4830 | wxSize temp2 ; | |
4831 | PyObject * obj0 = 0 ; | |
4832 | PyObject * obj1 = 0 ; | |
4833 | char * kwnames[] = { | |
4834 | (char *) "self",(char *) "size", NULL | |
4835 | }; | |
4836 | ||
5eb8189c RD |
4837 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4838 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4839 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4840 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4841 | } |
5eb8189c | 4842 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4843 | { |
4844 | arg2 = &temp2; | |
4845 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4846 | } | |
4847 | { | |
4848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4849 | { | |
5eb8189c RD |
4850 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4851 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4852 | } |
4853 | wxPyEndAllowThreads(__tstate); | |
4854 | if (PyErr_Occurred()) SWIG_fail; | |
4855 | } | |
4856 | { | |
4857 | resultobj = obj0; Py_INCREF(resultobj); | |
4858 | } | |
4859 | return resultobj; | |
4860 | fail: | |
4861 | return NULL; | |
4862 | } | |
4863 | ||
4864 | ||
5eb8189c | 4865 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4866 | PyObject *resultobj = 0; |
5eb8189c RD |
4867 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4868 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4869 | void *argp1 = 0 ; |
4870 | int res1 = 0 ; | |
4871 | PyObject *swig_obj[1] ; | |
4872 | ||
4873 | if (!args) SWIG_fail; | |
4874 | swig_obj[0] = args; | |
5eb8189c | 4875 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4876 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4877 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4878 | } |
5eb8189c | 4879 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4880 | { |
4881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4882 | { | |
5eb8189c RD |
4883 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4884 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4885 | } |
4886 | wxPyEndAllowThreads(__tstate); | |
4887 | if (PyErr_Occurred()) SWIG_fail; | |
4888 | } | |
4889 | { | |
4890 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4891 | } | |
4892 | return resultobj; | |
4893 | fail: | |
4894 | return NULL; | |
4895 | } | |
4896 | ||
4897 | ||
5eb8189c | 4898 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4899 | PyObject *resultobj = 0; |
5eb8189c | 4900 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4901 | bool arg2 = (bool) true ; |
5eb8189c | 4902 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4903 | void *argp1 = 0 ; |
4904 | int res1 = 0 ; | |
4905 | bool val2 ; | |
4906 | int ecode2 = 0 ; | |
4907 | PyObject * obj0 = 0 ; | |
4908 | PyObject * obj1 = 0 ; | |
4909 | char * kwnames[] = { | |
4910 | (char *) "self",(char *) "resizable", NULL | |
4911 | }; | |
4912 | ||
5eb8189c RD |
4913 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4914 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4915 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4916 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4917 | } |
5eb8189c | 4918 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4919 | if (obj1) { |
4920 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4921 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4922 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4923 | } |
4924 | arg2 = static_cast< bool >(val2); | |
4925 | } | |
4926 | { | |
4927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4928 | { | |
5eb8189c RD |
4929 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4930 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4931 | } |
4932 | wxPyEndAllowThreads(__tstate); | |
4933 | if (PyErr_Occurred()) SWIG_fail; | |
4934 | } | |
4935 | { | |
4936 | resultobj = obj0; Py_INCREF(resultobj); | |
4937 | } | |
4938 | return resultobj; | |
4939 | fail: | |
4940 | return NULL; | |
4941 | } | |
4942 | ||
4943 | ||
5eb8189c | 4944 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4945 | PyObject *resultobj = 0; |
5eb8189c RD |
4946 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4947 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4948 | void *argp1 = 0 ; |
4949 | int res1 = 0 ; | |
4950 | PyObject *swig_obj[1] ; | |
4951 | ||
4952 | if (!args) SWIG_fail; | |
4953 | swig_obj[0] = args; | |
5eb8189c | 4954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4955 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4957 | } |
5eb8189c | 4958 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4959 | { |
4960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4961 | { | |
5eb8189c RD |
4962 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4963 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4964 | } |
4965 | wxPyEndAllowThreads(__tstate); | |
4966 | if (PyErr_Occurred()) SWIG_fail; | |
4967 | } | |
4968 | { | |
4969 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4970 | } | |
4971 | return resultobj; | |
4972 | fail: | |
4973 | return NULL; | |
4974 | } | |
4975 | ||
4976 | ||
5eb8189c | 4977 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4978 | PyObject *resultobj = 0; |
5eb8189c RD |
4979 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4980 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4981 | void *argp1 = 0 ; |
4982 | int res1 = 0 ; | |
4983 | PyObject *swig_obj[1] ; | |
4984 | ||
4985 | if (!args) SWIG_fail; | |
4986 | swig_obj[0] = args; | |
5eb8189c | 4987 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4988 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4990 | } |
5eb8189c | 4991 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4992 | { |
4993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4994 | { | |
5eb8189c RD |
4995 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
4996 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4997 | } |
4998 | wxPyEndAllowThreads(__tstate); | |
4999 | if (PyErr_Occurred()) SWIG_fail; | |
5000 | } | |
5001 | { | |
5002 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5003 | } | |
5004 | return resultobj; | |
5005 | fail: | |
5006 | return NULL; | |
5007 | } | |
5008 | ||
5009 | ||
5eb8189c | 5010 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5011 | PyObject *resultobj = 0; |
5eb8189c RD |
5012 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5013 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5014 | void *argp1 = 0 ; |
5015 | int res1 = 0 ; | |
5016 | PyObject *swig_obj[1] ; | |
5017 | ||
5018 | if (!args) SWIG_fail; | |
5019 | swig_obj[0] = args; | |
5eb8189c | 5020 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5021 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5023 | } |
5eb8189c | 5024 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5025 | { |
5026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5027 | { | |
5eb8189c RD |
5028 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5029 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5030 | } |
5031 | wxPyEndAllowThreads(__tstate); | |
5032 | if (PyErr_Occurred()) SWIG_fail; | |
5033 | } | |
5034 | { | |
5035 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5036 | } | |
5037 | return resultobj; | |
5038 | fail: | |
5039 | return NULL; | |
5040 | } | |
5041 | ||
5042 | ||
5eb8189c | 5043 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5044 | PyObject *resultobj = 0; |
5eb8189c | 5045 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5046 | bool arg2 = (bool) true ; |
5eb8189c | 5047 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5048 | void *argp1 = 0 ; |
5049 | int res1 = 0 ; | |
5050 | bool val2 ; | |
5051 | int ecode2 = 0 ; | |
5052 | PyObject * obj0 = 0 ; | |
5053 | PyObject * obj1 = 0 ; | |
5054 | char * kwnames[] = { | |
5055 | (char *) "self",(char *) "show", NULL | |
5056 | }; | |
5057 | ||
5eb8189c RD |
5058 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5059 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5060 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5061 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5062 | } |
5eb8189c | 5063 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5064 | if (obj1) { |
5065 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5066 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5067 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5068 | } |
5069 | arg2 = static_cast< bool >(val2); | |
5070 | } | |
5071 | { | |
5072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5073 | { | |
5eb8189c RD |
5074 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5075 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5076 | } |
5077 | wxPyEndAllowThreads(__tstate); | |
5078 | if (PyErr_Occurred()) SWIG_fail; | |
5079 | } | |
5080 | { | |
5081 | resultobj = obj0; Py_INCREF(resultobj); | |
5082 | } | |
5083 | return resultobj; | |
5084 | fail: | |
5085 | return NULL; | |
5086 | } | |
5087 | ||
5088 | ||
5eb8189c | 5089 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5090 | PyObject *resultobj = 0; |
5eb8189c | 5091 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5092 | bool arg2 = (bool) true ; |
5eb8189c | 5093 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5094 | void *argp1 = 0 ; |
5095 | int res1 = 0 ; | |
5096 | bool val2 ; | |
5097 | int ecode2 = 0 ; | |
5098 | PyObject * obj0 = 0 ; | |
5099 | PyObject * obj1 = 0 ; | |
5100 | char * kwnames[] = { | |
5101 | (char *) "self",(char *) "visible", NULL | |
5102 | }; | |
5103 | ||
5eb8189c RD |
5104 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5105 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5106 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5107 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5108 | } |
5eb8189c | 5109 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5110 | if (obj1) { |
5111 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5112 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5113 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5114 | } |
5115 | arg2 = static_cast< bool >(val2); | |
5116 | } | |
5117 | { | |
5118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5119 | { | |
5eb8189c RD |
5120 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5121 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5122 | } |
5123 | wxPyEndAllowThreads(__tstate); | |
5124 | if (PyErr_Occurred()) SWIG_fail; | |
5125 | } | |
5126 | { | |
5127 | resultobj = obj0; Py_INCREF(resultobj); | |
5128 | } | |
5129 | return resultobj; | |
5130 | fail: | |
5131 | return NULL; | |
5132 | } | |
5133 | ||
5134 | ||
5eb8189c RD |
5135 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5136 | PyObject *resultobj = 0; | |
5137 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5138 | wxAuiPaneInfo *result = 0 ; | |
5139 | void *argp1 = 0 ; | |
5140 | int res1 = 0 ; | |
5141 | PyObject *swig_obj[1] ; | |
5142 | ||
5143 | if (!args) SWIG_fail; | |
5144 | swig_obj[0] = args; | |
5145 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5146 | if (!SWIG_IsOK(res1)) { | |
5147 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5148 | } | |
5149 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5150 | { | |
5151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5152 | { | |
5153 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5154 | result = (wxAuiPaneInfo *) &_result_ref; | |
5155 | } | |
5156 | wxPyEndAllowThreads(__tstate); | |
5157 | if (PyErr_Occurred()) SWIG_fail; | |
5158 | } | |
5159 | { | |
5160 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5161 | } | |
5162 | return resultobj; | |
5163 | fail: | |
5164 | return NULL; | |
5165 | } | |
5166 | ||
5167 | ||
5168 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5169 | PyObject *resultobj = 0; |
5eb8189c RD |
5170 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5171 | wxAuiPaneInfo *result = 0 ; | |
5172 | void *argp1 = 0 ; | |
5173 | int res1 = 0 ; | |
5174 | PyObject *swig_obj[1] ; | |
5175 | ||
5176 | if (!args) SWIG_fail; | |
5177 | swig_obj[0] = args; | |
5178 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5179 | if (!SWIG_IsOK(res1)) { | |
5180 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5181 | } | |
5182 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5183 | { | |
5184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5185 | { | |
5186 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5187 | result = (wxAuiPaneInfo *) &_result_ref; | |
5188 | } | |
5189 | wxPyEndAllowThreads(__tstate); | |
5190 | if (PyErr_Occurred()) SWIG_fail; | |
5191 | } | |
5192 | { | |
5193 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5194 | } | |
5195 | return resultobj; | |
5196 | fail: | |
5197 | return NULL; | |
5198 | } | |
5199 | ||
5200 | ||
5201 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5202 | PyObject *resultobj = 0; | |
5203 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5204 | bool arg2 = (bool) true ; |
5eb8189c | 5205 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5206 | void *argp1 = 0 ; |
5207 | int res1 = 0 ; | |
5208 | bool val2 ; | |
5209 | int ecode2 = 0 ; | |
5210 | PyObject * obj0 = 0 ; | |
5211 | PyObject * obj1 = 0 ; | |
5212 | char * kwnames[] = { | |
5213 | (char *) "self",(char *) "visible", NULL | |
5214 | }; | |
5215 | ||
5eb8189c RD |
5216 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5217 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5218 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5220 | } |
5eb8189c | 5221 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5222 | if (obj1) { |
5223 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5224 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5225 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5226 | } |
5227 | arg2 = static_cast< bool >(val2); | |
5228 | } | |
5229 | { | |
5230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5231 | { | |
5eb8189c RD |
5232 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5233 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5234 | } |
5235 | wxPyEndAllowThreads(__tstate); | |
5236 | if (PyErr_Occurred()) SWIG_fail; | |
5237 | } | |
5238 | { | |
5239 | resultobj = obj0; Py_INCREF(resultobj); | |
5240 | } | |
5241 | return resultobj; | |
5242 | fail: | |
5243 | return NULL; | |
5244 | } | |
5245 | ||
5246 | ||
5eb8189c | 5247 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5248 | PyObject *resultobj = 0; |
5eb8189c | 5249 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5250 | bool arg2 = (bool) true ; |
5eb8189c | 5251 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5252 | void *argp1 = 0 ; |
5253 | int res1 = 0 ; | |
5254 | bool val2 ; | |
5255 | int ecode2 = 0 ; | |
5256 | PyObject * obj0 = 0 ; | |
5257 | PyObject * obj1 = 0 ; | |
5258 | char * kwnames[] = { | |
5259 | (char *) "self",(char *) "visible", NULL | |
5260 | }; | |
5261 | ||
5eb8189c RD |
5262 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5263 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5264 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5265 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5266 | } |
5eb8189c | 5267 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5268 | if (obj1) { |
5269 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5270 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5271 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5272 | } |
5273 | arg2 = static_cast< bool >(val2); | |
5274 | } | |
5275 | { | |
5276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5277 | { | |
5eb8189c RD |
5278 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5279 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5280 | } |
5281 | wxPyEndAllowThreads(__tstate); | |
5282 | if (PyErr_Occurred()) SWIG_fail; | |
5283 | } | |
5284 | { | |
5285 | resultobj = obj0; Py_INCREF(resultobj); | |
5286 | } | |
5287 | return resultobj; | |
5288 | fail: | |
5289 | return NULL; | |
5290 | } | |
5291 | ||
5292 | ||
5eb8189c | 5293 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5294 | PyObject *resultobj = 0; |
5eb8189c | 5295 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5296 | bool arg2 = (bool) true ; |
5eb8189c | 5297 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5298 | void *argp1 = 0 ; |
5299 | int res1 = 0 ; | |
5300 | bool val2 ; | |
5301 | int ecode2 = 0 ; | |
5302 | PyObject * obj0 = 0 ; | |
5303 | PyObject * obj1 = 0 ; | |
5304 | char * kwnames[] = { | |
5305 | (char *) "self",(char *) "attop", NULL | |
5306 | }; | |
5307 | ||
5eb8189c RD |
5308 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5309 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5310 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5311 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5312 | } |
5eb8189c | 5313 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5314 | if (obj1) { |
5315 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5316 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5317 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5318 | } |
5319 | arg2 = static_cast< bool >(val2); | |
5320 | } | |
5321 | { | |
5322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5323 | { | |
5eb8189c RD |
5324 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5325 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5326 | } |
5327 | wxPyEndAllowThreads(__tstate); | |
5328 | if (PyErr_Occurred()) SWIG_fail; | |
5329 | } | |
5330 | { | |
5331 | resultobj = obj0; Py_INCREF(resultobj); | |
5332 | } | |
5333 | return resultobj; | |
5334 | fail: | |
5335 | return NULL; | |
5336 | } | |
5337 | ||
5338 | ||
5eb8189c | 5339 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5340 | PyObject *resultobj = 0; |
5eb8189c | 5341 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5342 | bool arg2 = (bool) true ; |
5eb8189c | 5343 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5344 | void *argp1 = 0 ; |
5345 | int res1 = 0 ; | |
5346 | bool val2 ; | |
5347 | int ecode2 = 0 ; | |
5348 | PyObject * obj0 = 0 ; | |
5349 | PyObject * obj1 = 0 ; | |
5350 | char * kwnames[] = { | |
5351 | (char *) "self",(char *) "visible", NULL | |
5352 | }; | |
5353 | ||
5eb8189c RD |
5354 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5355 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5356 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5357 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5358 | } |
5eb8189c | 5359 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5360 | if (obj1) { |
5361 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5362 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5363 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5364 | } |
5365 | arg2 = static_cast< bool >(val2); | |
5366 | } | |
5367 | { | |
5368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5369 | { | |
5eb8189c RD |
5370 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5371 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5372 | } |
5373 | wxPyEndAllowThreads(__tstate); | |
5374 | if (PyErr_Occurred()) SWIG_fail; | |
5375 | } | |
5376 | { | |
5377 | resultobj = obj0; Py_INCREF(resultobj); | |
5378 | } | |
5379 | return resultobj; | |
5380 | fail: | |
5381 | return NULL; | |
5382 | } | |
5383 | ||
5384 | ||
5eb8189c | 5385 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5386 | PyObject *resultobj = 0; |
5eb8189c | 5387 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5388 | bool arg2 = (bool) true ; |
5eb8189c | 5389 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5390 | void *argp1 = 0 ; |
5391 | int res1 = 0 ; | |
5392 | bool val2 ; | |
5393 | int ecode2 = 0 ; | |
5394 | PyObject * obj0 = 0 ; | |
5395 | PyObject * obj1 = 0 ; | |
5396 | char * kwnames[] = { | |
5397 | (char *) "self",(char *) "visible", NULL | |
5398 | }; | |
5399 | ||
5eb8189c RD |
5400 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5401 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5402 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5404 | } |
5eb8189c | 5405 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5406 | if (obj1) { |
5407 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5408 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5409 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5410 | } |
5411 | arg2 = static_cast< bool >(val2); | |
5412 | } | |
5413 | { | |
5414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5415 | { | |
5eb8189c RD |
5416 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5417 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5418 | } |
5419 | wxPyEndAllowThreads(__tstate); | |
5420 | if (PyErr_Occurred()) SWIG_fail; | |
5421 | } | |
5422 | { | |
5423 | resultobj = obj0; Py_INCREF(resultobj); | |
5424 | } | |
5425 | return resultobj; | |
5426 | fail: | |
5427 | return NULL; | |
5428 | } | |
5429 | ||
5430 | ||
5eb8189c | 5431 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5432 | PyObject *resultobj = 0; |
5eb8189c | 5433 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5434 | bool arg2 = (bool) true ; |
5eb8189c | 5435 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5436 | void *argp1 = 0 ; |
5437 | int res1 = 0 ; | |
5438 | bool val2 ; | |
5439 | int ecode2 = 0 ; | |
5440 | PyObject * obj0 = 0 ; | |
5441 | PyObject * obj1 = 0 ; | |
5442 | char * kwnames[] = { | |
5443 | (char *) "self",(char *) "visible", NULL | |
5444 | }; | |
5445 | ||
5eb8189c RD |
5446 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5447 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5448 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5449 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5450 | } |
5eb8189c | 5451 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5452 | if (obj1) { |
5453 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5454 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5455 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5456 | } |
5457 | arg2 = static_cast< bool >(val2); | |
5458 | } | |
5459 | { | |
5460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5461 | { | |
5eb8189c RD |
5462 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5463 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5464 | } |
5465 | wxPyEndAllowThreads(__tstate); | |
5466 | if (PyErr_Occurred()) SWIG_fail; | |
5467 | } | |
5468 | { | |
5469 | resultobj = obj0; Py_INCREF(resultobj); | |
5470 | } | |
5471 | return resultobj; | |
5472 | fail: | |
5473 | return NULL; | |
5474 | } | |
5475 | ||
5476 | ||
5eb8189c | 5477 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5478 | PyObject *resultobj = 0; |
5eb8189c | 5479 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5480 | bool arg2 = (bool) true ; |
5eb8189c | 5481 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5482 | void *argp1 = 0 ; |
5483 | int res1 = 0 ; | |
5484 | bool val2 ; | |
5485 | int ecode2 = 0 ; | |
5486 | PyObject * obj0 = 0 ; | |
5487 | PyObject * obj1 = 0 ; | |
5488 | char * kwnames[] = { | |
5489 | (char *) "self",(char *) "visible", NULL | |
5490 | }; | |
5491 | ||
5eb8189c RD |
5492 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5493 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5494 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5496 | } |
5eb8189c | 5497 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5498 | if (obj1) { |
5499 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5500 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5501 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5502 | } |
5503 | arg2 = static_cast< bool >(val2); | |
5504 | } | |
5505 | { | |
5506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5507 | { | |
5eb8189c RD |
5508 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5509 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5510 | } |
5511 | wxPyEndAllowThreads(__tstate); | |
5512 | if (PyErr_Occurred()) SWIG_fail; | |
5513 | } | |
5514 | { | |
5515 | resultobj = obj0; Py_INCREF(resultobj); | |
5516 | } | |
5517 | return resultobj; | |
5518 | fail: | |
5519 | return NULL; | |
5520 | } | |
5521 | ||
5522 | ||
5eb8189c | 5523 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5524 | PyObject *resultobj = 0; |
5eb8189c | 5525 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5526 | bool arg2 = (bool) true ; |
5eb8189c | 5527 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5528 | void *argp1 = 0 ; |
5529 | int res1 = 0 ; | |
5530 | bool val2 ; | |
5531 | int ecode2 = 0 ; | |
5532 | PyObject * obj0 = 0 ; | |
5533 | PyObject * obj1 = 0 ; | |
5534 | char * kwnames[] = { | |
5535 | (char *) "self",(char *) "b", NULL | |
5536 | }; | |
5537 | ||
5eb8189c RD |
5538 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5539 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5540 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5541 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5542 | } |
5eb8189c | 5543 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5544 | if (obj1) { |
5545 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5546 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5547 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5548 | } |
5549 | arg2 = static_cast< bool >(val2); | |
5550 | } | |
5551 | { | |
5552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5553 | { | |
5eb8189c RD |
5554 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5555 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5556 | } |
5557 | wxPyEndAllowThreads(__tstate); | |
5558 | if (PyErr_Occurred()) SWIG_fail; | |
5559 | } | |
5560 | { | |
5561 | resultobj = obj0; Py_INCREF(resultobj); | |
5562 | } | |
5563 | return resultobj; | |
5564 | fail: | |
5565 | return NULL; | |
5566 | } | |
5567 | ||
5568 | ||
5eb8189c | 5569 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5570 | PyObject *resultobj = 0; |
5eb8189c | 5571 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5572 | bool arg2 = (bool) true ; |
5eb8189c | 5573 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5574 | void *argp1 = 0 ; |
5575 | int res1 = 0 ; | |
5576 | bool val2 ; | |
5577 | int ecode2 = 0 ; | |
5578 | PyObject * obj0 = 0 ; | |
5579 | PyObject * obj1 = 0 ; | |
5580 | char * kwnames[] = { | |
5581 | (char *) "self",(char *) "b", NULL | |
5582 | }; | |
5583 | ||
5eb8189c RD |
5584 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5585 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5586 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5587 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5588 | } |
5eb8189c | 5589 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5590 | if (obj1) { |
5591 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5592 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5593 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5594 | } |
5595 | arg2 = static_cast< bool >(val2); | |
5596 | } | |
5597 | { | |
5598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5599 | { | |
5eb8189c RD |
5600 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5601 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5602 | } |
5603 | wxPyEndAllowThreads(__tstate); | |
5604 | if (PyErr_Occurred()) SWIG_fail; | |
5605 | } | |
5606 | { | |
5607 | resultobj = obj0; Py_INCREF(resultobj); | |
5608 | } | |
5609 | return resultobj; | |
5610 | fail: | |
5611 | return NULL; | |
5612 | } | |
5613 | ||
5614 | ||
5eb8189c | 5615 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5616 | PyObject *resultobj = 0; |
5eb8189c | 5617 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5618 | bool arg2 = (bool) true ; |
5eb8189c | 5619 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5620 | void *argp1 = 0 ; |
5621 | int res1 = 0 ; | |
5622 | bool val2 ; | |
5623 | int ecode2 = 0 ; | |
5624 | PyObject * obj0 = 0 ; | |
5625 | PyObject * obj1 = 0 ; | |
5626 | char * kwnames[] = { | |
5627 | (char *) "self",(char *) "b", NULL | |
5628 | }; | |
5629 | ||
5eb8189c RD |
5630 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5631 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5632 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5633 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5634 | } |
5eb8189c | 5635 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5636 | if (obj1) { |
5637 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5638 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5639 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5640 | } |
5641 | arg2 = static_cast< bool >(val2); | |
5642 | } | |
5643 | { | |
5644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5645 | { | |
5eb8189c RD |
5646 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5647 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5648 | } |
5649 | wxPyEndAllowThreads(__tstate); | |
5650 | if (PyErr_Occurred()) SWIG_fail; | |
5651 | } | |
5652 | { | |
5653 | resultobj = obj0; Py_INCREF(resultobj); | |
5654 | } | |
5655 | return resultobj; | |
5656 | fail: | |
5657 | return NULL; | |
5658 | } | |
5659 | ||
5660 | ||
5eb8189c | 5661 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5662 | PyObject *resultobj = 0; |
5eb8189c | 5663 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5664 | bool arg2 = (bool) true ; |
5eb8189c | 5665 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5666 | void *argp1 = 0 ; |
5667 | int res1 = 0 ; | |
5668 | bool val2 ; | |
5669 | int ecode2 = 0 ; | |
5670 | PyObject * obj0 = 0 ; | |
5671 | PyObject * obj1 = 0 ; | |
5672 | char * kwnames[] = { | |
5673 | (char *) "self",(char *) "b", NULL | |
5674 | }; | |
5675 | ||
5eb8189c RD |
5676 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5677 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5678 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5680 | } |
5eb8189c | 5681 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5682 | if (obj1) { |
5683 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5684 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5685 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5686 | } |
5687 | arg2 = static_cast< bool >(val2); | |
5688 | } | |
5689 | { | |
5690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5691 | { | |
5eb8189c RD |
5692 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5693 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5694 | } |
5695 | wxPyEndAllowThreads(__tstate); | |
5696 | if (PyErr_Occurred()) SWIG_fail; | |
5697 | } | |
5698 | { | |
5699 | resultobj = obj0; Py_INCREF(resultobj); | |
5700 | } | |
5701 | return resultobj; | |
5702 | fail: | |
5703 | return NULL; | |
5704 | } | |
5705 | ||
5706 | ||
5eb8189c | 5707 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5708 | PyObject *resultobj = 0; |
5eb8189c | 5709 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5710 | bool arg2 = (bool) true ; |
5eb8189c | 5711 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5712 | void *argp1 = 0 ; |
5713 | int res1 = 0 ; | |
5714 | bool val2 ; | |
5715 | int ecode2 = 0 ; | |
5716 | PyObject * obj0 = 0 ; | |
5717 | PyObject * obj1 = 0 ; | |
5718 | char * kwnames[] = { | |
5719 | (char *) "self",(char *) "b", NULL | |
5720 | }; | |
5721 | ||
5eb8189c RD |
5722 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5723 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5724 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5725 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5726 | } |
5eb8189c | 5727 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5728 | if (obj1) { |
5729 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5730 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5731 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5732 | } |
5733 | arg2 = static_cast< bool >(val2); | |
5734 | } | |
5735 | { | |
5736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5737 | { | |
5eb8189c RD |
5738 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5739 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5740 | } |
5741 | wxPyEndAllowThreads(__tstate); | |
5742 | if (PyErr_Occurred()) SWIG_fail; | |
5743 | } | |
5744 | { | |
5745 | resultobj = obj0; Py_INCREF(resultobj); | |
5746 | } | |
5747 | return resultobj; | |
5748 | fail: | |
5749 | return NULL; | |
5750 | } | |
5751 | ||
5752 | ||
5eb8189c | 5753 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5754 | PyObject *resultobj = 0; |
5eb8189c | 5755 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5756 | bool arg2 = (bool) true ; |
5eb8189c | 5757 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5758 | void *argp1 = 0 ; |
5759 | int res1 = 0 ; | |
5760 | bool val2 ; | |
5761 | int ecode2 = 0 ; | |
5762 | PyObject * obj0 = 0 ; | |
5763 | PyObject * obj1 = 0 ; | |
5764 | char * kwnames[] = { | |
5765 | (char *) "self",(char *) "b", NULL | |
5766 | }; | |
5767 | ||
5eb8189c RD |
5768 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5769 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5770 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5772 | } |
5eb8189c | 5773 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5774 | if (obj1) { |
5775 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5776 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5777 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5778 | } |
5779 | arg2 = static_cast< bool >(val2); | |
5780 | } | |
5781 | { | |
5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5783 | { | |
5eb8189c RD |
5784 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5785 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5786 | } |
5787 | wxPyEndAllowThreads(__tstate); | |
5788 | if (PyErr_Occurred()) SWIG_fail; | |
5789 | } | |
5790 | { | |
5791 | resultobj = obj0; Py_INCREF(resultobj); | |
5792 | } | |
5793 | return resultobj; | |
5794 | fail: | |
5795 | return NULL; | |
5796 | } | |
5797 | ||
5798 | ||
5eb8189c | 5799 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5800 | PyObject *resultobj = 0; |
5eb8189c | 5801 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5802 | bool arg2 = (bool) true ; |
5eb8189c | 5803 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5804 | void *argp1 = 0 ; |
5805 | int res1 = 0 ; | |
5806 | bool val2 ; | |
5807 | int ecode2 = 0 ; | |
5808 | PyObject * obj0 = 0 ; | |
5809 | PyObject * obj1 = 0 ; | |
5810 | char * kwnames[] = { | |
5811 | (char *) "self",(char *) "b", NULL | |
5812 | }; | |
5813 | ||
5eb8189c RD |
5814 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5815 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5816 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5818 | } |
5eb8189c | 5819 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5820 | if (obj1) { |
5821 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5822 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5823 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5824 | } |
5825 | arg2 = static_cast< bool >(val2); | |
5826 | } | |
5827 | { | |
5828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5829 | { | |
5eb8189c RD |
5830 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5831 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5832 | } |
5833 | wxPyEndAllowThreads(__tstate); | |
5834 | if (PyErr_Occurred()) SWIG_fail; | |
5835 | } | |
5836 | { | |
5837 | resultobj = obj0; Py_INCREF(resultobj); | |
5838 | } | |
5839 | return resultobj; | |
5840 | fail: | |
5841 | return NULL; | |
5842 | } | |
5843 | ||
5844 | ||
5eb8189c RD |
5845 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5846 | PyObject *resultobj = 0; | |
5847 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5848 | bool arg2 = (bool) true ; |
5eb8189c | 5849 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5850 | void *argp1 = 0 ; |
5851 | int res1 = 0 ; | |
5852 | bool val2 ; | |
5853 | int ecode2 = 0 ; | |
5854 | PyObject * obj0 = 0 ; | |
5855 | PyObject * obj1 = 0 ; | |
5856 | char * kwnames[] = { | |
5857 | (char *) "self",(char *) "b", NULL | |
5858 | }; | |
5859 | ||
5eb8189c RD |
5860 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5861 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5862 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5864 | } |
5eb8189c | 5865 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5866 | if (obj1) { |
5867 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5868 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5869 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5870 | } |
5871 | arg2 = static_cast< bool >(val2); | |
5872 | } | |
5873 | { | |
5874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5875 | { | |
5eb8189c RD |
5876 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5877 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5878 | } |
5879 | wxPyEndAllowThreads(__tstate); | |
5880 | if (PyErr_Occurred()) SWIG_fail; | |
5881 | } | |
5882 | { | |
5883 | resultobj = obj0; Py_INCREF(resultobj); | |
5884 | } | |
5885 | return resultobj; | |
5886 | fail: | |
5887 | return NULL; | |
5888 | } | |
5889 | ||
5890 | ||
5eb8189c | 5891 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5892 | PyObject *resultobj = 0; |
5eb8189c RD |
5893 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5894 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5895 | void *argp1 = 0 ; |
5896 | int res1 = 0 ; | |
5897 | PyObject *swig_obj[1] ; | |
5898 | ||
5899 | if (!args) SWIG_fail; | |
5900 | swig_obj[0] = args; | |
5eb8189c | 5901 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5902 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5903 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5904 | } |
5eb8189c | 5905 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5906 | { |
5907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5908 | { | |
5eb8189c RD |
5909 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5910 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5911 | } |
5912 | wxPyEndAllowThreads(__tstate); | |
5913 | if (PyErr_Occurred()) SWIG_fail; | |
5914 | } | |
5915 | { | |
5916 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5917 | } | |
5918 | return resultobj; | |
5919 | fail: | |
5920 | return NULL; | |
5921 | } | |
5922 | ||
5923 | ||
5eb8189c | 5924 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5925 | PyObject *resultobj = 0; |
5eb8189c RD |
5926 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5927 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5928 | void *argp1 = 0 ; |
5929 | int res1 = 0 ; | |
5930 | PyObject *swig_obj[1] ; | |
5931 | ||
5932 | if (!args) SWIG_fail; | |
5933 | swig_obj[0] = args; | |
5eb8189c | 5934 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5935 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5936 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5937 | } |
5eb8189c | 5938 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5939 | { |
5940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5941 | { | |
5eb8189c RD |
5942 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5943 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5944 | } |
5945 | wxPyEndAllowThreads(__tstate); | |
5946 | if (PyErr_Occurred()) SWIG_fail; | |
5947 | } | |
5948 | { | |
5949 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5950 | } | |
5951 | return resultobj; | |
5952 | fail: | |
5953 | return NULL; | |
5954 | } | |
5955 | ||
5956 | ||
5eb8189c | 5957 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5958 | PyObject *resultobj = 0; |
5eb8189c RD |
5959 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5960 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5961 | void *argp1 = 0 ; |
5962 | int res1 = 0 ; | |
5963 | PyObject *swig_obj[1] ; | |
5964 | ||
5965 | if (!args) SWIG_fail; | |
5966 | swig_obj[0] = args; | |
5eb8189c | 5967 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5968 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5969 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5970 | } |
5eb8189c | 5971 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5972 | { |
5973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5974 | { | |
5eb8189c RD |
5975 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
5976 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5977 | } |
5978 | wxPyEndAllowThreads(__tstate); | |
5979 | if (PyErr_Occurred()) SWIG_fail; | |
5980 | } | |
5981 | { | |
5982 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5983 | } | |
5984 | return resultobj; | |
5985 | fail: | |
5986 | return NULL; | |
5987 | } | |
5988 | ||
5989 | ||
5eb8189c | 5990 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5991 | PyObject *resultobj = 0; |
5eb8189c RD |
5992 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5993 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5994 | void *argp1 = 0 ; |
5995 | int res1 = 0 ; | |
5996 | PyObject *swig_obj[1] ; | |
5997 | ||
5998 | if (!args) SWIG_fail; | |
5999 | swig_obj[0] = args; | |
5eb8189c | 6000 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6001 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6003 | } |
5eb8189c | 6004 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6005 | { |
6006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6007 | { | |
5eb8189c RD |
6008 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6009 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6010 | } |
6011 | wxPyEndAllowThreads(__tstate); | |
6012 | if (PyErr_Occurred()) SWIG_fail; | |
6013 | } | |
6014 | { | |
6015 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6016 | } | |
6017 | return resultobj; | |
6018 | fail: | |
6019 | return NULL; | |
6020 | } | |
6021 | ||
6022 | ||
5eb8189c | 6023 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6024 | PyObject *resultobj = 0; |
5eb8189c | 6025 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6026 | int arg2 ; |
6027 | bool arg3 ; | |
5eb8189c | 6028 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6029 | void *argp1 = 0 ; |
6030 | int res1 = 0 ; | |
6031 | int val2 ; | |
6032 | int ecode2 = 0 ; | |
6033 | bool val3 ; | |
6034 | int ecode3 = 0 ; | |
6035 | PyObject * obj0 = 0 ; | |
6036 | PyObject * obj1 = 0 ; | |
6037 | PyObject * obj2 = 0 ; | |
6038 | char * kwnames[] = { | |
6039 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6040 | }; | |
6041 | ||
5eb8189c RD |
6042 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6043 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6044 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6046 | } |
5eb8189c | 6047 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6048 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6049 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6050 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6051 | } |
6052 | arg2 = static_cast< int >(val2); | |
6053 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6054 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6055 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6056 | } |
6057 | arg3 = static_cast< bool >(val3); | |
6058 | { | |
6059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6060 | { | |
5eb8189c RD |
6061 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6062 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6063 | } |
6064 | wxPyEndAllowThreads(__tstate); | |
6065 | if (PyErr_Occurred()) SWIG_fail; | |
6066 | } | |
6067 | { | |
6068 | resultobj = obj0; Py_INCREF(resultobj); | |
6069 | } | |
6070 | return resultobj; | |
6071 | fail: | |
6072 | return NULL; | |
6073 | } | |
6074 | ||
6075 | ||
5eb8189c | 6076 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6077 | PyObject *resultobj = 0; |
5eb8189c | 6078 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6079 | int arg2 ; |
6080 | bool result; | |
6081 | void *argp1 = 0 ; | |
6082 | int res1 = 0 ; | |
6083 | int val2 ; | |
6084 | int ecode2 = 0 ; | |
6085 | PyObject * obj0 = 0 ; | |
6086 | PyObject * obj1 = 0 ; | |
6087 | char * kwnames[] = { | |
6088 | (char *) "self",(char *) "flag", NULL | |
6089 | }; | |
6090 | ||
5eb8189c RD |
6091 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6092 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6093 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6094 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6095 | } |
5eb8189c | 6096 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6097 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6098 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6099 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6100 | } |
6101 | arg2 = static_cast< int >(val2); | |
6102 | { | |
6103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6104 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6105 | wxPyEndAllowThreads(__tstate); |
6106 | if (PyErr_Occurred()) SWIG_fail; | |
6107 | } | |
6108 | { | |
6109 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6110 | } | |
6111 | return resultobj; | |
6112 | fail: | |
6113 | return NULL; | |
6114 | } | |
6115 | ||
6116 | ||
5eb8189c | 6117 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6118 | PyObject *resultobj = 0; |
5eb8189c | 6119 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6120 | wxString *arg2 = (wxString *) 0 ; |
6121 | void *argp1 = 0 ; | |
6122 | int res1 = 0 ; | |
6123 | bool temp2 = false ; | |
6124 | PyObject *swig_obj[2] ; | |
6125 | ||
5eb8189c RD |
6126 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6127 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6128 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6130 | } |
5eb8189c | 6131 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6132 | { |
6133 | arg2 = wxString_in_helper(swig_obj[1]); | |
6134 | if (arg2 == NULL) SWIG_fail; | |
6135 | temp2 = true; | |
6136 | } | |
6137 | if (arg1) (arg1)->name = *arg2; | |
6138 | ||
6139 | resultobj = SWIG_Py_Void(); | |
6140 | { | |
6141 | if (temp2) | |
6142 | delete arg2; | |
6143 | } | |
6144 | return resultobj; | |
6145 | fail: | |
6146 | { | |
6147 | if (temp2) | |
6148 | delete arg2; | |
6149 | } | |
6150 | return NULL; | |
6151 | } | |
6152 | ||
6153 | ||
5eb8189c | 6154 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6155 | PyObject *resultobj = 0; |
5eb8189c | 6156 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6157 | wxString *result = 0 ; |
6158 | void *argp1 = 0 ; | |
6159 | int res1 = 0 ; | |
6160 | PyObject *swig_obj[1] ; | |
6161 | ||
6162 | if (!args) SWIG_fail; | |
6163 | swig_obj[0] = args; | |
5eb8189c | 6164 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6165 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6166 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6167 | } |
5eb8189c | 6168 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6169 | result = (wxString *)& ((arg1)->name); |
6170 | { | |
6171 | #if wxUSE_UNICODE | |
6172 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6173 | #else | |
6174 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6175 | #endif | |
6176 | } | |
6177 | return resultobj; | |
6178 | fail: | |
6179 | return NULL; | |
6180 | } | |
6181 | ||
6182 | ||
5eb8189c | 6183 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6184 | PyObject *resultobj = 0; |
5eb8189c | 6185 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6186 | wxString *arg2 = (wxString *) 0 ; |
6187 | void *argp1 = 0 ; | |
6188 | int res1 = 0 ; | |
6189 | bool temp2 = false ; | |
6190 | PyObject *swig_obj[2] ; | |
6191 | ||
5eb8189c RD |
6192 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6193 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6194 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6196 | } |
5eb8189c | 6197 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6198 | { |
6199 | arg2 = wxString_in_helper(swig_obj[1]); | |
6200 | if (arg2 == NULL) SWIG_fail; | |
6201 | temp2 = true; | |
6202 | } | |
6203 | if (arg1) (arg1)->caption = *arg2; | |
6204 | ||
6205 | resultobj = SWIG_Py_Void(); | |
6206 | { | |
6207 | if (temp2) | |
6208 | delete arg2; | |
6209 | } | |
6210 | return resultobj; | |
6211 | fail: | |
6212 | { | |
6213 | if (temp2) | |
6214 | delete arg2; | |
6215 | } | |
6216 | return NULL; | |
6217 | } | |
6218 | ||
6219 | ||
5eb8189c | 6220 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6221 | PyObject *resultobj = 0; |
5eb8189c | 6222 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6223 | wxString *result = 0 ; |
6224 | void *argp1 = 0 ; | |
6225 | int res1 = 0 ; | |
6226 | PyObject *swig_obj[1] ; | |
6227 | ||
6228 | if (!args) SWIG_fail; | |
6229 | swig_obj[0] = args; | |
5eb8189c | 6230 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6231 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6233 | } |
5eb8189c | 6234 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6235 | result = (wxString *)& ((arg1)->caption); |
6236 | { | |
6237 | #if wxUSE_UNICODE | |
6238 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6239 | #else | |
6240 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6241 | #endif | |
6242 | } | |
6243 | return resultobj; | |
6244 | fail: | |
6245 | return NULL; | |
6246 | } | |
6247 | ||
6248 | ||
5eb8189c | 6249 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6250 | PyObject *resultobj = 0; |
5eb8189c | 6251 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6252 | wxWindow *arg2 = (wxWindow *) 0 ; |
6253 | void *argp1 = 0 ; | |
6254 | int res1 = 0 ; | |
6255 | void *argp2 = 0 ; | |
6256 | int res2 = 0 ; | |
6257 | PyObject *swig_obj[2] ; | |
6258 | ||
5eb8189c RD |
6259 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6260 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6261 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6263 | } |
5eb8189c | 6264 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6265 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6266 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6267 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6268 | } |
6269 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6270 | if (arg1) (arg1)->window = arg2; | |
6271 | ||
6272 | resultobj = SWIG_Py_Void(); | |
6273 | return resultobj; | |
6274 | fail: | |
6275 | return NULL; | |
6276 | } | |
6277 | ||
6278 | ||
5eb8189c | 6279 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6280 | PyObject *resultobj = 0; |
5eb8189c | 6281 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6282 | wxWindow *result = 0 ; |
6283 | void *argp1 = 0 ; | |
6284 | int res1 = 0 ; | |
6285 | PyObject *swig_obj[1] ; | |
6286 | ||
6287 | if (!args) SWIG_fail; | |
6288 | swig_obj[0] = args; | |
5eb8189c | 6289 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6290 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6291 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6292 | } |
5eb8189c | 6293 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6294 | result = (wxWindow *) ((arg1)->window); |
6295 | { | |
6296 | resultobj = wxPyMake_wxObject(result, 0); | |
6297 | } | |
6298 | return resultobj; | |
6299 | fail: | |
6300 | return NULL; | |
6301 | } | |
6302 | ||
6303 | ||
5eb8189c | 6304 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6305 | PyObject *resultobj = 0; |
5eb8189c | 6306 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6307 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6308 | void *argp1 = 0 ; |
6309 | int res1 = 0 ; | |
6310 | void *argp2 = 0 ; | |
6311 | int res2 = 0 ; | |
6312 | PyObject *swig_obj[2] ; | |
6313 | ||
5eb8189c RD |
6314 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6315 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6316 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6317 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6318 | } |
5eb8189c | 6319 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6320 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6321 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6322 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6323 | } |
10044bf1 | 6324 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6325 | if (arg1) (arg1)->frame = arg2; |
6326 | ||
6327 | resultobj = SWIG_Py_Void(); | |
6328 | return resultobj; | |
6329 | fail: | |
6330 | return NULL; | |
6331 | } | |
6332 | ||
6333 | ||
5eb8189c | 6334 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6335 | PyObject *resultobj = 0; |
5eb8189c | 6336 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6337 | wxFrame *result = 0 ; |
27e45892 RD |
6338 | void *argp1 = 0 ; |
6339 | int res1 = 0 ; | |
6340 | PyObject *swig_obj[1] ; | |
6341 | ||
6342 | if (!args) SWIG_fail; | |
6343 | swig_obj[0] = args; | |
5eb8189c | 6344 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6345 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6347 | } |
5eb8189c | 6348 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6349 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6350 | { |
6351 | resultobj = wxPyMake_wxObject(result, 0); | |
6352 | } | |
6353 | return resultobj; | |
6354 | fail: | |
6355 | return NULL; | |
6356 | } | |
6357 | ||
6358 | ||
5eb8189c | 6359 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6360 | PyObject *resultobj = 0; |
5eb8189c | 6361 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6362 | int arg2 ; |
6363 | void *argp1 = 0 ; | |
6364 | int res1 = 0 ; | |
6365 | int val2 ; | |
6366 | int ecode2 = 0 ; | |
6367 | PyObject *swig_obj[2] ; | |
6368 | ||
5eb8189c RD |
6369 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6371 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6373 | } |
5eb8189c | 6374 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6375 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6376 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6377 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6378 | } |
6379 | arg2 = static_cast< int >(val2); | |
6380 | if (arg1) (arg1)->state = arg2; | |
6381 | ||
6382 | resultobj = SWIG_Py_Void(); | |
6383 | return resultobj; | |
6384 | fail: | |
6385 | return NULL; | |
6386 | } | |
6387 | ||
6388 | ||
5eb8189c | 6389 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6390 | PyObject *resultobj = 0; |
5eb8189c | 6391 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6392 | int result; |
6393 | void *argp1 = 0 ; | |
6394 | int res1 = 0 ; | |
6395 | PyObject *swig_obj[1] ; | |
6396 | ||
6397 | if (!args) SWIG_fail; | |
6398 | swig_obj[0] = args; | |
5eb8189c | 6399 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6400 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6401 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6402 | } |
5eb8189c | 6403 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6404 | result = (int) ((arg1)->state); |
6405 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6406 | return resultobj; | |
6407 | fail: | |
6408 | return NULL; | |
6409 | } | |
6410 | ||
6411 | ||
5eb8189c | 6412 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6413 | PyObject *resultobj = 0; |
5eb8189c | 6414 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6415 | int arg2 ; |
6416 | void *argp1 = 0 ; | |
6417 | int res1 = 0 ; | |
6418 | int val2 ; | |
6419 | int ecode2 = 0 ; | |
6420 | PyObject *swig_obj[2] ; | |
6421 | ||
5eb8189c RD |
6422 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6423 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6424 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6425 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6426 | } |
5eb8189c | 6427 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6428 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6429 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6430 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6431 | } |
6432 | arg2 = static_cast< int >(val2); | |
6433 | if (arg1) (arg1)->dock_direction = arg2; | |
6434 | ||
6435 | resultobj = SWIG_Py_Void(); | |
6436 | return resultobj; | |
6437 | fail: | |
6438 | return NULL; | |
6439 | } | |
6440 | ||
6441 | ||
5eb8189c | 6442 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6443 | PyObject *resultobj = 0; |
5eb8189c | 6444 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6445 | int result; |
6446 | void *argp1 = 0 ; | |
6447 | int res1 = 0 ; | |
6448 | PyObject *swig_obj[1] ; | |
6449 | ||
6450 | if (!args) SWIG_fail; | |
6451 | swig_obj[0] = args; | |
5eb8189c | 6452 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6453 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6455 | } |
5eb8189c | 6456 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6457 | result = (int) ((arg1)->dock_direction); |
6458 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6459 | return resultobj; | |
6460 | fail: | |
6461 | return NULL; | |
6462 | } | |
6463 | ||
6464 | ||
5eb8189c | 6465 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6466 | PyObject *resultobj = 0; |
5eb8189c | 6467 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6468 | int arg2 ; |
6469 | void *argp1 = 0 ; | |
6470 | int res1 = 0 ; | |
6471 | int val2 ; | |
6472 | int ecode2 = 0 ; | |
6473 | PyObject *swig_obj[2] ; | |
6474 | ||
5eb8189c RD |
6475 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6476 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6477 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6478 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6479 | } |
5eb8189c | 6480 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6481 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6482 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6483 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6484 | } |
6485 | arg2 = static_cast< int >(val2); | |
6486 | if (arg1) (arg1)->dock_layer = arg2; | |
6487 | ||
6488 | resultobj = SWIG_Py_Void(); | |
6489 | return resultobj; | |
6490 | fail: | |
6491 | return NULL; | |
6492 | } | |
6493 | ||
6494 | ||
5eb8189c | 6495 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6496 | PyObject *resultobj = 0; |
5eb8189c | 6497 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6498 | int result; |
6499 | void *argp1 = 0 ; | |
6500 | int res1 = 0 ; | |
6501 | PyObject *swig_obj[1] ; | |
6502 | ||
6503 | if (!args) SWIG_fail; | |
6504 | swig_obj[0] = args; | |
5eb8189c | 6505 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6506 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6508 | } |
5eb8189c | 6509 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6510 | result = (int) ((arg1)->dock_layer); |
6511 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6512 | return resultobj; | |
6513 | fail: | |
6514 | return NULL; | |
6515 | } | |
6516 | ||
6517 | ||
5eb8189c | 6518 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6519 | PyObject *resultobj = 0; |
5eb8189c | 6520 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6521 | int arg2 ; |
6522 | void *argp1 = 0 ; | |
6523 | int res1 = 0 ; | |
6524 | int val2 ; | |
6525 | int ecode2 = 0 ; | |
6526 | PyObject *swig_obj[2] ; | |
6527 | ||
5eb8189c RD |
6528 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6529 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6530 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6531 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6532 | } |
5eb8189c | 6533 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6534 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6535 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6536 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6537 | } |
6538 | arg2 = static_cast< int >(val2); | |
6539 | if (arg1) (arg1)->dock_row = arg2; | |
6540 | ||
6541 | resultobj = SWIG_Py_Void(); | |
6542 | return resultobj; | |
6543 | fail: | |
6544 | return NULL; | |
6545 | } | |
6546 | ||
6547 | ||
5eb8189c | 6548 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6549 | PyObject *resultobj = 0; |
5eb8189c | 6550 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6551 | int result; |
6552 | void *argp1 = 0 ; | |
6553 | int res1 = 0 ; | |
6554 | PyObject *swig_obj[1] ; | |
6555 | ||
6556 | if (!args) SWIG_fail; | |
6557 | swig_obj[0] = args; | |
5eb8189c | 6558 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6559 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6561 | } |
5eb8189c | 6562 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6563 | result = (int) ((arg1)->dock_row); |
6564 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6565 | return resultobj; | |
6566 | fail: | |
6567 | return NULL; | |
6568 | } | |
6569 | ||
6570 | ||
5eb8189c | 6571 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6572 | PyObject *resultobj = 0; |
5eb8189c | 6573 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6574 | int arg2 ; |
6575 | void *argp1 = 0 ; | |
6576 | int res1 = 0 ; | |
6577 | int val2 ; | |
6578 | int ecode2 = 0 ; | |
6579 | PyObject *swig_obj[2] ; | |
6580 | ||
5eb8189c RD |
6581 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6582 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6583 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6584 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6585 | } |
5eb8189c | 6586 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6587 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6588 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6589 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6590 | } |
6591 | arg2 = static_cast< int >(val2); | |
6592 | if (arg1) (arg1)->dock_pos = arg2; | |
6593 | ||
6594 | resultobj = SWIG_Py_Void(); | |
6595 | return resultobj; | |
6596 | fail: | |
6597 | return NULL; | |
6598 | } | |
6599 | ||
6600 | ||
5eb8189c | 6601 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6602 | PyObject *resultobj = 0; |
5eb8189c | 6603 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6604 | int result; |
6605 | void *argp1 = 0 ; | |
6606 | int res1 = 0 ; | |
6607 | PyObject *swig_obj[1] ; | |
6608 | ||
6609 | if (!args) SWIG_fail; | |
6610 | swig_obj[0] = args; | |
5eb8189c | 6611 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6612 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6613 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6614 | } |
5eb8189c | 6615 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6616 | result = (int) ((arg1)->dock_pos); |
6617 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6618 | return resultobj; | |
6619 | fail: | |
6620 | return NULL; | |
6621 | } | |
6622 | ||
6623 | ||
5eb8189c | 6624 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6625 | PyObject *resultobj = 0; |
5eb8189c | 6626 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6627 | wxSize *arg2 = (wxSize *) 0 ; |
6628 | void *argp1 = 0 ; | |
6629 | int res1 = 0 ; | |
6630 | void *argp2 = 0 ; | |
6631 | int res2 = 0 ; | |
6632 | PyObject *swig_obj[2] ; | |
6633 | ||
5eb8189c RD |
6634 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6635 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6636 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6638 | } |
5eb8189c | 6639 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6640 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6641 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6642 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6643 | } |
6644 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6645 | if (arg1) (arg1)->best_size = *arg2; | |
6646 | ||
6647 | resultobj = SWIG_Py_Void(); | |
6648 | return resultobj; | |
6649 | fail: | |
6650 | return NULL; | |
6651 | } | |
6652 | ||
6653 | ||
5eb8189c | 6654 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6655 | PyObject *resultobj = 0; |
5eb8189c | 6656 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6657 | wxSize *result = 0 ; |
6658 | void *argp1 = 0 ; | |
6659 | int res1 = 0 ; | |
6660 | PyObject *swig_obj[1] ; | |
6661 | ||
6662 | if (!args) SWIG_fail; | |
6663 | swig_obj[0] = args; | |
5eb8189c | 6664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6665 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6667 | } |
5eb8189c | 6668 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6669 | result = (wxSize *)& ((arg1)->best_size); |
6670 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6671 | return resultobj; | |
6672 | fail: | |
6673 | return NULL; | |
6674 | } | |
6675 | ||
6676 | ||
5eb8189c | 6677 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6678 | PyObject *resultobj = 0; |
5eb8189c | 6679 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6680 | wxSize *arg2 = (wxSize *) 0 ; |
6681 | void *argp1 = 0 ; | |
6682 | int res1 = 0 ; | |
6683 | void *argp2 = 0 ; | |
6684 | int res2 = 0 ; | |
6685 | PyObject *swig_obj[2] ; | |
6686 | ||
5eb8189c RD |
6687 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6688 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6689 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6690 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6691 | } |
5eb8189c | 6692 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6693 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6694 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6695 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6696 | } |
6697 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6698 | if (arg1) (arg1)->min_size = *arg2; | |
6699 | ||
6700 | resultobj = SWIG_Py_Void(); | |
6701 | return resultobj; | |
6702 | fail: | |
6703 | return NULL; | |
6704 | } | |
6705 | ||
6706 | ||
5eb8189c | 6707 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6708 | PyObject *resultobj = 0; |
5eb8189c | 6709 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6710 | wxSize *result = 0 ; |
6711 | void *argp1 = 0 ; | |
6712 | int res1 = 0 ; | |
6713 | PyObject *swig_obj[1] ; | |
6714 | ||
6715 | if (!args) SWIG_fail; | |
6716 | swig_obj[0] = args; | |
5eb8189c | 6717 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6718 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6719 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6720 | } |
5eb8189c | 6721 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6722 | result = (wxSize *)& ((arg1)->min_size); |
6723 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6724 | return resultobj; | |
6725 | fail: | |
6726 | return NULL; | |
6727 | } | |
6728 | ||
6729 | ||
5eb8189c | 6730 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6731 | PyObject *resultobj = 0; |
5eb8189c | 6732 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6733 | wxSize *arg2 = (wxSize *) 0 ; |
6734 | void *argp1 = 0 ; | |
6735 | int res1 = 0 ; | |
6736 | void *argp2 = 0 ; | |
6737 | int res2 = 0 ; | |
6738 | PyObject *swig_obj[2] ; | |
6739 | ||
5eb8189c RD |
6740 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6741 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6742 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6743 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6744 | } |
5eb8189c | 6745 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6746 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6747 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6748 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6749 | } |
6750 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6751 | if (arg1) (arg1)->max_size = *arg2; | |
6752 | ||
6753 | resultobj = SWIG_Py_Void(); | |
6754 | return resultobj; | |
6755 | fail: | |
6756 | return NULL; | |
6757 | } | |
6758 | ||
6759 | ||
5eb8189c | 6760 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6761 | PyObject *resultobj = 0; |
5eb8189c | 6762 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6763 | wxSize *result = 0 ; |
6764 | void *argp1 = 0 ; | |
6765 | int res1 = 0 ; | |
6766 | PyObject *swig_obj[1] ; | |
6767 | ||
6768 | if (!args) SWIG_fail; | |
6769 | swig_obj[0] = args; | |
5eb8189c | 6770 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6771 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6772 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6773 | } |
5eb8189c | 6774 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6775 | result = (wxSize *)& ((arg1)->max_size); |
6776 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6777 | return resultobj; | |
6778 | fail: | |
6779 | return NULL; | |
6780 | } | |
6781 | ||
6782 | ||
5eb8189c | 6783 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6784 | PyObject *resultobj = 0; |
5eb8189c | 6785 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6786 | wxPoint *arg2 = (wxPoint *) 0 ; |
6787 | void *argp1 = 0 ; | |
6788 | int res1 = 0 ; | |
6789 | void *argp2 = 0 ; | |
6790 | int res2 = 0 ; | |
6791 | PyObject *swig_obj[2] ; | |
6792 | ||
5eb8189c RD |
6793 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6794 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6795 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6797 | } |
5eb8189c | 6798 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6799 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6800 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6801 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6802 | } |
6803 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6804 | if (arg1) (arg1)->floating_pos = *arg2; | |
6805 | ||
6806 | resultobj = SWIG_Py_Void(); | |
6807 | return resultobj; | |
6808 | fail: | |
6809 | return NULL; | |
6810 | } | |
6811 | ||
6812 | ||
5eb8189c | 6813 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6814 | PyObject *resultobj = 0; |
5eb8189c | 6815 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6816 | wxPoint *result = 0 ; |
6817 | void *argp1 = 0 ; | |
6818 | int res1 = 0 ; | |
6819 | PyObject *swig_obj[1] ; | |
6820 | ||
6821 | if (!args) SWIG_fail; | |
6822 | swig_obj[0] = args; | |
5eb8189c | 6823 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6824 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6826 | } |
5eb8189c | 6827 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6828 | result = (wxPoint *)& ((arg1)->floating_pos); |
6829 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6830 | return resultobj; | |
6831 | fail: | |
6832 | return NULL; | |
6833 | } | |
6834 | ||
6835 | ||
5eb8189c | 6836 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6837 | PyObject *resultobj = 0; |
5eb8189c | 6838 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6839 | wxSize *arg2 = (wxSize *) 0 ; |
6840 | void *argp1 = 0 ; | |
6841 | int res1 = 0 ; | |
6842 | void *argp2 = 0 ; | |
6843 | int res2 = 0 ; | |
6844 | PyObject *swig_obj[2] ; | |
6845 | ||
5eb8189c RD |
6846 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6847 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6848 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6849 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6850 | } |
5eb8189c | 6851 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6852 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6853 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6854 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6855 | } |
6856 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6857 | if (arg1) (arg1)->floating_size = *arg2; | |
6858 | ||
6859 | resultobj = SWIG_Py_Void(); | |
6860 | return resultobj; | |
6861 | fail: | |
6862 | return NULL; | |
6863 | } | |
6864 | ||
6865 | ||
5eb8189c | 6866 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6867 | PyObject *resultobj = 0; |
5eb8189c | 6868 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6869 | wxSize *result = 0 ; |
6870 | void *argp1 = 0 ; | |
6871 | int res1 = 0 ; | |
6872 | PyObject *swig_obj[1] ; | |
6873 | ||
6874 | if (!args) SWIG_fail; | |
6875 | swig_obj[0] = args; | |
5eb8189c | 6876 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6877 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6879 | } |
5eb8189c | 6880 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6881 | result = (wxSize *)& ((arg1)->floating_size); |
6882 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6883 | return resultobj; | |
6884 | fail: | |
6885 | return NULL; | |
6886 | } | |
6887 | ||
6888 | ||
5eb8189c | 6889 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6890 | PyObject *resultobj = 0; |
5eb8189c | 6891 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6892 | int arg2 ; |
6893 | void *argp1 = 0 ; | |
6894 | int res1 = 0 ; | |
6895 | int val2 ; | |
6896 | int ecode2 = 0 ; | |
6897 | PyObject *swig_obj[2] ; | |
6898 | ||
5eb8189c RD |
6899 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6900 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6901 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6902 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6903 | } |
5eb8189c | 6904 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6905 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6906 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6907 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6908 | } |
6909 | arg2 = static_cast< int >(val2); | |
6910 | if (arg1) (arg1)->dock_proportion = arg2; | |
6911 | ||
6912 | resultobj = SWIG_Py_Void(); | |
6913 | return resultobj; | |
6914 | fail: | |
6915 | return NULL; | |
6916 | } | |
6917 | ||
6918 | ||
5eb8189c | 6919 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6920 | PyObject *resultobj = 0; |
5eb8189c | 6921 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6922 | int result; |
6923 | void *argp1 = 0 ; | |
6924 | int res1 = 0 ; | |
6925 | PyObject *swig_obj[1] ; | |
6926 | ||
6927 | if (!args) SWIG_fail; | |
6928 | swig_obj[0] = args; | |
5eb8189c | 6929 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6930 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6931 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6932 | } |
5eb8189c | 6933 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6934 | result = (int) ((arg1)->dock_proportion); |
6935 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6936 | return resultobj; | |
6937 | fail: | |
6938 | return NULL; | |
6939 | } | |
6940 | ||
6941 | ||
5eb8189c | 6942 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6943 | PyObject *resultobj = 0; |
5eb8189c RD |
6944 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6945 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6946 | void *argp1 = 0 ; |
6947 | int res1 = 0 ; | |
6948 | void *argp2 ; | |
6949 | int res2 = 0 ; | |
6950 | PyObject *swig_obj[2] ; | |
6951 | ||
5eb8189c RD |
6952 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6953 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6954 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6955 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6956 | } |
5eb8189c | 6957 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6958 | { |
5eb8189c | 6959 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6960 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6961 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6962 | } |
6963 | if (!argp2) { | |
5eb8189c | 6964 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6965 | } else { |
5eb8189c | 6966 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6967 | arg2 = *temp; |
6968 | if (SWIG_IsNewObj(res2)) delete temp; | |
6969 | } | |
6970 | } | |
6971 | if (arg1) (arg1)->buttons = arg2; | |
6972 | ||
6973 | resultobj = SWIG_Py_Void(); | |
6974 | return resultobj; | |
6975 | fail: | |
6976 | return NULL; | |
6977 | } | |
6978 | ||
6979 | ||
5eb8189c | 6980 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6981 | PyObject *resultobj = 0; |
5eb8189c RD |
6982 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6983 | wxAuiPaneButtonArray result; | |
27e45892 RD |
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_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6993 | } |
5eb8189c | 6994 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6995 | result = ((arg1)->buttons); |
5eb8189c | 6996 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
6997 | return resultobj; |
6998 | fail: | |
6999 | return NULL; | |
7000 | } | |
7001 | ||
7002 | ||
5eb8189c | 7003 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7004 | PyObject *resultobj = 0; |
5eb8189c | 7005 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7006 | wxRect *arg2 = (wxRect *) 0 ; |
7007 | void *argp1 = 0 ; | |
7008 | int res1 = 0 ; | |
7009 | void *argp2 = 0 ; | |
7010 | int res2 = 0 ; | |
7011 | PyObject *swig_obj[2] ; | |
7012 | ||
5eb8189c RD |
7013 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_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_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7017 | } |
5eb8189c | 7018 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7019 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7020 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7021 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7022 | } |
7023 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7024 | if (arg1) (arg1)->rect = *arg2; | |
7025 | ||
7026 | resultobj = SWIG_Py_Void(); | |
7027 | return resultobj; | |
7028 | fail: | |
7029 | return NULL; | |
7030 | } | |
7031 | ||
7032 | ||
5eb8189c | 7033 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7034 | PyObject *resultobj = 0; |
5eb8189c | 7035 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7036 | wxRect *result = 0 ; |
7037 | void *argp1 = 0 ; | |
7038 | int res1 = 0 ; | |
7039 | PyObject *swig_obj[1] ; | |
7040 | ||
7041 | if (!args) SWIG_fail; | |
7042 | swig_obj[0] = args; | |
5eb8189c | 7043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7044 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7046 | } |
5eb8189c | 7047 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7048 | result = (wxRect *)& ((arg1)->rect); |
7049 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7050 | return resultobj; | |
7051 | fail: | |
7052 | return NULL; | |
7053 | } | |
7054 | ||
7055 | ||
5eb8189c | 7056 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7057 | PyObject *obj; |
7058 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7059 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7060 | return SWIG_Py_Void(); |
7061 | } | |
7062 | ||
5eb8189c | 7063 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7064 | return SWIG_Python_InitShadowInstance(args); |
7065 | } | |
7066 | ||
5eb8189c | 7067 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7068 | PyObject *resultobj = 0; |
10044bf1 | 7069 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7070 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7071 | wxAuiManager *result = 0 ; |
27e45892 RD |
7072 | void *argp1 = 0 ; |
7073 | int res1 = 0 ; | |
7074 | int val2 ; | |
7075 | int ecode2 = 0 ; | |
7076 | PyObject * obj0 = 0 ; | |
7077 | PyObject * obj1 = 0 ; | |
7078 | char * kwnames[] = { | |
10044bf1 | 7079 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7080 | }; |
7081 | ||
5eb8189c | 7082 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7083 | if (obj0) { |
10044bf1 | 7084 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7085 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7086 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7087 | } |
10044bf1 | 7088 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7089 | } |
7090 | if (obj1) { | |
7091 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7092 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7093 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7094 | } |
7095 | arg2 = static_cast< int >(val2); | |
7096 | } | |
7097 | { | |
7098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7099 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7100 | wxPyEndAllowThreads(__tstate); |
7101 | if (PyErr_Occurred()) SWIG_fail; | |
7102 | } | |
5eb8189c | 7103 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7104 | return resultobj; |
7105 | fail: | |
7106 | return NULL; | |
7107 | } | |
7108 | ||
7109 | ||
5eb8189c | 7110 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7111 | PyObject *resultobj = 0; |
5eb8189c | 7112 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7113 | void *argp1 = 0 ; |
7114 | int res1 = 0 ; | |
7115 | PyObject *swig_obj[1] ; | |
7116 | ||
7117 | if (!args) SWIG_fail; | |
7118 | swig_obj[0] = args; | |
5eb8189c | 7119 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7120 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7121 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7122 | } |
5eb8189c | 7123 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7124 | { |
7125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7126 | delete arg1; | |
7127 | ||
7128 | wxPyEndAllowThreads(__tstate); | |
7129 | if (PyErr_Occurred()) SWIG_fail; | |
7130 | } | |
7131 | resultobj = SWIG_Py_Void(); | |
7132 | return resultobj; | |
7133 | fail: | |
7134 | return NULL; | |
7135 | } | |
7136 | ||
7137 | ||
5eb8189c | 7138 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7139 | PyObject *resultobj = 0; |
5eb8189c | 7140 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7141 | void *argp1 = 0 ; |
7142 | int res1 = 0 ; | |
7143 | PyObject *swig_obj[1] ; | |
7144 | ||
7145 | if (!args) SWIG_fail; | |
7146 | swig_obj[0] = args; | |
5eb8189c | 7147 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7148 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7149 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7150 | } |
5eb8189c | 7151 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7152 | { |
7153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7154 | (arg1)->UnInit(); | |
7155 | wxPyEndAllowThreads(__tstate); | |
7156 | if (PyErr_Occurred()) SWIG_fail; | |
7157 | } | |
7158 | resultobj = SWIG_Py_Void(); | |
7159 | return resultobj; | |
7160 | fail: | |
7161 | return NULL; | |
7162 | } | |
7163 | ||
7164 | ||
5eb8189c | 7165 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7166 | PyObject *resultobj = 0; |
5eb8189c | 7167 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7168 | int arg2 ; |
7169 | void *argp1 = 0 ; | |
7170 | int res1 = 0 ; | |
7171 | int val2 ; | |
7172 | int ecode2 = 0 ; | |
7173 | PyObject * obj0 = 0 ; | |
7174 | PyObject * obj1 = 0 ; | |
7175 | char * kwnames[] = { | |
7176 | (char *) "self",(char *) "flags", NULL | |
7177 | }; | |
7178 | ||
5eb8189c RD |
7179 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7180 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7181 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7183 | } |
5eb8189c | 7184 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7185 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7186 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7187 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7188 | } |
7189 | arg2 = static_cast< int >(val2); | |
7190 | { | |
7191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7192 | (arg1)->SetFlags(arg2); | |
7193 | wxPyEndAllowThreads(__tstate); | |
7194 | if (PyErr_Occurred()) SWIG_fail; | |
7195 | } | |
7196 | resultobj = SWIG_Py_Void(); | |
7197 | return resultobj; | |
7198 | fail: | |
7199 | return NULL; | |
7200 | } | |
7201 | ||
7202 | ||
5eb8189c | 7203 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7204 | PyObject *resultobj = 0; |
5eb8189c | 7205 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7206 | int result; |
7207 | void *argp1 = 0 ; | |
7208 | int res1 = 0 ; | |
7209 | PyObject *swig_obj[1] ; | |
7210 | ||
7211 | if (!args) SWIG_fail; | |
7212 | swig_obj[0] = args; | |
5eb8189c | 7213 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7214 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7215 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7216 | } |
5eb8189c | 7217 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7218 | { |
7219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7220 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7221 | wxPyEndAllowThreads(__tstate); |
7222 | if (PyErr_Occurred()) SWIG_fail; | |
7223 | } | |
7224 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7225 | return resultobj; | |
7226 | fail: | |
7227 | return NULL; | |
7228 | } | |
7229 | ||
7230 | ||
5eb8189c | 7231 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7232 | PyObject *resultobj = 0; |
5eb8189c | 7233 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7234 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7235 | void *argp1 = 0 ; |
7236 | int res1 = 0 ; | |
7237 | void *argp2 = 0 ; | |
7238 | int res2 = 0 ; | |
7239 | PyObject * obj0 = 0 ; | |
7240 | PyObject * obj1 = 0 ; | |
7241 | char * kwnames[] = { | |
10044bf1 | 7242 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7243 | }; |
7244 | ||
5eb8189c RD |
7245 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7246 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7247 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7248 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7249 | } |
5eb8189c | 7250 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7251 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7252 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7253 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7254 | } |
1d5ee749 | 7255 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7256 | { |
7257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7258 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7259 | wxPyEndAllowThreads(__tstate); |
7260 | if (PyErr_Occurred()) SWIG_fail; | |
7261 | } | |
7262 | resultobj = SWIG_Py_Void(); | |
7263 | return resultobj; | |
7264 | fail: | |
7265 | return NULL; | |
7266 | } | |
7267 | ||
7268 | ||
5eb8189c | 7269 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7270 | PyObject *resultobj = 0; |
5eb8189c | 7271 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7272 | wxWindow *result = 0 ; |
27e45892 RD |
7273 | void *argp1 = 0 ; |
7274 | int res1 = 0 ; | |
7275 | PyObject *swig_obj[1] ; | |
7276 | ||
7277 | if (!args) SWIG_fail; | |
7278 | swig_obj[0] = args; | |
5eb8189c | 7279 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7280 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7281 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7282 | } |
5eb8189c | 7283 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7284 | { |
7285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7286 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7287 | wxPyEndAllowThreads(__tstate); |
7288 | if (PyErr_Occurred()) SWIG_fail; | |
7289 | } | |
7290 | { | |
7291 | resultobj = wxPyMake_wxObject(result, 0); | |
7292 | } | |
7293 | return resultobj; | |
7294 | fail: | |
7295 | return NULL; | |
7296 | } | |
7297 | ||
7298 | ||
eccab1a7 RD |
7299 | SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7300 | PyObject *resultobj = 0; | |
7301 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7302 | wxAuiManager *result = 0 ; | |
7303 | void *argp1 = 0 ; | |
7304 | int res1 = 0 ; | |
7305 | PyObject * obj0 = 0 ; | |
7306 | char * kwnames[] = { | |
7307 | (char *) "window", NULL | |
7308 | }; | |
7309 | ||
7310 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail; | |
7311 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7312 | if (!SWIG_IsOK(res1)) { | |
7313 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
7314 | } | |
7315 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
7316 | { | |
7317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7318 | result = (wxAuiManager *)wxAuiManager::GetManager(arg1); | |
7319 | wxPyEndAllowThreads(__tstate); | |
7320 | if (PyErr_Occurred()) SWIG_fail; | |
7321 | } | |
7322 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7323 | return resultobj; | |
7324 | fail: | |
7325 | return NULL; | |
7326 | } | |
7327 | ||
7328 | ||
5eb8189c | 7329 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7330 | PyObject *resultobj = 0; |
5eb8189c RD |
7331 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7332 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7333 | void *argp1 = 0 ; |
7334 | int res1 = 0 ; | |
7335 | int res2 = 0 ; | |
7336 | PyObject * obj0 = 0 ; | |
7337 | PyObject * obj1 = 0 ; | |
7338 | char * kwnames[] = { | |
7339 | (char *) "self",(char *) "art_provider", NULL | |
7340 | }; | |
7341 | ||
5eb8189c RD |
7342 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7343 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7344 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7345 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7346 | } |
5eb8189c RD |
7347 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7348 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7349 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7350 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7351 | } |
7352 | { | |
7353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7354 | (arg1)->SetArtProvider(arg2); | |
7355 | wxPyEndAllowThreads(__tstate); | |
7356 | if (PyErr_Occurred()) SWIG_fail; | |
7357 | } | |
7358 | resultobj = SWIG_Py_Void(); | |
7359 | return resultobj; | |
7360 | fail: | |
7361 | return NULL; | |
7362 | } | |
7363 | ||
7364 | ||
5eb8189c | 7365 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7366 | PyObject *resultobj = 0; |
5eb8189c RD |
7367 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7368 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7369 | void *argp1 = 0 ; |
7370 | int res1 = 0 ; | |
7371 | PyObject *swig_obj[1] ; | |
7372 | ||
7373 | if (!args) SWIG_fail; | |
7374 | swig_obj[0] = args; | |
5eb8189c | 7375 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7376 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7377 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7378 | } |
5eb8189c | 7379 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7380 | { |
7381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7382 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7383 | wxPyEndAllowThreads(__tstate); |
7384 | if (PyErr_Occurred()) SWIG_fail; | |
7385 | } | |
5eb8189c | 7386 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7387 | return resultobj; |
7388 | fail: | |
7389 | return NULL; | |
7390 | } | |
7391 | ||
7392 | ||
5eb8189c | 7393 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7394 | PyObject *resultobj = 0; |
5eb8189c | 7395 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7396 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7397 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7398 | void *argp1 = 0 ; |
7399 | int res1 = 0 ; | |
7400 | void *argp2 = 0 ; | |
7401 | int res2 = 0 ; | |
7402 | PyObject * obj0 = 0 ; | |
7403 | PyObject * obj1 = 0 ; | |
7404 | char * kwnames[] = { | |
7405 | (char *) "self",(char *) "window", NULL | |
7406 | }; | |
7407 | ||
5eb8189c RD |
7408 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7409 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7410 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7412 | } |
5eb8189c | 7413 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7414 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7415 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7416 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7417 | } |
7418 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7419 | { | |
7420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7421 | { | |
5eb8189c RD |
7422 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7423 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7424 | } |
7425 | wxPyEndAllowThreads(__tstate); | |
7426 | if (PyErr_Occurred()) SWIG_fail; | |
7427 | } | |
5eb8189c | 7428 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7429 | return resultobj; |
7430 | fail: | |
7431 | return NULL; | |
7432 | } | |
7433 | ||
7434 | ||
5eb8189c | 7435 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7436 | PyObject *resultobj = 0; |
5eb8189c | 7437 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7438 | wxString *arg2 = 0 ; |
5eb8189c | 7439 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7440 | void *argp1 = 0 ; |
7441 | int res1 = 0 ; | |
7442 | bool temp2 = false ; | |
7443 | PyObject * obj0 = 0 ; | |
7444 | PyObject * obj1 = 0 ; | |
7445 | char * kwnames[] = { | |
7446 | (char *) "self",(char *) "name", NULL | |
7447 | }; | |
7448 | ||
5eb8189c RD |
7449 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7450 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7451 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7452 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7453 | } |
5eb8189c | 7454 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7455 | { |
7456 | arg2 = wxString_in_helper(obj1); | |
7457 | if (arg2 == NULL) SWIG_fail; | |
7458 | temp2 = true; | |
7459 | } | |
7460 | { | |
7461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7462 | { | |
5eb8189c RD |
7463 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7464 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7465 | } |
7466 | wxPyEndAllowThreads(__tstate); | |
7467 | if (PyErr_Occurred()) SWIG_fail; | |
7468 | } | |
5eb8189c | 7469 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7470 | { |
7471 | if (temp2) | |
7472 | delete arg2; | |
7473 | } | |
7474 | return resultobj; | |
7475 | fail: | |
7476 | { | |
7477 | if (temp2) | |
7478 | delete arg2; | |
7479 | } | |
7480 | return NULL; | |
7481 | } | |
7482 | ||
7483 | ||
5eb8189c | 7484 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7485 | PyObject *resultobj = 0; |
5eb8189c RD |
7486 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7487 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7488 | void *argp1 = 0 ; |
7489 | int res1 = 0 ; | |
7490 | PyObject *swig_obj[1] ; | |
7491 | ||
7492 | if (!args) SWIG_fail; | |
7493 | swig_obj[0] = args; | |
5eb8189c | 7494 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7495 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7497 | } |
5eb8189c | 7498 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7499 | { |
7500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7501 | { | |
5eb8189c RD |
7502 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7503 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7504 | } |
7505 | wxPyEndAllowThreads(__tstate); | |
7506 | if (PyErr_Occurred()) SWIG_fail; | |
7507 | } | |
7508 | { | |
7509 | resultobj = PyList_New(0); | |
7510 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7511 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7512 | PyList_Append(resultobj, pane_obj); |
7513 | } | |
7514 | } | |
7515 | return resultobj; | |
7516 | fail: | |
7517 | return NULL; | |
7518 | } | |
7519 | ||
7520 | ||
36cb9ebe | 7521 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7522 | PyObject *resultobj = 0; |
5eb8189c | 7523 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7524 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7525 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7526 | bool result; |
7527 | void *argp1 = 0 ; | |
7528 | int res1 = 0 ; | |
7529 | void *argp2 = 0 ; | |
7530 | int res2 = 0 ; | |
7531 | void *argp3 = 0 ; | |
7532 | int res3 = 0 ; | |
36cb9ebe RD |
7533 | PyObject * obj0 = 0 ; |
7534 | PyObject * obj1 = 0 ; | |
7535 | PyObject * obj2 = 0 ; | |
7536 | char * kwnames[] = { | |
7537 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7538 | }; | |
27e45892 | 7539 | |
36cb9ebe RD |
7540 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7541 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7542 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7543 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7544 | } |
5eb8189c | 7545 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7546 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7547 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7548 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7549 | } |
7550 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7551 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7552 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7553 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7554 | } |
7555 | if (!argp3) { | |
36cb9ebe | 7556 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7557 | } |
5eb8189c | 7558 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7559 | { |
7560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7561 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7562 | wxPyEndAllowThreads(__tstate); |
7563 | if (PyErr_Occurred()) SWIG_fail; | |
7564 | } | |
7565 | { | |
7566 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7567 | } | |
7568 | return resultobj; | |
7569 | fail: | |
7570 | return NULL; | |
7571 | } | |
7572 | ||
7573 | ||
36cb9ebe | 7574 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7575 | PyObject *resultobj = 0; |
5eb8189c | 7576 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7577 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7578 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7579 | wxPoint *arg4 = 0 ; |
7580 | bool result; | |
7581 | void *argp1 = 0 ; | |
7582 | int res1 = 0 ; | |
7583 | void *argp2 = 0 ; | |
7584 | int res2 = 0 ; | |
7585 | void *argp3 = 0 ; | |
7586 | int res3 = 0 ; | |
7587 | wxPoint temp4 ; | |
36cb9ebe RD |
7588 | PyObject * obj0 = 0 ; |
7589 | PyObject * obj1 = 0 ; | |
7590 | PyObject * obj2 = 0 ; | |
7591 | PyObject * obj3 = 0 ; | |
7592 | char * kwnames[] = { | |
7593 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7594 | }; | |
10044bf1 | 7595 | |
36cb9ebe RD |
7596 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7597 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7598 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7599 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7600 | } |
5eb8189c | 7601 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7602 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7603 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7604 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7605 | } |
7606 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7607 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7608 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7609 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7610 | } |
7611 | if (!argp3) { | |
5eb8189c | 7612 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7613 | } |
5eb8189c | 7614 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7615 | { |
7616 | arg4 = &temp4; | |
36cb9ebe | 7617 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7618 | } |
7619 | { | |
7620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7621 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7622 | wxPyEndAllowThreads(__tstate); |
7623 | if (PyErr_Occurred()) SWIG_fail; | |
7624 | } | |
7625 | { | |
7626 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7627 | } | |
7628 | return resultobj; | |
7629 | fail: | |
7630 | return NULL; | |
7631 | } | |
7632 | ||
7633 | ||
5eb8189c | 7634 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7635 | PyObject *resultobj = 0; |
5eb8189c | 7636 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7637 | wxWindow *arg2 = (wxWindow *) 0 ; |
7638 | int arg3 = (int) wxLEFT ; | |
7639 | wxString const &arg4_defvalue = wxEmptyString ; | |
7640 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7641 | bool result; | |
7642 | void *argp1 = 0 ; | |
7643 | int res1 = 0 ; | |
7644 | void *argp2 = 0 ; | |
7645 | int res2 = 0 ; | |
7646 | int val3 ; | |
7647 | int ecode3 = 0 ; | |
7648 | bool temp4 = false ; | |
7649 | PyObject * obj0 = 0 ; | |
7650 | PyObject * obj1 = 0 ; | |
7651 | PyObject * obj2 = 0 ; | |
7652 | PyObject * obj3 = 0 ; | |
7653 | char * kwnames[] = { | |
7654 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7655 | }; | |
7656 | ||
5eb8189c RD |
7657 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7658 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7659 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7660 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7661 | } |
5eb8189c | 7662 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7663 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7664 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7665 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7666 | } |
7667 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7668 | if (obj2) { | |
7669 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7670 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7671 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7672 | } |
7673 | arg3 = static_cast< int >(val3); | |
7674 | } | |
7675 | if (obj3) { | |
7676 | { | |
7677 | arg4 = wxString_in_helper(obj3); | |
7678 | if (arg4 == NULL) SWIG_fail; | |
7679 | temp4 = true; | |
7680 | } | |
7681 | } | |
7682 | { | |
7683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7684 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7685 | wxPyEndAllowThreads(__tstate); | |
7686 | if (PyErr_Occurred()) SWIG_fail; | |
7687 | } | |
7688 | { | |
7689 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7690 | } | |
7691 | { | |
7692 | if (temp4) | |
7693 | delete arg4; | |
7694 | } | |
7695 | return resultobj; | |
7696 | fail: | |
7697 | { | |
7698 | if (temp4) | |
7699 | delete arg4; | |
7700 | } | |
7701 | return NULL; | |
7702 | } | |
7703 | ||
7704 | ||
5eb8189c | 7705 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7706 | PyObject *resultobj = 0; |
5eb8189c | 7707 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7708 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7709 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7710 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7711 | bool result; | |
7712 | void *argp1 = 0 ; | |
7713 | int res1 = 0 ; | |
7714 | void *argp2 = 0 ; | |
7715 | int res2 = 0 ; | |
7716 | void *argp3 = 0 ; | |
7717 | int res3 = 0 ; | |
7718 | int val4 ; | |
7719 | int ecode4 = 0 ; | |
7720 | PyObject * obj0 = 0 ; | |
7721 | PyObject * obj1 = 0 ; | |
7722 | PyObject * obj2 = 0 ; | |
7723 | PyObject * obj3 = 0 ; | |
7724 | char * kwnames[] = { | |
7725 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7726 | }; | |
7727 | ||
5eb8189c RD |
7728 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7729 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7730 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7731 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7732 | } |
5eb8189c | 7733 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7734 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7735 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7736 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7737 | } |
7738 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7739 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7740 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7741 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7742 | } |
7743 | if (!argp3) { | |
5eb8189c | 7744 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7745 | } |
5eb8189c | 7746 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7747 | if (obj3) { |
7748 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7749 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7750 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7751 | } |
7752 | arg4 = static_cast< int >(val4); | |
7753 | } | |
7754 | { | |
7755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7756 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7757 | wxPyEndAllowThreads(__tstate); |
7758 | if (PyErr_Occurred()) SWIG_fail; | |
7759 | } | |
7760 | { | |
7761 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7762 | } | |
7763 | return resultobj; | |
7764 | fail: | |
7765 | return NULL; | |
7766 | } | |
7767 | ||
7768 | ||
5eb8189c | 7769 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7770 | PyObject *resultobj = 0; |
5eb8189c | 7771 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7772 | wxWindow *arg2 = (wxWindow *) 0 ; |
7773 | bool result; | |
7774 | void *argp1 = 0 ; | |
7775 | int res1 = 0 ; | |
7776 | void *argp2 = 0 ; | |
7777 | int res2 = 0 ; | |
7778 | PyObject * obj0 = 0 ; | |
7779 | PyObject * obj1 = 0 ; | |
7780 | char * kwnames[] = { | |
7781 | (char *) "self",(char *) "window", NULL | |
7782 | }; | |
7783 | ||
5eb8189c RD |
7784 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7785 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7786 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7787 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7788 | } |
5eb8189c | 7789 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7790 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7791 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7792 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7793 | } |
7794 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7795 | { | |
7796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7797 | result = (bool)(arg1)->DetachPane(arg2); | |
7798 | wxPyEndAllowThreads(__tstate); | |
7799 | if (PyErr_Occurred()) SWIG_fail; | |
7800 | } | |
7801 | { | |
7802 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7803 | } | |
7804 | return resultobj; | |
7805 | fail: | |
7806 | return NULL; | |
7807 | } | |
7808 | ||
7809 | ||
d7645bfd | 7810 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5eb8189c RD |
7811 | PyObject *resultobj = 0; |
7812 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7813 | void *argp1 = 0 ; | |
7814 | int res1 = 0 ; | |
7815 | PyObject *swig_obj[1] ; | |
7816 | ||
7817 | if (!args) SWIG_fail; | |
7818 | swig_obj[0] = args; | |
7819 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7820 | if (!SWIG_IsOK(res1)) { | |
d7645bfd | 7821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
5eb8189c RD |
7822 | } |
7823 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7824 | { | |
7825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 7826 | (arg1)->Update(); |
5eb8189c RD |
7827 | wxPyEndAllowThreads(__tstate); |
7828 | if (PyErr_Occurred()) SWIG_fail; | |
7829 | } | |
7830 | resultobj = SWIG_Py_Void(); | |
7831 | return resultobj; | |
7832 | fail: | |
7833 | return NULL; | |
7834 | } | |
7835 | ||
7836 | ||
7837 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7838 | PyObject *resultobj = 0; | |
7839 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7840 | wxAuiPaneInfo *arg2 = 0 ; | |
0f83f5da RD |
7841 | wxString result; |
7842 | void *argp1 = 0 ; | |
7843 | int res1 = 0 ; | |
7844 | void *argp2 = 0 ; | |
7845 | int res2 = 0 ; | |
7846 | PyObject * obj0 = 0 ; | |
7847 | PyObject * obj1 = 0 ; | |
7848 | char * kwnames[] = { | |
7849 | (char *) "self",(char *) "pane", NULL | |
7850 | }; | |
7851 | ||
5eb8189c RD |
7852 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7853 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7854 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7855 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7856 | } |
5eb8189c RD |
7857 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7858 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
0f83f5da | 7859 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7860 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7861 | } |
7862 | if (!argp2) { | |
5eb8189c | 7863 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7864 | } |
5eb8189c | 7865 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
7866 | { |
7867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7868 | result = (arg1)->SavePaneInfo(*arg2); | |
7869 | wxPyEndAllowThreads(__tstate); | |
7870 | if (PyErr_Occurred()) SWIG_fail; | |
7871 | } | |
7872 | { | |
7873 | #if wxUSE_UNICODE | |
7874 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7875 | #else | |
7876 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7877 | #endif | |
7878 | } | |
7879 | return resultobj; | |
7880 | fail: | |
7881 | return NULL; | |
7882 | } | |
7883 | ||
7884 | ||
5eb8189c | 7885 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 7886 | PyObject *resultobj = 0; |
5eb8189c | 7887 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
0f83f5da | 7888 | wxString arg2 ; |
5eb8189c | 7889 | wxAuiPaneInfo *arg3 = 0 ; |
0f83f5da RD |
7890 | void *argp1 = 0 ; |
7891 | int res1 = 0 ; | |
7892 | void *argp3 = 0 ; | |
7893 | int res3 = 0 ; | |
7894 | PyObject * obj0 = 0 ; | |
7895 | PyObject * obj1 = 0 ; | |
7896 | PyObject * obj2 = 0 ; | |
7897 | char * kwnames[] = { | |
7898 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7899 | }; | |
7900 | ||
5eb8189c RD |
7901 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7902 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7903 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7905 | } |
5eb8189c | 7906 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
0f83f5da RD |
7907 | { |
7908 | wxString* sptr = wxString_in_helper(obj1); | |
7909 | if (sptr == NULL) SWIG_fail; | |
7910 | arg2 = *sptr; | |
7911 | delete sptr; | |
7912 | } | |
5eb8189c | 7913 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
0f83f5da | 7914 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7915 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7916 | } |
7917 | if (!argp3) { | |
5eb8189c | 7918 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7919 | } |
5eb8189c | 7920 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
0f83f5da RD |
7921 | { |
7922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7923 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7924 | wxPyEndAllowThreads(__tstate); | |
7925 | if (PyErr_Occurred()) SWIG_fail; | |
7926 | } | |
7927 | resultobj = SWIG_Py_Void(); | |
7928 | return resultobj; | |
7929 | fail: | |
7930 | return NULL; | |
7931 | } | |
7932 | ||
7933 | ||
5eb8189c | 7934 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7935 | PyObject *resultobj = 0; |
5eb8189c | 7936 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7937 | wxString result; |
7938 | void *argp1 = 0 ; | |
7939 | int res1 = 0 ; | |
7940 | PyObject *swig_obj[1] ; | |
7941 | ||
7942 | if (!args) SWIG_fail; | |
7943 | swig_obj[0] = args; | |
5eb8189c | 7944 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7945 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7946 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7947 | } |
5eb8189c | 7948 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7949 | { |
7950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7951 | result = (arg1)->SavePerspective(); | |
7952 | wxPyEndAllowThreads(__tstate); | |
7953 | if (PyErr_Occurred()) SWIG_fail; | |
7954 | } | |
7955 | { | |
7956 | #if wxUSE_UNICODE | |
7957 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7958 | #else | |
7959 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7960 | #endif | |
7961 | } | |
7962 | return resultobj; | |
7963 | fail: | |
7964 | return NULL; | |
7965 | } | |
7966 | ||
7967 | ||
5eb8189c | 7968 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7969 | PyObject *resultobj = 0; |
5eb8189c | 7970 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7971 | wxString *arg2 = 0 ; |
7972 | bool arg3 = (bool) true ; | |
7973 | bool result; | |
7974 | void *argp1 = 0 ; | |
7975 | int res1 = 0 ; | |
7976 | bool temp2 = false ; | |
7977 | bool val3 ; | |
7978 | int ecode3 = 0 ; | |
7979 | PyObject * obj0 = 0 ; | |
7980 | PyObject * obj1 = 0 ; | |
7981 | PyObject * obj2 = 0 ; | |
7982 | char * kwnames[] = { | |
7983 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7984 | }; | |
7985 | ||
5eb8189c RD |
7986 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7987 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7988 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7990 | } |
5eb8189c | 7991 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7992 | { |
7993 | arg2 = wxString_in_helper(obj1); | |
7994 | if (arg2 == NULL) SWIG_fail; | |
7995 | temp2 = true; | |
7996 | } | |
7997 | if (obj2) { | |
7998 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
7999 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8000 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8001 | } |
8002 | arg3 = static_cast< bool >(val3); | |
8003 | } | |
8004 | { | |
8005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8006 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8007 | wxPyEndAllowThreads(__tstate); | |
8008 | if (PyErr_Occurred()) SWIG_fail; | |
8009 | } | |
8010 | { | |
8011 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8012 | } | |
8013 | { | |
8014 | if (temp2) | |
8015 | delete arg2; | |
8016 | } | |
8017 | return resultobj; | |
8018 | fail: | |
8019 | { | |
8020 | if (temp2) | |
8021 | delete arg2; | |
8022 | } | |
8023 | return NULL; | |
8024 | } | |
8025 | ||
8026 | ||
d7645bfd VZ |
8027 | SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8028 | PyObject *resultobj = 0; | |
8029 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8030 | double arg2 ; | |
8031 | double arg3 ; | |
8032 | void *argp1 = 0 ; | |
8033 | int res1 = 0 ; | |
8034 | double val2 ; | |
8035 | int ecode2 = 0 ; | |
8036 | double val3 ; | |
8037 | int ecode3 = 0 ; | |
8038 | PyObject * obj0 = 0 ; | |
8039 | PyObject * obj1 = 0 ; | |
8040 | PyObject * obj2 = 0 ; | |
8041 | char * kwnames[] = { | |
8042 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8043 | }; | |
8044 | ||
8045 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8046 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8047 | if (!SWIG_IsOK(res1)) { | |
8048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8049 | } | |
8050 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8051 | ecode2 = SWIG_AsVal_double(obj1, &val2); | |
8052 | if (!SWIG_IsOK(ecode2)) { | |
8053 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); | |
8054 | } | |
8055 | arg2 = static_cast< double >(val2); | |
8056 | ecode3 = SWIG_AsVal_double(obj2, &val3); | |
8057 | if (!SWIG_IsOK(ecode3)) { | |
8058 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); | |
8059 | } | |
8060 | arg3 = static_cast< double >(val3); | |
8061 | { | |
8062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8063 | (arg1)->SetDockSizeConstraint(arg2,arg3); | |
8064 | wxPyEndAllowThreads(__tstate); | |
8065 | if (PyErr_Occurred()) SWIG_fail; | |
8066 | } | |
8067 | resultobj = SWIG_Py_Void(); | |
8068 | return resultobj; | |
8069 | fail: | |
8070 | return NULL; | |
8071 | } | |
8072 | ||
8073 | ||
8074 | SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8075 | PyObject *resultobj = 0; | |
8076 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8077 | double *arg2 = (double *) 0 ; | |
8078 | double *arg3 = (double *) 0 ; | |
8079 | void *argp1 = 0 ; | |
8080 | int res1 = 0 ; | |
8081 | void *argp2 = 0 ; | |
8082 | int res2 = 0 ; | |
8083 | void *argp3 = 0 ; | |
8084 | int res3 = 0 ; | |
8085 | PyObject * obj0 = 0 ; | |
8086 | PyObject * obj1 = 0 ; | |
8087 | PyObject * obj2 = 0 ; | |
8088 | char * kwnames[] = { | |
8089 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8090 | }; | |
8091 | ||
8092 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8093 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8094 | if (!SWIG_IsOK(res1)) { | |
8095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); | |
8096 | } | |
8097 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8098 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); | |
8099 | if (!SWIG_IsOK(res2)) { | |
8100 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); | |
8101 | } | |
8102 | arg2 = reinterpret_cast< double * >(argp2); | |
8103 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); | |
8104 | if (!SWIG_IsOK(res3)) { | |
8105 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); | |
8106 | } | |
8107 | arg3 = reinterpret_cast< double * >(argp3); | |
8108 | { | |
8109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8110 | ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); | |
8111 | wxPyEndAllowThreads(__tstate); | |
8112 | if (PyErr_Occurred()) SWIG_fail; | |
8113 | } | |
8114 | resultobj = SWIG_Py_Void(); | |
8115 | return resultobj; | |
8116 | fail: | |
8117 | return NULL; | |
8118 | } | |
8119 | ||
8120 | ||
8121 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8122 | PyObject *resultobj = 0; | |
8123 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8124 | wxAuiPaneInfo *arg2 = 0 ; | |
8125 | void *argp1 = 0 ; | |
8126 | int res1 = 0 ; | |
8127 | void *argp2 = 0 ; | |
8128 | int res2 = 0 ; | |
8129 | PyObject * obj0 = 0 ; | |
8130 | PyObject * obj1 = 0 ; | |
8131 | char * kwnames[] = { | |
8132 | (char *) "self",(char *) "pane_info", NULL | |
8133 | }; | |
8134 | ||
8135 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8136 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8137 | if (!SWIG_IsOK(res1)) { | |
8138 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8139 | } | |
8140 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8141 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8142 | if (!SWIG_IsOK(res2)) { | |
8143 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8144 | } | |
8145 | if (!argp2) { | |
8146 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8147 | } | |
8148 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8149 | { | |
8150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8151 | (arg1)->ClosePane(*arg2); | |
8152 | wxPyEndAllowThreads(__tstate); | |
8153 | if (PyErr_Occurred()) SWIG_fail; | |
8154 | } | |
8155 | resultobj = SWIG_Py_Void(); | |
8156 | return resultobj; | |
8157 | fail: | |
8158 | return NULL; | |
8159 | } | |
8160 | ||
8161 | ||
8162 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8163 | PyObject *resultobj = 0; | |
8164 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8165 | wxAuiPaneInfo *arg2 = 0 ; | |
8166 | void *argp1 = 0 ; | |
8167 | int res1 = 0 ; | |
8168 | void *argp2 = 0 ; | |
8169 | int res2 = 0 ; | |
8170 | PyObject * obj0 = 0 ; | |
8171 | PyObject * obj1 = 0 ; | |
8172 | char * kwnames[] = { | |
8173 | (char *) "self",(char *) "pane_info", NULL | |
8174 | }; | |
8175 | ||
8176 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8177 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8178 | if (!SWIG_IsOK(res1)) { | |
8179 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8180 | } | |
8181 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8182 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8183 | if (!SWIG_IsOK(res2)) { | |
8184 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8185 | } | |
8186 | if (!argp2) { | |
8187 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8188 | } | |
8189 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8190 | { | |
8191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8192 | (arg1)->MaximizePane(*arg2); | |
8193 | wxPyEndAllowThreads(__tstate); | |
8194 | if (PyErr_Occurred()) SWIG_fail; | |
8195 | } | |
8196 | resultobj = SWIG_Py_Void(); | |
8197 | return resultobj; | |
8198 | fail: | |
8199 | return NULL; | |
8200 | } | |
8201 | ||
8202 | ||
8203 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8204 | PyObject *resultobj = 0; | |
8205 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8206 | wxAuiPaneInfo *arg2 = 0 ; | |
8207 | void *argp1 = 0 ; | |
8208 | int res1 = 0 ; | |
8209 | void *argp2 = 0 ; | |
8210 | int res2 = 0 ; | |
8211 | PyObject * obj0 = 0 ; | |
8212 | PyObject * obj1 = 0 ; | |
8213 | char * kwnames[] = { | |
8214 | (char *) "self",(char *) "pane_info", NULL | |
8215 | }; | |
8216 | ||
8217 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8218 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8219 | if (!SWIG_IsOK(res1)) { | |
8220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8221 | } | |
8222 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8223 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8224 | if (!SWIG_IsOK(res2)) { | |
8225 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8226 | } | |
8227 | if (!argp2) { | |
8228 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8229 | } | |
8230 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8231 | { | |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8233 | (arg1)->RestorePane(*arg2); | |
8234 | wxPyEndAllowThreads(__tstate); | |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
8237 | resultobj = SWIG_Py_Void(); | |
8238 | return resultobj; | |
8239 | fail: | |
8240 | return NULL; | |
8241 | } | |
8242 | ||
8243 | ||
8244 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 8245 | PyObject *resultobj = 0; |
5eb8189c | 8246 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8247 | void *argp1 = 0 ; |
8248 | int res1 = 0 ; | |
8249 | PyObject *swig_obj[1] ; | |
8250 | ||
8251 | if (!args) SWIG_fail; | |
8252 | swig_obj[0] = args; | |
5eb8189c | 8253 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8254 | if (!SWIG_IsOK(res1)) { |
d7645bfd | 8255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8256 | } |
5eb8189c | 8257 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8258 | { |
8259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 8260 | (arg1)->RestoreMaximizedPane(); |
27e45892 RD |
8261 | wxPyEndAllowThreads(__tstate); |
8262 | if (PyErr_Occurred()) SWIG_fail; | |
8263 | } | |
8264 | resultobj = SWIG_Py_Void(); | |
8265 | return resultobj; | |
8266 | fail: | |
8267 | return NULL; | |
8268 | } | |
8269 | ||
8270 | ||
5eb8189c | 8271 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8272 | PyObject *resultobj = 0; |
5eb8189c | 8273 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8274 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8275 | wxAuiPaneInfo *arg3 = 0 ; |
8276 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8277 | void *argp1 = 0 ; |
8278 | int res1 = 0 ; | |
8279 | void *argp2 = 0 ; | |
8280 | int res2 = 0 ; | |
8281 | void *argp3 = 0 ; | |
8282 | int res3 = 0 ; | |
8283 | PyObject * obj0 = 0 ; | |
8284 | PyObject * obj1 = 0 ; | |
8285 | PyObject * obj2 = 0 ; | |
8286 | char * kwnames[] = { | |
8287 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8288 | }; | |
8289 | ||
5eb8189c RD |
8290 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8291 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8292 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8294 | } |
5eb8189c | 8295 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8296 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8297 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8298 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8299 | } |
8300 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8301 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8302 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8303 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8304 | } |
8305 | if (!argp3) { | |
5eb8189c | 8306 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8307 | } |
5eb8189c | 8308 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8309 | { |
8310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8311 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8312 | wxPyEndAllowThreads(__tstate); |
8313 | if (PyErr_Occurred()) SWIG_fail; | |
8314 | } | |
5eb8189c | 8315 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8316 | return resultobj; |
8317 | fail: | |
8318 | return NULL; | |
8319 | } | |
8320 | ||
8321 | ||
e7e9d1b8 RD |
8322 | SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8323 | PyObject *resultobj = 0; | |
8324 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8325 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8326 | wxPoint *arg3 = 0 ; | |
8327 | void *argp1 = 0 ; | |
8328 | int res1 = 0 ; | |
8329 | void *argp2 = 0 ; | |
8330 | int res2 = 0 ; | |
8331 | wxPoint temp3 ; | |
8332 | PyObject * obj0 = 0 ; | |
8333 | PyObject * obj1 = 0 ; | |
8334 | PyObject * obj2 = 0 ; | |
8335 | char * kwnames[] = { | |
8336 | (char *) "self",(char *) "pane_window",(char *) "offset", NULL | |
8337 | }; | |
8338 | ||
8339 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8340 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8341 | if (!SWIG_IsOK(res1)) { | |
8342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8343 | } | |
8344 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8345 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8346 | if (!SWIG_IsOK(res2)) { | |
8347 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8348 | } | |
8349 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8350 | { | |
8351 | arg3 = &temp3; | |
8352 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8353 | } | |
8354 | { | |
8355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8356 | (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3); | |
8357 | wxPyEndAllowThreads(__tstate); | |
8358 | if (PyErr_Occurred()) SWIG_fail; | |
8359 | } | |
8360 | resultobj = SWIG_Py_Void(); | |
8361 | return resultobj; | |
8362 | fail: | |
8363 | return NULL; | |
8364 | } | |
8365 | ||
8366 | ||
5172800e RD |
8367 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8368 | PyObject *resultobj = 0; | |
8369 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8370 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8371 | wxPoint *arg3 = 0 ; | |
8372 | wxPoint *arg4 = 0 ; | |
8373 | wxRect result; | |
8374 | void *argp1 = 0 ; | |
8375 | int res1 = 0 ; | |
8376 | void *argp2 = 0 ; | |
8377 | int res2 = 0 ; | |
8378 | wxPoint temp3 ; | |
8379 | wxPoint temp4 ; | |
8380 | PyObject * obj0 = 0 ; | |
8381 | PyObject * obj1 = 0 ; | |
8382 | PyObject * obj2 = 0 ; | |
8383 | PyObject * obj3 = 0 ; | |
8384 | char * kwnames[] = { | |
8385 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8386 | }; | |
8387 | ||
8388 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8389 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8390 | if (!SWIG_IsOK(res1)) { | |
8391 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8392 | } | |
8393 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8394 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8395 | if (!SWIG_IsOK(res2)) { | |
8396 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8397 | } | |
8398 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8399 | { | |
8400 | arg3 = &temp3; | |
8401 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8402 | } | |
8403 | { | |
8404 | arg4 = &temp4; | |
8405 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8406 | } | |
8407 | { | |
8408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8409 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8410 | wxPyEndAllowThreads(__tstate); | |
8411 | if (PyErr_Occurred()) SWIG_fail; | |
8412 | } | |
8413 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8414 | return resultobj; | |
8415 | fail: | |
8416 | return NULL; | |
8417 | } | |
8418 | ||
8419 | ||
5eb8189c | 8420 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8421 | PyObject *resultobj = 0; |
5eb8189c | 8422 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8423 | wxWindow *arg2 = (wxWindow *) 0 ; |
8424 | wxPoint *arg3 = 0 ; | |
8425 | wxPoint *arg4 = 0 ; | |
8426 | void *argp1 = 0 ; | |
8427 | int res1 = 0 ; | |
8428 | void *argp2 = 0 ; | |
8429 | int res2 = 0 ; | |
8430 | wxPoint temp3 ; | |
8431 | wxPoint temp4 ; | |
8432 | PyObject * obj0 = 0 ; | |
8433 | PyObject * obj1 = 0 ; | |
8434 | PyObject * obj2 = 0 ; | |
8435 | PyObject * obj3 = 0 ; | |
8436 | char * kwnames[] = { | |
8437 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8438 | }; | |
8439 | ||
5eb8189c RD |
8440 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8441 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8442 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8443 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8444 | } |
5eb8189c | 8445 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8446 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8447 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8448 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8449 | } |
8450 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8451 | { | |
8452 | arg3 = &temp3; | |
8453 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8454 | } | |
8455 | { | |
8456 | arg4 = &temp4; | |
8457 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8458 | } | |
8459 | { | |
8460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8461 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8462 | wxPyEndAllowThreads(__tstate); | |
8463 | if (PyErr_Occurred()) SWIG_fail; | |
8464 | } | |
8465 | resultobj = SWIG_Py_Void(); | |
8466 | return resultobj; | |
8467 | fail: | |
8468 | return NULL; | |
8469 | } | |
8470 | ||
8471 | ||
5eb8189c | 8472 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8473 | PyObject *resultobj = 0; |
5eb8189c | 8474 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8475 | wxRect *arg2 = 0 ; |
8476 | void *argp1 = 0 ; | |
8477 | int res1 = 0 ; | |
8478 | wxRect temp2 ; | |
8479 | PyObject * obj0 = 0 ; | |
8480 | PyObject * obj1 = 0 ; | |
8481 | char * kwnames[] = { | |
8482 | (char *) "self",(char *) "rect", NULL | |
8483 | }; | |
8484 | ||
5eb8189c RD |
8485 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8486 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8487 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8489 | } |
5eb8189c | 8490 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8491 | { |
8492 | arg2 = &temp2; | |
8493 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8494 | } | |
8495 | { | |
8496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8497 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8498 | wxPyEndAllowThreads(__tstate); | |
8499 | if (PyErr_Occurred()) SWIG_fail; | |
8500 | } | |
8501 | resultobj = SWIG_Py_Void(); | |
8502 | return resultobj; | |
8503 | fail: | |
8504 | return NULL; | |
8505 | } | |
8506 | ||
8507 | ||
5eb8189c | 8508 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8509 | PyObject *resultobj = 0; |
5eb8189c | 8510 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8511 | void *argp1 = 0 ; |
8512 | int res1 = 0 ; | |
8513 | PyObject *swig_obj[1] ; | |
8514 | ||
8515 | if (!args) SWIG_fail; | |
8516 | swig_obj[0] = args; | |
5eb8189c | 8517 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8518 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8519 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8520 | } |
5eb8189c | 8521 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8522 | { |
8523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8524 | (arg1)->HideHint(); | |
8525 | wxPyEndAllowThreads(__tstate); | |
8526 | if (PyErr_Occurred()) SWIG_fail; | |
8527 | } | |
8528 | resultobj = SWIG_Py_Void(); | |
8529 | return resultobj; | |
8530 | fail: | |
8531 | return NULL; | |
8532 | } | |
8533 | ||
8534 | ||
5eb8189c | 8535 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8536 | PyObject *resultobj = 0; |
5eb8189c RD |
8537 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8538 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8539 | void *argp1 = 0 ; |
8540 | int res1 = 0 ; | |
8541 | void *argp2 = 0 ; | |
8542 | int res2 = 0 ; | |
8543 | PyObject * obj0 = 0 ; | |
8544 | PyObject * obj1 = 0 ; | |
8545 | char * kwnames[] = { | |
8546 | (char *) "self",(char *) "evt", NULL | |
8547 | }; | |
8548 | ||
5eb8189c RD |
8549 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8550 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8551 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8552 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8553 | } |
5eb8189c RD |
8554 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8555 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8556 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8557 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8558 | } |
8559 | if (!argp2) { | |
5eb8189c | 8560 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8561 | } |
5eb8189c | 8562 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8563 | { |
8564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8565 | (arg1)->OnRender(*arg2); | |
8566 | wxPyEndAllowThreads(__tstate); | |
8567 | if (PyErr_Occurred()) SWIG_fail; | |
8568 | } | |
8569 | resultobj = SWIG_Py_Void(); | |
8570 | return resultobj; | |
8571 | fail: | |
8572 | return NULL; | |
8573 | } | |
8574 | ||
8575 | ||
5eb8189c | 8576 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8577 | PyObject *resultobj = 0; |
5eb8189c RD |
8578 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8579 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8580 | void *argp1 = 0 ; |
8581 | int res1 = 0 ; | |
8582 | void *argp2 = 0 ; | |
8583 | int res2 = 0 ; | |
8584 | PyObject * obj0 = 0 ; | |
8585 | PyObject * obj1 = 0 ; | |
8586 | char * kwnames[] = { | |
8587 | (char *) "self",(char *) "evt", NULL | |
8588 | }; | |
8589 | ||
5eb8189c RD |
8590 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8591 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8592 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8593 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8594 | } |
5eb8189c RD |
8595 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8596 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8597 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8598 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8599 | } |
8600 | if (!argp2) { | |
5eb8189c | 8601 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8602 | } |
5eb8189c | 8603 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8604 | { |
8605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8606 | (arg1)->OnPaneButton(*arg2); | |
8607 | wxPyEndAllowThreads(__tstate); | |
8608 | if (PyErr_Occurred()) SWIG_fail; | |
8609 | } | |
8610 | resultobj = SWIG_Py_Void(); | |
8611 | return resultobj; | |
8612 | fail: | |
8613 | return NULL; | |
8614 | } | |
8615 | ||
8616 | ||
5eb8189c | 8617 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8618 | PyObject *obj; |
8619 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8620 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8621 | return SWIG_Py_Void(); |
8622 | } | |
8623 | ||
5eb8189c | 8624 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8625 | return SWIG_Python_InitShadowInstance(args); |
8626 | } | |
8627 | ||
5eb8189c | 8628 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8629 | PyObject *resultobj = 0; |
8630 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8631 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8632 | int val1 ; |
8633 | int ecode1 = 0 ; | |
8634 | PyObject * obj0 = 0 ; | |
8635 | char * kwnames[] = { | |
8636 | (char *) "type", NULL | |
8637 | }; | |
8638 | ||
5eb8189c | 8639 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8640 | if (obj0) { |
8641 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8642 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8643 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8644 | } |
8645 | arg1 = static_cast< wxEventType >(val1); | |
8646 | } | |
8647 | { | |
8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8649 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8650 | wxPyEndAllowThreads(__tstate); |
8651 | if (PyErr_Occurred()) SWIG_fail; | |
8652 | } | |
5eb8189c | 8653 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8654 | return resultobj; |
8655 | fail: | |
8656 | return NULL; | |
8657 | } | |
8658 | ||
8659 | ||
5eb8189c | 8660 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8661 | PyObject *resultobj = 0; |
5eb8189c | 8662 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8663 | wxEvent *result = 0 ; |
8664 | void *argp1 = 0 ; | |
8665 | int res1 = 0 ; | |
8666 | PyObject *swig_obj[1] ; | |
8667 | ||
8668 | if (!args) SWIG_fail; | |
8669 | swig_obj[0] = args; | |
5eb8189c | 8670 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8671 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8673 | } |
5eb8189c | 8674 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8675 | { |
8676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8677 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8678 | wxPyEndAllowThreads(__tstate); |
8679 | if (PyErr_Occurred()) SWIG_fail; | |
8680 | } | |
8681 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8682 | return resultobj; | |
8683 | fail: | |
8684 | return NULL; | |
8685 | } | |
8686 | ||
8687 | ||
eccab1a7 RD |
8688 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8689 | PyObject *resultobj = 0; | |
8690 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8691 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
8692 | void *argp1 = 0 ; | |
8693 | int res1 = 0 ; | |
8694 | void *argp2 = 0 ; | |
8695 | int res2 = 0 ; | |
8696 | PyObject * obj0 = 0 ; | |
8697 | PyObject * obj1 = 0 ; | |
8698 | char * kwnames[] = { | |
8699 | (char *) "self",(char *) "mgr", NULL | |
8700 | }; | |
8701 | ||
8702 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
8703 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8704 | if (!SWIG_IsOK(res1)) { | |
8705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
8706 | } | |
8707 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8708 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8709 | if (!SWIG_IsOK(res2)) { | |
8710 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
8711 | } | |
8712 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
8713 | { | |
8714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8715 | (arg1)->SetManager(arg2); | |
8716 | wxPyEndAllowThreads(__tstate); | |
8717 | if (PyErr_Occurred()) SWIG_fail; | |
8718 | } | |
8719 | resultobj = SWIG_Py_Void(); | |
8720 | return resultobj; | |
8721 | fail: | |
8722 | return NULL; | |
8723 | } | |
8724 | ||
8725 | ||
5eb8189c | 8726 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8727 | PyObject *resultobj = 0; |
5eb8189c RD |
8728 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8729 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8730 | void *argp1 = 0 ; |
8731 | int res1 = 0 ; | |
8732 | void *argp2 = 0 ; | |
8733 | int res2 = 0 ; | |
8734 | PyObject * obj0 = 0 ; | |
8735 | PyObject * obj1 = 0 ; | |
8736 | char * kwnames[] = { | |
8737 | (char *) "self",(char *) "p", NULL | |
8738 | }; | |
8739 | ||
5eb8189c RD |
8740 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8741 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8742 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8743 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8744 | } |
5eb8189c RD |
8745 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8746 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8747 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8748 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8749 | } |
5eb8189c | 8750 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8751 | { |
8752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8753 | (arg1)->SetPane(arg2); | |
8754 | wxPyEndAllowThreads(__tstate); | |
8755 | if (PyErr_Occurred()) SWIG_fail; | |
8756 | } | |
8757 | resultobj = SWIG_Py_Void(); | |
8758 | return resultobj; | |
8759 | fail: | |
8760 | return NULL; | |
8761 | } | |
8762 | ||
8763 | ||
5eb8189c | 8764 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8765 | PyObject *resultobj = 0; |
5eb8189c | 8766 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8767 | int arg2 ; |
8768 | void *argp1 = 0 ; | |
8769 | int res1 = 0 ; | |
8770 | int val2 ; | |
8771 | int ecode2 = 0 ; | |
8772 | PyObject * obj0 = 0 ; | |
8773 | PyObject * obj1 = 0 ; | |
8774 | char * kwnames[] = { | |
8775 | (char *) "self",(char *) "b", NULL | |
8776 | }; | |
8777 | ||
5eb8189c RD |
8778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8780 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8782 | } |
5eb8189c | 8783 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8784 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8785 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8786 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8787 | } |
8788 | arg2 = static_cast< int >(val2); | |
8789 | { | |
8790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8791 | (arg1)->SetButton(arg2); | |
8792 | wxPyEndAllowThreads(__tstate); | |
8793 | if (PyErr_Occurred()) SWIG_fail; | |
8794 | } | |
8795 | resultobj = SWIG_Py_Void(); | |
8796 | return resultobj; | |
8797 | fail: | |
8798 | return NULL; | |
8799 | } | |
8800 | ||
8801 | ||
5eb8189c | 8802 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8803 | PyObject *resultobj = 0; |
5eb8189c | 8804 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8805 | wxDC *arg2 = (wxDC *) 0 ; |
8806 | void *argp1 = 0 ; | |
8807 | int res1 = 0 ; | |
8808 | void *argp2 = 0 ; | |
8809 | int res2 = 0 ; | |
8810 | PyObject * obj0 = 0 ; | |
8811 | PyObject * obj1 = 0 ; | |
8812 | char * kwnames[] = { | |
8813 | (char *) "self",(char *) "pdc", NULL | |
8814 | }; | |
8815 | ||
5eb8189c RD |
8816 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8817 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8818 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8819 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8820 | } |
5eb8189c | 8821 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8822 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8823 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8824 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8825 | } |
8826 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8827 | { | |
8828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8829 | (arg1)->SetDC(arg2); | |
8830 | wxPyEndAllowThreads(__tstate); | |
8831 | if (PyErr_Occurred()) SWIG_fail; | |
8832 | } | |
8833 | resultobj = SWIG_Py_Void(); | |
8834 | return resultobj; | |
8835 | fail: | |
8836 | return NULL; | |
8837 | } | |
8838 | ||
8839 | ||
eccab1a7 RD |
8840 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8841 | PyObject *resultobj = 0; | |
8842 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8843 | wxAuiManager *result = 0 ; | |
8844 | void *argp1 = 0 ; | |
8845 | int res1 = 0 ; | |
8846 | PyObject *swig_obj[1] ; | |
8847 | ||
8848 | if (!args) SWIG_fail; | |
8849 | swig_obj[0] = args; | |
8850 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8851 | if (!SWIG_IsOK(res1)) { | |
8852 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); | |
8853 | } | |
8854 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8855 | { | |
8856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8857 | result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager(); | |
8858 | wxPyEndAllowThreads(__tstate); | |
8859 | if (PyErr_Occurred()) SWIG_fail; | |
8860 | } | |
8861 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8862 | return resultobj; | |
8863 | fail: | |
8864 | return NULL; | |
8865 | } | |
8866 | ||
8867 | ||
5eb8189c | 8868 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8869 | PyObject *resultobj = 0; |
5eb8189c RD |
8870 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8871 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8872 | void *argp1 = 0 ; |
8873 | int res1 = 0 ; | |
8874 | PyObject *swig_obj[1] ; | |
8875 | ||
8876 | if (!args) SWIG_fail; | |
8877 | swig_obj[0] = args; | |
5eb8189c | 8878 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8879 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8880 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8881 | } |
5eb8189c | 8882 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8883 | { |
8884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8885 | result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane(); |
27e45892 RD |
8886 | wxPyEndAllowThreads(__tstate); |
8887 | if (PyErr_Occurred()) SWIG_fail; | |
8888 | } | |
5eb8189c | 8889 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8890 | return resultobj; |
8891 | fail: | |
8892 | return NULL; | |
8893 | } | |
8894 | ||
8895 | ||
5eb8189c | 8896 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8897 | PyObject *resultobj = 0; |
5eb8189c | 8898 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8899 | int result; |
8900 | void *argp1 = 0 ; | |
8901 | int res1 = 0 ; | |
8902 | PyObject *swig_obj[1] ; | |
8903 | ||
8904 | if (!args) SWIG_fail; | |
8905 | swig_obj[0] = args; | |
5eb8189c | 8906 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8907 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8908 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8909 | } |
5eb8189c | 8910 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8911 | { |
8912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8913 | result = (int)((wxAuiManagerEvent const *)arg1)->GetButton(); |
27e45892 RD |
8914 | wxPyEndAllowThreads(__tstate); |
8915 | if (PyErr_Occurred()) SWIG_fail; | |
8916 | } | |
8917 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8918 | return resultobj; | |
8919 | fail: | |
8920 | return NULL; | |
8921 | } | |
8922 | ||
8923 | ||
5eb8189c | 8924 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8925 | PyObject *resultobj = 0; |
5eb8189c | 8926 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8927 | wxDC *result = 0 ; |
8928 | void *argp1 = 0 ; | |
8929 | int res1 = 0 ; | |
8930 | PyObject *swig_obj[1] ; | |
8931 | ||
8932 | if (!args) SWIG_fail; | |
8933 | swig_obj[0] = args; | |
5eb8189c | 8934 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8935 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8936 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
81f5836b | 8937 | } |
5eb8189c | 8938 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8939 | { |
8940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8941 | result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC(); |
81f5836b RD |
8942 | wxPyEndAllowThreads(__tstate); |
8943 | if (PyErr_Occurred()) SWIG_fail; | |
8944 | } | |
8945 | { | |
8946 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8947 | } | |
8948 | return resultobj; | |
8949 | fail: | |
8950 | return NULL; | |
8951 | } | |
8952 | ||
8953 | ||
5eb8189c | 8954 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8955 | PyObject *resultobj = 0; |
5eb8189c | 8956 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8957 | bool arg2 = (bool) true ; |
8958 | void *argp1 = 0 ; | |
8959 | int res1 = 0 ; | |
8960 | bool val2 ; | |
8961 | int ecode2 = 0 ; | |
8962 | PyObject * obj0 = 0 ; | |
8963 | PyObject * obj1 = 0 ; | |
8964 | char * kwnames[] = { | |
8965 | (char *) "self",(char *) "veto", NULL | |
8966 | }; | |
8967 | ||
5eb8189c RD |
8968 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8969 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8970 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8972 | } |
5eb8189c | 8973 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8974 | if (obj1) { |
8975 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8976 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8977 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8978 | } |
8979 | arg2 = static_cast< bool >(val2); | |
8980 | } | |
8981 | { | |
8982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8983 | (arg1)->Veto(arg2); | |
8984 | wxPyEndAllowThreads(__tstate); | |
8985 | if (PyErr_Occurred()) SWIG_fail; | |
8986 | } | |
8987 | resultobj = SWIG_Py_Void(); | |
8988 | return resultobj; | |
8989 | fail: | |
8990 | return NULL; | |
8991 | } | |
8992 | ||
8993 | ||
5eb8189c | 8994 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8995 | PyObject *resultobj = 0; |
5eb8189c | 8996 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8997 | bool result; |
8998 | void *argp1 = 0 ; | |
8999 | int res1 = 0 ; | |
9000 | PyObject *swig_obj[1] ; | |
9001 | ||
9002 | if (!args) SWIG_fail; | |
9003 | swig_obj[0] = args; | |
5eb8189c | 9004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9005 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9007 | } |
5eb8189c | 9008 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9009 | { |
9010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9011 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
9012 | wxPyEndAllowThreads(__tstate); |
9013 | if (PyErr_Occurred()) SWIG_fail; | |
9014 | } | |
9015 | { | |
9016 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9017 | } | |
9018 | return resultobj; | |
9019 | fail: | |
9020 | return NULL; | |
9021 | } | |
9022 | ||
9023 | ||
5eb8189c | 9024 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
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 * obj0 = 0 ; | |
9033 | PyObject * obj1 = 0 ; | |
9034 | char * kwnames[] = { | |
9035 | (char *) "self",(char *) "can_veto", NULL | |
9036 | }; | |
9037 | ||
5eb8189c RD |
9038 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
9039 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9040 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9041 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9042 | } |
5eb8189c | 9043 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9044 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
9045 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9046 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9047 | } |
9048 | arg2 = static_cast< bool >(val2); | |
9049 | { | |
9050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9051 | (arg1)->SetCanVeto(arg2); | |
9052 | wxPyEndAllowThreads(__tstate); | |
9053 | if (PyErr_Occurred()) SWIG_fail; | |
9054 | } | |
9055 | resultobj = SWIG_Py_Void(); | |
9056 | return resultobj; | |
9057 | fail: | |
9058 | return NULL; | |
9059 | } | |
9060 | ||
9061 | ||
5eb8189c | 9062 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9063 | PyObject *resultobj = 0; |
5eb8189c | 9064 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9065 | bool result; |
9066 | void *argp1 = 0 ; | |
9067 | int res1 = 0 ; | |
9068 | PyObject *swig_obj[1] ; | |
9069 | ||
9070 | if (!args) SWIG_fail; | |
9071 | swig_obj[0] = args; | |
5eb8189c | 9072 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9073 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9075 | } |
5eb8189c | 9076 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9077 | { |
9078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9079 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
9080 | wxPyEndAllowThreads(__tstate); |
9081 | if (PyErr_Occurred()) SWIG_fail; | |
9082 | } | |
9083 | { | |
9084 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9085 | } | |
9086 | return resultobj; | |
9087 | fail: | |
9088 | return NULL; | |
9089 | } | |
9090 | ||
9091 | ||
eccab1a7 RD |
9092 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9093 | PyObject *resultobj = 0; | |
9094 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9095 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
9096 | void *argp1 = 0 ; | |
9097 | int res1 = 0 ; | |
9098 | void *argp2 = 0 ; | |
9099 | int res2 = 0 ; | |
9100 | PyObject *swig_obj[2] ; | |
9101 | ||
9102 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail; | |
9103 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9104 | if (!SWIG_IsOK(res1)) { | |
9105 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9106 | } | |
9107 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9108 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); | |
9109 | if (!SWIG_IsOK(res2)) { | |
9110 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
9111 | } | |
9112 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
9113 | if (arg1) (arg1)->manager = arg2; | |
9114 | ||
9115 | resultobj = SWIG_Py_Void(); | |
9116 | return resultobj; | |
9117 | fail: | |
9118 | return NULL; | |
9119 | } | |
9120 | ||
9121 | ||
9122 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9123 | PyObject *resultobj = 0; | |
9124 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9125 | wxAuiManager *result = 0 ; | |
9126 | void *argp1 = 0 ; | |
9127 | int res1 = 0 ; | |
9128 | PyObject *swig_obj[1] ; | |
9129 | ||
9130 | if (!args) SWIG_fail; | |
9131 | swig_obj[0] = args; | |
9132 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9133 | if (!SWIG_IsOK(res1)) { | |
9134 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9135 | } | |
9136 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9137 | result = (wxAuiManager *) ((arg1)->manager); | |
9138 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9139 | return resultobj; | |
9140 | fail: | |
9141 | return NULL; | |
9142 | } | |
9143 | ||
9144 | ||
5eb8189c | 9145 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9146 | PyObject *resultobj = 0; |
5eb8189c RD |
9147 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9148 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9149 | void *argp1 = 0 ; |
9150 | int res1 = 0 ; | |
9151 | void *argp2 = 0 ; | |
9152 | int res2 = 0 ; | |
9153 | PyObject *swig_obj[2] ; | |
9154 | ||
5eb8189c RD |
9155 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
9156 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9157 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9158 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9159 | } |
5eb8189c RD |
9160 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9161 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9162 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9163 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9164 | } |
5eb8189c | 9165 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9166 | if (arg1) (arg1)->pane = arg2; |
9167 | ||
9168 | resultobj = SWIG_Py_Void(); | |
9169 | return resultobj; | |
9170 | fail: | |
9171 | return NULL; | |
9172 | } | |
9173 | ||
9174 | ||
5eb8189c | 9175 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9176 | PyObject *resultobj = 0; |
5eb8189c RD |
9177 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9178 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9179 | void *argp1 = 0 ; |
9180 | int res1 = 0 ; | |
9181 | PyObject *swig_obj[1] ; | |
9182 | ||
9183 | if (!args) SWIG_fail; | |
9184 | swig_obj[0] = args; | |
5eb8189c | 9185 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9186 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9188 | } |
5eb8189c RD |
9189 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9190 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
9191 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
9192 | return resultobj; |
9193 | fail: | |
9194 | return NULL; | |
9195 | } | |
9196 | ||
9197 | ||
5eb8189c | 9198 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9199 | PyObject *resultobj = 0; |
5eb8189c | 9200 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9201 | int arg2 ; |
9202 | void *argp1 = 0 ; | |
9203 | int res1 = 0 ; | |
9204 | int val2 ; | |
9205 | int ecode2 = 0 ; | |
9206 | PyObject *swig_obj[2] ; | |
9207 | ||
5eb8189c RD |
9208 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
9209 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9210 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9211 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9212 | } |
5eb8189c | 9213 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9214 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9215 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9216 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9217 | } |
9218 | arg2 = static_cast< int >(val2); | |
9219 | if (arg1) (arg1)->button = arg2; | |
9220 | ||
9221 | resultobj = SWIG_Py_Void(); | |
9222 | return resultobj; | |
9223 | fail: | |
9224 | return NULL; | |
9225 | } | |
9226 | ||
9227 | ||
5eb8189c | 9228 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9229 | PyObject *resultobj = 0; |
5eb8189c | 9230 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9231 | int result; |
9232 | void *argp1 = 0 ; | |
9233 | int res1 = 0 ; | |
9234 | PyObject *swig_obj[1] ; | |
9235 | ||
9236 | if (!args) SWIG_fail; | |
9237 | swig_obj[0] = args; | |
5eb8189c | 9238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9239 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9241 | } |
5eb8189c | 9242 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9243 | result = (int) ((arg1)->button); |
9244 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9245 | return resultobj; | |
9246 | fail: | |
9247 | return NULL; | |
9248 | } | |
9249 | ||
9250 | ||
5eb8189c | 9251 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9252 | PyObject *resultobj = 0; |
5eb8189c | 9253 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9254 | bool arg2 ; |
9255 | void *argp1 = 0 ; | |
9256 | int res1 = 0 ; | |
9257 | bool val2 ; | |
9258 | int ecode2 = 0 ; | |
9259 | PyObject *swig_obj[2] ; | |
9260 | ||
5eb8189c RD |
9261 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9262 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9263 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9265 | } |
5eb8189c | 9266 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9267 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9268 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9269 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9270 | } |
9271 | arg2 = static_cast< bool >(val2); | |
9272 | if (arg1) (arg1)->veto_flag = arg2; | |
9273 | ||
9274 | resultobj = SWIG_Py_Void(); | |
9275 | return resultobj; | |
9276 | fail: | |
9277 | return NULL; | |
9278 | } | |
9279 | ||
9280 | ||
5eb8189c | 9281 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9282 | PyObject *resultobj = 0; |
5eb8189c | 9283 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9284 | bool result; |
9285 | void *argp1 = 0 ; | |
9286 | int res1 = 0 ; | |
9287 | PyObject *swig_obj[1] ; | |
9288 | ||
9289 | if (!args) SWIG_fail; | |
9290 | swig_obj[0] = args; | |
5eb8189c | 9291 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9292 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9293 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9294 | } |
5eb8189c | 9295 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9296 | result = (bool) ((arg1)->veto_flag); |
9297 | { | |
9298 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9299 | } | |
9300 | return resultobj; | |
9301 | fail: | |
9302 | return NULL; | |
9303 | } | |
9304 | ||
9305 | ||
5eb8189c | 9306 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9307 | PyObject *resultobj = 0; |
5eb8189c | 9308 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9309 | bool arg2 ; |
9310 | void *argp1 = 0 ; | |
9311 | int res1 = 0 ; | |
9312 | bool val2 ; | |
9313 | int ecode2 = 0 ; | |
9314 | PyObject *swig_obj[2] ; | |
9315 | ||
5eb8189c RD |
9316 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9317 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9318 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9319 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9320 | } |
5eb8189c | 9321 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9322 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9323 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9324 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9325 | } |
9326 | arg2 = static_cast< bool >(val2); | |
9327 | if (arg1) (arg1)->canveto_flag = arg2; | |
9328 | ||
9329 | resultobj = SWIG_Py_Void(); | |
9330 | return resultobj; | |
9331 | fail: | |
9332 | return NULL; | |
9333 | } | |
9334 | ||
9335 | ||
5eb8189c | 9336 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9337 | PyObject *resultobj = 0; |
5eb8189c | 9338 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9339 | bool result; |
9340 | void *argp1 = 0 ; | |
9341 | int res1 = 0 ; | |
9342 | PyObject *swig_obj[1] ; | |
9343 | ||
9344 | if (!args) SWIG_fail; | |
9345 | swig_obj[0] = args; | |
5eb8189c | 9346 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9347 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9349 | } |
5eb8189c | 9350 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9351 | result = (bool) ((arg1)->canveto_flag); |
9352 | { | |
9353 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9354 | } | |
9355 | return resultobj; | |
9356 | fail: | |
9357 | return NULL; | |
9358 | } | |
9359 | ||
9360 | ||
5eb8189c | 9361 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9362 | PyObject *resultobj = 0; |
5eb8189c | 9363 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9364 | wxDC *arg2 = (wxDC *) 0 ; |
9365 | void *argp1 = 0 ; | |
9366 | int res1 = 0 ; | |
9367 | void *argp2 = 0 ; | |
9368 | int res2 = 0 ; | |
9369 | PyObject *swig_obj[2] ; | |
9370 | ||
5eb8189c RD |
9371 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9372 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9373 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9374 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9375 | } |
5eb8189c | 9376 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9377 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9378 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9379 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9380 | } |
9381 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9382 | if (arg1) (arg1)->dc = arg2; | |
9383 | ||
9384 | resultobj = SWIG_Py_Void(); | |
9385 | return resultobj; | |
9386 | fail: | |
9387 | return NULL; | |
9388 | } | |
9389 | ||
9390 | ||
5eb8189c | 9391 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9392 | PyObject *resultobj = 0; |
5eb8189c | 9393 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9394 | wxDC *result = 0 ; |
9395 | void *argp1 = 0 ; | |
9396 | int res1 = 0 ; | |
9397 | PyObject *swig_obj[1] ; | |
9398 | ||
9399 | if (!args) SWIG_fail; | |
9400 | swig_obj[0] = args; | |
5eb8189c | 9401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9402 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9404 | } |
5eb8189c | 9405 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9406 | result = (wxDC *) ((arg1)->dc); |
9407 | { | |
9408 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9409 | } | |
9410 | return resultobj; | |
9411 | fail: | |
9412 | return NULL; | |
9413 | } | |
9414 | ||
9415 | ||
5eb8189c | 9416 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9417 | PyObject *obj; |
9418 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9419 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9420 | return SWIG_Py_Void(); |
9421 | } | |
9422 | ||
5eb8189c | 9423 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9424 | return SWIG_Python_InitShadowInstance(args); |
9425 | } | |
9426 | ||
5eb8189c | 9427 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9428 | PyObject *resultobj = 0; |
5eb8189c | 9429 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9430 | |
5eb8189c | 9431 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9432 | { |
9433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9434 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9435 | wxPyEndAllowThreads(__tstate); |
9436 | if (PyErr_Occurred()) SWIG_fail; | |
9437 | } | |
5eb8189c | 9438 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9439 | return resultobj; |
9440 | fail: | |
9441 | return NULL; | |
9442 | } | |
9443 | ||
9444 | ||
5eb8189c | 9445 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9446 | PyObject *resultobj = 0; |
5eb8189c | 9447 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9448 | bool result; |
9449 | void *argp1 = 0 ; | |
9450 | int res1 = 0 ; | |
9451 | PyObject *swig_obj[1] ; | |
9452 | ||
9453 | if (!args) SWIG_fail; | |
9454 | swig_obj[0] = args; | |
5eb8189c | 9455 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9456 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9457 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9458 | } |
5eb8189c | 9459 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9460 | { |
9461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9462 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9463 | wxPyEndAllowThreads(__tstate); |
9464 | if (PyErr_Occurred()) SWIG_fail; | |
9465 | } | |
9466 | { | |
9467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9468 | } | |
9469 | return resultobj; | |
9470 | fail: | |
9471 | return NULL; | |
9472 | } | |
9473 | ||
9474 | ||
5eb8189c | 9475 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9476 | PyObject *resultobj = 0; |
5eb8189c | 9477 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9478 | bool result; |
9479 | void *argp1 = 0 ; | |
9480 | int res1 = 0 ; | |
9481 | PyObject *swig_obj[1] ; | |
9482 | ||
9483 | if (!args) SWIG_fail; | |
9484 | swig_obj[0] = args; | |
5eb8189c | 9485 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9486 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9487 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9488 | } |
5eb8189c | 9489 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9490 | { |
9491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9492 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9493 | wxPyEndAllowThreads(__tstate); |
9494 | if (PyErr_Occurred()) SWIG_fail; | |
9495 | } | |
9496 | { | |
9497 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9498 | } | |
9499 | return resultobj; | |
9500 | fail: | |
9501 | return NULL; | |
9502 | } | |
9503 | ||
9504 | ||
5eb8189c | 9505 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9506 | PyObject *resultobj = 0; |
5eb8189c | 9507 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9508 | bool 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_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9518 | } |
5eb8189c | 9519 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9520 | { |
9521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9522 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9523 | wxPyEndAllowThreads(__tstate); |
9524 | if (PyErr_Occurred()) SWIG_fail; | |
9525 | } | |
9526 | { | |
9527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9528 | } | |
9529 | return resultobj; | |
9530 | fail: | |
9531 | return NULL; | |
9532 | } | |
9533 | ||
9534 | ||
5eb8189c | 9535 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9536 | PyObject *resultobj = 0; |
5eb8189c RD |
9537 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9538 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9539 | void *argp1 = 0 ; |
9540 | int res1 = 0 ; | |
9541 | void *argp2 ; | |
9542 | int res2 = 0 ; | |
9543 | PyObject *swig_obj[2] ; | |
9544 | ||
5eb8189c RD |
9545 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9546 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9547 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9549 | } |
5eb8189c | 9550 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9551 | { |
5eb8189c | 9552 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9553 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9554 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9555 | } |
9556 | if (!argp2) { | |
5eb8189c | 9557 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9558 | } else { |
5eb8189c | 9559 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9560 | arg2 = *temp; |
9561 | if (SWIG_IsNewObj(res2)) delete temp; | |
9562 | } | |
9563 | } | |
9564 | if (arg1) (arg1)->panes = arg2; | |
9565 | ||
9566 | resultobj = SWIG_Py_Void(); | |
9567 | return resultobj; | |
9568 | fail: | |
9569 | return NULL; | |
9570 | } | |
9571 | ||
9572 | ||
5eb8189c | 9573 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9574 | PyObject *resultobj = 0; |
5eb8189c RD |
9575 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9576 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9577 | void *argp1 = 0 ; |
9578 | int res1 = 0 ; | |
9579 | PyObject *swig_obj[1] ; | |
9580 | ||
9581 | if (!args) SWIG_fail; | |
9582 | swig_obj[0] = args; | |
5eb8189c | 9583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9584 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9586 | } |
5eb8189c | 9587 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9588 | result = ((arg1)->panes); |
5eb8189c | 9589 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9590 | return resultobj; |
9591 | fail: | |
9592 | return NULL; | |
9593 | } | |
9594 | ||
9595 | ||
5eb8189c | 9596 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9597 | PyObject *resultobj = 0; |
5eb8189c | 9598 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9599 | wxRect *arg2 = (wxRect *) 0 ; |
9600 | void *argp1 = 0 ; | |
9601 | int res1 = 0 ; | |
9602 | void *argp2 = 0 ; | |
9603 | int res2 = 0 ; | |
9604 | PyObject *swig_obj[2] ; | |
9605 | ||
5eb8189c RD |
9606 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9607 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9608 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9610 | } |
5eb8189c | 9611 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9612 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9613 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9614 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9615 | } |
9616 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9617 | if (arg1) (arg1)->rect = *arg2; | |
9618 | ||
9619 | resultobj = SWIG_Py_Void(); | |
9620 | return resultobj; | |
9621 | fail: | |
9622 | return NULL; | |
9623 | } | |
9624 | ||
9625 | ||
5eb8189c | 9626 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9627 | PyObject *resultobj = 0; |
5eb8189c | 9628 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9629 | wxRect *result = 0 ; |
9630 | void *argp1 = 0 ; | |
9631 | int res1 = 0 ; | |
9632 | PyObject *swig_obj[1] ; | |
9633 | ||
9634 | if (!args) SWIG_fail; | |
9635 | swig_obj[0] = args; | |
5eb8189c | 9636 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9637 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9639 | } |
5eb8189c | 9640 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9641 | result = (wxRect *)& ((arg1)->rect); |
9642 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9643 | return resultobj; | |
9644 | fail: | |
9645 | return NULL; | |
9646 | } | |
9647 | ||
9648 | ||
5eb8189c | 9649 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9650 | PyObject *resultobj = 0; |
5eb8189c | 9651 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9652 | int arg2 ; |
9653 | void *argp1 = 0 ; | |
9654 | int res1 = 0 ; | |
9655 | int val2 ; | |
9656 | int ecode2 = 0 ; | |
9657 | PyObject *swig_obj[2] ; | |
9658 | ||
5eb8189c RD |
9659 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9660 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9661 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9662 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9663 | } |
5eb8189c | 9664 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9665 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9666 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9667 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9668 | } |
9669 | arg2 = static_cast< int >(val2); | |
9670 | if (arg1) (arg1)->dock_direction = arg2; | |
9671 | ||
9672 | resultobj = SWIG_Py_Void(); | |
9673 | return resultobj; | |
9674 | fail: | |
9675 | return NULL; | |
9676 | } | |
9677 | ||
9678 | ||
5eb8189c | 9679 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9680 | PyObject *resultobj = 0; |
5eb8189c | 9681 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9682 | int result; |
9683 | void *argp1 = 0 ; | |
9684 | int res1 = 0 ; | |
9685 | PyObject *swig_obj[1] ; | |
9686 | ||
9687 | if (!args) SWIG_fail; | |
9688 | swig_obj[0] = args; | |
5eb8189c | 9689 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9690 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9691 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9692 | } |
5eb8189c | 9693 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9694 | result = (int) ((arg1)->dock_direction); |
9695 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9696 | return resultobj; | |
9697 | fail: | |
9698 | return NULL; | |
9699 | } | |
9700 | ||
9701 | ||
5eb8189c | 9702 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9703 | PyObject *resultobj = 0; |
5eb8189c | 9704 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9705 | int arg2 ; |
9706 | void *argp1 = 0 ; | |
9707 | int res1 = 0 ; | |
9708 | int val2 ; | |
9709 | int ecode2 = 0 ; | |
9710 | PyObject *swig_obj[2] ; | |
9711 | ||
5eb8189c RD |
9712 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9713 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9714 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9715 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9716 | } |
5eb8189c | 9717 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9718 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9719 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9720 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9721 | } |
9722 | arg2 = static_cast< int >(val2); | |
9723 | if (arg1) (arg1)->dock_layer = arg2; | |
9724 | ||
9725 | resultobj = SWIG_Py_Void(); | |
9726 | return resultobj; | |
9727 | fail: | |
9728 | return NULL; | |
9729 | } | |
9730 | ||
9731 | ||
5eb8189c | 9732 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9733 | PyObject *resultobj = 0; |
5eb8189c | 9734 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9735 | int result; |
9736 | void *argp1 = 0 ; | |
9737 | int res1 = 0 ; | |
9738 | PyObject *swig_obj[1] ; | |
9739 | ||
9740 | if (!args) SWIG_fail; | |
9741 | swig_obj[0] = args; | |
5eb8189c | 9742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9743 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9745 | } |
5eb8189c | 9746 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9747 | result = (int) ((arg1)->dock_layer); |
9748 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9749 | return resultobj; | |
9750 | fail: | |
9751 | return NULL; | |
9752 | } | |
9753 | ||
9754 | ||
5eb8189c | 9755 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9756 | PyObject *resultobj = 0; |
5eb8189c | 9757 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9758 | int arg2 ; |
9759 | void *argp1 = 0 ; | |
9760 | int res1 = 0 ; | |
9761 | int val2 ; | |
9762 | int ecode2 = 0 ; | |
9763 | PyObject *swig_obj[2] ; | |
9764 | ||
5eb8189c RD |
9765 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9766 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9767 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9769 | } |
5eb8189c | 9770 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9771 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9772 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9773 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9774 | } |
9775 | arg2 = static_cast< int >(val2); | |
9776 | if (arg1) (arg1)->dock_row = arg2; | |
9777 | ||
9778 | resultobj = SWIG_Py_Void(); | |
9779 | return resultobj; | |
9780 | fail: | |
9781 | return NULL; | |
9782 | } | |
9783 | ||
9784 | ||
5eb8189c | 9785 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9786 | PyObject *resultobj = 0; |
5eb8189c | 9787 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9788 | int result; |
9789 | void *argp1 = 0 ; | |
9790 | int res1 = 0 ; | |
9791 | PyObject *swig_obj[1] ; | |
9792 | ||
9793 | if (!args) SWIG_fail; | |
9794 | swig_obj[0] = args; | |
5eb8189c | 9795 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9796 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9797 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9798 | } |
5eb8189c | 9799 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9800 | result = (int) ((arg1)->dock_row); |
9801 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9802 | return resultobj; | |
9803 | fail: | |
9804 | return NULL; | |
9805 | } | |
9806 | ||
9807 | ||
5eb8189c | 9808 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9809 | PyObject *resultobj = 0; |
5eb8189c | 9810 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9811 | int arg2 ; |
9812 | void *argp1 = 0 ; | |
9813 | int res1 = 0 ; | |
9814 | int val2 ; | |
9815 | int ecode2 = 0 ; | |
9816 | PyObject *swig_obj[2] ; | |
9817 | ||
5eb8189c RD |
9818 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9819 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9820 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9822 | } |
5eb8189c | 9823 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9824 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9825 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9826 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9827 | } |
9828 | arg2 = static_cast< int >(val2); | |
9829 | if (arg1) (arg1)->size = arg2; | |
9830 | ||
9831 | resultobj = SWIG_Py_Void(); | |
9832 | return resultobj; | |
9833 | fail: | |
9834 | return NULL; | |
9835 | } | |
9836 | ||
9837 | ||
5eb8189c | 9838 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9839 | PyObject *resultobj = 0; |
5eb8189c | 9840 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9841 | int result; |
9842 | void *argp1 = 0 ; | |
9843 | int res1 = 0 ; | |
9844 | PyObject *swig_obj[1] ; | |
9845 | ||
9846 | if (!args) SWIG_fail; | |
9847 | swig_obj[0] = args; | |
5eb8189c | 9848 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9849 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9850 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9851 | } |
5eb8189c | 9852 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9853 | result = (int) ((arg1)->size); |
9854 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9855 | return resultobj; | |
9856 | fail: | |
9857 | return NULL; | |
9858 | } | |
9859 | ||
9860 | ||
5eb8189c | 9861 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9862 | PyObject *resultobj = 0; |
5eb8189c | 9863 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9864 | int arg2 ; |
9865 | void *argp1 = 0 ; | |
9866 | int res1 = 0 ; | |
9867 | int val2 ; | |
9868 | int ecode2 = 0 ; | |
9869 | PyObject *swig_obj[2] ; | |
9870 | ||
5eb8189c RD |
9871 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9872 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9873 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9875 | } |
5eb8189c | 9876 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9877 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9878 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9879 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9880 | } |
9881 | arg2 = static_cast< int >(val2); | |
9882 | if (arg1) (arg1)->min_size = arg2; | |
9883 | ||
9884 | resultobj = SWIG_Py_Void(); | |
9885 | return resultobj; | |
9886 | fail: | |
9887 | return NULL; | |
9888 | } | |
9889 | ||
9890 | ||
5eb8189c | 9891 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9892 | PyObject *resultobj = 0; |
5eb8189c | 9893 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9894 | int result; |
9895 | void *argp1 = 0 ; | |
9896 | int res1 = 0 ; | |
9897 | PyObject *swig_obj[1] ; | |
9898 | ||
9899 | if (!args) SWIG_fail; | |
9900 | swig_obj[0] = args; | |
5eb8189c | 9901 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9902 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9903 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9904 | } |
5eb8189c | 9905 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9906 | result = (int) ((arg1)->min_size); |
9907 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9908 | return resultobj; | |
9909 | fail: | |
9910 | return NULL; | |
9911 | } | |
9912 | ||
9913 | ||
5eb8189c | 9914 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9915 | PyObject *resultobj = 0; |
5eb8189c | 9916 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9917 | bool arg2 ; |
9918 | void *argp1 = 0 ; | |
9919 | int res1 = 0 ; | |
9920 | bool val2 ; | |
9921 | int ecode2 = 0 ; | |
9922 | PyObject *swig_obj[2] ; | |
9923 | ||
5eb8189c RD |
9924 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9925 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9926 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9927 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9928 | } |
5eb8189c | 9929 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9930 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9931 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9932 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9933 | } |
9934 | arg2 = static_cast< bool >(val2); | |
9935 | if (arg1) (arg1)->resizable = arg2; | |
9936 | ||
9937 | resultobj = SWIG_Py_Void(); | |
9938 | return resultobj; | |
9939 | fail: | |
9940 | return NULL; | |
9941 | } | |
9942 | ||
9943 | ||
5eb8189c | 9944 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9945 | PyObject *resultobj = 0; |
5eb8189c | 9946 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9947 | bool result; |
9948 | void *argp1 = 0 ; | |
9949 | int res1 = 0 ; | |
9950 | PyObject *swig_obj[1] ; | |
9951 | ||
9952 | if (!args) SWIG_fail; | |
9953 | swig_obj[0] = args; | |
5eb8189c | 9954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9955 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9957 | } |
5eb8189c | 9958 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9959 | result = (bool) ((arg1)->resizable); |
9960 | { | |
9961 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9962 | } | |
9963 | return resultobj; | |
9964 | fail: | |
9965 | return NULL; | |
9966 | } | |
9967 | ||
9968 | ||
5eb8189c | 9969 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9970 | PyObject *resultobj = 0; |
5eb8189c | 9971 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9972 | bool arg2 ; |
9973 | void *argp1 = 0 ; | |
9974 | int res1 = 0 ; | |
9975 | bool val2 ; | |
9976 | int ecode2 = 0 ; | |
9977 | PyObject *swig_obj[2] ; | |
9978 | ||
5eb8189c RD |
9979 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9980 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9981 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9983 | } |
5eb8189c | 9984 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9985 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9986 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9987 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9988 | } |
9989 | arg2 = static_cast< bool >(val2); | |
9990 | if (arg1) (arg1)->toolbar = arg2; | |
9991 | ||
9992 | resultobj = SWIG_Py_Void(); | |
9993 | return resultobj; | |
9994 | fail: | |
9995 | return NULL; | |
9996 | } | |
9997 | ||
9998 | ||
5eb8189c | 9999 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10000 | PyObject *resultobj = 0; |
5eb8189c | 10001 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10002 | bool result; |
10003 | void *argp1 = 0 ; | |
10004 | int res1 = 0 ; | |
10005 | PyObject *swig_obj[1] ; | |
10006 | ||
10007 | if (!args) SWIG_fail; | |
10008 | swig_obj[0] = args; | |
5eb8189c | 10009 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10010 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10011 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10012 | } |
5eb8189c | 10013 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10014 | result = (bool) ((arg1)->toolbar); |
10015 | { | |
10016 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10017 | } | |
10018 | return resultobj; | |
10019 | fail: | |
10020 | return NULL; | |
10021 | } | |
10022 | ||
10023 | ||
5eb8189c | 10024 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10025 | PyObject *resultobj = 0; |
5eb8189c | 10026 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10027 | bool arg2 ; |
10028 | void *argp1 = 0 ; | |
10029 | int res1 = 0 ; | |
10030 | bool val2 ; | |
10031 | int ecode2 = 0 ; | |
10032 | PyObject *swig_obj[2] ; | |
10033 | ||
5eb8189c RD |
10034 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
10035 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10036 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10037 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10038 | } |
5eb8189c | 10039 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10040 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10041 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10042 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10043 | } |
10044 | arg2 = static_cast< bool >(val2); | |
10045 | if (arg1) (arg1)->fixed = arg2; | |
10046 | ||
10047 | resultobj = SWIG_Py_Void(); | |
10048 | return resultobj; | |
10049 | fail: | |
10050 | return NULL; | |
10051 | } | |
10052 | ||
10053 | ||
5eb8189c | 10054 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10055 | PyObject *resultobj = 0; |
5eb8189c | 10056 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10057 | bool result; |
10058 | void *argp1 = 0 ; | |
10059 | int res1 = 0 ; | |
10060 | PyObject *swig_obj[1] ; | |
10061 | ||
10062 | if (!args) SWIG_fail; | |
10063 | swig_obj[0] = args; | |
5eb8189c | 10064 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10065 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10066 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10067 | } |
5eb8189c | 10068 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10069 | result = (bool) ((arg1)->fixed); |
10070 | { | |
10071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10072 | } | |
10073 | return resultobj; | |
10074 | fail: | |
10075 | return NULL; | |
10076 | } | |
10077 | ||
10078 | ||
cbdf0fb0 RD |
10079 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10080 | PyObject *resultobj = 0; | |
10081 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10082 | bool arg2 ; | |
10083 | void *argp1 = 0 ; | |
10084 | int res1 = 0 ; | |
10085 | bool val2 ; | |
10086 | int ecode2 = 0 ; | |
10087 | PyObject *swig_obj[2] ; | |
10088 | ||
10089 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_reserved1_set",2,2,swig_obj)) SWIG_fail; | |
10090 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10091 | if (!SWIG_IsOK(res1)) { | |
10092 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10093 | } | |
10094 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10095 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10096 | if (!SWIG_IsOK(ecode2)) { | |
10097 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "2"" of type '" "bool""'"); | |
10098 | } | |
10099 | arg2 = static_cast< bool >(val2); | |
10100 | if (arg1) (arg1)->reserved1 = arg2; | |
10101 | ||
10102 | resultobj = SWIG_Py_Void(); | |
10103 | return resultobj; | |
10104 | fail: | |
10105 | return NULL; | |
10106 | } | |
10107 | ||
10108 | ||
10109 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10110 | PyObject *resultobj = 0; | |
10111 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10112 | bool result; | |
10113 | void *argp1 = 0 ; | |
10114 | int res1 = 0 ; | |
10115 | PyObject *swig_obj[1] ; | |
10116 | ||
10117 | if (!args) SWIG_fail; | |
10118 | swig_obj[0] = args; | |
10119 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10120 | if (!SWIG_IsOK(res1)) { | |
10121 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10122 | } | |
10123 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10124 | result = (bool) ((arg1)->reserved1); | |
10125 | { | |
10126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10127 | } | |
10128 | return resultobj; | |
10129 | fail: | |
10130 | return NULL; | |
10131 | } | |
10132 | ||
10133 | ||
5eb8189c | 10134 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10135 | PyObject *resultobj = 0; |
5eb8189c | 10136 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb 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_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10144 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10145 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 10146 | } |
5eb8189c | 10147 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
10148 | { |
10149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10150 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
10151 | |
10152 | wxPyEndAllowThreads(__tstate); | |
10153 | if (PyErr_Occurred()) SWIG_fail; | |
10154 | } | |
10155 | resultobj = SWIG_Py_Void(); | |
10156 | return resultobj; | |
10157 | fail: | |
10158 | return NULL; | |
10159 | } | |
10160 | ||
10161 | ||
5eb8189c | 10162 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10163 | PyObject *obj; |
10164 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10165 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
10166 | return SWIG_Py_Void(); |
10167 | } | |
10168 | ||
5eb8189c | 10169 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10170 | return SWIG_Python_InitShadowInstance(args); |
10171 | } | |
10172 | ||
5eb8189c | 10173 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10174 | PyObject *resultobj = 0; |
5eb8189c | 10175 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10176 | int arg2 ; |
10177 | void *argp1 = 0 ; | |
10178 | int res1 = 0 ; | |
10179 | int val2 ; | |
10180 | int ecode2 = 0 ; | |
10181 | PyObject *swig_obj[2] ; | |
10182 | ||
5eb8189c RD |
10183 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
10184 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10185 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10186 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10187 | } |
5eb8189c | 10188 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10189 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10190 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10191 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10192 | } |
10193 | arg2 = static_cast< int >(val2); | |
10194 | if (arg1) (arg1)->type = arg2; | |
10195 | ||
10196 | resultobj = SWIG_Py_Void(); | |
10197 | return resultobj; | |
10198 | fail: | |
10199 | return NULL; | |
10200 | } | |
10201 | ||
10202 | ||
5eb8189c | 10203 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10204 | PyObject *resultobj = 0; |
5eb8189c | 10205 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10206 | int result; |
10207 | void *argp1 = 0 ; | |
10208 | int res1 = 0 ; | |
10209 | PyObject *swig_obj[1] ; | |
10210 | ||
10211 | if (!args) SWIG_fail; | |
10212 | swig_obj[0] = args; | |
5eb8189c | 10213 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10214 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10215 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10216 | } |
5eb8189c | 10217 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10218 | result = (int) ((arg1)->type); |
10219 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10220 | return resultobj; | |
10221 | fail: | |
10222 | return NULL; | |
10223 | } | |
10224 | ||
10225 | ||
5eb8189c | 10226 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10227 | PyObject *resultobj = 0; |
5eb8189c | 10228 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10229 | int arg2 ; |
10230 | void *argp1 = 0 ; | |
10231 | int res1 = 0 ; | |
10232 | int val2 ; | |
10233 | int ecode2 = 0 ; | |
10234 | PyObject *swig_obj[2] ; | |
10235 | ||
5eb8189c RD |
10236 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
10237 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10238 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10240 | } |
5eb8189c | 10241 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10242 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10243 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10244 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10245 | } |
10246 | arg2 = static_cast< int >(val2); | |
10247 | if (arg1) (arg1)->orientation = arg2; | |
10248 | ||
10249 | resultobj = SWIG_Py_Void(); | |
10250 | return resultobj; | |
10251 | fail: | |
10252 | return NULL; | |
10253 | } | |
10254 | ||
10255 | ||
5eb8189c | 10256 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10257 | PyObject *resultobj = 0; |
5eb8189c | 10258 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10259 | int result; |
10260 | void *argp1 = 0 ; | |
10261 | int res1 = 0 ; | |
10262 | PyObject *swig_obj[1] ; | |
10263 | ||
10264 | if (!args) SWIG_fail; | |
10265 | swig_obj[0] = args; | |
5eb8189c | 10266 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10267 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10268 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10269 | } |
5eb8189c | 10270 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10271 | result = (int) ((arg1)->orientation); |
10272 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10273 | return resultobj; | |
10274 | fail: | |
10275 | return NULL; | |
10276 | } | |
10277 | ||
10278 | ||
5eb8189c | 10279 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10280 | PyObject *resultobj = 0; |
5eb8189c RD |
10281 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10282 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10283 | void *argp1 = 0 ; |
10284 | int res1 = 0 ; | |
10285 | void *argp2 = 0 ; | |
10286 | int res2 = 0 ; | |
10287 | PyObject *swig_obj[2] ; | |
10288 | ||
5eb8189c RD |
10289 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10291 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10293 | } |
5eb8189c RD |
10294 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10295 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10296 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10297 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10298 | } |
5eb8189c | 10299 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10300 | if (arg1) (arg1)->dock = arg2; |
10301 | ||
10302 | resultobj = SWIG_Py_Void(); | |
10303 | return resultobj; | |
10304 | fail: | |
10305 | return NULL; | |
10306 | } | |
10307 | ||
10308 | ||
5eb8189c | 10309 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10310 | PyObject *resultobj = 0; |
5eb8189c RD |
10311 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10312 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10313 | void *argp1 = 0 ; |
10314 | int res1 = 0 ; | |
10315 | PyObject *swig_obj[1] ; | |
10316 | ||
10317 | if (!args) SWIG_fail; | |
10318 | swig_obj[0] = args; | |
5eb8189c | 10319 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10320 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10321 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10322 | } |
5eb8189c RD |
10323 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10324 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10325 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10326 | return resultobj; |
10327 | fail: | |
10328 | return NULL; | |
10329 | } | |
10330 | ||
10331 | ||
5eb8189c | 10332 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10333 | PyObject *resultobj = 0; |
5eb8189c RD |
10334 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10335 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10336 | void *argp1 = 0 ; |
10337 | int res1 = 0 ; | |
10338 | void *argp2 = 0 ; | |
10339 | int res2 = 0 ; | |
10340 | PyObject *swig_obj[2] ; | |
10341 | ||
5eb8189c RD |
10342 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10343 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10344 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10345 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10346 | } |
5eb8189c RD |
10347 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10348 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10349 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10350 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10351 | } |
5eb8189c | 10352 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10353 | if (arg1) (arg1)->pane = arg2; |
10354 | ||
10355 | resultobj = SWIG_Py_Void(); | |
10356 | return resultobj; | |
10357 | fail: | |
10358 | return NULL; | |
10359 | } | |
10360 | ||
10361 | ||
5eb8189c | 10362 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10363 | PyObject *resultobj = 0; |
5eb8189c RD |
10364 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10365 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10366 | void *argp1 = 0 ; |
10367 | int res1 = 0 ; | |
10368 | PyObject *swig_obj[1] ; | |
10369 | ||
10370 | if (!args) SWIG_fail; | |
10371 | swig_obj[0] = args; | |
5eb8189c | 10372 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10373 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10374 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10375 | } |
5eb8189c RD |
10376 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10377 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10378 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10379 | return resultobj; |
10380 | fail: | |
10381 | return NULL; | |
10382 | } | |
10383 | ||
10384 | ||
5eb8189c | 10385 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10386 | PyObject *resultobj = 0; |
5eb8189c RD |
10387 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10388 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10389 | void *argp1 = 0 ; |
10390 | int res1 = 0 ; | |
10391 | void *argp2 = 0 ; | |
10392 | int res2 = 0 ; | |
10393 | PyObject *swig_obj[2] ; | |
10394 | ||
5eb8189c RD |
10395 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10396 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10397 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10399 | } |
5eb8189c RD |
10400 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10401 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10402 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10403 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10404 | } |
5eb8189c | 10405 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10406 | if (arg1) (arg1)->button = arg2; |
10407 | ||
10408 | resultobj = SWIG_Py_Void(); | |
10409 | return resultobj; | |
10410 | fail: | |
10411 | return NULL; | |
10412 | } | |
10413 | ||
10414 | ||
5eb8189c | 10415 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10416 | PyObject *resultobj = 0; |
5eb8189c RD |
10417 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10418 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10419 | void *argp1 = 0 ; |
10420 | int res1 = 0 ; | |
10421 | PyObject *swig_obj[1] ; | |
10422 | ||
10423 | if (!args) SWIG_fail; | |
10424 | swig_obj[0] = args; | |
5eb8189c | 10425 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10426 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10428 | } |
5eb8189c RD |
10429 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10430 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10431 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10432 | return resultobj; |
10433 | fail: | |
10434 | return NULL; | |
10435 | } | |
10436 | ||
10437 | ||
5eb8189c | 10438 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10439 | PyObject *resultobj = 0; |
5eb8189c | 10440 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10441 | wxSizer *arg2 = (wxSizer *) 0 ; |
10442 | void *argp1 = 0 ; | |
10443 | int res1 = 0 ; | |
10444 | void *argp2 = 0 ; | |
10445 | int res2 = 0 ; | |
10446 | PyObject *swig_obj[2] ; | |
10447 | ||
5eb8189c RD |
10448 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10449 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10450 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10452 | } |
5eb8189c | 10453 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10454 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10455 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10456 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10457 | } |
10458 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10459 | if (arg1) (arg1)->cont_sizer = arg2; | |
10460 | ||
10461 | resultobj = SWIG_Py_Void(); | |
10462 | return resultobj; | |
10463 | fail: | |
10464 | return NULL; | |
10465 | } | |
10466 | ||
10467 | ||
5eb8189c | 10468 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10469 | PyObject *resultobj = 0; |
5eb8189c | 10470 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10471 | wxSizer *result = 0 ; |
10472 | void *argp1 = 0 ; | |
10473 | int res1 = 0 ; | |
10474 | PyObject *swig_obj[1] ; | |
10475 | ||
10476 | if (!args) SWIG_fail; | |
10477 | swig_obj[0] = args; | |
5eb8189c | 10478 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10479 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10480 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10481 | } |
5eb8189c | 10482 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10483 | result = (wxSizer *) ((arg1)->cont_sizer); |
10484 | { | |
10485 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10486 | } | |
10487 | return resultobj; | |
10488 | fail: | |
10489 | return NULL; | |
10490 | } | |
10491 | ||
10492 | ||
5eb8189c | 10493 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10494 | PyObject *resultobj = 0; |
5eb8189c | 10495 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10496 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10497 | void *argp1 = 0 ; | |
10498 | int res1 = 0 ; | |
10499 | void *argp2 = 0 ; | |
10500 | int res2 = 0 ; | |
10501 | PyObject *swig_obj[2] ; | |
10502 | ||
5eb8189c RD |
10503 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10504 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10505 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10507 | } |
5eb8189c | 10508 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10509 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10510 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10511 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10512 | } |
10513 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10514 | if (arg1) (arg1)->sizer_item = arg2; | |
10515 | ||
10516 | resultobj = SWIG_Py_Void(); | |
10517 | return resultobj; | |
10518 | fail: | |
10519 | return NULL; | |
10520 | } | |
10521 | ||
10522 | ||
5eb8189c | 10523 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10524 | PyObject *resultobj = 0; |
5eb8189c | 10525 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10526 | wxSizerItem *result = 0 ; |
10527 | void *argp1 = 0 ; | |
10528 | int res1 = 0 ; | |
10529 | PyObject *swig_obj[1] ; | |
10530 | ||
10531 | if (!args) SWIG_fail; | |
10532 | swig_obj[0] = args; | |
5eb8189c | 10533 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10534 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10535 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10536 | } |
5eb8189c | 10537 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10538 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10539 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10540 | return resultobj; | |
10541 | fail: | |
10542 | return NULL; | |
10543 | } | |
10544 | ||
10545 | ||
5eb8189c | 10546 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10547 | PyObject *resultobj = 0; |
5eb8189c | 10548 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10549 | wxRect *arg2 = (wxRect *) 0 ; |
10550 | void *argp1 = 0 ; | |
10551 | int res1 = 0 ; | |
10552 | void *argp2 = 0 ; | |
10553 | int res2 = 0 ; | |
10554 | PyObject *swig_obj[2] ; | |
10555 | ||
5eb8189c RD |
10556 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10557 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10558 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10559 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10560 | } |
5eb8189c | 10561 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10562 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10563 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10564 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10565 | } |
10566 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10567 | if (arg1) (arg1)->rect = *arg2; | |
10568 | ||
10569 | resultobj = SWIG_Py_Void(); | |
10570 | return resultobj; | |
10571 | fail: | |
10572 | return NULL; | |
10573 | } | |
10574 | ||
10575 | ||
5eb8189c | 10576 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10577 | PyObject *resultobj = 0; |
5eb8189c | 10578 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10579 | wxRect *result = 0 ; |
10580 | void *argp1 = 0 ; | |
10581 | int res1 = 0 ; | |
10582 | PyObject *swig_obj[1] ; | |
10583 | ||
10584 | if (!args) SWIG_fail; | |
10585 | swig_obj[0] = args; | |
5eb8189c | 10586 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10587 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10589 | } |
5eb8189c | 10590 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10591 | result = (wxRect *)& ((arg1)->rect); |
10592 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10593 | return resultobj; | |
10594 | fail: | |
10595 | return NULL; | |
10596 | } | |
10597 | ||
10598 | ||
5eb8189c | 10599 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10600 | PyObject *resultobj = 0; |
5eb8189c | 10601 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10602 | void *argp1 = 0 ; |
10603 | int res1 = 0 ; | |
10604 | PyObject *swig_obj[1] ; | |
10605 | ||
10606 | if (!args) SWIG_fail; | |
10607 | swig_obj[0] = args; | |
5eb8189c | 10608 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10609 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10611 | } |
5eb8189c | 10612 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10613 | { |
10614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10615 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10616 | |
10617 | wxPyEndAllowThreads(__tstate); | |
10618 | if (PyErr_Occurred()) SWIG_fail; | |
10619 | } | |
10620 | resultobj = SWIG_Py_Void(); | |
10621 | return resultobj; | |
10622 | fail: | |
10623 | return NULL; | |
10624 | } | |
10625 | ||
10626 | ||
5eb8189c | 10627 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10628 | PyObject *obj; |
10629 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10630 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10631 | return SWIG_Py_Void(); |
10632 | } | |
10633 | ||
5eb8189c | 10634 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10635 | PyObject *resultobj = 0; |
5eb8189c | 10636 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10637 | int arg2 ; |
10638 | void *argp1 = 0 ; | |
10639 | int res1 = 0 ; | |
10640 | int val2 ; | |
10641 | int ecode2 = 0 ; | |
10642 | PyObject *swig_obj[2] ; | |
10643 | ||
5eb8189c RD |
10644 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10646 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10648 | } |
5eb8189c | 10649 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10650 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10651 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10652 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10653 | } |
10654 | arg2 = static_cast< int >(val2); | |
10655 | if (arg1) (arg1)->button_id = arg2; | |
10656 | ||
10657 | resultobj = SWIG_Py_Void(); | |
10658 | return resultobj; | |
10659 | fail: | |
10660 | return NULL; | |
10661 | } | |
10662 | ||
10663 | ||
5eb8189c | 10664 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10665 | PyObject *resultobj = 0; |
5eb8189c | 10666 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10667 | int result; |
10668 | void *argp1 = 0 ; | |
10669 | int res1 = 0 ; | |
10670 | PyObject *swig_obj[1] ; | |
10671 | ||
10672 | if (!args) SWIG_fail; | |
10673 | swig_obj[0] = args; | |
5eb8189c | 10674 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10675 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10677 | } |
5eb8189c | 10678 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10679 | result = (int) ((arg1)->button_id); |
10680 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10681 | return resultobj; | |
10682 | fail: | |
10683 | return NULL; | |
10684 | } | |
10685 | ||
10686 | ||
5eb8189c | 10687 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10688 | PyObject *resultobj = 0; |
5eb8189c | 10689 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10690 | void *argp1 = 0 ; |
10691 | int res1 = 0 ; | |
10692 | PyObject *swig_obj[1] ; | |
10693 | ||
10694 | if (!args) SWIG_fail; | |
10695 | swig_obj[0] = args; | |
5eb8189c | 10696 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10697 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10699 | } |
5eb8189c | 10700 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10701 | { |
10702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10703 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10704 | |
10705 | wxPyEndAllowThreads(__tstate); | |
10706 | if (PyErr_Occurred()) SWIG_fail; | |
10707 | } | |
10708 | resultobj = SWIG_Py_Void(); | |
10709 | return resultobj; | |
10710 | fail: | |
10711 | return NULL; | |
10712 | } | |
10713 | ||
10714 | ||
5eb8189c | 10715 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10716 | PyObject *obj; |
10717 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10718 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10719 | return SWIG_Py_Void(); |
10720 | } | |
10721 | ||
5eb8189c | 10722 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10723 | PyObject *resultobj = 0; |
5eb8189c | 10724 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10725 | void *argp1 = 0 ; |
10726 | int res1 = 0 ; | |
10727 | PyObject *swig_obj[1] ; | |
10728 | ||
10729 | if (!args) SWIG_fail; | |
10730 | swig_obj[0] = args; | |
5eb8189c | 10731 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10732 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10734 | } |
5eb8189c | 10735 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10736 | { |
10737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10738 | delete arg1; | |
10739 | ||
10740 | wxPyEndAllowThreads(__tstate); | |
10741 | if (PyErr_Occurred()) SWIG_fail; | |
10742 | } | |
10743 | resultobj = SWIG_Py_Void(); | |
10744 | return resultobj; | |
10745 | fail: | |
10746 | return NULL; | |
10747 | } | |
10748 | ||
10749 | ||
5eb8189c | 10750 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10751 | PyObject *resultobj = 0; |
5eb8189c | 10752 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10753 | int arg2 ; |
10754 | int result; | |
10755 | void *argp1 = 0 ; | |
10756 | int res1 = 0 ; | |
10757 | int val2 ; | |
10758 | int ecode2 = 0 ; | |
10759 | PyObject * obj0 = 0 ; | |
10760 | PyObject * obj1 = 0 ; | |
10761 | char * kwnames[] = { | |
10762 | (char *) "self",(char *) "id", NULL | |
10763 | }; | |
10764 | ||
5eb8189c RD |
10765 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10766 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10767 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10769 | } |
5eb8189c | 10770 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10771 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10772 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10773 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10774 | } |
10775 | arg2 = static_cast< int >(val2); | |
10776 | { | |
10777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10778 | result = (int)(arg1)->GetMetric(arg2); | |
10779 | wxPyEndAllowThreads(__tstate); | |
10780 | if (PyErr_Occurred()) SWIG_fail; | |
10781 | } | |
10782 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10783 | return resultobj; | |
10784 | fail: | |
10785 | return NULL; | |
10786 | } | |
10787 | ||
10788 | ||
5eb8189c | 10789 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10790 | PyObject *resultobj = 0; |
5eb8189c | 10791 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10792 | int arg2 ; |
10793 | int arg3 ; | |
10794 | void *argp1 = 0 ; | |
10795 | int res1 = 0 ; | |
10796 | int val2 ; | |
10797 | int ecode2 = 0 ; | |
10798 | int val3 ; | |
10799 | int ecode3 = 0 ; | |
10800 | PyObject * obj0 = 0 ; | |
10801 | PyObject * obj1 = 0 ; | |
10802 | PyObject * obj2 = 0 ; | |
10803 | char * kwnames[] = { | |
10804 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10805 | }; | |
10806 | ||
5eb8189c RD |
10807 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10808 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10809 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10810 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10811 | } |
5eb8189c | 10812 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10813 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10814 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10815 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10816 | } |
10817 | arg2 = static_cast< int >(val2); | |
10818 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10819 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10820 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10821 | } |
10822 | arg3 = static_cast< int >(val3); | |
10823 | { | |
10824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10825 | (arg1)->SetMetric(arg2,arg3); | |
10826 | wxPyEndAllowThreads(__tstate); | |
10827 | if (PyErr_Occurred()) SWIG_fail; | |
10828 | } | |
10829 | resultobj = SWIG_Py_Void(); | |
10830 | return resultobj; | |
10831 | fail: | |
10832 | return NULL; | |
10833 | } | |
10834 | ||
10835 | ||
5eb8189c | 10836 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10837 | PyObject *resultobj = 0; |
5eb8189c | 10838 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10839 | int arg2 ; |
10840 | wxFont *arg3 = 0 ; | |
10841 | void *argp1 = 0 ; | |
10842 | int res1 = 0 ; | |
10843 | int val2 ; | |
10844 | int ecode2 = 0 ; | |
10845 | void *argp3 = 0 ; | |
10846 | int res3 = 0 ; | |
10847 | PyObject * obj0 = 0 ; | |
10848 | PyObject * obj1 = 0 ; | |
10849 | PyObject * obj2 = 0 ; | |
10850 | char * kwnames[] = { | |
10851 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10852 | }; | |
10853 | ||
5eb8189c RD |
10854 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10855 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10856 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10858 | } |
5eb8189c | 10859 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10860 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10861 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10862 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10863 | } |
10864 | arg2 = static_cast< int >(val2); | |
10865 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10866 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10867 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10868 | } |
10869 | if (!argp3) { | |
5eb8189c | 10870 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10871 | } |
10872 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10873 | { | |
10874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10875 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10876 | wxPyEndAllowThreads(__tstate); | |
10877 | if (PyErr_Occurred()) SWIG_fail; | |
10878 | } | |
10879 | resultobj = SWIG_Py_Void(); | |
10880 | return resultobj; | |
10881 | fail: | |
10882 | return NULL; | |
10883 | } | |
10884 | ||
10885 | ||
5eb8189c | 10886 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10887 | PyObject *resultobj = 0; |
5eb8189c | 10888 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10889 | int arg2 ; |
10890 | wxFont result; | |
10891 | void *argp1 = 0 ; | |
10892 | int res1 = 0 ; | |
10893 | int val2 ; | |
10894 | int ecode2 = 0 ; | |
10895 | PyObject * obj0 = 0 ; | |
10896 | PyObject * obj1 = 0 ; | |
10897 | char * kwnames[] = { | |
10898 | (char *) "self",(char *) "id", NULL | |
10899 | }; | |
10900 | ||
5eb8189c RD |
10901 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10902 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10903 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10905 | } |
5eb8189c | 10906 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10907 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10908 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10909 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10910 | } |
10911 | arg2 = static_cast< int >(val2); | |
10912 | { | |
10913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10914 | result = (arg1)->GetFont(arg2); | |
10915 | wxPyEndAllowThreads(__tstate); | |
10916 | if (PyErr_Occurred()) SWIG_fail; | |
10917 | } | |
10918 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10919 | return resultobj; | |
10920 | fail: | |
10921 | return NULL; | |
10922 | } | |
10923 | ||
10924 | ||
5eb8189c | 10925 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10926 | PyObject *resultobj = 0; |
5eb8189c | 10927 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10928 | int arg2 ; |
10929 | wxColour result; | |
10930 | void *argp1 = 0 ; | |
10931 | int res1 = 0 ; | |
10932 | int val2 ; | |
10933 | int ecode2 = 0 ; | |
10934 | PyObject * obj0 = 0 ; | |
10935 | PyObject * obj1 = 0 ; | |
10936 | char * kwnames[] = { | |
10937 | (char *) "self",(char *) "id", NULL | |
10938 | }; | |
10939 | ||
5eb8189c RD |
10940 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10941 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10942 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10944 | } |
5eb8189c | 10945 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10946 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10947 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10948 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10949 | } |
10950 | arg2 = static_cast< int >(val2); | |
10951 | { | |
10952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10953 | result = (arg1)->GetColour(arg2); | |
10954 | wxPyEndAllowThreads(__tstate); | |
10955 | if (PyErr_Occurred()) SWIG_fail; | |
10956 | } | |
10957 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10958 | return resultobj; | |
10959 | fail: | |
10960 | return NULL; | |
10961 | } | |
10962 | ||
10963 | ||
5eb8189c | 10964 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10965 | PyObject *resultobj = 0; |
5eb8189c | 10966 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10967 | int arg2 ; |
59ccbf7f | 10968 | wxColour *arg3 = 0 ; |
27e45892 RD |
10969 | void *argp1 = 0 ; |
10970 | int res1 = 0 ; | |
10971 | int val2 ; | |
10972 | int ecode2 = 0 ; | |
59ccbf7f | 10973 | wxColour temp3 ; |
27e45892 RD |
10974 | PyObject * obj0 = 0 ; |
10975 | PyObject * obj1 = 0 ; | |
10976 | PyObject * obj2 = 0 ; | |
10977 | char * kwnames[] = { | |
10978 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10979 | }; | |
10980 | ||
5eb8189c RD |
10981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10982 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10983 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10984 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10985 | } |
5eb8189c | 10986 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10987 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10988 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10989 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10990 | } |
10991 | arg2 = static_cast< int >(val2); | |
59ccbf7f RD |
10992 | { |
10993 | arg3 = &temp3; | |
10994 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
27e45892 | 10995 | } |
27e45892 RD |
10996 | { |
10997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
59ccbf7f | 10998 | (arg1)->SetColour(arg2,(wxColour const &)*arg3); |
27e45892 RD |
10999 | wxPyEndAllowThreads(__tstate); |
11000 | if (PyErr_Occurred()) SWIG_fail; | |
11001 | } | |
11002 | resultobj = SWIG_Py_Void(); | |
11003 | return resultobj; | |
11004 | fail: | |
11005 | return NULL; | |
11006 | } | |
11007 | ||
11008 | ||
5eb8189c | 11009 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11010 | PyObject *resultobj = 0; |
5eb8189c | 11011 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11012 | int arg2 ; |
11013 | wxColour result; | |
11014 | void *argp1 = 0 ; | |
11015 | int res1 = 0 ; | |
11016 | int val2 ; | |
11017 | int ecode2 = 0 ; | |
11018 | PyObject * obj0 = 0 ; | |
11019 | PyObject * obj1 = 0 ; | |
11020 | char * kwnames[] = { | |
11021 | (char *) "self",(char *) "id", NULL | |
11022 | }; | |
11023 | ||
5eb8189c RD |
11024 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
11025 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11026 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11028 | } |
5eb8189c | 11029 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11030 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11031 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11032 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11033 | } |
11034 | arg2 = static_cast< int >(val2); | |
11035 | { | |
11036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11037 | result = (arg1)->GetColor(arg2); | |
11038 | wxPyEndAllowThreads(__tstate); | |
11039 | if (PyErr_Occurred()) SWIG_fail; | |
11040 | } | |
11041 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
11042 | return resultobj; | |
11043 | fail: | |
11044 | return NULL; | |
11045 | } | |
11046 | ||
11047 | ||
5eb8189c | 11048 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11049 | PyObject *resultobj = 0; |
5eb8189c | 11050 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11051 | int arg2 ; |
11052 | wxColour *arg3 = 0 ; | |
11053 | void *argp1 = 0 ; | |
11054 | int res1 = 0 ; | |
11055 | int val2 ; | |
11056 | int ecode2 = 0 ; | |
11057 | wxColour temp3 ; | |
11058 | PyObject * obj0 = 0 ; | |
11059 | PyObject * obj1 = 0 ; | |
11060 | PyObject * obj2 = 0 ; | |
11061 | char * kwnames[] = { | |
11062 | (char *) "self",(char *) "id",(char *) "color", NULL | |
11063 | }; | |
11064 | ||
5eb8189c RD |
11065 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11066 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11067 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11069 | } |
5eb8189c | 11070 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11071 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11072 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11073 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11074 | } |
11075 | arg2 = static_cast< int >(val2); | |
11076 | { | |
11077 | arg3 = &temp3; | |
11078 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11079 | } | |
11080 | { | |
11081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11082 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
11083 | wxPyEndAllowThreads(__tstate); | |
11084 | if (PyErr_Occurred()) SWIG_fail; | |
11085 | } | |
11086 | resultobj = SWIG_Py_Void(); | |
11087 | return resultobj; | |
11088 | fail: | |
11089 | return NULL; | |
11090 | } | |
11091 | ||
11092 | ||
5eb8189c | 11093 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11094 | PyObject *resultobj = 0; |
5eb8189c | 11095 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11096 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11097 | wxWindow *arg3 = (wxWindow *) 0 ; |
11098 | int arg4 ; | |
11099 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11100 | void *argp1 = 0 ; |
11101 | int res1 = 0 ; | |
11102 | void *argp2 = 0 ; | |
11103 | int res2 = 0 ; | |
97ab0f6a RD |
11104 | void *argp3 = 0 ; |
11105 | int res3 = 0 ; | |
11106 | int val4 ; | |
11107 | int ecode4 = 0 ; | |
11108 | wxRect temp5 ; | |
27e45892 RD |
11109 | PyObject * obj0 = 0 ; |
11110 | PyObject * obj1 = 0 ; | |
11111 | PyObject * obj2 = 0 ; | |
11112 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11113 | PyObject * obj4 = 0 ; |
27e45892 | 11114 | char * kwnames[] = { |
97ab0f6a | 11115 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11116 | }; |
11117 | ||
5eb8189c RD |
11118 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11119 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11120 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11121 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11122 | } |
5eb8189c | 11123 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11124 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11125 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11126 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11127 | } |
11128 | if (!argp2) { | |
5eb8189c | 11129 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11130 | } |
11131 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11132 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11133 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11134 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11135 | } |
11136 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11137 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11138 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11139 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11140 | } |
97ab0f6a | 11141 | arg4 = static_cast< int >(val4); |
27e45892 | 11142 | { |
97ab0f6a RD |
11143 | arg5 = &temp5; |
11144 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11145 | } |
11146 | { | |
11147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11148 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11149 | wxPyEndAllowThreads(__tstate); |
11150 | if (PyErr_Occurred()) SWIG_fail; | |
11151 | } | |
11152 | resultobj = SWIG_Py_Void(); | |
11153 | return resultobj; | |
11154 | fail: | |
11155 | return NULL; | |
11156 | } | |
11157 | ||
11158 | ||
5eb8189c | 11159 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11160 | PyObject *resultobj = 0; |
5eb8189c | 11161 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11162 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11163 | wxWindow *arg3 = (wxWindow *) 0 ; |
11164 | int arg4 ; | |
11165 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11166 | void *argp1 = 0 ; |
11167 | int res1 = 0 ; | |
11168 | void *argp2 = 0 ; | |
11169 | int res2 = 0 ; | |
97ab0f6a RD |
11170 | void *argp3 = 0 ; |
11171 | int res3 = 0 ; | |
11172 | int val4 ; | |
11173 | int ecode4 = 0 ; | |
11174 | wxRect temp5 ; | |
27e45892 RD |
11175 | PyObject * obj0 = 0 ; |
11176 | PyObject * obj1 = 0 ; | |
11177 | PyObject * obj2 = 0 ; | |
11178 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11179 | PyObject * obj4 = 0 ; |
27e45892 | 11180 | char * kwnames[] = { |
97ab0f6a | 11181 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11182 | }; |
11183 | ||
5eb8189c RD |
11184 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11185 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11186 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11188 | } |
5eb8189c | 11189 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11190 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11191 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11192 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11193 | } |
11194 | if (!argp2) { | |
5eb8189c | 11195 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11196 | } |
11197 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11198 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11199 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11200 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11201 | } |
11202 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11203 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11204 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11205 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11206 | } |
97ab0f6a | 11207 | arg4 = static_cast< int >(val4); |
27e45892 | 11208 | { |
97ab0f6a RD |
11209 | arg5 = &temp5; |
11210 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11211 | } |
11212 | { | |
11213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11214 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11215 | wxPyEndAllowThreads(__tstate); |
11216 | if (PyErr_Occurred()) SWIG_fail; | |
11217 | } | |
11218 | resultobj = SWIG_Py_Void(); | |
11219 | return resultobj; | |
11220 | fail: | |
11221 | return NULL; | |
11222 | } | |
11223 | ||
11224 | ||
5eb8189c | 11225 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11226 | PyObject *resultobj = 0; |
5eb8189c | 11227 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11228 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11229 | wxWindow *arg3 = (wxWindow *) 0 ; |
11230 | wxString *arg4 = 0 ; | |
11231 | wxRect *arg5 = 0 ; | |
5eb8189c | 11232 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
11233 | void *argp1 = 0 ; |
11234 | int res1 = 0 ; | |
11235 | void *argp2 = 0 ; | |
11236 | int res2 = 0 ; | |
97ab0f6a RD |
11237 | void *argp3 = 0 ; |
11238 | int res3 = 0 ; | |
11239 | bool temp4 = false ; | |
11240 | wxRect temp5 ; | |
11241 | void *argp6 = 0 ; | |
11242 | int res6 = 0 ; | |
27e45892 RD |
11243 | PyObject * obj0 = 0 ; |
11244 | PyObject * obj1 = 0 ; | |
11245 | PyObject * obj2 = 0 ; | |
11246 | PyObject * obj3 = 0 ; | |
11247 | PyObject * obj4 = 0 ; | |
97ab0f6a | 11248 | PyObject * obj5 = 0 ; |
27e45892 | 11249 | char * kwnames[] = { |
97ab0f6a | 11250 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11251 | }; |
11252 | ||
5eb8189c RD |
11253 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11254 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11255 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11257 | } |
5eb8189c | 11258 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11259 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11260 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11261 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11262 | } |
11263 | if (!argp2) { | |
5eb8189c | 11264 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11265 | } |
11266 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11267 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11268 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11269 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11270 | } |
11271 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11272 | { |
97ab0f6a RD |
11273 | arg4 = wxString_in_helper(obj3); |
11274 | if (arg4 == NULL) SWIG_fail; | |
11275 | temp4 = true; | |
27e45892 RD |
11276 | } |
11277 | { | |
97ab0f6a RD |
11278 | arg5 = &temp5; |
11279 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11280 | } |
5eb8189c | 11281 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11282 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11283 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11284 | } |
97ab0f6a | 11285 | if (!argp6) { |
5eb8189c | 11286 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11287 | } |
5eb8189c | 11288 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11289 | { |
11290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11291 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11292 | wxPyEndAllowThreads(__tstate); |
11293 | if (PyErr_Occurred()) SWIG_fail; | |
11294 | } | |
11295 | resultobj = SWIG_Py_Void(); | |
11296 | { | |
97ab0f6a RD |
11297 | if (temp4) |
11298 | delete arg4; | |
27e45892 RD |
11299 | } |
11300 | return resultobj; | |
11301 | fail: | |
11302 | { | |
97ab0f6a RD |
11303 | if (temp4) |
11304 | delete arg4; | |
27e45892 RD |
11305 | } |
11306 | return NULL; | |
11307 | } | |
11308 | ||
11309 | ||
5eb8189c | 11310 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11311 | PyObject *resultobj = 0; |
5eb8189c | 11312 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11313 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11314 | wxWindow *arg3 = (wxWindow *) 0 ; |
11315 | wxRect *arg4 = 0 ; | |
5eb8189c | 11316 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11317 | void *argp1 = 0 ; |
11318 | int res1 = 0 ; | |
11319 | void *argp2 = 0 ; | |
11320 | int res2 = 0 ; | |
97ab0f6a RD |
11321 | void *argp3 = 0 ; |
11322 | int res3 = 0 ; | |
11323 | wxRect temp4 ; | |
11324 | void *argp5 = 0 ; | |
11325 | int res5 = 0 ; | |
27e45892 RD |
11326 | PyObject * obj0 = 0 ; |
11327 | PyObject * obj1 = 0 ; | |
11328 | PyObject * obj2 = 0 ; | |
11329 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11330 | PyObject * obj4 = 0 ; |
27e45892 | 11331 | char * kwnames[] = { |
97ab0f6a | 11332 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11333 | }; |
11334 | ||
5eb8189c RD |
11335 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11336 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11337 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11338 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11339 | } |
5eb8189c | 11340 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11341 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11342 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11343 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11344 | } |
11345 | if (!argp2) { | |
5eb8189c | 11346 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11347 | } |
11348 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11349 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11350 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11351 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11352 | } |
11353 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11354 | { |
97ab0f6a RD |
11355 | arg4 = &temp4; |
11356 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11357 | } |
5eb8189c | 11358 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11359 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11360 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11361 | } |
97ab0f6a | 11362 | if (!argp5) { |
5eb8189c | 11363 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11364 | } |
5eb8189c | 11365 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11366 | { |
11367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11368 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11369 | wxPyEndAllowThreads(__tstate); |
11370 | if (PyErr_Occurred()) SWIG_fail; | |
11371 | } | |
11372 | resultobj = SWIG_Py_Void(); | |
11373 | return resultobj; | |
11374 | fail: | |
11375 | return NULL; | |
11376 | } | |
11377 | ||
11378 | ||
5eb8189c | 11379 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11380 | PyObject *resultobj = 0; |
5eb8189c | 11381 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11382 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11383 | wxWindow *arg3 = (wxWindow *) 0 ; |
11384 | wxRect *arg4 = 0 ; | |
5eb8189c | 11385 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11386 | void *argp1 = 0 ; |
11387 | int res1 = 0 ; | |
11388 | void *argp2 = 0 ; | |
11389 | int res2 = 0 ; | |
97ab0f6a RD |
11390 | void *argp3 = 0 ; |
11391 | int res3 = 0 ; | |
11392 | wxRect temp4 ; | |
11393 | void *argp5 = 0 ; | |
11394 | int res5 = 0 ; | |
27e45892 RD |
11395 | PyObject * obj0 = 0 ; |
11396 | PyObject * obj1 = 0 ; | |
11397 | PyObject * obj2 = 0 ; | |
11398 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11399 | PyObject * obj4 = 0 ; |
27e45892 | 11400 | char * kwnames[] = { |
97ab0f6a | 11401 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11402 | }; |
11403 | ||
5eb8189c RD |
11404 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11405 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11406 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11408 | } |
5eb8189c | 11409 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11410 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11411 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11412 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11413 | } |
11414 | if (!argp2) { | |
5eb8189c | 11415 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11416 | } |
11417 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11418 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11419 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11420 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11421 | } |
11422 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11423 | { |
97ab0f6a RD |
11424 | arg4 = &temp4; |
11425 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11426 | } |
5eb8189c | 11427 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11428 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11429 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11430 | } |
97ab0f6a | 11431 | if (!argp5) { |
5eb8189c | 11432 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11433 | } |
5eb8189c | 11434 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11435 | { |
11436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11437 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11438 | wxPyEndAllowThreads(__tstate); |
11439 | if (PyErr_Occurred()) SWIG_fail; | |
11440 | } | |
11441 | resultobj = SWIG_Py_Void(); | |
11442 | return resultobj; | |
11443 | fail: | |
11444 | return NULL; | |
11445 | } | |
11446 | ||
11447 | ||
5eb8189c | 11448 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11449 | PyObject *resultobj = 0; |
5eb8189c | 11450 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11451 | wxDC *arg2 = 0 ; |
97ab0f6a | 11452 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11453 | int arg4 ; |
97ab0f6a RD |
11454 | int arg5 ; |
11455 | wxRect *arg6 = 0 ; | |
5eb8189c | 11456 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11457 | void *argp1 = 0 ; |
11458 | int res1 = 0 ; | |
11459 | void *argp2 = 0 ; | |
11460 | int res2 = 0 ; | |
97ab0f6a RD |
11461 | void *argp3 = 0 ; |
11462 | int res3 = 0 ; | |
27e45892 RD |
11463 | int val4 ; |
11464 | int ecode4 = 0 ; | |
97ab0f6a RD |
11465 | int val5 ; |
11466 | int ecode5 = 0 ; | |
11467 | wxRect temp6 ; | |
11468 | void *argp7 = 0 ; | |
11469 | int res7 = 0 ; | |
27e45892 RD |
11470 | PyObject * obj0 = 0 ; |
11471 | PyObject * obj1 = 0 ; | |
11472 | PyObject * obj2 = 0 ; | |
11473 | PyObject * obj3 = 0 ; | |
11474 | PyObject * obj4 = 0 ; | |
11475 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11476 | PyObject * obj6 = 0 ; |
27e45892 | 11477 | char * kwnames[] = { |
97ab0f6a | 11478 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11479 | }; |
11480 | ||
5eb8189c RD |
11481 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11482 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11483 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11484 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11485 | } |
5eb8189c | 11486 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11487 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11488 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11489 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11490 | } |
11491 | if (!argp2) { | |
5eb8189c | 11492 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11493 | } |
11494 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11495 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11496 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11497 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11498 | } |
11499 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11500 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11501 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11502 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11503 | } |
11504 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11505 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11506 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11507 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11508 | } |
11509 | arg5 = static_cast< int >(val5); | |
27e45892 | 11510 | { |
97ab0f6a RD |
11511 | arg6 = &temp6; |
11512 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11513 | } |
5eb8189c | 11514 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11515 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11516 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11517 | } |
97ab0f6a | 11518 | if (!argp7) { |
5eb8189c | 11519 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11520 | } |
5eb8189c | 11521 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11522 | { |
11523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11524 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11525 | wxPyEndAllowThreads(__tstate); |
11526 | if (PyErr_Occurred()) SWIG_fail; | |
11527 | } | |
11528 | resultobj = SWIG_Py_Void(); | |
11529 | return resultobj; | |
11530 | fail: | |
11531 | return NULL; | |
11532 | } | |
11533 | ||
11534 | ||
5eb8189c | 11535 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11536 | PyObject *obj; |
11537 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11538 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11539 | return SWIG_Py_Void(); |
11540 | } | |
11541 | ||
5eb8189c | 11542 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11543 | PyObject *resultobj = 0; |
5eb8189c | 11544 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11545 | |
5eb8189c | 11546 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11547 | { |
11548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11549 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11550 | wxPyEndAllowThreads(__tstate); |
11551 | if (PyErr_Occurred()) SWIG_fail; | |
11552 | } | |
5eb8189c | 11553 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11554 | return resultobj; |
11555 | fail: | |
11556 | return NULL; | |
11557 | } | |
11558 | ||
11559 | ||
5eb8189c | 11560 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11561 | PyObject *obj; |
11562 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11563 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11564 | return SWIG_Py_Void(); |
11565 | } | |
11566 | ||
5eb8189c | 11567 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11568 | return SWIG_Python_InitShadowInstance(args); |
11569 | } | |
11570 | ||
5eb8189c | 11571 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11572 | PyObject *resultobj = 0; |
11573 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11574 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11575 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11576 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11577 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11578 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11579 | void *argp1 = 0 ; |
11580 | int res1 = 0 ; | |
11581 | void *argp2 = 0 ; | |
11582 | int res2 = 0 ; | |
11583 | void *argp3 = 0 ; | |
11584 | int res3 = 0 ; | |
11585 | int val4 ; | |
11586 | int ecode4 = 0 ; | |
9b940138 RD |
11587 | long val5 ; |
11588 | int ecode5 = 0 ; | |
27e45892 RD |
11589 | PyObject * obj0 = 0 ; |
11590 | PyObject * obj1 = 0 ; | |
11591 | PyObject * obj2 = 0 ; | |
11592 | PyObject * obj3 = 0 ; | |
9b940138 | 11593 | PyObject * obj4 = 0 ; |
27e45892 | 11594 | char * kwnames[] = { |
9b940138 | 11595 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11596 | }; |
11597 | ||
5eb8189c | 11598 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11599 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11600 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11602 | } |
11603 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11604 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11605 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11606 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11607 | } |
5eb8189c RD |
11608 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11609 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11610 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11611 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11612 | } |
11613 | if (!argp3) { | |
5eb8189c | 11614 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11615 | } |
5eb8189c | 11616 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11617 | if (obj3) { |
11618 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11619 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11620 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11621 | } |
11622 | arg4 = static_cast< int >(val4); | |
11623 | } | |
9b940138 RD |
11624 | if (obj4) { |
11625 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11626 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11627 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11628 | } |
11629 | arg5 = static_cast< long >(val5); | |
11630 | } | |
27e45892 RD |
11631 | { |
11632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11633 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11634 | wxPyEndAllowThreads(__tstate); |
11635 | if (PyErr_Occurred()) SWIG_fail; | |
11636 | } | |
5eb8189c | 11637 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11638 | return resultobj; |
11639 | fail: | |
11640 | return NULL; | |
11641 | } | |
11642 | ||
11643 | ||
5eb8189c | 11644 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11645 | PyObject *resultobj = 0; |
5eb8189c | 11646 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11647 | void *argp1 = 0 ; |
11648 | int res1 = 0 ; | |
11649 | PyObject *swig_obj[1] ; | |
11650 | ||
11651 | if (!args) SWIG_fail; | |
11652 | swig_obj[0] = args; | |
5eb8189c | 11653 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11654 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11656 | } |
5eb8189c | 11657 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11658 | { |
11659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11660 | delete arg1; | |
11661 | ||
11662 | wxPyEndAllowThreads(__tstate); | |
11663 | if (PyErr_Occurred()) SWIG_fail; | |
11664 | } | |
11665 | resultobj = SWIG_Py_Void(); | |
11666 | return resultobj; | |
11667 | fail: | |
11668 | return NULL; | |
11669 | } | |
11670 | ||
11671 | ||
5eb8189c | 11672 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11673 | PyObject *resultobj = 0; |
5eb8189c RD |
11674 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11675 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11676 | void *argp1 = 0 ; |
11677 | int res1 = 0 ; | |
11678 | void *argp2 = 0 ; | |
11679 | int res2 = 0 ; | |
11680 | PyObject * obj0 = 0 ; | |
11681 | PyObject * obj1 = 0 ; | |
11682 | char * kwnames[] = { | |
11683 | (char *) "self",(char *) "pane", NULL | |
11684 | }; | |
11685 | ||
5eb8189c RD |
11686 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11687 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11688 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11689 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11690 | } |
5eb8189c RD |
11691 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11692 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11693 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11694 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11695 | } |
11696 | if (!argp2) { | |
5eb8189c | 11697 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11698 | } |
5eb8189c | 11699 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11700 | { |
11701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11702 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11703 | wxPyEndAllowThreads(__tstate); |
11704 | if (PyErr_Occurred()) SWIG_fail; | |
11705 | } | |
11706 | resultobj = SWIG_Py_Void(); | |
11707 | return resultobj; | |
11708 | fail: | |
11709 | return NULL; | |
11710 | } | |
11711 | ||
11712 | ||
eccab1a7 RD |
11713 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11714 | PyObject *resultobj = 0; | |
11715 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; | |
11716 | wxAuiManager *result = 0 ; | |
11717 | void *argp1 = 0 ; | |
11718 | int res1 = 0 ; | |
11719 | PyObject *swig_obj[1] ; | |
11720 | ||
11721 | if (!args) SWIG_fail; | |
11722 | swig_obj[0] = args; | |
11723 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
11724 | if (!SWIG_IsOK(res1)) { | |
11725 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'"); | |
11726 | } | |
11727 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); | |
11728 | { | |
11729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11730 | result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager(); | |
11731 | wxPyEndAllowThreads(__tstate); | |
11732 | if (PyErr_Occurred()) SWIG_fail; | |
11733 | } | |
11734 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
11735 | return resultobj; | |
11736 | fail: | |
11737 | return NULL; | |
11738 | } | |
11739 | ||
11740 | ||
5eb8189c | 11741 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11742 | PyObject *obj; |
11743 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11744 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11745 | return SWIG_Py_Void(); |
11746 | } | |
11747 | ||
5eb8189c | 11748 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11749 | return SWIG_Python_InitShadowInstance(args); |
11750 | } | |
11751 | ||
5172800e | 11752 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11753 | PyObject *resultobj = 0; |
5172800e RD |
11754 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11755 | int arg2 = (int) 0 ; | |
11756 | wxAuiNotebookEvent *result = 0 ; | |
11757 | int val1 ; | |
11758 | int ecode1 = 0 ; | |
11759 | int val2 ; | |
11760 | int ecode2 = 0 ; | |
11761 | PyObject * obj0 = 0 ; | |
11762 | PyObject * obj1 = 0 ; | |
11763 | char * kwnames[] = { | |
11764 | (char *) "command_type",(char *) "win_id", NULL | |
11765 | }; | |
5c8c7dd3 | 11766 | |
5172800e RD |
11767 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11768 | if (obj0) { | |
11769 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11770 | if (!SWIG_IsOK(ecode1)) { | |
11771 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11772 | } | |
11773 | arg1 = static_cast< wxEventType >(val1); | |
11774 | } | |
11775 | if (obj1) { | |
11776 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11777 | if (!SWIG_IsOK(ecode2)) { | |
11778 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11779 | } | |
11780 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11781 | } |
5c8c7dd3 RD |
11782 | { |
11783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11784 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11785 | wxPyEndAllowThreads(__tstate); |
11786 | if (PyErr_Occurred()) SWIG_fail; | |
11787 | } | |
5172800e | 11788 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11789 | return resultobj; |
11790 | fail: | |
11791 | return NULL; | |
11792 | } | |
11793 | ||
11794 | ||
5172800e | 11795 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11796 | PyObject *resultobj = 0; |
5172800e RD |
11797 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11798 | int arg2 ; | |
8f514ab4 RD |
11799 | void *argp1 = 0 ; |
11800 | int res1 = 0 ; | |
5172800e RD |
11801 | int val2 ; |
11802 | int ecode2 = 0 ; | |
8f514ab4 RD |
11803 | PyObject * obj0 = 0 ; |
11804 | PyObject * obj1 = 0 ; | |
11805 | char * kwnames[] = { | |
5172800e | 11806 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11807 | }; |
11808 | ||
5172800e RD |
11809 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11810 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11811 | if (!SWIG_IsOK(res1)) { |
5172800e | 11812 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11813 | } |
5172800e RD |
11814 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11815 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11816 | if (!SWIG_IsOK(ecode2)) { | |
11817 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11818 | } | |
11819 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11820 | { |
11821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11822 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11823 | wxPyEndAllowThreads(__tstate); |
11824 | if (PyErr_Occurred()) SWIG_fail; | |
11825 | } | |
11826 | resultobj = SWIG_Py_Void(); | |
11827 | return resultobj; | |
11828 | fail: | |
11829 | return NULL; | |
11830 | } | |
11831 | ||
11832 | ||
5172800e | 11833 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11834 | PyObject *resultobj = 0; |
5172800e RD |
11835 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11836 | int result; | |
8f514ab4 RD |
11837 | void *argp1 = 0 ; |
11838 | int res1 = 0 ; | |
5172800e | 11839 | PyObject *swig_obj[1] ; |
8f514ab4 | 11840 | |
5172800e RD |
11841 | if (!args) SWIG_fail; |
11842 | swig_obj[0] = args; | |
11843 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11844 | if (!SWIG_IsOK(res1)) { |
5172800e | 11845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11846 | } |
5172800e | 11847 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11848 | { |
11849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11850 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11851 | wxPyEndAllowThreads(__tstate); |
11852 | if (PyErr_Occurred()) SWIG_fail; | |
11853 | } | |
5172800e | 11854 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11855 | return resultobj; |
11856 | fail: | |
11857 | return NULL; | |
11858 | } | |
11859 | ||
11860 | ||
5172800e | 11861 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11862 | PyObject *resultobj = 0; |
5172800e RD |
11863 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11864 | int arg2 ; | |
8f514ab4 RD |
11865 | void *argp1 = 0 ; |
11866 | int res1 = 0 ; | |
5172800e RD |
11867 | int val2 ; |
11868 | int ecode2 = 0 ; | |
8f514ab4 RD |
11869 | PyObject * obj0 = 0 ; |
11870 | PyObject * obj1 = 0 ; | |
11871 | char * kwnames[] = { | |
5172800e | 11872 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11873 | }; |
11874 | ||
5172800e RD |
11875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11877 | if (!SWIG_IsOK(res1)) { |
5172800e | 11878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11879 | } |
5172800e RD |
11880 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11881 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11882 | if (!SWIG_IsOK(ecode2)) { | |
11883 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11884 | } | |
11885 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11886 | { |
11887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11888 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11889 | wxPyEndAllowThreads(__tstate); |
11890 | if (PyErr_Occurred()) SWIG_fail; | |
11891 | } | |
11892 | resultobj = SWIG_Py_Void(); | |
11893 | return resultobj; | |
11894 | fail: | |
11895 | return NULL; | |
11896 | } | |
11897 | ||
11898 | ||
5172800e | 11899 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11900 | PyObject *resultobj = 0; |
5172800e RD |
11901 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11902 | int result; | |
5c8c7dd3 RD |
11903 | void *argp1 = 0 ; |
11904 | int res1 = 0 ; | |
5172800e | 11905 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11906 | |
5172800e RD |
11907 | if (!args) SWIG_fail; |
11908 | swig_obj[0] = args; | |
11909 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11910 | if (!SWIG_IsOK(res1)) { |
5172800e | 11911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11912 | } |
5172800e | 11913 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11914 | { |
11915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11916 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11917 | wxPyEndAllowThreads(__tstate); |
11918 | if (PyErr_Occurred()) SWIG_fail; | |
11919 | } | |
5172800e | 11920 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11921 | return resultobj; |
11922 | fail: | |
11923 | return NULL; | |
11924 | } | |
11925 | ||
11926 | ||
5172800e | 11927 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11928 | PyObject *resultobj = 0; |
5172800e RD |
11929 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11930 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11931 | void *argp1 = 0 ; |
11932 | int res1 = 0 ; | |
11933 | void *argp2 = 0 ; | |
11934 | int res2 = 0 ; | |
5c8c7dd3 RD |
11935 | PyObject * obj0 = 0 ; |
11936 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11937 | char * kwnames[] = { |
5172800e | 11938 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11939 | }; |
11940 | ||
5172800e RD |
11941 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11942 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11943 | if (!SWIG_IsOK(res1)) { |
5172800e | 11944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11945 | } |
5172800e RD |
11946 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11947 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11948 | if (!SWIG_IsOK(res2)) { |
5172800e | 11949 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11950 | } |
5172800e | 11951 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11952 | { |
11953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11954 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11955 | wxPyEndAllowThreads(__tstate); |
11956 | if (PyErr_Occurred()) SWIG_fail; | |
11957 | } | |
11958 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11959 | return resultobj; |
11960 | fail: | |
5c8c7dd3 RD |
11961 | return NULL; |
11962 | } | |
11963 | ||
11964 | ||
5172800e | 11965 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11966 | PyObject *resultobj = 0; |
5172800e RD |
11967 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11968 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11969 | void *argp1 = 0 ; |
11970 | int res1 = 0 ; | |
5172800e | 11971 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11972 | |
5172800e RD |
11973 | if (!args) SWIG_fail; |
11974 | swig_obj[0] = args; | |
11975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11976 | if (!SWIG_IsOK(res1)) { |
5172800e | 11977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11978 | } |
5172800e | 11979 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11980 | { |
11981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11982 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
11983 | wxPyEndAllowThreads(__tstate); |
11984 | if (PyErr_Occurred()) SWIG_fail; | |
11985 | } | |
5172800e | 11986 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
11987 | return resultobj; |
11988 | fail: | |
11989 | return NULL; | |
11990 | } | |
11991 | ||
11992 | ||
5172800e | 11993 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11994 | PyObject *resultobj = 0; |
5172800e RD |
11995 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11996 | int arg2 ; | |
5c8c7dd3 RD |
11997 | void *argp1 = 0 ; |
11998 | int res1 = 0 ; | |
5172800e RD |
11999 | int val2 ; |
12000 | int ecode2 = 0 ; | |
12001 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12002 | |
5172800e RD |
12003 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
12004 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12005 | if (!SWIG_IsOK(res1)) { |
5172800e | 12006 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12007 | } |
5172800e RD |
12008 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12009 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12010 | if (!SWIG_IsOK(ecode2)) { | |
12011 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 12012 | } |
5172800e RD |
12013 | arg2 = static_cast< int >(val2); |
12014 | if (arg1) (arg1)->old_selection = arg2; | |
12015 | ||
12016 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12017 | return resultobj; |
12018 | fail: | |
12019 | return NULL; | |
12020 | } | |
12021 | ||
12022 | ||
5172800e | 12023 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12024 | PyObject *resultobj = 0; |
5172800e | 12025 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
12026 | int result; |
12027 | void *argp1 = 0 ; | |
12028 | int res1 = 0 ; | |
5172800e | 12029 | PyObject *swig_obj[1] ; |
d95b9f2b | 12030 | |
5172800e RD |
12031 | if (!args) SWIG_fail; |
12032 | swig_obj[0] = args; | |
12033 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 12034 | if (!SWIG_IsOK(res1)) { |
5172800e | 12035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 12036 | } |
5172800e RD |
12037 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12038 | result = (int) ((arg1)->old_selection); | |
12039 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12040 | return resultobj; | |
12041 | fail: | |
12042 | return NULL; | |
12043 | } | |
12044 | ||
12045 | ||
12046 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12047 | PyObject *resultobj = 0; | |
12048 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12049 | int arg2 ; | |
12050 | void *argp1 = 0 ; | |
12051 | int res1 = 0 ; | |
12052 | int val2 ; | |
12053 | int ecode2 = 0 ; | |
12054 | PyObject *swig_obj[2] ; | |
12055 | ||
12056 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12057 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12058 | if (!SWIG_IsOK(res1)) { | |
12059 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12060 | } |
5172800e RD |
12061 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12062 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12063 | if (!SWIG_IsOK(ecode2)) { | |
12064 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 12065 | } |
5172800e RD |
12066 | arg2 = static_cast< int >(val2); |
12067 | if (arg1) (arg1)->selection = arg2; | |
12068 | ||
12069 | resultobj = SWIG_Py_Void(); | |
12070 | return resultobj; | |
12071 | fail: | |
12072 | return NULL; | |
12073 | } | |
12074 | ||
12075 | ||
12076 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12077 | PyObject *resultobj = 0; | |
12078 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12079 | int result; | |
12080 | void *argp1 = 0 ; | |
12081 | int res1 = 0 ; | |
12082 | PyObject *swig_obj[1] ; | |
12083 | ||
12084 | if (!args) SWIG_fail; | |
12085 | swig_obj[0] = args; | |
12086 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12087 | if (!SWIG_IsOK(res1)) { | |
12088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12089 | } |
5172800e RD |
12090 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12091 | result = (int) ((arg1)->selection); | |
d95b9f2b | 12092 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
12093 | return resultobj; |
12094 | fail: | |
d95b9f2b RD |
12095 | return NULL; |
12096 | } | |
12097 | ||
12098 | ||
5172800e | 12099 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12100 | PyObject *resultobj = 0; |
5172800e RD |
12101 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12102 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
12103 | void *argp1 = 0 ; |
12104 | int res1 = 0 ; | |
12105 | void *argp2 = 0 ; | |
12106 | int res2 = 0 ; | |
5172800e | 12107 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 12108 | |
5172800e RD |
12109 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
12110 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12111 | if (!SWIG_IsOK(res1)) { |
5172800e | 12112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12113 | } |
5172800e RD |
12114 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12115 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 12116 | if (!SWIG_IsOK(res2)) { |
5172800e | 12117 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 12118 | } |
5172800e RD |
12119 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
12120 | if (arg1) (arg1)->drag_source = arg2; | |
12121 | ||
12122 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12123 | return resultobj; |
12124 | fail: | |
12125 | return NULL; | |
12126 | } | |
12127 | ||
12128 | ||
5172800e | 12129 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12130 | PyObject *resultobj = 0; |
5172800e RD |
12131 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12132 | wxAuiNotebook *result = 0 ; | |
12133 | void *argp1 = 0 ; | |
12134 | int res1 = 0 ; | |
12135 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 12136 | |
5172800e RD |
12137 | if (!args) SWIG_fail; |
12138 | swig_obj[0] = args; | |
12139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12140 | if (!SWIG_IsOK(res1)) { | |
12141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 12142 | } |
5172800e RD |
12143 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12144 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12145 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
12146 | return resultobj; |
12147 | fail: | |
12148 | return NULL; | |
12149 | } | |
12150 | ||
12151 | ||
5172800e RD |
12152 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12153 | PyObject *obj; | |
12154 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12155 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12156 | return SWIG_Py_Void(); | |
12157 | } | |
12158 | ||
12159 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12160 | return SWIG_Python_InitShadowInstance(args); | |
12161 | } | |
12162 | ||
12163 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 12164 | PyObject *resultobj = 0; |
5172800e RD |
12165 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12166 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
12167 | void *argp1 = 0 ; |
12168 | int res1 = 0 ; | |
5172800e RD |
12169 | void *argp2 = 0 ; |
12170 | int res2 = 0 ; | |
12171 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12172 | |
5172800e RD |
12173 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
12174 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 12175 | if (!SWIG_IsOK(res1)) { |
5172800e | 12176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 12177 | } |
5172800e RD |
12178 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12179 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12180 | if (!SWIG_IsOK(res2)) { | |
12181 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 12182 | } |
5172800e RD |
12183 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12184 | if (arg1) (arg1)->window = arg2; | |
12185 | ||
5c8c7dd3 RD |
12186 | resultobj = SWIG_Py_Void(); |
12187 | return resultobj; | |
12188 | fail: | |
12189 | return NULL; | |
12190 | } | |
12191 | ||
12192 | ||
5172800e | 12193 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12194 | PyObject *resultobj = 0; |
5172800e RD |
12195 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12196 | wxWindow *result = 0 ; | |
12197 | void *argp1 = 0 ; | |
12198 | int res1 = 0 ; | |
12199 | PyObject *swig_obj[1] ; | |
10044bf1 | 12200 | |
5172800e RD |
12201 | if (!args) SWIG_fail; |
12202 | swig_obj[0] = args; | |
12203 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12204 | if (!SWIG_IsOK(res1)) { | |
12205 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10044bf1 | 12206 | } |
5172800e RD |
12207 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12208 | result = (wxWindow *) ((arg1)->window); | |
10044bf1 | 12209 | { |
5172800e | 12210 | resultobj = wxPyMake_wxObject(result, 0); |
10044bf1 | 12211 | } |
10044bf1 RD |
12212 | return resultobj; |
12213 | fail: | |
12214 | return NULL; | |
27e45892 RD |
12215 | } |
12216 | ||
10044bf1 | 12217 | |
5172800e | 12218 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12219 | PyObject *resultobj = 0; |
5172800e RD |
12220 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12221 | wxString *arg2 = (wxString *) 0 ; | |
10044bf1 RD |
12222 | void *argp1 = 0 ; |
12223 | int res1 = 0 ; | |
5172800e RD |
12224 | bool temp2 = false ; |
12225 | PyObject *swig_obj[2] ; | |
10044bf1 | 12226 | |
5172800e RD |
12227 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
12228 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12229 | if (!SWIG_IsOK(res1)) { |
5172800e | 12230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12231 | } |
5172800e | 12232 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
10044bf1 | 12233 | { |
5172800e RD |
12234 | arg2 = wxString_in_helper(swig_obj[1]); |
12235 | if (arg2 == NULL) SWIG_fail; | |
12236 | temp2 = true; | |
10044bf1 | 12237 | } |
5172800e RD |
12238 | if (arg1) (arg1)->caption = *arg2; |
12239 | ||
10044bf1 | 12240 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12241 | { |
12242 | if (temp2) | |
12243 | delete arg2; | |
12244 | } | |
10044bf1 RD |
12245 | return resultobj; |
12246 | fail: | |
5172800e RD |
12247 | { |
12248 | if (temp2) | |
12249 | delete arg2; | |
12250 | } | |
10044bf1 RD |
12251 | return NULL; |
12252 | } | |
12253 | ||
12254 | ||
5172800e | 12255 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12256 | PyObject *resultobj = 0; |
5172800e RD |
12257 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12258 | wxString *result = 0 ; | |
d95b9f2b RD |
12259 | void *argp1 = 0 ; |
12260 | int res1 = 0 ; | |
12261 | PyObject *swig_obj[1] ; | |
12262 | ||
12263 | if (!args) SWIG_fail; | |
12264 | swig_obj[0] = args; | |
5172800e | 12265 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 12266 | if (!SWIG_IsOK(res1)) { |
5172800e | 12267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12268 | } |
5172800e RD |
12269 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12270 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 12271 | { |
5172800e RD |
12272 | #if wxUSE_UNICODE |
12273 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12274 | #else | |
12275 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12276 | #endif | |
d95b9f2b | 12277 | } |
d95b9f2b RD |
12278 | return resultobj; |
12279 | fail: | |
12280 | return NULL; | |
12281 | } | |
12282 | ||
12283 | ||
5172800e | 12284 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12285 | PyObject *resultobj = 0; |
5172800e RD |
12286 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12287 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12288 | void *argp1 = 0 ; |
12289 | int res1 = 0 ; | |
5172800e RD |
12290 | void *argp2 = 0 ; |
12291 | int res2 = 0 ; | |
12292 | PyObject *swig_obj[2] ; | |
10044bf1 | 12293 | |
5172800e RD |
12294 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12295 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12296 | if (!SWIG_IsOK(res1)) { |
5172800e | 12297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12298 | } |
5172800e RD |
12299 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12300 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12301 | if (!SWIG_IsOK(res2)) { | |
12302 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12303 | } |
5172800e RD |
12304 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12305 | if (arg1) (arg1)->bitmap = *arg2; | |
12306 | ||
10044bf1 RD |
12307 | resultobj = SWIG_Py_Void(); |
12308 | return resultobj; | |
12309 | fail: | |
12310 | return NULL; | |
12311 | } | |
12312 | ||
12313 | ||
5172800e | 12314 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12315 | PyObject *resultobj = 0; |
5172800e RD |
12316 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12317 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12318 | void *argp1 = 0 ; |
12319 | int res1 = 0 ; | |
12320 | PyObject *swig_obj[1] ; | |
12321 | ||
12322 | if (!args) SWIG_fail; | |
12323 | swig_obj[0] = args; | |
5172800e | 12324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12325 | if (!SWIG_IsOK(res1)) { |
5172800e | 12326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12327 | } |
5172800e RD |
12328 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12329 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12330 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12331 | return resultobj; |
12332 | fail: | |
12333 | return NULL; | |
12334 | } | |
12335 | ||
12336 | ||
5172800e | 12337 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12338 | PyObject *resultobj = 0; |
5172800e RD |
12339 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12340 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12341 | void *argp1 = 0 ; |
12342 | int res1 = 0 ; | |
12343 | void *argp2 = 0 ; | |
12344 | int res2 = 0 ; | |
5172800e | 12345 | PyObject *swig_obj[2] ; |
d95b9f2b | 12346 | |
5172800e RD |
12347 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12348 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12349 | if (!SWIG_IsOK(res1)) { |
5172800e | 12350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12351 | } |
5172800e RD |
12352 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12353 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12354 | if (!SWIG_IsOK(res2)) { |
5172800e | 12355 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12356 | } |
5172800e RD |
12357 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12358 | if (arg1) (arg1)->rect = *arg2; | |
12359 | ||
d95b9f2b RD |
12360 | resultobj = SWIG_Py_Void(); |
12361 | return resultobj; | |
12362 | fail: | |
12363 | return NULL; | |
12364 | } | |
12365 | ||
12366 | ||
5172800e | 12367 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12368 | PyObject *resultobj = 0; |
5172800e RD |
12369 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12370 | wxRect *result = 0 ; | |
10044bf1 RD |
12371 | void *argp1 = 0 ; |
12372 | int res1 = 0 ; | |
12373 | PyObject *swig_obj[1] ; | |
12374 | ||
12375 | if (!args) SWIG_fail; | |
12376 | swig_obj[0] = args; | |
5172800e | 12377 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12378 | if (!SWIG_IsOK(res1)) { |
5172800e | 12379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12380 | } |
5172800e RD |
12381 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12382 | result = (wxRect *)& ((arg1)->rect); | |
12383 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10044bf1 RD |
12384 | return resultobj; |
12385 | fail: | |
12386 | return NULL; | |
12387 | } | |
12388 | ||
12389 | ||
5172800e | 12390 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12391 | PyObject *resultobj = 0; |
5172800e RD |
12392 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12393 | bool arg2 ; | |
10044bf1 RD |
12394 | void *argp1 = 0 ; |
12395 | int res1 = 0 ; | |
5172800e | 12396 | bool val2 ; |
10044bf1 RD |
12397 | int ecode2 = 0 ; |
12398 | PyObject *swig_obj[2] ; | |
12399 | ||
5172800e RD |
12400 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12402 | if (!SWIG_IsOK(res1)) { |
5172800e | 12403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12404 | } |
5172800e RD |
12405 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12406 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10044bf1 | 12407 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12408 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
10044bf1 | 12409 | } |
5172800e RD |
12410 | arg2 = static_cast< bool >(val2); |
12411 | if (arg1) (arg1)->active = arg2; | |
10044bf1 RD |
12412 | |
12413 | resultobj = SWIG_Py_Void(); | |
12414 | return resultobj; | |
12415 | fail: | |
12416 | return NULL; | |
12417 | } | |
12418 | ||
12419 | ||
5172800e | 12420 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12421 | PyObject *resultobj = 0; |
5172800e RD |
12422 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12423 | bool result; | |
10044bf1 RD |
12424 | void *argp1 = 0 ; |
12425 | int res1 = 0 ; | |
12426 | PyObject *swig_obj[1] ; | |
12427 | ||
12428 | if (!args) SWIG_fail; | |
12429 | swig_obj[0] = args; | |
5172800e | 12430 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12431 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12433 | } | |
12434 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12435 | result = (bool) ((arg1)->active); | |
12436 | { | |
12437 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 12438 | } |
10044bf1 RD |
12439 | return resultobj; |
12440 | fail: | |
12441 | return NULL; | |
12442 | } | |
12443 | ||
12444 | ||
5172800e RD |
12445 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12446 | PyObject *obj; | |
12447 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12448 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12449 | return SWIG_Py_Void(); | |
12450 | } | |
12451 | ||
12452 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12453 | PyObject *resultobj = 0; |
5172800e | 12454 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12455 | int arg2 ; |
12456 | void *argp1 = 0 ; | |
12457 | int res1 = 0 ; | |
12458 | int val2 ; | |
12459 | int ecode2 = 0 ; | |
12460 | PyObject *swig_obj[2] ; | |
12461 | ||
5172800e RD |
12462 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12464 | if (!SWIG_IsOK(res1)) { |
5172800e | 12465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12466 | } |
5172800e | 12467 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12468 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12469 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12470 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
12471 | } |
12472 | arg2 = static_cast< int >(val2); | |
5172800e | 12473 | if (arg1) (arg1)->id = arg2; |
10044bf1 RD |
12474 | |
12475 | resultobj = SWIG_Py_Void(); | |
12476 | return resultobj; | |
12477 | fail: | |
12478 | return NULL; | |
12479 | } | |
12480 | ||
12481 | ||
5172800e | 12482 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12483 | PyObject *resultobj = 0; |
5172800e | 12484 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12485 | int result; |
12486 | void *argp1 = 0 ; | |
12487 | int res1 = 0 ; | |
12488 | PyObject *swig_obj[1] ; | |
12489 | ||
12490 | if (!args) SWIG_fail; | |
12491 | swig_obj[0] = args; | |
5172800e | 12492 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12493 | if (!SWIG_IsOK(res1)) { |
5172800e | 12494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12495 | } |
5172800e RD |
12496 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12497 | result = (int) ((arg1)->id); | |
10044bf1 RD |
12498 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12499 | return resultobj; | |
12500 | fail: | |
12501 | return NULL; | |
12502 | } | |
12503 | ||
12504 | ||
5172800e | 12505 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12506 | PyObject *resultobj = 0; |
5172800e RD |
12507 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12508 | int arg2 ; | |
d95b9f2b RD |
12509 | void *argp1 = 0 ; |
12510 | int res1 = 0 ; | |
5172800e RD |
12511 | int val2 ; |
12512 | int ecode2 = 0 ; | |
d95b9f2b RD |
12513 | PyObject *swig_obj[2] ; |
12514 | ||
5172800e RD |
12515 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12516 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12517 | if (!SWIG_IsOK(res1)) { |
5172800e | 12518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12519 | } |
5172800e RD |
12520 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12521 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12522 | if (!SWIG_IsOK(ecode2)) { | |
12523 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12524 | } | |
12525 | arg2 = static_cast< int >(val2); | |
12526 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12527 | |
12528 | resultobj = SWIG_Py_Void(); | |
12529 | return resultobj; | |
12530 | fail: | |
12531 | return NULL; | |
12532 | } | |
12533 | ||
12534 | ||
5172800e | 12535 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12536 | PyObject *resultobj = 0; |
5172800e RD |
12537 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12538 | int result; | |
d95b9f2b RD |
12539 | void *argp1 = 0 ; |
12540 | int res1 = 0 ; | |
12541 | PyObject *swig_obj[1] ; | |
12542 | ||
12543 | if (!args) SWIG_fail; | |
12544 | swig_obj[0] = args; | |
5172800e | 12545 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12546 | if (!SWIG_IsOK(res1)) { |
5172800e | 12547 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12548 | } |
5172800e RD |
12549 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12550 | result = (int) ((arg1)->cur_state); | |
12551 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12552 | return resultobj; |
12553 | fail: | |
12554 | return NULL; | |
12555 | } | |
12556 | ||
12557 | ||
5172800e | 12558 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12559 | PyObject *resultobj = 0; |
5172800e RD |
12560 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12561 | int arg2 ; | |
10044bf1 RD |
12562 | void *argp1 = 0 ; |
12563 | int res1 = 0 ; | |
5172800e RD |
12564 | int val2 ; |
12565 | int ecode2 = 0 ; | |
10044bf1 RD |
12566 | PyObject *swig_obj[2] ; |
12567 | ||
5172800e RD |
12568 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12569 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12570 | if (!SWIG_IsOK(res1)) { |
5172800e | 12571 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12572 | } |
5172800e RD |
12573 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12574 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12575 | if (!SWIG_IsOK(ecode2)) { | |
12576 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12577 | } | |
12578 | arg2 = static_cast< int >(val2); | |
12579 | if (arg1) (arg1)->location = arg2; | |
10044bf1 RD |
12580 | |
12581 | resultobj = SWIG_Py_Void(); | |
12582 | return resultobj; | |
12583 | fail: | |
12584 | return NULL; | |
12585 | } | |
12586 | ||
12587 | ||
5172800e | 12588 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12589 | PyObject *resultobj = 0; |
5172800e RD |
12590 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12591 | int result; | |
10044bf1 RD |
12592 | void *argp1 = 0 ; |
12593 | int res1 = 0 ; | |
12594 | PyObject *swig_obj[1] ; | |
12595 | ||
12596 | if (!args) SWIG_fail; | |
12597 | swig_obj[0] = args; | |
5172800e | 12598 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12599 | if (!SWIG_IsOK(res1)) { |
5172800e | 12600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12601 | } |
5172800e RD |
12602 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12603 | result = (int) ((arg1)->location); | |
12604 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
12605 | return resultobj; |
12606 | fail: | |
12607 | return NULL; | |
12608 | } | |
12609 | ||
12610 | ||
5172800e | 12611 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12612 | PyObject *resultobj = 0; |
5172800e RD |
12613 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12614 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12615 | void *argp1 = 0 ; |
12616 | int res1 = 0 ; | |
5172800e RD |
12617 | void *argp2 = 0 ; |
12618 | int res2 = 0 ; | |
10044bf1 RD |
12619 | PyObject *swig_obj[2] ; |
12620 | ||
5172800e RD |
12621 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12622 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12623 | if (!SWIG_IsOK(res1)) { |
5172800e | 12624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12625 | } |
5172800e RD |
12626 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12627 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12628 | if (!SWIG_IsOK(res2)) { | |
12629 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12630 | } |
5172800e RD |
12631 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12632 | if (arg1) (arg1)->bitmap = *arg2; | |
10044bf1 RD |
12633 | |
12634 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12635 | return resultobj; |
12636 | fail: | |
10044bf1 RD |
12637 | return NULL; |
12638 | } | |
12639 | ||
12640 | ||
5172800e | 12641 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12642 | PyObject *resultobj = 0; |
5172800e RD |
12643 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12644 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12645 | void *argp1 = 0 ; |
12646 | int res1 = 0 ; | |
12647 | PyObject *swig_obj[1] ; | |
12648 | ||
12649 | if (!args) SWIG_fail; | |
12650 | swig_obj[0] = args; | |
5172800e RD |
12651 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12652 | if (!SWIG_IsOK(res1)) { | |
12653 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
10044bf1 | 12654 | } |
5172800e RD |
12655 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12656 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12657 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12658 | return resultobj; |
12659 | fail: | |
12660 | return NULL; | |
12661 | } | |
12662 | ||
12663 | ||
5172800e | 12664 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12665 | PyObject *resultobj = 0; |
5172800e | 12666 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12667 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12668 | void *argp1 = 0 ; | |
12669 | int res1 = 0 ; | |
12670 | void *argp2 = 0 ; | |
12671 | int res2 = 0 ; | |
12672 | PyObject *swig_obj[2] ; | |
12673 | ||
5172800e RD |
12674 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12676 | if (!SWIG_IsOK(res1)) { |
5172800e | 12677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12678 | } |
5172800e | 12679 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12680 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12681 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12682 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
10044bf1 RD |
12683 | } |
12684 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12685 | if (arg1) (arg1)->dis_bitmap = *arg2; |
10044bf1 RD |
12686 | |
12687 | resultobj = SWIG_Py_Void(); | |
12688 | return resultobj; | |
12689 | fail: | |
12690 | return NULL; | |
12691 | } | |
12692 | ||
12693 | ||
5172800e | 12694 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12695 | PyObject *resultobj = 0; |
5172800e | 12696 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12697 | wxBitmap *result = 0 ; |
12698 | void *argp1 = 0 ; | |
12699 | int res1 = 0 ; | |
12700 | PyObject *swig_obj[1] ; | |
12701 | ||
12702 | if (!args) SWIG_fail; | |
12703 | swig_obj[0] = args; | |
5172800e | 12704 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12705 | if (!SWIG_IsOK(res1)) { |
5172800e | 12706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12707 | } |
5172800e RD |
12708 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12709 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
10044bf1 RD |
12710 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12711 | return resultobj; | |
12712 | fail: | |
12713 | return NULL; | |
12714 | } | |
12715 | ||
12716 | ||
5172800e | 12717 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12718 | PyObject *resultobj = 0; |
5172800e | 12719 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12720 | wxRect *arg2 = (wxRect *) 0 ; |
12721 | void *argp1 = 0 ; | |
12722 | int res1 = 0 ; | |
12723 | void *argp2 = 0 ; | |
12724 | int res2 = 0 ; | |
12725 | PyObject *swig_obj[2] ; | |
12726 | ||
5172800e RD |
12727 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12729 | if (!SWIG_IsOK(res1)) { |
5172800e | 12730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12731 | } |
5172800e | 12732 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12733 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12734 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12735 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
10044bf1 RD |
12736 | } |
12737 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12738 | if (arg1) (arg1)->rect = *arg2; | |
12739 | ||
12740 | resultobj = SWIG_Py_Void(); | |
12741 | return resultobj; | |
12742 | fail: | |
12743 | return NULL; | |
12744 | } | |
12745 | ||
12746 | ||
5172800e | 12747 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12748 | PyObject *resultobj = 0; |
5172800e | 12749 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12750 | wxRect *result = 0 ; |
12751 | void *argp1 = 0 ; | |
12752 | int res1 = 0 ; | |
12753 | PyObject *swig_obj[1] ; | |
12754 | ||
12755 | if (!args) SWIG_fail; | |
12756 | swig_obj[0] = args; | |
5172800e | 12757 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12758 | if (!SWIG_IsOK(res1)) { |
5172800e | 12759 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12760 | } |
5172800e | 12761 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12762 | result = (wxRect *)& ((arg1)->rect); |
12763 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12764 | return resultobj; | |
12765 | fail: | |
12766 | return NULL; | |
12767 | } | |
12768 | ||
12769 | ||
5172800e RD |
12770 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12771 | PyObject *obj; | |
12772 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12773 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12774 | return SWIG_Py_Void(); | |
12775 | } | |
12776 | ||
12777 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12778 | PyObject *resultobj = 0; |
5172800e | 12779 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
10044bf1 RD |
12780 | void *argp1 = 0 ; |
12781 | int res1 = 0 ; | |
5172800e RD |
12782 | PyObject *swig_obj[1] ; |
12783 | ||
12784 | if (!args) SWIG_fail; | |
12785 | swig_obj[0] = args; | |
12786 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12787 | if (!SWIG_IsOK(res1)) { | |
12788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12789 | } | |
12790 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12791 | { | |
12792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12793 | delete arg1; | |
12794 | ||
12795 | wxPyEndAllowThreads(__tstate); | |
12796 | if (PyErr_Occurred()) SWIG_fail; | |
12797 | } | |
12798 | resultobj = SWIG_Py_Void(); | |
12799 | return resultobj; | |
12800 | fail: | |
12801 | return NULL; | |
12802 | } | |
12803 | ||
12804 | ||
12805 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12806 | PyObject *resultobj = 0; | |
12807 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12808 | wxAuiTabArt *result = 0 ; | |
12809 | void *argp1 = 0 ; | |
12810 | int res1 = 0 ; | |
12811 | PyObject *swig_obj[1] ; | |
12812 | ||
12813 | if (!args) SWIG_fail; | |
12814 | swig_obj[0] = args; | |
12815 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12816 | if (!SWIG_IsOK(res1)) { | |
12817 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12818 | } | |
12819 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12820 | { | |
12821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12822 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12823 | wxPyEndAllowThreads(__tstate); | |
12824 | if (PyErr_Occurred()) SWIG_fail; | |
12825 | } | |
12826 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12827 | return resultobj; | |
12828 | fail: | |
12829 | return NULL; | |
12830 | } | |
12831 | ||
12832 | ||
12833 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12834 | PyObject *resultobj = 0; | |
12835 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12836 | int arg2 ; | |
12837 | void *argp1 = 0 ; | |
12838 | int res1 = 0 ; | |
12839 | int val2 ; | |
10044bf1 | 12840 | int ecode2 = 0 ; |
5172800e RD |
12841 | PyObject * obj0 = 0 ; |
12842 | PyObject * obj1 = 0 ; | |
12843 | char * kwnames[] = { | |
12844 | (char *) "self",(char *) "flags", NULL | |
12845 | }; | |
10044bf1 | 12846 | |
5172800e RD |
12847 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12848 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12849 | if (!SWIG_IsOK(res1)) { |
5172800e | 12850 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12851 | } |
5172800e RD |
12852 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12853 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10044bf1 | 12854 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12855 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 | 12856 | } |
5172800e RD |
12857 | arg2 = static_cast< int >(val2); |
12858 | { | |
12859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12860 | (arg1)->SetFlags(arg2); | |
12861 | wxPyEndAllowThreads(__tstate); | |
12862 | if (PyErr_Occurred()) SWIG_fail; | |
12863 | } | |
12864 | resultobj = SWIG_Py_Void(); | |
12865 | return resultobj; | |
12866 | fail: | |
12867 | return NULL; | |
12868 | } | |
12869 | ||
12870 | ||
12871 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12872 | PyObject *resultobj = 0; | |
12873 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12874 | wxSize *arg2 = 0 ; | |
12875 | size_t arg3 ; | |
12876 | void *argp1 = 0 ; | |
12877 | int res1 = 0 ; | |
12878 | wxSize temp2 ; | |
12879 | size_t val3 ; | |
12880 | int ecode3 = 0 ; | |
12881 | PyObject * obj0 = 0 ; | |
12882 | PyObject * obj1 = 0 ; | |
12883 | PyObject * obj2 = 0 ; | |
12884 | char * kwnames[] = { | |
12885 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12886 | }; | |
10044bf1 | 12887 | |
5172800e RD |
12888 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12889 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12890 | if (!SWIG_IsOK(res1)) { | |
12891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12892 | } | |
12893 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12894 | { | |
12895 | arg2 = &temp2; | |
12896 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12897 | } | |
12898 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12899 | if (!SWIG_IsOK(ecode3)) { | |
12900 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12901 | } | |
12902 | arg3 = static_cast< size_t >(val3); | |
12903 | { | |
12904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12905 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12906 | wxPyEndAllowThreads(__tstate); | |
12907 | if (PyErr_Occurred()) SWIG_fail; | |
12908 | } | |
10044bf1 RD |
12909 | resultobj = SWIG_Py_Void(); |
12910 | return resultobj; | |
12911 | fail: | |
12912 | return NULL; | |
12913 | } | |
12914 | ||
12915 | ||
5172800e | 12916 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12917 | PyObject *resultobj = 0; |
5172800e RD |
12918 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12919 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12920 | void *argp1 = 0 ; |
12921 | int res1 = 0 ; | |
5172800e RD |
12922 | void *argp2 = 0 ; |
12923 | int res2 = 0 ; | |
12924 | PyObject * obj0 = 0 ; | |
12925 | PyObject * obj1 = 0 ; | |
12926 | char * kwnames[] = { | |
12927 | (char *) "self",(char *) "font", NULL | |
12928 | }; | |
10044bf1 | 12929 | |
5172800e RD |
12930 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12931 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12932 | if (!SWIG_IsOK(res1)) { |
5172800e | 12933 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12934 | } |
5172800e RD |
12935 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12936 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12937 | if (!SWIG_IsOK(res2)) { | |
12938 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12939 | } | |
12940 | if (!argp2) { | |
12941 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12942 | } | |
12943 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12944 | { | |
12945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12946 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12947 | wxPyEndAllowThreads(__tstate); | |
12948 | if (PyErr_Occurred()) SWIG_fail; | |
12949 | } | |
12950 | resultobj = SWIG_Py_Void(); | |
12951 | return resultobj; | |
12952 | fail: | |
12953 | return NULL; | |
12954 | } | |
12955 | ||
12956 | ||
12957 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12958 | PyObject *resultobj = 0; | |
12959 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12960 | wxFont *arg2 = 0 ; | |
12961 | void *argp1 = 0 ; | |
12962 | int res1 = 0 ; | |
12963 | void *argp2 = 0 ; | |
12964 | int res2 = 0 ; | |
12965 | PyObject * obj0 = 0 ; | |
12966 | PyObject * obj1 = 0 ; | |
12967 | char * kwnames[] = { | |
12968 | (char *) "self",(char *) "font", NULL | |
12969 | }; | |
12970 | ||
12971 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12972 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12973 | if (!SWIG_IsOK(res1)) { | |
12974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12975 | } | |
12976 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12977 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12978 | if (!SWIG_IsOK(res2)) { | |
12979 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12980 | } | |
12981 | if (!argp2) { | |
12982 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12983 | } | |
12984 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
10044bf1 | 12985 | { |
5172800e RD |
12986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12987 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12988 | wxPyEndAllowThreads(__tstate); | |
12989 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 12990 | } |
5172800e | 12991 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
12992 | return resultobj; |
12993 | fail: | |
12994 | return NULL; | |
12995 | } | |
12996 | ||
12997 | ||
5172800e | 12998 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12999 | PyObject *resultobj = 0; |
5172800e RD |
13000 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13001 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
13002 | void *argp1 = 0 ; |
13003 | int res1 = 0 ; | |
5172800e RD |
13004 | void *argp2 = 0 ; |
13005 | int res2 = 0 ; | |
13006 | PyObject * obj0 = 0 ; | |
13007 | PyObject * obj1 = 0 ; | |
13008 | char * kwnames[] = { | |
13009 | (char *) "self",(char *) "font", NULL | |
13010 | }; | |
10044bf1 | 13011 | |
5172800e RD |
13012 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
13013 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13014 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13015 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13016 | } | |
13017 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13018 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13019 | if (!SWIG_IsOK(res2)) { | |
13020 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13021 | } | |
13022 | if (!argp2) { | |
13023 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13024 | } | |
13025 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13026 | { | |
13027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13028 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13029 | wxPyEndAllowThreads(__tstate); | |
13030 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13031 | } |
10044bf1 RD |
13032 | resultobj = SWIG_Py_Void(); |
13033 | return resultobj; | |
13034 | fail: | |
13035 | return NULL; | |
13036 | } | |
13037 | ||
13038 | ||
5172800e | 13039 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13040 | PyObject *resultobj = 0; |
5172800e RD |
13041 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13042 | wxDC *arg2 = 0 ; | |
13043 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13044 | wxRect *arg4 = 0 ; | |
10044bf1 RD |
13045 | void *argp1 = 0 ; |
13046 | int res1 = 0 ; | |
5172800e RD |
13047 | void *argp2 = 0 ; |
13048 | int res2 = 0 ; | |
13049 | void *argp3 = 0 ; | |
13050 | int res3 = 0 ; | |
13051 | wxRect temp4 ; | |
13052 | PyObject * obj0 = 0 ; | |
13053 | PyObject * obj1 = 0 ; | |
13054 | PyObject * obj2 = 0 ; | |
13055 | PyObject * obj3 = 0 ; | |
13056 | char * kwnames[] = { | |
13057 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
13058 | }; | |
10044bf1 | 13059 | |
5172800e RD |
13060 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13061 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13062 | if (!SWIG_IsOK(res1)) { |
5172800e | 13063 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13064 | } |
5172800e RD |
13065 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13066 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13067 | if (!SWIG_IsOK(res2)) { | |
13068 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13069 | } | |
13070 | if (!argp2) { | |
13071 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13072 | } | |
13073 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13074 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13075 | if (!SWIG_IsOK(res3)) { | |
13076 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13077 | } | |
13078 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13079 | { | |
13080 | arg4 = &temp4; | |
13081 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13082 | } | |
13083 | { | |
13084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13085 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
13086 | wxPyEndAllowThreads(__tstate); | |
13087 | if (PyErr_Occurred()) SWIG_fail; | |
13088 | } | |
13089 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13090 | return resultobj; |
13091 | fail: | |
13092 | return NULL; | |
13093 | } | |
13094 | ||
13095 | ||
5172800e | 13096 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13097 | PyObject *resultobj = 0; |
5172800e RD |
13098 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13099 | wxDC *arg2 = 0 ; | |
13100 | wxWindow *arg3 = (wxWindow *) 0 ; | |
d754c85e RD |
13101 | wxAuiNotebookPage *arg4 = 0 ; |
13102 | wxRect *arg5 = 0 ; | |
13103 | int arg6 ; | |
13104 | wxRect *arg7 = (wxRect *) 0 ; | |
13105 | wxRect *arg8 = (wxRect *) 0 ; | |
13106 | int *arg9 = (int *) 0 ; | |
10044bf1 RD |
13107 | void *argp1 = 0 ; |
13108 | int res1 = 0 ; | |
5172800e RD |
13109 | void *argp2 = 0 ; |
13110 | int res2 = 0 ; | |
13111 | void *argp3 = 0 ; | |
13112 | int res3 = 0 ; | |
d754c85e RD |
13113 | void *argp4 = 0 ; |
13114 | int res4 = 0 ; | |
13115 | wxRect temp5 ; | |
13116 | int val6 ; | |
13117 | int ecode6 = 0 ; | |
13118 | void *argp7 = 0 ; | |
13119 | int res7 = 0 ; | |
13120 | void *argp8 = 0 ; | |
13121 | int res8 = 0 ; | |
5172800e RD |
13122 | void *argp9 = 0 ; |
13123 | int res9 = 0 ; | |
5172800e RD |
13124 | PyObject * obj0 = 0 ; |
13125 | PyObject * obj1 = 0 ; | |
13126 | PyObject * obj2 = 0 ; | |
13127 | PyObject * obj3 = 0 ; | |
13128 | PyObject * obj4 = 0 ; | |
13129 | PyObject * obj5 = 0 ; | |
13130 | PyObject * obj6 = 0 ; | |
13131 | PyObject * obj7 = 0 ; | |
13132 | PyObject * obj8 = 0 ; | |
5172800e | 13133 | char * kwnames[] = { |
d754c85e | 13134 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "pane",(char *) "in_rect",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL |
5172800e | 13135 | }; |
10044bf1 | 13136 | |
d754c85e | 13137 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5172800e | 13138 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13139 | if (!SWIG_IsOK(res1)) { |
5172800e | 13140 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13141 | } |
5172800e RD |
13142 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13143 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13144 | if (!SWIG_IsOK(res2)) { | |
13145 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13146 | } | |
13147 | if (!argp2) { | |
13148 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13149 | } | |
13150 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13151 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13152 | if (!SWIG_IsOK(res3)) { | |
13153 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13154 | } | |
13155 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
d754c85e RD |
13156 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); |
13157 | if (!SWIG_IsOK(res4)) { | |
13158 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13159 | } |
d754c85e RD |
13160 | if (!argp4) { |
13161 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13162 | } |
d754c85e RD |
13163 | arg4 = reinterpret_cast< wxAuiNotebookPage * >(argp4); |
13164 | { | |
13165 | arg5 = &temp5; | |
13166 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
5172800e | 13167 | } |
d754c85e RD |
13168 | ecode6 = SWIG_AsVal_int(obj5, &val6); |
13169 | if (!SWIG_IsOK(ecode6)) { | |
13170 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); | |
5172800e | 13171 | } |
d754c85e RD |
13172 | arg6 = static_cast< int >(val6); |
13173 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13174 | if (!SWIG_IsOK(res7)) { | |
13175 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); | |
5172800e | 13176 | } |
d754c85e RD |
13177 | arg7 = reinterpret_cast< wxRect * >(argp7); |
13178 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13179 | if (!SWIG_IsOK(res8)) { | |
13180 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); | |
5172800e | 13181 | } |
d754c85e RD |
13182 | arg8 = reinterpret_cast< wxRect * >(argp8); |
13183 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); | |
13184 | if (!SWIG_IsOK(res9)) { | |
13185 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); | |
5172800e | 13186 | } |
d754c85e | 13187 | arg9 = reinterpret_cast< int * >(argp9); |
5172800e RD |
13188 | { |
13189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13190 | (arg1)->DrawTab(*arg2,arg3,(wxAuiNotebookPage const &)*arg4,(wxRect const &)*arg5,arg6,arg7,arg8,arg9); |
5172800e RD |
13191 | wxPyEndAllowThreads(__tstate); |
13192 | if (PyErr_Occurred()) SWIG_fail; | |
13193 | } | |
10044bf1 RD |
13194 | resultobj = SWIG_Py_Void(); |
13195 | return resultobj; | |
13196 | fail: | |
13197 | return NULL; | |
13198 | } | |
13199 | ||
13200 | ||
5172800e | 13201 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13202 | PyObject *resultobj = 0; |
5172800e RD |
13203 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13204 | wxDC *arg2 = 0 ; | |
13205 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13206 | wxRect *arg4 = 0 ; | |
13207 | int arg5 ; | |
13208 | int arg6 ; | |
13209 | int arg7 ; | |
d754c85e | 13210 | wxRect *arg8 = (wxRect *) 0 ; |
10044bf1 RD |
13211 | void *argp1 = 0 ; |
13212 | int res1 = 0 ; | |
5172800e RD |
13213 | void *argp2 = 0 ; |
13214 | int res2 = 0 ; | |
13215 | void *argp3 = 0 ; | |
13216 | int res3 = 0 ; | |
13217 | wxRect temp4 ; | |
13218 | int val5 ; | |
13219 | int ecode5 = 0 ; | |
13220 | int val6 ; | |
13221 | int ecode6 = 0 ; | |
13222 | int val7 ; | |
13223 | int ecode7 = 0 ; | |
13224 | void *argp8 = 0 ; | |
13225 | int res8 = 0 ; | |
5172800e RD |
13226 | PyObject * obj0 = 0 ; |
13227 | PyObject * obj1 = 0 ; | |
13228 | PyObject * obj2 = 0 ; | |
13229 | PyObject * obj3 = 0 ; | |
13230 | PyObject * obj4 = 0 ; | |
13231 | PyObject * obj5 = 0 ; | |
13232 | PyObject * obj6 = 0 ; | |
13233 | PyObject * obj7 = 0 ; | |
5172800e | 13234 | char * kwnames[] = { |
d754c85e | 13235 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "out_rect", NULL |
5172800e | 13236 | }; |
10044bf1 | 13237 | |
d754c85e | 13238 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
5172800e | 13239 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13240 | if (!SWIG_IsOK(res1)) { |
5172800e | 13241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13242 | } |
5172800e RD |
13243 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13244 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13245 | if (!SWIG_IsOK(res2)) { | |
13246 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 13247 | } |
5172800e RD |
13248 | if (!argp2) { |
13249 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13250 | } | |
13251 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13252 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13253 | if (!SWIG_IsOK(res3)) { | |
13254 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13255 | } | |
13256 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13257 | { | |
13258 | arg4 = &temp4; | |
13259 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13260 | } | |
13261 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13262 | if (!SWIG_IsOK(ecode5)) { | |
13263 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 13264 | } |
5172800e RD |
13265 | arg5 = static_cast< int >(val5); |
13266 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13267 | if (!SWIG_IsOK(ecode6)) { | |
13268 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
13269 | } | |
13270 | arg6 = static_cast< int >(val6); | |
13271 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13272 | if (!SWIG_IsOK(ecode7)) { | |
13273 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
13274 | } | |
13275 | arg7 = static_cast< int >(val7); | |
d754c85e | 13276 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5172800e | 13277 | if (!SWIG_IsOK(res8)) { |
d754c85e | 13278 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); |
5172800e | 13279 | } |
d754c85e | 13280 | arg8 = reinterpret_cast< wxRect * >(argp8); |
5172800e RD |
13281 | { |
13282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13283 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,arg8); |
5172800e RD |
13284 | wxPyEndAllowThreads(__tstate); |
13285 | if (PyErr_Occurred()) SWIG_fail; | |
13286 | } | |
5c8c7dd3 RD |
13287 | resultobj = SWIG_Py_Void(); |
13288 | return resultobj; | |
13289 | fail: | |
13290 | return NULL; | |
13291 | } | |
13292 | ||
13293 | ||
5172800e | 13294 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13295 | PyObject *resultobj = 0; |
5172800e RD |
13296 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13297 | wxDC *arg2 = 0 ; | |
13298 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13299 | wxString *arg4 = 0 ; | |
13300 | wxBitmap *arg5 = 0 ; | |
13301 | bool arg6 ; | |
13302 | int arg7 ; | |
13303 | int *arg8 = (int *) 0 ; | |
13304 | wxSize result; | |
10044bf1 RD |
13305 | void *argp1 = 0 ; |
13306 | int res1 = 0 ; | |
13307 | void *argp2 = 0 ; | |
13308 | int res2 = 0 ; | |
5172800e RD |
13309 | void *argp3 = 0 ; |
13310 | int res3 = 0 ; | |
13311 | bool temp4 = false ; | |
13312 | void *argp5 = 0 ; | |
13313 | int res5 = 0 ; | |
13314 | bool val6 ; | |
13315 | int ecode6 = 0 ; | |
13316 | int val7 ; | |
13317 | int ecode7 = 0 ; | |
13318 | void *argp8 = 0 ; | |
13319 | int res8 = 0 ; | |
13320 | PyObject * obj0 = 0 ; | |
13321 | PyObject * obj1 = 0 ; | |
13322 | PyObject * obj2 = 0 ; | |
13323 | PyObject * obj3 = 0 ; | |
13324 | PyObject * obj4 = 0 ; | |
13325 | PyObject * obj5 = 0 ; | |
13326 | PyObject * obj6 = 0 ; | |
13327 | PyObject * obj7 = 0 ; | |
13328 | char * kwnames[] = { | |
13329 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13330 | }; | |
10044bf1 | 13331 | |
5172800e RD |
13332 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13333 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13334 | if (!SWIG_IsOK(res1)) { |
5172800e | 13335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13336 | } |
5172800e RD |
13337 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13338 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10044bf1 | 13339 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13340 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13341 | } | |
13342 | if (!argp2) { | |
13343 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13344 | } | |
13345 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13346 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13347 | if (!SWIG_IsOK(res3)) { | |
13348 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13349 | } | |
13350 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13351 | { | |
13352 | arg4 = wxString_in_helper(obj3); | |
13353 | if (arg4 == NULL) SWIG_fail; | |
13354 | temp4 = true; | |
13355 | } | |
13356 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13357 | if (!SWIG_IsOK(res5)) { | |
13358 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13359 | } | |
13360 | if (!argp5) { | |
13361 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13362 | } | |
13363 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13364 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13365 | if (!SWIG_IsOK(ecode6)) { | |
13366 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13367 | } | |
13368 | arg6 = static_cast< bool >(val6); | |
13369 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13370 | if (!SWIG_IsOK(ecode7)) { | |
13371 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13372 | } | |
13373 | arg7 = static_cast< int >(val7); | |
13374 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13375 | if (!SWIG_IsOK(res8)) { | |
13376 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13377 | } | |
13378 | arg8 = reinterpret_cast< int * >(argp8); | |
13379 | { | |
13380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13381 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13382 | wxPyEndAllowThreads(__tstate); | |
13383 | if (PyErr_Occurred()) SWIG_fail; | |
13384 | } | |
13385 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13386 | { | |
13387 | if (temp4) | |
13388 | delete arg4; | |
10044bf1 | 13389 | } |
10044bf1 RD |
13390 | return resultobj; |
13391 | fail: | |
5172800e RD |
13392 | { |
13393 | if (temp4) | |
13394 | delete arg4; | |
13395 | } | |
10044bf1 RD |
13396 | return NULL; |
13397 | } | |
13398 | ||
13399 | ||
d754c85e | 13400 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowDropDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13401 | PyObject *resultobj = 0; |
5172800e RD |
13402 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13403 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d754c85e | 13404 | wxAuiNotebookPageArray *arg3 = 0 ; |
5172800e RD |
13405 | int arg4 ; |
13406 | int result; | |
10044bf1 RD |
13407 | void *argp1 = 0 ; |
13408 | int res1 = 0 ; | |
5172800e RD |
13409 | void *argp2 = 0 ; |
13410 | int res2 = 0 ; | |
d754c85e RD |
13411 | void *argp3 = 0 ; |
13412 | int res3 = 0 ; | |
5172800e RD |
13413 | int val4 ; |
13414 | int ecode4 = 0 ; | |
13415 | PyObject * obj0 = 0 ; | |
13416 | PyObject * obj1 = 0 ; | |
13417 | PyObject * obj2 = 0 ; | |
13418 | PyObject * obj3 = 0 ; | |
13419 | char * kwnames[] = { | |
13420 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13421 | }; | |
10044bf1 | 13422 | |
d754c85e | 13423 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowDropDown",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13424 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13425 | if (!SWIG_IsOK(res1)) { |
d754c85e | 13426 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5172800e RD |
13427 | } |
13428 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13429 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13430 | if (!SWIG_IsOK(res2)) { | |
d754c85e | 13431 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5172800e RD |
13432 | } |
13433 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
d754c85e RD |
13434 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
13435 | if (!SWIG_IsOK(res3)) { | |
13436 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
13437 | } | |
13438 | if (!argp3) { | |
13439 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
5172800e | 13440 | } |
d754c85e | 13441 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); |
5172800e RD |
13442 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
13443 | if (!SWIG_IsOK(ecode4)) { | |
d754c85e | 13444 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "4"" of type '" "int""'"); |
5172800e RD |
13445 | } |
13446 | arg4 = static_cast< int >(val4); | |
13447 | { | |
13448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13449 | result = (int)(arg1)->ShowDropDown(arg2,(wxAuiNotebookPageArray const &)*arg3,arg4); |
5172800e RD |
13450 | wxPyEndAllowThreads(__tstate); |
13451 | if (PyErr_Occurred()) SWIG_fail; | |
13452 | } | |
13453 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
13454 | return resultobj; |
13455 | fail: | |
d754c85e RD |
13456 | return NULL; |
13457 | } | |
13458 | ||
13459 | ||
13460 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13461 | PyObject *resultobj = 0; | |
13462 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
13463 | int result; | |
13464 | void *argp1 = 0 ; | |
13465 | int res1 = 0 ; | |
13466 | PyObject *swig_obj[1] ; | |
13467 | ||
13468 | if (!args) SWIG_fail; | |
13469 | swig_obj[0] = args; | |
13470 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13471 | if (!SWIG_IsOK(res1)) { | |
13472 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
13473 | } | |
13474 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
5172800e | 13475 | { |
d754c85e RD |
13476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13477 | result = (int)(arg1)->GetIndentSize(); | |
13478 | wxPyEndAllowThreads(__tstate); | |
13479 | if (PyErr_Occurred()) SWIG_fail; | |
5172800e | 13480 | } |
d754c85e RD |
13481 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13482 | return resultobj; | |
13483 | fail: | |
10044bf1 RD |
13484 | return NULL; |
13485 | } | |
13486 | ||
13487 | ||
5172800e | 13488 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 13489 | PyObject *resultobj = 0; |
5172800e RD |
13490 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13491 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13492 | wxAuiNotebookPageArray *arg3 = 0 ; | |
8287c33f | 13493 | wxSize *arg4 = 0 ; |
5172800e | 13494 | int result; |
8f514ab4 RD |
13495 | void *argp1 = 0 ; |
13496 | int res1 = 0 ; | |
13497 | void *argp2 = 0 ; | |
13498 | int res2 = 0 ; | |
5172800e RD |
13499 | void *argp3 = 0 ; |
13500 | int res3 = 0 ; | |
8287c33f | 13501 | wxSize temp4 ; |
5172800e RD |
13502 | PyObject * obj0 = 0 ; |
13503 | PyObject * obj1 = 0 ; | |
13504 | PyObject * obj2 = 0 ; | |
8287c33f | 13505 | PyObject * obj3 = 0 ; |
5172800e | 13506 | char * kwnames[] = { |
8287c33f | 13507 | (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL |
5172800e | 13508 | }; |
8f514ab4 | 13509 | |
8287c33f | 13510 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13511 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
8f514ab4 | 13512 | if (!SWIG_IsOK(res1)) { |
5172800e | 13513 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 13514 | } |
5172800e RD |
13515 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13516 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8f514ab4 | 13517 | if (!SWIG_IsOK(res2)) { |
5172800e | 13518 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
8f514ab4 | 13519 | } |
5172800e | 13520 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
d754c85e | 13521 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
5172800e | 13522 | if (!SWIG_IsOK(res3)) { |
d754c85e | 13523 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13524 | } |
13525 | if (!argp3) { | |
d754c85e | 13526 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13527 | } |
13528 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); | |
8287c33f RD |
13529 | { |
13530 | arg4 = &temp4; | |
13531 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13532 | } | |
5172800e RD |
13533 | { |
13534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13535 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,(wxAuiNotebookPageArray const &)*arg3,(wxSize const &)*arg4); |
5172800e RD |
13536 | wxPyEndAllowThreads(__tstate); |
13537 | if (PyErr_Occurred()) SWIG_fail; | |
13538 | } | |
13539 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13540 | return resultobj; | |
13541 | fail: | |
13542 | return NULL; | |
13543 | } | |
13544 | ||
13545 | ||
13546 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13547 | PyObject *obj; | |
13548 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13549 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); | |
13550 | return SWIG_Py_Void(); | |
13551 | } | |
13552 | ||
13553 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13554 | PyObject *resultobj = 0; | |
13555 | wxAuiDefaultTabArt *result = 0 ; | |
8f514ab4 | 13556 | |
5172800e RD |
13557 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
13558 | { | |
13559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13560 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); | |
13561 | wxPyEndAllowThreads(__tstate); | |
13562 | if (PyErr_Occurred()) SWIG_fail; | |
13563 | } | |
13564 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
8f514ab4 RD |
13565 | return resultobj; |
13566 | fail: | |
13567 | return NULL; | |
13568 | } | |
13569 | ||
13570 | ||
5172800e | 13571 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 13572 | PyObject *resultobj = 0; |
5172800e | 13573 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
8f514ab4 RD |
13574 | void *argp1 = 0 ; |
13575 | int res1 = 0 ; | |
13576 | PyObject *swig_obj[1] ; | |
13577 | ||
13578 | if (!args) SWIG_fail; | |
13579 | swig_obj[0] = args; | |
5172800e | 13580 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
8f514ab4 | 13581 | if (!SWIG_IsOK(res1)) { |
5172800e | 13582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
8f514ab4 | 13583 | } |
5172800e RD |
13584 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
13585 | { | |
13586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13587 | delete arg1; | |
13588 | ||
13589 | wxPyEndAllowThreads(__tstate); | |
13590 | if (PyErr_Occurred()) SWIG_fail; | |
13591 | } | |
13592 | resultobj = SWIG_Py_Void(); | |
8f514ab4 RD |
13593 | return resultobj; |
13594 | fail: | |
13595 | return NULL; | |
13596 | } | |
13597 | ||
13598 | ||
5172800e RD |
13599 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13600 | PyObject *obj; | |
13601 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13602 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); | |
13603 | return SWIG_Py_Void(); | |
13604 | } | |
13605 | ||
13606 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13607 | return SWIG_Python_InitShadowInstance(args); | |
13608 | } | |
13609 | ||
13610 | SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 13611 | PyObject *resultobj = 0; |
5172800e | 13612 | wxAuiSimpleTabArt *result = 0 ; |
10044bf1 | 13613 | |
5172800e RD |
13614 | if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail; |
13615 | { | |
13616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13617 | result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt(); | |
13618 | wxPyEndAllowThreads(__tstate); | |
13619 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13620 | } |
5172800e | 13621 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
13622 | return resultobj; |
13623 | fail: | |
13624 | return NULL; | |
13625 | } | |
13626 | ||
13627 | ||
5172800e | 13628 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 13629 | PyObject *resultobj = 0; |
5172800e | 13630 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
10044bf1 RD |
13631 | void *argp1 = 0 ; |
13632 | int res1 = 0 ; | |
13633 | PyObject *swig_obj[1] ; | |
13634 | ||
13635 | if (!args) SWIG_fail; | |
13636 | swig_obj[0] = args; | |
5172800e | 13637 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 ); |
10044bf1 | 13638 | if (!SWIG_IsOK(res1)) { |
5172800e | 13639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
10044bf1 | 13640 | } |
5172800e RD |
13641 | arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1); |
13642 | { | |
13643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13644 | delete arg1; | |
13645 | ||
13646 | wxPyEndAllowThreads(__tstate); | |
13647 | if (PyErr_Occurred()) SWIG_fail; | |
13648 | } | |
13649 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13650 | return resultobj; |
13651 | fail: | |
13652 | return NULL; | |
13653 | } | |
13654 | ||
13655 | ||
5172800e | 13656 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
13657 | PyObject *obj; |
13658 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5172800e | 13659 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
13660 | return SWIG_Py_Void(); |
13661 | } | |
13662 | ||
5172800e RD |
13663 | SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13664 | return SWIG_Python_InitShadowInstance(args); | |
13665 | } | |
13666 | ||
10044bf1 RD |
13667 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13668 | PyObject *resultobj = 0; | |
13669 | wxAuiTabContainer *result = 0 ; | |
13670 | ||
13671 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13672 | { | |
13673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13674 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13675 | wxPyEndAllowThreads(__tstate); | |
13676 | if (PyErr_Occurred()) SWIG_fail; | |
13677 | } | |
13678 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13679 | return resultobj; | |
13680 | fail: | |
13681 | return NULL; | |
13682 | } | |
13683 | ||
13684 | ||
13685 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13686 | PyObject *resultobj = 0; | |
13687 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13688 | void *argp1 = 0 ; | |
13689 | int res1 = 0 ; | |
13690 | PyObject *swig_obj[1] ; | |
13691 | ||
13692 | if (!args) SWIG_fail; | |
13693 | swig_obj[0] = args; | |
13694 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13695 | if (!SWIG_IsOK(res1)) { | |
13696 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13697 | } | |
13698 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13699 | { | |
13700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13701 | delete arg1; | |
13702 | ||
13703 | wxPyEndAllowThreads(__tstate); | |
13704 | if (PyErr_Occurred()) SWIG_fail; | |
13705 | } | |
13706 | resultobj = SWIG_Py_Void(); | |
13707 | return resultobj; | |
13708 | fail: | |
13709 | return NULL; | |
13710 | } | |
13711 | ||
13712 | ||
5c8c7dd3 RD |
13713 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13714 | PyObject *resultobj = 0; | |
13715 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13716 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13717 | void *argp1 = 0 ; |
13718 | int res1 = 0 ; | |
13719 | void *argp2 = 0 ; | |
13720 | int res2 = 0 ; | |
13721 | PyObject * obj0 = 0 ; | |
13722 | PyObject * obj1 = 0 ; | |
13723 | char * kwnames[] = { | |
13724 | (char *) "self",(char *) "art", NULL | |
13725 | }; | |
13726 | ||
13727 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13728 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13729 | if (!SWIG_IsOK(res1)) { | |
13730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13731 | } | |
13732 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13733 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13734 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13735 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13736 | } |
5eb8189c | 13737 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13738 | { |
13739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13740 | (arg1)->SetArtProvider(arg2); | |
13741 | wxPyEndAllowThreads(__tstate); | |
13742 | if (PyErr_Occurred()) SWIG_fail; | |
13743 | } | |
13744 | resultobj = SWIG_Py_Void(); | |
13745 | return resultobj; | |
13746 | fail: | |
13747 | return NULL; | |
13748 | } | |
13749 | ||
13750 | ||
13751 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13752 | PyObject *resultobj = 0; | |
13753 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13754 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13755 | void *argp1 = 0 ; |
13756 | int res1 = 0 ; | |
13757 | PyObject *swig_obj[1] ; | |
13758 | ||
13759 | if (!args) SWIG_fail; | |
13760 | swig_obj[0] = args; | |
13761 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13762 | if (!SWIG_IsOK(res1)) { | |
5172800e | 13763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); |
5c8c7dd3 RD |
13764 | } |
13765 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13766 | { | |
13767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 13768 | result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider(); |
5eb8189c RD |
13769 | wxPyEndAllowThreads(__tstate); |
13770 | if (PyErr_Occurred()) SWIG_fail; | |
13771 | } | |
13772 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13773 | return resultobj; | |
13774 | fail: | |
13775 | return NULL; | |
13776 | } | |
13777 | ||
13778 | ||
13779 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13780 | PyObject *resultobj = 0; | |
13781 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13782 | int arg2 ; | |
13783 | void *argp1 = 0 ; | |
13784 | int res1 = 0 ; | |
13785 | int val2 ; | |
13786 | int ecode2 = 0 ; | |
13787 | PyObject * obj0 = 0 ; | |
13788 | PyObject * obj1 = 0 ; | |
13789 | char * kwnames[] = { | |
13790 | (char *) "self",(char *) "flags", NULL | |
13791 | }; | |
13792 | ||
13793 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13794 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13795 | if (!SWIG_IsOK(res1)) { | |
13796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13797 | } | |
13798 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13799 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13800 | if (!SWIG_IsOK(ecode2)) { | |
13801 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13802 | } | |
13803 | arg2 = static_cast< int >(val2); | |
13804 | { | |
13805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13806 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13807 | wxPyEndAllowThreads(__tstate); |
13808 | if (PyErr_Occurred()) SWIG_fail; | |
13809 | } | |
5eb8189c RD |
13810 | resultobj = SWIG_Py_Void(); |
13811 | return resultobj; | |
13812 | fail: | |
13813 | return NULL; | |
13814 | } | |
13815 | ||
13816 | ||
13817 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13818 | PyObject *resultobj = 0; | |
13819 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13820 | int result; | |
13821 | void *argp1 = 0 ; | |
13822 | int res1 = 0 ; | |
13823 | PyObject *swig_obj[1] ; | |
13824 | ||
13825 | if (!args) SWIG_fail; | |
13826 | swig_obj[0] = args; | |
13827 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13828 | if (!SWIG_IsOK(res1)) { | |
13829 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13830 | } | |
13831 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13832 | { | |
13833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13834 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13835 | wxPyEndAllowThreads(__tstate); | |
13836 | if (PyErr_Occurred()) SWIG_fail; | |
13837 | } | |
13838 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13839 | return resultobj; |
13840 | fail: | |
13841 | return NULL; | |
13842 | } | |
13843 | ||
13844 | ||
10044bf1 RD |
13845 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13846 | PyObject *resultobj = 0; | |
13847 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13848 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13849 | wxAuiNotebookPage *arg3 = 0 ; | |
13850 | bool result; | |
13851 | void *argp1 = 0 ; | |
13852 | int res1 = 0 ; | |
13853 | void *argp2 = 0 ; | |
13854 | int res2 = 0 ; | |
13855 | void *argp3 = 0 ; | |
13856 | int res3 = 0 ; | |
13857 | PyObject * obj0 = 0 ; | |
13858 | PyObject * obj1 = 0 ; | |
13859 | PyObject * obj2 = 0 ; | |
13860 | char * kwnames[] = { | |
13861 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13862 | }; | |
13863 | ||
13864 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13865 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13866 | if (!SWIG_IsOK(res1)) { | |
13867 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13868 | } | |
13869 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13870 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13871 | if (!SWIG_IsOK(res2)) { | |
13872 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13873 | } | |
13874 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13875 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13876 | if (!SWIG_IsOK(res3)) { | |
13877 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13878 | } | |
13879 | if (!argp3) { | |
13880 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13881 | } | |
13882 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13883 | { | |
13884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13885 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13886 | wxPyEndAllowThreads(__tstate); | |
13887 | if (PyErr_Occurred()) SWIG_fail; | |
13888 | } | |
13889 | { | |
13890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13891 | } | |
13892 | return resultobj; | |
13893 | fail: | |
13894 | return NULL; | |
13895 | } | |
13896 | ||
13897 | ||
13898 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13899 | PyObject *resultobj = 0; | |
13900 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13901 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13902 | wxAuiNotebookPage *arg3 = 0 ; | |
13903 | size_t arg4 ; | |
13904 | bool result; | |
13905 | void *argp1 = 0 ; | |
13906 | int res1 = 0 ; | |
13907 | void *argp2 = 0 ; | |
13908 | int res2 = 0 ; | |
13909 | void *argp3 = 0 ; | |
13910 | int res3 = 0 ; | |
13911 | size_t val4 ; | |
13912 | int ecode4 = 0 ; | |
13913 | PyObject * obj0 = 0 ; | |
13914 | PyObject * obj1 = 0 ; | |
13915 | PyObject * obj2 = 0 ; | |
13916 | PyObject * obj3 = 0 ; | |
13917 | char * kwnames[] = { | |
13918 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13919 | }; | |
13920 | ||
13921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13923 | if (!SWIG_IsOK(res1)) { | |
13924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13925 | } | |
13926 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13927 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13928 | if (!SWIG_IsOK(res2)) { | |
13929 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13930 | } | |
13931 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13932 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13933 | if (!SWIG_IsOK(res3)) { | |
13934 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13935 | } | |
13936 | if (!argp3) { | |
13937 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13938 | } | |
13939 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13940 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13941 | if (!SWIG_IsOK(ecode4)) { | |
13942 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13943 | } | |
13944 | arg4 = static_cast< size_t >(val4); | |
13945 | { | |
13946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13947 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13948 | wxPyEndAllowThreads(__tstate); | |
13949 | if (PyErr_Occurred()) SWIG_fail; | |
13950 | } | |
13951 | { | |
13952 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13953 | } | |
13954 | return resultobj; | |
13955 | fail: | |
13956 | return NULL; | |
13957 | } | |
13958 | ||
13959 | ||
580080c5 RD |
13960 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13961 | PyObject *resultobj = 0; | |
13962 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13963 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13964 | size_t arg3 ; | |
13965 | bool result; | |
13966 | void *argp1 = 0 ; | |
13967 | int res1 = 0 ; | |
13968 | void *argp2 = 0 ; | |
13969 | int res2 = 0 ; | |
13970 | size_t val3 ; | |
13971 | int ecode3 = 0 ; | |
13972 | PyObject * obj0 = 0 ; | |
13973 | PyObject * obj1 = 0 ; | |
13974 | PyObject * obj2 = 0 ; | |
13975 | char * kwnames[] = { | |
13976 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13977 | }; | |
13978 | ||
13979 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13980 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13981 | if (!SWIG_IsOK(res1)) { | |
13982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13983 | } | |
13984 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13985 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13986 | if (!SWIG_IsOK(res2)) { | |
13987 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13988 | } | |
13989 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13990 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13991 | if (!SWIG_IsOK(ecode3)) { | |
13992 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
13993 | } | |
13994 | arg3 = static_cast< size_t >(val3); | |
13995 | { | |
13996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13997 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
13998 | wxPyEndAllowThreads(__tstate); | |
13999 | if (PyErr_Occurred()) SWIG_fail; | |
14000 | } | |
14001 | { | |
14002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14003 | } | |
14004 | return resultobj; | |
14005 | fail: | |
14006 | return NULL; | |
14007 | } | |
14008 | ||
14009 | ||
10044bf1 RD |
14010 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14011 | PyObject *resultobj = 0; | |
14012 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14013 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14014 | bool result; | |
14015 | void *argp1 = 0 ; | |
14016 | int res1 = 0 ; | |
14017 | void *argp2 = 0 ; | |
14018 | int res2 = 0 ; | |
14019 | PyObject * obj0 = 0 ; | |
14020 | PyObject * obj1 = 0 ; | |
14021 | char * kwnames[] = { | |
14022 | (char *) "self",(char *) "page", NULL | |
14023 | }; | |
14024 | ||
14025 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14026 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14027 | if (!SWIG_IsOK(res1)) { | |
14028 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14029 | } | |
14030 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14031 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14032 | if (!SWIG_IsOK(res2)) { | |
14033 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14034 | } | |
14035 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14036 | { | |
14037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14038 | result = (bool)(arg1)->RemovePage(arg2); | |
14039 | wxPyEndAllowThreads(__tstate); | |
14040 | if (PyErr_Occurred()) SWIG_fail; | |
14041 | } | |
14042 | { | |
14043 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14044 | } | |
14045 | return resultobj; | |
14046 | fail: | |
14047 | return NULL; | |
14048 | } | |
14049 | ||
14050 | ||
14051 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14052 | PyObject *resultobj = 0; | |
14053 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14054 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14055 | bool result; | |
14056 | void *argp1 = 0 ; | |
14057 | int res1 = 0 ; | |
14058 | void *argp2 = 0 ; | |
14059 | int res2 = 0 ; | |
14060 | ||
14061 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14062 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14063 | if (!SWIG_IsOK(res1)) { | |
14064 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14065 | } | |
14066 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14067 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14068 | if (!SWIG_IsOK(res2)) { | |
14069 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14070 | } | |
14071 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14072 | { | |
14073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14074 | result = (bool)(arg1)->SetActivePage(arg2); | |
14075 | wxPyEndAllowThreads(__tstate); | |
14076 | if (PyErr_Occurred()) SWIG_fail; | |
14077 | } | |
14078 | { | |
14079 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14080 | } | |
14081 | return resultobj; | |
14082 | fail: | |
14083 | return NULL; | |
14084 | } | |
14085 | ||
14086 | ||
14087 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14088 | PyObject *resultobj = 0; | |
14089 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14090 | size_t arg2 ; | |
14091 | bool result; | |
14092 | void *argp1 = 0 ; | |
14093 | int res1 = 0 ; | |
14094 | size_t val2 ; | |
14095 | int ecode2 = 0 ; | |
14096 | ||
14097 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14098 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14099 | if (!SWIG_IsOK(res1)) { | |
14100 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14101 | } | |
14102 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14103 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
14104 | if (!SWIG_IsOK(ecode2)) { | |
14105 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14106 | } | |
14107 | arg2 = static_cast< size_t >(val2); | |
14108 | { | |
14109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14110 | result = (bool)(arg1)->SetActivePage(arg2); | |
14111 | wxPyEndAllowThreads(__tstate); | |
14112 | if (PyErr_Occurred()) SWIG_fail; | |
14113 | } | |
14114 | { | |
14115 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14116 | } | |
14117 | return resultobj; | |
14118 | fail: | |
14119 | return NULL; | |
14120 | } | |
14121 | ||
14122 | ||
14123 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
14124 | int argc; | |
14125 | PyObject *argv[3]; | |
14126 | ||
14127 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
14128 | --argc; | |
14129 | if (argc == 2) { | |
14130 | int _v = 0; | |
14131 | { | |
14132 | void *vptr = 0; | |
14133 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
14134 | _v = SWIG_CheckState(res); | |
14135 | } | |
14136 | if (!_v) goto check_1; | |
14137 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
14138 | } | |
14139 | check_1: | |
14140 | ||
14141 | if (argc == 2) { | |
14142 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
14143 | } | |
14144 | ||
14145 | fail: | |
14146 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
14147 | return NULL; | |
14148 | } | |
14149 | ||
14150 | ||
14151 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14152 | PyObject *resultobj = 0; | |
14153 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
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_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14163 | } | |
14164 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14165 | { | |
14166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14167 | (arg1)->SetNoneActive(); | |
14168 | wxPyEndAllowThreads(__tstate); | |
14169 | if (PyErr_Occurred()) SWIG_fail; | |
14170 | } | |
14171 | resultobj = SWIG_Py_Void(); | |
14172 | return resultobj; | |
14173 | fail: | |
14174 | return NULL; | |
14175 | } | |
14176 | ||
14177 | ||
14178 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14179 | PyObject *resultobj = 0; | |
14180 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14181 | int result; | |
14182 | void *argp1 = 0 ; | |
14183 | int res1 = 0 ; | |
14184 | PyObject *swig_obj[1] ; | |
14185 | ||
14186 | if (!args) SWIG_fail; | |
14187 | swig_obj[0] = args; | |
14188 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14189 | if (!SWIG_IsOK(res1)) { | |
14190 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14191 | } | |
14192 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14193 | { | |
14194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14195 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
14196 | wxPyEndAllowThreads(__tstate); | |
14197 | if (PyErr_Occurred()) SWIG_fail; | |
14198 | } | |
14199 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14200 | return resultobj; | |
14201 | fail: | |
14202 | return NULL; | |
14203 | } | |
14204 | ||
14205 | ||
14206 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14207 | PyObject *resultobj = 0; | |
14208 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14209 | int arg2 ; | |
14210 | int arg3 ; | |
14211 | wxWindow **arg4 = (wxWindow **) 0 ; | |
14212 | bool result; | |
14213 | void *argp1 = 0 ; | |
14214 | int res1 = 0 ; | |
14215 | int val2 ; | |
14216 | int ecode2 = 0 ; | |
14217 | int val3 ; | |
14218 | int ecode3 = 0 ; | |
14219 | void *argp4 = 0 ; | |
14220 | int res4 = 0 ; | |
14221 | PyObject * obj0 = 0 ; | |
14222 | PyObject * obj1 = 0 ; | |
14223 | PyObject * obj2 = 0 ; | |
14224 | PyObject * obj3 = 0 ; | |
14225 | char * kwnames[] = { | |
14226 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14227 | }; | |
14228 | ||
14229 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14230 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14231 | if (!SWIG_IsOK(res1)) { | |
14232 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14233 | } | |
14234 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14235 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14236 | if (!SWIG_IsOK(ecode2)) { | |
14237 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14238 | } | |
14239 | arg2 = static_cast< int >(val2); | |
14240 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14241 | if (!SWIG_IsOK(ecode3)) { | |
14242 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14243 | } | |
14244 | arg3 = static_cast< int >(val3); | |
14245 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
14246 | if (!SWIG_IsOK(res4)) { | |
14247 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
14248 | } | |
14249 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
14250 | { | |
14251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14252 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
14253 | wxPyEndAllowThreads(__tstate); | |
14254 | if (PyErr_Occurred()) SWIG_fail; | |
14255 | } | |
14256 | { | |
14257 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14258 | } | |
14259 | return resultobj; | |
14260 | fail: | |
14261 | return NULL; | |
14262 | } | |
14263 | ||
14264 | ||
14265 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14266 | PyObject *resultobj = 0; | |
14267 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14268 | int arg2 ; | |
14269 | int arg3 ; | |
14270 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
14271 | bool result; | |
14272 | void *argp1 = 0 ; | |
14273 | int res1 = 0 ; | |
14274 | int val2 ; | |
14275 | int ecode2 = 0 ; | |
14276 | int val3 ; | |
14277 | int ecode3 = 0 ; | |
14278 | void *argp4 = 0 ; | |
14279 | int res4 = 0 ; | |
14280 | PyObject * obj0 = 0 ; | |
14281 | PyObject * obj1 = 0 ; | |
14282 | PyObject * obj2 = 0 ; | |
14283 | PyObject * obj3 = 0 ; | |
14284 | char * kwnames[] = { | |
14285 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14286 | }; | |
14287 | ||
14288 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14289 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14290 | if (!SWIG_IsOK(res1)) { | |
14291 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14292 | } | |
14293 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14294 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14295 | if (!SWIG_IsOK(ecode2)) { | |
14296 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14297 | } | |
14298 | arg2 = static_cast< int >(val2); | |
14299 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14300 | if (!SWIG_IsOK(ecode3)) { | |
14301 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14302 | } | |
14303 | arg3 = static_cast< int >(val3); | |
14304 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
14305 | if (!SWIG_IsOK(res4)) { | |
14306 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
14307 | } | |
14308 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
14309 | { | |
14310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14311 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
14312 | wxPyEndAllowThreads(__tstate); | |
14313 | if (PyErr_Occurred()) SWIG_fail; | |
14314 | } | |
14315 | { | |
14316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14317 | } | |
14318 | return resultobj; | |
14319 | fail: | |
14320 | return NULL; | |
14321 | } | |
14322 | ||
14323 | ||
14324 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14325 | PyObject *resultobj = 0; | |
14326 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14327 | size_t arg2 ; | |
14328 | wxWindow *result = 0 ; | |
14329 | void *argp1 = 0 ; | |
14330 | int res1 = 0 ; | |
14331 | size_t val2 ; | |
14332 | int ecode2 = 0 ; | |
14333 | PyObject * obj0 = 0 ; | |
14334 | PyObject * obj1 = 0 ; | |
14335 | char * kwnames[] = { | |
14336 | (char *) "self",(char *) "idx", NULL | |
14337 | }; | |
14338 | ||
14339 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
14340 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14341 | if (!SWIG_IsOK(res1)) { | |
14342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14343 | } | |
14344 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14345 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14346 | if (!SWIG_IsOK(ecode2)) { | |
14347 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
14348 | } | |
14349 | arg2 = static_cast< size_t >(val2); | |
14350 | { | |
14351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14352 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
14353 | wxPyEndAllowThreads(__tstate); | |
14354 | if (PyErr_Occurred()) SWIG_fail; | |
14355 | } | |
14356 | { | |
14357 | resultobj = wxPyMake_wxObject(result, 0); | |
14358 | } | |
14359 | return resultobj; | |
14360 | fail: | |
14361 | return NULL; | |
14362 | } | |
14363 | ||
14364 | ||
14365 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14366 | PyObject *resultobj = 0; | |
14367 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14368 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14369 | int result; | |
14370 | void *argp1 = 0 ; | |
14371 | int res1 = 0 ; | |
14372 | void *argp2 = 0 ; | |
14373 | int res2 = 0 ; | |
14374 | PyObject * obj0 = 0 ; | |
14375 | PyObject * obj1 = 0 ; | |
14376 | char * kwnames[] = { | |
14377 | (char *) "self",(char *) "page", NULL | |
14378 | }; | |
14379 | ||
14380 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
14381 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14382 | if (!SWIG_IsOK(res1)) { | |
14383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14384 | } | |
14385 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14386 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14387 | if (!SWIG_IsOK(res2)) { | |
14388 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14389 | } | |
14390 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14391 | { | |
14392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14393 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
14394 | wxPyEndAllowThreads(__tstate); | |
14395 | if (PyErr_Occurred()) SWIG_fail; | |
14396 | } | |
14397 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14398 | return resultobj; | |
14399 | fail: | |
14400 | return NULL; | |
14401 | } | |
14402 | ||
14403 | ||
14404 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14405 | PyObject *resultobj = 0; | |
14406 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14407 | size_t result; | |
14408 | void *argp1 = 0 ; | |
14409 | int res1 = 0 ; | |
14410 | PyObject *swig_obj[1] ; | |
14411 | ||
14412 | if (!args) SWIG_fail; | |
14413 | swig_obj[0] = args; | |
14414 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14415 | if (!SWIG_IsOK(res1)) { | |
14416 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14417 | } | |
14418 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14419 | { | |
14420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14421 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
14422 | wxPyEndAllowThreads(__tstate); | |
14423 | if (PyErr_Occurred()) SWIG_fail; | |
14424 | } | |
14425 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14426 | return resultobj; | |
14427 | fail: | |
14428 | return NULL; | |
14429 | } | |
14430 | ||
14431 | ||
d48ae46b | 14432 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14433 | PyObject *resultobj = 0; |
14434 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14435 | size_t arg2 ; | |
14436 | wxAuiNotebookPage *result = 0 ; | |
14437 | void *argp1 = 0 ; | |
14438 | int res1 = 0 ; | |
14439 | size_t val2 ; | |
14440 | int ecode2 = 0 ; | |
d48ae46b RD |
14441 | PyObject * obj0 = 0 ; |
14442 | PyObject * obj1 = 0 ; | |
14443 | char * kwnames[] = { | |
14444 | (char *) "self",(char *) "idx", NULL | |
14445 | }; | |
10044bf1 | 14446 | |
d48ae46b RD |
14447 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
14448 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
10044bf1 RD |
14449 | if (!SWIG_IsOK(res1)) { |
14450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14451 | } | |
14452 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
d48ae46b | 14453 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
10044bf1 RD |
14454 | if (!SWIG_IsOK(ecode2)) { |
14455 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14456 | } | |
14457 | arg2 = static_cast< size_t >(val2); | |
14458 | { | |
14459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14460 | { | |
14461 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
14462 | result = (wxAuiNotebookPage *) &_result_ref; | |
14463 | } | |
14464 | wxPyEndAllowThreads(__tstate); | |
14465 | if (PyErr_Occurred()) SWIG_fail; | |
14466 | } | |
14467 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
14468 | return resultobj; | |
14469 | fail: | |
14470 | return NULL; | |
14471 | } | |
14472 | ||
14473 | ||
14474 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14475 | PyObject *resultobj = 0; | |
14476 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14477 | wxAuiNotebookPageArray *result = 0 ; | |
14478 | void *argp1 = 0 ; | |
14479 | int res1 = 0 ; | |
14480 | PyObject *swig_obj[1] ; | |
14481 | ||
14482 | if (!args) SWIG_fail; | |
14483 | swig_obj[0] = args; | |
14484 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14485 | if (!SWIG_IsOK(res1)) { | |
14486 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14487 | } | |
14488 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14489 | { | |
14490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14491 | { | |
14492 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
14493 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
14494 | } | |
14495 | wxPyEndAllowThreads(__tstate); | |
14496 | if (PyErr_Occurred()) SWIG_fail; | |
14497 | } | |
14498 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
14499 | return resultobj; | |
14500 | fail: | |
14501 | return NULL; | |
14502 | } | |
14503 | ||
14504 | ||
14505 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14506 | PyObject *resultobj = 0; | |
14507 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14508 | wxFont *arg2 = 0 ; | |
14509 | void *argp1 = 0 ; | |
14510 | int res1 = 0 ; | |
14511 | void *argp2 = 0 ; | |
14512 | int res2 = 0 ; | |
14513 | PyObject * obj0 = 0 ; | |
14514 | PyObject * obj1 = 0 ; | |
14515 | char * kwnames[] = { | |
14516 | (char *) "self",(char *) "normal_font", NULL | |
14517 | }; | |
14518 | ||
14519 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14520 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14521 | if (!SWIG_IsOK(res1)) { | |
14522 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14523 | } | |
14524 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14525 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14526 | if (!SWIG_IsOK(res2)) { | |
14527 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14528 | } | |
14529 | if (!argp2) { | |
14530 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14531 | } | |
14532 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14533 | { | |
14534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14535 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
14536 | wxPyEndAllowThreads(__tstate); | |
14537 | if (PyErr_Occurred()) SWIG_fail; | |
14538 | } | |
14539 | resultobj = SWIG_Py_Void(); | |
14540 | return resultobj; | |
14541 | fail: | |
14542 | return NULL; | |
14543 | } | |
14544 | ||
14545 | ||
14546 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14547 | PyObject *resultobj = 0; | |
14548 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14549 | wxFont *arg2 = 0 ; | |
14550 | void *argp1 = 0 ; | |
14551 | int res1 = 0 ; | |
14552 | void *argp2 = 0 ; | |
14553 | int res2 = 0 ; | |
14554 | PyObject * obj0 = 0 ; | |
14555 | PyObject * obj1 = 0 ; | |
14556 | char * kwnames[] = { | |
14557 | (char *) "self",(char *) "selected_font", NULL | |
14558 | }; | |
14559 | ||
14560 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14561 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14562 | if (!SWIG_IsOK(res1)) { | |
14563 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14564 | } | |
14565 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14566 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14567 | if (!SWIG_IsOK(res2)) { | |
14568 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14569 | } | |
14570 | if (!argp2) { | |
14571 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14572 | } | |
14573 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14574 | { | |
14575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14576 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14577 | wxPyEndAllowThreads(__tstate); | |
14578 | if (PyErr_Occurred()) SWIG_fail; | |
14579 | } | |
14580 | resultobj = SWIG_Py_Void(); | |
14581 | return resultobj; | |
14582 | fail: | |
14583 | return NULL; | |
14584 | } | |
14585 | ||
14586 | ||
14587 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14588 | PyObject *resultobj = 0; | |
14589 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14590 | wxFont *arg2 = 0 ; | |
14591 | void *argp1 = 0 ; | |
14592 | int res1 = 0 ; | |
14593 | void *argp2 = 0 ; | |
14594 | int res2 = 0 ; | |
14595 | PyObject * obj0 = 0 ; | |
14596 | PyObject * obj1 = 0 ; | |
14597 | char * kwnames[] = { | |
14598 | (char *) "self",(char *) "measuring_font", NULL | |
14599 | }; | |
14600 | ||
14601 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14602 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14603 | if (!SWIG_IsOK(res1)) { | |
14604 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14605 | } | |
14606 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14607 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14608 | if (!SWIG_IsOK(res2)) { | |
14609 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14610 | } | |
14611 | if (!argp2) { | |
14612 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14613 | } | |
14614 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14615 | { | |
14616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14617 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14618 | wxPyEndAllowThreads(__tstate); | |
14619 | if (PyErr_Occurred()) SWIG_fail; | |
14620 | } | |
14621 | resultobj = SWIG_Py_Void(); | |
14622 | return resultobj; | |
14623 | fail: | |
14624 | return NULL; | |
14625 | } | |
14626 | ||
14627 | ||
14628 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14629 | PyObject *resultobj = 0; | |
14630 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14631 | void *argp1 = 0 ; | |
14632 | int res1 = 0 ; | |
14633 | PyObject *swig_obj[1] ; | |
14634 | ||
14635 | if (!args) SWIG_fail; | |
14636 | swig_obj[0] = args; | |
14637 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14638 | if (!SWIG_IsOK(res1)) { | |
14639 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14640 | } | |
14641 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14642 | { | |
14643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14644 | (arg1)->DoShowHide(); | |
14645 | wxPyEndAllowThreads(__tstate); | |
14646 | if (PyErr_Occurred()) SWIG_fail; | |
14647 | } | |
14648 | resultobj = SWIG_Py_Void(); | |
14649 | return resultobj; | |
14650 | fail: | |
14651 | return NULL; | |
14652 | } | |
14653 | ||
14654 | ||
14655 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14656 | PyObject *resultobj = 0; | |
14657 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14658 | wxRect *arg2 = 0 ; | |
14659 | void *argp1 = 0 ; | |
14660 | int res1 = 0 ; | |
14661 | wxRect temp2 ; | |
14662 | PyObject * obj0 = 0 ; | |
14663 | PyObject * obj1 = 0 ; | |
14664 | char * kwnames[] = { | |
14665 | (char *) "self",(char *) "rect", NULL | |
14666 | }; | |
14667 | ||
14668 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14669 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14670 | if (!SWIG_IsOK(res1)) { | |
14671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14672 | } | |
14673 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14674 | { | |
14675 | arg2 = &temp2; | |
14676 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14677 | } | |
14678 | { | |
14679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14680 | (arg1)->SetRect((wxRect const &)*arg2); | |
14681 | wxPyEndAllowThreads(__tstate); | |
14682 | if (PyErr_Occurred()) SWIG_fail; | |
14683 | } | |
14684 | resultobj = SWIG_Py_Void(); | |
14685 | return resultobj; | |
14686 | fail: | |
14687 | return NULL; | |
14688 | } | |
14689 | ||
14690 | ||
36cb9ebe RD |
14691 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14692 | PyObject *resultobj = 0; | |
14693 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14694 | int arg2 ; | |
14695 | void *argp1 = 0 ; | |
14696 | int res1 = 0 ; | |
14697 | int val2 ; | |
14698 | int ecode2 = 0 ; | |
14699 | PyObject * obj0 = 0 ; | |
14700 | PyObject * obj1 = 0 ; | |
14701 | char * kwnames[] = { | |
14702 | (char *) "self",(char *) "id", NULL | |
14703 | }; | |
14704 | ||
14705 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14706 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14707 | if (!SWIG_IsOK(res1)) { | |
14708 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14709 | } | |
14710 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14711 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14712 | if (!SWIG_IsOK(ecode2)) { | |
14713 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14714 | } | |
14715 | arg2 = static_cast< int >(val2); | |
14716 | { | |
14717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14718 | (arg1)->RemoveButton(arg2); | |
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 *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14730 | PyObject *resultobj = 0; | |
14731 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14732 | int arg2 ; | |
5c8c7dd3 | 14733 | int arg3 ; |
8f514ab4 RD |
14734 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14735 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14736 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14737 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14738 | void *argp1 = 0 ; |
14739 | int res1 = 0 ; | |
14740 | int val2 ; | |
14741 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14742 | int val3 ; |
14743 | int ecode3 = 0 ; | |
14744 | void *argp4 = 0 ; | |
14745 | int res4 = 0 ; | |
8f514ab4 RD |
14746 | void *argp5 = 0 ; |
14747 | int res5 = 0 ; | |
10044bf1 RD |
14748 | PyObject * obj0 = 0 ; |
14749 | PyObject * obj1 = 0 ; | |
14750 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14751 | PyObject * obj3 = 0 ; |
8f514ab4 | 14752 | PyObject * obj4 = 0 ; |
10044bf1 | 14753 | char * kwnames[] = { |
8f514ab4 | 14754 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14755 | }; |
14756 | ||
8f514ab4 | 14757 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14758 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14759 | if (!SWIG_IsOK(res1)) { | |
14760 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14761 | } | |
14762 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14763 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14764 | if (!SWIG_IsOK(ecode2)) { | |
14765 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14766 | } | |
14767 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14768 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14769 | if (!SWIG_IsOK(ecode3)) { | |
14770 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14771 | } | |
14772 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14773 | if (obj3) { |
14774 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14775 | if (!SWIG_IsOK(res4)) { | |
14776 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14777 | } | |
14778 | if (!argp4) { | |
14779 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14780 | } | |
14781 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14782 | } |
8f514ab4 RD |
14783 | if (obj4) { |
14784 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14785 | if (!SWIG_IsOK(res5)) { | |
14786 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14787 | } | |
14788 | if (!argp5) { | |
14789 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14790 | } | |
14791 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14792 | } |
10044bf1 RD |
14793 | { |
14794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14795 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14796 | wxPyEndAllowThreads(__tstate); | |
14797 | if (PyErr_Occurred()) SWIG_fail; | |
14798 | } | |
14799 | resultobj = SWIG_Py_Void(); | |
14800 | return resultobj; | |
14801 | fail: | |
14802 | return NULL; | |
14803 | } | |
14804 | ||
14805 | ||
14806 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14807 | PyObject *resultobj = 0; | |
14808 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14809 | size_t result; | |
14810 | void *argp1 = 0 ; | |
14811 | int res1 = 0 ; | |
14812 | PyObject *swig_obj[1] ; | |
14813 | ||
14814 | if (!args) SWIG_fail; | |
14815 | swig_obj[0] = args; | |
14816 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14817 | if (!SWIG_IsOK(res1)) { | |
14818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14819 | } | |
14820 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14821 | { | |
14822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14823 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14824 | wxPyEndAllowThreads(__tstate); | |
14825 | if (PyErr_Occurred()) SWIG_fail; | |
14826 | } | |
14827 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14828 | return resultobj; | |
14829 | fail: | |
14830 | return NULL; | |
14831 | } | |
14832 | ||
14833 | ||
14834 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14835 | PyObject *resultobj = 0; | |
14836 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14837 | size_t arg2 ; | |
14838 | void *argp1 = 0 ; | |
14839 | int res1 = 0 ; | |
14840 | size_t val2 ; | |
14841 | int ecode2 = 0 ; | |
14842 | PyObject * obj0 = 0 ; | |
14843 | PyObject * obj1 = 0 ; | |
14844 | char * kwnames[] = { | |
14845 | (char *) "self",(char *) "offset", NULL | |
14846 | }; | |
14847 | ||
14848 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14849 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14850 | if (!SWIG_IsOK(res1)) { | |
14851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14852 | } | |
14853 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14854 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14855 | if (!SWIG_IsOK(ecode2)) { | |
14856 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14857 | } | |
14858 | arg2 = static_cast< size_t >(val2); | |
14859 | { | |
14860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14861 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14862 | wxPyEndAllowThreads(__tstate); |
14863 | if (PyErr_Occurred()) SWIG_fail; | |
14864 | } | |
14865 | resultobj = SWIG_Py_Void(); | |
14866 | return resultobj; | |
14867 | fail: | |
14868 | return NULL; | |
14869 | } | |
14870 | ||
14871 | ||
14872 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14873 | PyObject *obj; | |
14874 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14875 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14876 | return SWIG_Py_Void(); | |
14877 | } | |
14878 | ||
14879 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14880 | return SWIG_Python_InitShadowInstance(args); | |
14881 | } | |
14882 | ||
14883 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14884 | PyObject *resultobj = 0; | |
14885 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14886 | int arg2 = (int) wxID_ANY ; | |
14887 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14888 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14889 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14890 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14891 | long arg5 = (long) 0 ; | |
14892 | wxAuiTabCtrl *result = 0 ; | |
14893 | void *argp1 = 0 ; | |
14894 | int res1 = 0 ; | |
14895 | int val2 ; | |
14896 | int ecode2 = 0 ; | |
14897 | wxPoint temp3 ; | |
14898 | wxSize temp4 ; | |
14899 | long val5 ; | |
14900 | int ecode5 = 0 ; | |
14901 | PyObject * obj0 = 0 ; | |
14902 | PyObject * obj1 = 0 ; | |
14903 | PyObject * obj2 = 0 ; | |
14904 | PyObject * obj3 = 0 ; | |
14905 | PyObject * obj4 = 0 ; | |
14906 | char * kwnames[] = { | |
14907 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14908 | }; | |
14909 | ||
14910 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14911 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14912 | if (!SWIG_IsOK(res1)) { | |
14913 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14914 | } | |
14915 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14916 | if (obj1) { | |
14917 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14918 | if (!SWIG_IsOK(ecode2)) { | |
14919 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14920 | } | |
14921 | arg2 = static_cast< int >(val2); | |
14922 | } | |
14923 | if (obj2) { | |
14924 | { | |
14925 | arg3 = &temp3; | |
14926 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14927 | } | |
14928 | } | |
14929 | if (obj3) { | |
14930 | { | |
14931 | arg4 = &temp4; | |
14932 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14933 | } | |
14934 | } | |
14935 | if (obj4) { | |
14936 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14937 | if (!SWIG_IsOK(ecode5)) { | |
14938 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14939 | } | |
14940 | arg5 = static_cast< long >(val5); | |
14941 | } | |
14942 | { | |
14943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14944 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14945 | wxPyEndAllowThreads(__tstate); | |
14946 | if (PyErr_Occurred()) SWIG_fail; | |
14947 | } | |
14948 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14949 | return resultobj; | |
14950 | fail: | |
14951 | return NULL; | |
14952 | } | |
14953 | ||
14954 | ||
580080c5 RD |
14955 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14956 | PyObject *resultobj = 0; | |
14957 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14958 | void *argp1 = 0 ; | |
14959 | int res1 = 0 ; | |
14960 | PyObject *swig_obj[1] ; | |
14961 | ||
14962 | if (!args) SWIG_fail; | |
14963 | swig_obj[0] = args; | |
14964 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14965 | if (!SWIG_IsOK(res1)) { | |
14966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14967 | } | |
14968 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14969 | { | |
14970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14971 | delete arg1; | |
14972 | ||
14973 | wxPyEndAllowThreads(__tstate); | |
14974 | if (PyErr_Occurred()) SWIG_fail; | |
14975 | } | |
14976 | resultobj = SWIG_Py_Void(); | |
14977 | return resultobj; | |
14978 | fail: | |
14979 | return NULL; | |
14980 | } | |
14981 | ||
14982 | ||
10044bf1 RD |
14983 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14984 | PyObject *obj; | |
14985 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14986 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14987 | return SWIG_Py_Void(); | |
14988 | } | |
14989 | ||
14990 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14991 | return SWIG_Python_InitShadowInstance(args); | |
14992 | } | |
14993 | ||
5eb8189c | 14994 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 14995 | PyObject *resultobj = 0; |
5eb8189c | 14996 | wxAuiNotebook *result = 0 ; |
10044bf1 | 14997 | |
5eb8189c | 14998 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
14999 | { |
15000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15001 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
15002 | wxPyEndAllowThreads(__tstate); |
15003 | if (PyErr_Occurred()) SWIG_fail; | |
15004 | } | |
5eb8189c | 15005 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
15006 | return resultobj; |
15007 | fail: | |
15008 | return NULL; | |
15009 | } | |
15010 | ||
15011 | ||
5eb8189c | 15012 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
15013 | PyObject *resultobj = 0; |
15014 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15015 | int arg2 = (int) wxID_ANY ; | |
15016 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
15017 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15018 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15019 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
15020 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
15021 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
15022 | void *argp1 = 0 ; |
15023 | int res1 = 0 ; | |
15024 | int val2 ; | |
15025 | int ecode2 = 0 ; | |
15026 | wxPoint temp3 ; | |
15027 | wxSize temp4 ; | |
15028 | long val5 ; | |
15029 | int ecode5 = 0 ; | |
15030 | PyObject * obj0 = 0 ; | |
15031 | PyObject * obj1 = 0 ; | |
15032 | PyObject * obj2 = 0 ; | |
15033 | PyObject * obj3 = 0 ; | |
15034 | PyObject * obj4 = 0 ; | |
15035 | char * kwnames[] = { | |
15036 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15037 | }; | |
15038 | ||
5eb8189c | 15039 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
15040 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15041 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 15042 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15043 | } |
15044 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15045 | if (obj1) { | |
15046 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15047 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15048 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
15049 | } |
15050 | arg2 = static_cast< int >(val2); | |
15051 | } | |
15052 | if (obj2) { | |
15053 | { | |
15054 | arg3 = &temp3; | |
15055 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15056 | } | |
15057 | } | |
15058 | if (obj3) { | |
15059 | { | |
15060 | arg4 = &temp4; | |
15061 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15062 | } | |
15063 | } | |
15064 | if (obj4) { | |
15065 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
15066 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15067 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
15068 | } |
15069 | arg5 = static_cast< long >(val5); | |
15070 | } | |
15071 | { | |
15072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
15073 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
15074 | wxPyEndAllowThreads(__tstate); | |
15075 | if (PyErr_Occurred()) SWIG_fail; | |
15076 | } | |
15077 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
15078 | return resultobj; | |
15079 | fail: | |
15080 | return NULL; | |
15081 | } | |
15082 | ||
15083 | ||
15084 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15085 | PyObject *resultobj = 0; | |
15086 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15087 | void *argp1 = 0 ; | |
15088 | int res1 = 0 ; | |
15089 | PyObject *swig_obj[1] ; | |
15090 | ||
15091 | if (!args) SWIG_fail; | |
15092 | swig_obj[0] = args; | |
15093 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
15094 | if (!SWIG_IsOK(res1)) { | |
15095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15096 | } | |
15097 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15098 | { | |
15099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15100 | delete arg1; | |
15101 | ||
10044bf1 RD |
15102 | wxPyEndAllowThreads(__tstate); |
15103 | if (PyErr_Occurred()) SWIG_fail; | |
15104 | } | |
5eb8189c | 15105 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
15106 | return resultobj; |
15107 | fail: | |
15108 | return NULL; | |
15109 | } | |
15110 | ||
15111 | ||
5eb8189c | 15112 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15113 | PyObject *resultobj = 0; |
5eb8189c | 15114 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15115 | wxWindow *arg2 = (wxWindow *) 0 ; |
15116 | int arg3 = (int) wxID_ANY ; | |
15117 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
15118 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15119 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15120 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15121 | long arg6 = (long) 0 ; | |
15122 | bool result; | |
15123 | void *argp1 = 0 ; | |
15124 | int res1 = 0 ; | |
15125 | void *argp2 = 0 ; | |
15126 | int res2 = 0 ; | |
15127 | int val3 ; | |
15128 | int ecode3 = 0 ; | |
15129 | wxPoint temp4 ; | |
15130 | wxSize temp5 ; | |
15131 | long val6 ; | |
15132 | int ecode6 = 0 ; | |
15133 | PyObject * obj0 = 0 ; | |
15134 | PyObject * obj1 = 0 ; | |
15135 | PyObject * obj2 = 0 ; | |
15136 | PyObject * obj3 = 0 ; | |
15137 | PyObject * obj4 = 0 ; | |
15138 | PyObject * obj5 = 0 ; | |
15139 | char * kwnames[] = { | |
15140 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15141 | }; | |
15142 | ||
5eb8189c RD |
15143 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15144 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15145 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15147 | } |
5eb8189c | 15148 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15149 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15150 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15151 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15152 | } |
15153 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15154 | if (obj2) { | |
15155 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15156 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 15157 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
15158 | } |
15159 | arg3 = static_cast< int >(val3); | |
15160 | } | |
15161 | if (obj3) { | |
15162 | { | |
15163 | arg4 = &temp4; | |
15164 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15165 | } | |
15166 | } | |
15167 | if (obj4) { | |
15168 | { | |
15169 | arg5 = &temp5; | |
15170 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15171 | } | |
15172 | } | |
15173 | if (obj5) { | |
15174 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
15175 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 15176 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
15177 | } |
15178 | arg6 = static_cast< long >(val6); | |
15179 | } | |
15180 | { | |
15181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15182 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
15183 | wxPyEndAllowThreads(__tstate); | |
15184 | if (PyErr_Occurred()) SWIG_fail; | |
15185 | } | |
15186 | { | |
15187 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15188 | } | |
15189 | return resultobj; | |
15190 | fail: | |
15191 | return NULL; | |
15192 | } | |
15193 | ||
15194 | ||
a6927690 RD |
15195 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15196 | PyObject *resultobj = 0; | |
15197 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15198 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
15199 | void *argp1 = 0 ; | |
15200 | int res1 = 0 ; | |
15201 | void *argp2 = 0 ; | |
15202 | int res2 = 0 ; | |
15203 | PyObject * obj0 = 0 ; | |
15204 | PyObject * obj1 = 0 ; | |
15205 | char * kwnames[] = { | |
15206 | (char *) "self",(char *) "art", NULL | |
15207 | }; | |
15208 | ||
15209 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
15210 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15211 | if (!SWIG_IsOK(res1)) { | |
15212 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15213 | } | |
15214 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15215 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15216 | if (!SWIG_IsOK(res2)) { | |
15217 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
15218 | } | |
15219 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
15220 | { | |
15221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15222 | (arg1)->SetArtProvider(arg2); | |
15223 | wxPyEndAllowThreads(__tstate); | |
15224 | if (PyErr_Occurred()) SWIG_fail; | |
15225 | } | |
15226 | resultobj = SWIG_Py_Void(); | |
15227 | return resultobj; | |
15228 | fail: | |
15229 | return NULL; | |
15230 | } | |
15231 | ||
15232 | ||
15233 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15234 | PyObject *resultobj = 0; | |
15235 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15236 | wxAuiTabArt *result = 0 ; | |
15237 | void *argp1 = 0 ; | |
15238 | int res1 = 0 ; | |
15239 | PyObject *swig_obj[1] ; | |
15240 | ||
15241 | if (!args) SWIG_fail; | |
15242 | swig_obj[0] = args; | |
15243 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15244 | if (!SWIG_IsOK(res1)) { | |
15245 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15246 | } | |
15247 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15248 | { | |
15249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15250 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); | |
15251 | wxPyEndAllowThreads(__tstate); | |
15252 | if (PyErr_Occurred()) SWIG_fail; | |
15253 | } | |
15254 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15255 | return resultobj; | |
15256 | fail: | |
15257 | return NULL; | |
15258 | } | |
15259 | ||
15260 | ||
15261 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15262 | PyObject *resultobj = 0; | |
15263 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15264 | wxSize *arg2 = 0 ; | |
15265 | void *argp1 = 0 ; | |
15266 | int res1 = 0 ; | |
15267 | wxSize temp2 ; | |
15268 | PyObject * obj0 = 0 ; | |
15269 | PyObject * obj1 = 0 ; | |
15270 | char * kwnames[] = { | |
15271 | (char *) "self",(char *) "size", NULL | |
15272 | }; | |
15273 | ||
15274 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) 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_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15278 | } | |
15279 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15280 | { | |
15281 | arg2 = &temp2; | |
15282 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15283 | } | |
15284 | { | |
15285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15286 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15287 | wxPyEndAllowThreads(__tstate); | |
15288 | if (PyErr_Occurred()) SWIG_fail; | |
15289 | } | |
15290 | resultobj = SWIG_Py_Void(); | |
15291 | return resultobj; | |
15292 | fail: | |
15293 | return NULL; | |
15294 | } | |
15295 | ||
15296 | ||
15297 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15298 | PyObject *resultobj = 0; | |
15299 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15300 | int arg2 ; | |
15301 | void *argp1 = 0 ; | |
15302 | int res1 = 0 ; | |
15303 | int val2 ; | |
15304 | int ecode2 = 0 ; | |
15305 | PyObject * obj0 = 0 ; | |
15306 | PyObject * obj1 = 0 ; | |
15307 | char * kwnames[] = { | |
15308 | (char *) "self",(char *) "height", NULL | |
15309 | }; | |
15310 | ||
15311 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15312 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15313 | if (!SWIG_IsOK(res1)) { | |
15314 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15315 | } | |
15316 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15317 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15318 | if (!SWIG_IsOK(ecode2)) { | |
15319 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15320 | } | |
15321 | arg2 = static_cast< int >(val2); | |
15322 | { | |
15323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15324 | (arg1)->SetTabCtrlHeight(arg2); | |
15325 | wxPyEndAllowThreads(__tstate); | |
15326 | if (PyErr_Occurred()) SWIG_fail; | |
15327 | } | |
15328 | resultobj = SWIG_Py_Void(); | |
15329 | return resultobj; | |
15330 | fail: | |
15331 | return NULL; | |
15332 | } | |
15333 | ||
15334 | ||
5eb8189c | 15335 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15336 | PyObject *resultobj = 0; |
5eb8189c | 15337 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15338 | wxWindow *arg2 = (wxWindow *) 0 ; |
15339 | wxString *arg3 = 0 ; | |
15340 | bool arg4 = (bool) false ; | |
15341 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
15342 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
15343 | bool result; | |
15344 | void *argp1 = 0 ; | |
15345 | int res1 = 0 ; | |
15346 | void *argp2 = 0 ; | |
15347 | int res2 = 0 ; | |
15348 | bool temp3 = false ; | |
15349 | bool val4 ; | |
15350 | int ecode4 = 0 ; | |
15351 | void *argp5 = 0 ; | |
15352 | int res5 = 0 ; | |
15353 | PyObject * obj0 = 0 ; | |
15354 | PyObject * obj1 = 0 ; | |
15355 | PyObject * obj2 = 0 ; | |
15356 | PyObject * obj3 = 0 ; | |
15357 | PyObject * obj4 = 0 ; | |
15358 | char * kwnames[] = { | |
15359 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15360 | }; | |
15361 | ||
5eb8189c RD |
15362 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
15363 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15364 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15366 | } |
5eb8189c | 15367 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15368 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15369 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15370 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15371 | } |
15372 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15373 | { | |
15374 | arg3 = wxString_in_helper(obj2); | |
15375 | if (arg3 == NULL) SWIG_fail; | |
15376 | temp3 = true; | |
15377 | } | |
15378 | if (obj3) { | |
15379 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
15380 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 15381 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
15382 | } |
15383 | arg4 = static_cast< bool >(val4); | |
15384 | } | |
15385 | if (obj4) { | |
15386 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15387 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 15388 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15389 | } |
15390 | if (!argp5) { | |
5eb8189c | 15391 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15392 | } |
15393 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15394 | } | |
15395 | { | |
15396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15397 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15398 | wxPyEndAllowThreads(__tstate); | |
15399 | if (PyErr_Occurred()) SWIG_fail; | |
15400 | } | |
15401 | { | |
15402 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15403 | } | |
15404 | { | |
15405 | if (temp3) | |
15406 | delete arg3; | |
15407 | } | |
15408 | return resultobj; | |
15409 | fail: | |
15410 | { | |
15411 | if (temp3) | |
15412 | delete arg3; | |
15413 | } | |
15414 | return NULL; | |
15415 | } | |
15416 | ||
15417 | ||
5eb8189c | 15418 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15419 | PyObject *resultobj = 0; |
5eb8189c | 15420 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15421 | size_t arg2 ; |
15422 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15423 | wxString *arg4 = 0 ; | |
15424 | bool arg5 = (bool) false ; | |
15425 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15426 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15427 | bool result; | |
15428 | void *argp1 = 0 ; | |
15429 | int res1 = 0 ; | |
15430 | size_t val2 ; | |
15431 | int ecode2 = 0 ; | |
15432 | void *argp3 = 0 ; | |
15433 | int res3 = 0 ; | |
15434 | bool temp4 = false ; | |
15435 | bool val5 ; | |
15436 | int ecode5 = 0 ; | |
15437 | void *argp6 = 0 ; | |
15438 | int res6 = 0 ; | |
15439 | PyObject * obj0 = 0 ; | |
15440 | PyObject * obj1 = 0 ; | |
15441 | PyObject * obj2 = 0 ; | |
15442 | PyObject * obj3 = 0 ; | |
15443 | PyObject * obj4 = 0 ; | |
15444 | PyObject * obj5 = 0 ; | |
15445 | char * kwnames[] = { | |
15446 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15447 | }; | |
15448 | ||
5eb8189c RD |
15449 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15450 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15451 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15452 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15453 | } |
5eb8189c | 15454 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15455 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15456 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15457 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15458 | } |
15459 | arg2 = static_cast< size_t >(val2); | |
15460 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15461 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15462 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15463 | } |
15464 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15465 | { | |
15466 | arg4 = wxString_in_helper(obj3); | |
15467 | if (arg4 == NULL) SWIG_fail; | |
15468 | temp4 = true; | |
15469 | } | |
15470 | if (obj4) { | |
15471 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15472 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15473 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
15474 | } |
15475 | arg5 = static_cast< bool >(val5); | |
15476 | } | |
15477 | if (obj5) { | |
15478 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15479 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15480 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15481 | } |
15482 | if (!argp6) { | |
5eb8189c | 15483 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15484 | } |
15485 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15486 | } | |
15487 | { | |
15488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15489 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15490 | wxPyEndAllowThreads(__tstate); | |
15491 | if (PyErr_Occurred()) SWIG_fail; | |
15492 | } | |
15493 | { | |
15494 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15495 | } | |
15496 | { | |
15497 | if (temp4) | |
15498 | delete arg4; | |
15499 | } | |
15500 | return resultobj; | |
15501 | fail: | |
15502 | { | |
15503 | if (temp4) | |
15504 | delete arg4; | |
15505 | } | |
15506 | return NULL; | |
15507 | } | |
15508 | ||
15509 | ||
5eb8189c | 15510 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15511 | PyObject *resultobj = 0; |
5eb8189c | 15512 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15513 | size_t arg2 ; |
15514 | bool result; | |
15515 | void *argp1 = 0 ; | |
15516 | int res1 = 0 ; | |
15517 | size_t val2 ; | |
15518 | int ecode2 = 0 ; | |
15519 | PyObject * obj0 = 0 ; | |
15520 | PyObject * obj1 = 0 ; | |
15521 | char * kwnames[] = { | |
15522 | (char *) "self",(char *) "page", NULL | |
15523 | }; | |
15524 | ||
5eb8189c RD |
15525 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15526 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15527 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15529 | } |
5eb8189c | 15530 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15531 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15532 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15533 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15534 | } |
15535 | arg2 = static_cast< size_t >(val2); | |
15536 | { | |
15537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15538 | result = (bool)(arg1)->DeletePage(arg2); | |
15539 | wxPyEndAllowThreads(__tstate); | |
15540 | if (PyErr_Occurred()) SWIG_fail; | |
15541 | } | |
15542 | { | |
15543 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15544 | } | |
15545 | return resultobj; | |
15546 | fail: | |
15547 | return NULL; | |
15548 | } | |
15549 | ||
15550 | ||
5eb8189c | 15551 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15552 | PyObject *resultobj = 0; |
5eb8189c | 15553 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15554 | size_t arg2 ; |
15555 | bool result; | |
15556 | void *argp1 = 0 ; | |
15557 | int res1 = 0 ; | |
15558 | size_t val2 ; | |
15559 | int ecode2 = 0 ; | |
15560 | PyObject * obj0 = 0 ; | |
15561 | PyObject * obj1 = 0 ; | |
15562 | char * kwnames[] = { | |
15563 | (char *) "self",(char *) "page", NULL | |
15564 | }; | |
15565 | ||
5eb8189c RD |
15566 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15567 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15568 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15569 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15570 | } |
5eb8189c | 15571 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15572 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15573 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15574 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15575 | } |
15576 | arg2 = static_cast< size_t >(val2); | |
15577 | { | |
15578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15579 | result = (bool)(arg1)->RemovePage(arg2); | |
15580 | wxPyEndAllowThreads(__tstate); | |
15581 | if (PyErr_Occurred()) SWIG_fail; | |
15582 | } | |
15583 | { | |
15584 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15585 | } | |
15586 | return resultobj; | |
15587 | fail: | |
15588 | return NULL; | |
15589 | } | |
15590 | ||
15591 | ||
a6927690 | 15592 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15593 | PyObject *resultobj = 0; |
5eb8189c | 15594 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 | 15595 | size_t result; |
10044bf1 RD |
15596 | void *argp1 = 0 ; |
15597 | int res1 = 0 ; | |
a6927690 | 15598 | PyObject *swig_obj[1] ; |
10044bf1 | 15599 | |
a6927690 RD |
15600 | if (!args) SWIG_fail; |
15601 | swig_obj[0] = args; | |
15602 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15603 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15604 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15605 | } |
5eb8189c | 15606 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15607 | { |
15608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15609 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15610 | wxPyEndAllowThreads(__tstate); |
15611 | if (PyErr_Occurred()) SWIG_fail; | |
15612 | } | |
a6927690 | 15613 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
10044bf1 RD |
15614 | return resultobj; |
15615 | fail: | |
10044bf1 RD |
15616 | return NULL; |
15617 | } | |
15618 | ||
15619 | ||
a6927690 | 15620 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15621 | PyObject *resultobj = 0; |
15622 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15623 | size_t arg2 ; | |
a6927690 | 15624 | wxWindow *result = 0 ; |
5172800e RD |
15625 | void *argp1 = 0 ; |
15626 | int res1 = 0 ; | |
15627 | size_t val2 ; | |
15628 | int ecode2 = 0 ; | |
5172800e RD |
15629 | PyObject * obj0 = 0 ; |
15630 | PyObject * obj1 = 0 ; | |
5172800e | 15631 | char * kwnames[] = { |
a6927690 | 15632 | (char *) "self",(char *) "page_idx", NULL |
5172800e RD |
15633 | }; |
15634 | ||
a6927690 | 15635 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
5172800e RD |
15636 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15637 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5172800e RD |
15639 | } |
15640 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15641 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15642 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15643 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
5172800e RD |
15644 | } |
15645 | arg2 = static_cast< size_t >(val2); | |
5172800e RD |
15646 | { |
15647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15648 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
5172800e RD |
15649 | wxPyEndAllowThreads(__tstate); |
15650 | if (PyErr_Occurred()) SWIG_fail; | |
15651 | } | |
15652 | { | |
a6927690 | 15653 | resultobj = wxPyMake_wxObject(result, 0); |
5172800e RD |
15654 | } |
15655 | return resultobj; | |
15656 | fail: | |
15657 | return NULL; | |
15658 | } | |
15659 | ||
15660 | ||
a6927690 | 15661 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15662 | PyObject *resultobj = 0; |
5eb8189c | 15663 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15664 | wxWindow *arg2 = (wxWindow *) 0 ; |
15665 | int result; | |
10044bf1 RD |
15666 | void *argp1 = 0 ; |
15667 | int res1 = 0 ; | |
a6927690 RD |
15668 | void *argp2 = 0 ; |
15669 | int res2 = 0 ; | |
10044bf1 RD |
15670 | PyObject * obj0 = 0 ; |
15671 | PyObject * obj1 = 0 ; | |
15672 | char * kwnames[] = { | |
a6927690 | 15673 | (char *) "self",(char *) "page_wnd", NULL |
10044bf1 RD |
15674 | }; |
15675 | ||
a6927690 | 15676 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15677 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15678 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15680 | } |
5eb8189c | 15681 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15682 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15683 | if (!SWIG_IsOK(res2)) { | |
15684 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15685 | } | |
15686 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10044bf1 RD |
15687 | { |
15688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15689 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); |
10044bf1 RD |
15690 | wxPyEndAllowThreads(__tstate); |
15691 | if (PyErr_Occurred()) SWIG_fail; | |
15692 | } | |
a6927690 | 15693 | resultobj = SWIG_From_int(static_cast< int >(result)); |
10044bf1 RD |
15694 | return resultobj; |
15695 | fail: | |
15696 | return NULL; | |
15697 | } | |
15698 | ||
15699 | ||
a6927690 | 15700 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15701 | PyObject *resultobj = 0; |
5eb8189c | 15702 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15703 | size_t arg2 ; |
15704 | wxString *arg3 = 0 ; | |
15705 | bool result; | |
10044bf1 RD |
15706 | void *argp1 = 0 ; |
15707 | int res1 = 0 ; | |
a6927690 RD |
15708 | size_t val2 ; |
15709 | int ecode2 = 0 ; | |
15710 | bool temp3 = false ; | |
15711 | PyObject * obj0 = 0 ; | |
15712 | PyObject * obj1 = 0 ; | |
15713 | PyObject * obj2 = 0 ; | |
15714 | char * kwnames[] = { | |
15715 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15716 | }; | |
10044bf1 | 15717 | |
a6927690 RD |
15718 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15719 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15720 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15722 | } |
5eb8189c | 15723 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15724 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15725 | if (!SWIG_IsOK(ecode2)) { | |
15726 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
15727 | } | |
15728 | arg2 = static_cast< size_t >(val2); | |
15729 | { | |
15730 | arg3 = wxString_in_helper(obj2); | |
15731 | if (arg3 == NULL) SWIG_fail; | |
15732 | temp3 = true; | |
15733 | } | |
10044bf1 RD |
15734 | { |
15735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15736 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); |
10044bf1 RD |
15737 | wxPyEndAllowThreads(__tstate); |
15738 | if (PyErr_Occurred()) SWIG_fail; | |
15739 | } | |
a6927690 RD |
15740 | { |
15741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 15742 | } |
10044bf1 | 15743 | { |
a6927690 RD |
15744 | if (temp3) |
15745 | delete arg3; | |
10044bf1 | 15746 | } |
10044bf1 RD |
15747 | return resultobj; |
15748 | fail: | |
a6927690 RD |
15749 | { |
15750 | if (temp3) | |
15751 | delete arg3; | |
15752 | } | |
10044bf1 RD |
15753 | return NULL; |
15754 | } | |
15755 | ||
15756 | ||
a6927690 | 15757 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15758 | PyObject *resultobj = 0; |
5eb8189c | 15759 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 | 15760 | size_t arg2 ; |
a6927690 | 15761 | wxString result; |
10044bf1 RD |
15762 | void *argp1 = 0 ; |
15763 | int res1 = 0 ; | |
15764 | size_t val2 ; | |
15765 | int ecode2 = 0 ; | |
15766 | PyObject * obj0 = 0 ; | |
15767 | PyObject * obj1 = 0 ; | |
15768 | char * kwnames[] = { | |
15769 | (char *) "self",(char *) "page_idx", NULL | |
15770 | }; | |
15771 | ||
a6927690 | 15772 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15773 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15774 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15775 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15776 | } |
5eb8189c | 15777 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15778 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15779 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15780 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15781 | } |
15782 | arg2 = static_cast< size_t >(val2); | |
15783 | { | |
15784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15785 | result = ((wxAuiNotebook const *)arg1)->GetPageText(arg2); |
10044bf1 RD |
15786 | wxPyEndAllowThreads(__tstate); |
15787 | if (PyErr_Occurred()) SWIG_fail; | |
15788 | } | |
15789 | { | |
a6927690 RD |
15790 | #if wxUSE_UNICODE |
15791 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15792 | #else | |
15793 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15794 | #endif | |
10044bf1 RD |
15795 | } |
15796 | return resultobj; | |
15797 | fail: | |
15798 | return NULL; | |
15799 | } | |
15800 | ||
15801 | ||
a6927690 | 15802 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15803 | PyObject *resultobj = 0; |
15804 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15805 | size_t arg2 ; |
15806 | wxBitmap *arg3 = 0 ; | |
15807 | bool result; | |
5172800e RD |
15808 | void *argp1 = 0 ; |
15809 | int res1 = 0 ; | |
a6927690 RD |
15810 | size_t val2 ; |
15811 | int ecode2 = 0 ; | |
15812 | void *argp3 = 0 ; | |
15813 | int res3 = 0 ; | |
5172800e RD |
15814 | PyObject * obj0 = 0 ; |
15815 | PyObject * obj1 = 0 ; | |
a6927690 | 15816 | PyObject * obj2 = 0 ; |
5172800e | 15817 | char * kwnames[] = { |
a6927690 | 15818 | (char *) "self",(char *) "page",(char *) "bitmap", NULL |
5172800e RD |
15819 | }; |
15820 | ||
a6927690 | 15821 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
5172800e RD |
15822 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15823 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15824 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5172800e RD |
15825 | } |
15826 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 RD |
15827 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15828 | if (!SWIG_IsOK(ecode2)) { | |
15829 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15830 | } | |
15831 | arg2 = static_cast< size_t >(val2); | |
15832 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15833 | if (!SWIG_IsOK(res3)) { | |
15834 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
5172800e | 15835 | } |
a6927690 RD |
15836 | if (!argp3) { |
15837 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15838 | } | |
15839 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
5172800e RD |
15840 | { |
15841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15842 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); |
5172800e RD |
15843 | wxPyEndAllowThreads(__tstate); |
15844 | if (PyErr_Occurred()) SWIG_fail; | |
15845 | } | |
a6927690 RD |
15846 | { |
15847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15848 | } | |
5172800e RD |
15849 | return resultobj; |
15850 | fail: | |
15851 | return NULL; | |
15852 | } | |
15853 | ||
15854 | ||
a6927690 | 15855 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15856 | PyObject *resultobj = 0; |
5eb8189c | 15857 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15858 | size_t arg2 ; |
15859 | wxBitmap result; | |
5c8c7dd3 RD |
15860 | void *argp1 = 0 ; |
15861 | int res1 = 0 ; | |
a6927690 RD |
15862 | size_t val2 ; |
15863 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
15864 | PyObject * obj0 = 0 ; |
15865 | PyObject * obj1 = 0 ; | |
15866 | char * kwnames[] = { | |
a6927690 | 15867 | (char *) "self",(char *) "page_idx", NULL |
5c8c7dd3 RD |
15868 | }; |
15869 | ||
a6927690 | 15870 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageBitmap",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15871 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15872 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15873 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15874 | } |
5eb8189c | 15875 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15876 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15877 | if (!SWIG_IsOK(ecode2)) { | |
15878 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15879 | } | |
15880 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15881 | { |
15882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15883 | result = ((wxAuiNotebook const *)arg1)->GetPageBitmap(arg2); |
5c8c7dd3 RD |
15884 | wxPyEndAllowThreads(__tstate); |
15885 | if (PyErr_Occurred()) SWIG_fail; | |
15886 | } | |
a6927690 | 15887 | resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); |
5c8c7dd3 RD |
15888 | return resultobj; |
15889 | fail: | |
15890 | return NULL; | |
15891 | } | |
15892 | ||
15893 | ||
a6927690 | 15894 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15895 | PyObject *resultobj = 0; |
5eb8189c | 15896 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15897 | size_t arg2 ; |
15898 | size_t result; | |
5c8c7dd3 RD |
15899 | void *argp1 = 0 ; |
15900 | int res1 = 0 ; | |
a6927690 RD |
15901 | size_t val2 ; |
15902 | int ecode2 = 0 ; | |
15903 | PyObject * obj0 = 0 ; | |
15904 | PyObject * obj1 = 0 ; | |
15905 | char * kwnames[] = { | |
15906 | (char *) "self",(char *) "new_page", NULL | |
15907 | }; | |
5c8c7dd3 | 15908 | |
a6927690 RD |
15909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15911 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15913 | } |
5eb8189c | 15914 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15915 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15916 | if (!SWIG_IsOK(ecode2)) { | |
15917 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
15918 | } | |
15919 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15920 | { |
15921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15922 | result = (size_t)(arg1)->SetSelection(arg2); |
5c8c7dd3 RD |
15923 | wxPyEndAllowThreads(__tstate); |
15924 | if (PyErr_Occurred()) SWIG_fail; | |
15925 | } | |
a6927690 | 15926 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
5c8c7dd3 RD |
15927 | return resultobj; |
15928 | fail: | |
15929 | return NULL; | |
15930 | } | |
15931 | ||
15932 | ||
a6927690 | 15933 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8287c33f RD |
15934 | PyObject *resultobj = 0; |
15935 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 | 15936 | int result; |
8287c33f RD |
15937 | void *argp1 = 0 ; |
15938 | int res1 = 0 ; | |
a6927690 | 15939 | PyObject *swig_obj[1] ; |
8287c33f | 15940 | |
a6927690 RD |
15941 | if (!args) SWIG_fail; |
15942 | swig_obj[0] = args; | |
15943 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
8287c33f | 15944 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
8287c33f RD |
15946 | } |
15947 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
8287c33f RD |
15948 | { |
15949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15950 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
8287c33f RD |
15951 | wxPyEndAllowThreads(__tstate); |
15952 | if (PyErr_Occurred()) SWIG_fail; | |
15953 | } | |
a6927690 | 15954 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8287c33f RD |
15955 | return resultobj; |
15956 | fail: | |
15957 | return NULL; | |
15958 | } | |
15959 | ||
15960 | ||
a6927690 | 15961 | SWIGINTERN PyObject *_wrap_AuiNotebook_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8287c33f RD |
15962 | PyObject *resultobj = 0; |
15963 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15964 | size_t arg2 ; |
15965 | int arg3 ; | |
8287c33f RD |
15966 | void *argp1 = 0 ; |
15967 | int res1 = 0 ; | |
a6927690 | 15968 | size_t val2 ; |
8287c33f | 15969 | int ecode2 = 0 ; |
a6927690 RD |
15970 | int val3 ; |
15971 | int ecode3 = 0 ; | |
8287c33f RD |
15972 | PyObject * obj0 = 0 ; |
15973 | PyObject * obj1 = 0 ; | |
a6927690 | 15974 | PyObject * obj2 = 0 ; |
8287c33f | 15975 | char * kwnames[] = { |
a6927690 | 15976 | (char *) "self",(char *) "page",(char *) "direction", NULL |
8287c33f RD |
15977 | }; |
15978 | ||
a6927690 | 15979 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_Split",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8287c33f RD |
15980 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15981 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Split" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
8287c33f RD |
15983 | } |
15984 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 | 15985 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
8287c33f | 15986 | if (!SWIG_IsOK(ecode2)) { |
a6927690 | 15987 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_Split" "', expected argument " "2"" of type '" "size_t""'"); |
8287c33f | 15988 | } |
a6927690 RD |
15989 | arg2 = static_cast< size_t >(val2); |
15990 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15991 | if (!SWIG_IsOK(ecode3)) { | |
15992 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Split" "', expected argument " "3"" of type '" "int""'"); | |
15993 | } | |
15994 | arg3 = static_cast< int >(val3); | |
8287c33f RD |
15995 | { |
15996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15997 | (arg1)->Split(arg2,arg3); |
8287c33f RD |
15998 | wxPyEndAllowThreads(__tstate); |
15999 | if (PyErr_Occurred()) SWIG_fail; | |
16000 | } | |
16001 | resultobj = SWIG_Py_Void(); | |
16002 | return resultobj; | |
16003 | fail: | |
16004 | return NULL; | |
16005 | } | |
16006 | ||
16007 | ||
5eb8189c | 16008 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16009 | PyObject *obj; |
16010 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16011 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
16012 | return SWIG_Py_Void(); |
16013 | } | |
16014 | ||
5eb8189c | 16015 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16016 | return SWIG_Python_InitShadowInstance(args); |
16017 | } | |
16018 | ||
5eb8189c | 16019 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16020 | PyObject *obj; |
16021 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16022 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
16023 | return SWIG_Py_Void(); |
16024 | } | |
16025 | ||
5eb8189c | 16026 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
16027 | PyObject *obj; |
16028 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16029 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
16030 | return SWIG_Py_Void(); |
16031 | } | |
16032 | ||
10044bf1 | 16033 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
16034 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
16035 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
16036 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16037 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
16038 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
16039 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
16040 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
16041 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
16042 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
16043 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
16044 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
16045 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
16046 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
16047 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
16048 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
16049 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
16050 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
16051 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
16052 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
16053 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
16054 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
16055 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
16056 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
16057 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
16058 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
16059 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
16060 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16061 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16062 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16063 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
16064 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
16065 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
16066 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
16067 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
16068 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
16069 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16070 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16071 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16072 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16073 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16074 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16075 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16076 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16077 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16078 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
16079 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16080 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
16081 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
16082 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
16083 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16084 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16085 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
16086 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
16087 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16088 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16089 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16090 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16091 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16092 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16093 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16094 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16095 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16096 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16097 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16098 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16099 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16100 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16101 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, |
16102 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
16103 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
16104 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
16105 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
16106 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16107 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16108 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
16109 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
16110 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
16111 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
16112 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
16113 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
16114 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
16115 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
16116 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
16117 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
16118 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
16119 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
16120 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
16121 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
16122 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
16123 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
16124 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
16125 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
16126 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
16127 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
16128 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
16129 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
16130 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
16131 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
16132 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
16133 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
16134 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
16135 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
16136 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
16137 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
16138 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
16139 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
16140 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
16141 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
16142 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
16143 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
16144 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16145 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
16146 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
16147 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16148 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
16149 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16150 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
eccab1a7 | 16151 | { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16152 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16153 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
16154 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16155 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16156 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
16157 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
16158 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16159 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
16160 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16161 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d7645bfd | 16162 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, |
5eb8189c RD |
16163 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
16164 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16165 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
16166 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d7645bfd VZ |
16167 | { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, |
16168 | { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16169 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16170 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16171 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16172 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
5eb8189c | 16173 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
e7e9d1b8 | 16174 | { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, |
5172800e | 16175 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16176 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
16177 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16178 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
16179 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16180 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16181 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
16182 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
16183 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16184 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
eccab1a7 | 16185 | { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16186 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, |
16187 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16188 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
eccab1a7 | 16189 | { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL}, |
5eb8189c RD |
16190 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, |
16191 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
16192 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
16193 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16194 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
16195 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16196 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
eccab1a7 RD |
16197 | { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL}, |
16198 | { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL}, | |
5eb8189c RD |
16199 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, |
16200 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
16201 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
16202 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
16203 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
16204 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
16205 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
16206 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
16207 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
16208 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
16209 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
16210 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
16211 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
16212 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
16213 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
16214 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
16215 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
16216 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
16217 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
16218 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
16219 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
16220 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
16221 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
16222 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
16223 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
16224 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
16225 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
16226 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
16227 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
16228 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
16229 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
16230 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
16231 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
16232 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
16233 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
16234 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
cbdf0fb0 RD |
16235 | { (char *)"AuiDockInfo_reserved1_set", _wrap_AuiDockInfo_reserved1_set, METH_VARARGS, NULL}, |
16236 | { (char *)"AuiDockInfo_reserved1_get", (PyCFunction)_wrap_AuiDockInfo_reserved1_get, METH_O, NULL}, | |
5eb8189c RD |
16237 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, |
16238 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
16239 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
16240 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
16241 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
16242 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
16243 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
16244 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
16245 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
16246 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
16247 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
16248 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
16249 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
16250 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
16251 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
16252 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
16253 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
16254 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
16255 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
16256 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
16257 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
16258 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
16259 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
16260 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
16261 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
16262 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
16263 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16264 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16265 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16266 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16267 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16268 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16269 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16270 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16271 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16272 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16273 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16274 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16275 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16276 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16277 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16278 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
16279 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
16280 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
16281 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16282 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
16283 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
eccab1a7 | 16284 | { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL}, |
5eb8189c RD |
16285 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, |
16286 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
16287 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
16288 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 | 16289 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, |
d95b9f2b | 16290 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 16291 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, |
d95b9f2b RD |
16292 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
16293 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
10044bf1 RD |
16294 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, |
16295 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
16296 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
16297 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
d95b9f2b RD |
16298 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, |
16299 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
10044bf1 RD |
16300 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, |
16301 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
16302 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
16303 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
16304 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
16305 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
16306 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
16307 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
16308 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
16309 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
16310 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
16311 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
16312 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
16313 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
16314 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
16315 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
16316 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
16317 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
16318 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
10044bf1 RD |
16319 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
16320 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
16321 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
16322 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
10044bf1 RD |
16323 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
16324 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
16325 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
5172800e RD |
16326 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, |
16327 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
16328 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16329 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16330 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16331 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16332 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16333 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16334 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16335 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 16336 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
d754c85e RD |
16337 | { (char *)"AuiTabArt_ShowDropDown", (PyCFunction) _wrap_AuiTabArt_ShowDropDown, METH_VARARGS | METH_KEYWORDS, NULL}, |
16338 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
5172800e RD |
16339 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
16340 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
16341 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
16342 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
16343 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
16344 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
16345 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
16346 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
16347 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
16348 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
10044bf1 RD |
16349 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, |
16350 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
16351 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16352 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
16353 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
16354 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
10044bf1 RD |
16355 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16356 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 16357 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
16358 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16359 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
16360 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
16361 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
16362 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16363 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16364 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16365 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16366 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
d48ae46b | 16367 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 RD |
16368 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, |
16369 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16370 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16371 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16372 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
16373 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 16374 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
10044bf1 | 16375 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
16376 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
16377 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
10044bf1 RD |
16378 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
16379 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
16380 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 16381 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
10044bf1 RD |
16382 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
16383 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
16384 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
16385 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16386 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
16387 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
a6927690 RD |
16388 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16389 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
16390 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16391 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16392 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16393 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16394 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16395 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
a6927690 RD |
16396 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, |
16397 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16398 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c | 16399 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, |
a6927690 | 16400 | { (char *)"AuiNotebook_GetPageText", (PyCFunction) _wrap_AuiNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, |
5172800e | 16401 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
a6927690 | 16402 | { (char *)"AuiNotebook_GetPageBitmap", (PyCFunction) _wrap_AuiNotebook_GetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16403 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
16404 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
a6927690 | 16405 | { (char *)"AuiNotebook_Split", (PyCFunction) _wrap_AuiNotebook_Split, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16406 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, |
16407 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
16408 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16409 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
16410 | { NULL, NULL, 0, NULL } |
16411 | }; | |
16412 | ||
16413 | ||
16414 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
16415 | ||
5eb8189c RD |
16416 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
16417 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16418 | } |
16419 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
16420 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
16421 | } | |
16422 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
16423 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16424 | } | |
16425 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
16426 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16427 | } | |
16428 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
16429 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16430 | } | |
16431 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
16432 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
16433 | } | |
16434 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
16435 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16436 | } | |
16437 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
16438 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
16439 | } | |
5eb8189c RD |
16440 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
16441 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
16442 | } | |
5172800e RD |
16443 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
16444 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
16445 | } | |
5eb8189c RD |
16446 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
16447 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
16448 | } | |
10044bf1 RD |
16449 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
16450 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16451 | } | |
16452 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
16453 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16454 | } | |
27e45892 RD |
16455 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
16456 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
16457 | } | |
16458 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
16459 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
16460 | } | |
16461 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
16462 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
16463 | } | |
16464 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
16465 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
16466 | } | |
16467 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
16468 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
16469 | } | |
16470 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
16471 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
16472 | } | |
16473 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
16474 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
16475 | } | |
16476 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
16477 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
16478 | } | |
16479 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
16480 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
16481 | } | |
5eb8189c RD |
16482 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
16483 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16484 | } |
16485 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
16486 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
16487 | } | |
16488 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16489 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
16490 | } | |
16491 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16492 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16493 | } | |
16494 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16495 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
16496 | } | |
16497 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16498 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16499 | } | |
16500 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16501 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16502 | } | |
16503 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
16504 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
16505 | } | |
16506 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
16507 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
16508 | } | |
16509 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
16510 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
16511 | } | |
16512 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16513 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
16514 | } | |
16515 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16516 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16517 | } | |
16518 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
16519 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16520 | } | |
16521 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
16522 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16523 | } | |
16524 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
16525 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
16526 | } | |
16527 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
16528 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
16529 | } | |
16530 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
16531 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16532 | } | |
16533 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
16534 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16535 | } | |
16536 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
16537 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16538 | } | |
16539 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
16540 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16541 | } | |
16542 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
16543 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16544 | } | |
16545 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
16546 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16547 | } | |
16548 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
16549 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16550 | } | |
16551 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
16552 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16553 | } | |
16554 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
16555 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16556 | } | |
16557 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
16558 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
16559 | } | |
16560 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
16561 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
16562 | } | |
16563 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
16564 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16565 | } | |
16566 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
16567 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
16568 | } | |
16569 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
16570 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16571 | } | |
16572 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
16573 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
16574 | } | |
16575 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
16576 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16577 | } | |
16578 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
16579 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
16580 | } | |
16581 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
16582 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
16583 | } | |
16584 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
16585 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
16586 | } | |
16587 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
16588 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
16589 | } | |
16590 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
16591 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
16592 | } | |
16593 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
16594 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
16595 | } | |
16596 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
16597 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16598 | } | |
16599 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
16600 | return (void *)((wxWindow *) ((wxControl *) x)); | |
16601 | } | |
16602 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
16603 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16604 | } | |
16605 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
16606 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16607 | } | |
16608 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
16609 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16610 | } | |
16611 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
16612 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
16613 | } | |
16614 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
16615 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
16616 | } | |
16617 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
16618 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16619 | } | |
f9bf356b RD |
16620 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
16621 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
16622 | } | |
27e45892 RD |
16623 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
16624 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16625 | } | |
16626 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
16627 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16628 | } | |
5eb8189c RD |
16629 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
16630 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16631 | } |
27e45892 RD |
16632 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
16633 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
16634 | } | |
16635 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
16636 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16637 | } | |
10044bf1 RD |
16638 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
16639 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
16640 | } | |
27e45892 RD |
16641 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
16642 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
16643 | } | |
16644 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
16645 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16646 | } | |
16647 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
16648 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16649 | } | |
16650 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
16651 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16652 | } | |
16653 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
16654 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
16655 | } | |
5eb8189c RD |
16656 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
16657 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16658 | } | |
27e45892 RD |
16659 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
16660 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16661 | } | |
10044bf1 RD |
16662 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
16663 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
16664 | } | |
16665 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
16666 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
16667 | } | |
16668 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
16669 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
16670 | } | |
16671 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
16672 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
16673 | } | |
16674 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
16675 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
16676 | } | |
16677 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
16678 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
16679 | } | |
16680 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
16681 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
16682 | } | |
16683 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
16684 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
16685 | } | |
16686 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
16687 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
16688 | } | |
16689 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
16690 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
16691 | } | |
16692 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
16693 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
16694 | } | |
16695 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
16696 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
16697 | } | |
16698 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
16699 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
16700 | } | |
16701 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
16702 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
16703 | } | |
16704 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
16705 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
16706 | } | |
16707 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
16708 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
16709 | } | |
16710 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
16711 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
16712 | } | |
16713 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
16714 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
16715 | } | |
16716 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
16717 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
16718 | } | |
16719 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
16720 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
16721 | } | |
16722 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
16723 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
16724 | } | |
16725 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
16726 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
16727 | } | |
16728 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
16729 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
16730 | } | |
16731 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
16732 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
16733 | } | |
16734 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
16735 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
16736 | } | |
16737 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
16738 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
16739 | } | |
16740 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
16741 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
16742 | } | |
16743 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
16744 | return (void *)((wxWindow **) ((wxControl **) x)); | |
16745 | } | |
16746 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
16747 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
16748 | } | |
16749 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
16750 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
16751 | } | |
16752 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
16753 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
16754 | } | |
16755 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
16756 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
16757 | } | |
16758 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
16759 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
16760 | } | |
16761 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
16762 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
16763 | } | |
f9bf356b RD |
16764 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { |
16765 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
16766 | } | |
10044bf1 RD |
16767 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
16768 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
16769 | } | |
16770 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
16771 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
16772 | } | |
5eb8189c RD |
16773 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
16774 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
10044bf1 RD |
16775 | } |
16776 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16777 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
16778 | } | |
16779 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16780 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
16781 | } | |
16782 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
16783 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
16784 | } | |
16785 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
16786 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
16787 | } | |
16788 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
16789 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
16790 | } | |
16791 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
16792 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
16793 | } | |
16794 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
16795 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
16796 | } | |
16797 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
16798 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
16799 | } | |
5eb8189c RD |
16800 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
16801 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
16802 | } | |
10044bf1 RD |
16803 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
16804 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
16805 | } | |
16806 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
16807 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
16808 | } | |
16809 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
16810 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
16811 | } | |
5eb8189c RD |
16812 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
16813 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 16814 | } |
27e45892 RD |
16815 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
16816 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16817 | } | |
16818 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
16819 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
16820 | } | |
16821 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
16822 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
16823 | } | |
16824 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
16825 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
16826 | } | |
16827 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
16828 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
16829 | } | |
16830 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
16831 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
16832 | } | |
16833 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
16834 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16835 | } | |
5eb8189c RD |
16836 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
16837 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16838 | } |
16839 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
16840 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
16841 | } | |
16842 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
16843 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
16844 | } | |
16845 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
16846 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16847 | } | |
16848 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
16849 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16850 | } | |
0f83f5da RD |
16851 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
16852 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16853 | } | |
27e45892 RD |
16854 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
16855 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
16856 | } | |
16857 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
16858 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16859 | } | |
10044bf1 RD |
16860 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
16861 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16862 | } | |
27e45892 RD |
16863 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
16864 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
16865 | } | |
16866 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
16867 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16868 | } | |
16869 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
16870 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16871 | } | |
16872 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
16873 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
16874 | } | |
16875 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
16876 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
16877 | } | |
16878 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
16879 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
16880 | } | |
16881 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
16882 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
16883 | } | |
16884 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
16885 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
16886 | } | |
16887 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
16888 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
16889 | } | |
27e45892 RD |
16890 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
16891 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
16892 | } | |
16893 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
16894 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
16895 | } | |
0f83f5da RD |
16896 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
16897 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16898 | } | |
27e45892 RD |
16899 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
16900 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16901 | } | |
16902 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
16903 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16904 | } | |
16905 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
16906 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16907 | } | |
16908 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
16909 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16910 | } | |
16911 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
16912 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16913 | } | |
16914 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
16915 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
16916 | } | |
16917 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
16918 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
16919 | } | |
16920 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
16921 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16922 | } | |
16923 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
16924 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
16925 | } | |
16926 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
16927 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16928 | } | |
16929 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
16930 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
16931 | } | |
16932 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
16933 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
16934 | } | |
16935 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
16936 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16937 | } | |
16938 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
16939 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16940 | } | |
16941 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
16942 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16943 | } | |
16944 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
16945 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
16946 | } | |
16947 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
16948 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
16949 | } | |
16950 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
16951 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16952 | } | |
16953 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
16954 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
16955 | } | |
16956 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
16957 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16958 | } | |
16959 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
16960 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16961 | } | |
16962 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
16963 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16964 | } | |
27e45892 RD |
16965 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
16966 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
16967 | } | |
0f83f5da RD |
16968 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
16969 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
16970 | } | |
27e45892 RD |
16971 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
16972 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
16973 | } | |
16974 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
16975 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
16976 | } | |
16977 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
16978 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16979 | } | |
16980 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
16981 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
16982 | } | |
16983 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
16984 | return (void *)((wxObject *) ((wxSizer *) x)); | |
16985 | } | |
16986 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
16987 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16988 | } | |
16989 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
16990 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16991 | } | |
16992 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
16993 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16994 | } | |
16995 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
16996 | return (void *)((wxObject *) ((wxEvent *) x)); | |
16997 | } | |
16998 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
16999 | return (void *)((wxObject *) ((wxFontData *) x)); | |
17000 | } | |
17001 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
17002 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
17003 | } | |
17004 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17005 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17006 | } | |
17007 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17008 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17009 | } | |
17010 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17011 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17012 | } | |
17013 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
17014 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
17015 | } | |
17016 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
17017 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
17018 | } | |
17019 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
17020 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17021 | } | |
10044bf1 RD |
17022 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
17023 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
17024 | } | |
27e45892 RD |
17025 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
17026 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17027 | } | |
17028 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17029 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17030 | } | |
17031 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17032 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17033 | } | |
17034 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17035 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17036 | } | |
17037 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17038 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17039 | } | |
17040 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17041 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17042 | } | |
17043 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17044 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17045 | } | |
17046 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
17047 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
17048 | } | |
17049 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17050 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17051 | } | |
17052 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17053 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17054 | } | |
17055 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
17056 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17057 | } | |
5eb8189c RD |
17058 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
17059 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
17060 | } |
17061 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
17062 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
17063 | } | |
17064 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
17065 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
17066 | } | |
5eb8189c RD |
17067 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
17068 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17069 | } | |
27e45892 RD |
17070 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
17071 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17072 | } | |
17073 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
17074 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
17075 | } | |
5eb8189c RD |
17076 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
17077 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 17078 | } |
27e45892 RD |
17079 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
17080 | return (void *)((wxObject *) ((wxColourData *) x)); | |
17081 | } | |
17082 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17083 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17084 | } | |
17085 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17086 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17087 | } | |
17088 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
17089 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
17090 | } | |
17091 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
17092 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
17093 | } | |
17094 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
17095 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17096 | } | |
17097 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
17098 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17099 | } | |
17100 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
17101 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17102 | } | |
17103 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
17104 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17105 | } | |
17106 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
17107 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17108 | } | |
17109 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
17110 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
17111 | } | |
17112 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
17113 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17114 | } | |
17115 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
17116 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17117 | } | |
17118 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
17119 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17120 | } | |
17121 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17122 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17123 | } | |
17124 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
17125 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
17126 | } | |
17127 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17128 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17129 | } | |
17130 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
17131 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17132 | } | |
17133 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17134 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17135 | } | |
17136 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17137 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17138 | } | |
17139 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17140 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17141 | } | |
17142 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17143 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17144 | } | |
17145 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17146 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17147 | } | |
17148 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17149 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17150 | } | |
17151 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17152 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17153 | } | |
17154 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17155 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17156 | } | |
17157 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17158 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17159 | } | |
17160 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17161 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17162 | } | |
17163 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17164 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17165 | } | |
17166 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17167 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17168 | } | |
17169 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17170 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17171 | } | |
17172 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17173 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17174 | } | |
17175 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17176 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17177 | } | |
17178 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17179 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17180 | } | |
17181 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17182 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17183 | } | |
17184 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
17185 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
17186 | } | |
17187 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17188 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17189 | } | |
17190 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17191 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17192 | } | |
17193 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17194 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17195 | } | |
580080c5 RD |
17196 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
17197 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
17198 | } | |
27e45892 RD |
17199 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
17200 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17201 | } | |
0f83f5da RD |
17202 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
17203 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
17204 | } | |
27e45892 RD |
17205 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
17206 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
17207 | } | |
17208 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
17209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17210 | } | |
17211 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
17212 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17213 | } | |
f9bf356b RD |
17214 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
17215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17216 | } | |
27e45892 RD |
17217 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17218 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17219 | } | |
580080c5 RD |
17220 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17221 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17222 | } | |
27e45892 RD |
17223 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
17224 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17225 | } | |
17226 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17227 | return (void *)((wxObject *) ((wxImage *) x)); | |
17228 | } | |
17229 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
17230 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17231 | } | |
17232 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
17233 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
17234 | } | |
17235 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17236 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17237 | } | |
17238 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
17239 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
17240 | } | |
27e45892 RD |
17241 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
17242 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
17243 | } | |
5eb8189c RD |
17244 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
17245 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
17246 | } |
17247 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
17248 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17249 | } | |
10044bf1 RD |
17250 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
17251 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17252 | } | |
27e45892 RD |
17253 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
17254 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17255 | } | |
17256 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17257 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17258 | } | |
17259 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17260 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17261 | } | |
17262 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17263 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17264 | } | |
17265 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17266 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17267 | } | |
17268 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17269 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17270 | } | |
17271 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
17272 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17273 | } | |
17274 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
17275 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
17276 | } | |
17277 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
17278 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
17279 | } | |
17280 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
17281 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
17282 | } | |
17283 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
17284 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
17285 | } | |
17286 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
17287 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17288 | } | |
17289 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
17290 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
17291 | } | |
17292 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
17293 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17294 | } | |
17295 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
17296 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
17297 | } | |
17298 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
17299 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17300 | } | |
17301 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
17302 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
17303 | } | |
17304 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
17305 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17306 | } | |
17307 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
17308 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
17309 | } | |
17310 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
17311 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
17312 | } | |
17313 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
17314 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
17315 | } | |
17316 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
17317 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
17318 | } | |
17319 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
17320 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17321 | } | |
17322 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
17323 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17324 | } | |
17325 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
17326 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17327 | } | |
17328 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
17329 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17330 | } | |
17331 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
17332 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
17333 | } | |
17334 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
17335 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
17336 | } | |
17337 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17338 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17339 | } | |
17340 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17341 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17342 | } | |
17343 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17344 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17345 | } | |
17346 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17347 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17348 | } | |
17349 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17350 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17351 | } | |
17352 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17353 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17354 | } | |
17355 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17356 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17357 | } | |
17358 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17359 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17360 | } | |
17361 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17362 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17363 | } | |
17364 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
17365 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17366 | } | |
17367 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
17368 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17369 | } | |
17370 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17371 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17372 | } | |
17373 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17374 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17375 | } | |
17376 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17377 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17378 | } | |
17379 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17380 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17381 | } | |
17382 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
17383 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
17384 | } | |
17385 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
17386 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
17387 | } | |
17388 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17389 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17390 | } | |
17391 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17392 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17393 | } | |
17394 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
17395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
17396 | } | |
17397 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
17398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17399 | } | |
17400 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
17401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
17402 | } | |
17403 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17404 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17405 | } | |
17406 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17407 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17408 | } | |
17409 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17410 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17411 | } | |
17412 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17413 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17414 | } | |
27e45892 RD |
17415 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
17416 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17417 | } | |
17418 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17419 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17420 | } | |
17421 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17423 | } | |
17424 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
17425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17426 | } | |
f9bf356b RD |
17427 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
17428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17429 | } | |
27e45892 RD |
17430 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
17431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
17432 | } | |
17433 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
17434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17435 | } | |
17436 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
17437 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17438 | } | |
17439 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
17440 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17441 | } | |
17442 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
17443 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
17444 | } | |
17445 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
17446 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
17447 | } | |
17448 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17449 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17450 | } | |
17451 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
17452 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
17453 | } | |
17454 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
17455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17456 | } | |
17457 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
17458 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
17459 | } | |
17460 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
17461 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17462 | } | |
17463 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
17464 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
17465 | } | |
17466 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
17467 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
17468 | } | |
17469 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
17470 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
17471 | } | |
17472 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17473 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17474 | } | |
17475 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17477 | } | |
17478 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
17479 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
17480 | } | |
17481 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
17482 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
17483 | } | |
17484 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17486 | } | |
17487 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17488 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17489 | } | |
17490 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
17492 | } | |
17493 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17495 | } | |
17496 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
17497 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
17498 | } | |
17499 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17500 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17501 | } | |
17502 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17504 | } | |
17505 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
17506 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
17507 | } | |
17508 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
17509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
17510 | } | |
f9bf356b RD |
17511 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17512 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17513 | } | |
27e45892 RD |
17514 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17516 | } | |
17517 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
17518 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17519 | } | |
5eb8189c RD |
17520 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
17521 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 17522 | } |
27e45892 RD |
17523 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
17524 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17525 | } | |
17526 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
17527 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17528 | } | |
17529 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
17530 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
17531 | } | |
10044bf1 RD |
17532 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
17533 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
17534 | } | |
27e45892 RD |
17535 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
17536 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17537 | } | |
17538 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
17539 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17540 | } | |
17541 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
17542 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17543 | } | |
17544 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
17545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17546 | } | |
17547 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
17548 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17549 | } | |
5eb8189c RD |
17550 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
17551 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17552 | } | |
27e45892 RD |
17553 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
17554 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17555 | } | |
5eb8189c RD |
17556 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
17557 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 17558 | } |
10044bf1 RD |
17559 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
17560 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
17561 | } | |
27e45892 RD |
17562 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
17563 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
17564 | } | |
17565 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
17566 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
17567 | } | |
17568 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
17569 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
17570 | } | |
17571 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
17572 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
17573 | } | |
17574 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
17575 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17576 | } | |
27e45892 RD |
17577 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
17578 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
17579 | } | |
17580 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
17581 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
17582 | } | |
17583 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
17584 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
17585 | } | |
5eb8189c RD |
17586 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
17587 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17588 | } | |
10044bf1 RD |
17589 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
17590 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
17591 | } | |
17592 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17593 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17594 | } | |
17595 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
17596 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17597 | } | |
17598 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
17599 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17600 | } | |
17601 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17602 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17603 | } | |
17604 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17605 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17606 | } | |
17607 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17608 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17609 | } | |
17610 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17611 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17612 | } | |
17613 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
17614 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17615 | } | |
17616 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
17617 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
17618 | } | |
17619 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17620 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17621 | } | |
17622 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17623 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17624 | } | |
17625 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
17626 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17627 | } | |
17628 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17629 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17630 | } | |
5eb8189c RD |
17631 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
17632 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 17633 | } |
5eb8189c RD |
17634 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
17635 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 17636 | } |
5eb8189c RD |
17637 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
17638 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
5c8c7dd3 | 17639 | } |
5eb8189c RD |
17640 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
17641 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 17642 | } |
27e45892 | 17643 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
d7645bfd | 17644 | static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; |
27e45892 | 17645 | 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 | 17646 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17647 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
17648 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
17649 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17650 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
17651 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17652 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17653 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
17654 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17655 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
17656 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
17657 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
17658 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
17659 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
17660 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
17661 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
17662 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
17663 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17664 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17665 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17666 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17667 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17668 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17669 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17670 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
17671 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17672 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17673 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17674 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17675 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17676 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
17677 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17678 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
17679 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
17680 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
17681 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
17682 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17683 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17684 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17685 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 17686 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17687 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
17688 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17689 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
17690 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
17691 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17692 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17693 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17694 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 17695 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 17696 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
17697 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
17698 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
17699 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17700 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
17701 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
17702 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
17703 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
17704 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
17705 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
17706 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
17707 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
17708 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
17709 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
17710 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
17711 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17712 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
17713 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
17714 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
17715 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 17716 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 17717 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17718 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
17719 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
17720 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
17721 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 | 17722 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
17723 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
17724 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
17725 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
17726 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
17727 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
17728 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
17729 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
17730 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
17731 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
17732 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
17733 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
17734 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
17735 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
17736 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
17737 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 17738 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17739 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
17740 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17741 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
17742 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
17743 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
17744 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
17745 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 17746 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 17747 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 17748 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
17749 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
17750 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17751 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
17752 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
17753 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
17754 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
17755 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
17756 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17757 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
17758 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17759 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
17760 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
17761 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
17762 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
17763 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
17764 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17765 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
17766 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17767 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
17768 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
17769 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
17770 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
17771 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
17772 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17773 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17774 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17775 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
17776 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
17777 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17778 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 17779 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17780 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
17781 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17782 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17783 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
17784 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17785 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17786 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; |
17787 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17788 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17789 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17790 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17791 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17792 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17793 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17794 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17795 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17796 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17797 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17798 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17799 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17800 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17801 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
17802 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17803 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
17804 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17805 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
17806 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17807 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
17808 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
17809 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17810 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
17811 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17812 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17813 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17814 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
17815 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
17816 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17817 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
17818 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 17819 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 17820 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17821 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
17822 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
17823 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
17824 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
17825 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
17826 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
17827 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
17828 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
17829 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
17830 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
17831 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
17832 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
17833 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
17834 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
17835 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
17836 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
17837 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
17838 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17839 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
17840 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
17841 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
17842 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
17843 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 17844 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
17845 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
17846 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17847 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
17848 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
17849 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
17850 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
17851 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 17852 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
17853 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
17854 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
17855 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
17856 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
17857 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
17858 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
17859 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
17860 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
17861 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
17862 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
17863 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17864 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
17865 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17866 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
17867 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17868 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
17869 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
17870 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
17871 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
17872 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
17873 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
17874 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
17875 | ||
17876 | static swig_type_info *swig_type_initial[] = { | |
17877 | &_swigt__p_char, | |
d7645bfd | 17878 | &_swigt__p_double, |
27e45892 RD |
17879 | &_swigt__p_form_ops_t, |
17880 | &_swigt__p_int, | |
5eb8189c RD |
17881 | &_swigt__p_p_wxAuiFloatingFrame, |
17882 | &_swigt__p_p_wxAuiNotebook, | |
10044bf1 RD |
17883 | &_swigt__p_p_wxAuiTabContainerButton, |
17884 | &_swigt__p_p_wxAuiTabCtrl, | |
17885 | &_swigt__p_p_wxColourDialog, | |
17886 | &_swigt__p_p_wxControl, | |
17887 | &_swigt__p_p_wxControlWithItems, | |
17888 | &_swigt__p_p_wxDialog, | |
17889 | &_swigt__p_p_wxDirDialog, | |
17890 | &_swigt__p_p_wxFileDialog, | |
17891 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
17892 | &_swigt__p_p_wxFontDialog, |
17893 | &_swigt__p_p_wxFrame, | |
17894 | &_swigt__p_p_wxMDIChildFrame, | |
17895 | &_swigt__p_p_wxMDIClientWindow, | |
17896 | &_swigt__p_p_wxMDIParentFrame, | |
17897 | &_swigt__p_p_wxMenuBar, | |
17898 | &_swigt__p_p_wxMessageDialog, | |
17899 | &_swigt__p_p_wxMiniFrame, | |
17900 | &_swigt__p_p_wxMultiChoiceDialog, | |
17901 | &_swigt__p_p_wxNumberEntryDialog, | |
17902 | &_swigt__p_p_wxPanel, | |
17903 | &_swigt__p_p_wxPasswordEntryDialog, | |
17904 | &_swigt__p_p_wxPopupWindow, | |
17905 | &_swigt__p_p_wxPreviewCanvas, | |
17906 | &_swigt__p_p_wxPreviewControlBar, | |
17907 | &_swigt__p_p_wxPreviewFrame, | |
17908 | &_swigt__p_p_wxProgressDialog, | |
17909 | &_swigt__p_p_wxPyHtmlListBox, | |
17910 | &_swigt__p_p_wxPyPanel, | |
17911 | &_swigt__p_p_wxPyPopupTransientWindow, | |
17912 | &_swigt__p_p_wxPyPreviewControlBar, | |
17913 | &_swigt__p_p_wxPyPreviewFrame, | |
17914 | &_swigt__p_p_wxPyScrolledWindow, | |
17915 | &_swigt__p_p_wxPyVListBox, | |
17916 | &_swigt__p_p_wxPyVScrolledWindow, | |
17917 | &_swigt__p_p_wxPyWindow, | |
17918 | &_swigt__p_p_wxSashLayoutWindow, | |
17919 | &_swigt__p_p_wxSashWindow, | |
17920 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 17921 | &_swigt__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
17922 | &_swigt__p_p_wxSingleChoiceDialog, |
17923 | &_swigt__p_p_wxSplashScreen, | |
17924 | &_swigt__p_p_wxSplashScreenWindow, | |
17925 | &_swigt__p_p_wxSplitterWindow, | |
17926 | &_swigt__p_p_wxStatusBar, | |
17927 | &_swigt__p_p_wxTextEntryDialog, | |
17928 | &_swigt__p_p_wxTipWindow, | |
17929 | &_swigt__p_p_wxTopLevelWindow, | |
17930 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
17931 | &_swigt__p_unsigned_char, |
17932 | &_swigt__p_unsigned_int, | |
17933 | &_swigt__p_unsigned_long, | |
17934 | &_swigt__p_wxANIHandler, | |
17935 | &_swigt__p_wxAcceleratorTable, | |
17936 | &_swigt__p_wxActivateEvent, | |
5eb8189c RD |
17937 | &_swigt__p_wxAuiDefaultDockArt, |
17938 | &_swigt__p_wxAuiDefaultTabArt, | |
17939 | &_swigt__p_wxAuiDockArt, | |
17940 | &_swigt__p_wxAuiDockInfo, | |
17941 | &_swigt__p_wxAuiDockUIPart, | |
17942 | &_swigt__p_wxAuiFloatingFrame, | |
17943 | &_swigt__p_wxAuiManager, | |
17944 | &_swigt__p_wxAuiManagerEvent, | |
17945 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
17946 | &_swigt__p_wxAuiNotebookEvent, |
17947 | &_swigt__p_wxAuiNotebookPage, | |
17948 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17949 | &_swigt__p_wxAuiPaneButton, |
17950 | &_swigt__p_wxAuiPaneButtonArray, | |
17951 | &_swigt__p_wxAuiPaneInfo, | |
17952 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 17953 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 17954 | &_swigt__p_wxAuiTabArt, |
10044bf1 RD |
17955 | &_swigt__p_wxAuiTabContainer, |
17956 | &_swigt__p_wxAuiTabContainerButton, | |
17957 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 17958 | &_swigt__p_wxBMPHandler, |
10044bf1 | 17959 | &_swigt__p_wxBitmap, |
27e45892 RD |
17960 | &_swigt__p_wxBoxSizer, |
17961 | &_swigt__p_wxCURHandler, | |
17962 | &_swigt__p_wxCalculateLayoutEvent, | |
17963 | &_swigt__p_wxChildFocusEvent, | |
17964 | &_swigt__p_wxClipboardTextEvent, | |
17965 | &_swigt__p_wxCloseEvent, | |
27e45892 RD |
17966 | &_swigt__p_wxColour, |
17967 | &_swigt__p_wxColourData, | |
17968 | &_swigt__p_wxColourDialog, | |
17969 | &_swigt__p_wxCommandEvent, | |
17970 | &_swigt__p_wxContextMenuEvent, | |
17971 | &_swigt__p_wxControl, | |
17972 | &_swigt__p_wxControlWithItems, | |
17973 | &_swigt__p_wxDC, | |
17974 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
17975 | &_swigt__p_wxDialog, |
17976 | &_swigt__p_wxDirDialog, | |
17977 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
17978 | &_swigt__p_wxDropFilesEvent, |
17979 | &_swigt__p_wxDuplexMode, | |
17980 | &_swigt__p_wxEraseEvent, | |
17981 | &_swigt__p_wxEvent, | |
17982 | &_swigt__p_wxEvtHandler, | |
17983 | &_swigt__p_wxFSFile, | |
17984 | &_swigt__p_wxFileDialog, | |
17985 | &_swigt__p_wxFileSystem, | |
17986 | &_swigt__p_wxFindDialogEvent, | |
17987 | &_swigt__p_wxFindReplaceData, | |
17988 | &_swigt__p_wxFindReplaceDialog, | |
17989 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
17990 | &_swigt__p_wxFocusEvent, |
17991 | &_swigt__p_wxFont, | |
17992 | &_swigt__p_wxFontData, | |
17993 | &_swigt__p_wxFontDialog, | |
17994 | &_swigt__p_wxFrame, | |
27e45892 RD |
17995 | &_swigt__p_wxGBSizerItem, |
17996 | &_swigt__p_wxGIFHandler, | |
17997 | &_swigt__p_wxGridBagSizer, | |
17998 | &_swigt__p_wxGridSizer, | |
17999 | &_swigt__p_wxICOHandler, | |
18000 | &_swigt__p_wxIconizeEvent, | |
18001 | &_swigt__p_wxIdleEvent, | |
18002 | &_swigt__p_wxImage, | |
18003 | &_swigt__p_wxImageHandler, | |
18004 | &_swigt__p_wxIndividualLayoutConstraint, | |
18005 | &_swigt__p_wxInitDialogEvent, | |
18006 | &_swigt__p_wxJPEGHandler, | |
18007 | &_swigt__p_wxKeyEvent, | |
18008 | &_swigt__p_wxLayoutAlgorithm, | |
18009 | &_swigt__p_wxLayoutConstraints, | |
18010 | &_swigt__p_wxMDIChildFrame, | |
18011 | &_swigt__p_wxMDIClientWindow, | |
18012 | &_swigt__p_wxMDIParentFrame, | |
18013 | &_swigt__p_wxMaximizeEvent, | |
18014 | &_swigt__p_wxMenu, | |
18015 | &_swigt__p_wxMenuBar, | |
18016 | &_swigt__p_wxMenuEvent, | |
18017 | &_swigt__p_wxMenuItem, | |
18018 | &_swigt__p_wxMessageDialog, | |
18019 | &_swigt__p_wxMiniFrame, | |
18020 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 18021 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
18022 | &_swigt__p_wxMouseEvent, |
18023 | &_swigt__p_wxMoveEvent, | |
18024 | &_swigt__p_wxMultiChoiceDialog, | |
18025 | &_swigt__p_wxNavigationKeyEvent, | |
18026 | &_swigt__p_wxNcPaintEvent, | |
18027 | &_swigt__p_wxNotifyEvent, | |
18028 | &_swigt__p_wxNumberEntryDialog, | |
18029 | &_swigt__p_wxObject, | |
18030 | &_swigt__p_wxPCXHandler, | |
18031 | &_swigt__p_wxPNGHandler, | |
18032 | &_swigt__p_wxPNMHandler, | |
18033 | &_swigt__p_wxPageSetupDialog, | |
18034 | &_swigt__p_wxPageSetupDialogData, | |
18035 | &_swigt__p_wxPaintEvent, | |
18036 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
18037 | &_swigt__p_wxPanel, |
18038 | &_swigt__p_wxPaperSize, | |
18039 | &_swigt__p_wxPasswordEntryDialog, | |
18040 | &_swigt__p_wxPoint, | |
18041 | &_swigt__p_wxPopupWindow, | |
18042 | &_swigt__p_wxPreviewCanvas, | |
18043 | &_swigt__p_wxPreviewControlBar, | |
18044 | &_swigt__p_wxPreviewFrame, | |
18045 | &_swigt__p_wxPrintData, | |
18046 | &_swigt__p_wxPrintDialog, | |
18047 | &_swigt__p_wxPrintDialogData, | |
18048 | &_swigt__p_wxPrintPreview, | |
18049 | &_swigt__p_wxPrinter, | |
18050 | &_swigt__p_wxProgressDialog, | |
18051 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
18052 | &_swigt__p_wxPyAuiDockArt, |
18053 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 18054 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
18055 | &_swigt__p_wxPyEvent, |
18056 | &_swigt__p_wxPyHtmlListBox, | |
18057 | &_swigt__p_wxPyImageHandler, | |
18058 | &_swigt__p_wxPyPanel, | |
18059 | &_swigt__p_wxPyPopupTransientWindow, | |
18060 | &_swigt__p_wxPyPreviewControlBar, | |
18061 | &_swigt__p_wxPyPreviewFrame, | |
18062 | &_swigt__p_wxPyPrintPreview, | |
18063 | &_swigt__p_wxPyPrintout, | |
18064 | &_swigt__p_wxPyScrolledWindow, | |
18065 | &_swigt__p_wxPySizer, | |
18066 | &_swigt__p_wxPyTaskBarIcon, | |
18067 | &_swigt__p_wxPyVListBox, | |
18068 | &_swigt__p_wxPyVScrolledWindow, | |
18069 | &_swigt__p_wxPyValidator, | |
18070 | &_swigt__p_wxPyWindow, | |
18071 | &_swigt__p_wxQueryLayoutInfoEvent, | |
18072 | &_swigt__p_wxQueryNewPaletteEvent, | |
18073 | &_swigt__p_wxRect, | |
18074 | &_swigt__p_wxSashEvent, | |
18075 | &_swigt__p_wxSashLayoutWindow, | |
18076 | &_swigt__p_wxSashWindow, | |
18077 | &_swigt__p_wxScrollEvent, | |
18078 | &_swigt__p_wxScrollWinEvent, | |
18079 | &_swigt__p_wxScrolledWindow, | |
18080 | &_swigt__p_wxSetCursorEvent, | |
18081 | &_swigt__p_wxShowEvent, | |
f9bf356b | 18082 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
18083 | &_swigt__p_wxSingleChoiceDialog, |
18084 | &_swigt__p_wxSize, | |
18085 | &_swigt__p_wxSizeEvent, | |
18086 | &_swigt__p_wxSizer, | |
18087 | &_swigt__p_wxSizerItem, | |
18088 | &_swigt__p_wxSplashScreen, | |
18089 | &_swigt__p_wxSplashScreenWindow, | |
18090 | &_swigt__p_wxSplitterEvent, | |
18091 | &_swigt__p_wxSplitterWindow, | |
18092 | &_swigt__p_wxStaticBoxSizer, | |
18093 | &_swigt__p_wxStatusBar, | |
18094 | &_swigt__p_wxStdDialogButtonSizer, | |
18095 | &_swigt__p_wxString, | |
18096 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 18097 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
18098 | &_swigt__p_wxTIFFHandler, |
18099 | &_swigt__p_wxTaskBarIconEvent, | |
18100 | &_swigt__p_wxTextEntryDialog, | |
18101 | &_swigt__p_wxTipWindow, | |
18102 | &_swigt__p_wxTopLevelWindow, | |
18103 | &_swigt__p_wxUpdateUIEvent, | |
18104 | &_swigt__p_wxValidator, | |
18105 | &_swigt__p_wxWindow, | |
18106 | &_swigt__p_wxWindowCreateEvent, | |
18107 | &_swigt__p_wxWindowDestroyEvent, | |
18108 | &_swigt__p_wxXPMHandler, | |
18109 | }; | |
18110 | ||
18111 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
d7645bfd | 18112 | static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18113 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
18114 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
18115 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
18116 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
18117 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18118 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18119 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18120 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18121 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18122 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18123 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18124 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18125 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18126 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18127 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18128 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18129 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18130 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18131 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18132 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18133 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18134 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18135 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18136 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18137 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18138 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18139 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18140 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18141 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18142 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18143 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18144 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18145 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
18146 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18147 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
18148 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18149 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18150 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18151 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
18152 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18153 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18154 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
18155 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18156 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18157 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18158 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18159 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18160 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18161 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18162 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 18163 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 18164 | 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 |
18165 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
18166 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18167 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18168 | 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}}; |
18169 | 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}}; | |
18170 | 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}}; | |
18171 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18172 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
18173 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18174 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
18175 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18176 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
18177 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18178 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
18179 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18180 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
18181 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
18182 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18183 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
18184 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
18185 | 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 |
18186 | 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}}; |
18187 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
18188 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18189 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 18190 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18191 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18192 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18193 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18194 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18195 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18196 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18197 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18198 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18199 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18200 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18201 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18202 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18203 | 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}}; | |
18204 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18205 | 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 | 18206 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18207 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18208 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18209 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18210 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18211 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18212 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 18213 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18214 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 18215 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18216 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18217 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18218 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18219 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18220 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18221 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18222 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18223 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18224 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18225 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18226 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18227 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18228 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18229 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18230 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18231 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18232 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18233 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18234 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18235 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18236 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18237 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18238 | 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 |
18239 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
18240 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18241 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18242 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18243 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18244 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18245 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18246 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18247 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
18248 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18249 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18250 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
18251 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18252 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18253 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; |
18254 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18255 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18256 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18257 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18258 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18259 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18260 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18261 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18262 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18263 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18264 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18265 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18266 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18267 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18268 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
18269 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18270 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
18271 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18272 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18273 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
18274 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
18275 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18276 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18277 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
18278 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18279 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18280 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18281 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18282 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
18283 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18284 | 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 | 18285 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
18286 | 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}}; |
18287 | 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 | 18288 | 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 |
18289 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
18290 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18291 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
18292 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18293 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18294 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18295 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
18296 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
18297 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18298 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18299 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
18300 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
18301 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
18302 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18303 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
18304 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
18305 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18306 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18307 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18308 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18309 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18310 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18311 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
18312 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18313 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18314 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18315 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18316 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18317 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18318 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 18319 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18320 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
18321 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
18322 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
18323 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
18324 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18325 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18326 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18327 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18328 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
18329 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
18330 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18331 | 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 |
18332 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
18333 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18334 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
18335 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18336 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
18337 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
18338 | 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}}; | |
18339 | 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}}; | |
18340 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18341 | 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 | 18342 | 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 |
18343 | |
18344 | static swig_cast_info *swig_cast_initial[] = { | |
18345 | _swigc__p_char, | |
d7645bfd | 18346 | _swigc__p_double, |
27e45892 RD |
18347 | _swigc__p_form_ops_t, |
18348 | _swigc__p_int, | |
5eb8189c RD |
18349 | _swigc__p_p_wxAuiFloatingFrame, |
18350 | _swigc__p_p_wxAuiNotebook, | |
10044bf1 RD |
18351 | _swigc__p_p_wxAuiTabContainerButton, |
18352 | _swigc__p_p_wxAuiTabCtrl, | |
18353 | _swigc__p_p_wxColourDialog, | |
18354 | _swigc__p_p_wxControl, | |
18355 | _swigc__p_p_wxControlWithItems, | |
18356 | _swigc__p_p_wxDialog, | |
18357 | _swigc__p_p_wxDirDialog, | |
18358 | _swigc__p_p_wxFileDialog, | |
18359 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
18360 | _swigc__p_p_wxFontDialog, |
18361 | _swigc__p_p_wxFrame, | |
18362 | _swigc__p_p_wxMDIChildFrame, | |
18363 | _swigc__p_p_wxMDIClientWindow, | |
18364 | _swigc__p_p_wxMDIParentFrame, | |
18365 | _swigc__p_p_wxMenuBar, | |
18366 | _swigc__p_p_wxMessageDialog, | |
18367 | _swigc__p_p_wxMiniFrame, | |
18368 | _swigc__p_p_wxMultiChoiceDialog, | |
18369 | _swigc__p_p_wxNumberEntryDialog, | |
18370 | _swigc__p_p_wxPanel, | |
18371 | _swigc__p_p_wxPasswordEntryDialog, | |
18372 | _swigc__p_p_wxPopupWindow, | |
18373 | _swigc__p_p_wxPreviewCanvas, | |
18374 | _swigc__p_p_wxPreviewControlBar, | |
18375 | _swigc__p_p_wxPreviewFrame, | |
18376 | _swigc__p_p_wxProgressDialog, | |
18377 | _swigc__p_p_wxPyHtmlListBox, | |
18378 | _swigc__p_p_wxPyPanel, | |
18379 | _swigc__p_p_wxPyPopupTransientWindow, | |
18380 | _swigc__p_p_wxPyPreviewControlBar, | |
18381 | _swigc__p_p_wxPyPreviewFrame, | |
18382 | _swigc__p_p_wxPyScrolledWindow, | |
18383 | _swigc__p_p_wxPyVListBox, | |
18384 | _swigc__p_p_wxPyVScrolledWindow, | |
18385 | _swigc__p_p_wxPyWindow, | |
18386 | _swigc__p_p_wxSashLayoutWindow, | |
18387 | _swigc__p_p_wxSashWindow, | |
18388 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 18389 | _swigc__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
18390 | _swigc__p_p_wxSingleChoiceDialog, |
18391 | _swigc__p_p_wxSplashScreen, | |
18392 | _swigc__p_p_wxSplashScreenWindow, | |
18393 | _swigc__p_p_wxSplitterWindow, | |
18394 | _swigc__p_p_wxStatusBar, | |
18395 | _swigc__p_p_wxTextEntryDialog, | |
18396 | _swigc__p_p_wxTipWindow, | |
18397 | _swigc__p_p_wxTopLevelWindow, | |
18398 | _swigc__p_p_wxWindow, | |
27e45892 RD |
18399 | _swigc__p_unsigned_char, |
18400 | _swigc__p_unsigned_int, | |
18401 | _swigc__p_unsigned_long, | |
18402 | _swigc__p_wxANIHandler, | |
18403 | _swigc__p_wxAcceleratorTable, | |
18404 | _swigc__p_wxActivateEvent, | |
5eb8189c RD |
18405 | _swigc__p_wxAuiDefaultDockArt, |
18406 | _swigc__p_wxAuiDefaultTabArt, | |
18407 | _swigc__p_wxAuiDockArt, | |
18408 | _swigc__p_wxAuiDockInfo, | |
18409 | _swigc__p_wxAuiDockUIPart, | |
18410 | _swigc__p_wxAuiFloatingFrame, | |
18411 | _swigc__p_wxAuiManager, | |
18412 | _swigc__p_wxAuiManagerEvent, | |
18413 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
18414 | _swigc__p_wxAuiNotebookEvent, |
18415 | _swigc__p_wxAuiNotebookPage, | |
18416 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
18417 | _swigc__p_wxAuiPaneButton, |
18418 | _swigc__p_wxAuiPaneButtonArray, | |
18419 | _swigc__p_wxAuiPaneInfo, | |
18420 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 18421 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 18422 | _swigc__p_wxAuiTabArt, |
10044bf1 RD |
18423 | _swigc__p_wxAuiTabContainer, |
18424 | _swigc__p_wxAuiTabContainerButton, | |
18425 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 18426 | _swigc__p_wxBMPHandler, |
10044bf1 | 18427 | _swigc__p_wxBitmap, |
27e45892 RD |
18428 | _swigc__p_wxBoxSizer, |
18429 | _swigc__p_wxCURHandler, | |
18430 | _swigc__p_wxCalculateLayoutEvent, | |
18431 | _swigc__p_wxChildFocusEvent, | |
18432 | _swigc__p_wxClipboardTextEvent, | |
18433 | _swigc__p_wxCloseEvent, | |
27e45892 RD |
18434 | _swigc__p_wxColour, |
18435 | _swigc__p_wxColourData, | |
18436 | _swigc__p_wxColourDialog, | |
18437 | _swigc__p_wxCommandEvent, | |
18438 | _swigc__p_wxContextMenuEvent, | |
18439 | _swigc__p_wxControl, | |
18440 | _swigc__p_wxControlWithItems, | |
18441 | _swigc__p_wxDC, | |
18442 | _swigc__p_wxDateEvent, | |
27e45892 RD |
18443 | _swigc__p_wxDialog, |
18444 | _swigc__p_wxDirDialog, | |
18445 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
18446 | _swigc__p_wxDropFilesEvent, |
18447 | _swigc__p_wxDuplexMode, | |
18448 | _swigc__p_wxEraseEvent, | |
18449 | _swigc__p_wxEvent, | |
18450 | _swigc__p_wxEvtHandler, | |
18451 | _swigc__p_wxFSFile, | |
18452 | _swigc__p_wxFileDialog, | |
18453 | _swigc__p_wxFileSystem, | |
18454 | _swigc__p_wxFindDialogEvent, | |
18455 | _swigc__p_wxFindReplaceData, | |
18456 | _swigc__p_wxFindReplaceDialog, | |
18457 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
18458 | _swigc__p_wxFocusEvent, |
18459 | _swigc__p_wxFont, | |
18460 | _swigc__p_wxFontData, | |
18461 | _swigc__p_wxFontDialog, | |
18462 | _swigc__p_wxFrame, | |
27e45892 RD |
18463 | _swigc__p_wxGBSizerItem, |
18464 | _swigc__p_wxGIFHandler, | |
18465 | _swigc__p_wxGridBagSizer, | |
18466 | _swigc__p_wxGridSizer, | |
18467 | _swigc__p_wxICOHandler, | |
18468 | _swigc__p_wxIconizeEvent, | |
18469 | _swigc__p_wxIdleEvent, | |
18470 | _swigc__p_wxImage, | |
18471 | _swigc__p_wxImageHandler, | |
18472 | _swigc__p_wxIndividualLayoutConstraint, | |
18473 | _swigc__p_wxInitDialogEvent, | |
18474 | _swigc__p_wxJPEGHandler, | |
18475 | _swigc__p_wxKeyEvent, | |
18476 | _swigc__p_wxLayoutAlgorithm, | |
18477 | _swigc__p_wxLayoutConstraints, | |
18478 | _swigc__p_wxMDIChildFrame, | |
18479 | _swigc__p_wxMDIClientWindow, | |
18480 | _swigc__p_wxMDIParentFrame, | |
18481 | _swigc__p_wxMaximizeEvent, | |
18482 | _swigc__p_wxMenu, | |
18483 | _swigc__p_wxMenuBar, | |
18484 | _swigc__p_wxMenuEvent, | |
18485 | _swigc__p_wxMenuItem, | |
18486 | _swigc__p_wxMessageDialog, | |
18487 | _swigc__p_wxMiniFrame, | |
18488 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 18489 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
18490 | _swigc__p_wxMouseEvent, |
18491 | _swigc__p_wxMoveEvent, | |
18492 | _swigc__p_wxMultiChoiceDialog, | |
18493 | _swigc__p_wxNavigationKeyEvent, | |
18494 | _swigc__p_wxNcPaintEvent, | |
18495 | _swigc__p_wxNotifyEvent, | |
18496 | _swigc__p_wxNumberEntryDialog, | |
18497 | _swigc__p_wxObject, | |
18498 | _swigc__p_wxPCXHandler, | |
18499 | _swigc__p_wxPNGHandler, | |
18500 | _swigc__p_wxPNMHandler, | |
18501 | _swigc__p_wxPageSetupDialog, | |
18502 | _swigc__p_wxPageSetupDialogData, | |
18503 | _swigc__p_wxPaintEvent, | |
18504 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
18505 | _swigc__p_wxPanel, |
18506 | _swigc__p_wxPaperSize, | |
18507 | _swigc__p_wxPasswordEntryDialog, | |
18508 | _swigc__p_wxPoint, | |
18509 | _swigc__p_wxPopupWindow, | |
18510 | _swigc__p_wxPreviewCanvas, | |
18511 | _swigc__p_wxPreviewControlBar, | |
18512 | _swigc__p_wxPreviewFrame, | |
18513 | _swigc__p_wxPrintData, | |
18514 | _swigc__p_wxPrintDialog, | |
18515 | _swigc__p_wxPrintDialogData, | |
18516 | _swigc__p_wxPrintPreview, | |
18517 | _swigc__p_wxPrinter, | |
18518 | _swigc__p_wxProgressDialog, | |
18519 | _swigc__p_wxPyApp, | |
5eb8189c RD |
18520 | _swigc__p_wxPyAuiDockArt, |
18521 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 18522 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
18523 | _swigc__p_wxPyEvent, |
18524 | _swigc__p_wxPyHtmlListBox, | |
18525 | _swigc__p_wxPyImageHandler, | |
18526 | _swigc__p_wxPyPanel, | |
18527 | _swigc__p_wxPyPopupTransientWindow, | |
18528 | _swigc__p_wxPyPreviewControlBar, | |
18529 | _swigc__p_wxPyPreviewFrame, | |
18530 | _swigc__p_wxPyPrintPreview, | |
18531 | _swigc__p_wxPyPrintout, | |
18532 | _swigc__p_wxPyScrolledWindow, | |
18533 | _swigc__p_wxPySizer, | |
18534 | _swigc__p_wxPyTaskBarIcon, | |
18535 | _swigc__p_wxPyVListBox, | |
18536 | _swigc__p_wxPyVScrolledWindow, | |
18537 | _swigc__p_wxPyValidator, | |
18538 | _swigc__p_wxPyWindow, | |
18539 | _swigc__p_wxQueryLayoutInfoEvent, | |
18540 | _swigc__p_wxQueryNewPaletteEvent, | |
18541 | _swigc__p_wxRect, | |
18542 | _swigc__p_wxSashEvent, | |
18543 | _swigc__p_wxSashLayoutWindow, | |
18544 | _swigc__p_wxSashWindow, | |
18545 | _swigc__p_wxScrollEvent, | |
18546 | _swigc__p_wxScrollWinEvent, | |
18547 | _swigc__p_wxScrolledWindow, | |
18548 | _swigc__p_wxSetCursorEvent, | |
18549 | _swigc__p_wxShowEvent, | |
f9bf356b | 18550 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
18551 | _swigc__p_wxSingleChoiceDialog, |
18552 | _swigc__p_wxSize, | |
18553 | _swigc__p_wxSizeEvent, | |
18554 | _swigc__p_wxSizer, | |
18555 | _swigc__p_wxSizerItem, | |
18556 | _swigc__p_wxSplashScreen, | |
18557 | _swigc__p_wxSplashScreenWindow, | |
18558 | _swigc__p_wxSplitterEvent, | |
18559 | _swigc__p_wxSplitterWindow, | |
18560 | _swigc__p_wxStaticBoxSizer, | |
18561 | _swigc__p_wxStatusBar, | |
18562 | _swigc__p_wxStdDialogButtonSizer, | |
18563 | _swigc__p_wxString, | |
18564 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 18565 | _swigc__p_wxTGAHandler, |
27e45892 RD |
18566 | _swigc__p_wxTIFFHandler, |
18567 | _swigc__p_wxTaskBarIconEvent, | |
18568 | _swigc__p_wxTextEntryDialog, | |
18569 | _swigc__p_wxTipWindow, | |
18570 | _swigc__p_wxTopLevelWindow, | |
18571 | _swigc__p_wxUpdateUIEvent, | |
18572 | _swigc__p_wxValidator, | |
18573 | _swigc__p_wxWindow, | |
18574 | _swigc__p_wxWindowCreateEvent, | |
18575 | _swigc__p_wxWindowDestroyEvent, | |
18576 | _swigc__p_wxXPMHandler, | |
18577 | }; | |
18578 | ||
18579 | ||
18580 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18581 | ||
18582 | static swig_const_info swig_const_table[] = { | |
18583 | {0, 0, 0, 0.0, 0, 0}}; | |
18584 | ||
18585 | #ifdef __cplusplus | |
18586 | } | |
18587 | #endif | |
18588 | /* ----------------------------------------------------------------------------- | |
18589 | * Type initialization: | |
18590 | * This problem is tough by the requirement that no dynamic | |
18591 | * memory is used. Also, since swig_type_info structures store pointers to | |
18592 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
18593 | * to swig_type_info structures, we need some lookup code at initialization. | |
18594 | * The idea is that swig generates all the structures that are needed. | |
18595 | * The runtime then collects these partially filled structures. | |
18596 | * The SWIG_InitializeModule function takes these initial arrays out of | |
18597 | * swig_module, and does all the lookup, filling in the swig_module.types | |
18598 | * array with the correct data and linking the correct swig_cast_info | |
18599 | * structures together. | |
18600 | * | |
18601 | * The generated swig_type_info structures are assigned staticly to an initial | |
18602 | * array. We just loop though that array, and handle each type individually. | |
18603 | * First we lookup if this type has been already loaded, and if so, use the | |
18604 | * loaded structure instead of the generated one. Then we have to fill in the | |
18605 | * cast linked list. The cast data is initially stored in something like a | |
18606 | * two-dimensional array. Each row corresponds to a type (there are the same | |
18607 | * number of rows as there are in the swig_type_initial array). Each entry in | |
18608 | * a column is one of the swig_cast_info structures for that type. | |
18609 | * The cast_initial array is actually an array of arrays, because each row has | |
18610 | * a variable number of columns. So to actually build the cast linked list, | |
18611 | * we find the array of casts associated with the type, and loop through it | |
18612 | * adding the casts to the list. The one last trick we need to do is making | |
18613 | * sure the type pointer in the swig_cast_info struct is correct. | |
18614 | * | |
18615 | * First off, we lookup the cast->type name to see if it is already loaded. | |
18616 | * There are three cases to handle: | |
18617 | * 1) If the cast->type has already been loaded AND the type we are adding | |
18618 | * casting info to has not been loaded (it is in this module), THEN we | |
18619 | * replace the cast->type pointer with the type pointer that has already | |
18620 | * been loaded. | |
18621 | * 2) If BOTH types (the one we are adding casting info to, and the | |
18622 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
18623 | * the previous module so we just ignore it. | |
18624 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
18625 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
18626 | * be correct. | |
18627 | * ----------------------------------------------------------------------------- */ | |
18628 | ||
18629 | #ifdef __cplusplus | |
18630 | extern "C" { | |
18631 | #if 0 | |
18632 | } /* c-mode */ | |
18633 | #endif | |
18634 | #endif | |
18635 | ||
18636 | #if 0 | |
18637 | #define SWIGRUNTIME_DEBUG | |
18638 | #endif | |
18639 | ||
18640 | SWIGRUNTIME void | |
18641 | SWIG_InitializeModule(void *clientdata) { | |
18642 | size_t i; | |
18643 | swig_module_info *module_head; | |
18644 | static int init_run = 0; | |
18645 | ||
18646 | clientdata = clientdata; | |
18647 | ||
18648 | if (init_run) return; | |
18649 | init_run = 1; | |
18650 | ||
18651 | /* Initialize the swig_module */ | |
18652 | swig_module.type_initial = swig_type_initial; | |
18653 | swig_module.cast_initial = swig_cast_initial; | |
18654 | ||
18655 | /* Try and load any already created modules */ | |
18656 | module_head = SWIG_GetModule(clientdata); | |
18657 | if (module_head) { | |
18658 | swig_module.next = module_head->next; | |
18659 | module_head->next = &swig_module; | |
18660 | } else { | |
18661 | /* This is the first module loaded */ | |
18662 | swig_module.next = &swig_module; | |
18663 | SWIG_SetModule(clientdata, &swig_module); | |
18664 | } | |
18665 | ||
18666 | /* Now work on filling in swig_module.types */ | |
18667 | #ifdef SWIGRUNTIME_DEBUG | |
18668 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
18669 | #endif | |
18670 | for (i = 0; i < swig_module.size; ++i) { | |
18671 | swig_type_info *type = 0; | |
18672 | swig_type_info *ret; | |
18673 | swig_cast_info *cast; | |
18674 | ||
18675 | #ifdef SWIGRUNTIME_DEBUG | |
18676 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18677 | #endif | |
18678 | ||
18679 | /* if there is another module already loaded */ | |
18680 | if (swig_module.next != &swig_module) { | |
18681 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
18682 | } | |
18683 | if (type) { | |
18684 | /* Overwrite clientdata field */ | |
18685 | #ifdef SWIGRUNTIME_DEBUG | |
18686 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
18687 | #endif | |
18688 | if (swig_module.type_initial[i]->clientdata) { | |
18689 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
18690 | #ifdef SWIGRUNTIME_DEBUG | |
18691 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
18692 | #endif | |
18693 | } | |
18694 | } else { | |
18695 | type = swig_module.type_initial[i]; | |
18696 | } | |
18697 | ||
18698 | /* Insert casting types */ | |
18699 | cast = swig_module.cast_initial[i]; | |
18700 | while (cast->type) { | |
18701 | /* Don't need to add information already in the list */ | |
18702 | ret = 0; | |
18703 | #ifdef SWIGRUNTIME_DEBUG | |
18704 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
18705 | #endif | |
18706 | if (swig_module.next != &swig_module) { | |
18707 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
18708 | #ifdef SWIGRUNTIME_DEBUG | |
18709 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
18710 | #endif | |
18711 | } | |
18712 | if (ret) { | |
18713 | if (type == swig_module.type_initial[i]) { | |
18714 | #ifdef SWIGRUNTIME_DEBUG | |
18715 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
18716 | #endif | |
18717 | cast->type = ret; | |
18718 | ret = 0; | |
18719 | } else { | |
18720 | /* Check for casting already in the list */ | |
18721 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
18722 | #ifdef SWIGRUNTIME_DEBUG | |
18723 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
18724 | #endif | |
18725 | if (!ocast) ret = 0; | |
18726 | } | |
18727 | } | |
18728 | ||
18729 | if (!ret) { | |
18730 | #ifdef SWIGRUNTIME_DEBUG | |
18731 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
18732 | #endif | |
18733 | if (type->cast) { | |
18734 | type->cast->prev = cast; | |
18735 | cast->next = type->cast; | |
18736 | } | |
18737 | type->cast = cast; | |
18738 | } | |
18739 | cast++; | |
18740 | } | |
18741 | /* Set entry in modules->types array equal to the type */ | |
18742 | swig_module.types[i] = type; | |
18743 | } | |
18744 | swig_module.types[i] = 0; | |
18745 | ||
18746 | #ifdef SWIGRUNTIME_DEBUG | |
18747 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18748 | for (i = 0; i < swig_module.size; ++i) { | |
18749 | int j = 0; | |
18750 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
18751 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18752 | while (cast->type) { | |
18753 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
18754 | cast++; | |
18755 | ++j; | |
18756 | } | |
18757 | printf("---- Total casts: %d\n",j); | |
18758 | } | |
18759 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18760 | #endif | |
18761 | } | |
18762 | ||
18763 | /* This function will propagate the clientdata field of type to | |
18764 | * any new swig_type_info structures that have been added into the list | |
18765 | * of equivalent types. It is like calling | |
18766 | * SWIG_TypeClientData(type, clientdata) a second time. | |
18767 | */ | |
18768 | SWIGRUNTIME void | |
18769 | SWIG_PropagateClientData(void) { | |
18770 | size_t i; | |
18771 | swig_cast_info *equiv; | |
18772 | static int init_run = 0; | |
18773 | ||
18774 | if (init_run) return; | |
18775 | init_run = 1; | |
18776 | ||
18777 | for (i = 0; i < swig_module.size; i++) { | |
18778 | if (swig_module.types[i]->clientdata) { | |
18779 | equiv = swig_module.types[i]->cast; | |
18780 | while (equiv) { | |
18781 | if (!equiv->converter) { | |
18782 | if (equiv->type && !equiv->type->clientdata) | |
18783 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
18784 | } | |
18785 | equiv = equiv->next; | |
18786 | } | |
18787 | } | |
18788 | } | |
18789 | } | |
18790 | ||
18791 | #ifdef __cplusplus | |
18792 | #if 0 | |
18793 | { | |
18794 | /* c-mode */ | |
18795 | #endif | |
18796 | } | |
18797 | #endif | |
18798 | ||
18799 | ||
18800 | ||
18801 | #ifdef __cplusplus | |
18802 | extern "C" { | |
18803 | #endif | |
18804 | ||
18805 | /* Python-specific SWIG API */ | |
18806 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18807 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18808 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18809 | ||
18810 | /* ----------------------------------------------------------------------------- | |
18811 | * global variable support code. | |
18812 | * ----------------------------------------------------------------------------- */ | |
18813 | ||
18814 | typedef struct swig_globalvar { | |
18815 | char *name; /* Name of global variable */ | |
18816 | PyObject *(*get_attr)(void); /* Return the current value */ | |
18817 | int (*set_attr)(PyObject *); /* Set the value */ | |
18818 | struct swig_globalvar *next; | |
18819 | } swig_globalvar; | |
18820 | ||
18821 | typedef struct swig_varlinkobject { | |
18822 | PyObject_HEAD | |
18823 | swig_globalvar *vars; | |
18824 | } swig_varlinkobject; | |
18825 | ||
18826 | SWIGINTERN PyObject * | |
18827 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
18828 | return PyString_FromString("<Swig global variables>"); | |
18829 | } | |
18830 | ||
18831 | SWIGINTERN PyObject * | |
18832 | swig_varlink_str(swig_varlinkobject *v) { | |
18833 | PyObject *str = PyString_FromString("("); | |
18834 | swig_globalvar *var; | |
18835 | for (var = v->vars; var; var=var->next) { | |
18836 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
18837 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
18838 | } | |
18839 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
18840 | return str; | |
18841 | } | |
18842 | ||
18843 | SWIGINTERN int | |
18844 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
18845 | PyObject *str = swig_varlink_str(v); | |
18846 | fprintf(fp,"Swig global variables "); | |
18847 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
18848 | Py_DECREF(str); | |
18849 | return 0; | |
18850 | } | |
18851 | ||
18852 | SWIGINTERN void | |
18853 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
18854 | swig_globalvar *var = v->vars; | |
18855 | while (var) { | |
18856 | swig_globalvar *n = var->next; | |
18857 | free(var->name); | |
18858 | free(var); | |
18859 | var = n; | |
18860 | } | |
18861 | } | |
18862 | ||
18863 | SWIGINTERN PyObject * | |
18864 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18865 | PyObject *res = NULL; | |
18866 | swig_globalvar *var = v->vars; | |
18867 | while (var) { | |
18868 | if (strcmp(var->name,n) == 0) { | |
18869 | res = (*var->get_attr)(); | |
18870 | break; | |
18871 | } | |
18872 | var = var->next; | |
18873 | } | |
18874 | if (res == NULL && !PyErr_Occurred()) { | |
18875 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18876 | } | |
18877 | return res; | |
18878 | } | |
18879 | ||
18880 | SWIGINTERN int | |
18881 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18882 | int res = 1; | |
18883 | swig_globalvar *var = v->vars; | |
18884 | while (var) { | |
18885 | if (strcmp(var->name,n) == 0) { | |
18886 | res = (*var->set_attr)(p); | |
18887 | break; | |
18888 | } | |
18889 | var = var->next; | |
18890 | } | |
18891 | if (res == 1 && !PyErr_Occurred()) { | |
18892 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18893 | } | |
18894 | return res; | |
18895 | } | |
18896 | ||
18897 | SWIGINTERN PyTypeObject* | |
18898 | swig_varlink_type(void) { | |
18899 | static char varlink__doc__[] = "Swig var link object"; | |
18900 | static PyTypeObject varlink_type; | |
18901 | static int type_init = 0; | |
18902 | if (!type_init) { | |
18903 | const PyTypeObject tmp | |
18904 | = { | |
18905 | PyObject_HEAD_INIT(NULL) | |
18906 | 0, /* Number of items in variable part (ob_size) */ | |
18907 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18908 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18909 | 0, /* Itemsize (tp_itemsize) */ | |
18910 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
18911 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18912 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18913 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18914 | 0, /* tp_compare */ | |
18915 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18916 | 0, /* tp_as_number */ | |
18917 | 0, /* tp_as_sequence */ | |
18918 | 0, /* tp_as_mapping */ | |
18919 | 0, /* tp_hash */ | |
18920 | 0, /* tp_call */ | |
18921 | (reprfunc)swig_varlink_str, /* tp_str */ | |
18922 | 0, /* tp_getattro */ | |
18923 | 0, /* tp_setattro */ | |
18924 | 0, /* tp_as_buffer */ | |
18925 | 0, /* tp_flags */ | |
18926 | varlink__doc__, /* tp_doc */ | |
18927 | 0, /* tp_traverse */ | |
18928 | 0, /* tp_clear */ | |
18929 | 0, /* tp_richcompare */ | |
18930 | 0, /* tp_weaklistoffset */ | |
18931 | #if PY_VERSION_HEX >= 0x02020000 | |
18932 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18933 | #endif | |
18934 | #if PY_VERSION_HEX >= 0x02030000 | |
18935 | 0, /* tp_del */ | |
18936 | #endif | |
18937 | #ifdef COUNT_ALLOCS | |
18938 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18939 | #endif | |
18940 | }; | |
18941 | varlink_type = tmp; | |
18942 | varlink_type.ob_type = &PyType_Type; | |
18943 | type_init = 1; | |
18944 | } | |
18945 | return &varlink_type; | |
18946 | } | |
18947 | ||
18948 | /* Create a variable linking object for use later */ | |
18949 | SWIGINTERN PyObject * | |
18950 | SWIG_Python_newvarlink(void) { | |
18951 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
18952 | if (result) { | |
18953 | result->vars = 0; | |
18954 | } | |
18955 | return ((PyObject*) result); | |
18956 | } | |
18957 | ||
18958 | SWIGINTERN void | |
18959 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18960 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
18961 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18962 | if (gv) { | |
18963 | size_t size = strlen(name)+1; | |
18964 | gv->name = (char *)malloc(size); | |
18965 | if (gv->name) { | |
18966 | strncpy(gv->name,name,size); | |
18967 | gv->get_attr = get_attr; | |
18968 | gv->set_attr = set_attr; | |
18969 | gv->next = v->vars; | |
18970 | } | |
18971 | } | |
18972 | v->vars = gv; | |
18973 | } | |
18974 | ||
18975 | SWIGINTERN PyObject * | |
18976 | SWIG_globals() { | |
18977 | static PyObject *_SWIG_globals = 0; | |
18978 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
18979 | return _SWIG_globals; | |
18980 | } | |
18981 | ||
18982 | /* ----------------------------------------------------------------------------- | |
18983 | * constants/methods manipulation | |
18984 | * ----------------------------------------------------------------------------- */ | |
18985 | ||
18986 | /* Install Constants */ | |
18987 | SWIGINTERN void | |
18988 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18989 | PyObject *obj = 0; | |
18990 | size_t i; | |
18991 | for (i = 0; constants[i].type; ++i) { | |
18992 | switch(constants[i].type) { | |
18993 | case SWIG_PY_POINTER: | |
18994 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
18995 | break; | |
18996 | case SWIG_PY_BINARY: | |
18997 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
18998 | break; | |
18999 | default: | |
19000 | obj = 0; | |
19001 | break; | |
19002 | } | |
19003 | if (obj) { | |
19004 | PyDict_SetItemString(d, constants[i].name, obj); | |
19005 | Py_DECREF(obj); | |
19006 | } | |
19007 | } | |
19008 | } | |
19009 | ||
19010 | /* -----------------------------------------------------------------------------*/ | |
19011 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19012 | /* -----------------------------------------------------------------------------*/ | |
19013 | ||
19014 | SWIGINTERN void | |
19015 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
19016 | swig_const_info *const_table, | |
19017 | swig_type_info **types, | |
19018 | swig_type_info **types_initial) { | |
19019 | size_t i; | |
19020 | for (i = 0; methods[i].ml_name; ++i) { | |
19021 | const char *c = methods[i].ml_doc; | |
19022 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
19023 | int j; | |
19024 | swig_const_info *ci = 0; | |
19025 | const char *name = c + 10; | |
19026 | for (j = 0; const_table[j].type; ++j) { | |
19027 | if (strncmp(const_table[j].name, name, | |
19028 | strlen(const_table[j].name)) == 0) { | |
19029 | ci = &(const_table[j]); | |
19030 | break; | |
19031 | } | |
19032 | } | |
19033 | if (ci) { | |
19034 | size_t shift = (ci->ptype) - types; | |
19035 | swig_type_info *ty = types_initial[shift]; | |
19036 | size_t ldoc = (c - methods[i].ml_doc); | |
19037 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
19038 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
19039 | if (ndoc) { | |
19040 | char *buff = ndoc; | |
19041 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
19042 | if (ptr) { | |
19043 | strncpy(buff, methods[i].ml_doc, ldoc); | |
19044 | buff += ldoc; | |
19045 | strncpy(buff, "swig_ptr: ", 10); | |
19046 | buff += 10; | |
19047 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
19048 | methods[i].ml_doc = ndoc; | |
19049 | } | |
19050 | } | |
19051 | } | |
19052 | } | |
19053 | } | |
19054 | } | |
19055 | ||
19056 | #ifdef __cplusplus | |
19057 | } | |
19058 | #endif | |
19059 | ||
19060 | /* -----------------------------------------------------------------------------* | |
19061 | * Partial Init method | |
19062 | * -----------------------------------------------------------------------------*/ | |
19063 | ||
19064 | #ifdef __cplusplus | |
19065 | extern "C" | |
19066 | #endif | |
19067 | SWIGEXPORT void SWIG_init(void) { | |
19068 | PyObject *m, *d; | |
19069 | ||
19070 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19071 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
19072 | ||
19073 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
19074 | d = PyModule_GetDict(m); | |
19075 | ||
19076 | SWIG_InitializeModule(0); | |
19077 | SWIG_InstallConstants(d,swig_const_table); | |
19078 | ||
19079 | ||
19080 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
19081 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
19082 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
19083 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
19084 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
19085 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
19086 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
19087 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
19088 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
19089 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
19090 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
19091 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
19092 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
19093 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
19094 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
19095 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 | 19096 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
eccab1a7 RD |
19097 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE))); |
19098 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE))); | |
19099 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE))); | |
19100 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE))); | |
19101 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE))); | |
19102 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR))); | |
19103 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR))); | |
19104 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR))); | |
19105 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
19106 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR))); | |
19107 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
19108 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
19109 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
19110 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR))); | |
19111 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR))); | |
19112 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT))); | |
19113 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE))); | |
27e45892 RD |
19114 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); |
19115 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
19116 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
19117 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
19118 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
19119 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
19120 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
19121 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
eccab1a7 | 19122 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED))); |
8f514ab4 | 19123 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); |
5eb8189c | 19124 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
19125 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
19126 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
19127 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 19128 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
19129 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
19130 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
19131 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
19132 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
19133 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
19134 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
19135 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
19136 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
19137 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
19138 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
19139 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
19140 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
19141 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
19142 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
19143 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
19144 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
19145 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
19146 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
19147 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
19148 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
19149 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
19150 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
19151 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
19152 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
19153 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
19154 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
19155 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
19156 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
19157 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
19158 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
5eb8189c RD |
19159 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); |
19160 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
19161 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
19162 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
19163 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
19164 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
19165 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
9b881d36 | 19166 | SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); |
5eb8189c RD |
19167 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); |
19168 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
19169 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
19170 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
19171 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
19172 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
19173 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
19174 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
19175 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
19176 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
d7645bfd VZ |
19177 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); |
19178 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); | |
19179 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); | |
19180 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); | |
81f5836b | 19181 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
d7645bfd | 19182 | PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); |
5eb8189c RD |
19183 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
19184 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
19185 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
19186 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
19187 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
19188 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 19189 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 19190 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 19191 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 19192 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 19193 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
19194 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
19195 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
19196 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 19197 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
19198 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
19199 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
19200 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
19201 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
19202 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
19203 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 19204 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
19205 | } |
19206 |