]>
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] | |
2526 | #define SWIGTYPE_p_wxArrayString swig_types[60] | |
2527 | #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[61] | |
2528 | #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiDockArt swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiDockInfo swig_types[64] | |
2531 | #define SWIGTYPE_p_wxAuiDockUIPart swig_types[65] | |
2532 | #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[66] | |
2533 | #define SWIGTYPE_p_wxAuiManager swig_types[67] | |
2534 | #define SWIGTYPE_p_wxAuiManagerEvent swig_types[68] | |
2535 | #define SWIGTYPE_p_wxAuiNotebook swig_types[69] | |
2536 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[70] | |
2537 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[71] | |
2538 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[72] | |
2539 | #define SWIGTYPE_p_wxAuiPaneButton swig_types[73] | |
2540 | #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[74] | |
2541 | #define SWIGTYPE_p_wxAuiPaneInfo swig_types[75] | |
2542 | #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[76] | |
2543 | #define SWIGTYPE_p_wxAuiSimpleTabArt swig_types[77] | |
2544 | #define SWIGTYPE_p_wxAuiTabArt swig_types[78] | |
2545 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[79] | |
2546 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[80] | |
2547 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[81] | |
2548 | #define SWIGTYPE_p_wxBMPHandler swig_types[82] | |
2549 | #define SWIGTYPE_p_wxBitmap swig_types[83] | |
2550 | #define SWIGTYPE_p_wxBoxSizer swig_types[84] | |
2551 | #define SWIGTYPE_p_wxCURHandler swig_types[85] | |
2552 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[86] | |
2553 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[87] | |
2554 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[88] | |
2555 | #define SWIGTYPE_p_wxCloseEvent swig_types[89] | |
2556 | #define SWIGTYPE_p_wxColor swig_types[90] | |
2557 | #define SWIGTYPE_p_wxColour swig_types[91] | |
2558 | #define SWIGTYPE_p_wxColourData swig_types[92] | |
2559 | #define SWIGTYPE_p_wxColourDialog swig_types[93] | |
2560 | #define SWIGTYPE_p_wxCommandEvent swig_types[94] | |
2561 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[95] | |
2562 | #define SWIGTYPE_p_wxControl swig_types[96] | |
2563 | #define SWIGTYPE_p_wxControlWithItems swig_types[97] | |
2564 | #define SWIGTYPE_p_wxDC swig_types[98] | |
2565 | #define SWIGTYPE_p_wxDateEvent swig_types[99] | |
2566 | #define SWIGTYPE_p_wxDialog swig_types[100] | |
2567 | #define SWIGTYPE_p_wxDirDialog swig_types[101] | |
2568 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[102] | |
2569 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxDuplexMode swig_types[104] | |
2571 | #define SWIGTYPE_p_wxEraseEvent swig_types[105] | |
2572 | #define SWIGTYPE_p_wxEvent swig_types[106] | |
2573 | #define SWIGTYPE_p_wxEvtHandler swig_types[107] | |
2574 | #define SWIGTYPE_p_wxFSFile swig_types[108] | |
2575 | #define SWIGTYPE_p_wxFileDialog swig_types[109] | |
2576 | #define SWIGTYPE_p_wxFileSystem swig_types[110] | |
2577 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxFindReplaceData swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFocusEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxFont swig_types[116] | |
2583 | #define SWIGTYPE_p_wxFontData swig_types[117] | |
2584 | #define SWIGTYPE_p_wxFontDialog swig_types[118] | |
2585 | #define SWIGTYPE_p_wxFrame swig_types[119] | |
2586 | #define SWIGTYPE_p_wxGBSizerItem swig_types[120] | |
2587 | #define SWIGTYPE_p_wxGIFHandler swig_types[121] | |
2588 | #define SWIGTYPE_p_wxGridBagSizer swig_types[122] | |
2589 | #define SWIGTYPE_p_wxGridSizer swig_types[123] | |
2590 | #define SWIGTYPE_p_wxICOHandler swig_types[124] | |
2591 | #define SWIGTYPE_p_wxIconizeEvent swig_types[125] | |
2592 | #define SWIGTYPE_p_wxIdleEvent swig_types[126] | |
2593 | #define SWIGTYPE_p_wxImage swig_types[127] | |
2594 | #define SWIGTYPE_p_wxImageHandler swig_types[128] | |
2595 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[129] | |
2596 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[130] | |
2597 | #define SWIGTYPE_p_wxJPEGHandler swig_types[131] | |
2598 | #define SWIGTYPE_p_wxKeyEvent swig_types[132] | |
2599 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[133] | |
2600 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[134] | |
2601 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[135] | |
2602 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[136] | |
2603 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[137] | |
2604 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[138] | |
2605 | #define SWIGTYPE_p_wxMenu swig_types[139] | |
2606 | #define SWIGTYPE_p_wxMenuBar swig_types[140] | |
2607 | #define SWIGTYPE_p_wxMenuEvent swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMenuItem swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMessageDialog swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMiniFrame swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[145] | |
2612 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[146] | |
2613 | #define SWIGTYPE_p_wxMouseEvent swig_types[147] | |
2614 | #define SWIGTYPE_p_wxMoveEvent swig_types[148] | |
2615 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[149] | |
2616 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[150] | |
2617 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[151] | |
2618 | #define SWIGTYPE_p_wxNotifyEvent swig_types[152] | |
2619 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[153] | |
2620 | #define SWIGTYPE_p_wxObject swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPCXHandler swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPNGHandler swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPNMHandler swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPaintEvent swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPanel swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPaperSize swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPoint swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPopupWindow swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPreviewFrame swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPrintData swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPrintDialog swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPrintDialogData swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPrintPreview swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPrinter swig_types[174] | |
2641 | #define SWIGTYPE_p_wxProgressDialog swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPyApp swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPyEvent swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyImageHandler swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyPanel swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyPrintout swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPySizer swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[191] | |
2658 | #define SWIGTYPE_p_wxPyVListBox swig_types[192] | |
2659 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[193] | |
2660 | #define SWIGTYPE_p_wxPyValidator swig_types[194] | |
2661 | #define SWIGTYPE_p_wxPyWindow swig_types[195] | |
2662 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[196] | |
2663 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[197] | |
2664 | #define SWIGTYPE_p_wxRect swig_types[198] | |
2665 | #define SWIGTYPE_p_wxSashEvent swig_types[199] | |
2666 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[200] | |
2667 | #define SWIGTYPE_p_wxSashWindow swig_types[201] | |
2668 | #define SWIGTYPE_p_wxScrollEvent swig_types[202] | |
2669 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[203] | |
2670 | #define SWIGTYPE_p_wxScrolledWindow swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[205] | |
2672 | #define SWIGTYPE_p_wxShowEvent swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[208] | |
2675 | #define SWIGTYPE_p_wxSize swig_types[209] | |
2676 | #define SWIGTYPE_p_wxSizeEvent swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSizer swig_types[211] | |
2678 | #define SWIGTYPE_p_wxSizerItem swig_types[212] | |
2679 | #define SWIGTYPE_p_wxSplashScreen swig_types[213] | |
2680 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[214] | |
2681 | #define SWIGTYPE_p_wxSplitterEvent swig_types[215] | |
2682 | #define SWIGTYPE_p_wxSplitterWindow swig_types[216] | |
2683 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[217] | |
2684 | #define SWIGTYPE_p_wxStatusBar swig_types[218] | |
2685 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[219] | |
2686 | #define SWIGTYPE_p_wxString swig_types[220] | |
2687 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[221] | |
2688 | #define SWIGTYPE_p_wxTGAHandler swig_types[222] | |
2689 | #define SWIGTYPE_p_wxTIFFHandler swig_types[223] | |
2690 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[224] | |
2691 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[225] | |
2692 | #define SWIGTYPE_p_wxTipWindow swig_types[226] | |
2693 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[227] | |
2694 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[228] | |
2695 | #define SWIGTYPE_p_wxValidator swig_types[229] | |
2696 | #define SWIGTYPE_p_wxWindow swig_types[230] | |
2697 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[231] | |
2698 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[232] | |
2699 | #define SWIGTYPE_p_wxXPMHandler swig_types[233] | |
2700 | static swig_type_info *swig_types[235]; | |
2701 | static swig_module_info swig_module = {swig_types, 234, 0, 0, 0, 0}; | |
27e45892 RD |
2702 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2703 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2704 | ||
2705 | /* -------- TYPES TABLE (END) -------- */ | |
2706 | ||
2707 | #if (PY_VERSION_HEX <= 0x02000000) | |
2708 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2709 | # error "This python version requires to use swig with the '-classic' option" | |
2710 | # endif | |
2711 | #endif | |
2712 | #if (PY_VERSION_HEX <= 0x02020000) | |
2713 | # error "This python version requires to use swig with the '-nomodern' option" | |
2714 | #endif | |
2715 | #if (PY_VERSION_HEX <= 0x02020000) | |
2716 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2717 | #endif | |
2718 | #ifndef METH_O | |
2719 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2720 | #endif | |
2721 | ||
2722 | /*----------------------------------------------- | |
2723 | @(target):= _aui.so | |
2724 | ------------------------------------------------*/ | |
2725 | #define SWIG_init init_aui | |
2726 | ||
2727 | #define SWIG_name "_aui" | |
2728 | ||
2729 | #define SWIGVERSION 0x010329 | |
2730 | ||
2731 | ||
2732 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2733 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2734 | ||
2735 | ||
2736 | #include <stdexcept> | |
2737 | ||
2738 | ||
2739 | namespace swig { | |
2740 | class PyObject_ptr { | |
2741 | protected: | |
2742 | PyObject *_obj; | |
2743 | ||
2744 | public: | |
2745 | PyObject_ptr() :_obj(0) | |
2746 | { | |
2747 | } | |
2748 | ||
2749 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2750 | { | |
2751 | Py_XINCREF(_obj); | |
2752 | } | |
2753 | ||
2754 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2755 | { | |
2756 | if (initial_ref) Py_XINCREF(_obj); | |
2757 | } | |
2758 | ||
2759 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2760 | { | |
2761 | Py_XINCREF(item._obj); | |
2762 | Py_XDECREF(_obj); | |
2763 | _obj = item._obj; | |
2764 | return *this; | |
2765 | } | |
2766 | ||
2767 | ~PyObject_ptr() | |
2768 | { | |
2769 | Py_XDECREF(_obj); | |
2770 | } | |
2771 | ||
2772 | operator PyObject *() const | |
2773 | { | |
2774 | return _obj; | |
2775 | } | |
2776 | ||
2777 | PyObject *operator->() const | |
2778 | { | |
2779 | return _obj; | |
2780 | } | |
2781 | }; | |
2782 | } | |
2783 | ||
2784 | ||
2785 | namespace swig { | |
2786 | struct PyObject_var : PyObject_ptr { | |
2787 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2788 | ||
2789 | PyObject_var & operator = (PyObject* obj) | |
2790 | { | |
2791 | Py_XDECREF(_obj); | |
2792 | _obj = obj; | |
2793 | return *this; | |
2794 | } | |
2795 | }; | |
2796 | } | |
2797 | ||
2798 | ||
2799 | #include "wx/wxPython/wxPython.h" | |
2800 | #include "wx/wxPython/pyclasses.h" | |
2801 | #include <wx/aui/aui.h> | |
2802 | ||
2803 | ||
2804 | #define SWIG_From_long PyInt_FromLong | |
2805 | ||
2806 | ||
2807 | SWIGINTERNINLINE PyObject * | |
2808 | SWIG_From_int (int value) | |
2809 | { | |
2810 | return SWIG_From_long (value); | |
2811 | } | |
2812 | ||
2813 | ||
2814 | #include <limits.h> | |
2815 | #ifndef LLONG_MIN | |
2816 | # define LLONG_MIN LONG_LONG_MIN | |
2817 | #endif | |
2818 | #ifndef LLONG_MAX | |
2819 | # define LLONG_MAX LONG_LONG_MAX | |
2820 | #endif | |
2821 | #ifndef ULLONG_MAX | |
2822 | # define ULLONG_MAX ULONG_LONG_MAX | |
2823 | #endif | |
2824 | ||
2825 | ||
2826 | SWIGINTERN int | |
2827 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2828 | { | |
2829 | if (PyNumber_Check(obj)) { | |
2830 | if (val) *val = PyInt_AsLong(obj); | |
2831 | return SWIG_OK; | |
2832 | } | |
2833 | return SWIG_TypeError; | |
2834 | } | |
2835 | ||
2836 | ||
2837 | SWIGINTERN int | |
2838 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2839 | { | |
2840 | long v; | |
2841 | int res = SWIG_AsVal_long (obj, &v); | |
2842 | if (SWIG_IsOK(res)) { | |
2843 | if ((v < INT_MIN || v > INT_MAX)) { | |
2844 | return SWIG_OverflowError; | |
2845 | } else { | |
2846 | if (val) *val = static_cast< int >(v); | |
2847 | } | |
2848 | } | |
2849 | return res; | |
2850 | } | |
2851 | ||
2852 | ||
2853 | SWIGINTERN int | |
2854 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2855 | { | |
2856 | if (obj == Py_True) { | |
2857 | if (val) *val = true; | |
2858 | return SWIG_OK; | |
2859 | } else if (obj == Py_False) { | |
2860 | if (val) *val = false; | |
2861 | return SWIG_OK; | |
2862 | } else { | |
2863 | long v = 0; | |
2864 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2865 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2866 | return res; | |
2867 | } | |
2868 | } | |
2869 | ||
d7645bfd VZ |
2870 | |
2871 | SWIGINTERN int | |
2872 | SWIG_AsVal_double (PyObject *obj, double* val) | |
2873 | { | |
2874 | if (PyNumber_Check(obj)) { | |
2875 | if (val) *val = PyFloat_AsDouble(obj); | |
2876 | return SWIG_OK; | |
2877 | } | |
2878 | return SWIG_TypeError; | |
2879 | } | |
2880 | ||
5eb8189c RD |
2881 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2882 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2883 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2884 | |
1eeb270e RD |
2885 | SWIGINTERN int |
2886 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2887 | { | |
2888 | long v = 0; | |
2889 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2890 | return SWIG_TypeError; | |
2891 | } | |
2892 | else if (val) | |
2893 | *val = (unsigned long)v; | |
2894 | return SWIG_OK; | |
2895 | } | |
2896 | ||
2897 | ||
2898 | SWIGINTERNINLINE int | |
2899 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2900 | { | |
2901 | unsigned long v; | |
2902 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2903 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2904 | return res; | |
2905 | } | |
2906 | ||
2907 | ||
2908 | SWIGINTERNINLINE PyObject* | |
2909 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2910 | { | |
2911 | return (value > LONG_MAX) ? | |
2912 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2913 | } | |
2914 | ||
2915 | ||
2916 | SWIGINTERNINLINE PyObject * | |
2917 | SWIG_From_size_t (size_t value) | |
2918 | { | |
2919 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2920 | } | |
2921 | ||
2922 | ||
5c8c7dd3 | 2923 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2924 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2925 | { |
5eb8189c | 2926 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2927 | |
2928 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2929 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2930 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2931 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2932 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2933 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2934 | ||
2935 | virtual void DrawSash(wxDC& dc, | |
ac5d357a | 2936 | wxWindow* window, |
27e45892 RD |
2937 | int orientation, |
2938 | const wxRect& rect) | |
2939 | { | |
2940 | bool found; | |
2941 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2942 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2943 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2944 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2945 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
ac5d357a RD |
2946 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2947 | odc, owin, orientation, orect)); | |
27e45892 | 2948 | Py_DECREF(odc); |
8f514ab4 | 2949 | Py_DECREF(owin); |
27e45892 RD |
2950 | Py_DECREF(orect); |
2951 | } | |
2952 | wxPyEndBlockThreads(blocked); | |
2953 | if (! found) | |
5eb8189c | 2954 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2955 | } |
2956 | ||
2957 | virtual void DrawBackground(wxDC& dc, | |
ac5d357a | 2958 | wxWindow* window, |
27e45892 RD |
2959 | int orientation, |
2960 | const wxRect& rect) | |
2961 | { | |
2962 | bool found; | |
2963 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2964 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2965 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2966 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2967 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
ac5d357a RD |
2968 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2969 | odc, owin, orientation, orect)); | |
27e45892 | 2970 | Py_DECREF(odc); |
8f514ab4 | 2971 | Py_DECREF(owin); |
27e45892 RD |
2972 | Py_DECREF(orect); |
2973 | } | |
2974 | wxPyEndBlockThreads(blocked); | |
2975 | if (! found) | |
5eb8189c | 2976 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2977 | } |
2978 | ||
2979 | virtual void DrawCaption(wxDC& dc, | |
ac5d357a | 2980 | wxWindow* window, |
27e45892 RD |
2981 | const wxString& text, |
2982 | const wxRect& rect, | |
5eb8189c | 2983 | wxAuiPaneInfo& pane) |
27e45892 RD |
2984 | { |
2985 | bool found; | |
2986 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2987 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2988 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 2989 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2990 | PyObject* otext = wx2PyString(text); |
2991 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2992 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
ac5d357a RD |
2993 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
2994 | odc, owin, otext, orect, opane)); | |
27e45892 | 2995 | Py_DECREF(odc); |
8f514ab4 | 2996 | Py_DECREF(owin); |
27e45892 RD |
2997 | Py_DECREF(otext); |
2998 | Py_DECREF(orect); | |
2999 | Py_DECREF(opane); | |
3000 | } | |
3001 | wxPyEndBlockThreads(blocked); | |
3002 | if (! found) | |
5eb8189c | 3003 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
3004 | } |
3005 | ||
3006 | virtual void DrawGripper(wxDC& dc, | |
ac5d357a | 3007 | wxWindow* window, |
27e45892 | 3008 | const wxRect& rect, |
5eb8189c | 3009 | wxAuiPaneInfo& pane) |
27e45892 RD |
3010 | { |
3011 | bool found; | |
3012 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3013 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3014 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3015 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3016 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3017 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
ac5d357a | 3018 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3019 | Py_DECREF(odc); |
3020 | Py_DECREF(orect); | |
3021 | Py_DECREF(opane); | |
3022 | } | |
3023 | wxPyEndBlockThreads(blocked); | |
3024 | if (! found) | |
5eb8189c | 3025 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3026 | } |
3027 | ||
3028 | virtual void DrawBorder(wxDC& dc, | |
ac5d357a | 3029 | wxWindow* window, |
27e45892 | 3030 | const wxRect& rect, |
5eb8189c | 3031 | wxAuiPaneInfo& pane) |
27e45892 RD |
3032 | { |
3033 | bool found; | |
3034 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3035 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3036 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3037 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3038 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3039 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3040 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3041 | Py_DECREF(odc); | |
8f514ab4 | 3042 | Py_DECREF(owin); |
27e45892 RD |
3043 | Py_DECREF(orect); |
3044 | Py_DECREF(opane); | |
3045 | } | |
3046 | wxPyEndBlockThreads(blocked); | |
3047 | if (! found) | |
5eb8189c | 3048 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3049 | } |
3050 | ||
3051 | virtual void DrawPaneButton(wxDC& dc, | |
ac5d357a | 3052 | wxWindow* window, |
27e45892 RD |
3053 | int button, |
3054 | int button_state, | |
3055 | const wxRect& rect, | |
5eb8189c | 3056 | wxAuiPaneInfo& pane) |
27e45892 RD |
3057 | { |
3058 | bool found; | |
3059 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3060 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3061 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
ac5d357a | 3062 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3063 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3064 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
ac5d357a RD |
3065 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3066 | odc, owin, button, button_state, | |
27e45892 RD |
3067 | orect, opane)); |
3068 | Py_DECREF(odc); | |
8f514ab4 | 3069 | Py_DECREF(owin); |
27e45892 RD |
3070 | Py_DECREF(orect); |
3071 | Py_DECREF(opane); | |
3072 | } | |
3073 | wxPyEndBlockThreads(blocked); | |
3074 | if (! found) | |
5eb8189c | 3075 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3076 | } |
3077 | ||
3078 | PYPRIVATE; | |
3079 | ||
3080 | }; | |
3081 | ||
5eb8189c RD |
3082 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3083 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3084 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3085 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3086 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3087 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3088 | |
3089 | ||
5c8c7dd3 RD |
3090 | |
3091 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3092 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3093 | { |
5eb8189c | 3094 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3095 | |
8f514ab4 | 3096 | |
d95b9f2b | 3097 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3098 | wxWindow* wnd, |
5c8c7dd3 RD |
3099 | const wxRect& rect ) |
3100 | { | |
3101 | bool found; | |
3102 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3103 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3104 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3105 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3106 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3107 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3108 | Py_DECREF(odc); |
26c4d26f | 3109 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3110 | Py_DECREF(orect); |
3111 | } | |
3112 | wxPyEndBlockThreads(blocked); | |
3113 | if (!found) | |
26c4d26f | 3114 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3115 | } |
3116 | ||
d95b9f2b | 3117 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3118 | wxWindow* wnd, |
5c8c7dd3 RD |
3119 | const wxRect& in_rect, |
3120 | const wxString& caption, | |
5172800e | 3121 | const wxBitmap& bitmap, |
5c8c7dd3 | 3122 | bool active, |
36cb9ebe RD |
3123 | int close_button_state, |
3124 | wxRect* out_tab_rect, | |
3125 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3126 | int* x_extent) |
3127 | { | |
3128 | bool found; | |
36cb9ebe | 3129 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3130 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3131 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3132 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3133 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 RD |
3134 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
3135 | PyObject* otext = wx2PyString(caption); | |
5172800e | 3136 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
5c8c7dd3 | 3137 | PyObject* ro; |
5eb8189c | 3138 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e RD |
3139 | "(OOOOOii)", |
3140 | odc, ownd, orect, otext, obmp, | |
36cb9ebe | 3141 | (int)active, close_button_state)); |
5c8c7dd3 | 3142 | if (ro) { |
36cb9ebe | 3143 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3144 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3145 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3146 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3147 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3148 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3149 | else if (!wxRect_helper(o2, &out_button_rect)) |
3150 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3151 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3152 | PyErr_SetString(PyExc_TypeError, errmsg); |
3153 | else | |
36cb9ebe | 3154 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3155 | |
3156 | Py_DECREF(o1); | |
3157 | Py_DECREF(o2); | |
36cb9ebe | 3158 | Py_DECREF(o3); |
5c8c7dd3 RD |
3159 | } |
3160 | else { | |
3161 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3162 | } | |
3163 | Py_DECREF(ro); | |
3164 | } | |
3165 | ||
3166 | Py_DECREF(odc); | |
26c4d26f | 3167 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3168 | Py_DECREF(orect); |
3169 | Py_DECREF(otext); | |
5172800e | 3170 | Py_DECREF(obmp); |
5c8c7dd3 RD |
3171 | } |
3172 | wxPyEndBlockThreads(blocked); | |
3173 | if (!found) | |
5172800e | 3174 | wxAuiDefaultTabArt::DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3175 | } |
3176 | ||
3177 | ||
d95b9f2b | 3178 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3179 | wxWindow* wnd, |
8f514ab4 RD |
3180 | const wxRect& in_rect, |
3181 | int bitmap_id, | |
3182 | int button_state, | |
3183 | int orientation, | |
3184 | const wxBitmap& bitmap_override, | |
3185 | wxRect* out_rect) | |
3186 | { | |
3187 | bool found; | |
3188 | const char* errmsg = "DrawButton should return a wxRect"; | |
3189 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3190 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3191 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3192 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 RD |
3193 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
3194 | PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0); | |
3195 | PyObject* ro; | |
26c4d26f | 3196 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
8f514ab4 RD |
3197 | bitmap_id, button_state, orientation, |
3198 | obmp)); | |
3199 | if (ro) { | |
3200 | if (!wxRect_helper(ro, &out_rect)) | |
3201 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3202 | Py_DECREF(ro); | |
3203 | } | |
3204 | ||
3205 | Py_DECREF(odc); | |
26c4d26f | 3206 | Py_DECREF(ownd); |
8f514ab4 RD |
3207 | Py_DECREF(orect); |
3208 | Py_DECREF(obmp); | |
3209 | } | |
3210 | wxPyEndBlockThreads(blocked); | |
3211 | if (!found) | |
26c4d26f | 3212 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect); |
8f514ab4 RD |
3213 | } |
3214 | ||
26c4d26f | 3215 | |
d95b9f2b | 3216 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3217 | wxWindow* wnd, |
8f514ab4 | 3218 | const wxString& caption, |
5172800e | 3219 | const wxBitmap& bitmap, |
8f514ab4 | 3220 | bool active, |
36cb9ebe | 3221 | int close_button_state, |
8f514ab4 RD |
3222 | int* x_extent) |
3223 | { | |
3224 | bool found; | |
3225 | wxSize rv, *prv = &rv; | |
3226 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3227 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3228 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3229 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3230 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3231 | PyObject* otext = wx2PyString(caption); |
5172800e | 3232 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3233 | PyObject* ro; |
5eb8189c | 3234 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3235 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3236 | if (ro) { |
3237 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3238 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3239 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3240 | if (!wxSize_helper(o1, &prv)) | |
3241 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3242 | else if (!PyInt_Check(o2)) | |
3243 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3244 | else | |
3245 | *x_extent = PyInt_AsLong(o2); | |
3246 | ||
3247 | Py_DECREF(o1); | |
3248 | Py_DECREF(o2); | |
3249 | } | |
3250 | else { | |
3251 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3252 | } | |
3253 | Py_DECREF(ro); | |
3254 | } | |
3255 | ||
3256 | Py_DECREF(odc); | |
26c4d26f | 3257 | Py_DECREF(ownd); |
8f514ab4 | 3258 | Py_DECREF(otext); |
5172800e | 3259 | Py_DECREF(obmp); |
8f514ab4 RD |
3260 | } |
3261 | wxPyEndBlockThreads(blocked); | |
3262 | if (!found) | |
5172800e | 3263 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3264 | return rv; |
3265 | } | |
26c4d26f | 3266 | |
d95b9f2b RD |
3267 | // TODO |
3268 | // virtual int ShowWindowList( | |
3269 | // wxWindow* wnd, | |
3270 | // const wxArrayString& items, | |
3271 | // int active_idx); | |
5172800e RD |
3272 | // |
3273 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, | |
3274 | // wxAuiNotebookPageArray& pages); | |
3275 | // virtual wxAuiTabArt* Clone(); | |
3276 | // virtual void SetFlags(unsigned int flags); | |
3277 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3278 | // size_t tab_count); | |
3279 | // virtual int GetIndentSize(); | |
3280 | ||
d95b9f2b | 3281 | |
8f514ab4 | 3282 | |
5c8c7dd3 RD |
3283 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3284 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3285 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3286 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3287 | |
3288 | PYPRIVATE; | |
3289 | }; | |
3290 | ||
3291 | ||
5eb8189c RD |
3292 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3293 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3294 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3295 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3296 | |
27e45892 RD |
3297 | #ifdef __cplusplus |
3298 | extern "C" { | |
3299 | #endif | |
5eb8189c | 3300 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3301 | { |
3302 | void *argp = 0; | |
5eb8189c | 3303 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3304 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3305 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3306 | } |
3307 | if (!argp) { | |
5eb8189c | 3308 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3309 | } else { |
5eb8189c RD |
3310 | wxAuiDockInfo * temp; |
3311 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3312 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3313 | if (SWIG_IsNewObj(res)) delete temp; |
3314 | } | |
3315 | } | |
3316 | return 0; | |
3317 | fail: | |
3318 | return 1; | |
3319 | } | |
3320 | ||
3321 | ||
5eb8189c | 3322 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3323 | PyObject *pyobj = 0; |
3324 | ||
5eb8189c | 3325 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3326 | return pyobj; |
3327 | } | |
3328 | ||
3329 | ||
5eb8189c | 3330 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3331 | { |
3332 | void *argp = 0; | |
5eb8189c | 3333 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3334 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3335 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3336 | } |
3337 | if (!argp) { | |
5eb8189c | 3338 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3339 | } else { |
5eb8189c RD |
3340 | wxAuiPaneInfo * temp; |
3341 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3342 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3343 | if (SWIG_IsNewObj(res)) delete temp; |
3344 | } | |
3345 | } | |
3346 | return 0; | |
3347 | fail: | |
3348 | return 1; | |
3349 | } | |
3350 | ||
3351 | ||
5eb8189c | 3352 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3353 | PyObject *pyobj = 0; |
3354 | ||
5eb8189c | 3355 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3356 | return pyobj; |
3357 | } | |
3358 | ||
3359 | ||
5eb8189c | 3360 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3361 | PyObject *resultobj = 0; |
5eb8189c | 3362 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3363 | |
5eb8189c | 3364 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3365 | { |
3366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3367 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3368 | wxPyEndAllowThreads(__tstate); |
3369 | if (PyErr_Occurred()) SWIG_fail; | |
3370 | } | |
5eb8189c | 3371 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3372 | return resultobj; |
3373 | fail: | |
3374 | return NULL; | |
3375 | } | |
3376 | ||
3377 | ||
5eb8189c | 3378 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3379 | PyObject *resultobj = 0; |
5eb8189c | 3380 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3381 | void *argp1 = 0 ; |
3382 | int res1 = 0 ; | |
3383 | PyObject *swig_obj[1] ; | |
3384 | ||
3385 | if (!args) SWIG_fail; | |
3386 | swig_obj[0] = args; | |
5eb8189c | 3387 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3388 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3389 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3390 | } |
5eb8189c | 3391 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3392 | { |
3393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3394 | delete arg1; | |
3395 | ||
3396 | wxPyEndAllowThreads(__tstate); | |
3397 | if (PyErr_Occurred()) SWIG_fail; | |
3398 | } | |
3399 | resultobj = SWIG_Py_Void(); | |
3400 | return resultobj; | |
3401 | fail: | |
3402 | return NULL; | |
3403 | } | |
3404 | ||
3405 | ||
5eb8189c | 3406 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 3407 | PyObject *resultobj = 0; |
5eb8189c RD |
3408 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3409 | wxAuiPaneInfo arg2 ; | |
1eeb270e RD |
3410 | void *argp1 = 0 ; |
3411 | int res1 = 0 ; | |
3412 | void *argp2 ; | |
3413 | int res2 = 0 ; | |
3414 | PyObject * obj0 = 0 ; | |
3415 | PyObject * obj1 = 0 ; | |
3416 | char * kwnames[] = { | |
3417 | (char *) "self",(char *) "source", NULL | |
3418 | }; | |
3419 | ||
5eb8189c RD |
3420 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3421 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
1eeb270e | 3422 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3423 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
1eeb270e | 3424 | } |
5eb8189c | 3425 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
1eeb270e | 3426 | { |
5eb8189c | 3427 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
1eeb270e | 3428 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3429 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
1eeb270e RD |
3430 | } |
3431 | if (!argp2) { | |
5eb8189c | 3432 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
1eeb270e | 3433 | } else { |
5eb8189c | 3434 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
1eeb270e RD |
3435 | arg2 = *temp; |
3436 | if (SWIG_IsNewObj(res2)) delete temp; | |
3437 | } | |
3438 | } | |
3439 | { | |
3440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3441 | (arg1)->SafeSet(arg2); | |
3442 | wxPyEndAllowThreads(__tstate); | |
3443 | if (PyErr_Occurred()) SWIG_fail; | |
3444 | } | |
3445 | resultobj = SWIG_Py_Void(); | |
3446 | return resultobj; | |
3447 | fail: | |
3448 | return NULL; | |
3449 | } | |
3450 | ||
3451 | ||
5eb8189c | 3452 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3453 | PyObject *resultobj = 0; |
5eb8189c | 3454 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3455 | bool result; |
3456 | void *argp1 = 0 ; | |
3457 | int res1 = 0 ; | |
3458 | PyObject *swig_obj[1] ; | |
3459 | ||
3460 | if (!args) SWIG_fail; | |
3461 | swig_obj[0] = args; | |
5eb8189c | 3462 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3463 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3465 | } |
5eb8189c | 3466 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3467 | { |
3468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3469 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3470 | wxPyEndAllowThreads(__tstate); |
3471 | if (PyErr_Occurred()) SWIG_fail; | |
3472 | } | |
3473 | { | |
3474 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3475 | } | |
3476 | return resultobj; | |
3477 | fail: | |
3478 | return NULL; | |
3479 | } | |
3480 | ||
3481 | ||
5eb8189c | 3482 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3483 | PyObject *resultobj = 0; |
5eb8189c | 3484 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3485 | bool result; |
3486 | void *argp1 = 0 ; | |
3487 | int res1 = 0 ; | |
3488 | PyObject *swig_obj[1] ; | |
3489 | ||
3490 | if (!args) SWIG_fail; | |
3491 | swig_obj[0] = args; | |
5eb8189c | 3492 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3493 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3495 | } |
5eb8189c | 3496 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3497 | { |
3498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3499 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3500 | wxPyEndAllowThreads(__tstate); |
3501 | if (PyErr_Occurred()) SWIG_fail; | |
3502 | } | |
3503 | { | |
3504 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3505 | } | |
3506 | return resultobj; | |
3507 | fail: | |
3508 | return NULL; | |
3509 | } | |
3510 | ||
3511 | ||
5eb8189c | 3512 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3513 | PyObject *resultobj = 0; |
5eb8189c | 3514 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3515 | bool result; |
3516 | void *argp1 = 0 ; | |
3517 | int res1 = 0 ; | |
3518 | PyObject *swig_obj[1] ; | |
3519 | ||
3520 | if (!args) SWIG_fail; | |
3521 | swig_obj[0] = args; | |
5eb8189c | 3522 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3523 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3525 | } |
5eb8189c | 3526 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3527 | { |
3528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3529 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3530 | wxPyEndAllowThreads(__tstate); |
3531 | if (PyErr_Occurred()) SWIG_fail; | |
3532 | } | |
3533 | { | |
3534 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3535 | } | |
3536 | return resultobj; | |
3537 | fail: | |
3538 | return NULL; | |
3539 | } | |
3540 | ||
3541 | ||
5eb8189c | 3542 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3543 | PyObject *resultobj = 0; |
5eb8189c | 3544 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3545 | bool result; |
3546 | void *argp1 = 0 ; | |
3547 | int res1 = 0 ; | |
3548 | PyObject *swig_obj[1] ; | |
3549 | ||
3550 | if (!args) SWIG_fail; | |
3551 | swig_obj[0] = args; | |
5eb8189c | 3552 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3553 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3554 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3555 | } |
5eb8189c | 3556 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3557 | { |
3558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3559 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3560 | wxPyEndAllowThreads(__tstate); |
3561 | if (PyErr_Occurred()) SWIG_fail; | |
3562 | } | |
3563 | { | |
3564 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3565 | } | |
3566 | return resultobj; | |
3567 | fail: | |
3568 | return NULL; | |
3569 | } | |
3570 | ||
3571 | ||
5eb8189c | 3572 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3573 | PyObject *resultobj = 0; |
5eb8189c | 3574 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3575 | bool result; |
3576 | void *argp1 = 0 ; | |
3577 | int res1 = 0 ; | |
3578 | PyObject *swig_obj[1] ; | |
3579 | ||
3580 | if (!args) SWIG_fail; | |
3581 | swig_obj[0] = args; | |
5eb8189c | 3582 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3583 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3584 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3585 | } |
5eb8189c | 3586 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3587 | { |
3588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3589 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3590 | wxPyEndAllowThreads(__tstate); |
3591 | if (PyErr_Occurred()) SWIG_fail; | |
3592 | } | |
3593 | { | |
3594 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3595 | } | |
3596 | return resultobj; | |
3597 | fail: | |
3598 | return NULL; | |
3599 | } | |
3600 | ||
3601 | ||
5eb8189c | 3602 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3603 | PyObject *resultobj = 0; |
5eb8189c | 3604 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3605 | bool result; |
3606 | void *argp1 = 0 ; | |
3607 | int res1 = 0 ; | |
3608 | PyObject *swig_obj[1] ; | |
3609 | ||
3610 | if (!args) SWIG_fail; | |
3611 | swig_obj[0] = args; | |
5eb8189c | 3612 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3613 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3614 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3615 | } |
5eb8189c | 3616 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3617 | { |
3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3619 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3620 | wxPyEndAllowThreads(__tstate); |
3621 | if (PyErr_Occurred()) SWIG_fail; | |
3622 | } | |
3623 | { | |
3624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3625 | } | |
3626 | return resultobj; | |
3627 | fail: | |
3628 | return NULL; | |
3629 | } | |
3630 | ||
3631 | ||
5eb8189c | 3632 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3633 | PyObject *resultobj = 0; |
5eb8189c | 3634 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3635 | bool result; |
3636 | void *argp1 = 0 ; | |
3637 | int res1 = 0 ; | |
3638 | PyObject *swig_obj[1] ; | |
3639 | ||
3640 | if (!args) SWIG_fail; | |
3641 | swig_obj[0] = args; | |
5eb8189c | 3642 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3643 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3644 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3645 | } |
5eb8189c | 3646 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3647 | { |
3648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3649 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3650 | wxPyEndAllowThreads(__tstate); |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
3652 | } | |
3653 | { | |
3654 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3655 | } | |
3656 | return resultobj; | |
3657 | fail: | |
3658 | return NULL; | |
3659 | } | |
3660 | ||
3661 | ||
5eb8189c | 3662 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3663 | PyObject *resultobj = 0; |
5eb8189c | 3664 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3665 | bool result; |
3666 | void *argp1 = 0 ; | |
3667 | int res1 = 0 ; | |
3668 | PyObject *swig_obj[1] ; | |
3669 | ||
3670 | if (!args) SWIG_fail; | |
3671 | swig_obj[0] = args; | |
5eb8189c | 3672 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3673 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3674 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3675 | } |
5eb8189c | 3676 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3677 | { |
3678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3679 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3680 | wxPyEndAllowThreads(__tstate); |
3681 | if (PyErr_Occurred()) SWIG_fail; | |
3682 | } | |
3683 | { | |
3684 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3685 | } | |
3686 | return resultobj; | |
3687 | fail: | |
3688 | return NULL; | |
3689 | } | |
3690 | ||
3691 | ||
5eb8189c | 3692 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3693 | PyObject *resultobj = 0; |
5eb8189c | 3694 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3695 | bool result; |
3696 | void *argp1 = 0 ; | |
3697 | int res1 = 0 ; | |
3698 | PyObject *swig_obj[1] ; | |
3699 | ||
3700 | if (!args) SWIG_fail; | |
3701 | swig_obj[0] = args; | |
5eb8189c | 3702 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3703 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3705 | } |
5eb8189c | 3706 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3707 | { |
3708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3709 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3710 | wxPyEndAllowThreads(__tstate); |
3711 | if (PyErr_Occurred()) SWIG_fail; | |
3712 | } | |
3713 | { | |
3714 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3715 | } | |
3716 | return resultobj; | |
3717 | fail: | |
3718 | return NULL; | |
3719 | } | |
3720 | ||
3721 | ||
5eb8189c | 3722 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3723 | PyObject *resultobj = 0; |
5eb8189c | 3724 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3725 | bool result; |
3726 | void *argp1 = 0 ; | |
3727 | int res1 = 0 ; | |
3728 | PyObject *swig_obj[1] ; | |
3729 | ||
3730 | if (!args) SWIG_fail; | |
3731 | swig_obj[0] = args; | |
5eb8189c | 3732 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3733 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3734 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3735 | } |
5eb8189c | 3736 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3737 | { |
3738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3739 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3740 | wxPyEndAllowThreads(__tstate); |
3741 | if (PyErr_Occurred()) SWIG_fail; | |
3742 | } | |
3743 | { | |
3744 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3745 | } | |
3746 | return resultobj; | |
3747 | fail: | |
3748 | return NULL; | |
3749 | } | |
3750 | ||
3751 | ||
5eb8189c | 3752 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3753 | PyObject *resultobj = 0; |
5eb8189c | 3754 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3755 | bool result; |
3756 | void *argp1 = 0 ; | |
3757 | int res1 = 0 ; | |
3758 | PyObject *swig_obj[1] ; | |
3759 | ||
3760 | if (!args) SWIG_fail; | |
3761 | swig_obj[0] = args; | |
5eb8189c | 3762 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3763 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3764 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3765 | } |
5eb8189c | 3766 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3767 | { |
3768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3769 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3770 | wxPyEndAllowThreads(__tstate); |
3771 | if (PyErr_Occurred()) SWIG_fail; | |
3772 | } | |
3773 | { | |
3774 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3775 | } | |
3776 | return resultobj; | |
3777 | fail: | |
3778 | return NULL; | |
3779 | } | |
3780 | ||
3781 | ||
5eb8189c | 3782 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3783 | PyObject *resultobj = 0; |
5eb8189c | 3784 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3785 | bool result; |
3786 | void *argp1 = 0 ; | |
3787 | int res1 = 0 ; | |
3788 | PyObject *swig_obj[1] ; | |
3789 | ||
3790 | if (!args) SWIG_fail; | |
3791 | swig_obj[0] = args; | |
5eb8189c | 3792 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3793 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3794 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3795 | } |
5eb8189c | 3796 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3797 | { |
3798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3799 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3800 | wxPyEndAllowThreads(__tstate); |
3801 | if (PyErr_Occurred()) SWIG_fail; | |
3802 | } | |
3803 | { | |
3804 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3805 | } | |
3806 | return resultobj; | |
3807 | fail: | |
3808 | return NULL; | |
3809 | } | |
3810 | ||
3811 | ||
5eb8189c | 3812 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3813 | PyObject *resultobj = 0; |
5eb8189c | 3814 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3815 | bool result; |
3816 | void *argp1 = 0 ; | |
3817 | int res1 = 0 ; | |
3818 | PyObject *swig_obj[1] ; | |
3819 | ||
3820 | if (!args) SWIG_fail; | |
3821 | swig_obj[0] = args; | |
5eb8189c | 3822 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3823 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3824 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3825 | } |
5eb8189c | 3826 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3827 | { |
3828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3829 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3830 | wxPyEndAllowThreads(__tstate); |
3831 | if (PyErr_Occurred()) SWIG_fail; | |
3832 | } | |
3833 | { | |
3834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3835 | } | |
3836 | return resultobj; | |
3837 | fail: | |
3838 | return NULL; | |
3839 | } | |
3840 | ||
3841 | ||
5eb8189c | 3842 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3843 | PyObject *resultobj = 0; |
5eb8189c | 3844 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3845 | bool result; |
3846 | void *argp1 = 0 ; | |
3847 | int res1 = 0 ; | |
3848 | PyObject *swig_obj[1] ; | |
3849 | ||
3850 | if (!args) SWIG_fail; | |
3851 | swig_obj[0] = args; | |
5eb8189c | 3852 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3853 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3854 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3855 | } |
5eb8189c | 3856 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3857 | { |
3858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3859 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3860 | wxPyEndAllowThreads(__tstate); |
3861 | if (PyErr_Occurred()) SWIG_fail; | |
3862 | } | |
3863 | { | |
3864 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3865 | } | |
3866 | return resultobj; | |
3867 | fail: | |
3868 | return NULL; | |
3869 | } | |
3870 | ||
3871 | ||
5eb8189c | 3872 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3873 | PyObject *resultobj = 0; |
5eb8189c | 3874 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3875 | bool result; |
3876 | void *argp1 = 0 ; | |
3877 | int res1 = 0 ; | |
3878 | PyObject *swig_obj[1] ; | |
3879 | ||
3880 | if (!args) SWIG_fail; | |
3881 | swig_obj[0] = args; | |
5eb8189c | 3882 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3883 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3885 | } |
5eb8189c | 3886 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3887 | { |
3888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3889 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3890 | wxPyEndAllowThreads(__tstate); |
3891 | if (PyErr_Occurred()) SWIG_fail; | |
3892 | } | |
3893 | { | |
3894 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3895 | } | |
3896 | return resultobj; | |
3897 | fail: | |
3898 | return NULL; | |
3899 | } | |
3900 | ||
3901 | ||
5eb8189c | 3902 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3903 | PyObject *resultobj = 0; |
5eb8189c | 3904 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3905 | bool result; |
3906 | void *argp1 = 0 ; | |
3907 | int res1 = 0 ; | |
3908 | PyObject *swig_obj[1] ; | |
3909 | ||
3910 | if (!args) SWIG_fail; | |
3911 | swig_obj[0] = args; | |
5eb8189c | 3912 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3913 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3914 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3915 | } |
5eb8189c | 3916 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3917 | { |
3918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3919 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3920 | wxPyEndAllowThreads(__tstate); |
3921 | if (PyErr_Occurred()) SWIG_fail; | |
3922 | } | |
3923 | { | |
3924 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3925 | } | |
3926 | return resultobj; | |
3927 | fail: | |
3928 | return NULL; | |
3929 | } | |
3930 | ||
3931 | ||
5eb8189c | 3932 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3933 | PyObject *resultobj = 0; |
5eb8189c | 3934 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3935 | bool result; |
3936 | void *argp1 = 0 ; | |
3937 | int res1 = 0 ; | |
3938 | PyObject *swig_obj[1] ; | |
3939 | ||
3940 | if (!args) SWIG_fail; | |
3941 | swig_obj[0] = args; | |
5eb8189c | 3942 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3943 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3945 | } |
5eb8189c | 3946 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3947 | { |
3948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3949 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3950 | wxPyEndAllowThreads(__tstate); |
3951 | if (PyErr_Occurred()) SWIG_fail; | |
3952 | } | |
3953 | { | |
3954 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3955 | } | |
3956 | return resultobj; | |
3957 | fail: | |
3958 | return NULL; | |
3959 | } | |
3960 | ||
3961 | ||
5eb8189c | 3962 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3963 | PyObject *resultobj = 0; |
5eb8189c | 3964 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3965 | bool result; |
3966 | void *argp1 = 0 ; | |
3967 | int res1 = 0 ; | |
3968 | PyObject *swig_obj[1] ; | |
3969 | ||
3970 | if (!args) SWIG_fail; | |
3971 | swig_obj[0] = args; | |
5eb8189c | 3972 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3973 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3975 | } |
5eb8189c | 3976 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3977 | { |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3979 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3980 | wxPyEndAllowThreads(__tstate); |
3981 | if (PyErr_Occurred()) SWIG_fail; | |
3982 | } | |
3983 | { | |
3984 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3985 | } | |
3986 | return resultobj; | |
3987 | fail: | |
3988 | return NULL; | |
3989 | } | |
3990 | ||
3991 | ||
5eb8189c | 3992 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3993 | PyObject *resultobj = 0; |
5eb8189c | 3994 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3995 | bool result; |
3996 | void *argp1 = 0 ; | |
3997 | int res1 = 0 ; | |
3998 | PyObject *swig_obj[1] ; | |
3999 | ||
4000 | if (!args) SWIG_fail; | |
4001 | swig_obj[0] = args; | |
5eb8189c | 4002 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4003 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4004 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4005 | } |
5eb8189c | 4006 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4007 | { |
4008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4009 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
4010 | wxPyEndAllowThreads(__tstate); |
4011 | if (PyErr_Occurred()) SWIG_fail; | |
4012 | } | |
4013 | { | |
4014 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4015 | } | |
4016 | return resultobj; | |
4017 | fail: | |
4018 | return NULL; | |
4019 | } | |
4020 | ||
4021 | ||
5eb8189c | 4022 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4023 | PyObject *resultobj = 0; |
5eb8189c | 4024 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4025 | bool result; |
4026 | void *argp1 = 0 ; | |
4027 | int res1 = 0 ; | |
4028 | PyObject *swig_obj[1] ; | |
4029 | ||
4030 | if (!args) SWIG_fail; | |
4031 | swig_obj[0] = args; | |
5eb8189c | 4032 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4033 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4034 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4035 | } |
5eb8189c | 4036 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4037 | { |
4038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4039 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4040 | wxPyEndAllowThreads(__tstate); |
4041 | if (PyErr_Occurred()) SWIG_fail; | |
4042 | } | |
4043 | { | |
4044 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4045 | } | |
4046 | return resultobj; | |
4047 | fail: | |
4048 | return NULL; | |
4049 | } | |
4050 | ||
4051 | ||
5eb8189c | 4052 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4053 | PyObject *resultobj = 0; |
5eb8189c | 4054 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4055 | bool result; |
4056 | void *argp1 = 0 ; | |
4057 | int res1 = 0 ; | |
4058 | PyObject *swig_obj[1] ; | |
4059 | ||
4060 | if (!args) SWIG_fail; | |
4061 | swig_obj[0] = args; | |
5eb8189c | 4062 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4063 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4064 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4065 | } |
5eb8189c | 4066 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4067 | { |
4068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4069 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4070 | wxPyEndAllowThreads(__tstate); |
4071 | if (PyErr_Occurred()) SWIG_fail; | |
4072 | } | |
4073 | { | |
4074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4075 | } | |
4076 | return resultobj; | |
4077 | fail: | |
4078 | return NULL; | |
4079 | } | |
4080 | ||
4081 | ||
5eb8189c | 4082 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4083 | PyObject *resultobj = 0; |
5eb8189c | 4084 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4085 | bool result; |
4086 | void *argp1 = 0 ; | |
4087 | int res1 = 0 ; | |
4088 | PyObject *swig_obj[1] ; | |
4089 | ||
4090 | if (!args) SWIG_fail; | |
4091 | swig_obj[0] = args; | |
5eb8189c | 4092 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4093 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4094 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4095 | } |
5eb8189c | 4096 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4097 | { |
4098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4099 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4100 | wxPyEndAllowThreads(__tstate); |
4101 | if (PyErr_Occurred()) SWIG_fail; | |
4102 | } | |
4103 | { | |
4104 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4105 | } | |
4106 | return resultobj; | |
4107 | fail: | |
4108 | return NULL; | |
4109 | } | |
4110 | ||
4111 | ||
5eb8189c | 4112 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4113 | PyObject *resultobj = 0; |
5eb8189c RD |
4114 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4115 | bool result; | |
4116 | void *argp1 = 0 ; | |
4117 | int res1 = 0 ; | |
4118 | PyObject *swig_obj[1] ; | |
4119 | ||
4120 | if (!args) SWIG_fail; | |
4121 | swig_obj[0] = args; | |
4122 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4123 | if (!SWIG_IsOK(res1)) { | |
4124 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4125 | } | |
4126 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4127 | { | |
4128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4129 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4130 | wxPyEndAllowThreads(__tstate); | |
4131 | if (PyErr_Occurred()) SWIG_fail; | |
4132 | } | |
4133 | { | |
4134 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4135 | } | |
4136 | return resultobj; | |
4137 | fail: | |
4138 | return NULL; | |
4139 | } | |
4140 | ||
4141 | ||
4142 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4143 | PyObject *resultobj = 0; | |
4144 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4145 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4146 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4147 | void *argp1 = 0 ; |
4148 | int res1 = 0 ; | |
4149 | void *argp2 = 0 ; | |
4150 | int res2 = 0 ; | |
4151 | PyObject * obj0 = 0 ; | |
4152 | PyObject * obj1 = 0 ; | |
4153 | char * kwnames[] = { | |
4154 | (char *) "self",(char *) "w", NULL | |
4155 | }; | |
4156 | ||
5eb8189c RD |
4157 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4158 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4159 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4160 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4161 | } |
5eb8189c | 4162 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4163 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4164 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4165 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4166 | } |
4167 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4168 | { | |
4169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4170 | { | |
5eb8189c RD |
4171 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4172 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4173 | } |
4174 | wxPyEndAllowThreads(__tstate); | |
4175 | if (PyErr_Occurred()) SWIG_fail; | |
4176 | } | |
4177 | { | |
4178 | resultobj = obj0; Py_INCREF(resultobj); | |
4179 | } | |
4180 | return resultobj; | |
4181 | fail: | |
4182 | return NULL; | |
4183 | } | |
4184 | ||
4185 | ||
5eb8189c | 4186 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4187 | PyObject *resultobj = 0; |
5eb8189c | 4188 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4189 | wxString *arg2 = 0 ; |
5eb8189c | 4190 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4191 | void *argp1 = 0 ; |
4192 | int res1 = 0 ; | |
4193 | bool temp2 = false ; | |
4194 | PyObject * obj0 = 0 ; | |
4195 | PyObject * obj1 = 0 ; | |
4196 | char * kwnames[] = { | |
4197 | (char *) "self",(char *) "n", NULL | |
4198 | }; | |
4199 | ||
5eb8189c RD |
4200 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4201 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4202 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4204 | } |
5eb8189c | 4205 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4206 | { |
4207 | arg2 = wxString_in_helper(obj1); | |
4208 | if (arg2 == NULL) SWIG_fail; | |
4209 | temp2 = true; | |
4210 | } | |
4211 | { | |
4212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4213 | { | |
5eb8189c RD |
4214 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4215 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4216 | } |
4217 | wxPyEndAllowThreads(__tstate); | |
4218 | if (PyErr_Occurred()) SWIG_fail; | |
4219 | } | |
4220 | { | |
4221 | resultobj = obj0; Py_INCREF(resultobj); | |
4222 | } | |
4223 | { | |
4224 | if (temp2) | |
4225 | delete arg2; | |
4226 | } | |
4227 | return resultobj; | |
4228 | fail: | |
4229 | { | |
4230 | if (temp2) | |
4231 | delete arg2; | |
4232 | } | |
4233 | return NULL; | |
4234 | } | |
4235 | ||
4236 | ||
5eb8189c | 4237 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4238 | PyObject *resultobj = 0; |
5eb8189c | 4239 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4240 | wxString *arg2 = 0 ; |
5eb8189c | 4241 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4242 | void *argp1 = 0 ; |
4243 | int res1 = 0 ; | |
4244 | bool temp2 = false ; | |
4245 | PyObject * obj0 = 0 ; | |
4246 | PyObject * obj1 = 0 ; | |
4247 | char * kwnames[] = { | |
4248 | (char *) "self",(char *) "c", NULL | |
4249 | }; | |
4250 | ||
5eb8189c RD |
4251 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4252 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4253 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4254 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4255 | } |
5eb8189c | 4256 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4257 | { |
4258 | arg2 = wxString_in_helper(obj1); | |
4259 | if (arg2 == NULL) SWIG_fail; | |
4260 | temp2 = true; | |
4261 | } | |
4262 | { | |
4263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4264 | { | |
5eb8189c RD |
4265 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4266 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4267 | } |
4268 | wxPyEndAllowThreads(__tstate); | |
4269 | if (PyErr_Occurred()) SWIG_fail; | |
4270 | } | |
4271 | { | |
4272 | resultobj = obj0; Py_INCREF(resultobj); | |
4273 | } | |
4274 | { | |
4275 | if (temp2) | |
4276 | delete arg2; | |
4277 | } | |
4278 | return resultobj; | |
4279 | fail: | |
4280 | { | |
4281 | if (temp2) | |
4282 | delete arg2; | |
4283 | } | |
4284 | return NULL; | |
4285 | } | |
4286 | ||
4287 | ||
5eb8189c | 4288 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4289 | PyObject *resultobj = 0; |
5eb8189c RD |
4290 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4291 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4292 | void *argp1 = 0 ; |
4293 | int res1 = 0 ; | |
4294 | PyObject *swig_obj[1] ; | |
4295 | ||
4296 | if (!args) SWIG_fail; | |
4297 | swig_obj[0] = args; | |
5eb8189c | 4298 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4299 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4301 | } |
5eb8189c | 4302 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4303 | { |
4304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4305 | { | |
5eb8189c RD |
4306 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4307 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4308 | } |
4309 | wxPyEndAllowThreads(__tstate); | |
4310 | if (PyErr_Occurred()) SWIG_fail; | |
4311 | } | |
4312 | { | |
4313 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4314 | } | |
4315 | return resultobj; | |
4316 | fail: | |
4317 | return NULL; | |
4318 | } | |
4319 | ||
4320 | ||
5eb8189c | 4321 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4322 | PyObject *resultobj = 0; |
5eb8189c RD |
4323 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4324 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4325 | void *argp1 = 0 ; |
4326 | int res1 = 0 ; | |
4327 | PyObject *swig_obj[1] ; | |
4328 | ||
4329 | if (!args) SWIG_fail; | |
4330 | swig_obj[0] = args; | |
5eb8189c | 4331 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4332 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4333 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4334 | } |
5eb8189c | 4335 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4336 | { |
4337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4338 | { | |
5eb8189c RD |
4339 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4340 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4341 | } |
4342 | wxPyEndAllowThreads(__tstate); | |
4343 | if (PyErr_Occurred()) SWIG_fail; | |
4344 | } | |
4345 | { | |
4346 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4347 | } | |
4348 | return resultobj; | |
4349 | fail: | |
4350 | return NULL; | |
4351 | } | |
4352 | ||
4353 | ||
5eb8189c | 4354 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4355 | PyObject *resultobj = 0; |
5eb8189c RD |
4356 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4357 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4358 | void *argp1 = 0 ; |
4359 | int res1 = 0 ; | |
4360 | PyObject *swig_obj[1] ; | |
4361 | ||
4362 | if (!args) SWIG_fail; | |
4363 | swig_obj[0] = args; | |
5eb8189c | 4364 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4365 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4366 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4367 | } |
5eb8189c | 4368 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4369 | { |
4370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4371 | { | |
5eb8189c RD |
4372 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4373 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4374 | } |
4375 | wxPyEndAllowThreads(__tstate); | |
4376 | if (PyErr_Occurred()) SWIG_fail; | |
4377 | } | |
4378 | { | |
4379 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4380 | } | |
4381 | return resultobj; | |
4382 | fail: | |
4383 | return NULL; | |
4384 | } | |
4385 | ||
4386 | ||
5eb8189c | 4387 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4388 | PyObject *resultobj = 0; |
5eb8189c RD |
4389 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4390 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4391 | void *argp1 = 0 ; |
4392 | int res1 = 0 ; | |
4393 | PyObject *swig_obj[1] ; | |
4394 | ||
4395 | if (!args) SWIG_fail; | |
4396 | swig_obj[0] = args; | |
5eb8189c | 4397 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4398 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4400 | } |
5eb8189c | 4401 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4402 | { |
4403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4404 | { | |
5eb8189c RD |
4405 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4406 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4407 | } |
4408 | wxPyEndAllowThreads(__tstate); | |
4409 | if (PyErr_Occurred()) SWIG_fail; | |
4410 | } | |
4411 | { | |
4412 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4413 | } | |
4414 | return resultobj; | |
4415 | fail: | |
4416 | return NULL; | |
4417 | } | |
4418 | ||
4419 | ||
5eb8189c | 4420 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4421 | PyObject *resultobj = 0; |
5eb8189c RD |
4422 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4423 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4424 | void *argp1 = 0 ; |
4425 | int res1 = 0 ; | |
4426 | PyObject *swig_obj[1] ; | |
4427 | ||
4428 | if (!args) SWIG_fail; | |
4429 | swig_obj[0] = args; | |
5eb8189c | 4430 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4431 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4433 | } |
5eb8189c | 4434 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4435 | { |
4436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4437 | { | |
5eb8189c RD |
4438 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4439 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4440 | } |
4441 | wxPyEndAllowThreads(__tstate); | |
4442 | if (PyErr_Occurred()) SWIG_fail; | |
4443 | } | |
4444 | { | |
4445 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4446 | } | |
4447 | return resultobj; | |
4448 | fail: | |
4449 | return NULL; | |
4450 | } | |
4451 | ||
4452 | ||
5eb8189c | 4453 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4454 | PyObject *resultobj = 0; |
5eb8189c RD |
4455 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4456 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4457 | void *argp1 = 0 ; |
4458 | int res1 = 0 ; | |
4459 | PyObject *swig_obj[1] ; | |
4460 | ||
4461 | if (!args) SWIG_fail; | |
4462 | swig_obj[0] = args; | |
5eb8189c | 4463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4464 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4466 | } |
5eb8189c | 4467 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4468 | { |
4469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4470 | { | |
5eb8189c RD |
4471 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4472 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4473 | } |
4474 | wxPyEndAllowThreads(__tstate); | |
4475 | if (PyErr_Occurred()) SWIG_fail; | |
4476 | } | |
4477 | { | |
4478 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4479 | } | |
4480 | return resultobj; | |
4481 | fail: | |
4482 | return NULL; | |
4483 | } | |
4484 | ||
4485 | ||
5eb8189c | 4486 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4487 | PyObject *resultobj = 0; |
5eb8189c | 4488 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4489 | int arg2 ; |
5eb8189c | 4490 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4491 | void *argp1 = 0 ; |
4492 | int res1 = 0 ; | |
4493 | int val2 ; | |
4494 | int ecode2 = 0 ; | |
4495 | PyObject * obj0 = 0 ; | |
4496 | PyObject * obj1 = 0 ; | |
4497 | char * kwnames[] = { | |
4498 | (char *) "self",(char *) "direction", NULL | |
4499 | }; | |
4500 | ||
5eb8189c RD |
4501 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4502 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4503 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4505 | } |
5eb8189c | 4506 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4507 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4508 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4509 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4510 | } |
4511 | arg2 = static_cast< int >(val2); | |
4512 | { | |
4513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4514 | { | |
5eb8189c RD |
4515 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4516 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4517 | } |
4518 | wxPyEndAllowThreads(__tstate); | |
4519 | if (PyErr_Occurred()) SWIG_fail; | |
4520 | } | |
4521 | { | |
4522 | resultobj = obj0; Py_INCREF(resultobj); | |
4523 | } | |
4524 | return resultobj; | |
4525 | fail: | |
4526 | return NULL; | |
4527 | } | |
4528 | ||
4529 | ||
5eb8189c | 4530 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4531 | PyObject *resultobj = 0; |
5eb8189c | 4532 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4533 | int arg2 ; |
5eb8189c | 4534 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4535 | void *argp1 = 0 ; |
4536 | int res1 = 0 ; | |
4537 | int val2 ; | |
4538 | int ecode2 = 0 ; | |
4539 | PyObject * obj0 = 0 ; | |
4540 | PyObject * obj1 = 0 ; | |
4541 | char * kwnames[] = { | |
4542 | (char *) "self",(char *) "layer", NULL | |
4543 | }; | |
4544 | ||
5eb8189c RD |
4545 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4546 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4547 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4549 | } |
5eb8189c | 4550 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4551 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4552 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4553 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4554 | } |
4555 | arg2 = static_cast< int >(val2); | |
4556 | { | |
4557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4558 | { | |
5eb8189c RD |
4559 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4560 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4561 | } |
4562 | wxPyEndAllowThreads(__tstate); | |
4563 | if (PyErr_Occurred()) SWIG_fail; | |
4564 | } | |
4565 | { | |
4566 | resultobj = obj0; Py_INCREF(resultobj); | |
4567 | } | |
4568 | return resultobj; | |
4569 | fail: | |
4570 | return NULL; | |
4571 | } | |
4572 | ||
4573 | ||
5eb8189c | 4574 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4575 | PyObject *resultobj = 0; |
5eb8189c | 4576 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4577 | int arg2 ; |
5eb8189c | 4578 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4579 | void *argp1 = 0 ; |
4580 | int res1 = 0 ; | |
4581 | int val2 ; | |
4582 | int ecode2 = 0 ; | |
4583 | PyObject * obj0 = 0 ; | |
4584 | PyObject * obj1 = 0 ; | |
4585 | char * kwnames[] = { | |
4586 | (char *) "self",(char *) "row", NULL | |
4587 | }; | |
4588 | ||
5eb8189c RD |
4589 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4590 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4591 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4593 | } |
5eb8189c | 4594 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4595 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4596 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4597 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4598 | } |
4599 | arg2 = static_cast< int >(val2); | |
4600 | { | |
4601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4602 | { | |
5eb8189c RD |
4603 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4604 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4605 | } |
4606 | wxPyEndAllowThreads(__tstate); | |
4607 | if (PyErr_Occurred()) SWIG_fail; | |
4608 | } | |
4609 | { | |
4610 | resultobj = obj0; Py_INCREF(resultobj); | |
4611 | } | |
4612 | return resultobj; | |
4613 | fail: | |
4614 | return NULL; | |
4615 | } | |
4616 | ||
4617 | ||
5eb8189c | 4618 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4619 | PyObject *resultobj = 0; |
5eb8189c | 4620 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4621 | int arg2 ; |
5eb8189c | 4622 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4623 | void *argp1 = 0 ; |
4624 | int res1 = 0 ; | |
4625 | int val2 ; | |
4626 | int ecode2 = 0 ; | |
4627 | PyObject * obj0 = 0 ; | |
4628 | PyObject * obj1 = 0 ; | |
4629 | char * kwnames[] = { | |
4630 | (char *) "self",(char *) "pos", NULL | |
4631 | }; | |
4632 | ||
5eb8189c RD |
4633 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4634 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4635 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4636 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4637 | } |
5eb8189c | 4638 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4639 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4640 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4641 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4642 | } |
4643 | arg2 = static_cast< int >(val2); | |
4644 | { | |
4645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4646 | { | |
5eb8189c RD |
4647 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4648 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4649 | } |
4650 | wxPyEndAllowThreads(__tstate); | |
4651 | if (PyErr_Occurred()) SWIG_fail; | |
4652 | } | |
4653 | { | |
4654 | resultobj = obj0; Py_INCREF(resultobj); | |
4655 | } | |
4656 | return resultobj; | |
4657 | fail: | |
4658 | return NULL; | |
4659 | } | |
4660 | ||
4661 | ||
5eb8189c | 4662 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4663 | PyObject *resultobj = 0; |
5eb8189c | 4664 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4665 | wxSize *arg2 = 0 ; |
5eb8189c | 4666 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4667 | void *argp1 = 0 ; |
4668 | int res1 = 0 ; | |
4669 | wxSize temp2 ; | |
4670 | PyObject * obj0 = 0 ; | |
4671 | PyObject * obj1 = 0 ; | |
4672 | char * kwnames[] = { | |
4673 | (char *) "self",(char *) "size", NULL | |
4674 | }; | |
4675 | ||
5eb8189c RD |
4676 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4677 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4678 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4680 | } |
5eb8189c | 4681 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4682 | { |
4683 | arg2 = &temp2; | |
4684 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4685 | } | |
4686 | { | |
4687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4688 | { | |
5eb8189c RD |
4689 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4690 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4691 | } |
4692 | wxPyEndAllowThreads(__tstate); | |
4693 | if (PyErr_Occurred()) SWIG_fail; | |
4694 | } | |
4695 | { | |
4696 | resultobj = obj0; Py_INCREF(resultobj); | |
4697 | } | |
4698 | return resultobj; | |
4699 | fail: | |
4700 | return NULL; | |
4701 | } | |
4702 | ||
4703 | ||
5eb8189c | 4704 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4705 | PyObject *resultobj = 0; |
5eb8189c | 4706 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4707 | wxSize *arg2 = 0 ; |
5eb8189c | 4708 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4709 | void *argp1 = 0 ; |
4710 | int res1 = 0 ; | |
4711 | wxSize temp2 ; | |
4712 | PyObject * obj0 = 0 ; | |
4713 | PyObject * obj1 = 0 ; | |
4714 | char * kwnames[] = { | |
4715 | (char *) "self",(char *) "size", NULL | |
4716 | }; | |
4717 | ||
5eb8189c RD |
4718 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4719 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4720 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4721 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4722 | } |
5eb8189c | 4723 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4724 | { |
4725 | arg2 = &temp2; | |
4726 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4727 | } | |
4728 | { | |
4729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4730 | { | |
5eb8189c RD |
4731 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4732 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4733 | } |
4734 | wxPyEndAllowThreads(__tstate); | |
4735 | if (PyErr_Occurred()) SWIG_fail; | |
4736 | } | |
4737 | { | |
4738 | resultobj = obj0; Py_INCREF(resultobj); | |
4739 | } | |
4740 | return resultobj; | |
4741 | fail: | |
4742 | return NULL; | |
4743 | } | |
4744 | ||
4745 | ||
5eb8189c | 4746 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4747 | PyObject *resultobj = 0; |
5eb8189c | 4748 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4749 | wxSize *arg2 = 0 ; |
5eb8189c | 4750 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4751 | void *argp1 = 0 ; |
4752 | int res1 = 0 ; | |
4753 | wxSize temp2 ; | |
4754 | PyObject * obj0 = 0 ; | |
4755 | PyObject * obj1 = 0 ; | |
4756 | char * kwnames[] = { | |
4757 | (char *) "self",(char *) "size", NULL | |
4758 | }; | |
4759 | ||
5eb8189c RD |
4760 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4761 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4762 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4764 | } |
5eb8189c | 4765 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4766 | { |
4767 | arg2 = &temp2; | |
4768 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4769 | } | |
4770 | { | |
4771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4772 | { | |
5eb8189c RD |
4773 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4774 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4775 | } |
4776 | wxPyEndAllowThreads(__tstate); | |
4777 | if (PyErr_Occurred()) SWIG_fail; | |
4778 | } | |
4779 | { | |
4780 | resultobj = obj0; Py_INCREF(resultobj); | |
4781 | } | |
4782 | return resultobj; | |
4783 | fail: | |
4784 | return NULL; | |
4785 | } | |
4786 | ||
4787 | ||
5eb8189c | 4788 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4789 | PyObject *resultobj = 0; |
5eb8189c | 4790 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4791 | wxPoint *arg2 = 0 ; |
5eb8189c | 4792 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4793 | void *argp1 = 0 ; |
4794 | int res1 = 0 ; | |
4795 | wxPoint temp2 ; | |
4796 | PyObject * obj0 = 0 ; | |
4797 | PyObject * obj1 = 0 ; | |
4798 | char * kwnames[] = { | |
4799 | (char *) "self",(char *) "pos", NULL | |
4800 | }; | |
4801 | ||
5eb8189c RD |
4802 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4803 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4804 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4805 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4806 | } |
5eb8189c | 4807 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4808 | { |
4809 | arg2 = &temp2; | |
4810 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4811 | } | |
4812 | { | |
4813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4814 | { | |
5eb8189c RD |
4815 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4816 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4817 | } |
4818 | wxPyEndAllowThreads(__tstate); | |
4819 | if (PyErr_Occurred()) SWIG_fail; | |
4820 | } | |
4821 | { | |
4822 | resultobj = obj0; Py_INCREF(resultobj); | |
4823 | } | |
4824 | return resultobj; | |
4825 | fail: | |
4826 | return NULL; | |
4827 | } | |
4828 | ||
4829 | ||
5eb8189c | 4830 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4831 | PyObject *resultobj = 0; |
5eb8189c | 4832 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4833 | wxSize *arg2 = 0 ; |
5eb8189c | 4834 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4835 | void *argp1 = 0 ; |
4836 | int res1 = 0 ; | |
4837 | wxSize temp2 ; | |
4838 | PyObject * obj0 = 0 ; | |
4839 | PyObject * obj1 = 0 ; | |
4840 | char * kwnames[] = { | |
4841 | (char *) "self",(char *) "size", NULL | |
4842 | }; | |
4843 | ||
5eb8189c RD |
4844 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4845 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4846 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4847 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4848 | } |
5eb8189c | 4849 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4850 | { |
4851 | arg2 = &temp2; | |
4852 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4853 | } | |
4854 | { | |
4855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4856 | { | |
5eb8189c RD |
4857 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4858 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4859 | } |
4860 | wxPyEndAllowThreads(__tstate); | |
4861 | if (PyErr_Occurred()) SWIG_fail; | |
4862 | } | |
4863 | { | |
4864 | resultobj = obj0; Py_INCREF(resultobj); | |
4865 | } | |
4866 | return resultobj; | |
4867 | fail: | |
4868 | return NULL; | |
4869 | } | |
4870 | ||
4871 | ||
5eb8189c | 4872 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4873 | PyObject *resultobj = 0; |
5eb8189c RD |
4874 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4875 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4876 | void *argp1 = 0 ; |
4877 | int res1 = 0 ; | |
4878 | PyObject *swig_obj[1] ; | |
4879 | ||
4880 | if (!args) SWIG_fail; | |
4881 | swig_obj[0] = args; | |
5eb8189c | 4882 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4883 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4885 | } |
5eb8189c | 4886 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4887 | { |
4888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4889 | { | |
5eb8189c RD |
4890 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4891 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4892 | } |
4893 | wxPyEndAllowThreads(__tstate); | |
4894 | if (PyErr_Occurred()) SWIG_fail; | |
4895 | } | |
4896 | { | |
4897 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4898 | } | |
4899 | return resultobj; | |
4900 | fail: | |
4901 | return NULL; | |
4902 | } | |
4903 | ||
4904 | ||
5eb8189c | 4905 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4906 | PyObject *resultobj = 0; |
5eb8189c | 4907 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4908 | bool arg2 = (bool) true ; |
5eb8189c | 4909 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4910 | void *argp1 = 0 ; |
4911 | int res1 = 0 ; | |
4912 | bool val2 ; | |
4913 | int ecode2 = 0 ; | |
4914 | PyObject * obj0 = 0 ; | |
4915 | PyObject * obj1 = 0 ; | |
4916 | char * kwnames[] = { | |
4917 | (char *) "self",(char *) "resizable", NULL | |
4918 | }; | |
4919 | ||
5eb8189c RD |
4920 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4921 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4922 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4924 | } |
5eb8189c | 4925 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4926 | if (obj1) { |
4927 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4928 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4929 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4930 | } |
4931 | arg2 = static_cast< bool >(val2); | |
4932 | } | |
4933 | { | |
4934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4935 | { | |
5eb8189c RD |
4936 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4937 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4938 | } |
4939 | wxPyEndAllowThreads(__tstate); | |
4940 | if (PyErr_Occurred()) SWIG_fail; | |
4941 | } | |
4942 | { | |
4943 | resultobj = obj0; Py_INCREF(resultobj); | |
4944 | } | |
4945 | return resultobj; | |
4946 | fail: | |
4947 | return NULL; | |
4948 | } | |
4949 | ||
4950 | ||
5eb8189c | 4951 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4952 | PyObject *resultobj = 0; |
5eb8189c RD |
4953 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4954 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4955 | void *argp1 = 0 ; |
4956 | int res1 = 0 ; | |
4957 | PyObject *swig_obj[1] ; | |
4958 | ||
4959 | if (!args) SWIG_fail; | |
4960 | swig_obj[0] = args; | |
5eb8189c | 4961 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4962 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4964 | } |
5eb8189c | 4965 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4966 | { |
4967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4968 | { | |
5eb8189c RD |
4969 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4970 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4971 | } |
4972 | wxPyEndAllowThreads(__tstate); | |
4973 | if (PyErr_Occurred()) SWIG_fail; | |
4974 | } | |
4975 | { | |
4976 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4977 | } | |
4978 | return resultobj; | |
4979 | fail: | |
4980 | return NULL; | |
4981 | } | |
4982 | ||
4983 | ||
5eb8189c | 4984 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4985 | PyObject *resultobj = 0; |
5eb8189c RD |
4986 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4987 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4988 | void *argp1 = 0 ; |
4989 | int res1 = 0 ; | |
4990 | PyObject *swig_obj[1] ; | |
4991 | ||
4992 | if (!args) SWIG_fail; | |
4993 | swig_obj[0] = args; | |
5eb8189c | 4994 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4995 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4996 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4997 | } |
5eb8189c | 4998 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4999 | { |
5000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5001 | { | |
5eb8189c RD |
5002 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
5003 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5004 | } |
5005 | wxPyEndAllowThreads(__tstate); | |
5006 | if (PyErr_Occurred()) SWIG_fail; | |
5007 | } | |
5008 | { | |
5009 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5010 | } | |
5011 | return resultobj; | |
5012 | fail: | |
5013 | return NULL; | |
5014 | } | |
5015 | ||
5016 | ||
5eb8189c | 5017 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5018 | PyObject *resultobj = 0; |
5eb8189c RD |
5019 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5020 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5021 | void *argp1 = 0 ; |
5022 | int res1 = 0 ; | |
5023 | PyObject *swig_obj[1] ; | |
5024 | ||
5025 | if (!args) SWIG_fail; | |
5026 | swig_obj[0] = args; | |
5eb8189c | 5027 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5028 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5029 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5030 | } |
5eb8189c | 5031 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5032 | { |
5033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5034 | { | |
5eb8189c RD |
5035 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5036 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5037 | } |
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
5041 | { | |
5042 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5043 | } | |
5044 | return resultobj; | |
5045 | fail: | |
5046 | return NULL; | |
5047 | } | |
5048 | ||
5049 | ||
5eb8189c | 5050 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5051 | PyObject *resultobj = 0; |
5eb8189c | 5052 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5053 | bool arg2 = (bool) true ; |
5eb8189c | 5054 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5055 | void *argp1 = 0 ; |
5056 | int res1 = 0 ; | |
5057 | bool val2 ; | |
5058 | int ecode2 = 0 ; | |
5059 | PyObject * obj0 = 0 ; | |
5060 | PyObject * obj1 = 0 ; | |
5061 | char * kwnames[] = { | |
5062 | (char *) "self",(char *) "show", NULL | |
5063 | }; | |
5064 | ||
5eb8189c RD |
5065 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5066 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5067 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5069 | } |
5eb8189c | 5070 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5071 | if (obj1) { |
5072 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5073 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5074 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5075 | } |
5076 | arg2 = static_cast< bool >(val2); | |
5077 | } | |
5078 | { | |
5079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5080 | { | |
5eb8189c RD |
5081 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5082 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5083 | } |
5084 | wxPyEndAllowThreads(__tstate); | |
5085 | if (PyErr_Occurred()) SWIG_fail; | |
5086 | } | |
5087 | { | |
5088 | resultobj = obj0; Py_INCREF(resultobj); | |
5089 | } | |
5090 | return resultobj; | |
5091 | fail: | |
5092 | return NULL; | |
5093 | } | |
5094 | ||
5095 | ||
5eb8189c | 5096 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5097 | PyObject *resultobj = 0; |
5eb8189c | 5098 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5099 | bool arg2 = (bool) true ; |
5eb8189c | 5100 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5101 | void *argp1 = 0 ; |
5102 | int res1 = 0 ; | |
5103 | bool val2 ; | |
5104 | int ecode2 = 0 ; | |
5105 | PyObject * obj0 = 0 ; | |
5106 | PyObject * obj1 = 0 ; | |
5107 | char * kwnames[] = { | |
5108 | (char *) "self",(char *) "visible", NULL | |
5109 | }; | |
5110 | ||
5eb8189c RD |
5111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5113 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5115 | } |
5eb8189c | 5116 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5117 | if (obj1) { |
5118 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5119 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5120 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5121 | } |
5122 | arg2 = static_cast< bool >(val2); | |
5123 | } | |
5124 | { | |
5125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5126 | { | |
5eb8189c RD |
5127 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5128 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5129 | } |
5130 | wxPyEndAllowThreads(__tstate); | |
5131 | if (PyErr_Occurred()) SWIG_fail; | |
5132 | } | |
5133 | { | |
5134 | resultobj = obj0; Py_INCREF(resultobj); | |
5135 | } | |
5136 | return resultobj; | |
5137 | fail: | |
5138 | return NULL; | |
5139 | } | |
5140 | ||
5141 | ||
5eb8189c RD |
5142 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5143 | PyObject *resultobj = 0; | |
5144 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5145 | wxAuiPaneInfo *result = 0 ; | |
5146 | void *argp1 = 0 ; | |
5147 | int res1 = 0 ; | |
5148 | PyObject *swig_obj[1] ; | |
5149 | ||
5150 | if (!args) SWIG_fail; | |
5151 | swig_obj[0] = args; | |
5152 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5153 | if (!SWIG_IsOK(res1)) { | |
5154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5155 | } | |
5156 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5157 | { | |
5158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5159 | { | |
5160 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5161 | result = (wxAuiPaneInfo *) &_result_ref; | |
5162 | } | |
5163 | wxPyEndAllowThreads(__tstate); | |
5164 | if (PyErr_Occurred()) SWIG_fail; | |
5165 | } | |
5166 | { | |
5167 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5168 | } | |
5169 | return resultobj; | |
5170 | fail: | |
5171 | return NULL; | |
5172 | } | |
5173 | ||
5174 | ||
5175 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5176 | PyObject *resultobj = 0; |
5eb8189c RD |
5177 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5178 | wxAuiPaneInfo *result = 0 ; | |
5179 | void *argp1 = 0 ; | |
5180 | int res1 = 0 ; | |
5181 | PyObject *swig_obj[1] ; | |
5182 | ||
5183 | if (!args) SWIG_fail; | |
5184 | swig_obj[0] = args; | |
5185 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5186 | if (!SWIG_IsOK(res1)) { | |
5187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5188 | } | |
5189 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5190 | { | |
5191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5192 | { | |
5193 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5194 | result = (wxAuiPaneInfo *) &_result_ref; | |
5195 | } | |
5196 | wxPyEndAllowThreads(__tstate); | |
5197 | if (PyErr_Occurred()) SWIG_fail; | |
5198 | } | |
5199 | { | |
5200 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5201 | } | |
5202 | return resultobj; | |
5203 | fail: | |
5204 | return NULL; | |
5205 | } | |
5206 | ||
5207 | ||
5208 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5209 | PyObject *resultobj = 0; | |
5210 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5211 | bool arg2 = (bool) true ; |
5eb8189c | 5212 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5213 | void *argp1 = 0 ; |
5214 | int res1 = 0 ; | |
5215 | bool val2 ; | |
5216 | int ecode2 = 0 ; | |
5217 | PyObject * obj0 = 0 ; | |
5218 | PyObject * obj1 = 0 ; | |
5219 | char * kwnames[] = { | |
5220 | (char *) "self",(char *) "visible", NULL | |
5221 | }; | |
5222 | ||
5eb8189c RD |
5223 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5224 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5225 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5227 | } |
5eb8189c | 5228 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5229 | if (obj1) { |
5230 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5231 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5232 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5233 | } |
5234 | arg2 = static_cast< bool >(val2); | |
5235 | } | |
5236 | { | |
5237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5238 | { | |
5eb8189c RD |
5239 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5240 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5241 | } |
5242 | wxPyEndAllowThreads(__tstate); | |
5243 | if (PyErr_Occurred()) SWIG_fail; | |
5244 | } | |
5245 | { | |
5246 | resultobj = obj0; Py_INCREF(resultobj); | |
5247 | } | |
5248 | return resultobj; | |
5249 | fail: | |
5250 | return NULL; | |
5251 | } | |
5252 | ||
5253 | ||
5eb8189c | 5254 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5255 | PyObject *resultobj = 0; |
5eb8189c | 5256 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5257 | bool arg2 = (bool) true ; |
5eb8189c | 5258 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5259 | void *argp1 = 0 ; |
5260 | int res1 = 0 ; | |
5261 | bool val2 ; | |
5262 | int ecode2 = 0 ; | |
5263 | PyObject * obj0 = 0 ; | |
5264 | PyObject * obj1 = 0 ; | |
5265 | char * kwnames[] = { | |
5266 | (char *) "self",(char *) "visible", NULL | |
5267 | }; | |
5268 | ||
5eb8189c RD |
5269 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5270 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5271 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5273 | } |
5eb8189c | 5274 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5275 | if (obj1) { |
5276 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5277 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5278 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5279 | } |
5280 | arg2 = static_cast< bool >(val2); | |
5281 | } | |
5282 | { | |
5283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5284 | { | |
5eb8189c RD |
5285 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5286 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5287 | } |
5288 | wxPyEndAllowThreads(__tstate); | |
5289 | if (PyErr_Occurred()) SWIG_fail; | |
5290 | } | |
5291 | { | |
5292 | resultobj = obj0; Py_INCREF(resultobj); | |
5293 | } | |
5294 | return resultobj; | |
5295 | fail: | |
5296 | return NULL; | |
5297 | } | |
5298 | ||
5299 | ||
5eb8189c | 5300 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5301 | PyObject *resultobj = 0; |
5eb8189c | 5302 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5303 | bool arg2 = (bool) true ; |
5eb8189c | 5304 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5305 | void *argp1 = 0 ; |
5306 | int res1 = 0 ; | |
5307 | bool val2 ; | |
5308 | int ecode2 = 0 ; | |
5309 | PyObject * obj0 = 0 ; | |
5310 | PyObject * obj1 = 0 ; | |
5311 | char * kwnames[] = { | |
5312 | (char *) "self",(char *) "attop", NULL | |
5313 | }; | |
5314 | ||
5eb8189c RD |
5315 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5316 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5317 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5318 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5319 | } |
5eb8189c | 5320 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5321 | if (obj1) { |
5322 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5323 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5324 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5325 | } |
5326 | arg2 = static_cast< bool >(val2); | |
5327 | } | |
5328 | { | |
5329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5330 | { | |
5eb8189c RD |
5331 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5332 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5333 | } |
5334 | wxPyEndAllowThreads(__tstate); | |
5335 | if (PyErr_Occurred()) SWIG_fail; | |
5336 | } | |
5337 | { | |
5338 | resultobj = obj0; Py_INCREF(resultobj); | |
5339 | } | |
5340 | return resultobj; | |
5341 | fail: | |
5342 | return NULL; | |
5343 | } | |
5344 | ||
5345 | ||
5eb8189c | 5346 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5347 | PyObject *resultobj = 0; |
5eb8189c | 5348 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5349 | bool arg2 = (bool) true ; |
5eb8189c | 5350 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5351 | void *argp1 = 0 ; |
5352 | int res1 = 0 ; | |
5353 | bool val2 ; | |
5354 | int ecode2 = 0 ; | |
5355 | PyObject * obj0 = 0 ; | |
5356 | PyObject * obj1 = 0 ; | |
5357 | char * kwnames[] = { | |
5358 | (char *) "self",(char *) "visible", NULL | |
5359 | }; | |
5360 | ||
5eb8189c RD |
5361 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5362 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5363 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5365 | } |
5eb8189c | 5366 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5367 | if (obj1) { |
5368 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5369 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5370 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5371 | } |
5372 | arg2 = static_cast< bool >(val2); | |
5373 | } | |
5374 | { | |
5375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5376 | { | |
5eb8189c RD |
5377 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5378 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5379 | } |
5380 | wxPyEndAllowThreads(__tstate); | |
5381 | if (PyErr_Occurred()) SWIG_fail; | |
5382 | } | |
5383 | { | |
5384 | resultobj = obj0; Py_INCREF(resultobj); | |
5385 | } | |
5386 | return resultobj; | |
5387 | fail: | |
5388 | return NULL; | |
5389 | } | |
5390 | ||
5391 | ||
5eb8189c | 5392 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5393 | PyObject *resultobj = 0; |
5eb8189c | 5394 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5395 | bool arg2 = (bool) true ; |
5eb8189c | 5396 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5397 | void *argp1 = 0 ; |
5398 | int res1 = 0 ; | |
5399 | bool val2 ; | |
5400 | int ecode2 = 0 ; | |
5401 | PyObject * obj0 = 0 ; | |
5402 | PyObject * obj1 = 0 ; | |
5403 | char * kwnames[] = { | |
5404 | (char *) "self",(char *) "visible", NULL | |
5405 | }; | |
5406 | ||
5eb8189c RD |
5407 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5408 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5409 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5410 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5411 | } |
5eb8189c | 5412 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5413 | if (obj1) { |
5414 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5415 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5416 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5417 | } |
5418 | arg2 = static_cast< bool >(val2); | |
5419 | } | |
5420 | { | |
5421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5422 | { | |
5eb8189c RD |
5423 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5424 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5425 | } |
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
5429 | { | |
5430 | resultobj = obj0; Py_INCREF(resultobj); | |
5431 | } | |
5432 | return resultobj; | |
5433 | fail: | |
5434 | return NULL; | |
5435 | } | |
5436 | ||
5437 | ||
5eb8189c | 5438 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5439 | PyObject *resultobj = 0; |
5eb8189c | 5440 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5441 | bool arg2 = (bool) true ; |
5eb8189c | 5442 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5443 | void *argp1 = 0 ; |
5444 | int res1 = 0 ; | |
5445 | bool val2 ; | |
5446 | int ecode2 = 0 ; | |
5447 | PyObject * obj0 = 0 ; | |
5448 | PyObject * obj1 = 0 ; | |
5449 | char * kwnames[] = { | |
5450 | (char *) "self",(char *) "visible", NULL | |
5451 | }; | |
5452 | ||
5eb8189c RD |
5453 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5454 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5455 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5456 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5457 | } |
5eb8189c | 5458 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5459 | if (obj1) { |
5460 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5461 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5462 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5463 | } |
5464 | arg2 = static_cast< bool >(val2); | |
5465 | } | |
5466 | { | |
5467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5468 | { | |
5eb8189c RD |
5469 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5470 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5471 | } |
5472 | wxPyEndAllowThreads(__tstate); | |
5473 | if (PyErr_Occurred()) SWIG_fail; | |
5474 | } | |
5475 | { | |
5476 | resultobj = obj0; Py_INCREF(resultobj); | |
5477 | } | |
5478 | return resultobj; | |
5479 | fail: | |
5480 | return NULL; | |
5481 | } | |
5482 | ||
5483 | ||
5eb8189c | 5484 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5485 | PyObject *resultobj = 0; |
5eb8189c | 5486 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5487 | bool arg2 = (bool) true ; |
5eb8189c | 5488 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5489 | void *argp1 = 0 ; |
5490 | int res1 = 0 ; | |
5491 | bool val2 ; | |
5492 | int ecode2 = 0 ; | |
5493 | PyObject * obj0 = 0 ; | |
5494 | PyObject * obj1 = 0 ; | |
5495 | char * kwnames[] = { | |
5496 | (char *) "self",(char *) "visible", NULL | |
5497 | }; | |
5498 | ||
5eb8189c RD |
5499 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5500 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5501 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5503 | } |
5eb8189c | 5504 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5505 | if (obj1) { |
5506 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5507 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5508 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5509 | } |
5510 | arg2 = static_cast< bool >(val2); | |
5511 | } | |
5512 | { | |
5513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5514 | { | |
5eb8189c RD |
5515 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5516 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5517 | } |
5518 | wxPyEndAllowThreads(__tstate); | |
5519 | if (PyErr_Occurred()) SWIG_fail; | |
5520 | } | |
5521 | { | |
5522 | resultobj = obj0; Py_INCREF(resultobj); | |
5523 | } | |
5524 | return resultobj; | |
5525 | fail: | |
5526 | return NULL; | |
5527 | } | |
5528 | ||
5529 | ||
5eb8189c | 5530 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5531 | PyObject *resultobj = 0; |
5eb8189c | 5532 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5533 | bool arg2 = (bool) true ; |
5eb8189c | 5534 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5535 | void *argp1 = 0 ; |
5536 | int res1 = 0 ; | |
5537 | bool val2 ; | |
5538 | int ecode2 = 0 ; | |
5539 | PyObject * obj0 = 0 ; | |
5540 | PyObject * obj1 = 0 ; | |
5541 | char * kwnames[] = { | |
5542 | (char *) "self",(char *) "b", NULL | |
5543 | }; | |
5544 | ||
5eb8189c RD |
5545 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5546 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5547 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5549 | } |
5eb8189c | 5550 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5551 | if (obj1) { |
5552 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5553 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5554 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5555 | } |
5556 | arg2 = static_cast< bool >(val2); | |
5557 | } | |
5558 | { | |
5559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5560 | { | |
5eb8189c RD |
5561 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5562 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5563 | } |
5564 | wxPyEndAllowThreads(__tstate); | |
5565 | if (PyErr_Occurred()) SWIG_fail; | |
5566 | } | |
5567 | { | |
5568 | resultobj = obj0; Py_INCREF(resultobj); | |
5569 | } | |
5570 | return resultobj; | |
5571 | fail: | |
5572 | return NULL; | |
5573 | } | |
5574 | ||
5575 | ||
5eb8189c | 5576 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5577 | PyObject *resultobj = 0; |
5eb8189c | 5578 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5579 | bool arg2 = (bool) true ; |
5eb8189c | 5580 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5581 | void *argp1 = 0 ; |
5582 | int res1 = 0 ; | |
5583 | bool val2 ; | |
5584 | int ecode2 = 0 ; | |
5585 | PyObject * obj0 = 0 ; | |
5586 | PyObject * obj1 = 0 ; | |
5587 | char * kwnames[] = { | |
5588 | (char *) "self",(char *) "b", NULL | |
5589 | }; | |
5590 | ||
5eb8189c RD |
5591 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5592 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5593 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5594 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5595 | } |
5eb8189c | 5596 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5597 | if (obj1) { |
5598 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5599 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5600 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5601 | } |
5602 | arg2 = static_cast< bool >(val2); | |
5603 | } | |
5604 | { | |
5605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5606 | { | |
5eb8189c RD |
5607 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5608 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5609 | } |
5610 | wxPyEndAllowThreads(__tstate); | |
5611 | if (PyErr_Occurred()) SWIG_fail; | |
5612 | } | |
5613 | { | |
5614 | resultobj = obj0; Py_INCREF(resultobj); | |
5615 | } | |
5616 | return resultobj; | |
5617 | fail: | |
5618 | return NULL; | |
5619 | } | |
5620 | ||
5621 | ||
5eb8189c | 5622 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5623 | PyObject *resultobj = 0; |
5eb8189c | 5624 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5625 | bool arg2 = (bool) true ; |
5eb8189c | 5626 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5627 | void *argp1 = 0 ; |
5628 | int res1 = 0 ; | |
5629 | bool val2 ; | |
5630 | int ecode2 = 0 ; | |
5631 | PyObject * obj0 = 0 ; | |
5632 | PyObject * obj1 = 0 ; | |
5633 | char * kwnames[] = { | |
5634 | (char *) "self",(char *) "b", NULL | |
5635 | }; | |
5636 | ||
5eb8189c RD |
5637 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5638 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5639 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5641 | } |
5eb8189c | 5642 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5643 | if (obj1) { |
5644 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5645 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5646 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5647 | } |
5648 | arg2 = static_cast< bool >(val2); | |
5649 | } | |
5650 | { | |
5651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5652 | { | |
5eb8189c RD |
5653 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5654 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5655 | } |
5656 | wxPyEndAllowThreads(__tstate); | |
5657 | if (PyErr_Occurred()) SWIG_fail; | |
5658 | } | |
5659 | { | |
5660 | resultobj = obj0; Py_INCREF(resultobj); | |
5661 | } | |
5662 | return resultobj; | |
5663 | fail: | |
5664 | return NULL; | |
5665 | } | |
5666 | ||
5667 | ||
5eb8189c | 5668 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5669 | PyObject *resultobj = 0; |
5eb8189c | 5670 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5671 | bool arg2 = (bool) true ; |
5eb8189c | 5672 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5673 | void *argp1 = 0 ; |
5674 | int res1 = 0 ; | |
5675 | bool val2 ; | |
5676 | int ecode2 = 0 ; | |
5677 | PyObject * obj0 = 0 ; | |
5678 | PyObject * obj1 = 0 ; | |
5679 | char * kwnames[] = { | |
5680 | (char *) "self",(char *) "b", NULL | |
5681 | }; | |
5682 | ||
5eb8189c RD |
5683 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5684 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5685 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5686 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5687 | } |
5eb8189c | 5688 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5689 | if (obj1) { |
5690 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5691 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5692 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5693 | } |
5694 | arg2 = static_cast< bool >(val2); | |
5695 | } | |
5696 | { | |
5697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5698 | { | |
5eb8189c RD |
5699 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5700 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5701 | } |
5702 | wxPyEndAllowThreads(__tstate); | |
5703 | if (PyErr_Occurred()) SWIG_fail; | |
5704 | } | |
5705 | { | |
5706 | resultobj = obj0; Py_INCREF(resultobj); | |
5707 | } | |
5708 | return resultobj; | |
5709 | fail: | |
5710 | return NULL; | |
5711 | } | |
5712 | ||
5713 | ||
5eb8189c | 5714 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5715 | PyObject *resultobj = 0; |
5eb8189c | 5716 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5717 | bool arg2 = (bool) true ; |
5eb8189c | 5718 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5719 | void *argp1 = 0 ; |
5720 | int res1 = 0 ; | |
5721 | bool val2 ; | |
5722 | int ecode2 = 0 ; | |
5723 | PyObject * obj0 = 0 ; | |
5724 | PyObject * obj1 = 0 ; | |
5725 | char * kwnames[] = { | |
5726 | (char *) "self",(char *) "b", NULL | |
5727 | }; | |
5728 | ||
5eb8189c RD |
5729 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5730 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5731 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5733 | } |
5eb8189c | 5734 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5735 | if (obj1) { |
5736 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5737 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5738 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5739 | } |
5740 | arg2 = static_cast< bool >(val2); | |
5741 | } | |
5742 | { | |
5743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5744 | { | |
5eb8189c RD |
5745 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5746 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5747 | } |
5748 | wxPyEndAllowThreads(__tstate); | |
5749 | if (PyErr_Occurred()) SWIG_fail; | |
5750 | } | |
5751 | { | |
5752 | resultobj = obj0; Py_INCREF(resultobj); | |
5753 | } | |
5754 | return resultobj; | |
5755 | fail: | |
5756 | return NULL; | |
5757 | } | |
5758 | ||
5759 | ||
5eb8189c | 5760 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5761 | PyObject *resultobj = 0; |
5eb8189c | 5762 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5763 | bool arg2 = (bool) true ; |
5eb8189c | 5764 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5765 | void *argp1 = 0 ; |
5766 | int res1 = 0 ; | |
5767 | bool val2 ; | |
5768 | int ecode2 = 0 ; | |
5769 | PyObject * obj0 = 0 ; | |
5770 | PyObject * obj1 = 0 ; | |
5771 | char * kwnames[] = { | |
5772 | (char *) "self",(char *) "b", NULL | |
5773 | }; | |
5774 | ||
5eb8189c RD |
5775 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5776 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5777 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5779 | } |
5eb8189c | 5780 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5781 | if (obj1) { |
5782 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5783 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5784 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5785 | } |
5786 | arg2 = static_cast< bool >(val2); | |
5787 | } | |
5788 | { | |
5789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5790 | { | |
5eb8189c RD |
5791 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5792 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5793 | } |
5794 | wxPyEndAllowThreads(__tstate); | |
5795 | if (PyErr_Occurred()) SWIG_fail; | |
5796 | } | |
5797 | { | |
5798 | resultobj = obj0; Py_INCREF(resultobj); | |
5799 | } | |
5800 | return resultobj; | |
5801 | fail: | |
5802 | return NULL; | |
5803 | } | |
5804 | ||
5805 | ||
5eb8189c | 5806 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5807 | PyObject *resultobj = 0; |
5eb8189c | 5808 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5809 | bool arg2 = (bool) true ; |
5eb8189c | 5810 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5811 | void *argp1 = 0 ; |
5812 | int res1 = 0 ; | |
5813 | bool val2 ; | |
5814 | int ecode2 = 0 ; | |
5815 | PyObject * obj0 = 0 ; | |
5816 | PyObject * obj1 = 0 ; | |
5817 | char * kwnames[] = { | |
5818 | (char *) "self",(char *) "b", NULL | |
5819 | }; | |
5820 | ||
5eb8189c RD |
5821 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5822 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5823 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5824 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5825 | } |
5eb8189c | 5826 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5827 | if (obj1) { |
5828 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5829 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5830 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5831 | } |
5832 | arg2 = static_cast< bool >(val2); | |
5833 | } | |
5834 | { | |
5835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5836 | { | |
5eb8189c RD |
5837 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5838 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5839 | } |
5840 | wxPyEndAllowThreads(__tstate); | |
5841 | if (PyErr_Occurred()) SWIG_fail; | |
5842 | } | |
5843 | { | |
5844 | resultobj = obj0; Py_INCREF(resultobj); | |
5845 | } | |
5846 | return resultobj; | |
5847 | fail: | |
5848 | return NULL; | |
5849 | } | |
5850 | ||
5851 | ||
5eb8189c RD |
5852 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5853 | PyObject *resultobj = 0; | |
5854 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5855 | bool arg2 = (bool) true ; |
5eb8189c | 5856 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5857 | void *argp1 = 0 ; |
5858 | int res1 = 0 ; | |
5859 | bool val2 ; | |
5860 | int ecode2 = 0 ; | |
5861 | PyObject * obj0 = 0 ; | |
5862 | PyObject * obj1 = 0 ; | |
5863 | char * kwnames[] = { | |
5864 | (char *) "self",(char *) "b", NULL | |
5865 | }; | |
5866 | ||
5eb8189c RD |
5867 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5868 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5869 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5870 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5871 | } |
5eb8189c | 5872 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5873 | if (obj1) { |
5874 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5875 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5876 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5877 | } |
5878 | arg2 = static_cast< bool >(val2); | |
5879 | } | |
5880 | { | |
5881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5882 | { | |
5eb8189c RD |
5883 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5884 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5885 | } |
5886 | wxPyEndAllowThreads(__tstate); | |
5887 | if (PyErr_Occurred()) SWIG_fail; | |
5888 | } | |
5889 | { | |
5890 | resultobj = obj0; Py_INCREF(resultobj); | |
5891 | } | |
5892 | return resultobj; | |
5893 | fail: | |
5894 | return NULL; | |
5895 | } | |
5896 | ||
5897 | ||
5eb8189c | 5898 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5899 | PyObject *resultobj = 0; |
5eb8189c RD |
5900 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5901 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5902 | void *argp1 = 0 ; |
5903 | int res1 = 0 ; | |
5904 | PyObject *swig_obj[1] ; | |
5905 | ||
5906 | if (!args) SWIG_fail; | |
5907 | swig_obj[0] = args; | |
5eb8189c | 5908 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5909 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5911 | } |
5eb8189c | 5912 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5913 | { |
5914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5915 | { | |
5eb8189c RD |
5916 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5917 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5918 | } |
5919 | wxPyEndAllowThreads(__tstate); | |
5920 | if (PyErr_Occurred()) SWIG_fail; | |
5921 | } | |
5922 | { | |
5923 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5924 | } | |
5925 | return resultobj; | |
5926 | fail: | |
5927 | return NULL; | |
5928 | } | |
5929 | ||
5930 | ||
5eb8189c | 5931 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5932 | PyObject *resultobj = 0; |
5eb8189c RD |
5933 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5934 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5935 | void *argp1 = 0 ; |
5936 | int res1 = 0 ; | |
5937 | PyObject *swig_obj[1] ; | |
5938 | ||
5939 | if (!args) SWIG_fail; | |
5940 | swig_obj[0] = args; | |
5eb8189c | 5941 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5942 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5944 | } |
5eb8189c | 5945 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5946 | { |
5947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5948 | { | |
5eb8189c RD |
5949 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5950 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5951 | } |
5952 | wxPyEndAllowThreads(__tstate); | |
5953 | if (PyErr_Occurred()) SWIG_fail; | |
5954 | } | |
5955 | { | |
5956 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5957 | } | |
5958 | return resultobj; | |
5959 | fail: | |
5960 | return NULL; | |
5961 | } | |
5962 | ||
5963 | ||
5eb8189c | 5964 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5965 | PyObject *resultobj = 0; |
5eb8189c RD |
5966 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5967 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5968 | void *argp1 = 0 ; |
5969 | int res1 = 0 ; | |
5970 | PyObject *swig_obj[1] ; | |
5971 | ||
5972 | if (!args) SWIG_fail; | |
5973 | swig_obj[0] = args; | |
5eb8189c | 5974 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5975 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5976 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5977 | } |
5eb8189c | 5978 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5979 | { |
5980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5981 | { | |
5eb8189c RD |
5982 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
5983 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5984 | } |
5985 | wxPyEndAllowThreads(__tstate); | |
5986 | if (PyErr_Occurred()) SWIG_fail; | |
5987 | } | |
5988 | { | |
5989 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5990 | } | |
5991 | return resultobj; | |
5992 | fail: | |
5993 | return NULL; | |
5994 | } | |
5995 | ||
5996 | ||
5eb8189c | 5997 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5998 | PyObject *resultobj = 0; |
5eb8189c RD |
5999 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6000 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6001 | void *argp1 = 0 ; |
6002 | int res1 = 0 ; | |
6003 | PyObject *swig_obj[1] ; | |
6004 | ||
6005 | if (!args) SWIG_fail; | |
6006 | swig_obj[0] = args; | |
5eb8189c | 6007 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6008 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6009 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6010 | } |
5eb8189c | 6011 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6012 | { |
6013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6014 | { | |
5eb8189c RD |
6015 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6016 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6017 | } |
6018 | wxPyEndAllowThreads(__tstate); | |
6019 | if (PyErr_Occurred()) SWIG_fail; | |
6020 | } | |
6021 | { | |
6022 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6023 | } | |
6024 | return resultobj; | |
6025 | fail: | |
6026 | return NULL; | |
6027 | } | |
6028 | ||
6029 | ||
5eb8189c | 6030 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6031 | PyObject *resultobj = 0; |
5eb8189c | 6032 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6033 | int arg2 ; |
6034 | bool arg3 ; | |
5eb8189c | 6035 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6036 | void *argp1 = 0 ; |
6037 | int res1 = 0 ; | |
6038 | int val2 ; | |
6039 | int ecode2 = 0 ; | |
6040 | bool val3 ; | |
6041 | int ecode3 = 0 ; | |
6042 | PyObject * obj0 = 0 ; | |
6043 | PyObject * obj1 = 0 ; | |
6044 | PyObject * obj2 = 0 ; | |
6045 | char * kwnames[] = { | |
6046 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6047 | }; | |
6048 | ||
5eb8189c RD |
6049 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6050 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6051 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6053 | } |
5eb8189c | 6054 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6055 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6056 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6057 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6058 | } |
6059 | arg2 = static_cast< int >(val2); | |
6060 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6061 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6062 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6063 | } |
6064 | arg3 = static_cast< bool >(val3); | |
6065 | { | |
6066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6067 | { | |
5eb8189c RD |
6068 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6069 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6070 | } |
6071 | wxPyEndAllowThreads(__tstate); | |
6072 | if (PyErr_Occurred()) SWIG_fail; | |
6073 | } | |
6074 | { | |
6075 | resultobj = obj0; Py_INCREF(resultobj); | |
6076 | } | |
6077 | return resultobj; | |
6078 | fail: | |
6079 | return NULL; | |
6080 | } | |
6081 | ||
6082 | ||
5eb8189c | 6083 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6084 | PyObject *resultobj = 0; |
5eb8189c | 6085 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6086 | int arg2 ; |
6087 | bool result; | |
6088 | void *argp1 = 0 ; | |
6089 | int res1 = 0 ; | |
6090 | int val2 ; | |
6091 | int ecode2 = 0 ; | |
6092 | PyObject * obj0 = 0 ; | |
6093 | PyObject * obj1 = 0 ; | |
6094 | char * kwnames[] = { | |
6095 | (char *) "self",(char *) "flag", NULL | |
6096 | }; | |
6097 | ||
5eb8189c RD |
6098 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6099 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6100 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6102 | } |
5eb8189c | 6103 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6104 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6105 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6106 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6107 | } |
6108 | arg2 = static_cast< int >(val2); | |
6109 | { | |
6110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6111 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6112 | wxPyEndAllowThreads(__tstate); |
6113 | if (PyErr_Occurred()) SWIG_fail; | |
6114 | } | |
6115 | { | |
6116 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6117 | } | |
6118 | return resultobj; | |
6119 | fail: | |
6120 | return NULL; | |
6121 | } | |
6122 | ||
6123 | ||
5eb8189c | 6124 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6125 | PyObject *resultobj = 0; |
5eb8189c | 6126 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6127 | wxString *arg2 = (wxString *) 0 ; |
6128 | void *argp1 = 0 ; | |
6129 | int res1 = 0 ; | |
6130 | bool temp2 = false ; | |
6131 | PyObject *swig_obj[2] ; | |
6132 | ||
5eb8189c RD |
6133 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6134 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6135 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6136 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6137 | } |
5eb8189c | 6138 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6139 | { |
6140 | arg2 = wxString_in_helper(swig_obj[1]); | |
6141 | if (arg2 == NULL) SWIG_fail; | |
6142 | temp2 = true; | |
6143 | } | |
6144 | if (arg1) (arg1)->name = *arg2; | |
6145 | ||
6146 | resultobj = SWIG_Py_Void(); | |
6147 | { | |
6148 | if (temp2) | |
6149 | delete arg2; | |
6150 | } | |
6151 | return resultobj; | |
6152 | fail: | |
6153 | { | |
6154 | if (temp2) | |
6155 | delete arg2; | |
6156 | } | |
6157 | return NULL; | |
6158 | } | |
6159 | ||
6160 | ||
5eb8189c | 6161 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6162 | PyObject *resultobj = 0; |
5eb8189c | 6163 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6164 | wxString *result = 0 ; |
6165 | void *argp1 = 0 ; | |
6166 | int res1 = 0 ; | |
6167 | PyObject *swig_obj[1] ; | |
6168 | ||
6169 | if (!args) SWIG_fail; | |
6170 | swig_obj[0] = args; | |
5eb8189c | 6171 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6172 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6174 | } |
5eb8189c | 6175 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6176 | result = (wxString *)& ((arg1)->name); |
6177 | { | |
6178 | #if wxUSE_UNICODE | |
6179 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6180 | #else | |
6181 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6182 | #endif | |
6183 | } | |
6184 | return resultobj; | |
6185 | fail: | |
6186 | return NULL; | |
6187 | } | |
6188 | ||
6189 | ||
5eb8189c | 6190 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6191 | PyObject *resultobj = 0; |
5eb8189c | 6192 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6193 | wxString *arg2 = (wxString *) 0 ; |
6194 | void *argp1 = 0 ; | |
6195 | int res1 = 0 ; | |
6196 | bool temp2 = false ; | |
6197 | PyObject *swig_obj[2] ; | |
6198 | ||
5eb8189c RD |
6199 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6200 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6201 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6202 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6203 | } |
5eb8189c | 6204 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6205 | { |
6206 | arg2 = wxString_in_helper(swig_obj[1]); | |
6207 | if (arg2 == NULL) SWIG_fail; | |
6208 | temp2 = true; | |
6209 | } | |
6210 | if (arg1) (arg1)->caption = *arg2; | |
6211 | ||
6212 | resultobj = SWIG_Py_Void(); | |
6213 | { | |
6214 | if (temp2) | |
6215 | delete arg2; | |
6216 | } | |
6217 | return resultobj; | |
6218 | fail: | |
6219 | { | |
6220 | if (temp2) | |
6221 | delete arg2; | |
6222 | } | |
6223 | return NULL; | |
6224 | } | |
6225 | ||
6226 | ||
5eb8189c | 6227 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6228 | PyObject *resultobj = 0; |
5eb8189c | 6229 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6230 | wxString *result = 0 ; |
6231 | void *argp1 = 0 ; | |
6232 | int res1 = 0 ; | |
6233 | PyObject *swig_obj[1] ; | |
6234 | ||
6235 | if (!args) SWIG_fail; | |
6236 | swig_obj[0] = args; | |
5eb8189c | 6237 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6238 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6240 | } |
5eb8189c | 6241 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6242 | result = (wxString *)& ((arg1)->caption); |
6243 | { | |
6244 | #if wxUSE_UNICODE | |
6245 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6246 | #else | |
6247 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6248 | #endif | |
6249 | } | |
6250 | return resultobj; | |
6251 | fail: | |
6252 | return NULL; | |
6253 | } | |
6254 | ||
6255 | ||
5eb8189c | 6256 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6257 | PyObject *resultobj = 0; |
5eb8189c | 6258 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6259 | wxWindow *arg2 = (wxWindow *) 0 ; |
6260 | void *argp1 = 0 ; | |
6261 | int res1 = 0 ; | |
6262 | void *argp2 = 0 ; | |
6263 | int res2 = 0 ; | |
6264 | PyObject *swig_obj[2] ; | |
6265 | ||
5eb8189c RD |
6266 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6267 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6268 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6269 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6270 | } |
5eb8189c | 6271 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6272 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6273 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6274 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6275 | } |
6276 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6277 | if (arg1) (arg1)->window = arg2; | |
6278 | ||
6279 | resultobj = SWIG_Py_Void(); | |
6280 | return resultobj; | |
6281 | fail: | |
6282 | return NULL; | |
6283 | } | |
6284 | ||
6285 | ||
5eb8189c | 6286 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6287 | PyObject *resultobj = 0; |
5eb8189c | 6288 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6289 | wxWindow *result = 0 ; |
6290 | void *argp1 = 0 ; | |
6291 | int res1 = 0 ; | |
6292 | PyObject *swig_obj[1] ; | |
6293 | ||
6294 | if (!args) SWIG_fail; | |
6295 | swig_obj[0] = args; | |
5eb8189c | 6296 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6297 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6298 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6299 | } |
5eb8189c | 6300 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6301 | result = (wxWindow *) ((arg1)->window); |
6302 | { | |
6303 | resultobj = wxPyMake_wxObject(result, 0); | |
6304 | } | |
6305 | return resultobj; | |
6306 | fail: | |
6307 | return NULL; | |
6308 | } | |
6309 | ||
6310 | ||
5eb8189c | 6311 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6312 | PyObject *resultobj = 0; |
5eb8189c | 6313 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6314 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6315 | void *argp1 = 0 ; |
6316 | int res1 = 0 ; | |
6317 | void *argp2 = 0 ; | |
6318 | int res2 = 0 ; | |
6319 | PyObject *swig_obj[2] ; | |
6320 | ||
5eb8189c RD |
6321 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6322 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6323 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6325 | } |
5eb8189c | 6326 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6327 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6328 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6329 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6330 | } |
10044bf1 | 6331 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6332 | if (arg1) (arg1)->frame = arg2; |
6333 | ||
6334 | resultobj = SWIG_Py_Void(); | |
6335 | return resultobj; | |
6336 | fail: | |
6337 | return NULL; | |
6338 | } | |
6339 | ||
6340 | ||
5eb8189c | 6341 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6342 | PyObject *resultobj = 0; |
5eb8189c | 6343 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6344 | wxFrame *result = 0 ; |
27e45892 RD |
6345 | void *argp1 = 0 ; |
6346 | int res1 = 0 ; | |
6347 | PyObject *swig_obj[1] ; | |
6348 | ||
6349 | if (!args) SWIG_fail; | |
6350 | swig_obj[0] = args; | |
5eb8189c | 6351 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6352 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6354 | } |
5eb8189c | 6355 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6356 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6357 | { |
6358 | resultobj = wxPyMake_wxObject(result, 0); | |
6359 | } | |
6360 | return resultobj; | |
6361 | fail: | |
6362 | return NULL; | |
6363 | } | |
6364 | ||
6365 | ||
5eb8189c | 6366 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6367 | PyObject *resultobj = 0; |
5eb8189c | 6368 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6369 | int arg2 ; |
6370 | void *argp1 = 0 ; | |
6371 | int res1 = 0 ; | |
6372 | int val2 ; | |
6373 | int ecode2 = 0 ; | |
6374 | PyObject *swig_obj[2] ; | |
6375 | ||
5eb8189c RD |
6376 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6377 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6378 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6380 | } |
5eb8189c | 6381 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6382 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6383 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6384 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6385 | } |
6386 | arg2 = static_cast< int >(val2); | |
6387 | if (arg1) (arg1)->state = arg2; | |
6388 | ||
6389 | resultobj = SWIG_Py_Void(); | |
6390 | return resultobj; | |
6391 | fail: | |
6392 | return NULL; | |
6393 | } | |
6394 | ||
6395 | ||
5eb8189c | 6396 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6397 | PyObject *resultobj = 0; |
5eb8189c | 6398 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6399 | int result; |
6400 | void *argp1 = 0 ; | |
6401 | int res1 = 0 ; | |
6402 | PyObject *swig_obj[1] ; | |
6403 | ||
6404 | if (!args) SWIG_fail; | |
6405 | swig_obj[0] = args; | |
5eb8189c | 6406 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6407 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6408 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6409 | } |
5eb8189c | 6410 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6411 | result = (int) ((arg1)->state); |
6412 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6413 | return resultobj; | |
6414 | fail: | |
6415 | return NULL; | |
6416 | } | |
6417 | ||
6418 | ||
5eb8189c | 6419 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6420 | PyObject *resultobj = 0; |
5eb8189c | 6421 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6422 | int arg2 ; |
6423 | void *argp1 = 0 ; | |
6424 | int res1 = 0 ; | |
6425 | int val2 ; | |
6426 | int ecode2 = 0 ; | |
6427 | PyObject *swig_obj[2] ; | |
6428 | ||
5eb8189c RD |
6429 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6430 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6431 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6433 | } |
5eb8189c | 6434 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6435 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6436 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6437 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6438 | } |
6439 | arg2 = static_cast< int >(val2); | |
6440 | if (arg1) (arg1)->dock_direction = arg2; | |
6441 | ||
6442 | resultobj = SWIG_Py_Void(); | |
6443 | return resultobj; | |
6444 | fail: | |
6445 | return NULL; | |
6446 | } | |
6447 | ||
6448 | ||
5eb8189c | 6449 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6450 | PyObject *resultobj = 0; |
5eb8189c | 6451 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6452 | int result; |
6453 | void *argp1 = 0 ; | |
6454 | int res1 = 0 ; | |
6455 | PyObject *swig_obj[1] ; | |
6456 | ||
6457 | if (!args) SWIG_fail; | |
6458 | swig_obj[0] = args; | |
5eb8189c | 6459 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6460 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6461 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6462 | } |
5eb8189c | 6463 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6464 | result = (int) ((arg1)->dock_direction); |
6465 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6466 | return resultobj; | |
6467 | fail: | |
6468 | return NULL; | |
6469 | } | |
6470 | ||
6471 | ||
5eb8189c | 6472 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6473 | PyObject *resultobj = 0; |
5eb8189c | 6474 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6475 | int arg2 ; |
6476 | void *argp1 = 0 ; | |
6477 | int res1 = 0 ; | |
6478 | int val2 ; | |
6479 | int ecode2 = 0 ; | |
6480 | PyObject *swig_obj[2] ; | |
6481 | ||
5eb8189c RD |
6482 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6483 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6484 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6485 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6486 | } |
5eb8189c | 6487 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6488 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6489 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6490 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6491 | } |
6492 | arg2 = static_cast< int >(val2); | |
6493 | if (arg1) (arg1)->dock_layer = arg2; | |
6494 | ||
6495 | resultobj = SWIG_Py_Void(); | |
6496 | return resultobj; | |
6497 | fail: | |
6498 | return NULL; | |
6499 | } | |
6500 | ||
6501 | ||
5eb8189c | 6502 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6503 | PyObject *resultobj = 0; |
5eb8189c | 6504 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6505 | int result; |
6506 | void *argp1 = 0 ; | |
6507 | int res1 = 0 ; | |
6508 | PyObject *swig_obj[1] ; | |
6509 | ||
6510 | if (!args) SWIG_fail; | |
6511 | swig_obj[0] = args; | |
5eb8189c | 6512 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6513 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6515 | } |
5eb8189c | 6516 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6517 | result = (int) ((arg1)->dock_layer); |
6518 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6519 | return resultobj; | |
6520 | fail: | |
6521 | return NULL; | |
6522 | } | |
6523 | ||
6524 | ||
5eb8189c | 6525 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6526 | PyObject *resultobj = 0; |
5eb8189c | 6527 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6528 | int arg2 ; |
6529 | void *argp1 = 0 ; | |
6530 | int res1 = 0 ; | |
6531 | int val2 ; | |
6532 | int ecode2 = 0 ; | |
6533 | PyObject *swig_obj[2] ; | |
6534 | ||
5eb8189c RD |
6535 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6536 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6537 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6538 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6539 | } |
5eb8189c | 6540 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6541 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6542 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6543 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6544 | } |
6545 | arg2 = static_cast< int >(val2); | |
6546 | if (arg1) (arg1)->dock_row = arg2; | |
6547 | ||
6548 | resultobj = SWIG_Py_Void(); | |
6549 | return resultobj; | |
6550 | fail: | |
6551 | return NULL; | |
6552 | } | |
6553 | ||
6554 | ||
5eb8189c | 6555 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6556 | PyObject *resultobj = 0; |
5eb8189c | 6557 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6558 | int result; |
6559 | void *argp1 = 0 ; | |
6560 | int res1 = 0 ; | |
6561 | PyObject *swig_obj[1] ; | |
6562 | ||
6563 | if (!args) SWIG_fail; | |
6564 | swig_obj[0] = args; | |
5eb8189c | 6565 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6566 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6568 | } |
5eb8189c | 6569 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6570 | result = (int) ((arg1)->dock_row); |
6571 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6572 | return resultobj; | |
6573 | fail: | |
6574 | return NULL; | |
6575 | } | |
6576 | ||
6577 | ||
5eb8189c | 6578 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6579 | PyObject *resultobj = 0; |
5eb8189c | 6580 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6581 | int arg2 ; |
6582 | void *argp1 = 0 ; | |
6583 | int res1 = 0 ; | |
6584 | int val2 ; | |
6585 | int ecode2 = 0 ; | |
6586 | PyObject *swig_obj[2] ; | |
6587 | ||
5eb8189c RD |
6588 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6589 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6590 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6591 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6592 | } |
5eb8189c | 6593 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6594 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6595 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6596 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6597 | } |
6598 | arg2 = static_cast< int >(val2); | |
6599 | if (arg1) (arg1)->dock_pos = arg2; | |
6600 | ||
6601 | resultobj = SWIG_Py_Void(); | |
6602 | return resultobj; | |
6603 | fail: | |
6604 | return NULL; | |
6605 | } | |
6606 | ||
6607 | ||
5eb8189c | 6608 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6609 | PyObject *resultobj = 0; |
5eb8189c | 6610 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6611 | int result; |
6612 | void *argp1 = 0 ; | |
6613 | int res1 = 0 ; | |
6614 | PyObject *swig_obj[1] ; | |
6615 | ||
6616 | if (!args) SWIG_fail; | |
6617 | swig_obj[0] = args; | |
5eb8189c | 6618 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6619 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6620 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6621 | } |
5eb8189c | 6622 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6623 | result = (int) ((arg1)->dock_pos); |
6624 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6625 | return resultobj; | |
6626 | fail: | |
6627 | return NULL; | |
6628 | } | |
6629 | ||
6630 | ||
5eb8189c | 6631 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6632 | PyObject *resultobj = 0; |
5eb8189c | 6633 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6634 | wxSize *arg2 = (wxSize *) 0 ; |
6635 | void *argp1 = 0 ; | |
6636 | int res1 = 0 ; | |
6637 | void *argp2 = 0 ; | |
6638 | int res2 = 0 ; | |
6639 | PyObject *swig_obj[2] ; | |
6640 | ||
5eb8189c RD |
6641 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6642 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6643 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6644 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6645 | } |
5eb8189c | 6646 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6647 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6648 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6649 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6650 | } |
6651 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6652 | if (arg1) (arg1)->best_size = *arg2; | |
6653 | ||
6654 | resultobj = SWIG_Py_Void(); | |
6655 | return resultobj; | |
6656 | fail: | |
6657 | return NULL; | |
6658 | } | |
6659 | ||
6660 | ||
5eb8189c | 6661 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6662 | PyObject *resultobj = 0; |
5eb8189c | 6663 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6664 | wxSize *result = 0 ; |
6665 | void *argp1 = 0 ; | |
6666 | int res1 = 0 ; | |
6667 | PyObject *swig_obj[1] ; | |
6668 | ||
6669 | if (!args) SWIG_fail; | |
6670 | swig_obj[0] = args; | |
5eb8189c | 6671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6674 | } |
5eb8189c | 6675 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6676 | result = (wxSize *)& ((arg1)->best_size); |
6677 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6678 | return resultobj; | |
6679 | fail: | |
6680 | return NULL; | |
6681 | } | |
6682 | ||
6683 | ||
5eb8189c | 6684 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6685 | PyObject *resultobj = 0; |
5eb8189c | 6686 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6687 | wxSize *arg2 = (wxSize *) 0 ; |
6688 | void *argp1 = 0 ; | |
6689 | int res1 = 0 ; | |
6690 | void *argp2 = 0 ; | |
6691 | int res2 = 0 ; | |
6692 | PyObject *swig_obj[2] ; | |
6693 | ||
5eb8189c RD |
6694 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6695 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6696 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6697 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6698 | } |
5eb8189c | 6699 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6700 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6701 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6702 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6703 | } |
6704 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6705 | if (arg1) (arg1)->min_size = *arg2; | |
6706 | ||
6707 | resultobj = SWIG_Py_Void(); | |
6708 | return resultobj; | |
6709 | fail: | |
6710 | return NULL; | |
6711 | } | |
6712 | ||
6713 | ||
5eb8189c | 6714 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6715 | PyObject *resultobj = 0; |
5eb8189c | 6716 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6717 | wxSize *result = 0 ; |
6718 | void *argp1 = 0 ; | |
6719 | int res1 = 0 ; | |
6720 | PyObject *swig_obj[1] ; | |
6721 | ||
6722 | if (!args) SWIG_fail; | |
6723 | swig_obj[0] = args; | |
5eb8189c | 6724 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6725 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6727 | } |
5eb8189c | 6728 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6729 | result = (wxSize *)& ((arg1)->min_size); |
6730 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6731 | return resultobj; | |
6732 | fail: | |
6733 | return NULL; | |
6734 | } | |
6735 | ||
6736 | ||
5eb8189c | 6737 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6738 | PyObject *resultobj = 0; |
5eb8189c | 6739 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6740 | wxSize *arg2 = (wxSize *) 0 ; |
6741 | void *argp1 = 0 ; | |
6742 | int res1 = 0 ; | |
6743 | void *argp2 = 0 ; | |
6744 | int res2 = 0 ; | |
6745 | PyObject *swig_obj[2] ; | |
6746 | ||
5eb8189c RD |
6747 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6748 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6749 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6751 | } |
5eb8189c | 6752 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6753 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6754 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6755 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6756 | } |
6757 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6758 | if (arg1) (arg1)->max_size = *arg2; | |
6759 | ||
6760 | resultobj = SWIG_Py_Void(); | |
6761 | return resultobj; | |
6762 | fail: | |
6763 | return NULL; | |
6764 | } | |
6765 | ||
6766 | ||
5eb8189c | 6767 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6768 | PyObject *resultobj = 0; |
5eb8189c | 6769 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6770 | wxSize *result = 0 ; |
6771 | void *argp1 = 0 ; | |
6772 | int res1 = 0 ; | |
6773 | PyObject *swig_obj[1] ; | |
6774 | ||
6775 | if (!args) SWIG_fail; | |
6776 | swig_obj[0] = args; | |
5eb8189c | 6777 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6778 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6779 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6780 | } |
5eb8189c | 6781 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6782 | result = (wxSize *)& ((arg1)->max_size); |
6783 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6784 | return resultobj; | |
6785 | fail: | |
6786 | return NULL; | |
6787 | } | |
6788 | ||
6789 | ||
5eb8189c | 6790 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6791 | PyObject *resultobj = 0; |
5eb8189c | 6792 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6793 | wxPoint *arg2 = (wxPoint *) 0 ; |
6794 | void *argp1 = 0 ; | |
6795 | int res1 = 0 ; | |
6796 | void *argp2 = 0 ; | |
6797 | int res2 = 0 ; | |
6798 | PyObject *swig_obj[2] ; | |
6799 | ||
5eb8189c RD |
6800 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6801 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6802 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6803 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6804 | } |
5eb8189c | 6805 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6806 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6807 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6808 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6809 | } |
6810 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6811 | if (arg1) (arg1)->floating_pos = *arg2; | |
6812 | ||
6813 | resultobj = SWIG_Py_Void(); | |
6814 | return resultobj; | |
6815 | fail: | |
6816 | return NULL; | |
6817 | } | |
6818 | ||
6819 | ||
5eb8189c | 6820 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6821 | PyObject *resultobj = 0; |
5eb8189c | 6822 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6823 | wxPoint *result = 0 ; |
6824 | void *argp1 = 0 ; | |
6825 | int res1 = 0 ; | |
6826 | PyObject *swig_obj[1] ; | |
6827 | ||
6828 | if (!args) SWIG_fail; | |
6829 | swig_obj[0] = args; | |
5eb8189c | 6830 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6831 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6833 | } |
5eb8189c | 6834 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6835 | result = (wxPoint *)& ((arg1)->floating_pos); |
6836 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6837 | return resultobj; | |
6838 | fail: | |
6839 | return NULL; | |
6840 | } | |
6841 | ||
6842 | ||
5eb8189c | 6843 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6844 | PyObject *resultobj = 0; |
5eb8189c | 6845 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6846 | wxSize *arg2 = (wxSize *) 0 ; |
6847 | void *argp1 = 0 ; | |
6848 | int res1 = 0 ; | |
6849 | void *argp2 = 0 ; | |
6850 | int res2 = 0 ; | |
6851 | PyObject *swig_obj[2] ; | |
6852 | ||
5eb8189c RD |
6853 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6854 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6855 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6857 | } |
5eb8189c | 6858 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6859 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6860 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6861 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6862 | } |
6863 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6864 | if (arg1) (arg1)->floating_size = *arg2; | |
6865 | ||
6866 | resultobj = SWIG_Py_Void(); | |
6867 | return resultobj; | |
6868 | fail: | |
6869 | return NULL; | |
6870 | } | |
6871 | ||
6872 | ||
5eb8189c | 6873 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6874 | PyObject *resultobj = 0; |
5eb8189c | 6875 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6876 | wxSize *result = 0 ; |
6877 | void *argp1 = 0 ; | |
6878 | int res1 = 0 ; | |
6879 | PyObject *swig_obj[1] ; | |
6880 | ||
6881 | if (!args) SWIG_fail; | |
6882 | swig_obj[0] = args; | |
5eb8189c | 6883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6884 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6886 | } |
5eb8189c | 6887 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6888 | result = (wxSize *)& ((arg1)->floating_size); |
6889 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6890 | return resultobj; | |
6891 | fail: | |
6892 | return NULL; | |
6893 | } | |
6894 | ||
6895 | ||
5eb8189c | 6896 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6897 | PyObject *resultobj = 0; |
5eb8189c | 6898 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6899 | int arg2 ; |
6900 | void *argp1 = 0 ; | |
6901 | int res1 = 0 ; | |
6902 | int val2 ; | |
6903 | int ecode2 = 0 ; | |
6904 | PyObject *swig_obj[2] ; | |
6905 | ||
5eb8189c RD |
6906 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6907 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6908 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6909 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6910 | } |
5eb8189c | 6911 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6912 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6913 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6914 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6915 | } |
6916 | arg2 = static_cast< int >(val2); | |
6917 | if (arg1) (arg1)->dock_proportion = arg2; | |
6918 | ||
6919 | resultobj = SWIG_Py_Void(); | |
6920 | return resultobj; | |
6921 | fail: | |
6922 | return NULL; | |
6923 | } | |
6924 | ||
6925 | ||
5eb8189c | 6926 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6927 | PyObject *resultobj = 0; |
5eb8189c | 6928 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6929 | int result; |
6930 | void *argp1 = 0 ; | |
6931 | int res1 = 0 ; | |
6932 | PyObject *swig_obj[1] ; | |
6933 | ||
6934 | if (!args) SWIG_fail; | |
6935 | swig_obj[0] = args; | |
5eb8189c | 6936 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6937 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6939 | } |
5eb8189c | 6940 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6941 | result = (int) ((arg1)->dock_proportion); |
6942 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6943 | return resultobj; | |
6944 | fail: | |
6945 | return NULL; | |
6946 | } | |
6947 | ||
6948 | ||
5eb8189c | 6949 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6950 | PyObject *resultobj = 0; |
5eb8189c RD |
6951 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6952 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6953 | void *argp1 = 0 ; |
6954 | int res1 = 0 ; | |
6955 | void *argp2 ; | |
6956 | int res2 = 0 ; | |
6957 | PyObject *swig_obj[2] ; | |
6958 | ||
5eb8189c RD |
6959 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6960 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6961 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6962 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6963 | } |
5eb8189c | 6964 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6965 | { |
5eb8189c | 6966 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6967 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6968 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6969 | } |
6970 | if (!argp2) { | |
5eb8189c | 6971 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6972 | } else { |
5eb8189c | 6973 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6974 | arg2 = *temp; |
6975 | if (SWIG_IsNewObj(res2)) delete temp; | |
6976 | } | |
6977 | } | |
6978 | if (arg1) (arg1)->buttons = arg2; | |
6979 | ||
6980 | resultobj = SWIG_Py_Void(); | |
6981 | return resultobj; | |
6982 | fail: | |
6983 | return NULL; | |
6984 | } | |
6985 | ||
6986 | ||
5eb8189c | 6987 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6988 | PyObject *resultobj = 0; |
5eb8189c RD |
6989 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6990 | wxAuiPaneButtonArray result; | |
27e45892 RD |
6991 | void *argp1 = 0 ; |
6992 | int res1 = 0 ; | |
6993 | PyObject *swig_obj[1] ; | |
6994 | ||
6995 | if (!args) SWIG_fail; | |
6996 | swig_obj[0] = args; | |
5eb8189c | 6997 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6998 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7000 | } |
5eb8189c | 7001 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7002 | result = ((arg1)->buttons); |
5eb8189c | 7003 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7004 | return resultobj; |
7005 | fail: | |
7006 | return NULL; | |
7007 | } | |
7008 | ||
7009 | ||
5eb8189c | 7010 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7011 | PyObject *resultobj = 0; |
5eb8189c | 7012 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7013 | wxRect *arg2 = (wxRect *) 0 ; |
7014 | void *argp1 = 0 ; | |
7015 | int res1 = 0 ; | |
7016 | void *argp2 = 0 ; | |
7017 | int res2 = 0 ; | |
7018 | PyObject *swig_obj[2] ; | |
7019 | ||
5eb8189c RD |
7020 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7021 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7022 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7023 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7024 | } |
5eb8189c | 7025 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7026 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7027 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7028 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7029 | } |
7030 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7031 | if (arg1) (arg1)->rect = *arg2; | |
7032 | ||
7033 | resultobj = SWIG_Py_Void(); | |
7034 | return resultobj; | |
7035 | fail: | |
7036 | return NULL; | |
7037 | } | |
7038 | ||
7039 | ||
5eb8189c | 7040 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7041 | PyObject *resultobj = 0; |
5eb8189c | 7042 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7043 | wxRect *result = 0 ; |
7044 | void *argp1 = 0 ; | |
7045 | int res1 = 0 ; | |
7046 | PyObject *swig_obj[1] ; | |
7047 | ||
7048 | if (!args) SWIG_fail; | |
7049 | swig_obj[0] = args; | |
5eb8189c | 7050 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7051 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7053 | } |
5eb8189c | 7054 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7055 | result = (wxRect *)& ((arg1)->rect); |
7056 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7057 | return resultobj; | |
7058 | fail: | |
7059 | return NULL; | |
7060 | } | |
7061 | ||
7062 | ||
5eb8189c | 7063 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7064 | PyObject *obj; |
7065 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7066 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7067 | return SWIG_Py_Void(); |
7068 | } | |
7069 | ||
5eb8189c | 7070 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7071 | return SWIG_Python_InitShadowInstance(args); |
7072 | } | |
7073 | ||
5eb8189c | 7074 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7075 | PyObject *resultobj = 0; |
10044bf1 | 7076 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7077 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7078 | wxAuiManager *result = 0 ; |
27e45892 RD |
7079 | void *argp1 = 0 ; |
7080 | int res1 = 0 ; | |
7081 | int val2 ; | |
7082 | int ecode2 = 0 ; | |
7083 | PyObject * obj0 = 0 ; | |
7084 | PyObject * obj1 = 0 ; | |
7085 | char * kwnames[] = { | |
10044bf1 | 7086 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7087 | }; |
7088 | ||
5eb8189c | 7089 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7090 | if (obj0) { |
10044bf1 | 7091 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7092 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7094 | } |
10044bf1 | 7095 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7096 | } |
7097 | if (obj1) { | |
7098 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7099 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7100 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7101 | } |
7102 | arg2 = static_cast< int >(val2); | |
7103 | } | |
7104 | { | |
7105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7106 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7107 | wxPyEndAllowThreads(__tstate); |
7108 | if (PyErr_Occurred()) SWIG_fail; | |
7109 | } | |
5eb8189c | 7110 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7111 | return resultobj; |
7112 | fail: | |
7113 | return NULL; | |
7114 | } | |
7115 | ||
7116 | ||
5eb8189c | 7117 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7118 | PyObject *resultobj = 0; |
5eb8189c | 7119 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7120 | void *argp1 = 0 ; |
7121 | int res1 = 0 ; | |
7122 | PyObject *swig_obj[1] ; | |
7123 | ||
7124 | if (!args) SWIG_fail; | |
7125 | swig_obj[0] = args; | |
5eb8189c | 7126 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7127 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7128 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7129 | } |
5eb8189c | 7130 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7131 | { |
7132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7133 | delete arg1; | |
7134 | ||
7135 | wxPyEndAllowThreads(__tstate); | |
7136 | if (PyErr_Occurred()) SWIG_fail; | |
7137 | } | |
7138 | resultobj = SWIG_Py_Void(); | |
7139 | return resultobj; | |
7140 | fail: | |
7141 | return NULL; | |
7142 | } | |
7143 | ||
7144 | ||
5eb8189c | 7145 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7146 | PyObject *resultobj = 0; |
5eb8189c | 7147 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7148 | void *argp1 = 0 ; |
7149 | int res1 = 0 ; | |
7150 | PyObject *swig_obj[1] ; | |
7151 | ||
7152 | if (!args) SWIG_fail; | |
7153 | swig_obj[0] = args; | |
5eb8189c | 7154 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7155 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7156 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7157 | } |
5eb8189c | 7158 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7159 | { |
7160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7161 | (arg1)->UnInit(); | |
7162 | wxPyEndAllowThreads(__tstate); | |
7163 | if (PyErr_Occurred()) SWIG_fail; | |
7164 | } | |
7165 | resultobj = SWIG_Py_Void(); | |
7166 | return resultobj; | |
7167 | fail: | |
7168 | return NULL; | |
7169 | } | |
7170 | ||
7171 | ||
5eb8189c | 7172 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7173 | PyObject *resultobj = 0; |
5eb8189c | 7174 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7175 | int arg2 ; |
7176 | void *argp1 = 0 ; | |
7177 | int res1 = 0 ; | |
7178 | int val2 ; | |
7179 | int ecode2 = 0 ; | |
7180 | PyObject * obj0 = 0 ; | |
7181 | PyObject * obj1 = 0 ; | |
7182 | char * kwnames[] = { | |
7183 | (char *) "self",(char *) "flags", NULL | |
7184 | }; | |
7185 | ||
5eb8189c RD |
7186 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7187 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7188 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7189 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7190 | } |
5eb8189c | 7191 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7192 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7193 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7194 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7195 | } |
7196 | arg2 = static_cast< int >(val2); | |
7197 | { | |
7198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7199 | (arg1)->SetFlags(arg2); | |
7200 | wxPyEndAllowThreads(__tstate); | |
7201 | if (PyErr_Occurred()) SWIG_fail; | |
7202 | } | |
7203 | resultobj = SWIG_Py_Void(); | |
7204 | return resultobj; | |
7205 | fail: | |
7206 | return NULL; | |
7207 | } | |
7208 | ||
7209 | ||
5eb8189c | 7210 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7211 | PyObject *resultobj = 0; |
5eb8189c | 7212 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7213 | int result; |
7214 | void *argp1 = 0 ; | |
7215 | int res1 = 0 ; | |
7216 | PyObject *swig_obj[1] ; | |
7217 | ||
7218 | if (!args) SWIG_fail; | |
7219 | swig_obj[0] = args; | |
5eb8189c | 7220 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7221 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7222 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7223 | } |
5eb8189c | 7224 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7225 | { |
7226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7227 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7228 | wxPyEndAllowThreads(__tstate); |
7229 | if (PyErr_Occurred()) SWIG_fail; | |
7230 | } | |
7231 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7232 | return resultobj; | |
7233 | fail: | |
7234 | return NULL; | |
7235 | } | |
7236 | ||
7237 | ||
5eb8189c | 7238 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7239 | PyObject *resultobj = 0; |
5eb8189c | 7240 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7241 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7242 | void *argp1 = 0 ; |
7243 | int res1 = 0 ; | |
7244 | void *argp2 = 0 ; | |
7245 | int res2 = 0 ; | |
7246 | PyObject * obj0 = 0 ; | |
7247 | PyObject * obj1 = 0 ; | |
7248 | char * kwnames[] = { | |
10044bf1 | 7249 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7250 | }; |
7251 | ||
5eb8189c RD |
7252 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7253 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7254 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7256 | } |
5eb8189c | 7257 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7258 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7259 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7260 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7261 | } |
1d5ee749 | 7262 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7263 | { |
7264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7265 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7266 | wxPyEndAllowThreads(__tstate); |
7267 | if (PyErr_Occurred()) SWIG_fail; | |
7268 | } | |
7269 | resultobj = SWIG_Py_Void(); | |
7270 | return resultobj; | |
7271 | fail: | |
7272 | return NULL; | |
7273 | } | |
7274 | ||
7275 | ||
5eb8189c | 7276 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7277 | PyObject *resultobj = 0; |
5eb8189c | 7278 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7279 | wxWindow *result = 0 ; |
27e45892 RD |
7280 | void *argp1 = 0 ; |
7281 | int res1 = 0 ; | |
7282 | PyObject *swig_obj[1] ; | |
7283 | ||
7284 | if (!args) SWIG_fail; | |
7285 | swig_obj[0] = args; | |
5eb8189c | 7286 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7287 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7289 | } |
5eb8189c | 7290 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7291 | { |
7292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7293 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7294 | wxPyEndAllowThreads(__tstate); |
7295 | if (PyErr_Occurred()) SWIG_fail; | |
7296 | } | |
7297 | { | |
7298 | resultobj = wxPyMake_wxObject(result, 0); | |
7299 | } | |
7300 | return resultobj; | |
7301 | fail: | |
7302 | return NULL; | |
7303 | } | |
7304 | ||
7305 | ||
eccab1a7 RD |
7306 | SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7307 | PyObject *resultobj = 0; | |
7308 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7309 | wxAuiManager *result = 0 ; | |
7310 | void *argp1 = 0 ; | |
7311 | int res1 = 0 ; | |
7312 | PyObject * obj0 = 0 ; | |
7313 | char * kwnames[] = { | |
7314 | (char *) "window", NULL | |
7315 | }; | |
7316 | ||
7317 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail; | |
7318 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7319 | if (!SWIG_IsOK(res1)) { | |
7320 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
7321 | } | |
7322 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
7323 | { | |
7324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7325 | result = (wxAuiManager *)wxAuiManager::GetManager(arg1); | |
7326 | wxPyEndAllowThreads(__tstate); | |
7327 | if (PyErr_Occurred()) SWIG_fail; | |
7328 | } | |
7329 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7330 | return resultobj; | |
7331 | fail: | |
7332 | return NULL; | |
7333 | } | |
7334 | ||
7335 | ||
5eb8189c | 7336 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7337 | PyObject *resultobj = 0; |
5eb8189c RD |
7338 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7339 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7340 | void *argp1 = 0 ; |
7341 | int res1 = 0 ; | |
7342 | int res2 = 0 ; | |
7343 | PyObject * obj0 = 0 ; | |
7344 | PyObject * obj1 = 0 ; | |
7345 | char * kwnames[] = { | |
7346 | (char *) "self",(char *) "art_provider", NULL | |
7347 | }; | |
7348 | ||
5eb8189c RD |
7349 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7350 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7351 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7353 | } |
5eb8189c RD |
7354 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7355 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7356 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7357 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7358 | } |
7359 | { | |
7360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7361 | (arg1)->SetArtProvider(arg2); | |
7362 | wxPyEndAllowThreads(__tstate); | |
7363 | if (PyErr_Occurred()) SWIG_fail; | |
7364 | } | |
7365 | resultobj = SWIG_Py_Void(); | |
7366 | return resultobj; | |
7367 | fail: | |
7368 | return NULL; | |
7369 | } | |
7370 | ||
7371 | ||
5eb8189c | 7372 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7373 | PyObject *resultobj = 0; |
5eb8189c RD |
7374 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7375 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7376 | void *argp1 = 0 ; |
7377 | int res1 = 0 ; | |
7378 | PyObject *swig_obj[1] ; | |
7379 | ||
7380 | if (!args) SWIG_fail; | |
7381 | swig_obj[0] = args; | |
5eb8189c | 7382 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7383 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7384 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7385 | } |
5eb8189c | 7386 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7387 | { |
7388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7389 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7390 | wxPyEndAllowThreads(__tstate); |
7391 | if (PyErr_Occurred()) SWIG_fail; | |
7392 | } | |
5eb8189c | 7393 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7394 | return resultobj; |
7395 | fail: | |
7396 | return NULL; | |
7397 | } | |
7398 | ||
7399 | ||
5eb8189c | 7400 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7401 | PyObject *resultobj = 0; |
5eb8189c | 7402 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7403 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7404 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7405 | void *argp1 = 0 ; |
7406 | int res1 = 0 ; | |
7407 | void *argp2 = 0 ; | |
7408 | int res2 = 0 ; | |
7409 | PyObject * obj0 = 0 ; | |
7410 | PyObject * obj1 = 0 ; | |
7411 | char * kwnames[] = { | |
7412 | (char *) "self",(char *) "window", NULL | |
7413 | }; | |
7414 | ||
5eb8189c RD |
7415 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7416 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7417 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7419 | } |
5eb8189c | 7420 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7421 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7422 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7423 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7424 | } |
7425 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7426 | { | |
7427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7428 | { | |
5eb8189c RD |
7429 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7430 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7431 | } |
7432 | wxPyEndAllowThreads(__tstate); | |
7433 | if (PyErr_Occurred()) SWIG_fail; | |
7434 | } | |
5eb8189c | 7435 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7436 | return resultobj; |
7437 | fail: | |
7438 | return NULL; | |
7439 | } | |
7440 | ||
7441 | ||
5eb8189c | 7442 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7443 | PyObject *resultobj = 0; |
5eb8189c | 7444 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7445 | wxString *arg2 = 0 ; |
5eb8189c | 7446 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7447 | void *argp1 = 0 ; |
7448 | int res1 = 0 ; | |
7449 | bool temp2 = false ; | |
7450 | PyObject * obj0 = 0 ; | |
7451 | PyObject * obj1 = 0 ; | |
7452 | char * kwnames[] = { | |
7453 | (char *) "self",(char *) "name", NULL | |
7454 | }; | |
7455 | ||
5eb8189c RD |
7456 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7457 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7458 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7460 | } |
5eb8189c | 7461 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7462 | { |
7463 | arg2 = wxString_in_helper(obj1); | |
7464 | if (arg2 == NULL) SWIG_fail; | |
7465 | temp2 = true; | |
7466 | } | |
7467 | { | |
7468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7469 | { | |
5eb8189c RD |
7470 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7471 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7472 | } |
7473 | wxPyEndAllowThreads(__tstate); | |
7474 | if (PyErr_Occurred()) SWIG_fail; | |
7475 | } | |
5eb8189c | 7476 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7477 | { |
7478 | if (temp2) | |
7479 | delete arg2; | |
7480 | } | |
7481 | return resultobj; | |
7482 | fail: | |
7483 | { | |
7484 | if (temp2) | |
7485 | delete arg2; | |
7486 | } | |
7487 | return NULL; | |
7488 | } | |
7489 | ||
7490 | ||
5eb8189c | 7491 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7492 | PyObject *resultobj = 0; |
5eb8189c RD |
7493 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7494 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7495 | void *argp1 = 0 ; |
7496 | int res1 = 0 ; | |
7497 | PyObject *swig_obj[1] ; | |
7498 | ||
7499 | if (!args) SWIG_fail; | |
7500 | swig_obj[0] = args; | |
5eb8189c | 7501 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7502 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7504 | } |
5eb8189c | 7505 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7506 | { |
7507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7508 | { | |
5eb8189c RD |
7509 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7510 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7511 | } |
7512 | wxPyEndAllowThreads(__tstate); | |
7513 | if (PyErr_Occurred()) SWIG_fail; | |
7514 | } | |
7515 | { | |
7516 | resultobj = PyList_New(0); | |
7517 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7518 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7519 | PyList_Append(resultobj, pane_obj); |
7520 | } | |
7521 | } | |
7522 | return resultobj; | |
7523 | fail: | |
7524 | return NULL; | |
7525 | } | |
7526 | ||
7527 | ||
36cb9ebe | 7528 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7529 | PyObject *resultobj = 0; |
5eb8189c | 7530 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7531 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7532 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7533 | bool result; |
7534 | void *argp1 = 0 ; | |
7535 | int res1 = 0 ; | |
7536 | void *argp2 = 0 ; | |
7537 | int res2 = 0 ; | |
7538 | void *argp3 = 0 ; | |
7539 | int res3 = 0 ; | |
36cb9ebe RD |
7540 | PyObject * obj0 = 0 ; |
7541 | PyObject * obj1 = 0 ; | |
7542 | PyObject * obj2 = 0 ; | |
7543 | char * kwnames[] = { | |
7544 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7545 | }; | |
27e45892 | 7546 | |
36cb9ebe RD |
7547 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7548 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7549 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7550 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7551 | } |
5eb8189c | 7552 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7553 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7554 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7555 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7556 | } |
7557 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7558 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7559 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7560 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7561 | } |
7562 | if (!argp3) { | |
36cb9ebe | 7563 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7564 | } |
5eb8189c | 7565 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7566 | { |
7567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7568 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7569 | wxPyEndAllowThreads(__tstate); |
7570 | if (PyErr_Occurred()) SWIG_fail; | |
7571 | } | |
7572 | { | |
7573 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7574 | } | |
7575 | return resultobj; | |
7576 | fail: | |
7577 | return NULL; | |
7578 | } | |
7579 | ||
7580 | ||
36cb9ebe | 7581 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7582 | PyObject *resultobj = 0; |
5eb8189c | 7583 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7584 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7585 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7586 | wxPoint *arg4 = 0 ; |
7587 | bool result; | |
7588 | void *argp1 = 0 ; | |
7589 | int res1 = 0 ; | |
7590 | void *argp2 = 0 ; | |
7591 | int res2 = 0 ; | |
7592 | void *argp3 = 0 ; | |
7593 | int res3 = 0 ; | |
7594 | wxPoint temp4 ; | |
36cb9ebe RD |
7595 | PyObject * obj0 = 0 ; |
7596 | PyObject * obj1 = 0 ; | |
7597 | PyObject * obj2 = 0 ; | |
7598 | PyObject * obj3 = 0 ; | |
7599 | char * kwnames[] = { | |
7600 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7601 | }; | |
10044bf1 | 7602 | |
36cb9ebe RD |
7603 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7604 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7605 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7607 | } |
5eb8189c | 7608 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7609 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7610 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7611 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7612 | } |
7613 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7614 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7615 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7616 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7617 | } |
7618 | if (!argp3) { | |
5eb8189c | 7619 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7620 | } |
5eb8189c | 7621 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7622 | { |
7623 | arg4 = &temp4; | |
36cb9ebe | 7624 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7625 | } |
7626 | { | |
7627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7628 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7629 | wxPyEndAllowThreads(__tstate); |
7630 | if (PyErr_Occurred()) SWIG_fail; | |
7631 | } | |
7632 | { | |
7633 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7634 | } | |
7635 | return resultobj; | |
7636 | fail: | |
7637 | return NULL; | |
7638 | } | |
7639 | ||
7640 | ||
5eb8189c | 7641 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7642 | PyObject *resultobj = 0; |
5eb8189c | 7643 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7644 | wxWindow *arg2 = (wxWindow *) 0 ; |
7645 | int arg3 = (int) wxLEFT ; | |
7646 | wxString const &arg4_defvalue = wxEmptyString ; | |
7647 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7648 | bool result; | |
7649 | void *argp1 = 0 ; | |
7650 | int res1 = 0 ; | |
7651 | void *argp2 = 0 ; | |
7652 | int res2 = 0 ; | |
7653 | int val3 ; | |
7654 | int ecode3 = 0 ; | |
7655 | bool temp4 = false ; | |
7656 | PyObject * obj0 = 0 ; | |
7657 | PyObject * obj1 = 0 ; | |
7658 | PyObject * obj2 = 0 ; | |
7659 | PyObject * obj3 = 0 ; | |
7660 | char * kwnames[] = { | |
7661 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7662 | }; | |
7663 | ||
5eb8189c RD |
7664 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7665 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7666 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7667 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7668 | } |
5eb8189c | 7669 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7670 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7671 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7672 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7673 | } |
7674 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7675 | if (obj2) { | |
7676 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7677 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7678 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7679 | } |
7680 | arg3 = static_cast< int >(val3); | |
7681 | } | |
7682 | if (obj3) { | |
7683 | { | |
7684 | arg4 = wxString_in_helper(obj3); | |
7685 | if (arg4 == NULL) SWIG_fail; | |
7686 | temp4 = true; | |
7687 | } | |
7688 | } | |
7689 | { | |
7690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7691 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7692 | wxPyEndAllowThreads(__tstate); | |
7693 | if (PyErr_Occurred()) SWIG_fail; | |
7694 | } | |
7695 | { | |
7696 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7697 | } | |
7698 | { | |
7699 | if (temp4) | |
7700 | delete arg4; | |
7701 | } | |
7702 | return resultobj; | |
7703 | fail: | |
7704 | { | |
7705 | if (temp4) | |
7706 | delete arg4; | |
7707 | } | |
7708 | return NULL; | |
7709 | } | |
7710 | ||
7711 | ||
5eb8189c | 7712 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7713 | PyObject *resultobj = 0; |
5eb8189c | 7714 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7715 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7716 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7717 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7718 | bool result; | |
7719 | void *argp1 = 0 ; | |
7720 | int res1 = 0 ; | |
7721 | void *argp2 = 0 ; | |
7722 | int res2 = 0 ; | |
7723 | void *argp3 = 0 ; | |
7724 | int res3 = 0 ; | |
7725 | int val4 ; | |
7726 | int ecode4 = 0 ; | |
7727 | PyObject * obj0 = 0 ; | |
7728 | PyObject * obj1 = 0 ; | |
7729 | PyObject * obj2 = 0 ; | |
7730 | PyObject * obj3 = 0 ; | |
7731 | char * kwnames[] = { | |
7732 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7733 | }; | |
7734 | ||
5eb8189c RD |
7735 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7736 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7737 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7738 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7739 | } |
5eb8189c | 7740 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7741 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7742 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7743 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7744 | } |
7745 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7746 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7747 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7748 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7749 | } |
7750 | if (!argp3) { | |
5eb8189c | 7751 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7752 | } |
5eb8189c | 7753 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7754 | if (obj3) { |
7755 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7756 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7757 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7758 | } |
7759 | arg4 = static_cast< int >(val4); | |
7760 | } | |
7761 | { | |
7762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7763 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7764 | wxPyEndAllowThreads(__tstate); |
7765 | if (PyErr_Occurred()) SWIG_fail; | |
7766 | } | |
7767 | { | |
7768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7769 | } | |
7770 | return resultobj; | |
7771 | fail: | |
7772 | return NULL; | |
7773 | } | |
7774 | ||
7775 | ||
5eb8189c | 7776 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7777 | PyObject *resultobj = 0; |
5eb8189c | 7778 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7779 | wxWindow *arg2 = (wxWindow *) 0 ; |
7780 | bool result; | |
7781 | void *argp1 = 0 ; | |
7782 | int res1 = 0 ; | |
7783 | void *argp2 = 0 ; | |
7784 | int res2 = 0 ; | |
7785 | PyObject * obj0 = 0 ; | |
7786 | PyObject * obj1 = 0 ; | |
7787 | char * kwnames[] = { | |
7788 | (char *) "self",(char *) "window", NULL | |
7789 | }; | |
7790 | ||
5eb8189c RD |
7791 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7792 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7793 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7794 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7795 | } |
5eb8189c | 7796 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7797 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7798 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7799 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7800 | } |
7801 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7802 | { | |
7803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7804 | result = (bool)(arg1)->DetachPane(arg2); | |
7805 | wxPyEndAllowThreads(__tstate); | |
7806 | if (PyErr_Occurred()) SWIG_fail; | |
7807 | } | |
7808 | { | |
7809 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7810 | } | |
7811 | return resultobj; | |
7812 | fail: | |
7813 | return NULL; | |
7814 | } | |
7815 | ||
7816 | ||
d7645bfd | 7817 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5eb8189c RD |
7818 | PyObject *resultobj = 0; |
7819 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7820 | void *argp1 = 0 ; | |
7821 | int res1 = 0 ; | |
7822 | PyObject *swig_obj[1] ; | |
7823 | ||
7824 | if (!args) SWIG_fail; | |
7825 | swig_obj[0] = args; | |
7826 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7827 | if (!SWIG_IsOK(res1)) { | |
d7645bfd | 7828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
5eb8189c RD |
7829 | } |
7830 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7831 | { | |
7832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 7833 | (arg1)->Update(); |
5eb8189c RD |
7834 | wxPyEndAllowThreads(__tstate); |
7835 | if (PyErr_Occurred()) SWIG_fail; | |
7836 | } | |
7837 | resultobj = SWIG_Py_Void(); | |
7838 | return resultobj; | |
7839 | fail: | |
7840 | return NULL; | |
7841 | } | |
7842 | ||
7843 | ||
7844 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7845 | PyObject *resultobj = 0; | |
7846 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7847 | wxAuiPaneInfo *arg2 = 0 ; | |
1eeb270e RD |
7848 | wxString result; |
7849 | void *argp1 = 0 ; | |
7850 | int res1 = 0 ; | |
7851 | void *argp2 = 0 ; | |
7852 | int res2 = 0 ; | |
7853 | PyObject * obj0 = 0 ; | |
7854 | PyObject * obj1 = 0 ; | |
7855 | char * kwnames[] = { | |
7856 | (char *) "self",(char *) "pane", NULL | |
7857 | }; | |
7858 | ||
5eb8189c RD |
7859 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7860 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1eeb270e | 7861 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7862 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1eeb270e | 7863 | } |
5eb8189c RD |
7864 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7865 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
1eeb270e | 7866 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7867 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e RD |
7868 | } |
7869 | if (!argp2) { | |
5eb8189c | 7870 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e | 7871 | } |
5eb8189c | 7872 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
1eeb270e RD |
7873 | { |
7874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7875 | result = (arg1)->SavePaneInfo(*arg2); | |
7876 | wxPyEndAllowThreads(__tstate); | |
7877 | if (PyErr_Occurred()) SWIG_fail; | |
7878 | } | |
7879 | { | |
7880 | #if wxUSE_UNICODE | |
7881 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7882 | #else | |
7883 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7884 | #endif | |
7885 | } | |
7886 | return resultobj; | |
7887 | fail: | |
7888 | return NULL; | |
7889 | } | |
7890 | ||
7891 | ||
5eb8189c | 7892 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 7893 | PyObject *resultobj = 0; |
5eb8189c | 7894 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1eeb270e | 7895 | wxString arg2 ; |
5eb8189c | 7896 | wxAuiPaneInfo *arg3 = 0 ; |
1eeb270e RD |
7897 | void *argp1 = 0 ; |
7898 | int res1 = 0 ; | |
7899 | void *argp3 = 0 ; | |
7900 | int res3 = 0 ; | |
7901 | PyObject * obj0 = 0 ; | |
7902 | PyObject * obj1 = 0 ; | |
7903 | PyObject * obj2 = 0 ; | |
7904 | char * kwnames[] = { | |
7905 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7906 | }; | |
7907 | ||
5eb8189c RD |
7908 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7909 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1eeb270e | 7910 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1eeb270e | 7912 | } |
5eb8189c | 7913 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1eeb270e RD |
7914 | { |
7915 | wxString* sptr = wxString_in_helper(obj1); | |
7916 | if (sptr == NULL) SWIG_fail; | |
7917 | arg2 = *sptr; | |
7918 | delete sptr; | |
7919 | } | |
5eb8189c | 7920 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
1eeb270e | 7921 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7922 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e RD |
7923 | } |
7924 | if (!argp3) { | |
5eb8189c | 7925 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
1eeb270e | 7926 | } |
5eb8189c | 7927 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
1eeb270e RD |
7928 | { |
7929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7930 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7931 | wxPyEndAllowThreads(__tstate); | |
7932 | if (PyErr_Occurred()) SWIG_fail; | |
7933 | } | |
7934 | resultobj = SWIG_Py_Void(); | |
7935 | return resultobj; | |
7936 | fail: | |
7937 | return NULL; | |
7938 | } | |
7939 | ||
7940 | ||
5eb8189c | 7941 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7942 | PyObject *resultobj = 0; |
5eb8189c | 7943 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7944 | wxString result; |
7945 | void *argp1 = 0 ; | |
7946 | int res1 = 0 ; | |
7947 | PyObject *swig_obj[1] ; | |
7948 | ||
7949 | if (!args) SWIG_fail; | |
7950 | swig_obj[0] = args; | |
5eb8189c | 7951 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7952 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7954 | } |
5eb8189c | 7955 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7956 | { |
7957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7958 | result = (arg1)->SavePerspective(); | |
7959 | wxPyEndAllowThreads(__tstate); | |
7960 | if (PyErr_Occurred()) SWIG_fail; | |
7961 | } | |
7962 | { | |
7963 | #if wxUSE_UNICODE | |
7964 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7965 | #else | |
7966 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7967 | #endif | |
7968 | } | |
7969 | return resultobj; | |
7970 | fail: | |
7971 | return NULL; | |
7972 | } | |
7973 | ||
7974 | ||
5eb8189c | 7975 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7976 | PyObject *resultobj = 0; |
5eb8189c | 7977 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7978 | wxString *arg2 = 0 ; |
7979 | bool arg3 = (bool) true ; | |
7980 | bool result; | |
7981 | void *argp1 = 0 ; | |
7982 | int res1 = 0 ; | |
7983 | bool temp2 = false ; | |
7984 | bool val3 ; | |
7985 | int ecode3 = 0 ; | |
7986 | PyObject * obj0 = 0 ; | |
7987 | PyObject * obj1 = 0 ; | |
7988 | PyObject * obj2 = 0 ; | |
7989 | char * kwnames[] = { | |
7990 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7991 | }; | |
7992 | ||
5eb8189c RD |
7993 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7994 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7995 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7996 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7997 | } |
5eb8189c | 7998 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7999 | { |
8000 | arg2 = wxString_in_helper(obj1); | |
8001 | if (arg2 == NULL) SWIG_fail; | |
8002 | temp2 = true; | |
8003 | } | |
8004 | if (obj2) { | |
8005 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8006 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8007 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8008 | } |
8009 | arg3 = static_cast< bool >(val3); | |
8010 | } | |
8011 | { | |
8012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8013 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8014 | wxPyEndAllowThreads(__tstate); | |
8015 | if (PyErr_Occurred()) SWIG_fail; | |
8016 | } | |
8017 | { | |
8018 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8019 | } | |
8020 | { | |
8021 | if (temp2) | |
8022 | delete arg2; | |
8023 | } | |
8024 | return resultobj; | |
8025 | fail: | |
8026 | { | |
8027 | if (temp2) | |
8028 | delete arg2; | |
8029 | } | |
8030 | return NULL; | |
8031 | } | |
8032 | ||
8033 | ||
d7645bfd VZ |
8034 | SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8035 | PyObject *resultobj = 0; | |
8036 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8037 | double arg2 ; | |
8038 | double arg3 ; | |
8039 | void *argp1 = 0 ; | |
8040 | int res1 = 0 ; | |
8041 | double val2 ; | |
8042 | int ecode2 = 0 ; | |
8043 | double val3 ; | |
8044 | int ecode3 = 0 ; | |
8045 | PyObject * obj0 = 0 ; | |
8046 | PyObject * obj1 = 0 ; | |
8047 | PyObject * obj2 = 0 ; | |
8048 | char * kwnames[] = { | |
8049 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8050 | }; | |
8051 | ||
8052 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8053 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8054 | if (!SWIG_IsOK(res1)) { | |
8055 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8056 | } | |
8057 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8058 | ecode2 = SWIG_AsVal_double(obj1, &val2); | |
8059 | if (!SWIG_IsOK(ecode2)) { | |
8060 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); | |
8061 | } | |
8062 | arg2 = static_cast< double >(val2); | |
8063 | ecode3 = SWIG_AsVal_double(obj2, &val3); | |
8064 | if (!SWIG_IsOK(ecode3)) { | |
8065 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); | |
8066 | } | |
8067 | arg3 = static_cast< double >(val3); | |
8068 | { | |
8069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8070 | (arg1)->SetDockSizeConstraint(arg2,arg3); | |
8071 | wxPyEndAllowThreads(__tstate); | |
8072 | if (PyErr_Occurred()) SWIG_fail; | |
8073 | } | |
8074 | resultobj = SWIG_Py_Void(); | |
8075 | return resultobj; | |
8076 | fail: | |
8077 | return NULL; | |
8078 | } | |
8079 | ||
8080 | ||
8081 | SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8082 | PyObject *resultobj = 0; | |
8083 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8084 | double *arg2 = (double *) 0 ; | |
8085 | double *arg3 = (double *) 0 ; | |
8086 | void *argp1 = 0 ; | |
8087 | int res1 = 0 ; | |
8088 | void *argp2 = 0 ; | |
8089 | int res2 = 0 ; | |
8090 | void *argp3 = 0 ; | |
8091 | int res3 = 0 ; | |
8092 | PyObject * obj0 = 0 ; | |
8093 | PyObject * obj1 = 0 ; | |
8094 | PyObject * obj2 = 0 ; | |
8095 | char * kwnames[] = { | |
8096 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8097 | }; | |
8098 | ||
8099 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8100 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8101 | if (!SWIG_IsOK(res1)) { | |
8102 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); | |
8103 | } | |
8104 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8105 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); | |
8106 | if (!SWIG_IsOK(res2)) { | |
8107 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); | |
8108 | } | |
8109 | arg2 = reinterpret_cast< double * >(argp2); | |
8110 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); | |
8111 | if (!SWIG_IsOK(res3)) { | |
8112 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); | |
8113 | } | |
8114 | arg3 = reinterpret_cast< double * >(argp3); | |
8115 | { | |
8116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8117 | ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); | |
8118 | wxPyEndAllowThreads(__tstate); | |
8119 | if (PyErr_Occurred()) SWIG_fail; | |
8120 | } | |
8121 | resultobj = SWIG_Py_Void(); | |
8122 | return resultobj; | |
8123 | fail: | |
8124 | return NULL; | |
8125 | } | |
8126 | ||
8127 | ||
8128 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8129 | PyObject *resultobj = 0; | |
8130 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8131 | wxAuiPaneInfo *arg2 = 0 ; | |
8132 | void *argp1 = 0 ; | |
8133 | int res1 = 0 ; | |
8134 | void *argp2 = 0 ; | |
8135 | int res2 = 0 ; | |
8136 | PyObject * obj0 = 0 ; | |
8137 | PyObject * obj1 = 0 ; | |
8138 | char * kwnames[] = { | |
8139 | (char *) "self",(char *) "pane_info", NULL | |
8140 | }; | |
8141 | ||
8142 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8143 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8144 | if (!SWIG_IsOK(res1)) { | |
8145 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8146 | } | |
8147 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8148 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8149 | if (!SWIG_IsOK(res2)) { | |
8150 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8151 | } | |
8152 | if (!argp2) { | |
8153 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8154 | } | |
8155 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8156 | { | |
8157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8158 | (arg1)->ClosePane(*arg2); | |
8159 | wxPyEndAllowThreads(__tstate); | |
8160 | if (PyErr_Occurred()) SWIG_fail; | |
8161 | } | |
8162 | resultobj = SWIG_Py_Void(); | |
8163 | return resultobj; | |
8164 | fail: | |
8165 | return NULL; | |
8166 | } | |
8167 | ||
8168 | ||
8169 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8170 | PyObject *resultobj = 0; | |
8171 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8172 | wxAuiPaneInfo *arg2 = 0 ; | |
8173 | void *argp1 = 0 ; | |
8174 | int res1 = 0 ; | |
8175 | void *argp2 = 0 ; | |
8176 | int res2 = 0 ; | |
8177 | PyObject * obj0 = 0 ; | |
8178 | PyObject * obj1 = 0 ; | |
8179 | char * kwnames[] = { | |
8180 | (char *) "self",(char *) "pane_info", NULL | |
8181 | }; | |
8182 | ||
8183 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8184 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8185 | if (!SWIG_IsOK(res1)) { | |
8186 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8187 | } | |
8188 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8189 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8190 | if (!SWIG_IsOK(res2)) { | |
8191 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8192 | } | |
8193 | if (!argp2) { | |
8194 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8195 | } | |
8196 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8197 | { | |
8198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8199 | (arg1)->MaximizePane(*arg2); | |
8200 | wxPyEndAllowThreads(__tstate); | |
8201 | if (PyErr_Occurred()) SWIG_fail; | |
8202 | } | |
8203 | resultobj = SWIG_Py_Void(); | |
8204 | return resultobj; | |
8205 | fail: | |
8206 | return NULL; | |
8207 | } | |
8208 | ||
8209 | ||
8210 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8211 | PyObject *resultobj = 0; | |
8212 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8213 | wxAuiPaneInfo *arg2 = 0 ; | |
8214 | void *argp1 = 0 ; | |
8215 | int res1 = 0 ; | |
8216 | void *argp2 = 0 ; | |
8217 | int res2 = 0 ; | |
8218 | PyObject * obj0 = 0 ; | |
8219 | PyObject * obj1 = 0 ; | |
8220 | char * kwnames[] = { | |
8221 | (char *) "self",(char *) "pane_info", NULL | |
8222 | }; | |
8223 | ||
8224 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8225 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8226 | if (!SWIG_IsOK(res1)) { | |
8227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8228 | } | |
8229 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8230 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8231 | if (!SWIG_IsOK(res2)) { | |
8232 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8233 | } | |
8234 | if (!argp2) { | |
8235 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8236 | } | |
8237 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8238 | { | |
8239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8240 | (arg1)->RestorePane(*arg2); | |
8241 | wxPyEndAllowThreads(__tstate); | |
8242 | if (PyErr_Occurred()) SWIG_fail; | |
8243 | } | |
8244 | resultobj = SWIG_Py_Void(); | |
8245 | return resultobj; | |
8246 | fail: | |
8247 | return NULL; | |
8248 | } | |
8249 | ||
8250 | ||
8251 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 8252 | PyObject *resultobj = 0; |
5eb8189c | 8253 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8254 | void *argp1 = 0 ; |
8255 | int res1 = 0 ; | |
8256 | PyObject *swig_obj[1] ; | |
8257 | ||
8258 | if (!args) SWIG_fail; | |
8259 | swig_obj[0] = args; | |
5eb8189c | 8260 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8261 | if (!SWIG_IsOK(res1)) { |
d7645bfd | 8262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8263 | } |
5eb8189c | 8264 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8265 | { |
8266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 8267 | (arg1)->RestoreMaximizedPane(); |
27e45892 RD |
8268 | wxPyEndAllowThreads(__tstate); |
8269 | if (PyErr_Occurred()) SWIG_fail; | |
8270 | } | |
8271 | resultobj = SWIG_Py_Void(); | |
8272 | return resultobj; | |
8273 | fail: | |
8274 | return NULL; | |
8275 | } | |
8276 | ||
8277 | ||
5eb8189c | 8278 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8279 | PyObject *resultobj = 0; |
5eb8189c | 8280 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8281 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8282 | wxAuiPaneInfo *arg3 = 0 ; |
8283 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8284 | void *argp1 = 0 ; |
8285 | int res1 = 0 ; | |
8286 | void *argp2 = 0 ; | |
8287 | int res2 = 0 ; | |
8288 | void *argp3 = 0 ; | |
8289 | int res3 = 0 ; | |
8290 | PyObject * obj0 = 0 ; | |
8291 | PyObject * obj1 = 0 ; | |
8292 | PyObject * obj2 = 0 ; | |
8293 | char * kwnames[] = { | |
8294 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8295 | }; | |
8296 | ||
5eb8189c RD |
8297 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8298 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8299 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8301 | } |
5eb8189c | 8302 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8303 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8304 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8305 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8306 | } |
8307 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8308 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8309 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8310 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8311 | } |
8312 | if (!argp3) { | |
5eb8189c | 8313 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8314 | } |
5eb8189c | 8315 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8316 | { |
8317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8318 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8319 | wxPyEndAllowThreads(__tstate); |
8320 | if (PyErr_Occurred()) SWIG_fail; | |
8321 | } | |
5eb8189c | 8322 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8323 | return resultobj; |
8324 | fail: | |
8325 | return NULL; | |
8326 | } | |
8327 | ||
8328 | ||
e7e9d1b8 RD |
8329 | SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8330 | PyObject *resultobj = 0; | |
8331 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8332 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8333 | wxPoint *arg3 = 0 ; | |
8334 | void *argp1 = 0 ; | |
8335 | int res1 = 0 ; | |
8336 | void *argp2 = 0 ; | |
8337 | int res2 = 0 ; | |
8338 | wxPoint temp3 ; | |
8339 | PyObject * obj0 = 0 ; | |
8340 | PyObject * obj1 = 0 ; | |
8341 | PyObject * obj2 = 0 ; | |
8342 | char * kwnames[] = { | |
8343 | (char *) "self",(char *) "pane_window",(char *) "offset", NULL | |
8344 | }; | |
8345 | ||
8346 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8347 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8348 | if (!SWIG_IsOK(res1)) { | |
8349 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8350 | } | |
8351 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8352 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8353 | if (!SWIG_IsOK(res2)) { | |
8354 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8355 | } | |
8356 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8357 | { | |
8358 | arg3 = &temp3; | |
8359 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8360 | } | |
8361 | { | |
8362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8363 | (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3); | |
8364 | wxPyEndAllowThreads(__tstate); | |
8365 | if (PyErr_Occurred()) SWIG_fail; | |
8366 | } | |
8367 | resultobj = SWIG_Py_Void(); | |
8368 | return resultobj; | |
8369 | fail: | |
8370 | return NULL; | |
8371 | } | |
8372 | ||
8373 | ||
5172800e RD |
8374 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8375 | PyObject *resultobj = 0; | |
8376 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8377 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8378 | wxPoint *arg3 = 0 ; | |
8379 | wxPoint *arg4 = 0 ; | |
8380 | wxRect result; | |
8381 | void *argp1 = 0 ; | |
8382 | int res1 = 0 ; | |
8383 | void *argp2 = 0 ; | |
8384 | int res2 = 0 ; | |
8385 | wxPoint temp3 ; | |
8386 | wxPoint temp4 ; | |
8387 | PyObject * obj0 = 0 ; | |
8388 | PyObject * obj1 = 0 ; | |
8389 | PyObject * obj2 = 0 ; | |
8390 | PyObject * obj3 = 0 ; | |
8391 | char * kwnames[] = { | |
8392 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8393 | }; | |
8394 | ||
8395 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8396 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8397 | if (!SWIG_IsOK(res1)) { | |
8398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8399 | } | |
8400 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8401 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8402 | if (!SWIG_IsOK(res2)) { | |
8403 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8404 | } | |
8405 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8406 | { | |
8407 | arg3 = &temp3; | |
8408 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8409 | } | |
8410 | { | |
8411 | arg4 = &temp4; | |
8412 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8413 | } | |
8414 | { | |
8415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8416 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8417 | wxPyEndAllowThreads(__tstate); | |
8418 | if (PyErr_Occurred()) SWIG_fail; | |
8419 | } | |
8420 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8421 | return resultobj; | |
8422 | fail: | |
8423 | return NULL; | |
8424 | } | |
8425 | ||
8426 | ||
5eb8189c | 8427 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8428 | PyObject *resultobj = 0; |
5eb8189c | 8429 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8430 | wxWindow *arg2 = (wxWindow *) 0 ; |
8431 | wxPoint *arg3 = 0 ; | |
8432 | wxPoint *arg4 = 0 ; | |
8433 | void *argp1 = 0 ; | |
8434 | int res1 = 0 ; | |
8435 | void *argp2 = 0 ; | |
8436 | int res2 = 0 ; | |
8437 | wxPoint temp3 ; | |
8438 | wxPoint temp4 ; | |
8439 | PyObject * obj0 = 0 ; | |
8440 | PyObject * obj1 = 0 ; | |
8441 | PyObject * obj2 = 0 ; | |
8442 | PyObject * obj3 = 0 ; | |
8443 | char * kwnames[] = { | |
8444 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8445 | }; | |
8446 | ||
5eb8189c RD |
8447 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8448 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8449 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8450 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8451 | } |
5eb8189c | 8452 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8453 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8454 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8455 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8456 | } |
8457 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8458 | { | |
8459 | arg3 = &temp3; | |
8460 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8461 | } | |
8462 | { | |
8463 | arg4 = &temp4; | |
8464 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8465 | } | |
8466 | { | |
8467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8468 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8469 | wxPyEndAllowThreads(__tstate); | |
8470 | if (PyErr_Occurred()) SWIG_fail; | |
8471 | } | |
8472 | resultobj = SWIG_Py_Void(); | |
8473 | return resultobj; | |
8474 | fail: | |
8475 | return NULL; | |
8476 | } | |
8477 | ||
8478 | ||
5eb8189c | 8479 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8480 | PyObject *resultobj = 0; |
5eb8189c | 8481 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8482 | wxRect *arg2 = 0 ; |
8483 | void *argp1 = 0 ; | |
8484 | int res1 = 0 ; | |
8485 | wxRect temp2 ; | |
8486 | PyObject * obj0 = 0 ; | |
8487 | PyObject * obj1 = 0 ; | |
8488 | char * kwnames[] = { | |
8489 | (char *) "self",(char *) "rect", NULL | |
8490 | }; | |
8491 | ||
5eb8189c RD |
8492 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8493 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8494 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8496 | } |
5eb8189c | 8497 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8498 | { |
8499 | arg2 = &temp2; | |
8500 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8501 | } | |
8502 | { | |
8503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8504 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8505 | wxPyEndAllowThreads(__tstate); | |
8506 | if (PyErr_Occurred()) SWIG_fail; | |
8507 | } | |
8508 | resultobj = SWIG_Py_Void(); | |
8509 | return resultobj; | |
8510 | fail: | |
8511 | return NULL; | |
8512 | } | |
8513 | ||
8514 | ||
5eb8189c | 8515 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8516 | PyObject *resultobj = 0; |
5eb8189c | 8517 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8518 | void *argp1 = 0 ; |
8519 | int res1 = 0 ; | |
8520 | PyObject *swig_obj[1] ; | |
8521 | ||
8522 | if (!args) SWIG_fail; | |
8523 | swig_obj[0] = args; | |
5eb8189c | 8524 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8525 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8526 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8527 | } |
5eb8189c | 8528 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8529 | { |
8530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8531 | (arg1)->HideHint(); | |
8532 | wxPyEndAllowThreads(__tstate); | |
8533 | if (PyErr_Occurred()) SWIG_fail; | |
8534 | } | |
8535 | resultobj = SWIG_Py_Void(); | |
8536 | return resultobj; | |
8537 | fail: | |
8538 | return NULL; | |
8539 | } | |
8540 | ||
8541 | ||
5eb8189c | 8542 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1d5ee749 | 8543 | PyObject *resultobj = 0; |
5eb8189c RD |
8544 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8545 | wxAuiManagerEvent *arg2 = 0 ; | |
1d5ee749 RD |
8546 | void *argp1 = 0 ; |
8547 | int res1 = 0 ; | |
8548 | void *argp2 = 0 ; | |
8549 | int res2 = 0 ; | |
8550 | PyObject * obj0 = 0 ; | |
8551 | PyObject * obj1 = 0 ; | |
8552 | char * kwnames[] = { | |
8553 | (char *) "self",(char *) "evt", NULL | |
8554 | }; | |
8555 | ||
5eb8189c RD |
8556 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8557 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1d5ee749 | 8558 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8559 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1d5ee749 | 8560 | } |
5eb8189c RD |
8561 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8562 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
1d5ee749 | 8563 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8564 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 RD |
8565 | } |
8566 | if (!argp2) { | |
5eb8189c | 8567 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 | 8568 | } |
5eb8189c | 8569 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
1d5ee749 RD |
8570 | { |
8571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8572 | (arg1)->OnRender(*arg2); | |
8573 | wxPyEndAllowThreads(__tstate); | |
8574 | if (PyErr_Occurred()) SWIG_fail; | |
8575 | } | |
8576 | resultobj = SWIG_Py_Void(); | |
8577 | return resultobj; | |
8578 | fail: | |
8579 | return NULL; | |
8580 | } | |
8581 | ||
8582 | ||
5eb8189c | 8583 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1d5ee749 | 8584 | PyObject *resultobj = 0; |
5eb8189c RD |
8585 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8586 | wxAuiManagerEvent *arg2 = 0 ; | |
1d5ee749 RD |
8587 | void *argp1 = 0 ; |
8588 | int res1 = 0 ; | |
8589 | void *argp2 = 0 ; | |
8590 | int res2 = 0 ; | |
8591 | PyObject * obj0 = 0 ; | |
8592 | PyObject * obj1 = 0 ; | |
8593 | char * kwnames[] = { | |
8594 | (char *) "self",(char *) "evt", NULL | |
8595 | }; | |
8596 | ||
5eb8189c RD |
8597 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8598 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
1d5ee749 | 8599 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
1d5ee749 | 8601 | } |
5eb8189c RD |
8602 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8603 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
1d5ee749 | 8604 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8605 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 RD |
8606 | } |
8607 | if (!argp2) { | |
5eb8189c | 8608 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
1d5ee749 | 8609 | } |
5eb8189c | 8610 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
1d5ee749 RD |
8611 | { |
8612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8613 | (arg1)->OnPaneButton(*arg2); | |
8614 | wxPyEndAllowThreads(__tstate); | |
8615 | if (PyErr_Occurred()) SWIG_fail; | |
8616 | } | |
8617 | resultobj = SWIG_Py_Void(); | |
8618 | return resultobj; | |
8619 | fail: | |
8620 | return NULL; | |
8621 | } | |
8622 | ||
8623 | ||
5eb8189c | 8624 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8625 | PyObject *obj; |
8626 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8627 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8628 | return SWIG_Py_Void(); |
8629 | } | |
8630 | ||
5eb8189c | 8631 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8632 | return SWIG_Python_InitShadowInstance(args); |
8633 | } | |
8634 | ||
5eb8189c | 8635 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8636 | PyObject *resultobj = 0; |
8637 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8638 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8639 | int val1 ; |
8640 | int ecode1 = 0 ; | |
8641 | PyObject * obj0 = 0 ; | |
8642 | char * kwnames[] = { | |
8643 | (char *) "type", NULL | |
8644 | }; | |
8645 | ||
5eb8189c | 8646 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8647 | if (obj0) { |
8648 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8649 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8650 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8651 | } |
8652 | arg1 = static_cast< wxEventType >(val1); | |
8653 | } | |
8654 | { | |
8655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8656 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8657 | wxPyEndAllowThreads(__tstate); |
8658 | if (PyErr_Occurred()) SWIG_fail; | |
8659 | } | |
5eb8189c | 8660 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8661 | return resultobj; |
8662 | fail: | |
8663 | return NULL; | |
8664 | } | |
8665 | ||
8666 | ||
5eb8189c | 8667 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8668 | PyObject *resultobj = 0; |
5eb8189c | 8669 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8670 | wxEvent *result = 0 ; |
8671 | void *argp1 = 0 ; | |
8672 | int res1 = 0 ; | |
8673 | PyObject *swig_obj[1] ; | |
8674 | ||
8675 | if (!args) SWIG_fail; | |
8676 | swig_obj[0] = args; | |
5eb8189c | 8677 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8678 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8680 | } |
5eb8189c | 8681 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8682 | { |
8683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8684 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8685 | wxPyEndAllowThreads(__tstate); |
8686 | if (PyErr_Occurred()) SWIG_fail; | |
8687 | } | |
8688 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8689 | return resultobj; | |
8690 | fail: | |
8691 | return NULL; | |
8692 | } | |
8693 | ||
8694 | ||
eccab1a7 RD |
8695 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8696 | PyObject *resultobj = 0; | |
8697 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8698 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
8699 | void *argp1 = 0 ; | |
8700 | int res1 = 0 ; | |
8701 | void *argp2 = 0 ; | |
8702 | int res2 = 0 ; | |
8703 | PyObject * obj0 = 0 ; | |
8704 | PyObject * obj1 = 0 ; | |
8705 | char * kwnames[] = { | |
8706 | (char *) "self",(char *) "mgr", NULL | |
8707 | }; | |
8708 | ||
8709 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
8710 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8711 | if (!SWIG_IsOK(res1)) { | |
8712 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
8713 | } | |
8714 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8715 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8716 | if (!SWIG_IsOK(res2)) { | |
8717 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
8718 | } | |
8719 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
8720 | { | |
8721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8722 | (arg1)->SetManager(arg2); | |
8723 | wxPyEndAllowThreads(__tstate); | |
8724 | if (PyErr_Occurred()) SWIG_fail; | |
8725 | } | |
8726 | resultobj = SWIG_Py_Void(); | |
8727 | return resultobj; | |
8728 | fail: | |
8729 | return NULL; | |
8730 | } | |
8731 | ||
8732 | ||
5eb8189c | 8733 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8734 | PyObject *resultobj = 0; |
5eb8189c RD |
8735 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8736 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8737 | void *argp1 = 0 ; |
8738 | int res1 = 0 ; | |
8739 | void *argp2 = 0 ; | |
8740 | int res2 = 0 ; | |
8741 | PyObject * obj0 = 0 ; | |
8742 | PyObject * obj1 = 0 ; | |
8743 | char * kwnames[] = { | |
8744 | (char *) "self",(char *) "p", NULL | |
8745 | }; | |
8746 | ||
5eb8189c RD |
8747 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8748 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8749 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8750 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8751 | } |
5eb8189c RD |
8752 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8753 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8754 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8755 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8756 | } |
5eb8189c | 8757 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8758 | { |
8759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8760 | (arg1)->SetPane(arg2); | |
8761 | wxPyEndAllowThreads(__tstate); | |
8762 | if (PyErr_Occurred()) SWIG_fail; | |
8763 | } | |
8764 | resultobj = SWIG_Py_Void(); | |
8765 | return resultobj; | |
8766 | fail: | |
8767 | return NULL; | |
8768 | } | |
8769 | ||
8770 | ||
5eb8189c | 8771 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8772 | PyObject *resultobj = 0; |
5eb8189c | 8773 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8774 | int arg2 ; |
8775 | void *argp1 = 0 ; | |
8776 | int res1 = 0 ; | |
8777 | int val2 ; | |
8778 | int ecode2 = 0 ; | |
8779 | PyObject * obj0 = 0 ; | |
8780 | PyObject * obj1 = 0 ; | |
8781 | char * kwnames[] = { | |
8782 | (char *) "self",(char *) "b", NULL | |
8783 | }; | |
8784 | ||
5eb8189c RD |
8785 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8786 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8787 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8789 | } |
5eb8189c | 8790 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8791 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8792 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8793 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8794 | } |
8795 | arg2 = static_cast< int >(val2); | |
8796 | { | |
8797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8798 | (arg1)->SetButton(arg2); | |
8799 | wxPyEndAllowThreads(__tstate); | |
8800 | if (PyErr_Occurred()) SWIG_fail; | |
8801 | } | |
8802 | resultobj = SWIG_Py_Void(); | |
8803 | return resultobj; | |
8804 | fail: | |
8805 | return NULL; | |
8806 | } | |
8807 | ||
8808 | ||
5eb8189c | 8809 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1d5ee749 | 8810 | PyObject *resultobj = 0; |
5eb8189c | 8811 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
8812 | wxDC *arg2 = (wxDC *) 0 ; |
8813 | void *argp1 = 0 ; | |
8814 | int res1 = 0 ; | |
8815 | void *argp2 = 0 ; | |
8816 | int res2 = 0 ; | |
8817 | PyObject * obj0 = 0 ; | |
8818 | PyObject * obj1 = 0 ; | |
8819 | char * kwnames[] = { | |
8820 | (char *) "self",(char *) "pdc", NULL | |
8821 | }; | |
8822 | ||
5eb8189c RD |
8823 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8824 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
1d5ee749 | 8825 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 8827 | } |
5eb8189c | 8828 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
8829 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8830 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8831 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
1d5ee749 RD |
8832 | } |
8833 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8834 | { | |
8835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8836 | (arg1)->SetDC(arg2); | |
8837 | wxPyEndAllowThreads(__tstate); | |
8838 | if (PyErr_Occurred()) SWIG_fail; | |
8839 | } | |
8840 | resultobj = SWIG_Py_Void(); | |
8841 | return resultobj; | |
8842 | fail: | |
8843 | return NULL; | |
8844 | } | |
8845 | ||
8846 | ||
eccab1a7 RD |
8847 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8848 | PyObject *resultobj = 0; | |
8849 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8850 | wxAuiManager *result = 0 ; | |
8851 | void *argp1 = 0 ; | |
8852 | int res1 = 0 ; | |
8853 | PyObject *swig_obj[1] ; | |
8854 | ||
8855 | if (!args) SWIG_fail; | |
8856 | swig_obj[0] = args; | |
8857 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8858 | if (!SWIG_IsOK(res1)) { | |
8859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); | |
8860 | } | |
8861 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8862 | { | |
8863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8864 | result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager(); | |
8865 | wxPyEndAllowThreads(__tstate); | |
8866 | if (PyErr_Occurred()) SWIG_fail; | |
8867 | } | |
8868 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8869 | return resultobj; | |
8870 | fail: | |
8871 | return NULL; | |
8872 | } | |
8873 | ||
8874 | ||
5eb8189c | 8875 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8876 | PyObject *resultobj = 0; |
5eb8189c RD |
8877 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8878 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8879 | void *argp1 = 0 ; |
8880 | int res1 = 0 ; | |
8881 | PyObject *swig_obj[1] ; | |
8882 | ||
8883 | if (!args) SWIG_fail; | |
8884 | swig_obj[0] = args; | |
5eb8189c | 8885 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8886 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8888 | } |
5eb8189c | 8889 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8890 | { |
8891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8892 | result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane(); |
27e45892 RD |
8893 | wxPyEndAllowThreads(__tstate); |
8894 | if (PyErr_Occurred()) SWIG_fail; | |
8895 | } | |
5eb8189c | 8896 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8897 | return resultobj; |
8898 | fail: | |
8899 | return NULL; | |
8900 | } | |
8901 | ||
8902 | ||
5eb8189c | 8903 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8904 | PyObject *resultobj = 0; |
5eb8189c | 8905 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8906 | int result; |
8907 | void *argp1 = 0 ; | |
8908 | int res1 = 0 ; | |
8909 | PyObject *swig_obj[1] ; | |
8910 | ||
8911 | if (!args) SWIG_fail; | |
8912 | swig_obj[0] = args; | |
5eb8189c | 8913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8914 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8916 | } |
5eb8189c | 8917 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8918 | { |
8919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8920 | result = (int)((wxAuiManagerEvent const *)arg1)->GetButton(); |
27e45892 RD |
8921 | wxPyEndAllowThreads(__tstate); |
8922 | if (PyErr_Occurred()) SWIG_fail; | |
8923 | } | |
8924 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8925 | return resultobj; | |
8926 | fail: | |
8927 | return NULL; | |
8928 | } | |
8929 | ||
8930 | ||
5eb8189c | 8931 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1d5ee749 | 8932 | PyObject *resultobj = 0; |
5eb8189c | 8933 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
8934 | wxDC *result = 0 ; |
8935 | void *argp1 = 0 ; | |
8936 | int res1 = 0 ; | |
8937 | PyObject *swig_obj[1] ; | |
8938 | ||
8939 | if (!args) SWIG_fail; | |
8940 | swig_obj[0] = args; | |
5eb8189c | 8941 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
1d5ee749 | 8942 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
1d5ee749 | 8944 | } |
5eb8189c | 8945 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
8946 | { |
8947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8948 | result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC(); |
1d5ee749 RD |
8949 | wxPyEndAllowThreads(__tstate); |
8950 | if (PyErr_Occurred()) SWIG_fail; | |
8951 | } | |
8952 | { | |
8953 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8954 | } | |
8955 | return resultobj; | |
8956 | fail: | |
8957 | return NULL; | |
8958 | } | |
8959 | ||
8960 | ||
5eb8189c | 8961 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8962 | PyObject *resultobj = 0; |
5eb8189c | 8963 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8964 | bool arg2 = (bool) true ; |
8965 | void *argp1 = 0 ; | |
8966 | int res1 = 0 ; | |
8967 | bool val2 ; | |
8968 | int ecode2 = 0 ; | |
8969 | PyObject * obj0 = 0 ; | |
8970 | PyObject * obj1 = 0 ; | |
8971 | char * kwnames[] = { | |
8972 | (char *) "self",(char *) "veto", NULL | |
8973 | }; | |
8974 | ||
5eb8189c RD |
8975 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8976 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8977 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8978 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8979 | } |
5eb8189c | 8980 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8981 | if (obj1) { |
8982 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8983 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8984 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8985 | } |
8986 | arg2 = static_cast< bool >(val2); | |
8987 | } | |
8988 | { | |
8989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8990 | (arg1)->Veto(arg2); | |
8991 | wxPyEndAllowThreads(__tstate); | |
8992 | if (PyErr_Occurred()) SWIG_fail; | |
8993 | } | |
8994 | resultobj = SWIG_Py_Void(); | |
8995 | return resultobj; | |
8996 | fail: | |
8997 | return NULL; | |
8998 | } | |
8999 | ||
9000 | ||
5eb8189c | 9001 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9002 | PyObject *resultobj = 0; |
5eb8189c | 9003 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9004 | bool result; |
9005 | void *argp1 = 0 ; | |
9006 | int res1 = 0 ; | |
9007 | PyObject *swig_obj[1] ; | |
9008 | ||
9009 | if (!args) SWIG_fail; | |
9010 | swig_obj[0] = args; | |
5eb8189c | 9011 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9012 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9014 | } |
5eb8189c | 9015 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9016 | { |
9017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9018 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
9019 | wxPyEndAllowThreads(__tstate); |
9020 | if (PyErr_Occurred()) SWIG_fail; | |
9021 | } | |
9022 | { | |
9023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9024 | } | |
9025 | return resultobj; | |
9026 | fail: | |
9027 | return NULL; | |
9028 | } | |
9029 | ||
9030 | ||
5eb8189c | 9031 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 9032 | PyObject *resultobj = 0; |
5eb8189c | 9033 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9034 | bool arg2 ; |
9035 | void *argp1 = 0 ; | |
9036 | int res1 = 0 ; | |
9037 | bool val2 ; | |
9038 | int ecode2 = 0 ; | |
9039 | PyObject * obj0 = 0 ; | |
9040 | PyObject * obj1 = 0 ; | |
9041 | char * kwnames[] = { | |
9042 | (char *) "self",(char *) "can_veto", NULL | |
9043 | }; | |
9044 | ||
5eb8189c RD |
9045 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
9046 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9047 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9049 | } |
5eb8189c | 9050 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9051 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
9052 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9053 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9054 | } |
9055 | arg2 = static_cast< bool >(val2); | |
9056 | { | |
9057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9058 | (arg1)->SetCanVeto(arg2); | |
9059 | wxPyEndAllowThreads(__tstate); | |
9060 | if (PyErr_Occurred()) SWIG_fail; | |
9061 | } | |
9062 | resultobj = SWIG_Py_Void(); | |
9063 | return resultobj; | |
9064 | fail: | |
9065 | return NULL; | |
9066 | } | |
9067 | ||
9068 | ||
5eb8189c | 9069 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9070 | PyObject *resultobj = 0; |
5eb8189c | 9071 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9072 | bool result; |
9073 | void *argp1 = 0 ; | |
9074 | int res1 = 0 ; | |
9075 | PyObject *swig_obj[1] ; | |
9076 | ||
9077 | if (!args) SWIG_fail; | |
9078 | swig_obj[0] = args; | |
5eb8189c | 9079 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9080 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9082 | } |
5eb8189c | 9083 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9084 | { |
9085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9086 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
9087 | wxPyEndAllowThreads(__tstate); |
9088 | if (PyErr_Occurred()) SWIG_fail; | |
9089 | } | |
9090 | { | |
9091 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9092 | } | |
9093 | return resultobj; | |
9094 | fail: | |
9095 | return NULL; | |
9096 | } | |
9097 | ||
9098 | ||
eccab1a7 RD |
9099 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9100 | PyObject *resultobj = 0; | |
9101 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9102 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
9103 | void *argp1 = 0 ; | |
9104 | int res1 = 0 ; | |
9105 | void *argp2 = 0 ; | |
9106 | int res2 = 0 ; | |
9107 | PyObject *swig_obj[2] ; | |
9108 | ||
9109 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail; | |
9110 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9111 | if (!SWIG_IsOK(res1)) { | |
9112 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9113 | } | |
9114 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9115 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); | |
9116 | if (!SWIG_IsOK(res2)) { | |
9117 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
9118 | } | |
9119 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
9120 | if (arg1) (arg1)->manager = arg2; | |
9121 | ||
9122 | resultobj = SWIG_Py_Void(); | |
9123 | return resultobj; | |
9124 | fail: | |
9125 | return NULL; | |
9126 | } | |
9127 | ||
9128 | ||
9129 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9130 | PyObject *resultobj = 0; | |
9131 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9132 | wxAuiManager *result = 0 ; | |
9133 | void *argp1 = 0 ; | |
9134 | int res1 = 0 ; | |
9135 | PyObject *swig_obj[1] ; | |
9136 | ||
9137 | if (!args) SWIG_fail; | |
9138 | swig_obj[0] = args; | |
9139 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9140 | if (!SWIG_IsOK(res1)) { | |
9141 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9142 | } | |
9143 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9144 | result = (wxAuiManager *) ((arg1)->manager); | |
9145 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9146 | return resultobj; | |
9147 | fail: | |
9148 | return NULL; | |
9149 | } | |
9150 | ||
9151 | ||
5eb8189c | 9152 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9153 | PyObject *resultobj = 0; |
5eb8189c RD |
9154 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9155 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9156 | void *argp1 = 0 ; |
9157 | int res1 = 0 ; | |
9158 | void *argp2 = 0 ; | |
9159 | int res2 = 0 ; | |
9160 | PyObject *swig_obj[2] ; | |
9161 | ||
5eb8189c RD |
9162 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
9163 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9164 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9165 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9166 | } |
5eb8189c RD |
9167 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9168 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9169 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9170 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9171 | } |
5eb8189c | 9172 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9173 | if (arg1) (arg1)->pane = arg2; |
9174 | ||
9175 | resultobj = SWIG_Py_Void(); | |
9176 | return resultobj; | |
9177 | fail: | |
9178 | return NULL; | |
9179 | } | |
9180 | ||
9181 | ||
5eb8189c | 9182 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9183 | PyObject *resultobj = 0; |
5eb8189c RD |
9184 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9185 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9186 | void *argp1 = 0 ; |
9187 | int res1 = 0 ; | |
9188 | PyObject *swig_obj[1] ; | |
9189 | ||
9190 | if (!args) SWIG_fail; | |
9191 | swig_obj[0] = args; | |
5eb8189c | 9192 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9193 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9195 | } |
5eb8189c RD |
9196 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9197 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
9198 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
9199 | return resultobj; |
9200 | fail: | |
9201 | return NULL; | |
9202 | } | |
9203 | ||
9204 | ||
5eb8189c | 9205 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9206 | PyObject *resultobj = 0; |
5eb8189c | 9207 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9208 | int arg2 ; |
9209 | void *argp1 = 0 ; | |
9210 | int res1 = 0 ; | |
9211 | int val2 ; | |
9212 | int ecode2 = 0 ; | |
9213 | PyObject *swig_obj[2] ; | |
9214 | ||
5eb8189c RD |
9215 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
9216 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9217 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9218 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9219 | } |
5eb8189c | 9220 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9221 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9222 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9223 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9224 | } |
9225 | arg2 = static_cast< int >(val2); | |
9226 | if (arg1) (arg1)->button = arg2; | |
9227 | ||
9228 | resultobj = SWIG_Py_Void(); | |
9229 | return resultobj; | |
9230 | fail: | |
9231 | return NULL; | |
9232 | } | |
9233 | ||
9234 | ||
5eb8189c | 9235 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9236 | PyObject *resultobj = 0; |
5eb8189c | 9237 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9238 | int result; |
9239 | void *argp1 = 0 ; | |
9240 | int res1 = 0 ; | |
9241 | PyObject *swig_obj[1] ; | |
9242 | ||
9243 | if (!args) SWIG_fail; | |
9244 | swig_obj[0] = args; | |
5eb8189c | 9245 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9246 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9248 | } |
5eb8189c | 9249 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9250 | result = (int) ((arg1)->button); |
9251 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9252 | return resultobj; | |
9253 | fail: | |
9254 | return NULL; | |
9255 | } | |
9256 | ||
9257 | ||
5eb8189c | 9258 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9259 | PyObject *resultobj = 0; |
5eb8189c | 9260 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9261 | bool arg2 ; |
9262 | void *argp1 = 0 ; | |
9263 | int res1 = 0 ; | |
9264 | bool val2 ; | |
9265 | int ecode2 = 0 ; | |
9266 | PyObject *swig_obj[2] ; | |
9267 | ||
5eb8189c RD |
9268 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9269 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9270 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9271 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9272 | } |
5eb8189c | 9273 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9274 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9275 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9276 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9277 | } |
9278 | arg2 = static_cast< bool >(val2); | |
9279 | if (arg1) (arg1)->veto_flag = arg2; | |
9280 | ||
9281 | resultobj = SWIG_Py_Void(); | |
9282 | return resultobj; | |
9283 | fail: | |
9284 | return NULL; | |
9285 | } | |
9286 | ||
9287 | ||
5eb8189c | 9288 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9289 | PyObject *resultobj = 0; |
5eb8189c | 9290 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9291 | bool result; |
9292 | void *argp1 = 0 ; | |
9293 | int res1 = 0 ; | |
9294 | PyObject *swig_obj[1] ; | |
9295 | ||
9296 | if (!args) SWIG_fail; | |
9297 | swig_obj[0] = args; | |
5eb8189c | 9298 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9299 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9301 | } |
5eb8189c | 9302 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9303 | result = (bool) ((arg1)->veto_flag); |
9304 | { | |
9305 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9306 | } | |
9307 | return resultobj; | |
9308 | fail: | |
9309 | return NULL; | |
9310 | } | |
9311 | ||
9312 | ||
5eb8189c | 9313 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9314 | PyObject *resultobj = 0; |
5eb8189c | 9315 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9316 | bool arg2 ; |
9317 | void *argp1 = 0 ; | |
9318 | int res1 = 0 ; | |
9319 | bool val2 ; | |
9320 | int ecode2 = 0 ; | |
9321 | PyObject *swig_obj[2] ; | |
9322 | ||
5eb8189c RD |
9323 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9325 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9327 | } |
5eb8189c | 9328 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9329 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9330 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9331 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9332 | } |
9333 | arg2 = static_cast< bool >(val2); | |
9334 | if (arg1) (arg1)->canveto_flag = arg2; | |
9335 | ||
9336 | resultobj = SWIG_Py_Void(); | |
9337 | return resultobj; | |
9338 | fail: | |
9339 | return NULL; | |
9340 | } | |
9341 | ||
9342 | ||
5eb8189c | 9343 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9344 | PyObject *resultobj = 0; |
5eb8189c | 9345 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9346 | bool result; |
9347 | void *argp1 = 0 ; | |
9348 | int res1 = 0 ; | |
9349 | PyObject *swig_obj[1] ; | |
9350 | ||
9351 | if (!args) SWIG_fail; | |
9352 | swig_obj[0] = args; | |
5eb8189c | 9353 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9354 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9355 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9356 | } |
5eb8189c | 9357 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9358 | result = (bool) ((arg1)->canveto_flag); |
9359 | { | |
9360 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9361 | } | |
9362 | return resultobj; | |
9363 | fail: | |
9364 | return NULL; | |
9365 | } | |
9366 | ||
9367 | ||
5eb8189c | 9368 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1d5ee749 | 9369 | PyObject *resultobj = 0; |
5eb8189c | 9370 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
9371 | wxDC *arg2 = (wxDC *) 0 ; |
9372 | void *argp1 = 0 ; | |
9373 | int res1 = 0 ; | |
9374 | void *argp2 = 0 ; | |
9375 | int res2 = 0 ; | |
9376 | PyObject *swig_obj[2] ; | |
9377 | ||
5eb8189c RD |
9378 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9379 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
1d5ee749 | 9380 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9381 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 9382 | } |
5eb8189c | 9383 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
9384 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9385 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9386 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
1d5ee749 RD |
9387 | } |
9388 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9389 | if (arg1) (arg1)->dc = arg2; | |
9390 | ||
9391 | resultobj = SWIG_Py_Void(); | |
9392 | return resultobj; | |
9393 | fail: | |
9394 | return NULL; | |
9395 | } | |
9396 | ||
9397 | ||
5eb8189c | 9398 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1d5ee749 | 9399 | PyObject *resultobj = 0; |
5eb8189c | 9400 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
1d5ee749 RD |
9401 | wxDC *result = 0 ; |
9402 | void *argp1 = 0 ; | |
9403 | int res1 = 0 ; | |
9404 | PyObject *swig_obj[1] ; | |
9405 | ||
9406 | if (!args) SWIG_fail; | |
9407 | swig_obj[0] = args; | |
5eb8189c | 9408 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
1d5ee749 | 9409 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9410 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
1d5ee749 | 9411 | } |
5eb8189c | 9412 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
1d5ee749 RD |
9413 | result = (wxDC *) ((arg1)->dc); |
9414 | { | |
9415 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9416 | } | |
9417 | return resultobj; | |
9418 | fail: | |
9419 | return NULL; | |
9420 | } | |
9421 | ||
9422 | ||
5eb8189c | 9423 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9424 | PyObject *obj; |
9425 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9426 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9427 | return SWIG_Py_Void(); |
9428 | } | |
9429 | ||
5eb8189c | 9430 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9431 | return SWIG_Python_InitShadowInstance(args); |
9432 | } | |
9433 | ||
5eb8189c | 9434 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9435 | PyObject *resultobj = 0; |
5eb8189c | 9436 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9437 | |
5eb8189c | 9438 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9439 | { |
9440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9441 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9442 | wxPyEndAllowThreads(__tstate); |
9443 | if (PyErr_Occurred()) SWIG_fail; | |
9444 | } | |
5eb8189c | 9445 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9446 | return resultobj; |
9447 | fail: | |
9448 | return NULL; | |
9449 | } | |
9450 | ||
9451 | ||
5eb8189c | 9452 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9453 | PyObject *resultobj = 0; |
5eb8189c | 9454 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9455 | bool result; |
9456 | void *argp1 = 0 ; | |
9457 | int res1 = 0 ; | |
9458 | PyObject *swig_obj[1] ; | |
9459 | ||
9460 | if (!args) SWIG_fail; | |
9461 | swig_obj[0] = args; | |
5eb8189c | 9462 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9463 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9464 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9465 | } |
5eb8189c | 9466 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9467 | { |
9468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9469 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9470 | wxPyEndAllowThreads(__tstate); |
9471 | if (PyErr_Occurred()) SWIG_fail; | |
9472 | } | |
9473 | { | |
9474 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9475 | } | |
9476 | return resultobj; | |
9477 | fail: | |
9478 | return NULL; | |
9479 | } | |
9480 | ||
9481 | ||
5eb8189c | 9482 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9483 | PyObject *resultobj = 0; |
5eb8189c | 9484 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9485 | bool result; |
9486 | void *argp1 = 0 ; | |
9487 | int res1 = 0 ; | |
9488 | PyObject *swig_obj[1] ; | |
9489 | ||
9490 | if (!args) SWIG_fail; | |
9491 | swig_obj[0] = args; | |
5eb8189c | 9492 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9493 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9495 | } |
5eb8189c | 9496 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9497 | { |
9498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9499 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9500 | wxPyEndAllowThreads(__tstate); |
9501 | if (PyErr_Occurred()) SWIG_fail; | |
9502 | } | |
9503 | { | |
9504 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9505 | } | |
9506 | return resultobj; | |
9507 | fail: | |
9508 | return NULL; | |
9509 | } | |
9510 | ||
9511 | ||
5eb8189c | 9512 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9513 | PyObject *resultobj = 0; |
5eb8189c | 9514 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9515 | bool result; |
9516 | void *argp1 = 0 ; | |
9517 | int res1 = 0 ; | |
9518 | PyObject *swig_obj[1] ; | |
9519 | ||
9520 | if (!args) SWIG_fail; | |
9521 | swig_obj[0] = args; | |
5eb8189c | 9522 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9523 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9525 | } |
5eb8189c | 9526 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9527 | { |
9528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9529 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9530 | wxPyEndAllowThreads(__tstate); |
9531 | if (PyErr_Occurred()) SWIG_fail; | |
9532 | } | |
9533 | { | |
9534 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9535 | } | |
9536 | return resultobj; | |
9537 | fail: | |
9538 | return NULL; | |
9539 | } | |
9540 | ||
9541 | ||
5eb8189c | 9542 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9543 | PyObject *resultobj = 0; |
5eb8189c RD |
9544 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9545 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9546 | void *argp1 = 0 ; |
9547 | int res1 = 0 ; | |
9548 | void *argp2 ; | |
9549 | int res2 = 0 ; | |
9550 | PyObject *swig_obj[2] ; | |
9551 | ||
5eb8189c RD |
9552 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9554 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9556 | } |
5eb8189c | 9557 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9558 | { |
5eb8189c | 9559 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9560 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9561 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9562 | } |
9563 | if (!argp2) { | |
5eb8189c | 9564 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9565 | } else { |
5eb8189c | 9566 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9567 | arg2 = *temp; |
9568 | if (SWIG_IsNewObj(res2)) delete temp; | |
9569 | } | |
9570 | } | |
9571 | if (arg1) (arg1)->panes = arg2; | |
9572 | ||
9573 | resultobj = SWIG_Py_Void(); | |
9574 | return resultobj; | |
9575 | fail: | |
9576 | return NULL; | |
9577 | } | |
9578 | ||
9579 | ||
5eb8189c | 9580 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9581 | PyObject *resultobj = 0; |
5eb8189c RD |
9582 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9583 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9584 | void *argp1 = 0 ; |
9585 | int res1 = 0 ; | |
9586 | PyObject *swig_obj[1] ; | |
9587 | ||
9588 | if (!args) SWIG_fail; | |
9589 | swig_obj[0] = args; | |
5eb8189c | 9590 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9591 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9593 | } |
5eb8189c | 9594 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9595 | result = ((arg1)->panes); |
5eb8189c | 9596 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9597 | return resultobj; |
9598 | fail: | |
9599 | return NULL; | |
9600 | } | |
9601 | ||
9602 | ||
5eb8189c | 9603 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9604 | PyObject *resultobj = 0; |
5eb8189c | 9605 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9606 | wxRect *arg2 = (wxRect *) 0 ; |
9607 | void *argp1 = 0 ; | |
9608 | int res1 = 0 ; | |
9609 | void *argp2 = 0 ; | |
9610 | int res2 = 0 ; | |
9611 | PyObject *swig_obj[2] ; | |
9612 | ||
5eb8189c RD |
9613 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9614 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9615 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9616 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9617 | } |
5eb8189c | 9618 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9619 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9620 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9621 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9622 | } |
9623 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9624 | if (arg1) (arg1)->rect = *arg2; | |
9625 | ||
9626 | resultobj = SWIG_Py_Void(); | |
9627 | return resultobj; | |
9628 | fail: | |
9629 | return NULL; | |
9630 | } | |
9631 | ||
9632 | ||
5eb8189c | 9633 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9634 | PyObject *resultobj = 0; |
5eb8189c | 9635 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9636 | wxRect *result = 0 ; |
9637 | void *argp1 = 0 ; | |
9638 | int res1 = 0 ; | |
9639 | PyObject *swig_obj[1] ; | |
9640 | ||
9641 | if (!args) SWIG_fail; | |
9642 | swig_obj[0] = args; | |
5eb8189c | 9643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9644 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9646 | } |
5eb8189c | 9647 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9648 | result = (wxRect *)& ((arg1)->rect); |
9649 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9650 | return resultobj; | |
9651 | fail: | |
9652 | return NULL; | |
9653 | } | |
9654 | ||
9655 | ||
5eb8189c | 9656 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9657 | PyObject *resultobj = 0; |
5eb8189c | 9658 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9659 | int arg2 ; |
9660 | void *argp1 = 0 ; | |
9661 | int res1 = 0 ; | |
9662 | int val2 ; | |
9663 | int ecode2 = 0 ; | |
9664 | PyObject *swig_obj[2] ; | |
9665 | ||
5eb8189c RD |
9666 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9667 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9668 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9669 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9670 | } |
5eb8189c | 9671 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9672 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9673 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9674 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9675 | } |
9676 | arg2 = static_cast< int >(val2); | |
9677 | if (arg1) (arg1)->dock_direction = arg2; | |
9678 | ||
9679 | resultobj = SWIG_Py_Void(); | |
9680 | return resultobj; | |
9681 | fail: | |
9682 | return NULL; | |
9683 | } | |
9684 | ||
9685 | ||
5eb8189c | 9686 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9687 | PyObject *resultobj = 0; |
5eb8189c | 9688 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9689 | int result; |
9690 | void *argp1 = 0 ; | |
9691 | int res1 = 0 ; | |
9692 | PyObject *swig_obj[1] ; | |
9693 | ||
9694 | if (!args) SWIG_fail; | |
9695 | swig_obj[0] = args; | |
5eb8189c | 9696 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9697 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9699 | } |
5eb8189c | 9700 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9701 | result = (int) ((arg1)->dock_direction); |
9702 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9703 | return resultobj; | |
9704 | fail: | |
9705 | return NULL; | |
9706 | } | |
9707 | ||
9708 | ||
5eb8189c | 9709 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9710 | PyObject *resultobj = 0; |
5eb8189c | 9711 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9712 | int arg2 ; |
9713 | void *argp1 = 0 ; | |
9714 | int res1 = 0 ; | |
9715 | int val2 ; | |
9716 | int ecode2 = 0 ; | |
9717 | PyObject *swig_obj[2] ; | |
9718 | ||
5eb8189c RD |
9719 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9720 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9721 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9722 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9723 | } |
5eb8189c | 9724 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9725 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9726 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9727 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9728 | } |
9729 | arg2 = static_cast< int >(val2); | |
9730 | if (arg1) (arg1)->dock_layer = arg2; | |
9731 | ||
9732 | resultobj = SWIG_Py_Void(); | |
9733 | return resultobj; | |
9734 | fail: | |
9735 | return NULL; | |
9736 | } | |
9737 | ||
9738 | ||
5eb8189c | 9739 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9740 | PyObject *resultobj = 0; |
5eb8189c | 9741 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9742 | int result; |
9743 | void *argp1 = 0 ; | |
9744 | int res1 = 0 ; | |
9745 | PyObject *swig_obj[1] ; | |
9746 | ||
9747 | if (!args) SWIG_fail; | |
9748 | swig_obj[0] = args; | |
5eb8189c | 9749 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9752 | } |
5eb8189c | 9753 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9754 | result = (int) ((arg1)->dock_layer); |
9755 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9756 | return resultobj; | |
9757 | fail: | |
9758 | return NULL; | |
9759 | } | |
9760 | ||
9761 | ||
5eb8189c | 9762 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9763 | PyObject *resultobj = 0; |
5eb8189c | 9764 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9765 | int arg2 ; |
9766 | void *argp1 = 0 ; | |
9767 | int res1 = 0 ; | |
9768 | int val2 ; | |
9769 | int ecode2 = 0 ; | |
9770 | PyObject *swig_obj[2] ; | |
9771 | ||
5eb8189c RD |
9772 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9773 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9774 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9775 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9776 | } |
5eb8189c | 9777 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9778 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9779 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9780 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9781 | } |
9782 | arg2 = static_cast< int >(val2); | |
9783 | if (arg1) (arg1)->dock_row = arg2; | |
9784 | ||
9785 | resultobj = SWIG_Py_Void(); | |
9786 | return resultobj; | |
9787 | fail: | |
9788 | return NULL; | |
9789 | } | |
9790 | ||
9791 | ||
5eb8189c | 9792 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9793 | PyObject *resultobj = 0; |
5eb8189c | 9794 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9795 | int result; |
9796 | void *argp1 = 0 ; | |
9797 | int res1 = 0 ; | |
9798 | PyObject *swig_obj[1] ; | |
9799 | ||
9800 | if (!args) SWIG_fail; | |
9801 | swig_obj[0] = args; | |
5eb8189c | 9802 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9803 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9804 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9805 | } |
5eb8189c | 9806 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9807 | result = (int) ((arg1)->dock_row); |
9808 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9809 | return resultobj; | |
9810 | fail: | |
9811 | return NULL; | |
9812 | } | |
9813 | ||
9814 | ||
5eb8189c | 9815 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9816 | PyObject *resultobj = 0; |
5eb8189c | 9817 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9818 | int arg2 ; |
9819 | void *argp1 = 0 ; | |
9820 | int res1 = 0 ; | |
9821 | int val2 ; | |
9822 | int ecode2 = 0 ; | |
9823 | PyObject *swig_obj[2] ; | |
9824 | ||
5eb8189c RD |
9825 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9826 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9827 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9829 | } |
5eb8189c | 9830 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9831 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9832 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9833 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9834 | } |
9835 | arg2 = static_cast< int >(val2); | |
9836 | if (arg1) (arg1)->size = arg2; | |
9837 | ||
9838 | resultobj = SWIG_Py_Void(); | |
9839 | return resultobj; | |
9840 | fail: | |
9841 | return NULL; | |
9842 | } | |
9843 | ||
9844 | ||
5eb8189c | 9845 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9846 | PyObject *resultobj = 0; |
5eb8189c | 9847 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9848 | int result; |
9849 | void *argp1 = 0 ; | |
9850 | int res1 = 0 ; | |
9851 | PyObject *swig_obj[1] ; | |
9852 | ||
9853 | if (!args) SWIG_fail; | |
9854 | swig_obj[0] = args; | |
5eb8189c | 9855 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9856 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9858 | } |
5eb8189c | 9859 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9860 | result = (int) ((arg1)->size); |
9861 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9862 | return resultobj; | |
9863 | fail: | |
9864 | return NULL; | |
9865 | } | |
9866 | ||
9867 | ||
5eb8189c | 9868 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9869 | PyObject *resultobj = 0; |
5eb8189c | 9870 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9871 | int arg2 ; |
9872 | void *argp1 = 0 ; | |
9873 | int res1 = 0 ; | |
9874 | int val2 ; | |
9875 | int ecode2 = 0 ; | |
9876 | PyObject *swig_obj[2] ; | |
9877 | ||
5eb8189c RD |
9878 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9879 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9880 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9881 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9882 | } |
5eb8189c | 9883 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9884 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9885 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9886 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9887 | } |
9888 | arg2 = static_cast< int >(val2); | |
9889 | if (arg1) (arg1)->min_size = arg2; | |
9890 | ||
9891 | resultobj = SWIG_Py_Void(); | |
9892 | return resultobj; | |
9893 | fail: | |
9894 | return NULL; | |
9895 | } | |
9896 | ||
9897 | ||
5eb8189c | 9898 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9899 | PyObject *resultobj = 0; |
5eb8189c | 9900 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9901 | int result; |
9902 | void *argp1 = 0 ; | |
9903 | int res1 = 0 ; | |
9904 | PyObject *swig_obj[1] ; | |
9905 | ||
9906 | if (!args) SWIG_fail; | |
9907 | swig_obj[0] = args; | |
5eb8189c | 9908 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9909 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9911 | } |
5eb8189c | 9912 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9913 | result = (int) ((arg1)->min_size); |
9914 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9915 | return resultobj; | |
9916 | fail: | |
9917 | return NULL; | |
9918 | } | |
9919 | ||
9920 | ||
5eb8189c | 9921 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9922 | PyObject *resultobj = 0; |
5eb8189c | 9923 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9924 | bool arg2 ; |
9925 | void *argp1 = 0 ; | |
9926 | int res1 = 0 ; | |
9927 | bool val2 ; | |
9928 | int ecode2 = 0 ; | |
9929 | PyObject *swig_obj[2] ; | |
9930 | ||
5eb8189c RD |
9931 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9932 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9933 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9934 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9935 | } |
5eb8189c | 9936 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9937 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9938 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9939 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9940 | } |
9941 | arg2 = static_cast< bool >(val2); | |
9942 | if (arg1) (arg1)->resizable = arg2; | |
9943 | ||
9944 | resultobj = SWIG_Py_Void(); | |
9945 | return resultobj; | |
9946 | fail: | |
9947 | return NULL; | |
9948 | } | |
9949 | ||
9950 | ||
5eb8189c | 9951 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9952 | PyObject *resultobj = 0; |
5eb8189c | 9953 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9954 | bool result; |
9955 | void *argp1 = 0 ; | |
9956 | int res1 = 0 ; | |
9957 | PyObject *swig_obj[1] ; | |
9958 | ||
9959 | if (!args) SWIG_fail; | |
9960 | swig_obj[0] = args; | |
5eb8189c | 9961 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9962 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9964 | } |
5eb8189c | 9965 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9966 | result = (bool) ((arg1)->resizable); |
9967 | { | |
9968 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9969 | } | |
9970 | return resultobj; | |
9971 | fail: | |
9972 | return NULL; | |
9973 | } | |
9974 | ||
9975 | ||
5eb8189c | 9976 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9977 | PyObject *resultobj = 0; |
5eb8189c | 9978 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9979 | bool arg2 ; |
9980 | void *argp1 = 0 ; | |
9981 | int res1 = 0 ; | |
9982 | bool val2 ; | |
9983 | int ecode2 = 0 ; | |
9984 | PyObject *swig_obj[2] ; | |
9985 | ||
5eb8189c RD |
9986 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9987 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9988 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9990 | } |
5eb8189c | 9991 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9992 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9993 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9994 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9995 | } |
9996 | arg2 = static_cast< bool >(val2); | |
9997 | if (arg1) (arg1)->toolbar = arg2; | |
9998 | ||
9999 | resultobj = SWIG_Py_Void(); | |
10000 | return resultobj; | |
10001 | fail: | |
10002 | return NULL; | |
10003 | } | |
10004 | ||
10005 | ||
5eb8189c | 10006 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10007 | PyObject *resultobj = 0; |
5eb8189c | 10008 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10009 | bool result; |
10010 | void *argp1 = 0 ; | |
10011 | int res1 = 0 ; | |
10012 | PyObject *swig_obj[1] ; | |
10013 | ||
10014 | if (!args) SWIG_fail; | |
10015 | swig_obj[0] = args; | |
5eb8189c | 10016 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10017 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10018 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10019 | } |
5eb8189c | 10020 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10021 | result = (bool) ((arg1)->toolbar); |
10022 | { | |
10023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10024 | } | |
10025 | return resultobj; | |
10026 | fail: | |
10027 | return NULL; | |
10028 | } | |
10029 | ||
10030 | ||
5eb8189c | 10031 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10032 | PyObject *resultobj = 0; |
5eb8189c | 10033 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10034 | bool arg2 ; |
10035 | void *argp1 = 0 ; | |
10036 | int res1 = 0 ; | |
10037 | bool val2 ; | |
10038 | int ecode2 = 0 ; | |
10039 | PyObject *swig_obj[2] ; | |
10040 | ||
5eb8189c RD |
10041 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
10042 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10043 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10044 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10045 | } |
5eb8189c | 10046 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10047 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10048 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10049 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10050 | } |
10051 | arg2 = static_cast< bool >(val2); | |
10052 | if (arg1) (arg1)->fixed = arg2; | |
10053 | ||
10054 | resultobj = SWIG_Py_Void(); | |
10055 | return resultobj; | |
10056 | fail: | |
10057 | return NULL; | |
10058 | } | |
10059 | ||
10060 | ||
5eb8189c | 10061 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10062 | PyObject *resultobj = 0; |
5eb8189c | 10063 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10064 | bool result; |
10065 | void *argp1 = 0 ; | |
10066 | int res1 = 0 ; | |
10067 | PyObject *swig_obj[1] ; | |
10068 | ||
10069 | if (!args) SWIG_fail; | |
10070 | swig_obj[0] = args; | |
5eb8189c | 10071 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10072 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10073 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10074 | } |
5eb8189c | 10075 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10076 | result = (bool) ((arg1)->fixed); |
10077 | { | |
10078 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10079 | } | |
10080 | return resultobj; | |
10081 | fail: | |
10082 | return NULL; | |
10083 | } | |
10084 | ||
10085 | ||
5eb8189c | 10086 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10087 | PyObject *resultobj = 0; |
5eb8189c | 10088 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
10089 | void *argp1 = 0 ; |
10090 | int res1 = 0 ; | |
10091 | PyObject *swig_obj[1] ; | |
10092 | ||
10093 | if (!args) SWIG_fail; | |
10094 | swig_obj[0] = args; | |
5eb8189c | 10095 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10096 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10097 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 10098 | } |
5eb8189c | 10099 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
10100 | { |
10101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10102 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
10103 | |
10104 | wxPyEndAllowThreads(__tstate); | |
10105 | if (PyErr_Occurred()) SWIG_fail; | |
10106 | } | |
10107 | resultobj = SWIG_Py_Void(); | |
10108 | return resultobj; | |
10109 | fail: | |
10110 | return NULL; | |
10111 | } | |
10112 | ||
10113 | ||
5eb8189c | 10114 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10115 | PyObject *obj; |
10116 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10117 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
10118 | return SWIG_Py_Void(); |
10119 | } | |
10120 | ||
5eb8189c | 10121 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10122 | return SWIG_Python_InitShadowInstance(args); |
10123 | } | |
10124 | ||
5eb8189c | 10125 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10126 | PyObject *resultobj = 0; |
5eb8189c | 10127 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10128 | int arg2 ; |
10129 | void *argp1 = 0 ; | |
10130 | int res1 = 0 ; | |
10131 | int val2 ; | |
10132 | int ecode2 = 0 ; | |
10133 | PyObject *swig_obj[2] ; | |
10134 | ||
5eb8189c RD |
10135 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
10136 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10137 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10138 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10139 | } |
5eb8189c | 10140 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10141 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10142 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10143 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10144 | } |
10145 | arg2 = static_cast< int >(val2); | |
10146 | if (arg1) (arg1)->type = arg2; | |
10147 | ||
10148 | resultobj = SWIG_Py_Void(); | |
10149 | return resultobj; | |
10150 | fail: | |
10151 | return NULL; | |
10152 | } | |
10153 | ||
10154 | ||
5eb8189c | 10155 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10156 | PyObject *resultobj = 0; |
5eb8189c | 10157 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10158 | int result; |
10159 | void *argp1 = 0 ; | |
10160 | int res1 = 0 ; | |
10161 | PyObject *swig_obj[1] ; | |
10162 | ||
10163 | if (!args) SWIG_fail; | |
10164 | swig_obj[0] = args; | |
5eb8189c | 10165 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10166 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10168 | } |
5eb8189c | 10169 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10170 | result = (int) ((arg1)->type); |
10171 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10172 | return resultobj; | |
10173 | fail: | |
10174 | return NULL; | |
10175 | } | |
10176 | ||
10177 | ||
5eb8189c | 10178 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10179 | PyObject *resultobj = 0; |
5eb8189c | 10180 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10181 | int arg2 ; |
10182 | void *argp1 = 0 ; | |
10183 | int res1 = 0 ; | |
10184 | int val2 ; | |
10185 | int ecode2 = 0 ; | |
10186 | PyObject *swig_obj[2] ; | |
10187 | ||
5eb8189c RD |
10188 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
10189 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10190 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10192 | } |
5eb8189c | 10193 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10194 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10195 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10196 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10197 | } |
10198 | arg2 = static_cast< int >(val2); | |
10199 | if (arg1) (arg1)->orientation = arg2; | |
10200 | ||
10201 | resultobj = SWIG_Py_Void(); | |
10202 | return resultobj; | |
10203 | fail: | |
10204 | return NULL; | |
10205 | } | |
10206 | ||
10207 | ||
5eb8189c | 10208 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10209 | PyObject *resultobj = 0; |
5eb8189c | 10210 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10211 | int result; |
10212 | void *argp1 = 0 ; | |
10213 | int res1 = 0 ; | |
10214 | PyObject *swig_obj[1] ; | |
10215 | ||
10216 | if (!args) SWIG_fail; | |
10217 | swig_obj[0] = args; | |
5eb8189c | 10218 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10219 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10221 | } |
5eb8189c | 10222 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10223 | result = (int) ((arg1)->orientation); |
10224 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10225 | return resultobj; | |
10226 | fail: | |
10227 | return NULL; | |
10228 | } | |
10229 | ||
10230 | ||
5eb8189c | 10231 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10232 | PyObject *resultobj = 0; |
5eb8189c RD |
10233 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10234 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10235 | void *argp1 = 0 ; |
10236 | int res1 = 0 ; | |
10237 | void *argp2 = 0 ; | |
10238 | int res2 = 0 ; | |
10239 | PyObject *swig_obj[2] ; | |
10240 | ||
5eb8189c RD |
10241 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10242 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10243 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10244 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10245 | } |
5eb8189c RD |
10246 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10247 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10248 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10249 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10250 | } |
5eb8189c | 10251 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10252 | if (arg1) (arg1)->dock = arg2; |
10253 | ||
10254 | resultobj = SWIG_Py_Void(); | |
10255 | return resultobj; | |
10256 | fail: | |
10257 | return NULL; | |
10258 | } | |
10259 | ||
10260 | ||
5eb8189c | 10261 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10262 | PyObject *resultobj = 0; |
5eb8189c RD |
10263 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10264 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10265 | void *argp1 = 0 ; |
10266 | int res1 = 0 ; | |
10267 | PyObject *swig_obj[1] ; | |
10268 | ||
10269 | if (!args) SWIG_fail; | |
10270 | swig_obj[0] = args; | |
5eb8189c | 10271 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10272 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10274 | } |
5eb8189c RD |
10275 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10276 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10277 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10278 | return resultobj; |
10279 | fail: | |
10280 | return NULL; | |
10281 | } | |
10282 | ||
10283 | ||
5eb8189c | 10284 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10285 | PyObject *resultobj = 0; |
5eb8189c RD |
10286 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10287 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10288 | void *argp1 = 0 ; |
10289 | int res1 = 0 ; | |
10290 | void *argp2 = 0 ; | |
10291 | int res2 = 0 ; | |
10292 | PyObject *swig_obj[2] ; | |
10293 | ||
5eb8189c RD |
10294 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10295 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10296 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10297 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10298 | } |
5eb8189c RD |
10299 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10300 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10301 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10302 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10303 | } |
5eb8189c | 10304 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10305 | if (arg1) (arg1)->pane = arg2; |
10306 | ||
10307 | resultobj = SWIG_Py_Void(); | |
10308 | return resultobj; | |
10309 | fail: | |
10310 | return NULL; | |
10311 | } | |
10312 | ||
10313 | ||
5eb8189c | 10314 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10315 | PyObject *resultobj = 0; |
5eb8189c RD |
10316 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10317 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10318 | void *argp1 = 0 ; |
10319 | int res1 = 0 ; | |
10320 | PyObject *swig_obj[1] ; | |
10321 | ||
10322 | if (!args) SWIG_fail; | |
10323 | swig_obj[0] = args; | |
5eb8189c | 10324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10325 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10327 | } |
5eb8189c RD |
10328 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10329 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10330 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10331 | return resultobj; |
10332 | fail: | |
10333 | return NULL; | |
10334 | } | |
10335 | ||
10336 | ||
5eb8189c | 10337 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10338 | PyObject *resultobj = 0; |
5eb8189c RD |
10339 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10340 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10341 | void *argp1 = 0 ; |
10342 | int res1 = 0 ; | |
10343 | void *argp2 = 0 ; | |
10344 | int res2 = 0 ; | |
10345 | PyObject *swig_obj[2] ; | |
10346 | ||
5eb8189c RD |
10347 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10348 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10349 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10351 | } |
5eb8189c RD |
10352 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10353 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10354 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10355 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10356 | } |
5eb8189c | 10357 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10358 | if (arg1) (arg1)->button = arg2; |
10359 | ||
10360 | resultobj = SWIG_Py_Void(); | |
10361 | return resultobj; | |
10362 | fail: | |
10363 | return NULL; | |
10364 | } | |
10365 | ||
10366 | ||
5eb8189c | 10367 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10368 | PyObject *resultobj = 0; |
5eb8189c RD |
10369 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10370 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10371 | void *argp1 = 0 ; |
10372 | int res1 = 0 ; | |
10373 | PyObject *swig_obj[1] ; | |
10374 | ||
10375 | if (!args) SWIG_fail; | |
10376 | swig_obj[0] = args; | |
5eb8189c | 10377 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10378 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10379 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10380 | } |
5eb8189c RD |
10381 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10382 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10383 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10384 | return resultobj; |
10385 | fail: | |
10386 | return NULL; | |
10387 | } | |
10388 | ||
10389 | ||
5eb8189c | 10390 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10391 | PyObject *resultobj = 0; |
5eb8189c | 10392 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10393 | wxSizer *arg2 = (wxSizer *) 0 ; |
10394 | void *argp1 = 0 ; | |
10395 | int res1 = 0 ; | |
10396 | void *argp2 = 0 ; | |
10397 | int res2 = 0 ; | |
10398 | PyObject *swig_obj[2] ; | |
10399 | ||
5eb8189c RD |
10400 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10402 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10404 | } |
5eb8189c | 10405 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10406 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10407 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10408 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10409 | } |
10410 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10411 | if (arg1) (arg1)->cont_sizer = arg2; | |
10412 | ||
10413 | resultobj = SWIG_Py_Void(); | |
10414 | return resultobj; | |
10415 | fail: | |
10416 | return NULL; | |
10417 | } | |
10418 | ||
10419 | ||
5eb8189c | 10420 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10421 | PyObject *resultobj = 0; |
5eb8189c | 10422 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10423 | wxSizer *result = 0 ; |
10424 | void *argp1 = 0 ; | |
10425 | int res1 = 0 ; | |
10426 | PyObject *swig_obj[1] ; | |
10427 | ||
10428 | if (!args) SWIG_fail; | |
10429 | swig_obj[0] = args; | |
5eb8189c | 10430 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10431 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10433 | } |
5eb8189c | 10434 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10435 | result = (wxSizer *) ((arg1)->cont_sizer); |
10436 | { | |
10437 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10438 | } | |
10439 | return resultobj; | |
10440 | fail: | |
10441 | return NULL; | |
10442 | } | |
10443 | ||
10444 | ||
5eb8189c | 10445 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10446 | PyObject *resultobj = 0; |
5eb8189c | 10447 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10448 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10449 | void *argp1 = 0 ; | |
10450 | int res1 = 0 ; | |
10451 | void *argp2 = 0 ; | |
10452 | int res2 = 0 ; | |
10453 | PyObject *swig_obj[2] ; | |
10454 | ||
5eb8189c RD |
10455 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10456 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10457 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10459 | } |
5eb8189c | 10460 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10461 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10462 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10463 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10464 | } |
10465 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10466 | if (arg1) (arg1)->sizer_item = arg2; | |
10467 | ||
10468 | resultobj = SWIG_Py_Void(); | |
10469 | return resultobj; | |
10470 | fail: | |
10471 | return NULL; | |
10472 | } | |
10473 | ||
10474 | ||
5eb8189c | 10475 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10476 | PyObject *resultobj = 0; |
5eb8189c | 10477 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10478 | wxSizerItem *result = 0 ; |
10479 | void *argp1 = 0 ; | |
10480 | int res1 = 0 ; | |
10481 | PyObject *swig_obj[1] ; | |
10482 | ||
10483 | if (!args) SWIG_fail; | |
10484 | swig_obj[0] = args; | |
5eb8189c | 10485 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10486 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10487 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10488 | } |
5eb8189c | 10489 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10490 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10491 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10492 | return resultobj; | |
10493 | fail: | |
10494 | return NULL; | |
10495 | } | |
10496 | ||
10497 | ||
5eb8189c | 10498 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10499 | PyObject *resultobj = 0; |
5eb8189c | 10500 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10501 | wxRect *arg2 = (wxRect *) 0 ; |
10502 | void *argp1 = 0 ; | |
10503 | int res1 = 0 ; | |
10504 | void *argp2 = 0 ; | |
10505 | int res2 = 0 ; | |
10506 | PyObject *swig_obj[2] ; | |
10507 | ||
5eb8189c RD |
10508 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10509 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10510 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10511 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10512 | } |
5eb8189c | 10513 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10514 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10515 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10516 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10517 | } |
10518 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10519 | if (arg1) (arg1)->rect = *arg2; | |
10520 | ||
10521 | resultobj = SWIG_Py_Void(); | |
10522 | return resultobj; | |
10523 | fail: | |
10524 | return NULL; | |
10525 | } | |
10526 | ||
10527 | ||
5eb8189c | 10528 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10529 | PyObject *resultobj = 0; |
5eb8189c | 10530 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10531 | wxRect *result = 0 ; |
10532 | void *argp1 = 0 ; | |
10533 | int res1 = 0 ; | |
10534 | PyObject *swig_obj[1] ; | |
10535 | ||
10536 | if (!args) SWIG_fail; | |
10537 | swig_obj[0] = args; | |
5eb8189c | 10538 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10539 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10540 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10541 | } |
5eb8189c | 10542 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10543 | result = (wxRect *)& ((arg1)->rect); |
10544 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10545 | return resultobj; | |
10546 | fail: | |
10547 | return NULL; | |
10548 | } | |
10549 | ||
10550 | ||
5eb8189c | 10551 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10552 | PyObject *resultobj = 0; |
5eb8189c | 10553 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10554 | void *argp1 = 0 ; |
10555 | int res1 = 0 ; | |
10556 | PyObject *swig_obj[1] ; | |
10557 | ||
10558 | if (!args) SWIG_fail; | |
10559 | swig_obj[0] = args; | |
5eb8189c | 10560 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10561 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10562 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10563 | } |
5eb8189c | 10564 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10565 | { |
10566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10567 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10568 | |
10569 | wxPyEndAllowThreads(__tstate); | |
10570 | if (PyErr_Occurred()) SWIG_fail; | |
10571 | } | |
10572 | resultobj = SWIG_Py_Void(); | |
10573 | return resultobj; | |
10574 | fail: | |
10575 | return NULL; | |
10576 | } | |
10577 | ||
10578 | ||
5eb8189c | 10579 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10580 | PyObject *obj; |
10581 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10582 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10583 | return SWIG_Py_Void(); |
10584 | } | |
10585 | ||
5eb8189c | 10586 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10587 | PyObject *resultobj = 0; |
5eb8189c | 10588 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10589 | int arg2 ; |
10590 | void *argp1 = 0 ; | |
10591 | int res1 = 0 ; | |
10592 | int val2 ; | |
10593 | int ecode2 = 0 ; | |
10594 | PyObject *swig_obj[2] ; | |
10595 | ||
5eb8189c RD |
10596 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10597 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10598 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10599 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10600 | } |
5eb8189c | 10601 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10602 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10603 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10604 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10605 | } |
10606 | arg2 = static_cast< int >(val2); | |
10607 | if (arg1) (arg1)->button_id = arg2; | |
10608 | ||
10609 | resultobj = SWIG_Py_Void(); | |
10610 | return resultobj; | |
10611 | fail: | |
10612 | return NULL; | |
10613 | } | |
10614 | ||
10615 | ||
5eb8189c | 10616 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10617 | PyObject *resultobj = 0; |
5eb8189c | 10618 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10619 | int result; |
10620 | void *argp1 = 0 ; | |
10621 | int res1 = 0 ; | |
10622 | PyObject *swig_obj[1] ; | |
10623 | ||
10624 | if (!args) SWIG_fail; | |
10625 | swig_obj[0] = args; | |
5eb8189c | 10626 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10627 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10628 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10629 | } |
5eb8189c | 10630 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10631 | result = (int) ((arg1)->button_id); |
10632 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10633 | return resultobj; | |
10634 | fail: | |
10635 | return NULL; | |
10636 | } | |
10637 | ||
10638 | ||
5eb8189c | 10639 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10640 | PyObject *resultobj = 0; |
5eb8189c | 10641 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10642 | void *argp1 = 0 ; |
10643 | int res1 = 0 ; | |
10644 | PyObject *swig_obj[1] ; | |
10645 | ||
10646 | if (!args) SWIG_fail; | |
10647 | swig_obj[0] = args; | |
5eb8189c | 10648 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10649 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10651 | } |
5eb8189c | 10652 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10653 | { |
10654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10655 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10656 | |
10657 | wxPyEndAllowThreads(__tstate); | |
10658 | if (PyErr_Occurred()) SWIG_fail; | |
10659 | } | |
10660 | resultobj = SWIG_Py_Void(); | |
10661 | return resultobj; | |
10662 | fail: | |
10663 | return NULL; | |
10664 | } | |
10665 | ||
10666 | ||
5eb8189c | 10667 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10668 | PyObject *obj; |
10669 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10670 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10671 | return SWIG_Py_Void(); |
10672 | } | |
10673 | ||
5eb8189c | 10674 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10675 | PyObject *resultobj = 0; |
5eb8189c | 10676 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10677 | void *argp1 = 0 ; |
10678 | int res1 = 0 ; | |
10679 | PyObject *swig_obj[1] ; | |
10680 | ||
10681 | if (!args) SWIG_fail; | |
10682 | swig_obj[0] = args; | |
5eb8189c | 10683 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10684 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10685 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10686 | } |
5eb8189c | 10687 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10688 | { |
10689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10690 | delete arg1; | |
10691 | ||
10692 | wxPyEndAllowThreads(__tstate); | |
10693 | if (PyErr_Occurred()) SWIG_fail; | |
10694 | } | |
10695 | resultobj = SWIG_Py_Void(); | |
10696 | return resultobj; | |
10697 | fail: | |
10698 | return NULL; | |
10699 | } | |
10700 | ||
10701 | ||
5eb8189c | 10702 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10703 | PyObject *resultobj = 0; |
5eb8189c | 10704 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10705 | int arg2 ; |
10706 | int result; | |
10707 | void *argp1 = 0 ; | |
10708 | int res1 = 0 ; | |
10709 | int val2 ; | |
10710 | int ecode2 = 0 ; | |
10711 | PyObject * obj0 = 0 ; | |
10712 | PyObject * obj1 = 0 ; | |
10713 | char * kwnames[] = { | |
10714 | (char *) "self",(char *) "id", NULL | |
10715 | }; | |
10716 | ||
5eb8189c RD |
10717 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10718 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10719 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10720 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10721 | } |
5eb8189c | 10722 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10723 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10724 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10725 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10726 | } |
10727 | arg2 = static_cast< int >(val2); | |
10728 | { | |
10729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10730 | result = (int)(arg1)->GetMetric(arg2); | |
10731 | wxPyEndAllowThreads(__tstate); | |
10732 | if (PyErr_Occurred()) SWIG_fail; | |
10733 | } | |
10734 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10735 | return resultobj; | |
10736 | fail: | |
10737 | return NULL; | |
10738 | } | |
10739 | ||
10740 | ||
5eb8189c | 10741 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10742 | PyObject *resultobj = 0; |
5eb8189c | 10743 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10744 | int arg2 ; |
10745 | int arg3 ; | |
10746 | void *argp1 = 0 ; | |
10747 | int res1 = 0 ; | |
10748 | int val2 ; | |
10749 | int ecode2 = 0 ; | |
10750 | int val3 ; | |
10751 | int ecode3 = 0 ; | |
10752 | PyObject * obj0 = 0 ; | |
10753 | PyObject * obj1 = 0 ; | |
10754 | PyObject * obj2 = 0 ; | |
10755 | char * kwnames[] = { | |
10756 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10757 | }; | |
10758 | ||
5eb8189c RD |
10759 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10760 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10761 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10763 | } |
5eb8189c | 10764 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10765 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10766 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10767 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10768 | } |
10769 | arg2 = static_cast< int >(val2); | |
10770 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10771 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10772 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10773 | } |
10774 | arg3 = static_cast< int >(val3); | |
10775 | { | |
10776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10777 | (arg1)->SetMetric(arg2,arg3); | |
10778 | wxPyEndAllowThreads(__tstate); | |
10779 | if (PyErr_Occurred()) SWIG_fail; | |
10780 | } | |
10781 | resultobj = SWIG_Py_Void(); | |
10782 | return resultobj; | |
10783 | fail: | |
10784 | return NULL; | |
10785 | } | |
10786 | ||
10787 | ||
5eb8189c | 10788 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10789 | PyObject *resultobj = 0; |
5eb8189c | 10790 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10791 | int arg2 ; |
10792 | wxFont *arg3 = 0 ; | |
10793 | void *argp1 = 0 ; | |
10794 | int res1 = 0 ; | |
10795 | int val2 ; | |
10796 | int ecode2 = 0 ; | |
10797 | void *argp3 = 0 ; | |
10798 | int res3 = 0 ; | |
10799 | PyObject * obj0 = 0 ; | |
10800 | PyObject * obj1 = 0 ; | |
10801 | PyObject * obj2 = 0 ; | |
10802 | char * kwnames[] = { | |
10803 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10804 | }; | |
10805 | ||
5eb8189c RD |
10806 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10807 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10808 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10809 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10810 | } |
5eb8189c | 10811 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10812 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10813 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10814 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10815 | } |
10816 | arg2 = static_cast< int >(val2); | |
10817 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10818 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10819 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10820 | } |
10821 | if (!argp3) { | |
5eb8189c | 10822 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10823 | } |
10824 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10825 | { | |
10826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10827 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10828 | wxPyEndAllowThreads(__tstate); | |
10829 | if (PyErr_Occurred()) SWIG_fail; | |
10830 | } | |
10831 | resultobj = SWIG_Py_Void(); | |
10832 | return resultobj; | |
10833 | fail: | |
10834 | return NULL; | |
10835 | } | |
10836 | ||
10837 | ||
5eb8189c | 10838 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10839 | PyObject *resultobj = 0; |
5eb8189c | 10840 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10841 | int arg2 ; |
10842 | wxFont result; | |
10843 | void *argp1 = 0 ; | |
10844 | int res1 = 0 ; | |
10845 | int val2 ; | |
10846 | int ecode2 = 0 ; | |
10847 | PyObject * obj0 = 0 ; | |
10848 | PyObject * obj1 = 0 ; | |
10849 | char * kwnames[] = { | |
10850 | (char *) "self",(char *) "id", NULL | |
10851 | }; | |
10852 | ||
5eb8189c RD |
10853 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10854 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10855 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10857 | } |
5eb8189c | 10858 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10859 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10860 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10861 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10862 | } |
10863 | arg2 = static_cast< int >(val2); | |
10864 | { | |
10865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10866 | result = (arg1)->GetFont(arg2); | |
10867 | wxPyEndAllowThreads(__tstate); | |
10868 | if (PyErr_Occurred()) SWIG_fail; | |
10869 | } | |
10870 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10871 | return resultobj; | |
10872 | fail: | |
10873 | return NULL; | |
10874 | } | |
10875 | ||
10876 | ||
5eb8189c | 10877 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10878 | PyObject *resultobj = 0; |
5eb8189c | 10879 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10880 | int arg2 ; |
10881 | wxColour result; | |
10882 | void *argp1 = 0 ; | |
10883 | int res1 = 0 ; | |
10884 | int val2 ; | |
10885 | int ecode2 = 0 ; | |
10886 | PyObject * obj0 = 0 ; | |
10887 | PyObject * obj1 = 0 ; | |
10888 | char * kwnames[] = { | |
10889 | (char *) "self",(char *) "id", NULL | |
10890 | }; | |
10891 | ||
5eb8189c RD |
10892 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10893 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10894 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10895 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10896 | } |
5eb8189c | 10897 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10898 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10899 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10900 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10901 | } |
10902 | arg2 = static_cast< int >(val2); | |
10903 | { | |
10904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10905 | result = (arg1)->GetColour(arg2); | |
10906 | wxPyEndAllowThreads(__tstate); | |
10907 | if (PyErr_Occurred()) SWIG_fail; | |
10908 | } | |
10909 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10910 | return resultobj; | |
10911 | fail: | |
10912 | return NULL; | |
10913 | } | |
10914 | ||
10915 | ||
5eb8189c | 10916 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10917 | PyObject *resultobj = 0; |
5eb8189c | 10918 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10919 | int arg2 ; |
10920 | wxColor *arg3 = 0 ; | |
10921 | void *argp1 = 0 ; | |
10922 | int res1 = 0 ; | |
10923 | int val2 ; | |
10924 | int ecode2 = 0 ; | |
10925 | void *argp3 = 0 ; | |
10926 | int res3 = 0 ; | |
10927 | PyObject * obj0 = 0 ; | |
10928 | PyObject * obj1 = 0 ; | |
10929 | PyObject * obj2 = 0 ; | |
10930 | char * kwnames[] = { | |
10931 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10932 | }; | |
10933 | ||
5eb8189c RD |
10934 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10935 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10936 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10937 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10938 | } |
5eb8189c | 10939 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10940 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10941 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10942 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10943 | } |
10944 | arg2 = static_cast< int >(val2); | |
10945 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); | |
10946 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10947 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10948 | } |
10949 | if (!argp3) { | |
5eb8189c | 10950 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); |
27e45892 RD |
10951 | } |
10952 | arg3 = reinterpret_cast< wxColor * >(argp3); | |
10953 | { | |
10954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10955 | (arg1)->SetColour(arg2,(wxColor const &)*arg3); | |
10956 | wxPyEndAllowThreads(__tstate); | |
10957 | if (PyErr_Occurred()) SWIG_fail; | |
10958 | } | |
10959 | resultobj = SWIG_Py_Void(); | |
10960 | return resultobj; | |
10961 | fail: | |
10962 | return NULL; | |
10963 | } | |
10964 | ||
10965 | ||
5eb8189c | 10966 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10967 | PyObject *resultobj = 0; |
5eb8189c | 10968 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10969 | int arg2 ; |
10970 | wxColour result; | |
10971 | void *argp1 = 0 ; | |
10972 | int res1 = 0 ; | |
10973 | int val2 ; | |
10974 | int ecode2 = 0 ; | |
10975 | PyObject * obj0 = 0 ; | |
10976 | PyObject * obj1 = 0 ; | |
10977 | char * kwnames[] = { | |
10978 | (char *) "self",(char *) "id", NULL | |
10979 | }; | |
10980 | ||
5eb8189c RD |
10981 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) 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_GetColor" "', 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_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10990 | } |
10991 | arg2 = static_cast< int >(val2); | |
10992 | { | |
10993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10994 | result = (arg1)->GetColor(arg2); | |
10995 | wxPyEndAllowThreads(__tstate); | |
10996 | if (PyErr_Occurred()) SWIG_fail; | |
10997 | } | |
10998 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10999 | return resultobj; | |
11000 | fail: | |
11001 | return NULL; | |
11002 | } | |
11003 | ||
11004 | ||
5eb8189c | 11005 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11006 | PyObject *resultobj = 0; |
5eb8189c | 11007 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11008 | int arg2 ; |
11009 | wxColour *arg3 = 0 ; | |
11010 | void *argp1 = 0 ; | |
11011 | int res1 = 0 ; | |
11012 | int val2 ; | |
11013 | int ecode2 = 0 ; | |
11014 | wxColour temp3 ; | |
11015 | PyObject * obj0 = 0 ; | |
11016 | PyObject * obj1 = 0 ; | |
11017 | PyObject * obj2 = 0 ; | |
11018 | char * kwnames[] = { | |
11019 | (char *) "self",(char *) "id",(char *) "color", NULL | |
11020 | }; | |
11021 | ||
5eb8189c RD |
11022 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11023 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11024 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11025 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11026 | } |
5eb8189c | 11027 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11028 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11029 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11030 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11031 | } |
11032 | arg2 = static_cast< int >(val2); | |
11033 | { | |
11034 | arg3 = &temp3; | |
11035 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11036 | } | |
11037 | { | |
11038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11039 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
11040 | wxPyEndAllowThreads(__tstate); | |
11041 | if (PyErr_Occurred()) SWIG_fail; | |
11042 | } | |
11043 | resultobj = SWIG_Py_Void(); | |
11044 | return resultobj; | |
11045 | fail: | |
11046 | return NULL; | |
11047 | } | |
11048 | ||
11049 | ||
5eb8189c | 11050 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11051 | PyObject *resultobj = 0; |
5eb8189c | 11052 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11053 | wxDC *arg2 = 0 ; |
ac5d357a RD |
11054 | wxWindow *arg3 = (wxWindow *) 0 ; |
11055 | int arg4 ; | |
11056 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11057 | void *argp1 = 0 ; |
11058 | int res1 = 0 ; | |
11059 | void *argp2 = 0 ; | |
11060 | int res2 = 0 ; | |
ac5d357a RD |
11061 | void *argp3 = 0 ; |
11062 | int res3 = 0 ; | |
11063 | int val4 ; | |
11064 | int ecode4 = 0 ; | |
11065 | wxRect temp5 ; | |
27e45892 RD |
11066 | PyObject * obj0 = 0 ; |
11067 | PyObject * obj1 = 0 ; | |
11068 | PyObject * obj2 = 0 ; | |
11069 | PyObject * obj3 = 0 ; | |
ac5d357a | 11070 | PyObject * obj4 = 0 ; |
27e45892 | 11071 | char * kwnames[] = { |
ac5d357a | 11072 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11073 | }; |
11074 | ||
5eb8189c RD |
11075 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11076 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11077 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11078 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11079 | } |
5eb8189c | 11080 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11081 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11082 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11083 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11084 | } |
11085 | if (!argp2) { | |
5eb8189c | 11086 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11087 | } |
11088 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11089 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11090 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11091 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11092 | } |
11093 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11094 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11095 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11096 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11097 | } |
ac5d357a | 11098 | arg4 = static_cast< int >(val4); |
27e45892 | 11099 | { |
ac5d357a RD |
11100 | arg5 = &temp5; |
11101 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11102 | } |
11103 | { | |
11104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11105 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11106 | wxPyEndAllowThreads(__tstate); |
11107 | if (PyErr_Occurred()) SWIG_fail; | |
11108 | } | |
11109 | resultobj = SWIG_Py_Void(); | |
11110 | return resultobj; | |
11111 | fail: | |
11112 | return NULL; | |
11113 | } | |
11114 | ||
11115 | ||
5eb8189c | 11116 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11117 | PyObject *resultobj = 0; |
5eb8189c | 11118 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11119 | wxDC *arg2 = 0 ; |
ac5d357a RD |
11120 | wxWindow *arg3 = (wxWindow *) 0 ; |
11121 | int arg4 ; | |
11122 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11123 | void *argp1 = 0 ; |
11124 | int res1 = 0 ; | |
11125 | void *argp2 = 0 ; | |
11126 | int res2 = 0 ; | |
ac5d357a RD |
11127 | void *argp3 = 0 ; |
11128 | int res3 = 0 ; | |
11129 | int val4 ; | |
11130 | int ecode4 = 0 ; | |
11131 | wxRect temp5 ; | |
27e45892 RD |
11132 | PyObject * obj0 = 0 ; |
11133 | PyObject * obj1 = 0 ; | |
11134 | PyObject * obj2 = 0 ; | |
11135 | PyObject * obj3 = 0 ; | |
ac5d357a | 11136 | PyObject * obj4 = 0 ; |
27e45892 | 11137 | char * kwnames[] = { |
ac5d357a | 11138 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11139 | }; |
11140 | ||
5eb8189c RD |
11141 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11142 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11143 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11144 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11145 | } |
5eb8189c | 11146 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11147 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11148 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11149 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11150 | } |
11151 | if (!argp2) { | |
5eb8189c | 11152 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11153 | } |
11154 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11155 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11156 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11157 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11158 | } |
11159 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11160 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11161 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11162 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11163 | } |
ac5d357a | 11164 | arg4 = static_cast< int >(val4); |
27e45892 | 11165 | { |
ac5d357a RD |
11166 | arg5 = &temp5; |
11167 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11168 | } |
11169 | { | |
11170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11171 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11172 | wxPyEndAllowThreads(__tstate); |
11173 | if (PyErr_Occurred()) SWIG_fail; | |
11174 | } | |
11175 | resultobj = SWIG_Py_Void(); | |
11176 | return resultobj; | |
11177 | fail: | |
11178 | return NULL; | |
11179 | } | |
11180 | ||
11181 | ||
5eb8189c | 11182 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11183 | PyObject *resultobj = 0; |
5eb8189c | 11184 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11185 | wxDC *arg2 = 0 ; |
ac5d357a RD |
11186 | wxWindow *arg3 = (wxWindow *) 0 ; |
11187 | wxString *arg4 = 0 ; | |
11188 | wxRect *arg5 = 0 ; | |
5eb8189c | 11189 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
11190 | void *argp1 = 0 ; |
11191 | int res1 = 0 ; | |
11192 | void *argp2 = 0 ; | |
11193 | int res2 = 0 ; | |
ac5d357a RD |
11194 | void *argp3 = 0 ; |
11195 | int res3 = 0 ; | |
11196 | bool temp4 = false ; | |
11197 | wxRect temp5 ; | |
11198 | void *argp6 = 0 ; | |
11199 | int res6 = 0 ; | |
27e45892 RD |
11200 | PyObject * obj0 = 0 ; |
11201 | PyObject * obj1 = 0 ; | |
11202 | PyObject * obj2 = 0 ; | |
11203 | PyObject * obj3 = 0 ; | |
11204 | PyObject * obj4 = 0 ; | |
ac5d357a | 11205 | PyObject * obj5 = 0 ; |
27e45892 | 11206 | char * kwnames[] = { |
ac5d357a | 11207 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11208 | }; |
11209 | ||
5eb8189c RD |
11210 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11211 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11212 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11213 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11214 | } |
5eb8189c | 11215 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11216 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11217 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11218 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11219 | } |
11220 | if (!argp2) { | |
5eb8189c | 11221 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11222 | } |
11223 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11224 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11225 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11226 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11227 | } |
11228 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11229 | { |
ac5d357a RD |
11230 | arg4 = wxString_in_helper(obj3); |
11231 | if (arg4 == NULL) SWIG_fail; | |
11232 | temp4 = true; | |
27e45892 RD |
11233 | } |
11234 | { | |
ac5d357a RD |
11235 | arg5 = &temp5; |
11236 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11237 | } |
5eb8189c | 11238 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 11239 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11240 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11241 | } |
ac5d357a | 11242 | if (!argp6) { |
5eb8189c | 11243 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11244 | } |
5eb8189c | 11245 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11246 | { |
11247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11248 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11249 | wxPyEndAllowThreads(__tstate); |
11250 | if (PyErr_Occurred()) SWIG_fail; | |
11251 | } | |
11252 | resultobj = SWIG_Py_Void(); | |
11253 | { | |
ac5d357a RD |
11254 | if (temp4) |
11255 | delete arg4; | |
27e45892 RD |
11256 | } |
11257 | return resultobj; | |
11258 | fail: | |
11259 | { | |
ac5d357a RD |
11260 | if (temp4) |
11261 | delete arg4; | |
27e45892 RD |
11262 | } |
11263 | return NULL; | |
11264 | } | |
11265 | ||
11266 | ||
5eb8189c | 11267 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11268 | PyObject *resultobj = 0; |
5eb8189c | 11269 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11270 | wxDC *arg2 = 0 ; |
ac5d357a RD |
11271 | wxWindow *arg3 = (wxWindow *) 0 ; |
11272 | wxRect *arg4 = 0 ; | |
5eb8189c | 11273 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11274 | void *argp1 = 0 ; |
11275 | int res1 = 0 ; | |
11276 | void *argp2 = 0 ; | |
11277 | int res2 = 0 ; | |
ac5d357a RD |
11278 | void *argp3 = 0 ; |
11279 | int res3 = 0 ; | |
11280 | wxRect temp4 ; | |
11281 | void *argp5 = 0 ; | |
11282 | int res5 = 0 ; | |
27e45892 RD |
11283 | PyObject * obj0 = 0 ; |
11284 | PyObject * obj1 = 0 ; | |
11285 | PyObject * obj2 = 0 ; | |
11286 | PyObject * obj3 = 0 ; | |
ac5d357a | 11287 | PyObject * obj4 = 0 ; |
27e45892 | 11288 | char * kwnames[] = { |
ac5d357a | 11289 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11290 | }; |
11291 | ||
5eb8189c RD |
11292 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11293 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11294 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11295 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11296 | } |
5eb8189c | 11297 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11298 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11299 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11300 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11301 | } |
11302 | if (!argp2) { | |
5eb8189c | 11303 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11304 | } |
11305 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11306 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11307 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11308 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11309 | } |
11310 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11311 | { |
ac5d357a RD |
11312 | arg4 = &temp4; |
11313 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11314 | } |
5eb8189c | 11315 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 11316 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11317 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11318 | } |
ac5d357a | 11319 | if (!argp5) { |
5eb8189c | 11320 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11321 | } |
5eb8189c | 11322 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11323 | { |
11324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11325 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11326 | wxPyEndAllowThreads(__tstate); |
11327 | if (PyErr_Occurred()) SWIG_fail; | |
11328 | } | |
11329 | resultobj = SWIG_Py_Void(); | |
11330 | return resultobj; | |
11331 | fail: | |
11332 | return NULL; | |
11333 | } | |
11334 | ||
11335 | ||
5eb8189c | 11336 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11337 | PyObject *resultobj = 0; |
5eb8189c | 11338 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11339 | wxDC *arg2 = 0 ; |
ac5d357a RD |
11340 | wxWindow *arg3 = (wxWindow *) 0 ; |
11341 | wxRect *arg4 = 0 ; | |
5eb8189c | 11342 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11343 | void *argp1 = 0 ; |
11344 | int res1 = 0 ; | |
11345 | void *argp2 = 0 ; | |
11346 | int res2 = 0 ; | |
ac5d357a RD |
11347 | void *argp3 = 0 ; |
11348 | int res3 = 0 ; | |
11349 | wxRect temp4 ; | |
11350 | void *argp5 = 0 ; | |
11351 | int res5 = 0 ; | |
27e45892 RD |
11352 | PyObject * obj0 = 0 ; |
11353 | PyObject * obj1 = 0 ; | |
11354 | PyObject * obj2 = 0 ; | |
11355 | PyObject * obj3 = 0 ; | |
ac5d357a | 11356 | PyObject * obj4 = 0 ; |
27e45892 | 11357 | char * kwnames[] = { |
ac5d357a | 11358 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11359 | }; |
11360 | ||
5eb8189c RD |
11361 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11362 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11363 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11364 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11365 | } |
5eb8189c | 11366 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11367 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11368 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11369 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11370 | } |
11371 | if (!argp2) { | |
5eb8189c | 11372 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11373 | } |
11374 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11375 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11376 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11377 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11378 | } |
11379 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11380 | { |
ac5d357a RD |
11381 | arg4 = &temp4; |
11382 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11383 | } |
5eb8189c | 11384 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 11385 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11386 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11387 | } |
ac5d357a | 11388 | if (!argp5) { |
5eb8189c | 11389 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11390 | } |
5eb8189c | 11391 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11392 | { |
11393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11394 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11395 | wxPyEndAllowThreads(__tstate); |
11396 | if (PyErr_Occurred()) SWIG_fail; | |
11397 | } | |
11398 | resultobj = SWIG_Py_Void(); | |
11399 | return resultobj; | |
11400 | fail: | |
11401 | return NULL; | |
11402 | } | |
11403 | ||
11404 | ||
5eb8189c | 11405 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11406 | PyObject *resultobj = 0; |
5eb8189c | 11407 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11408 | wxDC *arg2 = 0 ; |
ac5d357a | 11409 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11410 | int arg4 ; |
ac5d357a RD |
11411 | int arg5 ; |
11412 | wxRect *arg6 = 0 ; | |
5eb8189c | 11413 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11414 | void *argp1 = 0 ; |
11415 | int res1 = 0 ; | |
11416 | void *argp2 = 0 ; | |
11417 | int res2 = 0 ; | |
ac5d357a RD |
11418 | void *argp3 = 0 ; |
11419 | int res3 = 0 ; | |
27e45892 RD |
11420 | int val4 ; |
11421 | int ecode4 = 0 ; | |
ac5d357a RD |
11422 | int val5 ; |
11423 | int ecode5 = 0 ; | |
11424 | wxRect temp6 ; | |
11425 | void *argp7 = 0 ; | |
11426 | int res7 = 0 ; | |
27e45892 RD |
11427 | PyObject * obj0 = 0 ; |
11428 | PyObject * obj1 = 0 ; | |
11429 | PyObject * obj2 = 0 ; | |
11430 | PyObject * obj3 = 0 ; | |
11431 | PyObject * obj4 = 0 ; | |
11432 | PyObject * obj5 = 0 ; | |
ac5d357a | 11433 | PyObject * obj6 = 0 ; |
27e45892 | 11434 | char * kwnames[] = { |
ac5d357a | 11435 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11436 | }; |
11437 | ||
5eb8189c RD |
11438 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11439 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11440 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11442 | } |
5eb8189c | 11443 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11444 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11445 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11446 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11447 | } |
11448 | if (!argp2) { | |
5eb8189c | 11449 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11450 | } |
11451 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
ac5d357a RD |
11452 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11453 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11454 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
ac5d357a RD |
11455 | } |
11456 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11457 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11458 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11459 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11460 | } |
11461 | arg4 = static_cast< int >(val4); | |
ac5d357a RD |
11462 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11463 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11464 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
ac5d357a RD |
11465 | } |
11466 | arg5 = static_cast< int >(val5); | |
27e45892 | 11467 | { |
ac5d357a RD |
11468 | arg6 = &temp6; |
11469 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11470 | } |
5eb8189c | 11471 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
ac5d357a | 11472 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11473 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11474 | } |
ac5d357a | 11475 | if (!argp7) { |
5eb8189c | 11476 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11477 | } |
5eb8189c | 11478 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11479 | { |
11480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
ac5d357a | 11481 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11482 | wxPyEndAllowThreads(__tstate); |
11483 | if (PyErr_Occurred()) SWIG_fail; | |
11484 | } | |
11485 | resultobj = SWIG_Py_Void(); | |
11486 | return resultobj; | |
11487 | fail: | |
11488 | return NULL; | |
11489 | } | |
11490 | ||
11491 | ||
5eb8189c | 11492 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11493 | PyObject *obj; |
11494 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11495 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11496 | return SWIG_Py_Void(); |
11497 | } | |
11498 | ||
5eb8189c | 11499 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11500 | PyObject *resultobj = 0; |
5eb8189c | 11501 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11502 | |
5eb8189c | 11503 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11504 | { |
11505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11506 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11507 | wxPyEndAllowThreads(__tstate); |
11508 | if (PyErr_Occurred()) SWIG_fail; | |
11509 | } | |
5eb8189c | 11510 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11511 | return resultobj; |
11512 | fail: | |
11513 | return NULL; | |
11514 | } | |
11515 | ||
11516 | ||
5eb8189c | 11517 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11518 | PyObject *obj; |
11519 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11520 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11521 | return SWIG_Py_Void(); |
11522 | } | |
11523 | ||
5eb8189c | 11524 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11525 | return SWIG_Python_InitShadowInstance(args); |
11526 | } | |
11527 | ||
5eb8189c | 11528 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11529 | PyObject *resultobj = 0; |
11530 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11531 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11532 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11533 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11534 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11535 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11536 | void *argp1 = 0 ; |
11537 | int res1 = 0 ; | |
11538 | void *argp2 = 0 ; | |
11539 | int res2 = 0 ; | |
11540 | void *argp3 = 0 ; | |
11541 | int res3 = 0 ; | |
11542 | int val4 ; | |
11543 | int ecode4 = 0 ; | |
9b940138 RD |
11544 | long val5 ; |
11545 | int ecode5 = 0 ; | |
27e45892 RD |
11546 | PyObject * obj0 = 0 ; |
11547 | PyObject * obj1 = 0 ; | |
11548 | PyObject * obj2 = 0 ; | |
11549 | PyObject * obj3 = 0 ; | |
9b940138 | 11550 | PyObject * obj4 = 0 ; |
27e45892 | 11551 | char * kwnames[] = { |
9b940138 | 11552 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11553 | }; |
11554 | ||
5eb8189c | 11555 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11556 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11557 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11558 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11559 | } |
11560 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11561 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11562 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11563 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11564 | } |
5eb8189c RD |
11565 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11566 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11567 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11568 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11569 | } |
11570 | if (!argp3) { | |
5eb8189c | 11571 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11572 | } |
5eb8189c | 11573 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11574 | if (obj3) { |
11575 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11576 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11577 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11578 | } |
11579 | arg4 = static_cast< int >(val4); | |
11580 | } | |
9b940138 RD |
11581 | if (obj4) { |
11582 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11583 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11584 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11585 | } |
11586 | arg5 = static_cast< long >(val5); | |
11587 | } | |
27e45892 RD |
11588 | { |
11589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11590 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11591 | wxPyEndAllowThreads(__tstate); |
11592 | if (PyErr_Occurred()) SWIG_fail; | |
11593 | } | |
5eb8189c | 11594 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11595 | return resultobj; |
11596 | fail: | |
11597 | return NULL; | |
11598 | } | |
11599 | ||
11600 | ||
5eb8189c | 11601 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11602 | PyObject *resultobj = 0; |
5eb8189c | 11603 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11604 | void *argp1 = 0 ; |
11605 | int res1 = 0 ; | |
11606 | PyObject *swig_obj[1] ; | |
11607 | ||
11608 | if (!args) SWIG_fail; | |
11609 | swig_obj[0] = args; | |
5eb8189c | 11610 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11611 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11612 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11613 | } |
5eb8189c | 11614 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11615 | { |
11616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11617 | delete arg1; | |
11618 | ||
11619 | wxPyEndAllowThreads(__tstate); | |
11620 | if (PyErr_Occurred()) SWIG_fail; | |
11621 | } | |
11622 | resultobj = SWIG_Py_Void(); | |
11623 | return resultobj; | |
11624 | fail: | |
11625 | return NULL; | |
11626 | } | |
11627 | ||
11628 | ||
5eb8189c | 11629 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11630 | PyObject *resultobj = 0; |
5eb8189c RD |
11631 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11632 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11633 | void *argp1 = 0 ; |
11634 | int res1 = 0 ; | |
11635 | void *argp2 = 0 ; | |
11636 | int res2 = 0 ; | |
11637 | PyObject * obj0 = 0 ; | |
11638 | PyObject * obj1 = 0 ; | |
11639 | char * kwnames[] = { | |
11640 | (char *) "self",(char *) "pane", NULL | |
11641 | }; | |
11642 | ||
5eb8189c RD |
11643 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11644 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11645 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11646 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11647 | } |
5eb8189c RD |
11648 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11649 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11650 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11651 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11652 | } |
11653 | if (!argp2) { | |
5eb8189c | 11654 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11655 | } |
5eb8189c | 11656 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11657 | { |
11658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11659 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11660 | wxPyEndAllowThreads(__tstate); |
11661 | if (PyErr_Occurred()) SWIG_fail; | |
11662 | } | |
11663 | resultobj = SWIG_Py_Void(); | |
11664 | return resultobj; | |
11665 | fail: | |
11666 | return NULL; | |
11667 | } | |
11668 | ||
11669 | ||
eccab1a7 RD |
11670 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11671 | PyObject *resultobj = 0; | |
11672 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; | |
11673 | wxAuiManager *result = 0 ; | |
11674 | void *argp1 = 0 ; | |
11675 | int res1 = 0 ; | |
11676 | PyObject *swig_obj[1] ; | |
11677 | ||
11678 | if (!args) SWIG_fail; | |
11679 | swig_obj[0] = args; | |
11680 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
11681 | if (!SWIG_IsOK(res1)) { | |
11682 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'"); | |
11683 | } | |
11684 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); | |
11685 | { | |
11686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11687 | result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager(); | |
11688 | wxPyEndAllowThreads(__tstate); | |
11689 | if (PyErr_Occurred()) SWIG_fail; | |
11690 | } | |
11691 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
11692 | return resultobj; | |
11693 | fail: | |
11694 | return NULL; | |
11695 | } | |
11696 | ||
11697 | ||
5eb8189c | 11698 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11699 | PyObject *obj; |
11700 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11701 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11702 | return SWIG_Py_Void(); |
11703 | } | |
11704 | ||
5eb8189c | 11705 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11706 | return SWIG_Python_InitShadowInstance(args); |
11707 | } | |
11708 | ||
5172800e | 11709 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11710 | PyObject *resultobj = 0; |
5172800e RD |
11711 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11712 | int arg2 = (int) 0 ; | |
11713 | wxAuiNotebookEvent *result = 0 ; | |
11714 | int val1 ; | |
11715 | int ecode1 = 0 ; | |
11716 | int val2 ; | |
11717 | int ecode2 = 0 ; | |
11718 | PyObject * obj0 = 0 ; | |
11719 | PyObject * obj1 = 0 ; | |
11720 | char * kwnames[] = { | |
11721 | (char *) "command_type",(char *) "win_id", NULL | |
11722 | }; | |
5c8c7dd3 | 11723 | |
5172800e RD |
11724 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11725 | if (obj0) { | |
11726 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11727 | if (!SWIG_IsOK(ecode1)) { | |
11728 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11729 | } | |
11730 | arg1 = static_cast< wxEventType >(val1); | |
11731 | } | |
11732 | if (obj1) { | |
11733 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11734 | if (!SWIG_IsOK(ecode2)) { | |
11735 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11736 | } | |
11737 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11738 | } |
5c8c7dd3 RD |
11739 | { |
11740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11741 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11742 | wxPyEndAllowThreads(__tstate); |
11743 | if (PyErr_Occurred()) SWIG_fail; | |
11744 | } | |
5172800e | 11745 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11746 | return resultobj; |
11747 | fail: | |
11748 | return NULL; | |
11749 | } | |
11750 | ||
11751 | ||
5172800e | 11752 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11753 | PyObject *resultobj = 0; |
5172800e RD |
11754 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11755 | int arg2 ; | |
8f514ab4 RD |
11756 | void *argp1 = 0 ; |
11757 | int res1 = 0 ; | |
5172800e RD |
11758 | int val2 ; |
11759 | int ecode2 = 0 ; | |
8f514ab4 RD |
11760 | PyObject * obj0 = 0 ; |
11761 | PyObject * obj1 = 0 ; | |
11762 | char * kwnames[] = { | |
5172800e | 11763 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11764 | }; |
11765 | ||
5172800e RD |
11766 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11767 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11768 | if (!SWIG_IsOK(res1)) { |
5172800e | 11769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11770 | } |
5172800e RD |
11771 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11772 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11773 | if (!SWIG_IsOK(ecode2)) { | |
11774 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11775 | } | |
11776 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11777 | { |
11778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11779 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11780 | wxPyEndAllowThreads(__tstate); |
11781 | if (PyErr_Occurred()) SWIG_fail; | |
11782 | } | |
11783 | resultobj = SWIG_Py_Void(); | |
11784 | return resultobj; | |
11785 | fail: | |
11786 | return NULL; | |
11787 | } | |
11788 | ||
11789 | ||
5172800e | 11790 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11791 | PyObject *resultobj = 0; |
5172800e RD |
11792 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11793 | int result; | |
8f514ab4 RD |
11794 | void *argp1 = 0 ; |
11795 | int res1 = 0 ; | |
5172800e | 11796 | PyObject *swig_obj[1] ; |
8f514ab4 | 11797 | |
5172800e RD |
11798 | if (!args) SWIG_fail; |
11799 | swig_obj[0] = args; | |
11800 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11801 | if (!SWIG_IsOK(res1)) { |
5172800e | 11802 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11803 | } |
5172800e | 11804 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11805 | { |
11806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11807 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11808 | wxPyEndAllowThreads(__tstate); |
11809 | if (PyErr_Occurred()) SWIG_fail; | |
11810 | } | |
5172800e | 11811 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11812 | return resultobj; |
11813 | fail: | |
11814 | return NULL; | |
11815 | } | |
11816 | ||
11817 | ||
5172800e | 11818 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11819 | PyObject *resultobj = 0; |
5172800e RD |
11820 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11821 | int arg2 ; | |
8f514ab4 RD |
11822 | void *argp1 = 0 ; |
11823 | int res1 = 0 ; | |
5172800e RD |
11824 | int val2 ; |
11825 | int ecode2 = 0 ; | |
8f514ab4 RD |
11826 | PyObject * obj0 = 0 ; |
11827 | PyObject * obj1 = 0 ; | |
11828 | char * kwnames[] = { | |
5172800e | 11829 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11830 | }; |
11831 | ||
5172800e RD |
11832 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11833 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11834 | if (!SWIG_IsOK(res1)) { |
5172800e | 11835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11836 | } |
5172800e RD |
11837 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11838 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11839 | if (!SWIG_IsOK(ecode2)) { | |
11840 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11841 | } | |
11842 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11843 | { |
11844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11845 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11846 | wxPyEndAllowThreads(__tstate); |
11847 | if (PyErr_Occurred()) SWIG_fail; | |
11848 | } | |
11849 | resultobj = SWIG_Py_Void(); | |
11850 | return resultobj; | |
11851 | fail: | |
11852 | return NULL; | |
11853 | } | |
11854 | ||
11855 | ||
5172800e | 11856 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11857 | PyObject *resultobj = 0; |
5172800e RD |
11858 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11859 | int result; | |
5c8c7dd3 RD |
11860 | void *argp1 = 0 ; |
11861 | int res1 = 0 ; | |
5172800e | 11862 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11863 | |
5172800e RD |
11864 | if (!args) SWIG_fail; |
11865 | swig_obj[0] = args; | |
11866 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11867 | if (!SWIG_IsOK(res1)) { |
5172800e | 11868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11869 | } |
5172800e | 11870 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11871 | { |
11872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11873 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11874 | wxPyEndAllowThreads(__tstate); |
11875 | if (PyErr_Occurred()) SWIG_fail; | |
11876 | } | |
5172800e | 11877 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11878 | return resultobj; |
11879 | fail: | |
11880 | return NULL; | |
11881 | } | |
11882 | ||
11883 | ||
5172800e | 11884 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11885 | PyObject *resultobj = 0; |
5172800e RD |
11886 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11887 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11888 | void *argp1 = 0 ; |
11889 | int res1 = 0 ; | |
11890 | void *argp2 = 0 ; | |
11891 | int res2 = 0 ; | |
5c8c7dd3 RD |
11892 | PyObject * obj0 = 0 ; |
11893 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11894 | char * kwnames[] = { |
5172800e | 11895 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11896 | }; |
11897 | ||
5172800e RD |
11898 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11899 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11900 | if (!SWIG_IsOK(res1)) { |
5172800e | 11901 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11902 | } |
5172800e RD |
11903 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11904 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11905 | if (!SWIG_IsOK(res2)) { |
5172800e | 11906 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11907 | } |
5172800e | 11908 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11909 | { |
11910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11911 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11912 | wxPyEndAllowThreads(__tstate); |
11913 | if (PyErr_Occurred()) SWIG_fail; | |
11914 | } | |
11915 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11916 | return resultobj; |
11917 | fail: | |
5c8c7dd3 RD |
11918 | return NULL; |
11919 | } | |
11920 | ||
11921 | ||
5172800e | 11922 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11923 | PyObject *resultobj = 0; |
5172800e RD |
11924 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11925 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11926 | void *argp1 = 0 ; |
11927 | int res1 = 0 ; | |
5172800e | 11928 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11929 | |
5172800e RD |
11930 | if (!args) SWIG_fail; |
11931 | swig_obj[0] = args; | |
11932 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11933 | if (!SWIG_IsOK(res1)) { |
5172800e | 11934 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11935 | } |
5172800e | 11936 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11937 | { |
11938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11939 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
11940 | wxPyEndAllowThreads(__tstate); |
11941 | if (PyErr_Occurred()) SWIG_fail; | |
11942 | } | |
5172800e | 11943 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
11944 | return resultobj; |
11945 | fail: | |
11946 | return NULL; | |
11947 | } | |
11948 | ||
11949 | ||
5172800e | 11950 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11951 | PyObject *resultobj = 0; |
5172800e RD |
11952 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11953 | int arg2 ; | |
5c8c7dd3 RD |
11954 | void *argp1 = 0 ; |
11955 | int res1 = 0 ; | |
5172800e RD |
11956 | int val2 ; |
11957 | int ecode2 = 0 ; | |
11958 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 11959 | |
5172800e RD |
11960 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
11961 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11962 | if (!SWIG_IsOK(res1)) { |
5172800e | 11963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11964 | } |
5172800e RD |
11965 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11966 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
11967 | if (!SWIG_IsOK(ecode2)) { | |
11968 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 11969 | } |
5172800e RD |
11970 | arg2 = static_cast< int >(val2); |
11971 | if (arg1) (arg1)->old_selection = arg2; | |
11972 | ||
11973 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11974 | return resultobj; |
11975 | fail: | |
11976 | return NULL; | |
11977 | } | |
11978 | ||
11979 | ||
5172800e | 11980 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 11981 | PyObject *resultobj = 0; |
5172800e | 11982 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
11983 | int result; |
11984 | void *argp1 = 0 ; | |
11985 | int res1 = 0 ; | |
5172800e | 11986 | PyObject *swig_obj[1] ; |
d95b9f2b | 11987 | |
5172800e RD |
11988 | if (!args) SWIG_fail; |
11989 | swig_obj[0] = args; | |
11990 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 11991 | if (!SWIG_IsOK(res1)) { |
5172800e | 11992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 11993 | } |
5172800e RD |
11994 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11995 | result = (int) ((arg1)->old_selection); | |
11996 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11997 | return resultobj; | |
11998 | fail: | |
11999 | return NULL; | |
12000 | } | |
12001 | ||
12002 | ||
12003 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12004 | PyObject *resultobj = 0; | |
12005 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12006 | int arg2 ; | |
12007 | void *argp1 = 0 ; | |
12008 | int res1 = 0 ; | |
12009 | int val2 ; | |
12010 | int ecode2 = 0 ; | |
12011 | PyObject *swig_obj[2] ; | |
12012 | ||
12013 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12014 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12015 | if (!SWIG_IsOK(res1)) { | |
12016 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12017 | } |
5172800e RD |
12018 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12019 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12020 | if (!SWIG_IsOK(ecode2)) { | |
12021 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 12022 | } |
5172800e RD |
12023 | arg2 = static_cast< int >(val2); |
12024 | if (arg1) (arg1)->selection = arg2; | |
12025 | ||
12026 | resultobj = SWIG_Py_Void(); | |
12027 | return resultobj; | |
12028 | fail: | |
12029 | return NULL; | |
12030 | } | |
12031 | ||
12032 | ||
12033 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12034 | PyObject *resultobj = 0; | |
12035 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12036 | int result; | |
12037 | void *argp1 = 0 ; | |
12038 | int res1 = 0 ; | |
12039 | PyObject *swig_obj[1] ; | |
12040 | ||
12041 | if (!args) SWIG_fail; | |
12042 | swig_obj[0] = args; | |
12043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12044 | if (!SWIG_IsOK(res1)) { | |
12045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12046 | } |
5172800e RD |
12047 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12048 | result = (int) ((arg1)->selection); | |
d95b9f2b | 12049 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
12050 | return resultobj; |
12051 | fail: | |
d95b9f2b RD |
12052 | return NULL; |
12053 | } | |
12054 | ||
12055 | ||
5172800e | 12056 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12057 | PyObject *resultobj = 0; |
5172800e RD |
12058 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12059 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
12060 | void *argp1 = 0 ; |
12061 | int res1 = 0 ; | |
12062 | void *argp2 = 0 ; | |
12063 | int res2 = 0 ; | |
5172800e | 12064 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 12065 | |
5172800e RD |
12066 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
12067 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12068 | if (!SWIG_IsOK(res1)) { |
5172800e | 12069 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12070 | } |
5172800e RD |
12071 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12072 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 12073 | if (!SWIG_IsOK(res2)) { |
5172800e | 12074 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 12075 | } |
5172800e RD |
12076 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
12077 | if (arg1) (arg1)->drag_source = arg2; | |
12078 | ||
12079 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12080 | return resultobj; |
12081 | fail: | |
12082 | return NULL; | |
12083 | } | |
12084 | ||
12085 | ||
5172800e | 12086 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12087 | PyObject *resultobj = 0; |
5172800e RD |
12088 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12089 | wxAuiNotebook *result = 0 ; | |
12090 | void *argp1 = 0 ; | |
12091 | int res1 = 0 ; | |
12092 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 12093 | |
5172800e RD |
12094 | if (!args) SWIG_fail; |
12095 | swig_obj[0] = args; | |
12096 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12097 | if (!SWIG_IsOK(res1)) { | |
12098 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 12099 | } |
5172800e RD |
12100 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12101 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12102 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
12103 | return resultobj; |
12104 | fail: | |
12105 | return NULL; | |
12106 | } | |
12107 | ||
12108 | ||
5172800e RD |
12109 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12110 | PyObject *obj; | |
12111 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12112 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12113 | return SWIG_Py_Void(); | |
12114 | } | |
12115 | ||
12116 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12117 | return SWIG_Python_InitShadowInstance(args); | |
12118 | } | |
12119 | ||
12120 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 12121 | PyObject *resultobj = 0; |
5172800e RD |
12122 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12123 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
12124 | void *argp1 = 0 ; |
12125 | int res1 = 0 ; | |
5172800e RD |
12126 | void *argp2 = 0 ; |
12127 | int res2 = 0 ; | |
12128 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12129 | |
5172800e RD |
12130 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
12131 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 12132 | if (!SWIG_IsOK(res1)) { |
5172800e | 12133 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 12134 | } |
5172800e RD |
12135 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12136 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12137 | if (!SWIG_IsOK(res2)) { | |
12138 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 12139 | } |
5172800e RD |
12140 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12141 | if (arg1) (arg1)->window = arg2; | |
12142 | ||
5c8c7dd3 RD |
12143 | resultobj = SWIG_Py_Void(); |
12144 | return resultobj; | |
12145 | fail: | |
12146 | return NULL; | |
12147 | } | |
12148 | ||
12149 | ||
5172800e | 12150 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12151 | PyObject *resultobj = 0; |
5172800e RD |
12152 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12153 | wxWindow *result = 0 ; | |
12154 | void *argp1 = 0 ; | |
12155 | int res1 = 0 ; | |
12156 | PyObject *swig_obj[1] ; | |
1eeb270e | 12157 | |
5172800e RD |
12158 | if (!args) SWIG_fail; |
12159 | swig_obj[0] = args; | |
12160 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12161 | if (!SWIG_IsOK(res1)) { | |
12162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
1eeb270e | 12163 | } |
5172800e RD |
12164 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12165 | result = (wxWindow *) ((arg1)->window); | |
1eeb270e | 12166 | { |
5172800e | 12167 | resultobj = wxPyMake_wxObject(result, 0); |
1eeb270e | 12168 | } |
1eeb270e RD |
12169 | return resultobj; |
12170 | fail: | |
12171 | return NULL; | |
27e45892 RD |
12172 | } |
12173 | ||
1eeb270e | 12174 | |
5172800e | 12175 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12176 | PyObject *resultobj = 0; |
5172800e RD |
12177 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12178 | wxString *arg2 = (wxString *) 0 ; | |
1eeb270e RD |
12179 | void *argp1 = 0 ; |
12180 | int res1 = 0 ; | |
5172800e RD |
12181 | bool temp2 = false ; |
12182 | PyObject *swig_obj[2] ; | |
1eeb270e | 12183 | |
5172800e RD |
12184 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
12185 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
1eeb270e | 12186 | if (!SWIG_IsOK(res1)) { |
5172800e | 12187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
1eeb270e | 12188 | } |
5172800e | 12189 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
1eeb270e | 12190 | { |
5172800e RD |
12191 | arg2 = wxString_in_helper(swig_obj[1]); |
12192 | if (arg2 == NULL) SWIG_fail; | |
12193 | temp2 = true; | |
1eeb270e | 12194 | } |
5172800e RD |
12195 | if (arg1) (arg1)->caption = *arg2; |
12196 | ||
1eeb270e | 12197 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12198 | { |
12199 | if (temp2) | |
12200 | delete arg2; | |
12201 | } | |
1eeb270e RD |
12202 | return resultobj; |
12203 | fail: | |
5172800e RD |
12204 | { |
12205 | if (temp2) | |
12206 | delete arg2; | |
12207 | } | |
1eeb270e RD |
12208 | return NULL; |
12209 | } | |
12210 | ||
12211 | ||
5172800e | 12212 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12213 | PyObject *resultobj = 0; |
5172800e RD |
12214 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12215 | wxString *result = 0 ; | |
d95b9f2b RD |
12216 | void *argp1 = 0 ; |
12217 | int res1 = 0 ; | |
12218 | PyObject *swig_obj[1] ; | |
12219 | ||
12220 | if (!args) SWIG_fail; | |
12221 | swig_obj[0] = args; | |
5172800e | 12222 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 12223 | if (!SWIG_IsOK(res1)) { |
5172800e | 12224 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12225 | } |
5172800e RD |
12226 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12227 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 12228 | { |
5172800e RD |
12229 | #if wxUSE_UNICODE |
12230 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12231 | #else | |
12232 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12233 | #endif | |
d95b9f2b | 12234 | } |
d95b9f2b RD |
12235 | return resultobj; |
12236 | fail: | |
12237 | return NULL; | |
12238 | } | |
12239 | ||
12240 | ||
5172800e | 12241 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12242 | PyObject *resultobj = 0; |
5172800e RD |
12243 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12244 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
1eeb270e RD |
12245 | void *argp1 = 0 ; |
12246 | int res1 = 0 ; | |
5172800e RD |
12247 | void *argp2 = 0 ; |
12248 | int res2 = 0 ; | |
12249 | PyObject *swig_obj[2] ; | |
1eeb270e | 12250 | |
5172800e RD |
12251 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12252 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
1eeb270e | 12253 | if (!SWIG_IsOK(res1)) { |
5172800e | 12254 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
1eeb270e | 12255 | } |
5172800e RD |
12256 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12257 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12258 | if (!SWIG_IsOK(res2)) { | |
12259 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
1eeb270e | 12260 | } |
5172800e RD |
12261 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12262 | if (arg1) (arg1)->bitmap = *arg2; | |
12263 | ||
1eeb270e RD |
12264 | resultobj = SWIG_Py_Void(); |
12265 | return resultobj; | |
12266 | fail: | |
12267 | return NULL; | |
12268 | } | |
12269 | ||
12270 | ||
5172800e | 12271 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12272 | PyObject *resultobj = 0; |
5172800e RD |
12273 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12274 | wxBitmap *result = 0 ; | |
1eeb270e RD |
12275 | void *argp1 = 0 ; |
12276 | int res1 = 0 ; | |
12277 | PyObject *swig_obj[1] ; | |
12278 | ||
12279 | if (!args) SWIG_fail; | |
12280 | swig_obj[0] = args; | |
5172800e | 12281 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
1eeb270e | 12282 | if (!SWIG_IsOK(res1)) { |
5172800e | 12283 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
1eeb270e | 12284 | } |
5172800e RD |
12285 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12286 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12287 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
1eeb270e RD |
12288 | return resultobj; |
12289 | fail: | |
12290 | return NULL; | |
12291 | } | |
12292 | ||
12293 | ||
5172800e | 12294 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12295 | PyObject *resultobj = 0; |
5172800e RD |
12296 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12297 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12298 | void *argp1 = 0 ; |
12299 | int res1 = 0 ; | |
12300 | void *argp2 = 0 ; | |
12301 | int res2 = 0 ; | |
5172800e | 12302 | PyObject *swig_obj[2] ; |
d95b9f2b | 12303 | |
5172800e RD |
12304 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12305 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12306 | if (!SWIG_IsOK(res1)) { |
5172800e | 12307 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12308 | } |
5172800e RD |
12309 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12310 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12311 | if (!SWIG_IsOK(res2)) { |
5172800e | 12312 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12313 | } |
5172800e RD |
12314 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12315 | if (arg1) (arg1)->rect = *arg2; | |
12316 | ||
d95b9f2b RD |
12317 | resultobj = SWIG_Py_Void(); |
12318 | return resultobj; | |
12319 | fail: | |
12320 | return NULL; | |
12321 | } | |
12322 | ||
12323 | ||
5172800e | 12324 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12325 | PyObject *resultobj = 0; |
5172800e RD |
12326 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12327 | wxRect *result = 0 ; | |
1eeb270e RD |
12328 | void *argp1 = 0 ; |
12329 | int res1 = 0 ; | |
12330 | PyObject *swig_obj[1] ; | |
12331 | ||
12332 | if (!args) SWIG_fail; | |
12333 | swig_obj[0] = args; | |
5172800e | 12334 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
1eeb270e | 12335 | if (!SWIG_IsOK(res1)) { |
5172800e | 12336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
1eeb270e | 12337 | } |
5172800e RD |
12338 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12339 | result = (wxRect *)& ((arg1)->rect); | |
12340 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
1eeb270e RD |
12341 | return resultobj; |
12342 | fail: | |
12343 | return NULL; | |
12344 | } | |
12345 | ||
12346 | ||
5172800e | 12347 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12348 | PyObject *resultobj = 0; |
5172800e RD |
12349 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12350 | bool arg2 ; | |
1eeb270e RD |
12351 | void *argp1 = 0 ; |
12352 | int res1 = 0 ; | |
5172800e | 12353 | bool val2 ; |
1eeb270e RD |
12354 | int ecode2 = 0 ; |
12355 | PyObject *swig_obj[2] ; | |
12356 | ||
5172800e RD |
12357 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12358 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
1eeb270e | 12359 | if (!SWIG_IsOK(res1)) { |
5172800e | 12360 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
1eeb270e | 12361 | } |
5172800e RD |
12362 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12363 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
1eeb270e | 12364 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12365 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
1eeb270e | 12366 | } |
5172800e RD |
12367 | arg2 = static_cast< bool >(val2); |
12368 | if (arg1) (arg1)->active = arg2; | |
1eeb270e RD |
12369 | |
12370 | resultobj = SWIG_Py_Void(); | |
12371 | return resultobj; | |
12372 | fail: | |
12373 | return NULL; | |
12374 | } | |
12375 | ||
12376 | ||
5172800e | 12377 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12378 | PyObject *resultobj = 0; |
5172800e RD |
12379 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12380 | bool result; | |
1eeb270e RD |
12381 | void *argp1 = 0 ; |
12382 | int res1 = 0 ; | |
12383 | PyObject *swig_obj[1] ; | |
12384 | ||
12385 | if (!args) SWIG_fail; | |
12386 | swig_obj[0] = args; | |
5172800e | 12387 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
1eeb270e | 12388 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12389 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12390 | } | |
12391 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12392 | result = (bool) ((arg1)->active); | |
12393 | { | |
12394 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1eeb270e | 12395 | } |
1eeb270e RD |
12396 | return resultobj; |
12397 | fail: | |
12398 | return NULL; | |
12399 | } | |
12400 | ||
12401 | ||
5172800e RD |
12402 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12403 | PyObject *obj; | |
12404 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12405 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12406 | return SWIG_Py_Void(); | |
12407 | } | |
12408 | ||
12409 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
1eeb270e | 12410 | PyObject *resultobj = 0; |
5172800e | 12411 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
1eeb270e RD |
12412 | int arg2 ; |
12413 | void *argp1 = 0 ; | |
12414 | int res1 = 0 ; | |
12415 | int val2 ; | |
12416 | int ecode2 = 0 ; | |
12417 | PyObject *swig_obj[2] ; | |
12418 | ||
5172800e RD |
12419 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12420 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
1eeb270e | 12421 | if (!SWIG_IsOK(res1)) { |
5172800e | 12422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12423 | } |
5172800e | 12424 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
1eeb270e RD |
12425 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12426 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12427 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
1eeb270e RD |
12428 | } |
12429 | arg2 = static_cast< int >(val2); | |
5172800e | 12430 | if (arg1) (arg1)->id = arg2; |
1eeb270e RD |
12431 | |
12432 | resultobj = SWIG_Py_Void(); | |
12433 | return resultobj; | |
12434 | fail: | |
12435 | return NULL; | |
12436 | } | |
12437 | ||
12438 | ||
5172800e | 12439 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12440 | PyObject *resultobj = 0; |
5172800e | 12441 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
1eeb270e RD |
12442 | int result; |
12443 | void *argp1 = 0 ; | |
12444 | int res1 = 0 ; | |
12445 | PyObject *swig_obj[1] ; | |
12446 | ||
12447 | if (!args) SWIG_fail; | |
12448 | swig_obj[0] = args; | |
5172800e | 12449 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
1eeb270e | 12450 | if (!SWIG_IsOK(res1)) { |
5172800e | 12451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12452 | } |
5172800e RD |
12453 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12454 | result = (int) ((arg1)->id); | |
1eeb270e RD |
12455 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12456 | return resultobj; | |
12457 | fail: | |
12458 | return NULL; | |
12459 | } | |
12460 | ||
12461 | ||
5172800e | 12462 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12463 | PyObject *resultobj = 0; |
5172800e RD |
12464 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12465 | int arg2 ; | |
d95b9f2b RD |
12466 | void *argp1 = 0 ; |
12467 | int res1 = 0 ; | |
5172800e RD |
12468 | int val2 ; |
12469 | int ecode2 = 0 ; | |
d95b9f2b RD |
12470 | PyObject *swig_obj[2] ; |
12471 | ||
5172800e RD |
12472 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12473 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12474 | if (!SWIG_IsOK(res1)) { |
5172800e | 12475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12476 | } |
5172800e RD |
12477 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12478 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12479 | if (!SWIG_IsOK(ecode2)) { | |
12480 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12481 | } | |
12482 | arg2 = static_cast< int >(val2); | |
12483 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12484 | |
12485 | resultobj = SWIG_Py_Void(); | |
12486 | return resultobj; | |
12487 | fail: | |
12488 | return NULL; | |
12489 | } | |
12490 | ||
12491 | ||
5172800e | 12492 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12493 | PyObject *resultobj = 0; |
5172800e RD |
12494 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12495 | int result; | |
d95b9f2b RD |
12496 | void *argp1 = 0 ; |
12497 | int res1 = 0 ; | |
12498 | PyObject *swig_obj[1] ; | |
12499 | ||
12500 | if (!args) SWIG_fail; | |
12501 | swig_obj[0] = args; | |
5172800e | 12502 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12503 | if (!SWIG_IsOK(res1)) { |
5172800e | 12504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12505 | } |
5172800e RD |
12506 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12507 | result = (int) ((arg1)->cur_state); | |
12508 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12509 | return resultobj; |
12510 | fail: | |
12511 | return NULL; | |
12512 | } | |
12513 | ||
12514 | ||
5172800e | 12515 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12516 | PyObject *resultobj = 0; |
5172800e RD |
12517 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12518 | int arg2 ; | |
1eeb270e RD |
12519 | void *argp1 = 0 ; |
12520 | int res1 = 0 ; | |
5172800e RD |
12521 | int val2 ; |
12522 | int ecode2 = 0 ; | |
1eeb270e RD |
12523 | PyObject *swig_obj[2] ; |
12524 | ||
5172800e RD |
12525 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12526 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
1eeb270e | 12527 | if (!SWIG_IsOK(res1)) { |
5172800e | 12528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12529 | } |
5172800e RD |
12530 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12531 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12532 | if (!SWIG_IsOK(ecode2)) { | |
12533 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12534 | } | |
12535 | arg2 = static_cast< int >(val2); | |
12536 | if (arg1) (arg1)->location = arg2; | |
1eeb270e RD |
12537 | |
12538 | resultobj = SWIG_Py_Void(); | |
12539 | return resultobj; | |
12540 | fail: | |
12541 | return NULL; | |
12542 | } | |
12543 | ||
12544 | ||
5172800e | 12545 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12546 | PyObject *resultobj = 0; |
5172800e RD |
12547 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12548 | int result; | |
1eeb270e RD |
12549 | void *argp1 = 0 ; |
12550 | int res1 = 0 ; | |
12551 | PyObject *swig_obj[1] ; | |
12552 | ||
12553 | if (!args) SWIG_fail; | |
12554 | swig_obj[0] = args; | |
5172800e | 12555 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
1eeb270e | 12556 | if (!SWIG_IsOK(res1)) { |
5172800e | 12557 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12558 | } |
5172800e RD |
12559 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12560 | result = (int) ((arg1)->location); | |
12561 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
1eeb270e RD |
12562 | return resultobj; |
12563 | fail: | |
12564 | return NULL; | |
12565 | } | |
12566 | ||
12567 | ||
5172800e | 12568 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12569 | PyObject *resultobj = 0; |
5172800e RD |
12570 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12571 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
1eeb270e RD |
12572 | void *argp1 = 0 ; |
12573 | int res1 = 0 ; | |
5172800e RD |
12574 | void *argp2 = 0 ; |
12575 | int res2 = 0 ; | |
1eeb270e RD |
12576 | PyObject *swig_obj[2] ; |
12577 | ||
5172800e RD |
12578 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12579 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
1eeb270e | 12580 | if (!SWIG_IsOK(res1)) { |
5172800e | 12581 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12582 | } |
5172800e RD |
12583 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12584 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12585 | if (!SWIG_IsOK(res2)) { | |
12586 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
1eeb270e | 12587 | } |
5172800e RD |
12588 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12589 | if (arg1) (arg1)->bitmap = *arg2; | |
1eeb270e RD |
12590 | |
12591 | resultobj = SWIG_Py_Void(); | |
1eeb270e RD |
12592 | return resultobj; |
12593 | fail: | |
1eeb270e RD |
12594 | return NULL; |
12595 | } | |
12596 | ||
12597 | ||
5172800e | 12598 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12599 | PyObject *resultobj = 0; |
5172800e RD |
12600 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12601 | wxBitmap *result = 0 ; | |
1eeb270e RD |
12602 | void *argp1 = 0 ; |
12603 | int res1 = 0 ; | |
12604 | PyObject *swig_obj[1] ; | |
12605 | ||
12606 | if (!args) SWIG_fail; | |
12607 | swig_obj[0] = args; | |
5172800e RD |
12608 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12609 | if (!SWIG_IsOK(res1)) { | |
12610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
1eeb270e | 12611 | } |
5172800e RD |
12612 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12613 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12614 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
1eeb270e RD |
12615 | return resultobj; |
12616 | fail: | |
12617 | return NULL; | |
12618 | } | |
12619 | ||
12620 | ||
5172800e | 12621 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12622 | PyObject *resultobj = 0; |
5172800e | 12623 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
1eeb270e RD |
12624 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12625 | void *argp1 = 0 ; | |
12626 | int res1 = 0 ; | |
12627 | void *argp2 = 0 ; | |
12628 | int res2 = 0 ; | |
12629 | PyObject *swig_obj[2] ; | |
12630 | ||
5172800e RD |
12631 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12632 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
1eeb270e | 12633 | if (!SWIG_IsOK(res1)) { |
5172800e | 12634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12635 | } |
5172800e | 12636 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
1eeb270e RD |
12637 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12638 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12639 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
1eeb270e RD |
12640 | } |
12641 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12642 | if (arg1) (arg1)->dis_bitmap = *arg2; |
1eeb270e RD |
12643 | |
12644 | resultobj = SWIG_Py_Void(); | |
12645 | return resultobj; | |
12646 | fail: | |
12647 | return NULL; | |
12648 | } | |
12649 | ||
12650 | ||
5172800e | 12651 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12652 | PyObject *resultobj = 0; |
5172800e | 12653 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
1eeb270e RD |
12654 | wxBitmap *result = 0 ; |
12655 | void *argp1 = 0 ; | |
12656 | int res1 = 0 ; | |
12657 | PyObject *swig_obj[1] ; | |
12658 | ||
12659 | if (!args) SWIG_fail; | |
12660 | swig_obj[0] = args; | |
5172800e | 12661 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
1eeb270e | 12662 | if (!SWIG_IsOK(res1)) { |
5172800e | 12663 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12664 | } |
5172800e RD |
12665 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12666 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
1eeb270e RD |
12667 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12668 | return resultobj; | |
12669 | fail: | |
12670 | return NULL; | |
12671 | } | |
12672 | ||
12673 | ||
5172800e | 12674 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12675 | PyObject *resultobj = 0; |
5172800e | 12676 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
1eeb270e RD |
12677 | wxRect *arg2 = (wxRect *) 0 ; |
12678 | void *argp1 = 0 ; | |
12679 | int res1 = 0 ; | |
12680 | void *argp2 = 0 ; | |
12681 | int res2 = 0 ; | |
12682 | PyObject *swig_obj[2] ; | |
12683 | ||
5172800e RD |
12684 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
1eeb270e | 12686 | if (!SWIG_IsOK(res1)) { |
5172800e | 12687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12688 | } |
5172800e | 12689 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
1eeb270e RD |
12690 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12691 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12692 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
1eeb270e RD |
12693 | } |
12694 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12695 | if (arg1) (arg1)->rect = *arg2; | |
12696 | ||
12697 | resultobj = SWIG_Py_Void(); | |
12698 | return resultobj; | |
12699 | fail: | |
12700 | return NULL; | |
12701 | } | |
12702 | ||
12703 | ||
5172800e | 12704 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 12705 | PyObject *resultobj = 0; |
5172800e | 12706 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
1eeb270e RD |
12707 | wxRect *result = 0 ; |
12708 | void *argp1 = 0 ; | |
12709 | int res1 = 0 ; | |
12710 | PyObject *swig_obj[1] ; | |
12711 | ||
12712 | if (!args) SWIG_fail; | |
12713 | swig_obj[0] = args; | |
5172800e | 12714 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
1eeb270e | 12715 | if (!SWIG_IsOK(res1)) { |
5172800e | 12716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
1eeb270e | 12717 | } |
5172800e | 12718 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
1eeb270e RD |
12719 | result = (wxRect *)& ((arg1)->rect); |
12720 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12721 | return resultobj; | |
12722 | fail: | |
12723 | return NULL; | |
12724 | } | |
12725 | ||
12726 | ||
5172800e RD |
12727 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12728 | PyObject *obj; | |
12729 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12730 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12731 | return SWIG_Py_Void(); | |
12732 | } | |
12733 | ||
12734 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
1eeb270e | 12735 | PyObject *resultobj = 0; |
5172800e | 12736 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
1eeb270e RD |
12737 | void *argp1 = 0 ; |
12738 | int res1 = 0 ; | |
5172800e RD |
12739 | PyObject *swig_obj[1] ; |
12740 | ||
12741 | if (!args) SWIG_fail; | |
12742 | swig_obj[0] = args; | |
12743 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12744 | if (!SWIG_IsOK(res1)) { | |
12745 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12746 | } | |
12747 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12748 | { | |
12749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12750 | delete arg1; | |
12751 | ||
12752 | wxPyEndAllowThreads(__tstate); | |
12753 | if (PyErr_Occurred()) SWIG_fail; | |
12754 | } | |
12755 | resultobj = SWIG_Py_Void(); | |
12756 | return resultobj; | |
12757 | fail: | |
12758 | return NULL; | |
12759 | } | |
12760 | ||
12761 | ||
12762 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12763 | PyObject *resultobj = 0; | |
12764 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12765 | wxAuiTabArt *result = 0 ; | |
12766 | void *argp1 = 0 ; | |
12767 | int res1 = 0 ; | |
12768 | PyObject *swig_obj[1] ; | |
12769 | ||
12770 | if (!args) SWIG_fail; | |
12771 | swig_obj[0] = args; | |
12772 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12773 | if (!SWIG_IsOK(res1)) { | |
12774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12775 | } | |
12776 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12777 | { | |
12778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12779 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12780 | wxPyEndAllowThreads(__tstate); | |
12781 | if (PyErr_Occurred()) SWIG_fail; | |
12782 | } | |
12783 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12784 | return resultobj; | |
12785 | fail: | |
12786 | return NULL; | |
12787 | } | |
12788 | ||
12789 | ||
12790 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12791 | PyObject *resultobj = 0; | |
12792 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12793 | int arg2 ; | |
12794 | void *argp1 = 0 ; | |
12795 | int res1 = 0 ; | |
12796 | int val2 ; | |
1eeb270e | 12797 | int ecode2 = 0 ; |
5172800e RD |
12798 | PyObject * obj0 = 0 ; |
12799 | PyObject * obj1 = 0 ; | |
12800 | char * kwnames[] = { | |
12801 | (char *) "self",(char *) "flags", NULL | |
12802 | }; | |
1eeb270e | 12803 | |
5172800e RD |
12804 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12805 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 12806 | if (!SWIG_IsOK(res1)) { |
5172800e | 12807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
1eeb270e | 12808 | } |
5172800e RD |
12809 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12810 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
1eeb270e | 12811 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12812 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
1eeb270e | 12813 | } |
5172800e RD |
12814 | arg2 = static_cast< int >(val2); |
12815 | { | |
12816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12817 | (arg1)->SetFlags(arg2); | |
12818 | wxPyEndAllowThreads(__tstate); | |
12819 | if (PyErr_Occurred()) SWIG_fail; | |
12820 | } | |
12821 | resultobj = SWIG_Py_Void(); | |
12822 | return resultobj; | |
12823 | fail: | |
12824 | return NULL; | |
12825 | } | |
12826 | ||
12827 | ||
12828 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12829 | PyObject *resultobj = 0; | |
12830 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12831 | wxSize *arg2 = 0 ; | |
12832 | size_t arg3 ; | |
12833 | void *argp1 = 0 ; | |
12834 | int res1 = 0 ; | |
12835 | wxSize temp2 ; | |
12836 | size_t val3 ; | |
12837 | int ecode3 = 0 ; | |
12838 | PyObject * obj0 = 0 ; | |
12839 | PyObject * obj1 = 0 ; | |
12840 | PyObject * obj2 = 0 ; | |
12841 | char * kwnames[] = { | |
12842 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12843 | }; | |
1eeb270e | 12844 | |
5172800e RD |
12845 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12846 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12847 | if (!SWIG_IsOK(res1)) { | |
12848 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12849 | } | |
12850 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12851 | { | |
12852 | arg2 = &temp2; | |
12853 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12854 | } | |
12855 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12856 | if (!SWIG_IsOK(ecode3)) { | |
12857 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12858 | } | |
12859 | arg3 = static_cast< size_t >(val3); | |
12860 | { | |
12861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12862 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12863 | wxPyEndAllowThreads(__tstate); | |
12864 | if (PyErr_Occurred()) SWIG_fail; | |
12865 | } | |
1eeb270e RD |
12866 | resultobj = SWIG_Py_Void(); |
12867 | return resultobj; | |
12868 | fail: | |
12869 | return NULL; | |
12870 | } | |
12871 | ||
12872 | ||
5172800e | 12873 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 12874 | PyObject *resultobj = 0; |
5172800e RD |
12875 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12876 | wxFont *arg2 = 0 ; | |
1eeb270e RD |
12877 | void *argp1 = 0 ; |
12878 | int res1 = 0 ; | |
5172800e RD |
12879 | void *argp2 = 0 ; |
12880 | int res2 = 0 ; | |
12881 | PyObject * obj0 = 0 ; | |
12882 | PyObject * obj1 = 0 ; | |
12883 | char * kwnames[] = { | |
12884 | (char *) "self",(char *) "font", NULL | |
12885 | }; | |
1eeb270e | 12886 | |
5172800e RD |
12887 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12888 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 12889 | if (!SWIG_IsOK(res1)) { |
5172800e | 12890 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
1eeb270e | 12891 | } |
5172800e RD |
12892 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12893 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12894 | if (!SWIG_IsOK(res2)) { | |
12895 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12896 | } | |
12897 | if (!argp2) { | |
12898 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12899 | } | |
12900 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12901 | { | |
12902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12903 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12904 | wxPyEndAllowThreads(__tstate); | |
12905 | if (PyErr_Occurred()) SWIG_fail; | |
12906 | } | |
12907 | resultobj = SWIG_Py_Void(); | |
12908 | return resultobj; | |
12909 | fail: | |
12910 | return NULL; | |
12911 | } | |
12912 | ||
12913 | ||
12914 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12915 | PyObject *resultobj = 0; | |
12916 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12917 | wxFont *arg2 = 0 ; | |
12918 | void *argp1 = 0 ; | |
12919 | int res1 = 0 ; | |
12920 | void *argp2 = 0 ; | |
12921 | int res2 = 0 ; | |
12922 | PyObject * obj0 = 0 ; | |
12923 | PyObject * obj1 = 0 ; | |
12924 | char * kwnames[] = { | |
12925 | (char *) "self",(char *) "font", NULL | |
12926 | }; | |
12927 | ||
12928 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12929 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12930 | if (!SWIG_IsOK(res1)) { | |
12931 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12932 | } | |
12933 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12934 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12935 | if (!SWIG_IsOK(res2)) { | |
12936 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12937 | } | |
12938 | if (!argp2) { | |
12939 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12940 | } | |
12941 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
1eeb270e | 12942 | { |
5172800e RD |
12943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12944 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12945 | wxPyEndAllowThreads(__tstate); | |
12946 | if (PyErr_Occurred()) SWIG_fail; | |
1eeb270e | 12947 | } |
5172800e | 12948 | resultobj = SWIG_Py_Void(); |
1eeb270e RD |
12949 | return resultobj; |
12950 | fail: | |
12951 | return NULL; | |
12952 | } | |
12953 | ||
12954 | ||
5172800e | 12955 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 12956 | PyObject *resultobj = 0; |
5172800e RD |
12957 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12958 | wxFont *arg2 = 0 ; | |
1eeb270e RD |
12959 | void *argp1 = 0 ; |
12960 | int res1 = 0 ; | |
5172800e RD |
12961 | void *argp2 = 0 ; |
12962 | int res2 = 0 ; | |
12963 | PyObject * obj0 = 0 ; | |
12964 | PyObject * obj1 = 0 ; | |
12965 | char * kwnames[] = { | |
12966 | (char *) "self",(char *) "font", NULL | |
12967 | }; | |
1eeb270e | 12968 | |
5172800e RD |
12969 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12970 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 12971 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12972 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
12973 | } | |
12974 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12975 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12976 | if (!SWIG_IsOK(res2)) { | |
12977 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12978 | } | |
12979 | if (!argp2) { | |
12980 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12981 | } | |
12982 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12983 | { | |
12984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12985 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
12986 | wxPyEndAllowThreads(__tstate); | |
12987 | if (PyErr_Occurred()) SWIG_fail; | |
1eeb270e | 12988 | } |
1eeb270e RD |
12989 | resultobj = SWIG_Py_Void(); |
12990 | return resultobj; | |
12991 | fail: | |
12992 | return NULL; | |
12993 | } | |
12994 | ||
12995 | ||
5172800e | 12996 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 12997 | PyObject *resultobj = 0; |
5172800e RD |
12998 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12999 | wxDC *arg2 = 0 ; | |
13000 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13001 | wxRect *arg4 = 0 ; | |
1eeb270e RD |
13002 | void *argp1 = 0 ; |
13003 | int res1 = 0 ; | |
5172800e RD |
13004 | void *argp2 = 0 ; |
13005 | int res2 = 0 ; | |
13006 | void *argp3 = 0 ; | |
13007 | int res3 = 0 ; | |
13008 | wxRect temp4 ; | |
13009 | PyObject * obj0 = 0 ; | |
13010 | PyObject * obj1 = 0 ; | |
13011 | PyObject * obj2 = 0 ; | |
13012 | PyObject * obj3 = 0 ; | |
13013 | char * kwnames[] = { | |
13014 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
13015 | }; | |
1eeb270e | 13016 | |
5172800e RD |
13017 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13018 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 13019 | if (!SWIG_IsOK(res1)) { |
5172800e | 13020 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
1eeb270e | 13021 | } |
5172800e RD |
13022 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13023 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13024 | if (!SWIG_IsOK(res2)) { | |
13025 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13026 | } | |
13027 | if (!argp2) { | |
13028 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13029 | } | |
13030 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13031 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13032 | if (!SWIG_IsOK(res3)) { | |
13033 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13034 | } | |
13035 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13036 | { | |
13037 | arg4 = &temp4; | |
13038 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13039 | } | |
13040 | { | |
13041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13042 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
13043 | wxPyEndAllowThreads(__tstate); | |
13044 | if (PyErr_Occurred()) SWIG_fail; | |
13045 | } | |
13046 | resultobj = SWIG_Py_Void(); | |
1eeb270e RD |
13047 | return resultobj; |
13048 | fail: | |
13049 | return NULL; | |
13050 | } | |
13051 | ||
13052 | ||
5172800e | 13053 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 13054 | PyObject *resultobj = 0; |
5172800e RD |
13055 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13056 | wxDC *arg2 = 0 ; | |
13057 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13058 | wxRect *arg4 = 0 ; | |
13059 | wxString *arg5 = 0 ; | |
13060 | wxBitmap *arg6 = 0 ; | |
13061 | bool arg7 ; | |
13062 | int arg8 ; | |
13063 | wxRect *arg9 = (wxRect *) 0 ; | |
13064 | wxRect *arg10 = (wxRect *) 0 ; | |
13065 | int *arg11 = (int *) 0 ; | |
1eeb270e RD |
13066 | void *argp1 = 0 ; |
13067 | int res1 = 0 ; | |
5172800e RD |
13068 | void *argp2 = 0 ; |
13069 | int res2 = 0 ; | |
13070 | void *argp3 = 0 ; | |
13071 | int res3 = 0 ; | |
13072 | wxRect temp4 ; | |
13073 | bool temp5 = false ; | |
13074 | void *argp6 = 0 ; | |
13075 | int res6 = 0 ; | |
13076 | bool val7 ; | |
13077 | int ecode7 = 0 ; | |
13078 | int val8 ; | |
13079 | int ecode8 = 0 ; | |
13080 | void *argp9 = 0 ; | |
13081 | int res9 = 0 ; | |
13082 | void *argp10 = 0 ; | |
13083 | int res10 = 0 ; | |
13084 | void *argp11 = 0 ; | |
13085 | int res11 = 0 ; | |
13086 | PyObject * obj0 = 0 ; | |
13087 | PyObject * obj1 = 0 ; | |
13088 | PyObject * obj2 = 0 ; | |
13089 | PyObject * obj3 = 0 ; | |
13090 | PyObject * obj4 = 0 ; | |
13091 | PyObject * obj5 = 0 ; | |
13092 | PyObject * obj6 = 0 ; | |
13093 | PyObject * obj7 = 0 ; | |
13094 | PyObject * obj8 = 0 ; | |
13095 | PyObject * obj9 = 0 ; | |
13096 | PyObject * obj10 = 0 ; | |
13097 | char * kwnames[] = { | |
13098 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL | |
13099 | }; | |
1eeb270e | 13100 | |
5172800e RD |
13101 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; |
13102 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 13103 | if (!SWIG_IsOK(res1)) { |
5172800e | 13104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
1eeb270e | 13105 | } |
5172800e RD |
13106 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13107 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13108 | if (!SWIG_IsOK(res2)) { | |
13109 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13110 | } | |
13111 | if (!argp2) { | |
13112 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13113 | } | |
13114 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13115 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13116 | if (!SWIG_IsOK(res3)) { | |
13117 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13118 | } | |
13119 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13120 | { | |
13121 | arg4 = &temp4; | |
13122 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13123 | } | |
13124 | { | |
13125 | arg5 = wxString_in_helper(obj4); | |
13126 | if (arg5 == NULL) SWIG_fail; | |
13127 | temp5 = true; | |
13128 | } | |
13129 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13130 | if (!SWIG_IsOK(res6)) { | |
13131 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
13132 | } | |
13133 | if (!argp6) { | |
13134 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'"); | |
13135 | } | |
13136 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
13137 | ecode7 = SWIG_AsVal_bool(obj6, &val7); | |
13138 | if (!SWIG_IsOK(ecode7)) { | |
13139 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "bool""'"); | |
1eeb270e | 13140 | } |
5172800e RD |
13141 | arg7 = static_cast< bool >(val7); |
13142 | ecode8 = SWIG_AsVal_int(obj7, &val8); | |
13143 | if (!SWIG_IsOK(ecode8)) { | |
13144 | SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "int""'"); | |
13145 | } | |
13146 | arg8 = static_cast< int >(val8); | |
13147 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13148 | if (!SWIG_IsOK(res9)) { | |
13149 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'"); | |
13150 | } | |
13151 | arg9 = reinterpret_cast< wxRect * >(argp9); | |
13152 | res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13153 | if (!SWIG_IsOK(res10)) { | |
13154 | SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "wxRect *""'"); | |
13155 | } | |
13156 | arg10 = reinterpret_cast< wxRect * >(argp10); | |
13157 | res11 = SWIG_ConvertPtr(obj10, &argp11,SWIGTYPE_p_int, 0 | 0 ); | |
13158 | if (!SWIG_IsOK(res11)) { | |
13159 | SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "AuiTabArt_DrawTab" "', expected argument " "11"" of type '" "int *""'"); | |
13160 | } | |
13161 | arg11 = reinterpret_cast< int * >(argp11); | |
13162 | { | |
13163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13164 | (arg1)->DrawTab(*arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,(wxBitmap const &)*arg6,arg7,arg8,arg9,arg10,arg11); | |
13165 | wxPyEndAllowThreads(__tstate); | |
13166 | if (PyErr_Occurred()) SWIG_fail; | |
13167 | } | |
1eeb270e | 13168 | resultobj = SWIG_Py_Void(); |
5172800e RD |
13169 | { |
13170 | if (temp5) | |
13171 | delete arg5; | |
13172 | } | |
1eeb270e RD |
13173 | return resultobj; |
13174 | fail: | |
5172800e RD |
13175 | { |
13176 | if (temp5) | |
13177 | delete arg5; | |
13178 | } | |
1eeb270e RD |
13179 | return NULL; |
13180 | } | |
13181 | ||
13182 | ||
5172800e | 13183 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 13184 | PyObject *resultobj = 0; |
5172800e RD |
13185 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13186 | wxDC *arg2 = 0 ; | |
13187 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13188 | wxRect *arg4 = 0 ; | |
13189 | int arg5 ; | |
13190 | int arg6 ; | |
13191 | int arg7 ; | |
13192 | wxBitmap *arg8 = 0 ; | |
13193 | wxRect *arg9 = (wxRect *) 0 ; | |
1eeb270e RD |
13194 | void *argp1 = 0 ; |
13195 | int res1 = 0 ; | |
5172800e RD |
13196 | void *argp2 = 0 ; |
13197 | int res2 = 0 ; | |
13198 | void *argp3 = 0 ; | |
13199 | int res3 = 0 ; | |
13200 | wxRect temp4 ; | |
13201 | int val5 ; | |
13202 | int ecode5 = 0 ; | |
13203 | int val6 ; | |
13204 | int ecode6 = 0 ; | |
13205 | int val7 ; | |
13206 | int ecode7 = 0 ; | |
13207 | void *argp8 = 0 ; | |
13208 | int res8 = 0 ; | |
13209 | void *argp9 = 0 ; | |
13210 | int res9 = 0 ; | |
13211 | PyObject * obj0 = 0 ; | |
13212 | PyObject * obj1 = 0 ; | |
13213 | PyObject * obj2 = 0 ; | |
13214 | PyObject * obj3 = 0 ; | |
13215 | PyObject * obj4 = 0 ; | |
13216 | PyObject * obj5 = 0 ; | |
13217 | PyObject * obj6 = 0 ; | |
13218 | PyObject * obj7 = 0 ; | |
13219 | PyObject * obj8 = 0 ; | |
13220 | char * kwnames[] = { | |
13221 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL | |
13222 | }; | |
1eeb270e | 13223 | |
5172800e RD |
13224 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
13225 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 13226 | if (!SWIG_IsOK(res1)) { |
5172800e | 13227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
1eeb270e | 13228 | } |
5172800e RD |
13229 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13230 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13231 | if (!SWIG_IsOK(res2)) { | |
13232 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 13233 | } |
5172800e RD |
13234 | if (!argp2) { |
13235 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13236 | } | |
13237 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13238 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13239 | if (!SWIG_IsOK(res3)) { | |
13240 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13241 | } | |
13242 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13243 | { | |
13244 | arg4 = &temp4; | |
13245 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13246 | } | |
13247 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13248 | if (!SWIG_IsOK(ecode5)) { | |
13249 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 13250 | } |
5172800e RD |
13251 | arg5 = static_cast< int >(val5); |
13252 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13253 | if (!SWIG_IsOK(ecode6)) { | |
13254 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
13255 | } | |
13256 | arg6 = static_cast< int >(val6); | |
13257 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13258 | if (!SWIG_IsOK(ecode7)) { | |
13259 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
13260 | } | |
13261 | arg7 = static_cast< int >(val7); | |
13262 | res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13263 | if (!SWIG_IsOK(res8)) { | |
13264 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
13265 | } | |
13266 | if (!argp8) { | |
13267 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); | |
13268 | } | |
13269 | arg8 = reinterpret_cast< wxBitmap * >(argp8); | |
13270 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13271 | if (!SWIG_IsOK(res9)) { | |
13272 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'"); | |
13273 | } | |
13274 | arg9 = reinterpret_cast< wxRect * >(argp9); | |
13275 | { | |
13276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13277 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9); | |
13278 | wxPyEndAllowThreads(__tstate); | |
13279 | if (PyErr_Occurred()) SWIG_fail; | |
13280 | } | |
5c8c7dd3 RD |
13281 | resultobj = SWIG_Py_Void(); |
13282 | return resultobj; | |
13283 | fail: | |
13284 | return NULL; | |
13285 | } | |
13286 | ||
13287 | ||
5172800e | 13288 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 13289 | PyObject *resultobj = 0; |
5172800e | 13290 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13291 | int result; |
13292 | void *argp1 = 0 ; | |
13293 | int res1 = 0 ; | |
13294 | PyObject *swig_obj[1] ; | |
13295 | ||
13296 | if (!args) SWIG_fail; | |
13297 | swig_obj[0] = args; | |
5172800e | 13298 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13299 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13301 | } | |
13302 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13303 | { | |
13304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13305 | result = (int)(arg1)->GetIndentSize(); | |
13306 | wxPyEndAllowThreads(__tstate); | |
13307 | if (PyErr_Occurred()) SWIG_fail; | |
5c8c7dd3 | 13308 | } |
5c8c7dd3 RD |
13309 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13310 | return resultobj; | |
13311 | fail: | |
13312 | return NULL; | |
13313 | } | |
13314 | ||
13315 | ||
5172800e | 13316 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 13317 | PyObject *resultobj = 0; |
5172800e RD |
13318 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13319 | wxDC *arg2 = 0 ; | |
13320 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13321 | wxString *arg4 = 0 ; | |
13322 | wxBitmap *arg5 = 0 ; | |
13323 | bool arg6 ; | |
13324 | int arg7 ; | |
13325 | int *arg8 = (int *) 0 ; | |
13326 | wxSize result; | |
1eeb270e RD |
13327 | void *argp1 = 0 ; |
13328 | int res1 = 0 ; | |
13329 | void *argp2 = 0 ; | |
13330 | int res2 = 0 ; | |
5172800e RD |
13331 | void *argp3 = 0 ; |
13332 | int res3 = 0 ; | |
13333 | bool temp4 = false ; | |
13334 | void *argp5 = 0 ; | |
13335 | int res5 = 0 ; | |
13336 | bool val6 ; | |
13337 | int ecode6 = 0 ; | |
13338 | int val7 ; | |
13339 | int ecode7 = 0 ; | |
13340 | void *argp8 = 0 ; | |
13341 | int res8 = 0 ; | |
13342 | PyObject * obj0 = 0 ; | |
13343 | PyObject * obj1 = 0 ; | |
13344 | PyObject * obj2 = 0 ; | |
13345 | PyObject * obj3 = 0 ; | |
13346 | PyObject * obj4 = 0 ; | |
13347 | PyObject * obj5 = 0 ; | |
13348 | PyObject * obj6 = 0 ; | |
13349 | PyObject * obj7 = 0 ; | |
13350 | char * kwnames[] = { | |
13351 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13352 | }; | |
1eeb270e | 13353 | |
5172800e RD |
13354 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13355 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 13356 | if (!SWIG_IsOK(res1)) { |
5172800e | 13357 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
1eeb270e | 13358 | } |
5172800e RD |
13359 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13360 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
1eeb270e | 13361 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13362 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13363 | } | |
13364 | if (!argp2) { | |
13365 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13366 | } | |
13367 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13368 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13369 | if (!SWIG_IsOK(res3)) { | |
13370 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13371 | } | |
13372 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13373 | { | |
13374 | arg4 = wxString_in_helper(obj3); | |
13375 | if (arg4 == NULL) SWIG_fail; | |
13376 | temp4 = true; | |
13377 | } | |
13378 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13379 | if (!SWIG_IsOK(res5)) { | |
13380 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13381 | } | |
13382 | if (!argp5) { | |
13383 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13384 | } | |
13385 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13386 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13387 | if (!SWIG_IsOK(ecode6)) { | |
13388 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13389 | } | |
13390 | arg6 = static_cast< bool >(val6); | |
13391 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13392 | if (!SWIG_IsOK(ecode7)) { | |
13393 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13394 | } | |
13395 | arg7 = static_cast< int >(val7); | |
13396 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13397 | if (!SWIG_IsOK(res8)) { | |
13398 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13399 | } | |
13400 | arg8 = reinterpret_cast< int * >(argp8); | |
13401 | { | |
13402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13403 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13404 | wxPyEndAllowThreads(__tstate); | |
13405 | if (PyErr_Occurred()) SWIG_fail; | |
13406 | } | |
13407 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13408 | { | |
13409 | if (temp4) | |
13410 | delete arg4; | |
1eeb270e | 13411 | } |
1eeb270e RD |
13412 | return resultobj; |
13413 | fail: | |
5172800e RD |
13414 | { |
13415 | if (temp4) | |
13416 | delete arg4; | |
13417 | } | |
1eeb270e RD |
13418 | return NULL; |
13419 | } | |
13420 | ||
13421 | ||
5172800e | 13422 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 13423 | PyObject *resultobj = 0; |
5172800e RD |
13424 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13425 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13426 | wxArrayString *arg3 = 0 ; | |
13427 | int arg4 ; | |
13428 | int result; | |
1eeb270e RD |
13429 | void *argp1 = 0 ; |
13430 | int res1 = 0 ; | |
5172800e RD |
13431 | void *argp2 = 0 ; |
13432 | int res2 = 0 ; | |
13433 | bool temp3 = false ; | |
13434 | int val4 ; | |
13435 | int ecode4 = 0 ; | |
13436 | PyObject * obj0 = 0 ; | |
13437 | PyObject * obj1 = 0 ; | |
13438 | PyObject * obj2 = 0 ; | |
13439 | PyObject * obj3 = 0 ; | |
13440 | char * kwnames[] = { | |
13441 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13442 | }; | |
1eeb270e | 13443 | |
5172800e RD |
13444 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13445 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
1eeb270e | 13446 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13447 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13448 | } | |
13449 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13450 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13451 | if (!SWIG_IsOK(res2)) { | |
13452 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13453 | } | |
13454 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13455 | { | |
13456 | if (! PySequence_Check(obj2)) { | |
13457 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
13458 | SWIG_fail; | |
13459 | } | |
13460 | arg3 = new wxArrayString; | |
13461 | temp3 = true; | |
13462 | int i, len=PySequence_Length(obj2); | |
13463 | for (i=0; i<len; i++) { | |
13464 | PyObject* item = PySequence_GetItem(obj2, i); | |
13465 | wxString* s = wxString_in_helper(item); | |
13466 | if (PyErr_Occurred()) SWIG_fail; | |
13467 | arg3->Add(*s); | |
13468 | delete s; | |
13469 | Py_DECREF(item); | |
13470 | } | |
13471 | } | |
13472 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
13473 | if (!SWIG_IsOK(ecode4)) { | |
13474 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'"); | |
13475 | } | |
13476 | arg4 = static_cast< int >(val4); | |
13477 | { | |
13478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13479 | result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4); | |
13480 | wxPyEndAllowThreads(__tstate); | |
13481 | if (PyErr_Occurred()) SWIG_fail; | |
13482 | } | |
13483 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13484 | { | |
13485 | if (temp3) delete arg3; | |
1eeb270e | 13486 | } |
1eeb270e RD |
13487 | return resultobj; |
13488 | fail: | |
5172800e RD |
13489 | { |
13490 | if (temp3) delete arg3; | |
13491 | } | |
1eeb270e RD |
13492 | return NULL; |
13493 | } | |
13494 | ||
13495 | ||
5172800e | 13496 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 13497 | PyObject *resultobj = 0; |
5172800e RD |
13498 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13499 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13500 | wxAuiNotebookPageArray *arg3 = 0 ; | |
8287c33f | 13501 | wxSize *arg4 = 0 ; |
5172800e | 13502 | int result; |
8f514ab4 RD |
13503 | void *argp1 = 0 ; |
13504 | int res1 = 0 ; | |
13505 | void *argp2 = 0 ; | |
13506 | int res2 = 0 ; | |
5172800e RD |
13507 | void *argp3 = 0 ; |
13508 | int res3 = 0 ; | |
8287c33f | 13509 | wxSize temp4 ; |
5172800e RD |
13510 | PyObject * obj0 = 0 ; |
13511 | PyObject * obj1 = 0 ; | |
13512 | PyObject * obj2 = 0 ; | |
8287c33f | 13513 | PyObject * obj3 = 0 ; |
5172800e | 13514 | char * kwnames[] = { |
8287c33f | 13515 | (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL |
5172800e | 13516 | }; |
8f514ab4 | 13517 | |
8287c33f | 13518 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13519 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
8f514ab4 | 13520 | if (!SWIG_IsOK(res1)) { |
5172800e | 13521 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 13522 | } |
5172800e RD |
13523 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13524 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8f514ab4 | 13525 | if (!SWIG_IsOK(res2)) { |
5172800e | 13526 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
8f514ab4 | 13527 | } |
5172800e RD |
13528 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
13529 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 ); | |
13530 | if (!SWIG_IsOK(res3)) { | |
13531 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'"); | |
13532 | } | |
13533 | if (!argp3) { | |
13534 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'"); | |
13535 | } | |
13536 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); | |
8287c33f RD |
13537 | { |
13538 | arg4 = &temp4; | |
13539 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13540 | } | |
5172800e RD |
13541 | { |
13542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8287c33f | 13543 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,*arg3,(wxSize const &)*arg4); |
5172800e RD |
13544 | wxPyEndAllowThreads(__tstate); |
13545 | if (PyErr_Occurred()) SWIG_fail; | |
13546 | } | |
13547 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13548 | return resultobj; | |
13549 | fail: | |
13550 | return NULL; | |
13551 | } | |
13552 | ||
13553 | ||
13554 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13555 | PyObject *obj; | |
13556 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13557 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); | |
13558 | return SWIG_Py_Void(); | |
13559 | } | |
13560 | ||
13561 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13562 | PyObject *resultobj = 0; | |
13563 | wxAuiDefaultTabArt *result = 0 ; | |
8f514ab4 | 13564 | |
5172800e RD |
13565 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
13566 | { | |
13567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13568 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); | |
13569 | wxPyEndAllowThreads(__tstate); | |
13570 | if (PyErr_Occurred()) SWIG_fail; | |
13571 | } | |
13572 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
8f514ab4 RD |
13573 | return resultobj; |
13574 | fail: | |
13575 | return NULL; | |
13576 | } | |
13577 | ||
13578 | ||
5172800e | 13579 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 13580 | PyObject *resultobj = 0; |
5172800e | 13581 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
8f514ab4 RD |
13582 | void *argp1 = 0 ; |
13583 | int res1 = 0 ; | |
13584 | PyObject *swig_obj[1] ; | |
13585 | ||
13586 | if (!args) SWIG_fail; | |
13587 | swig_obj[0] = args; | |
5172800e | 13588 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
8f514ab4 | 13589 | if (!SWIG_IsOK(res1)) { |
5172800e | 13590 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
8f514ab4 | 13591 | } |
5172800e RD |
13592 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
13593 | { | |
13594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13595 | delete arg1; | |
13596 | ||
13597 | wxPyEndAllowThreads(__tstate); | |
13598 | if (PyErr_Occurred()) SWIG_fail; | |
13599 | } | |
13600 | resultobj = SWIG_Py_Void(); | |
8f514ab4 RD |
13601 | return resultobj; |
13602 | fail: | |
13603 | return NULL; | |
13604 | } | |
13605 | ||
13606 | ||
5172800e RD |
13607 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13608 | PyObject *obj; | |
13609 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13610 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); | |
13611 | return SWIG_Py_Void(); | |
13612 | } | |
13613 | ||
13614 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13615 | return SWIG_Python_InitShadowInstance(args); | |
13616 | } | |
13617 | ||
13618 | SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
1eeb270e | 13619 | PyObject *resultobj = 0; |
5172800e | 13620 | wxAuiSimpleTabArt *result = 0 ; |
1eeb270e | 13621 | |
5172800e RD |
13622 | if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail; |
13623 | { | |
13624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13625 | result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt(); | |
13626 | wxPyEndAllowThreads(__tstate); | |
13627 | if (PyErr_Occurred()) SWIG_fail; | |
1eeb270e | 13628 | } |
5172800e | 13629 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
1eeb270e RD |
13630 | return resultobj; |
13631 | fail: | |
13632 | return NULL; | |
13633 | } | |
13634 | ||
13635 | ||
5172800e | 13636 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 13637 | PyObject *resultobj = 0; |
5172800e | 13638 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
1eeb270e RD |
13639 | void *argp1 = 0 ; |
13640 | int res1 = 0 ; | |
13641 | PyObject *swig_obj[1] ; | |
13642 | ||
13643 | if (!args) SWIG_fail; | |
13644 | swig_obj[0] = args; | |
5172800e | 13645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 ); |
1eeb270e | 13646 | if (!SWIG_IsOK(res1)) { |
5172800e | 13647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
1eeb270e | 13648 | } |
5172800e RD |
13649 | arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1); |
13650 | { | |
13651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13652 | delete arg1; | |
13653 | ||
13654 | wxPyEndAllowThreads(__tstate); | |
13655 | if (PyErr_Occurred()) SWIG_fail; | |
13656 | } | |
13657 | resultobj = SWIG_Py_Void(); | |
1eeb270e RD |
13658 | return resultobj; |
13659 | fail: | |
13660 | return NULL; | |
13661 | } | |
13662 | ||
13663 | ||
5172800e | 13664 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
13665 | PyObject *obj; |
13666 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5172800e | 13667 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj)); |
1eeb270e RD |
13668 | return SWIG_Py_Void(); |
13669 | } | |
13670 | ||
5172800e RD |
13671 | SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13672 | return SWIG_Python_InitShadowInstance(args); | |
13673 | } | |
13674 | ||
1eeb270e RD |
13675 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13676 | PyObject *resultobj = 0; | |
13677 | wxAuiTabContainer *result = 0 ; | |
13678 | ||
13679 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13680 | { | |
13681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13682 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13683 | wxPyEndAllowThreads(__tstate); | |
13684 | if (PyErr_Occurred()) SWIG_fail; | |
13685 | } | |
13686 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13687 | return resultobj; | |
13688 | fail: | |
13689 | return NULL; | |
13690 | } | |
13691 | ||
13692 | ||
13693 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13694 | PyObject *resultobj = 0; | |
13695 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13696 | void *argp1 = 0 ; | |
13697 | int res1 = 0 ; | |
13698 | PyObject *swig_obj[1] ; | |
13699 | ||
13700 | if (!args) SWIG_fail; | |
13701 | swig_obj[0] = args; | |
13702 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13703 | if (!SWIG_IsOK(res1)) { | |
13704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13705 | } | |
13706 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13707 | { | |
13708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13709 | delete arg1; | |
13710 | ||
13711 | wxPyEndAllowThreads(__tstate); | |
13712 | if (PyErr_Occurred()) SWIG_fail; | |
13713 | } | |
13714 | resultobj = SWIG_Py_Void(); | |
13715 | return resultobj; | |
13716 | fail: | |
13717 | return NULL; | |
13718 | } | |
13719 | ||
13720 | ||
5c8c7dd3 RD |
13721 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13722 | PyObject *resultobj = 0; | |
13723 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13724 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13725 | void *argp1 = 0 ; |
13726 | int res1 = 0 ; | |
13727 | void *argp2 = 0 ; | |
13728 | int res2 = 0 ; | |
13729 | PyObject * obj0 = 0 ; | |
13730 | PyObject * obj1 = 0 ; | |
13731 | char * kwnames[] = { | |
13732 | (char *) "self",(char *) "art", NULL | |
13733 | }; | |
13734 | ||
13735 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13736 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13737 | if (!SWIG_IsOK(res1)) { | |
13738 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13739 | } | |
13740 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13741 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13742 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13743 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13744 | } |
5eb8189c | 13745 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13746 | { |
13747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13748 | (arg1)->SetArtProvider(arg2); | |
13749 | wxPyEndAllowThreads(__tstate); | |
13750 | if (PyErr_Occurred()) SWIG_fail; | |
13751 | } | |
13752 | resultobj = SWIG_Py_Void(); | |
13753 | return resultobj; | |
13754 | fail: | |
13755 | return NULL; | |
13756 | } | |
13757 | ||
13758 | ||
13759 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13760 | PyObject *resultobj = 0; | |
13761 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13762 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13763 | void *argp1 = 0 ; |
13764 | int res1 = 0 ; | |
13765 | PyObject *swig_obj[1] ; | |
13766 | ||
13767 | if (!args) SWIG_fail; | |
13768 | swig_obj[0] = args; | |
13769 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13770 | if (!SWIG_IsOK(res1)) { | |
5172800e | 13771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); |
5c8c7dd3 RD |
13772 | } |
13773 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13774 | { | |
13775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 13776 | result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider(); |
5eb8189c RD |
13777 | wxPyEndAllowThreads(__tstate); |
13778 | if (PyErr_Occurred()) SWIG_fail; | |
13779 | } | |
13780 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13781 | return resultobj; | |
13782 | fail: | |
13783 | return NULL; | |
13784 | } | |
13785 | ||
13786 | ||
13787 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13788 | PyObject *resultobj = 0; | |
13789 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13790 | int arg2 ; | |
13791 | void *argp1 = 0 ; | |
13792 | int res1 = 0 ; | |
13793 | int val2 ; | |
13794 | int ecode2 = 0 ; | |
13795 | PyObject * obj0 = 0 ; | |
13796 | PyObject * obj1 = 0 ; | |
13797 | char * kwnames[] = { | |
13798 | (char *) "self",(char *) "flags", NULL | |
13799 | }; | |
13800 | ||
13801 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13802 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13803 | if (!SWIG_IsOK(res1)) { | |
13804 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13805 | } | |
13806 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13807 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13808 | if (!SWIG_IsOK(ecode2)) { | |
13809 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13810 | } | |
13811 | arg2 = static_cast< int >(val2); | |
13812 | { | |
13813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13814 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13815 | wxPyEndAllowThreads(__tstate); |
13816 | if (PyErr_Occurred()) SWIG_fail; | |
13817 | } | |
5eb8189c RD |
13818 | resultobj = SWIG_Py_Void(); |
13819 | return resultobj; | |
13820 | fail: | |
13821 | return NULL; | |
13822 | } | |
13823 | ||
13824 | ||
13825 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13826 | PyObject *resultobj = 0; | |
13827 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13828 | int result; | |
13829 | void *argp1 = 0 ; | |
13830 | int res1 = 0 ; | |
13831 | PyObject *swig_obj[1] ; | |
13832 | ||
13833 | if (!args) SWIG_fail; | |
13834 | swig_obj[0] = args; | |
13835 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13836 | if (!SWIG_IsOK(res1)) { | |
13837 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13838 | } | |
13839 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13840 | { | |
13841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13842 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13843 | wxPyEndAllowThreads(__tstate); | |
13844 | if (PyErr_Occurred()) SWIG_fail; | |
13845 | } | |
13846 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13847 | return resultobj; |
13848 | fail: | |
13849 | return NULL; | |
13850 | } | |
13851 | ||
13852 | ||
1eeb270e RD |
13853 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13854 | PyObject *resultobj = 0; | |
13855 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13856 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13857 | wxAuiNotebookPage *arg3 = 0 ; | |
13858 | bool result; | |
13859 | void *argp1 = 0 ; | |
13860 | int res1 = 0 ; | |
13861 | void *argp2 = 0 ; | |
13862 | int res2 = 0 ; | |
13863 | void *argp3 = 0 ; | |
13864 | int res3 = 0 ; | |
13865 | PyObject * obj0 = 0 ; | |
13866 | PyObject * obj1 = 0 ; | |
13867 | PyObject * obj2 = 0 ; | |
13868 | char * kwnames[] = { | |
13869 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13870 | }; | |
13871 | ||
13872 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13873 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13874 | if (!SWIG_IsOK(res1)) { | |
13875 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13876 | } | |
13877 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13878 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13879 | if (!SWIG_IsOK(res2)) { | |
13880 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13881 | } | |
13882 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13883 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13884 | if (!SWIG_IsOK(res3)) { | |
13885 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13886 | } | |
13887 | if (!argp3) { | |
13888 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13889 | } | |
13890 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13891 | { | |
13892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13893 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13894 | wxPyEndAllowThreads(__tstate); | |
13895 | if (PyErr_Occurred()) SWIG_fail; | |
13896 | } | |
13897 | { | |
13898 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13899 | } | |
13900 | return resultobj; | |
13901 | fail: | |
13902 | return NULL; | |
13903 | } | |
13904 | ||
13905 | ||
13906 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13907 | PyObject *resultobj = 0; | |
13908 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13909 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13910 | wxAuiNotebookPage *arg3 = 0 ; | |
13911 | size_t arg4 ; | |
13912 | bool result; | |
13913 | void *argp1 = 0 ; | |
13914 | int res1 = 0 ; | |
13915 | void *argp2 = 0 ; | |
13916 | int res2 = 0 ; | |
13917 | void *argp3 = 0 ; | |
13918 | int res3 = 0 ; | |
13919 | size_t val4 ; | |
13920 | int ecode4 = 0 ; | |
13921 | PyObject * obj0 = 0 ; | |
13922 | PyObject * obj1 = 0 ; | |
13923 | PyObject * obj2 = 0 ; | |
13924 | PyObject * obj3 = 0 ; | |
13925 | char * kwnames[] = { | |
13926 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13927 | }; | |
13928 | ||
13929 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13930 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13931 | if (!SWIG_IsOK(res1)) { | |
13932 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13933 | } | |
13934 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13935 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13936 | if (!SWIG_IsOK(res2)) { | |
13937 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13938 | } | |
13939 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13940 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13941 | if (!SWIG_IsOK(res3)) { | |
13942 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13943 | } | |
13944 | if (!argp3) { | |
13945 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13946 | } | |
13947 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13948 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13949 | if (!SWIG_IsOK(ecode4)) { | |
13950 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13951 | } | |
13952 | arg4 = static_cast< size_t >(val4); | |
13953 | { | |
13954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13955 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13956 | wxPyEndAllowThreads(__tstate); | |
13957 | if (PyErr_Occurred()) SWIG_fail; | |
13958 | } | |
13959 | { | |
13960 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13961 | } | |
13962 | return resultobj; | |
13963 | fail: | |
13964 | return NULL; | |
13965 | } | |
13966 | ||
13967 | ||
580080c5 RD |
13968 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13969 | PyObject *resultobj = 0; | |
13970 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13971 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13972 | size_t arg3 ; | |
13973 | bool result; | |
13974 | void *argp1 = 0 ; | |
13975 | int res1 = 0 ; | |
13976 | void *argp2 = 0 ; | |
13977 | int res2 = 0 ; | |
13978 | size_t val3 ; | |
13979 | int ecode3 = 0 ; | |
13980 | PyObject * obj0 = 0 ; | |
13981 | PyObject * obj1 = 0 ; | |
13982 | PyObject * obj2 = 0 ; | |
13983 | char * kwnames[] = { | |
13984 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13985 | }; | |
13986 | ||
13987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13988 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13989 | if (!SWIG_IsOK(res1)) { | |
13990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13991 | } | |
13992 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13993 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13994 | if (!SWIG_IsOK(res2)) { | |
13995 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13996 | } | |
13997 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13998 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
13999 | if (!SWIG_IsOK(ecode3)) { | |
14000 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
14001 | } | |
14002 | arg3 = static_cast< size_t >(val3); | |
14003 | { | |
14004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14005 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
14006 | wxPyEndAllowThreads(__tstate); | |
14007 | if (PyErr_Occurred()) SWIG_fail; | |
14008 | } | |
14009 | { | |
14010 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14011 | } | |
14012 | return resultobj; | |
14013 | fail: | |
14014 | return NULL; | |
14015 | } | |
14016 | ||
14017 | ||
1eeb270e RD |
14018 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14019 | PyObject *resultobj = 0; | |
14020 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14021 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14022 | bool result; | |
14023 | void *argp1 = 0 ; | |
14024 | int res1 = 0 ; | |
14025 | void *argp2 = 0 ; | |
14026 | int res2 = 0 ; | |
14027 | PyObject * obj0 = 0 ; | |
14028 | PyObject * obj1 = 0 ; | |
14029 | char * kwnames[] = { | |
14030 | (char *) "self",(char *) "page", NULL | |
14031 | }; | |
14032 | ||
14033 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14034 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14035 | if (!SWIG_IsOK(res1)) { | |
14036 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14037 | } | |
14038 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14039 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14040 | if (!SWIG_IsOK(res2)) { | |
14041 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14042 | } | |
14043 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14044 | { | |
14045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14046 | result = (bool)(arg1)->RemovePage(arg2); | |
14047 | wxPyEndAllowThreads(__tstate); | |
14048 | if (PyErr_Occurred()) SWIG_fail; | |
14049 | } | |
14050 | { | |
14051 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14052 | } | |
14053 | return resultobj; | |
14054 | fail: | |
14055 | return NULL; | |
14056 | } | |
14057 | ||
14058 | ||
14059 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14060 | PyObject *resultobj = 0; | |
14061 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14062 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14063 | bool result; | |
14064 | void *argp1 = 0 ; | |
14065 | int res1 = 0 ; | |
14066 | void *argp2 = 0 ; | |
14067 | int res2 = 0 ; | |
14068 | ||
14069 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14070 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14071 | if (!SWIG_IsOK(res1)) { | |
14072 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14073 | } | |
14074 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14075 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14076 | if (!SWIG_IsOK(res2)) { | |
14077 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14078 | } | |
14079 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14080 | { | |
14081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14082 | result = (bool)(arg1)->SetActivePage(arg2); | |
14083 | wxPyEndAllowThreads(__tstate); | |
14084 | if (PyErr_Occurred()) SWIG_fail; | |
14085 | } | |
14086 | { | |
14087 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14088 | } | |
14089 | return resultobj; | |
14090 | fail: | |
14091 | return NULL; | |
14092 | } | |
14093 | ||
14094 | ||
14095 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14096 | PyObject *resultobj = 0; | |
14097 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14098 | size_t arg2 ; | |
14099 | bool result; | |
14100 | void *argp1 = 0 ; | |
14101 | int res1 = 0 ; | |
14102 | size_t val2 ; | |
14103 | int ecode2 = 0 ; | |
14104 | ||
14105 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14106 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14107 | if (!SWIG_IsOK(res1)) { | |
14108 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14109 | } | |
14110 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14111 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
14112 | if (!SWIG_IsOK(ecode2)) { | |
14113 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14114 | } | |
14115 | arg2 = static_cast< size_t >(val2); | |
14116 | { | |
14117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14118 | result = (bool)(arg1)->SetActivePage(arg2); | |
14119 | wxPyEndAllowThreads(__tstate); | |
14120 | if (PyErr_Occurred()) SWIG_fail; | |
14121 | } | |
14122 | { | |
14123 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14124 | } | |
14125 | return resultobj; | |
14126 | fail: | |
14127 | return NULL; | |
14128 | } | |
14129 | ||
14130 | ||
14131 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
14132 | int argc; | |
14133 | PyObject *argv[3]; | |
14134 | ||
14135 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
14136 | --argc; | |
14137 | if (argc == 2) { | |
14138 | int _v = 0; | |
14139 | { | |
14140 | void *vptr = 0; | |
14141 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
14142 | _v = SWIG_CheckState(res); | |
14143 | } | |
14144 | if (!_v) goto check_1; | |
14145 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
14146 | } | |
14147 | check_1: | |
14148 | ||
14149 | if (argc == 2) { | |
14150 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
14151 | } | |
14152 | ||
14153 | fail: | |
14154 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
14155 | return NULL; | |
14156 | } | |
14157 | ||
14158 | ||
14159 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14160 | PyObject *resultobj = 0; | |
14161 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14162 | void *argp1 = 0 ; | |
14163 | int res1 = 0 ; | |
14164 | PyObject *swig_obj[1] ; | |
14165 | ||
14166 | if (!args) SWIG_fail; | |
14167 | swig_obj[0] = args; | |
14168 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14169 | if (!SWIG_IsOK(res1)) { | |
14170 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14171 | } | |
14172 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14173 | { | |
14174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14175 | (arg1)->SetNoneActive(); | |
14176 | wxPyEndAllowThreads(__tstate); | |
14177 | if (PyErr_Occurred()) SWIG_fail; | |
14178 | } | |
14179 | resultobj = SWIG_Py_Void(); | |
14180 | return resultobj; | |
14181 | fail: | |
14182 | return NULL; | |
14183 | } | |
14184 | ||
14185 | ||
14186 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14187 | PyObject *resultobj = 0; | |
14188 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14189 | int result; | |
14190 | void *argp1 = 0 ; | |
14191 | int res1 = 0 ; | |
14192 | PyObject *swig_obj[1] ; | |
14193 | ||
14194 | if (!args) SWIG_fail; | |
14195 | swig_obj[0] = args; | |
14196 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14197 | if (!SWIG_IsOK(res1)) { | |
14198 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14199 | } | |
14200 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14201 | { | |
14202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14203 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
14204 | wxPyEndAllowThreads(__tstate); | |
14205 | if (PyErr_Occurred()) SWIG_fail; | |
14206 | } | |
14207 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14208 | return resultobj; | |
14209 | fail: | |
14210 | return NULL; | |
14211 | } | |
14212 | ||
14213 | ||
14214 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14215 | PyObject *resultobj = 0; | |
14216 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14217 | int arg2 ; | |
14218 | int arg3 ; | |
14219 | wxWindow **arg4 = (wxWindow **) 0 ; | |
14220 | bool result; | |
14221 | void *argp1 = 0 ; | |
14222 | int res1 = 0 ; | |
14223 | int val2 ; | |
14224 | int ecode2 = 0 ; | |
14225 | int val3 ; | |
14226 | int ecode3 = 0 ; | |
14227 | void *argp4 = 0 ; | |
14228 | int res4 = 0 ; | |
14229 | PyObject * obj0 = 0 ; | |
14230 | PyObject * obj1 = 0 ; | |
14231 | PyObject * obj2 = 0 ; | |
14232 | PyObject * obj3 = 0 ; | |
14233 | char * kwnames[] = { | |
14234 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14235 | }; | |
14236 | ||
14237 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14238 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14239 | if (!SWIG_IsOK(res1)) { | |
14240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14241 | } | |
14242 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14243 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14244 | if (!SWIG_IsOK(ecode2)) { | |
14245 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14246 | } | |
14247 | arg2 = static_cast< int >(val2); | |
14248 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14249 | if (!SWIG_IsOK(ecode3)) { | |
14250 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14251 | } | |
14252 | arg3 = static_cast< int >(val3); | |
14253 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
14254 | if (!SWIG_IsOK(res4)) { | |
14255 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
14256 | } | |
14257 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
14258 | { | |
14259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14260 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
14261 | wxPyEndAllowThreads(__tstate); | |
14262 | if (PyErr_Occurred()) SWIG_fail; | |
14263 | } | |
14264 | { | |
14265 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14266 | } | |
14267 | return resultobj; | |
14268 | fail: | |
14269 | return NULL; | |
14270 | } | |
14271 | ||
14272 | ||
14273 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14274 | PyObject *resultobj = 0; | |
14275 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14276 | int arg2 ; | |
14277 | int arg3 ; | |
14278 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
14279 | bool result; | |
14280 | void *argp1 = 0 ; | |
14281 | int res1 = 0 ; | |
14282 | int val2 ; | |
14283 | int ecode2 = 0 ; | |
14284 | int val3 ; | |
14285 | int ecode3 = 0 ; | |
14286 | void *argp4 = 0 ; | |
14287 | int res4 = 0 ; | |
14288 | PyObject * obj0 = 0 ; | |
14289 | PyObject * obj1 = 0 ; | |
14290 | PyObject * obj2 = 0 ; | |
14291 | PyObject * obj3 = 0 ; | |
14292 | char * kwnames[] = { | |
14293 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14294 | }; | |
14295 | ||
14296 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14297 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14298 | if (!SWIG_IsOK(res1)) { | |
14299 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14300 | } | |
14301 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14302 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14303 | if (!SWIG_IsOK(ecode2)) { | |
14304 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14305 | } | |
14306 | arg2 = static_cast< int >(val2); | |
14307 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14308 | if (!SWIG_IsOK(ecode3)) { | |
14309 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14310 | } | |
14311 | arg3 = static_cast< int >(val3); | |
14312 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
14313 | if (!SWIG_IsOK(res4)) { | |
14314 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
14315 | } | |
14316 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
14317 | { | |
14318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14319 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
14320 | wxPyEndAllowThreads(__tstate); | |
14321 | if (PyErr_Occurred()) SWIG_fail; | |
14322 | } | |
14323 | { | |
14324 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14325 | } | |
14326 | return resultobj; | |
14327 | fail: | |
14328 | return NULL; | |
14329 | } | |
14330 | ||
14331 | ||
14332 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14333 | PyObject *resultobj = 0; | |
14334 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14335 | size_t arg2 ; | |
14336 | wxWindow *result = 0 ; | |
14337 | void *argp1 = 0 ; | |
14338 | int res1 = 0 ; | |
14339 | size_t val2 ; | |
14340 | int ecode2 = 0 ; | |
14341 | PyObject * obj0 = 0 ; | |
14342 | PyObject * obj1 = 0 ; | |
14343 | char * kwnames[] = { | |
14344 | (char *) "self",(char *) "idx", NULL | |
14345 | }; | |
14346 | ||
14347 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
14348 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14349 | if (!SWIG_IsOK(res1)) { | |
14350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14351 | } | |
14352 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14353 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14354 | if (!SWIG_IsOK(ecode2)) { | |
14355 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
14356 | } | |
14357 | arg2 = static_cast< size_t >(val2); | |
14358 | { | |
14359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14360 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
14361 | wxPyEndAllowThreads(__tstate); | |
14362 | if (PyErr_Occurred()) SWIG_fail; | |
14363 | } | |
14364 | { | |
14365 | resultobj = wxPyMake_wxObject(result, 0); | |
14366 | } | |
14367 | return resultobj; | |
14368 | fail: | |
14369 | return NULL; | |
14370 | } | |
14371 | ||
14372 | ||
14373 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14374 | PyObject *resultobj = 0; | |
14375 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14376 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14377 | int result; | |
14378 | void *argp1 = 0 ; | |
14379 | int res1 = 0 ; | |
14380 | void *argp2 = 0 ; | |
14381 | int res2 = 0 ; | |
14382 | PyObject * obj0 = 0 ; | |
14383 | PyObject * obj1 = 0 ; | |
14384 | char * kwnames[] = { | |
14385 | (char *) "self",(char *) "page", NULL | |
14386 | }; | |
14387 | ||
14388 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
14389 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14390 | if (!SWIG_IsOK(res1)) { | |
14391 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14392 | } | |
14393 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14394 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14395 | if (!SWIG_IsOK(res2)) { | |
14396 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14397 | } | |
14398 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14399 | { | |
14400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14401 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
14402 | wxPyEndAllowThreads(__tstate); | |
14403 | if (PyErr_Occurred()) SWIG_fail; | |
14404 | } | |
14405 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14406 | return resultobj; | |
14407 | fail: | |
14408 | return NULL; | |
14409 | } | |
14410 | ||
14411 | ||
14412 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14413 | PyObject *resultobj = 0; | |
14414 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14415 | size_t result; | |
14416 | void *argp1 = 0 ; | |
14417 | int res1 = 0 ; | |
14418 | PyObject *swig_obj[1] ; | |
14419 | ||
14420 | if (!args) SWIG_fail; | |
14421 | swig_obj[0] = args; | |
14422 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14423 | if (!SWIG_IsOK(res1)) { | |
14424 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14425 | } | |
14426 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14427 | { | |
14428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14429 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
14430 | wxPyEndAllowThreads(__tstate); | |
14431 | if (PyErr_Occurred()) SWIG_fail; | |
14432 | } | |
14433 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14434 | return resultobj; | |
14435 | fail: | |
14436 | return NULL; | |
14437 | } | |
14438 | ||
14439 | ||
14440 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14441 | PyObject *resultobj = 0; | |
14442 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14443 | size_t arg2 ; | |
14444 | wxAuiNotebookPage *result = 0 ; | |
14445 | void *argp1 = 0 ; | |
14446 | int res1 = 0 ; | |
14447 | size_t val2 ; | |
14448 | int ecode2 = 0 ; | |
14449 | PyObject * obj0 = 0 ; | |
14450 | PyObject * obj1 = 0 ; | |
14451 | char * kwnames[] = { | |
14452 | (char *) "self",(char *) "idx", NULL | |
14453 | }; | |
14454 | ||
14455 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14456 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14457 | if (!SWIG_IsOK(res1)) { | |
14458 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14459 | } | |
14460 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14461 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14462 | if (!SWIG_IsOK(ecode2)) { | |
14463 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14464 | } | |
14465 | arg2 = static_cast< size_t >(val2); | |
14466 | { | |
14467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14468 | { | |
14469 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
14470 | result = (wxAuiNotebookPage *) &_result_ref; | |
14471 | } | |
14472 | wxPyEndAllowThreads(__tstate); | |
14473 | if (PyErr_Occurred()) SWIG_fail; | |
14474 | } | |
14475 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
14476 | return resultobj; | |
14477 | fail: | |
14478 | return NULL; | |
14479 | } | |
14480 | ||
14481 | ||
14482 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14483 | PyObject *resultobj = 0; | |
14484 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14485 | wxAuiNotebookPageArray *result = 0 ; | |
14486 | void *argp1 = 0 ; | |
14487 | int res1 = 0 ; | |
14488 | PyObject *swig_obj[1] ; | |
14489 | ||
14490 | if (!args) SWIG_fail; | |
14491 | swig_obj[0] = args; | |
14492 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14493 | if (!SWIG_IsOK(res1)) { | |
14494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14495 | } | |
14496 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14497 | { | |
14498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14499 | { | |
14500 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
14501 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
14502 | } | |
14503 | wxPyEndAllowThreads(__tstate); | |
14504 | if (PyErr_Occurred()) SWIG_fail; | |
14505 | } | |
14506 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
14507 | return resultobj; | |
14508 | fail: | |
14509 | return NULL; | |
14510 | } | |
14511 | ||
14512 | ||
14513 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14514 | PyObject *resultobj = 0; | |
14515 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14516 | wxFont *arg2 = 0 ; | |
14517 | void *argp1 = 0 ; | |
14518 | int res1 = 0 ; | |
14519 | void *argp2 = 0 ; | |
14520 | int res2 = 0 ; | |
14521 | PyObject * obj0 = 0 ; | |
14522 | PyObject * obj1 = 0 ; | |
14523 | char * kwnames[] = { | |
14524 | (char *) "self",(char *) "normal_font", NULL | |
14525 | }; | |
14526 | ||
14527 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14528 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14529 | if (!SWIG_IsOK(res1)) { | |
14530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14531 | } | |
14532 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14533 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14534 | if (!SWIG_IsOK(res2)) { | |
14535 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14536 | } | |
14537 | if (!argp2) { | |
14538 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14539 | } | |
14540 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14541 | { | |
14542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14543 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
14544 | wxPyEndAllowThreads(__tstate); | |
14545 | if (PyErr_Occurred()) SWIG_fail; | |
14546 | } | |
14547 | resultobj = SWIG_Py_Void(); | |
14548 | return resultobj; | |
14549 | fail: | |
14550 | return NULL; | |
14551 | } | |
14552 | ||
14553 | ||
14554 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14555 | PyObject *resultobj = 0; | |
14556 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14557 | wxFont *arg2 = 0 ; | |
14558 | void *argp1 = 0 ; | |
14559 | int res1 = 0 ; | |
14560 | void *argp2 = 0 ; | |
14561 | int res2 = 0 ; | |
14562 | PyObject * obj0 = 0 ; | |
14563 | PyObject * obj1 = 0 ; | |
14564 | char * kwnames[] = { | |
14565 | (char *) "self",(char *) "selected_font", NULL | |
14566 | }; | |
14567 | ||
14568 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14569 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14570 | if (!SWIG_IsOK(res1)) { | |
14571 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14572 | } | |
14573 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14574 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14575 | if (!SWIG_IsOK(res2)) { | |
14576 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14577 | } | |
14578 | if (!argp2) { | |
14579 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14580 | } | |
14581 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14582 | { | |
14583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14584 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14585 | wxPyEndAllowThreads(__tstate); | |
14586 | if (PyErr_Occurred()) SWIG_fail; | |
14587 | } | |
14588 | resultobj = SWIG_Py_Void(); | |
14589 | return resultobj; | |
14590 | fail: | |
14591 | return NULL; | |
14592 | } | |
14593 | ||
14594 | ||
14595 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14596 | PyObject *resultobj = 0; | |
14597 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14598 | wxFont *arg2 = 0 ; | |
14599 | void *argp1 = 0 ; | |
14600 | int res1 = 0 ; | |
14601 | void *argp2 = 0 ; | |
14602 | int res2 = 0 ; | |
14603 | PyObject * obj0 = 0 ; | |
14604 | PyObject * obj1 = 0 ; | |
14605 | char * kwnames[] = { | |
14606 | (char *) "self",(char *) "measuring_font", NULL | |
14607 | }; | |
14608 | ||
14609 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14610 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14611 | if (!SWIG_IsOK(res1)) { | |
14612 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14613 | } | |
14614 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14615 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14616 | if (!SWIG_IsOK(res2)) { | |
14617 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14618 | } | |
14619 | if (!argp2) { | |
14620 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14621 | } | |
14622 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14623 | { | |
14624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14625 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14626 | wxPyEndAllowThreads(__tstate); | |
14627 | if (PyErr_Occurred()) SWIG_fail; | |
14628 | } | |
14629 | resultobj = SWIG_Py_Void(); | |
14630 | return resultobj; | |
14631 | fail: | |
14632 | return NULL; | |
14633 | } | |
14634 | ||
14635 | ||
14636 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14637 | PyObject *resultobj = 0; | |
14638 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14639 | void *argp1 = 0 ; | |
14640 | int res1 = 0 ; | |
14641 | PyObject *swig_obj[1] ; | |
14642 | ||
14643 | if (!args) SWIG_fail; | |
14644 | swig_obj[0] = args; | |
14645 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14646 | if (!SWIG_IsOK(res1)) { | |
14647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14648 | } | |
14649 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14650 | { | |
14651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14652 | (arg1)->DoShowHide(); | |
14653 | wxPyEndAllowThreads(__tstate); | |
14654 | if (PyErr_Occurred()) SWIG_fail; | |
14655 | } | |
14656 | resultobj = SWIG_Py_Void(); | |
14657 | return resultobj; | |
14658 | fail: | |
14659 | return NULL; | |
14660 | } | |
14661 | ||
14662 | ||
14663 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14664 | PyObject *resultobj = 0; | |
14665 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14666 | wxRect *arg2 = 0 ; | |
14667 | void *argp1 = 0 ; | |
14668 | int res1 = 0 ; | |
14669 | wxRect temp2 ; | |
14670 | PyObject * obj0 = 0 ; | |
14671 | PyObject * obj1 = 0 ; | |
14672 | char * kwnames[] = { | |
14673 | (char *) "self",(char *) "rect", NULL | |
14674 | }; | |
14675 | ||
14676 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14677 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14678 | if (!SWIG_IsOK(res1)) { | |
14679 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14680 | } | |
14681 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14682 | { | |
14683 | arg2 = &temp2; | |
14684 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14685 | } | |
14686 | { | |
14687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14688 | (arg1)->SetRect((wxRect const &)*arg2); | |
14689 | wxPyEndAllowThreads(__tstate); | |
14690 | if (PyErr_Occurred()) SWIG_fail; | |
14691 | } | |
14692 | resultobj = SWIG_Py_Void(); | |
14693 | return resultobj; | |
14694 | fail: | |
14695 | return NULL; | |
14696 | } | |
14697 | ||
14698 | ||
36cb9ebe RD |
14699 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14700 | PyObject *resultobj = 0; | |
14701 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14702 | int arg2 ; | |
14703 | void *argp1 = 0 ; | |
14704 | int res1 = 0 ; | |
14705 | int val2 ; | |
14706 | int ecode2 = 0 ; | |
14707 | PyObject * obj0 = 0 ; | |
14708 | PyObject * obj1 = 0 ; | |
14709 | char * kwnames[] = { | |
14710 | (char *) "self",(char *) "id", NULL | |
14711 | }; | |
14712 | ||
14713 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14714 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14715 | if (!SWIG_IsOK(res1)) { | |
14716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14717 | } | |
14718 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14719 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14720 | if (!SWIG_IsOK(ecode2)) { | |
14721 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14722 | } | |
14723 | arg2 = static_cast< int >(val2); | |
14724 | { | |
14725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14726 | (arg1)->RemoveButton(arg2); | |
14727 | wxPyEndAllowThreads(__tstate); | |
14728 | if (PyErr_Occurred()) SWIG_fail; | |
14729 | } | |
14730 | resultobj = SWIG_Py_Void(); | |
14731 | return resultobj; | |
14732 | fail: | |
14733 | return NULL; | |
14734 | } | |
14735 | ||
14736 | ||
1eeb270e RD |
14737 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14738 | PyObject *resultobj = 0; | |
14739 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14740 | int arg2 ; | |
5c8c7dd3 | 14741 | int arg3 ; |
8f514ab4 RD |
14742 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14743 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14744 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14745 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
1eeb270e RD |
14746 | void *argp1 = 0 ; |
14747 | int res1 = 0 ; | |
14748 | int val2 ; | |
14749 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14750 | int val3 ; |
14751 | int ecode3 = 0 ; | |
14752 | void *argp4 = 0 ; | |
14753 | int res4 = 0 ; | |
8f514ab4 RD |
14754 | void *argp5 = 0 ; |
14755 | int res5 = 0 ; | |
1eeb270e RD |
14756 | PyObject * obj0 = 0 ; |
14757 | PyObject * obj1 = 0 ; | |
14758 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14759 | PyObject * obj3 = 0 ; |
8f514ab4 | 14760 | PyObject * obj4 = 0 ; |
1eeb270e | 14761 | char * kwnames[] = { |
8f514ab4 | 14762 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
1eeb270e RD |
14763 | }; |
14764 | ||
8f514ab4 | 14765 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
1eeb270e RD |
14766 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14767 | if (!SWIG_IsOK(res1)) { | |
14768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14769 | } | |
14770 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14771 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14772 | if (!SWIG_IsOK(ecode2)) { | |
14773 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14774 | } | |
14775 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14776 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14777 | if (!SWIG_IsOK(ecode3)) { | |
14778 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14779 | } | |
14780 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14781 | if (obj3) { |
14782 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14783 | if (!SWIG_IsOK(res4)) { | |
14784 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14785 | } | |
14786 | if (!argp4) { | |
14787 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14788 | } | |
14789 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
1eeb270e | 14790 | } |
8f514ab4 RD |
14791 | if (obj4) { |
14792 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14793 | if (!SWIG_IsOK(res5)) { | |
14794 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14795 | } | |
14796 | if (!argp5) { | |
14797 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14798 | } | |
14799 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
1eeb270e | 14800 | } |
1eeb270e RD |
14801 | { |
14802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14803 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14804 | wxPyEndAllowThreads(__tstate); | |
14805 | if (PyErr_Occurred()) SWIG_fail; | |
14806 | } | |
14807 | resultobj = SWIG_Py_Void(); | |
14808 | return resultobj; | |
14809 | fail: | |
14810 | return NULL; | |
14811 | } | |
14812 | ||
14813 | ||
14814 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14815 | PyObject *resultobj = 0; | |
14816 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14817 | size_t result; | |
14818 | void *argp1 = 0 ; | |
14819 | int res1 = 0 ; | |
14820 | PyObject *swig_obj[1] ; | |
14821 | ||
14822 | if (!args) SWIG_fail; | |
14823 | swig_obj[0] = args; | |
14824 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14825 | if (!SWIG_IsOK(res1)) { | |
14826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14827 | } | |
14828 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14829 | { | |
14830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14831 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14832 | wxPyEndAllowThreads(__tstate); | |
14833 | if (PyErr_Occurred()) SWIG_fail; | |
14834 | } | |
14835 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14836 | return resultobj; | |
14837 | fail: | |
14838 | return NULL; | |
14839 | } | |
14840 | ||
14841 | ||
14842 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14843 | PyObject *resultobj = 0; | |
14844 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14845 | size_t arg2 ; | |
14846 | void *argp1 = 0 ; | |
14847 | int res1 = 0 ; | |
14848 | size_t val2 ; | |
14849 | int ecode2 = 0 ; | |
14850 | PyObject * obj0 = 0 ; | |
14851 | PyObject * obj1 = 0 ; | |
14852 | char * kwnames[] = { | |
14853 | (char *) "self",(char *) "offset", NULL | |
14854 | }; | |
14855 | ||
14856 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14857 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14858 | if (!SWIG_IsOK(res1)) { | |
14859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14860 | } | |
14861 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14862 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14863 | if (!SWIG_IsOK(ecode2)) { | |
14864 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14865 | } | |
14866 | arg2 = static_cast< size_t >(val2); | |
14867 | { | |
14868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14869 | (arg1)->SetTabOffset(arg2); | |
1eeb270e RD |
14870 | wxPyEndAllowThreads(__tstate); |
14871 | if (PyErr_Occurred()) SWIG_fail; | |
14872 | } | |
14873 | resultobj = SWIG_Py_Void(); | |
14874 | return resultobj; | |
14875 | fail: | |
14876 | return NULL; | |
14877 | } | |
14878 | ||
14879 | ||
14880 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14881 | PyObject *obj; | |
14882 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14883 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14884 | return SWIG_Py_Void(); | |
14885 | } | |
14886 | ||
14887 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14888 | return SWIG_Python_InitShadowInstance(args); | |
14889 | } | |
14890 | ||
14891 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14892 | PyObject *resultobj = 0; | |
14893 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14894 | int arg2 = (int) wxID_ANY ; | |
14895 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14896 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14897 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14898 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14899 | long arg5 = (long) 0 ; | |
14900 | wxAuiTabCtrl *result = 0 ; | |
14901 | void *argp1 = 0 ; | |
14902 | int res1 = 0 ; | |
14903 | int val2 ; | |
14904 | int ecode2 = 0 ; | |
14905 | wxPoint temp3 ; | |
14906 | wxSize temp4 ; | |
14907 | long val5 ; | |
14908 | int ecode5 = 0 ; | |
14909 | PyObject * obj0 = 0 ; | |
14910 | PyObject * obj1 = 0 ; | |
14911 | PyObject * obj2 = 0 ; | |
14912 | PyObject * obj3 = 0 ; | |
14913 | PyObject * obj4 = 0 ; | |
14914 | char * kwnames[] = { | |
14915 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14916 | }; | |
14917 | ||
14918 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14919 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14920 | if (!SWIG_IsOK(res1)) { | |
14921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14922 | } | |
14923 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14924 | if (obj1) { | |
14925 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14926 | if (!SWIG_IsOK(ecode2)) { | |
14927 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14928 | } | |
14929 | arg2 = static_cast< int >(val2); | |
14930 | } | |
14931 | if (obj2) { | |
14932 | { | |
14933 | arg3 = &temp3; | |
14934 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14935 | } | |
14936 | } | |
14937 | if (obj3) { | |
14938 | { | |
14939 | arg4 = &temp4; | |
14940 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14941 | } | |
14942 | } | |
14943 | if (obj4) { | |
14944 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14945 | if (!SWIG_IsOK(ecode5)) { | |
14946 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14947 | } | |
14948 | arg5 = static_cast< long >(val5); | |
14949 | } | |
14950 | { | |
14951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14952 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14953 | wxPyEndAllowThreads(__tstate); | |
14954 | if (PyErr_Occurred()) SWIG_fail; | |
14955 | } | |
14956 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14957 | return resultobj; | |
14958 | fail: | |
14959 | return NULL; | |
14960 | } | |
14961 | ||
14962 | ||
580080c5 RD |
14963 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14964 | PyObject *resultobj = 0; | |
14965 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14966 | void *argp1 = 0 ; | |
14967 | int res1 = 0 ; | |
14968 | PyObject *swig_obj[1] ; | |
14969 | ||
14970 | if (!args) SWIG_fail; | |
14971 | swig_obj[0] = args; | |
14972 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14973 | if (!SWIG_IsOK(res1)) { | |
14974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14975 | } | |
14976 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14977 | { | |
14978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14979 | delete arg1; | |
14980 | ||
14981 | wxPyEndAllowThreads(__tstate); | |
14982 | if (PyErr_Occurred()) SWIG_fail; | |
14983 | } | |
14984 | resultobj = SWIG_Py_Void(); | |
14985 | return resultobj; | |
14986 | fail: | |
14987 | return NULL; | |
14988 | } | |
14989 | ||
14990 | ||
1eeb270e RD |
14991 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14992 | PyObject *obj; | |
14993 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14994 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14995 | return SWIG_Py_Void(); | |
14996 | } | |
14997 | ||
14998 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14999 | return SWIG_Python_InitShadowInstance(args); | |
15000 | } | |
15001 | ||
5eb8189c | 15002 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 15003 | PyObject *resultobj = 0; |
5eb8189c | 15004 | wxAuiNotebook *result = 0 ; |
1eeb270e | 15005 | |
5eb8189c | 15006 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
1eeb270e RD |
15007 | { |
15008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15009 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
1eeb270e RD |
15010 | wxPyEndAllowThreads(__tstate); |
15011 | if (PyErr_Occurred()) SWIG_fail; | |
15012 | } | |
5eb8189c | 15013 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
1eeb270e RD |
15014 | return resultobj; |
15015 | fail: | |
15016 | return NULL; | |
15017 | } | |
15018 | ||
15019 | ||
5eb8189c | 15020 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e RD |
15021 | PyObject *resultobj = 0; |
15022 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15023 | int arg2 = (int) wxID_ANY ; | |
15024 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
15025 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15026 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15027 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
15028 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
15029 | wxAuiNotebook *result = 0 ; | |
1eeb270e RD |
15030 | void *argp1 = 0 ; |
15031 | int res1 = 0 ; | |
15032 | int val2 ; | |
15033 | int ecode2 = 0 ; | |
15034 | wxPoint temp3 ; | |
15035 | wxSize temp4 ; | |
15036 | long val5 ; | |
15037 | int ecode5 = 0 ; | |
15038 | PyObject * obj0 = 0 ; | |
15039 | PyObject * obj1 = 0 ; | |
15040 | PyObject * obj2 = 0 ; | |
15041 | PyObject * obj3 = 0 ; | |
15042 | PyObject * obj4 = 0 ; | |
15043 | char * kwnames[] = { | |
15044 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15045 | }; | |
15046 | ||
5eb8189c | 15047 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
1eeb270e RD |
15048 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15049 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 15050 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
1eeb270e RD |
15051 | } |
15052 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15053 | if (obj1) { | |
15054 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15055 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15056 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
1eeb270e RD |
15057 | } |
15058 | arg2 = static_cast< int >(val2); | |
15059 | } | |
15060 | if (obj2) { | |
15061 | { | |
15062 | arg3 = &temp3; | |
15063 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15064 | } | |
15065 | } | |
15066 | if (obj3) { | |
15067 | { | |
15068 | arg4 = &temp4; | |
15069 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15070 | } | |
15071 | } | |
15072 | if (obj4) { | |
15073 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
15074 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15075 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
1eeb270e RD |
15076 | } |
15077 | arg5 = static_cast< long >(val5); | |
15078 | } | |
15079 | { | |
15080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
15081 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
15082 | wxPyEndAllowThreads(__tstate); | |
15083 | if (PyErr_Occurred()) SWIG_fail; | |
15084 | } | |
15085 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
15086 | return resultobj; | |
15087 | fail: | |
15088 | return NULL; | |
15089 | } | |
15090 | ||
15091 | ||
15092 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15093 | PyObject *resultobj = 0; | |
15094 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15095 | void *argp1 = 0 ; | |
15096 | int res1 = 0 ; | |
15097 | PyObject *swig_obj[1] ; | |
15098 | ||
15099 | if (!args) SWIG_fail; | |
15100 | swig_obj[0] = args; | |
15101 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
15102 | if (!SWIG_IsOK(res1)) { | |
15103 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15104 | } | |
15105 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15106 | { | |
15107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15108 | delete arg1; | |
15109 | ||
1eeb270e RD |
15110 | wxPyEndAllowThreads(__tstate); |
15111 | if (PyErr_Occurred()) SWIG_fail; | |
15112 | } | |
5eb8189c | 15113 | resultobj = SWIG_Py_Void(); |
1eeb270e RD |
15114 | return resultobj; |
15115 | fail: | |
15116 | return NULL; | |
15117 | } | |
15118 | ||
15119 | ||
5eb8189c | 15120 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15121 | PyObject *resultobj = 0; |
5eb8189c | 15122 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15123 | wxWindow *arg2 = (wxWindow *) 0 ; |
15124 | int arg3 = (int) wxID_ANY ; | |
15125 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
15126 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15127 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15128 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15129 | long arg6 = (long) 0 ; | |
15130 | bool result; | |
15131 | void *argp1 = 0 ; | |
15132 | int res1 = 0 ; | |
15133 | void *argp2 = 0 ; | |
15134 | int res2 = 0 ; | |
15135 | int val3 ; | |
15136 | int ecode3 = 0 ; | |
15137 | wxPoint temp4 ; | |
15138 | wxSize temp5 ; | |
15139 | long val6 ; | |
15140 | int ecode6 = 0 ; | |
15141 | PyObject * obj0 = 0 ; | |
15142 | PyObject * obj1 = 0 ; | |
15143 | PyObject * obj2 = 0 ; | |
15144 | PyObject * obj3 = 0 ; | |
15145 | PyObject * obj4 = 0 ; | |
15146 | PyObject * obj5 = 0 ; | |
15147 | char * kwnames[] = { | |
15148 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15149 | }; | |
15150 | ||
5eb8189c RD |
15151 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15152 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15153 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15155 | } |
5eb8189c | 15156 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15157 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15158 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15159 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
1eeb270e RD |
15160 | } |
15161 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15162 | if (obj2) { | |
15163 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15164 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 15165 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
1eeb270e RD |
15166 | } |
15167 | arg3 = static_cast< int >(val3); | |
15168 | } | |
15169 | if (obj3) { | |
15170 | { | |
15171 | arg4 = &temp4; | |
15172 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15173 | } | |
15174 | } | |
15175 | if (obj4) { | |
15176 | { | |
15177 | arg5 = &temp5; | |
15178 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15179 | } | |
15180 | } | |
15181 | if (obj5) { | |
15182 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
15183 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 15184 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
1eeb270e RD |
15185 | } |
15186 | arg6 = static_cast< long >(val6); | |
15187 | } | |
15188 | { | |
15189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15190 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
15191 | wxPyEndAllowThreads(__tstate); | |
15192 | if (PyErr_Occurred()) SWIG_fail; | |
15193 | } | |
15194 | { | |
15195 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15196 | } | |
15197 | return resultobj; | |
15198 | fail: | |
15199 | return NULL; | |
15200 | } | |
15201 | ||
15202 | ||
5eb8189c | 15203 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15204 | PyObject *resultobj = 0; |
5eb8189c | 15205 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15206 | wxWindow *arg2 = (wxWindow *) 0 ; |
15207 | wxString *arg3 = 0 ; | |
15208 | bool arg4 = (bool) false ; | |
15209 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
15210 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
15211 | bool result; | |
15212 | void *argp1 = 0 ; | |
15213 | int res1 = 0 ; | |
15214 | void *argp2 = 0 ; | |
15215 | int res2 = 0 ; | |
15216 | bool temp3 = false ; | |
15217 | bool val4 ; | |
15218 | int ecode4 = 0 ; | |
15219 | void *argp5 = 0 ; | |
15220 | int res5 = 0 ; | |
15221 | PyObject * obj0 = 0 ; | |
15222 | PyObject * obj1 = 0 ; | |
15223 | PyObject * obj2 = 0 ; | |
15224 | PyObject * obj3 = 0 ; | |
15225 | PyObject * obj4 = 0 ; | |
15226 | char * kwnames[] = { | |
15227 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15228 | }; | |
15229 | ||
5eb8189c RD |
15230 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
15231 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15232 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15233 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15234 | } |
5eb8189c | 15235 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15236 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15237 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15238 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
1eeb270e RD |
15239 | } |
15240 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15241 | { | |
15242 | arg3 = wxString_in_helper(obj2); | |
15243 | if (arg3 == NULL) SWIG_fail; | |
15244 | temp3 = true; | |
15245 | } | |
15246 | if (obj3) { | |
15247 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
15248 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 15249 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
1eeb270e RD |
15250 | } |
15251 | arg4 = static_cast< bool >(val4); | |
15252 | } | |
15253 | if (obj4) { | |
15254 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15255 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 15256 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
15257 | } |
15258 | if (!argp5) { | |
5eb8189c | 15259 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
15260 | } |
15261 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15262 | } | |
15263 | { | |
15264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15265 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15266 | wxPyEndAllowThreads(__tstate); | |
15267 | if (PyErr_Occurred()) SWIG_fail; | |
15268 | } | |
15269 | { | |
15270 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15271 | } | |
15272 | { | |
15273 | if (temp3) | |
15274 | delete arg3; | |
15275 | } | |
15276 | return resultobj; | |
15277 | fail: | |
15278 | { | |
15279 | if (temp3) | |
15280 | delete arg3; | |
15281 | } | |
15282 | return NULL; | |
15283 | } | |
15284 | ||
15285 | ||
5eb8189c | 15286 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15287 | PyObject *resultobj = 0; |
5eb8189c | 15288 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15289 | size_t arg2 ; |
15290 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15291 | wxString *arg4 = 0 ; | |
15292 | bool arg5 = (bool) false ; | |
15293 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15294 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15295 | bool result; | |
15296 | void *argp1 = 0 ; | |
15297 | int res1 = 0 ; | |
15298 | size_t val2 ; | |
15299 | int ecode2 = 0 ; | |
15300 | void *argp3 = 0 ; | |
15301 | int res3 = 0 ; | |
15302 | bool temp4 = false ; | |
15303 | bool val5 ; | |
15304 | int ecode5 = 0 ; | |
15305 | void *argp6 = 0 ; | |
15306 | int res6 = 0 ; | |
15307 | PyObject * obj0 = 0 ; | |
15308 | PyObject * obj1 = 0 ; | |
15309 | PyObject * obj2 = 0 ; | |
15310 | PyObject * obj3 = 0 ; | |
15311 | PyObject * obj4 = 0 ; | |
15312 | PyObject * obj5 = 0 ; | |
15313 | char * kwnames[] = { | |
15314 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15315 | }; | |
15316 | ||
5eb8189c RD |
15317 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15318 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15319 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15320 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15321 | } |
5eb8189c | 15322 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15323 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15324 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15325 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
15326 | } |
15327 | arg2 = static_cast< size_t >(val2); | |
15328 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15329 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15330 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
1eeb270e RD |
15331 | } |
15332 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15333 | { | |
15334 | arg4 = wxString_in_helper(obj3); | |
15335 | if (arg4 == NULL) SWIG_fail; | |
15336 | temp4 = true; | |
15337 | } | |
15338 | if (obj4) { | |
15339 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15340 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15341 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
1eeb270e RD |
15342 | } |
15343 | arg5 = static_cast< bool >(val5); | |
15344 | } | |
15345 | if (obj5) { | |
15346 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15347 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15348 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
15349 | } |
15350 | if (!argp6) { | |
5eb8189c | 15351 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
1eeb270e RD |
15352 | } |
15353 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15354 | } | |
15355 | { | |
15356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15357 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15358 | wxPyEndAllowThreads(__tstate); | |
15359 | if (PyErr_Occurred()) SWIG_fail; | |
15360 | } | |
15361 | { | |
15362 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15363 | } | |
15364 | { | |
15365 | if (temp4) | |
15366 | delete arg4; | |
15367 | } | |
15368 | return resultobj; | |
15369 | fail: | |
15370 | { | |
15371 | if (temp4) | |
15372 | delete arg4; | |
15373 | } | |
15374 | return NULL; | |
15375 | } | |
15376 | ||
15377 | ||
5eb8189c | 15378 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15379 | PyObject *resultobj = 0; |
5eb8189c | 15380 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15381 | size_t arg2 ; |
15382 | bool result; | |
15383 | void *argp1 = 0 ; | |
15384 | int res1 = 0 ; | |
15385 | size_t val2 ; | |
15386 | int ecode2 = 0 ; | |
15387 | PyObject * obj0 = 0 ; | |
15388 | PyObject * obj1 = 0 ; | |
15389 | char * kwnames[] = { | |
15390 | (char *) "self",(char *) "page", NULL | |
15391 | }; | |
15392 | ||
5eb8189c RD |
15393 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15394 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15395 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15396 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15397 | } |
5eb8189c | 15398 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15399 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15400 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15401 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
15402 | } |
15403 | arg2 = static_cast< size_t >(val2); | |
15404 | { | |
15405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15406 | result = (bool)(arg1)->DeletePage(arg2); | |
15407 | wxPyEndAllowThreads(__tstate); | |
15408 | if (PyErr_Occurred()) SWIG_fail; | |
15409 | } | |
15410 | { | |
15411 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15412 | } | |
15413 | return resultobj; | |
15414 | fail: | |
15415 | return NULL; | |
15416 | } | |
15417 | ||
15418 | ||
5eb8189c | 15419 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15420 | PyObject *resultobj = 0; |
5eb8189c | 15421 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15422 | size_t arg2 ; |
15423 | bool result; | |
15424 | void *argp1 = 0 ; | |
15425 | int res1 = 0 ; | |
15426 | size_t val2 ; | |
15427 | int ecode2 = 0 ; | |
15428 | PyObject * obj0 = 0 ; | |
15429 | PyObject * obj1 = 0 ; | |
15430 | char * kwnames[] = { | |
15431 | (char *) "self",(char *) "page", NULL | |
15432 | }; | |
15433 | ||
5eb8189c RD |
15434 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15435 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15436 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15437 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15438 | } |
5eb8189c | 15439 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15440 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15441 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15442 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
15443 | } |
15444 | arg2 = static_cast< size_t >(val2); | |
15445 | { | |
15446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15447 | result = (bool)(arg1)->RemovePage(arg2); | |
15448 | wxPyEndAllowThreads(__tstate); | |
15449 | if (PyErr_Occurred()) SWIG_fail; | |
15450 | } | |
15451 | { | |
15452 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15453 | } | |
15454 | return resultobj; | |
15455 | fail: | |
15456 | return NULL; | |
15457 | } | |
15458 | ||
15459 | ||
5eb8189c | 15460 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15461 | PyObject *resultobj = 0; |
5eb8189c | 15462 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15463 | size_t arg2 ; |
15464 | wxString *arg3 = 0 ; | |
15465 | bool result; | |
15466 | void *argp1 = 0 ; | |
15467 | int res1 = 0 ; | |
15468 | size_t val2 ; | |
15469 | int ecode2 = 0 ; | |
15470 | bool temp3 = false ; | |
15471 | PyObject * obj0 = 0 ; | |
15472 | PyObject * obj1 = 0 ; | |
15473 | PyObject * obj2 = 0 ; | |
15474 | char * kwnames[] = { | |
15475 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15476 | }; | |
15477 | ||
5eb8189c RD |
15478 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15479 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15480 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15481 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15482 | } |
5eb8189c | 15483 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15484 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15485 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15486 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
15487 | } |
15488 | arg2 = static_cast< size_t >(val2); | |
15489 | { | |
15490 | arg3 = wxString_in_helper(obj2); | |
15491 | if (arg3 == NULL) SWIG_fail; | |
15492 | temp3 = true; | |
15493 | } | |
15494 | { | |
15495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15496 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); | |
15497 | wxPyEndAllowThreads(__tstate); | |
15498 | if (PyErr_Occurred()) SWIG_fail; | |
15499 | } | |
15500 | { | |
15501 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15502 | } | |
15503 | { | |
15504 | if (temp3) | |
15505 | delete arg3; | |
15506 | } | |
15507 | return resultobj; | |
15508 | fail: | |
15509 | { | |
15510 | if (temp3) | |
15511 | delete arg3; | |
15512 | } | |
15513 | return NULL; | |
15514 | } | |
15515 | ||
15516 | ||
5172800e RD |
15517 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15518 | PyObject *resultobj = 0; | |
15519 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15520 | size_t arg2 ; | |
15521 | wxBitmap *arg3 = 0 ; | |
15522 | bool result; | |
15523 | void *argp1 = 0 ; | |
15524 | int res1 = 0 ; | |
15525 | size_t val2 ; | |
15526 | int ecode2 = 0 ; | |
15527 | void *argp3 = 0 ; | |
15528 | int res3 = 0 ; | |
15529 | PyObject * obj0 = 0 ; | |
15530 | PyObject * obj1 = 0 ; | |
15531 | PyObject * obj2 = 0 ; | |
15532 | char * kwnames[] = { | |
15533 | (char *) "self",(char *) "page",(char *) "bitmap", NULL | |
15534 | }; | |
15535 | ||
15536 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
15537 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15538 | if (!SWIG_IsOK(res1)) { | |
15539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15540 | } | |
15541 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15542 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15543 | if (!SWIG_IsOK(ecode2)) { | |
15544 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15545 | } | |
15546 | arg2 = static_cast< size_t >(val2); | |
15547 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15548 | if (!SWIG_IsOK(res3)) { | |
15549 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15550 | } | |
15551 | if (!argp3) { | |
15552 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15553 | } | |
15554 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
15555 | { | |
15556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15557 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); | |
15558 | wxPyEndAllowThreads(__tstate); | |
15559 | if (PyErr_Occurred()) SWIG_fail; | |
15560 | } | |
15561 | { | |
15562 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15563 | } | |
15564 | return resultobj; | |
15565 | fail: | |
15566 | return NULL; | |
15567 | } | |
15568 | ||
15569 | ||
5eb8189c | 15570 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15571 | PyObject *resultobj = 0; |
5eb8189c | 15572 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15573 | size_t arg2 ; |
15574 | size_t result; | |
15575 | void *argp1 = 0 ; | |
15576 | int res1 = 0 ; | |
15577 | size_t val2 ; | |
15578 | int ecode2 = 0 ; | |
15579 | PyObject * obj0 = 0 ; | |
15580 | PyObject * obj1 = 0 ; | |
15581 | char * kwnames[] = { | |
15582 | (char *) "self",(char *) "new_page", NULL | |
15583 | }; | |
15584 | ||
5eb8189c RD |
15585 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15586 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15587 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
1eeb270e | 15589 | } |
5eb8189c | 15590 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15591 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15592 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15593 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
15594 | } |
15595 | arg2 = static_cast< size_t >(val2); | |
15596 | { | |
15597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15598 | result = (size_t)(arg1)->SetSelection(arg2); | |
15599 | wxPyEndAllowThreads(__tstate); | |
15600 | if (PyErr_Occurred()) SWIG_fail; | |
15601 | } | |
15602 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
15603 | return resultobj; | |
15604 | fail: | |
15605 | return NULL; | |
15606 | } | |
15607 | ||
15608 | ||
5eb8189c | 15609 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 15610 | PyObject *resultobj = 0; |
5eb8189c | 15611 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15612 | int result; |
15613 | void *argp1 = 0 ; | |
15614 | int res1 = 0 ; | |
15615 | PyObject *swig_obj[1] ; | |
15616 | ||
15617 | if (!args) SWIG_fail; | |
15618 | swig_obj[0] = args; | |
5eb8189c | 15619 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
1eeb270e | 15620 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15621 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
1eeb270e | 15622 | } |
5eb8189c | 15623 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15624 | { |
15625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15626 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
1eeb270e RD |
15627 | wxPyEndAllowThreads(__tstate); |
15628 | if (PyErr_Occurred()) SWIG_fail; | |
15629 | } | |
15630 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
15631 | return resultobj; | |
15632 | fail: | |
15633 | return NULL; | |
15634 | } | |
15635 | ||
15636 | ||
5eb8189c | 15637 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e | 15638 | PyObject *resultobj = 0; |
5eb8189c | 15639 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15640 | size_t result; |
15641 | void *argp1 = 0 ; | |
15642 | int res1 = 0 ; | |
15643 | PyObject *swig_obj[1] ; | |
15644 | ||
15645 | if (!args) SWIG_fail; | |
15646 | swig_obj[0] = args; | |
5eb8189c | 15647 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
1eeb270e | 15648 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
1eeb270e | 15650 | } |
5eb8189c | 15651 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15652 | { |
15653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15654 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
1eeb270e RD |
15655 | wxPyEndAllowThreads(__tstate); |
15656 | if (PyErr_Occurred()) SWIG_fail; | |
15657 | } | |
15658 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
15659 | return resultobj; | |
15660 | fail: | |
15661 | return NULL; | |
15662 | } | |
15663 | ||
15664 | ||
5eb8189c | 15665 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
1eeb270e | 15666 | PyObject *resultobj = 0; |
5eb8189c | 15667 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
1eeb270e RD |
15668 | size_t arg2 ; |
15669 | wxWindow *result = 0 ; | |
15670 | void *argp1 = 0 ; | |
15671 | int res1 = 0 ; | |
15672 | size_t val2 ; | |
15673 | int ecode2 = 0 ; | |
15674 | PyObject * obj0 = 0 ; | |
15675 | PyObject * obj1 = 0 ; | |
15676 | char * kwnames[] = { | |
15677 | (char *) "self",(char *) "page_idx", NULL | |
15678 | }; | |
15679 | ||
5eb8189c RD |
15680 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
15681 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
1eeb270e | 15682 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15683 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
1eeb270e | 15684 | } |
5eb8189c | 15685 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
1eeb270e RD |
15686 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15687 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15688 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
1eeb270e RD |
15689 | } |
15690 | arg2 = static_cast< size_t >(val2); | |
15691 | { | |
15692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15693 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
1eeb270e RD |
15694 | wxPyEndAllowThreads(__tstate); |
15695 | if (PyErr_Occurred()) SWIG_fail; | |
15696 | } | |
15697 | { | |
15698 | resultobj = wxPyMake_wxObject(result, 0); | |
15699 | } | |
15700 | return resultobj; | |
15701 | fail: | |
15702 | return NULL; | |
15703 | } | |
15704 | ||
15705 | ||
5172800e RD |
15706 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15707 | PyObject *resultobj = 0; | |
15708 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15709 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15710 | int result; | |
15711 | void *argp1 = 0 ; | |
15712 | int res1 = 0 ; | |
15713 | void *argp2 = 0 ; | |
15714 | int res2 = 0 ; | |
15715 | PyObject * obj0 = 0 ; | |
15716 | PyObject * obj1 = 0 ; | |
15717 | char * kwnames[] = { | |
15718 | (char *) "self",(char *) "page_wnd", NULL | |
15719 | }; | |
15720 | ||
15721 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; | |
15722 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15723 | if (!SWIG_IsOK(res1)) { | |
15724 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15725 | } | |
15726 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15727 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15728 | if (!SWIG_IsOK(res2)) { | |
15729 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15730 | } | |
15731 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15732 | { | |
15733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15734 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); | |
15735 | wxPyEndAllowThreads(__tstate); | |
15736 | if (PyErr_Occurred()) SWIG_fail; | |
15737 | } | |
15738 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
15739 | return resultobj; | |
15740 | fail: | |
15741 | return NULL; | |
15742 | } | |
15743 | ||
15744 | ||
5eb8189c | 15745 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15746 | PyObject *resultobj = 0; |
5eb8189c RD |
15747 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
15748 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
5c8c7dd3 RD |
15749 | void *argp1 = 0 ; |
15750 | int res1 = 0 ; | |
15751 | void *argp2 = 0 ; | |
15752 | int res2 = 0 ; | |
15753 | PyObject * obj0 = 0 ; | |
15754 | PyObject * obj1 = 0 ; | |
15755 | char * kwnames[] = { | |
15756 | (char *) "self",(char *) "art", NULL | |
15757 | }; | |
15758 | ||
5eb8189c RD |
15759 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
15760 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15761 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15762 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15763 | } |
5eb8189c RD |
15764 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
15765 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
5c8c7dd3 | 15766 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 15767 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 15768 | } |
5eb8189c | 15769 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
15770 | { |
15771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15772 | (arg1)->SetArtProvider(arg2); | |
15773 | wxPyEndAllowThreads(__tstate); | |
15774 | if (PyErr_Occurred()) SWIG_fail; | |
15775 | } | |
15776 | resultobj = SWIG_Py_Void(); | |
15777 | return resultobj; | |
15778 | fail: | |
15779 | return NULL; | |
15780 | } | |
15781 | ||
15782 | ||
5eb8189c | 15783 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 15784 | PyObject *resultobj = 0; |
5eb8189c RD |
15785 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
15786 | wxAuiTabArt *result = 0 ; | |
5c8c7dd3 RD |
15787 | void *argp1 = 0 ; |
15788 | int res1 = 0 ; | |
15789 | PyObject *swig_obj[1] ; | |
15790 | ||
15791 | if (!args) SWIG_fail; | |
15792 | swig_obj[0] = args; | |
5eb8189c | 15793 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15794 | if (!SWIG_IsOK(res1)) { |
5172800e | 15795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15796 | } |
5eb8189c | 15797 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
5c8c7dd3 RD |
15798 | { |
15799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 15800 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); |
5c8c7dd3 RD |
15801 | wxPyEndAllowThreads(__tstate); |
15802 | if (PyErr_Occurred()) SWIG_fail; | |
15803 | } | |
5eb8189c | 15804 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 RD |
15805 | return resultobj; |
15806 | fail: | |
15807 | return NULL; | |
15808 | } | |
15809 | ||
15810 | ||
8287c33f RD |
15811 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15812 | PyObject *resultobj = 0; | |
15813 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15814 | wxSize *arg2 = 0 ; | |
15815 | void *argp1 = 0 ; | |
15816 | int res1 = 0 ; | |
15817 | wxSize temp2 ; | |
15818 | PyObject * obj0 = 0 ; | |
15819 | PyObject * obj1 = 0 ; | |
15820 | char * kwnames[] = { | |
15821 | (char *) "self",(char *) "size", NULL | |
15822 | }; | |
15823 | ||
15824 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
15825 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15826 | if (!SWIG_IsOK(res1)) { | |
15827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15828 | } | |
15829 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15830 | { | |
15831 | arg2 = &temp2; | |
15832 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15833 | } | |
15834 | { | |
15835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15836 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15837 | wxPyEndAllowThreads(__tstate); | |
15838 | if (PyErr_Occurred()) SWIG_fail; | |
15839 | } | |
15840 | resultobj = SWIG_Py_Void(); | |
15841 | return resultobj; | |
15842 | fail: | |
15843 | return NULL; | |
15844 | } | |
15845 | ||
15846 | ||
15847 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15848 | PyObject *resultobj = 0; | |
15849 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15850 | int arg2 ; | |
15851 | void *argp1 = 0 ; | |
15852 | int res1 = 0 ; | |
15853 | int val2 ; | |
15854 | int ecode2 = 0 ; | |
15855 | PyObject * obj0 = 0 ; | |
15856 | PyObject * obj1 = 0 ; | |
15857 | char * kwnames[] = { | |
15858 | (char *) "self",(char *) "height", NULL | |
15859 | }; | |
15860 | ||
15861 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15862 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15863 | if (!SWIG_IsOK(res1)) { | |
15864 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15865 | } | |
15866 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15867 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15868 | if (!SWIG_IsOK(ecode2)) { | |
15869 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15870 | } | |
15871 | arg2 = static_cast< int >(val2); | |
15872 | { | |
15873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15874 | (arg1)->SetTabCtrlHeight(arg2); | |
15875 | wxPyEndAllowThreads(__tstate); | |
15876 | if (PyErr_Occurred()) SWIG_fail; | |
15877 | } | |
15878 | resultobj = SWIG_Py_Void(); | |
15879 | return resultobj; | |
15880 | fail: | |
15881 | return NULL; | |
15882 | } | |
15883 | ||
15884 | ||
5eb8189c | 15885 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
15886 | PyObject *obj; |
15887 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15888 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
1eeb270e RD |
15889 | return SWIG_Py_Void(); |
15890 | } | |
15891 | ||
5eb8189c | 15892 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
15893 | return SWIG_Python_InitShadowInstance(args); |
15894 | } | |
15895 | ||
5eb8189c | 15896 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
1eeb270e RD |
15897 | PyObject *obj; |
15898 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15899 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); |
1eeb270e RD |
15900 | return SWIG_Py_Void(); |
15901 | } | |
15902 | ||
5eb8189c | 15903 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 RD |
15904 | PyObject *obj; |
15905 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 15906 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); |
5c8c7dd3 RD |
15907 | return SWIG_Py_Void(); |
15908 | } | |
15909 | ||
1eeb270e | 15910 | static PyMethodDef SwigMethods[] = { |
5eb8189c RD |
15911 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, |
15912 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
15913 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15914 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
15915 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
15916 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
15917 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
15918 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
15919 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
15920 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
15921 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
15922 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
15923 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
15924 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
15925 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
15926 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
15927 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
15928 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
15929 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
15930 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
15931 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
15932 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
15933 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
15934 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
15935 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
15936 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
15937 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15938 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15939 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15940 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
15941 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
15942 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
15943 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
15944 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
15945 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
15946 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15947 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15948 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15949 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15950 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15951 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15952 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15953 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15954 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15955 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
15956 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15957 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
15958 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
15959 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
15960 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15961 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15962 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
15963 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
15964 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15965 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15966 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15967 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15968 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15969 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15970 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15971 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15972 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15973 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15974 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15975 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15976 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15977 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
15978 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, |
15979 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
15980 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
15981 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
15982 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
15983 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15984 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
15985 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
15986 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
15987 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
15988 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
15989 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
15990 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
15991 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
15992 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
15993 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
15994 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
15995 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
15996 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
15997 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
15998 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
15999 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
16000 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
16001 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
16002 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
16003 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
16004 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
16005 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
16006 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
16007 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
16008 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
16009 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
16010 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
16011 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
16012 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
16013 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
16014 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
16015 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
16016 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
16017 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
16018 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
16019 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
16020 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
16021 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16022 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
16023 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
16024 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16025 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
16026 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16027 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
eccab1a7 | 16028 | { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16029 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16030 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
16031 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16032 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16033 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
36cb9ebe RD |
16034 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, |
16035 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16036 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, |
16037 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16038 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d7645bfd | 16039 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, |
5eb8189c RD |
16040 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
16041 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16042 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
16043 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
d7645bfd VZ |
16044 | { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, |
16045 | { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16046 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16047 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16048 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16049 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
5eb8189c | 16050 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, |
e7e9d1b8 | 16051 | { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, |
5172800e | 16052 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16053 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
16054 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16055 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
16056 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16057 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16058 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
16059 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
16060 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16061 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
eccab1a7 | 16062 | { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16063 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, |
16064 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16065 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
eccab1a7 | 16066 | { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL}, |
5eb8189c RD |
16067 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, |
16068 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
16069 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
16070 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16071 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
16072 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16073 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
eccab1a7 RD |
16074 | { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL}, |
16075 | { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL}, | |
5eb8189c RD |
16076 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, |
16077 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
16078 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
16079 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
16080 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
16081 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
16082 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
16083 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
16084 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
16085 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
16086 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
16087 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
16088 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
16089 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
16090 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
16091 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
16092 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
16093 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
16094 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
16095 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
16096 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
16097 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
16098 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
16099 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
16100 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
16101 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
16102 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
16103 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
16104 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
16105 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
16106 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
16107 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
16108 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
16109 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
16110 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
16111 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
16112 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
16113 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
16114 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
16115 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
16116 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
16117 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
16118 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
16119 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
16120 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
16121 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
16122 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
16123 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
16124 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
16125 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
16126 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
16127 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
16128 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
16129 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
16130 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
16131 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
16132 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
16133 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
16134 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
16135 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
16136 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
16137 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
16138 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16139 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16140 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16141 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16142 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16143 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16144 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16145 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16146 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16147 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16148 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16149 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16150 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16151 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16152 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16153 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
16154 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
16155 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
16156 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16157 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
16158 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
eccab1a7 | 16159 | { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL}, |
5eb8189c RD |
16160 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, |
16161 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
1eeb270e RD |
16162 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
16163 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
1eeb270e | 16164 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, |
d95b9f2b | 16165 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
1eeb270e | 16166 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, |
d95b9f2b RD |
16167 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, |
16168 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
1eeb270e RD |
16169 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, |
16170 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
16171 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
16172 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
d95b9f2b RD |
16173 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, |
16174 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
1eeb270e RD |
16175 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, |
16176 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
16177 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
16178 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
16179 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
16180 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
16181 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
16182 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
16183 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
16184 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
16185 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
16186 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
16187 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
16188 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
16189 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
16190 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
16191 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
5c8c7dd3 RD |
16192 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, |
16193 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
1eeb270e RD |
16194 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, |
16195 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
8f514ab4 RD |
16196 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, |
16197 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
1eeb270e RD |
16198 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, |
16199 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
16200 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
5172800e RD |
16201 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, |
16202 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
16203 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16204 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16205 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16206 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16207 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16208 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16209 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16210 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16211 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
16212 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16213 | { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16214 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16215 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
16216 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
16217 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
16218 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
16219 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
16220 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
16221 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
16222 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
16223 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
1eeb270e RD |
16224 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, |
16225 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
5c8c7dd3 RD |
16226 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16227 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
5eb8189c RD |
16228 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, |
16229 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
1eeb270e RD |
16230 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16231 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 16232 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
1eeb270e RD |
16233 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, |
16234 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
16235 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
16236 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
16237 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16238 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16239 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16240 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16241 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
16242 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16243 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
16244 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16245 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16246 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16247 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
16248 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36cb9ebe | 16249 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
1eeb270e | 16250 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, |
8f514ab4 RD |
16251 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, |
16252 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
1eeb270e RD |
16253 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, |
16254 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
16255 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
580080c5 | 16256 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, |
1eeb270e RD |
16257 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, |
16258 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
5eb8189c RD |
16259 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, |
16260 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16261 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
16262 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16263 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16264 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16265 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16266 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16267 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 16268 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16269 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, |
16270 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
16271 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
16272 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5172800e | 16273 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, |
5eb8189c RD |
16274 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, |
16275 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
8287c33f RD |
16276 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, |
16277 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
5eb8189c RD |
16278 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, |
16279 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
16280 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
16281 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
27e45892 RD |
16282 | { NULL, NULL, 0, NULL } |
16283 | }; | |
16284 | ||
16285 | ||
16286 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
16287 | ||
5eb8189c RD |
16288 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { |
16289 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16290 | } |
16291 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { | |
16292 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
16293 | } | |
16294 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { | |
16295 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16296 | } | |
16297 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { | |
16298 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
16299 | } | |
16300 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { | |
16301 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16302 | } | |
16303 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { | |
16304 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
16305 | } | |
16306 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { | |
16307 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16308 | } | |
16309 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { | |
16310 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
16311 | } | |
5eb8189c RD |
16312 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { |
16313 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
16314 | } | |
5172800e RD |
16315 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
16316 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
16317 | } | |
5eb8189c RD |
16318 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
16319 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
16320 | } | |
1eeb270e RD |
16321 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { |
16322 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16323 | } | |
16324 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
16325 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16326 | } | |
27e45892 RD |
16327 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
16328 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
16329 | } | |
16330 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
16331 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
16332 | } | |
16333 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
16334 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
16335 | } | |
16336 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
16337 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
16338 | } | |
16339 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
16340 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
16341 | } | |
16342 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
16343 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
16344 | } | |
16345 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
16346 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
16347 | } | |
16348 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
16349 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
16350 | } | |
16351 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
16352 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
16353 | } | |
16354 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
16355 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
16356 | } | |
5eb8189c RD |
16357 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
16358 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 RD |
16359 | } |
16360 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16361 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
16362 | } | |
16363 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16364 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16365 | } | |
16366 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
16367 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
16368 | } | |
16369 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16370 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16371 | } | |
16372 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
16373 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16374 | } | |
16375 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
16376 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
16377 | } | |
16378 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
16379 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
16380 | } | |
16381 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
16382 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
16383 | } | |
16384 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
16385 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
16386 | } | |
16387 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16388 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
16389 | } | |
16390 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
16391 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16392 | } | |
16393 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
16394 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16395 | } | |
16396 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
16397 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
16398 | } | |
16399 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
16400 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
16401 | } | |
16402 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
16403 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
16404 | } | |
16405 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
16406 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16407 | } | |
16408 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
16409 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16410 | } | |
16411 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
16412 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16413 | } | |
16414 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
16415 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16416 | } | |
16417 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
16418 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16419 | } | |
16420 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
16421 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16422 | } | |
16423 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
16424 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16425 | } | |
16426 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
16427 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16428 | } | |
16429 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
16430 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16431 | } | |
16432 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
16433 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
16434 | } | |
16435 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
16436 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
16437 | } | |
16438 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
16439 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
16440 | } | |
16441 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
16442 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
16443 | } | |
16444 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
16445 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
16446 | } | |
16447 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
16448 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
16449 | } | |
16450 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
16451 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
16452 | } | |
16453 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
16454 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
16455 | } | |
16456 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
16457 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
16458 | } | |
16459 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
16460 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
16461 | } | |
16462 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
16463 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
16464 | } | |
16465 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
16466 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
16467 | } | |
16468 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
16469 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
16470 | } | |
16471 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
16472 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
16473 | } | |
16474 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
16475 | return (void *)((wxWindow *) ((wxControl *) x)); | |
16476 | } | |
16477 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
16478 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16479 | } | |
16480 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
16481 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16482 | } | |
16483 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
16484 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16485 | } | |
16486 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
16487 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
16488 | } | |
16489 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
16490 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
16491 | } | |
16492 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
16493 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16494 | } | |
f9bf356b RD |
16495 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
16496 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
16497 | } | |
27e45892 RD |
16498 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
16499 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
16500 | } | |
16501 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
16502 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
16503 | } | |
5eb8189c RD |
16504 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
16505 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 16506 | } |
27e45892 RD |
16507 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
16508 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
16509 | } | |
16510 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
16511 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
16512 | } | |
1eeb270e RD |
16513 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
16514 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
16515 | } | |
27e45892 RD |
16516 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
16517 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
16518 | } | |
16519 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
16520 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
16521 | } | |
16522 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
16523 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
16524 | } | |
16525 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
16526 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
16527 | } | |
16528 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
16529 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
16530 | } | |
5eb8189c RD |
16531 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
16532 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16533 | } | |
27e45892 RD |
16534 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
16535 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
16536 | } | |
1eeb270e RD |
16537 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
16538 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
16539 | } | |
16540 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { | |
16541 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
16542 | } | |
16543 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { | |
16544 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
16545 | } | |
16546 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { | |
16547 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
16548 | } | |
16549 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { | |
16550 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
16551 | } | |
16552 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { | |
16553 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
16554 | } | |
16555 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { | |
16556 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
16557 | } | |
16558 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
16559 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
16560 | } | |
16561 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
16562 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
16563 | } | |
16564 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
16565 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
16566 | } | |
16567 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
16568 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
16569 | } | |
16570 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
16571 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
16572 | } | |
16573 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
16574 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
16575 | } | |
16576 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
16577 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
16578 | } | |
16579 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
16580 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
16581 | } | |
16582 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
16583 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
16584 | } | |
16585 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
16586 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow **) x)); | |
16587 | } | |
16588 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
16589 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
16590 | } | |
16591 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
16592 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
16593 | } | |
16594 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
16595 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
16596 | } | |
16597 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
16598 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
16599 | } | |
16600 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
16601 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
16602 | } | |
16603 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
16604 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
16605 | } | |
16606 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
16607 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
16608 | } | |
16609 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
16610 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
16611 | } | |
16612 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
16613 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
16614 | } | |
16615 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
16616 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
16617 | } | |
16618 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
16619 | return (void *)((wxWindow **) ((wxControl **) x)); | |
16620 | } | |
16621 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
16622 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
16623 | } | |
16624 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
16625 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
16626 | } | |
16627 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
16628 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
16629 | } | |
16630 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
16631 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
16632 | } | |
16633 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
16634 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
16635 | } | |
16636 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
16637 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
16638 | } | |
f9bf356b RD |
16639 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { |
16640 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
16641 | } | |
1eeb270e RD |
16642 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { |
16643 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
16644 | } | |
16645 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
16646 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
16647 | } | |
5eb8189c RD |
16648 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { |
16649 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
1eeb270e RD |
16650 | } |
16651 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16652 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
16653 | } | |
16654 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
16655 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
16656 | } | |
16657 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
16658 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
16659 | } | |
16660 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
16661 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
16662 | } | |
16663 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
16664 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
16665 | } | |
16666 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
16667 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
16668 | } | |
16669 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
16670 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
16671 | } | |
16672 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
16673 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
16674 | } | |
5eb8189c RD |
16675 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { |
16676 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
16677 | } | |
1eeb270e RD |
16678 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { |
16679 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
16680 | } | |
16681 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
16682 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
16683 | } | |
16684 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
16685 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
16686 | } | |
5eb8189c RD |
16687 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { |
16688 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 16689 | } |
27e45892 RD |
16690 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
16691 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
16692 | } | |
16693 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
16694 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
16695 | } | |
16696 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
16697 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
16698 | } | |
16699 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
16700 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
16701 | } | |
16702 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
16703 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
16704 | } | |
16705 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
16706 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
16707 | } | |
16708 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
16709 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16710 | } | |
5eb8189c RD |
16711 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
16712 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16713 | } |
16714 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
16715 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
16716 | } | |
16717 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
16718 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
16719 | } | |
16720 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
16721 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16722 | } | |
16723 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
16724 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16725 | } | |
34e0a3bb RD |
16726 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
16727 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
16728 | } | |
27e45892 RD |
16729 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
16730 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
16731 | } | |
16732 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
16733 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
16734 | } | |
1eeb270e RD |
16735 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
16736 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
16737 | } | |
27e45892 RD |
16738 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
16739 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
16740 | } | |
16741 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
16742 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
16743 | } | |
16744 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
16745 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
16746 | } | |
16747 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
16748 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
16749 | } | |
16750 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
16751 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
16752 | } | |
16753 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
16754 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
16755 | } | |
16756 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
16757 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
16758 | } | |
16759 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
16760 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
16761 | } | |
16762 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
16763 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
16764 | } | |
27e45892 RD |
16765 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
16766 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
16767 | } | |
16768 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
16769 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
16770 | } | |
34e0a3bb RD |
16771 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
16772 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16773 | } | |
27e45892 RD |
16774 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
16775 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16776 | } | |
16777 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
16778 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16779 | } | |
16780 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
16781 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16782 | } | |
16783 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
16784 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16785 | } | |
16786 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
16787 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16788 | } | |
16789 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
16790 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
16791 | } | |
16792 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
16793 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
16794 | } | |
16795 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
16796 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
16797 | } | |
16798 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
16799 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
16800 | } | |
16801 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
16802 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16803 | } | |
16804 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
16805 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
16806 | } | |
16807 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
16808 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
16809 | } | |
16810 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
16811 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
16812 | } | |
16813 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
16814 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
16815 | } | |
16816 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
16817 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
16818 | } | |
16819 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
16820 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
16821 | } | |
16822 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
16823 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
16824 | } | |
16825 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
16826 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
16827 | } | |
16828 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
16829 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
16830 | } | |
16831 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
16832 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
16833 | } | |
16834 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
16835 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
16836 | } | |
16837 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
16838 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
16839 | } | |
27e45892 RD |
16840 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
16841 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
16842 | } | |
34e0a3bb RD |
16843 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
16844 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
16845 | } | |
27e45892 RD |
16846 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
16847 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
16848 | } | |
16849 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
16850 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
16851 | } | |
16852 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
16853 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
16854 | } | |
16855 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
16856 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
16857 | } | |
16858 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
16859 | return (void *)((wxObject *) ((wxSizer *) x)); | |
16860 | } | |
16861 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
16862 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
16863 | } | |
16864 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
16865 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
16866 | } | |
16867 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
16868 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
16869 | } | |
16870 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
16871 | return (void *)((wxObject *) ((wxEvent *) x)); | |
16872 | } | |
16873 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
16874 | return (void *)((wxObject *) ((wxFontData *) x)); | |
16875 | } | |
16876 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
16877 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
16878 | } | |
16879 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
16880 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
16881 | } | |
16882 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
16883 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
16884 | } | |
16885 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
16886 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
16887 | } | |
16888 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
16889 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
16890 | } | |
16891 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
16892 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
16893 | } | |
16894 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
16895 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
16896 | } | |
1eeb270e RD |
16897 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
16898 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
16899 | } | |
27e45892 RD |
16900 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
16901 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
16902 | } | |
16903 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
16904 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
16905 | } | |
16906 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
16907 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
16908 | } | |
16909 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
16910 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
16911 | } | |
16912 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
16913 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
16914 | } | |
16915 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
16916 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
16917 | } | |
16918 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
16919 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
16920 | } | |
16921 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
16922 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
16923 | } | |
16924 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
16925 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
16926 | } | |
16927 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
16928 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
16929 | } | |
16930 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
16931 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
16932 | } | |
5eb8189c RD |
16933 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
16934 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
16935 | } |
16936 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
16937 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
16938 | } | |
16939 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
16940 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
16941 | } | |
5eb8189c RD |
16942 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
16943 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
16944 | } | |
27e45892 RD |
16945 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
16946 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
16947 | } | |
16948 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
16949 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
16950 | } | |
5eb8189c RD |
16951 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
16952 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 16953 | } |
27e45892 RD |
16954 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
16955 | return (void *)((wxObject *) ((wxColourData *) x)); | |
16956 | } | |
16957 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
16958 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
16959 | } | |
16960 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
16961 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
16962 | } | |
16963 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
16964 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
16965 | } | |
16966 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
16967 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
16968 | } | |
16969 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
16970 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
16971 | } | |
16972 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
16973 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
16974 | } | |
16975 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
16976 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
16977 | } | |
16978 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
16979 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
16980 | } | |
16981 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
16982 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
16983 | } | |
16984 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
16985 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
16986 | } | |
16987 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
16988 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
16989 | } | |
16990 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
16991 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
16992 | } | |
16993 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
16994 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
16995 | } | |
16996 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
16997 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
16998 | } | |
16999 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
17000 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
17001 | } | |
17002 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17003 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17004 | } | |
17005 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
17006 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17007 | } | |
17008 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17009 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17010 | } | |
17011 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17012 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17013 | } | |
17014 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17015 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17016 | } | |
17017 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17018 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17019 | } | |
17020 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17021 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17022 | } | |
17023 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17024 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17025 | } | |
17026 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17027 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17028 | } | |
17029 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17030 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17031 | } | |
17032 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17033 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17034 | } | |
17035 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17036 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17037 | } | |
17038 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17039 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17040 | } | |
17041 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17042 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17043 | } | |
17044 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17045 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17046 | } | |
17047 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17048 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17049 | } | |
17050 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17051 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17052 | } | |
17053 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17054 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17055 | } | |
17056 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17057 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17058 | } | |
17059 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
17060 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
17061 | } | |
17062 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17063 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17064 | } | |
17065 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17066 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17067 | } | |
17068 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17069 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17070 | } | |
580080c5 RD |
17071 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
17072 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
17073 | } | |
27e45892 RD |
17074 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
17075 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17076 | } | |
34e0a3bb RD |
17077 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
17078 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
17079 | } | |
27e45892 RD |
17080 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
17081 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
17082 | } | |
17083 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
17084 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17085 | } | |
17086 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
17087 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17088 | } | |
f9bf356b RD |
17089 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
17090 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17091 | } | |
27e45892 RD |
17092 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17093 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17094 | } | |
580080c5 RD |
17095 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17096 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17097 | } | |
27e45892 RD |
17098 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
17099 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17100 | } | |
17101 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17102 | return (void *)((wxObject *) ((wxImage *) x)); | |
17103 | } | |
17104 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
17105 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17106 | } | |
17107 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
17108 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
17109 | } | |
17110 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17111 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17112 | } | |
17113 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
17114 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
17115 | } | |
27e45892 RD |
17116 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
17117 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
17118 | } | |
5eb8189c RD |
17119 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
17120 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
17121 | } |
17122 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
17123 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17124 | } | |
1eeb270e RD |
17125 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
17126 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17127 | } | |
27e45892 RD |
17128 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
17129 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17130 | } | |
17131 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17132 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17133 | } | |
17134 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17135 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17136 | } | |
17137 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17138 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17139 | } | |
17140 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17141 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17142 | } | |
17143 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17144 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17145 | } | |
17146 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
17147 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17148 | } | |
17149 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
17150 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
17151 | } | |
17152 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
17153 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
17154 | } | |
17155 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
17156 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
17157 | } | |
17158 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
17159 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
17160 | } | |
17161 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
17162 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17163 | } | |
17164 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
17165 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
17166 | } | |
17167 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
17168 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17169 | } | |
17170 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
17171 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
17172 | } | |
17173 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
17174 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17175 | } | |
17176 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
17177 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
17178 | } | |
17179 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
17180 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17181 | } | |
17182 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
17183 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
17184 | } | |
17185 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
17186 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
17187 | } | |
17188 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
17189 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
17190 | } | |
17191 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
17192 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
17193 | } | |
17194 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
17195 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17196 | } | |
17197 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
17198 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17199 | } | |
17200 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
17201 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17202 | } | |
17203 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
17204 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17205 | } | |
17206 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
17207 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
17208 | } | |
17209 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
17210 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
17211 | } | |
17212 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17213 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17214 | } | |
17215 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17216 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17217 | } | |
17218 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17219 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17220 | } | |
17221 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17222 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17223 | } | |
17224 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17225 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17226 | } | |
17227 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17228 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17229 | } | |
17230 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17231 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17232 | } | |
17233 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17234 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17235 | } | |
17236 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17237 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17238 | } | |
17239 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
17240 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17241 | } | |
17242 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
17243 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17244 | } | |
17245 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17246 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17247 | } | |
17248 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17249 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17250 | } | |
17251 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17252 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17253 | } | |
17254 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17255 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17256 | } | |
17257 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
17258 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
17259 | } | |
17260 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
17261 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
17262 | } | |
17263 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17264 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17265 | } | |
17266 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17267 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17268 | } | |
17269 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
17270 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
17271 | } | |
17272 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
17273 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
17274 | } | |
17275 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
17276 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
17277 | } | |
17278 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17279 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17280 | } | |
17281 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17282 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17283 | } | |
17284 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17285 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17286 | } | |
17287 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17288 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17289 | } | |
27e45892 RD |
17290 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
17291 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
17292 | } | |
17293 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17294 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
17295 | } | |
17296 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
17297 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
17298 | } | |
17299 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
17300 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
17301 | } | |
f9bf356b RD |
17302 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
17303 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
17304 | } | |
27e45892 RD |
17305 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
17306 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
17307 | } | |
17308 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
17309 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
17310 | } | |
17311 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
17312 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
17313 | } | |
17314 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
17315 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
17316 | } | |
17317 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
17318 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
17319 | } | |
17320 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
17321 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
17322 | } | |
17323 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17324 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
17325 | } | |
17326 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
17327 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
17328 | } | |
17329 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
17330 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
17331 | } | |
17332 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
17333 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
17334 | } | |
17335 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
17336 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
17337 | } | |
17338 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
17339 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
17340 | } | |
17341 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
17342 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
17343 | } | |
17344 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
17345 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
17346 | } | |
17347 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17348 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17349 | } | |
17350 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17351 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
17352 | } | |
17353 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
17354 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
17355 | } | |
17356 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
17357 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
17358 | } | |
17359 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
17360 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
17361 | } | |
17362 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17363 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17364 | } | |
17365 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17366 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
17367 | } | |
17368 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
17369 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17370 | } | |
17371 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
17372 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
17373 | } | |
17374 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17375 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17376 | } | |
17377 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17378 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17379 | } | |
17380 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
17381 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
17382 | } | |
17383 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
17384 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
17385 | } | |
f9bf356b RD |
17386 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17387 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
17388 | } | |
27e45892 RD |
17389 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
17390 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
17391 | } | |
17392 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
17393 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
17394 | } | |
5eb8189c RD |
17395 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { |
17396 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
1eeb270e | 17397 | } |
27e45892 RD |
17398 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
17399 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
17400 | } | |
17401 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
17402 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
17403 | } | |
17404 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
17405 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
17406 | } | |
1eeb270e RD |
17407 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { |
17408 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
17409 | } | |
27e45892 RD |
17410 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
17411 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
17412 | } | |
17413 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
17414 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
17415 | } | |
17416 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
17417 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
17418 | } | |
17419 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
17420 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
17421 | } | |
17422 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
17423 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
17424 | } | |
5eb8189c RD |
17425 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { |
17426 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17427 | } | |
27e45892 RD |
17428 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
17429 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
17430 | } | |
5eb8189c RD |
17431 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { |
17432 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 | 17433 | } |
1eeb270e RD |
17434 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { |
17435 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
17436 | } | |
27e45892 RD |
17437 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
17438 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
17439 | } | |
17440 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
17441 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
17442 | } | |
17443 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
17444 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
17445 | } | |
17446 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
17447 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
17448 | } | |
17449 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
17450 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
17451 | } | |
17452 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
17453 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
17454 | } | |
27e45892 RD |
17455 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { |
17456 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
17457 | } | |
17458 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
17459 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
17460 | } | |
17461 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
17462 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
17463 | } | |
5eb8189c RD |
17464 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { |
17465 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
17466 | } | |
1eeb270e RD |
17467 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
17468 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
17469 | } | |
17470 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17471 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17472 | } | |
17473 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
17474 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
17475 | } | |
17476 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
17477 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
17478 | } | |
17479 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17480 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17481 | } | |
17482 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17483 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17484 | } | |
17485 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17486 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17487 | } | |
17488 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17489 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17490 | } | |
17491 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
17492 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
17493 | } | |
17494 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
17495 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
17496 | } | |
17497 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17498 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17499 | } | |
17500 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17501 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17502 | } | |
17503 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
17504 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
17505 | } | |
17506 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17507 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17508 | } | |
5eb8189c RD |
17509 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
17510 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 17511 | } |
5eb8189c RD |
17512 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
17513 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 | 17514 | } |
5eb8189c RD |
17515 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { |
17516 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
8f514ab4 | 17517 | } |
5eb8189c RD |
17518 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { |
17519 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
5c8c7dd3 | 17520 | } |
27e45892 | 17521 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
d7645bfd | 17522 | static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; |
27e45892 | 17523 | 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 | 17524 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
1eeb270e RD |
17525 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
17526 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
17527 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17528 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
17529 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17530 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17531 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
17532 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17533 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
17534 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
17535 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
17536 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
17537 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
17538 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
17539 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
17540 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
17541 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17542 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17543 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17544 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17545 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17546 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17547 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17548 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
17549 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17550 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17551 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17552 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17553 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17554 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
17555 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17556 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
17557 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
17558 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
17559 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
17560 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17561 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
1eeb270e RD |
17562 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17563 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 17564 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
1eeb270e RD |
17565 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
17566 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17567 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
17568 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
17569 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17570 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17571 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17572 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 17573 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
1eeb270e | 17574 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
17575 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
17576 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
17577 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
26c4d26f | 17578 | static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
17579 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
17580 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
17581 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
17582 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
17583 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
17584 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
17585 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; | |
17586 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
17587 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
17588 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
17589 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
17590 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17591 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
17592 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
17593 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
17594 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 17595 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 17596 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
1eeb270e RD |
17597 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
17598 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
17599 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
17600 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17601 | static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; |
17602 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
1eeb270e RD |
17603 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
17604 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
17605 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
17606 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
17607 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
17608 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
17609 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
17610 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
17611 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
17612 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
17613 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
17614 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
17615 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
17616 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
17617 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 17618 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17619 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
17620 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17621 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
17622 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
17623 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
17624 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
17625 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 17626 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 17627 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
34e0a3bb | 17628 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
17629 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
17630 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17631 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
17632 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
17633 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
17634 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
17635 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
17636 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17637 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
17638 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17639 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
17640 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
17641 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
17642 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
17643 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
17644 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17645 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
17646 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17647 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
17648 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
17649 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
17650 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
17651 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
17652 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
17653 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
17654 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
17655 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; | |
17656 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
17657 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17658 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 17659 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17660 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
17661 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
17662 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17663 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
17664 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 17665 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
17666 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0}; |
17667 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
17668 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
17669 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
17670 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
17671 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
17672 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
17673 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
17674 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
17675 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
17676 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
17677 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
17678 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
17679 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
17680 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17681 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
17682 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17683 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
17684 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 17685 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
17686 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
17687 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
17688 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
17689 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
17690 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
17691 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
17692 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
17693 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
17694 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
17695 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
17696 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17697 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
17698 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
27e45892 | 17699 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
1eeb270e | 17700 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
17701 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
17702 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
17703 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
17704 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
17705 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
17706 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
17707 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
17708 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
17709 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
17710 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
17711 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
17712 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
17713 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
17714 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
17715 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
17716 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
17717 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
17718 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17719 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
17720 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; | |
17721 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
17722 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
17723 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
5eb8189c | 17724 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
1eeb270e RD |
17725 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
17726 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17727 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
17728 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
17729 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
17730 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
17731 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 17732 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
17733 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
17734 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
17735 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
17736 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
17737 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
17738 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
17739 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
17740 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
17741 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
17742 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
17743 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
27e45892 RD |
17744 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
17745 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
17746 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
17747 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
17748 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
17749 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
17750 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
17751 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
17752 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
17753 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
17754 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
17755 | ||
17756 | static swig_type_info *swig_type_initial[] = { | |
17757 | &_swigt__p_char, | |
d7645bfd | 17758 | &_swigt__p_double, |
27e45892 RD |
17759 | &_swigt__p_form_ops_t, |
17760 | &_swigt__p_int, | |
5eb8189c RD |
17761 | &_swigt__p_p_wxAuiFloatingFrame, |
17762 | &_swigt__p_p_wxAuiNotebook, | |
1eeb270e RD |
17763 | &_swigt__p_p_wxAuiTabContainerButton, |
17764 | &_swigt__p_p_wxAuiTabCtrl, | |
17765 | &_swigt__p_p_wxColourDialog, | |
17766 | &_swigt__p_p_wxControl, | |
17767 | &_swigt__p_p_wxControlWithItems, | |
17768 | &_swigt__p_p_wxDialog, | |
17769 | &_swigt__p_p_wxDirDialog, | |
17770 | &_swigt__p_p_wxFileDialog, | |
17771 | &_swigt__p_p_wxFindReplaceDialog, | |
1eeb270e RD |
17772 | &_swigt__p_p_wxFontDialog, |
17773 | &_swigt__p_p_wxFrame, | |
17774 | &_swigt__p_p_wxMDIChildFrame, | |
17775 | &_swigt__p_p_wxMDIClientWindow, | |
17776 | &_swigt__p_p_wxMDIParentFrame, | |
17777 | &_swigt__p_p_wxMenuBar, | |
17778 | &_swigt__p_p_wxMessageDialog, | |
17779 | &_swigt__p_p_wxMiniFrame, | |
17780 | &_swigt__p_p_wxMultiChoiceDialog, | |
17781 | &_swigt__p_p_wxNumberEntryDialog, | |
17782 | &_swigt__p_p_wxPanel, | |
17783 | &_swigt__p_p_wxPasswordEntryDialog, | |
17784 | &_swigt__p_p_wxPopupWindow, | |
17785 | &_swigt__p_p_wxPreviewCanvas, | |
17786 | &_swigt__p_p_wxPreviewControlBar, | |
17787 | &_swigt__p_p_wxPreviewFrame, | |
17788 | &_swigt__p_p_wxProgressDialog, | |
17789 | &_swigt__p_p_wxPyHtmlListBox, | |
17790 | &_swigt__p_p_wxPyPanel, | |
17791 | &_swigt__p_p_wxPyPopupTransientWindow, | |
17792 | &_swigt__p_p_wxPyPreviewControlBar, | |
17793 | &_swigt__p_p_wxPyPreviewFrame, | |
17794 | &_swigt__p_p_wxPyScrolledWindow, | |
17795 | &_swigt__p_p_wxPyVListBox, | |
17796 | &_swigt__p_p_wxPyVScrolledWindow, | |
17797 | &_swigt__p_p_wxPyWindow, | |
17798 | &_swigt__p_p_wxSashLayoutWindow, | |
17799 | &_swigt__p_p_wxSashWindow, | |
17800 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 17801 | &_swigt__p_p_wxSimpleHtmlListBox, |
1eeb270e RD |
17802 | &_swigt__p_p_wxSingleChoiceDialog, |
17803 | &_swigt__p_p_wxSplashScreen, | |
17804 | &_swigt__p_p_wxSplashScreenWindow, | |
17805 | &_swigt__p_p_wxSplitterWindow, | |
17806 | &_swigt__p_p_wxStatusBar, | |
17807 | &_swigt__p_p_wxTextEntryDialog, | |
17808 | &_swigt__p_p_wxTipWindow, | |
17809 | &_swigt__p_p_wxTopLevelWindow, | |
17810 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
17811 | &_swigt__p_unsigned_char, |
17812 | &_swigt__p_unsigned_int, | |
17813 | &_swigt__p_unsigned_long, | |
17814 | &_swigt__p_wxANIHandler, | |
17815 | &_swigt__p_wxAcceleratorTable, | |
17816 | &_swigt__p_wxActivateEvent, | |
26c4d26f | 17817 | &_swigt__p_wxArrayString, |
5eb8189c RD |
17818 | &_swigt__p_wxAuiDefaultDockArt, |
17819 | &_swigt__p_wxAuiDefaultTabArt, | |
17820 | &_swigt__p_wxAuiDockArt, | |
17821 | &_swigt__p_wxAuiDockInfo, | |
17822 | &_swigt__p_wxAuiDockUIPart, | |
17823 | &_swigt__p_wxAuiFloatingFrame, | |
17824 | &_swigt__p_wxAuiManager, | |
17825 | &_swigt__p_wxAuiManagerEvent, | |
17826 | &_swigt__p_wxAuiNotebook, | |
1eeb270e RD |
17827 | &_swigt__p_wxAuiNotebookEvent, |
17828 | &_swigt__p_wxAuiNotebookPage, | |
17829 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
17830 | &_swigt__p_wxAuiPaneButton, |
17831 | &_swigt__p_wxAuiPaneButtonArray, | |
17832 | &_swigt__p_wxAuiPaneInfo, | |
17833 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 17834 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 17835 | &_swigt__p_wxAuiTabArt, |
1eeb270e RD |
17836 | &_swigt__p_wxAuiTabContainer, |
17837 | &_swigt__p_wxAuiTabContainerButton, | |
17838 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 17839 | &_swigt__p_wxBMPHandler, |
1eeb270e | 17840 | &_swigt__p_wxBitmap, |
27e45892 RD |
17841 | &_swigt__p_wxBoxSizer, |
17842 | &_swigt__p_wxCURHandler, | |
17843 | &_swigt__p_wxCalculateLayoutEvent, | |
17844 | &_swigt__p_wxChildFocusEvent, | |
17845 | &_swigt__p_wxClipboardTextEvent, | |
17846 | &_swigt__p_wxCloseEvent, | |
17847 | &_swigt__p_wxColor, | |
17848 | &_swigt__p_wxColour, | |
17849 | &_swigt__p_wxColourData, | |
17850 | &_swigt__p_wxColourDialog, | |
17851 | &_swigt__p_wxCommandEvent, | |
17852 | &_swigt__p_wxContextMenuEvent, | |
17853 | &_swigt__p_wxControl, | |
17854 | &_swigt__p_wxControlWithItems, | |
17855 | &_swigt__p_wxDC, | |
17856 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
17857 | &_swigt__p_wxDialog, |
17858 | &_swigt__p_wxDirDialog, | |
17859 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
17860 | &_swigt__p_wxDropFilesEvent, |
17861 | &_swigt__p_wxDuplexMode, | |
17862 | &_swigt__p_wxEraseEvent, | |
17863 | &_swigt__p_wxEvent, | |
17864 | &_swigt__p_wxEvtHandler, | |
17865 | &_swigt__p_wxFSFile, | |
17866 | &_swigt__p_wxFileDialog, | |
17867 | &_swigt__p_wxFileSystem, | |
17868 | &_swigt__p_wxFindDialogEvent, | |
17869 | &_swigt__p_wxFindReplaceData, | |
17870 | &_swigt__p_wxFindReplaceDialog, | |
17871 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
17872 | &_swigt__p_wxFocusEvent, |
17873 | &_swigt__p_wxFont, | |
17874 | &_swigt__p_wxFontData, | |
17875 | &_swigt__p_wxFontDialog, | |
17876 | &_swigt__p_wxFrame, | |
27e45892 RD |
17877 | &_swigt__p_wxGBSizerItem, |
17878 | &_swigt__p_wxGIFHandler, | |
17879 | &_swigt__p_wxGridBagSizer, | |
17880 | &_swigt__p_wxGridSizer, | |
17881 | &_swigt__p_wxICOHandler, | |
17882 | &_swigt__p_wxIconizeEvent, | |
17883 | &_swigt__p_wxIdleEvent, | |
17884 | &_swigt__p_wxImage, | |
17885 | &_swigt__p_wxImageHandler, | |
17886 | &_swigt__p_wxIndividualLayoutConstraint, | |
17887 | &_swigt__p_wxInitDialogEvent, | |
17888 | &_swigt__p_wxJPEGHandler, | |
17889 | &_swigt__p_wxKeyEvent, | |
17890 | &_swigt__p_wxLayoutAlgorithm, | |
17891 | &_swigt__p_wxLayoutConstraints, | |
17892 | &_swigt__p_wxMDIChildFrame, | |
17893 | &_swigt__p_wxMDIClientWindow, | |
17894 | &_swigt__p_wxMDIParentFrame, | |
17895 | &_swigt__p_wxMaximizeEvent, | |
17896 | &_swigt__p_wxMenu, | |
17897 | &_swigt__p_wxMenuBar, | |
17898 | &_swigt__p_wxMenuEvent, | |
17899 | &_swigt__p_wxMenuItem, | |
17900 | &_swigt__p_wxMessageDialog, | |
17901 | &_swigt__p_wxMiniFrame, | |
17902 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 17903 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
17904 | &_swigt__p_wxMouseEvent, |
17905 | &_swigt__p_wxMoveEvent, | |
17906 | &_swigt__p_wxMultiChoiceDialog, | |
17907 | &_swigt__p_wxNavigationKeyEvent, | |
17908 | &_swigt__p_wxNcPaintEvent, | |
17909 | &_swigt__p_wxNotifyEvent, | |
17910 | &_swigt__p_wxNumberEntryDialog, | |
17911 | &_swigt__p_wxObject, | |
17912 | &_swigt__p_wxPCXHandler, | |
17913 | &_swigt__p_wxPNGHandler, | |
17914 | &_swigt__p_wxPNMHandler, | |
17915 | &_swigt__p_wxPageSetupDialog, | |
17916 | &_swigt__p_wxPageSetupDialogData, | |
17917 | &_swigt__p_wxPaintEvent, | |
17918 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
17919 | &_swigt__p_wxPanel, |
17920 | &_swigt__p_wxPaperSize, | |
17921 | &_swigt__p_wxPasswordEntryDialog, | |
17922 | &_swigt__p_wxPoint, | |
17923 | &_swigt__p_wxPopupWindow, | |
17924 | &_swigt__p_wxPreviewCanvas, | |
17925 | &_swigt__p_wxPreviewControlBar, | |
17926 | &_swigt__p_wxPreviewFrame, | |
17927 | &_swigt__p_wxPrintData, | |
17928 | &_swigt__p_wxPrintDialog, | |
17929 | &_swigt__p_wxPrintDialogData, | |
17930 | &_swigt__p_wxPrintPreview, | |
17931 | &_swigt__p_wxPrinter, | |
17932 | &_swigt__p_wxProgressDialog, | |
17933 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
17934 | &_swigt__p_wxPyAuiDockArt, |
17935 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 17936 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
17937 | &_swigt__p_wxPyEvent, |
17938 | &_swigt__p_wxPyHtmlListBox, | |
17939 | &_swigt__p_wxPyImageHandler, | |
17940 | &_swigt__p_wxPyPanel, | |
17941 | &_swigt__p_wxPyPopupTransientWindow, | |
17942 | &_swigt__p_wxPyPreviewControlBar, | |
17943 | &_swigt__p_wxPyPreviewFrame, | |
17944 | &_swigt__p_wxPyPrintPreview, | |
17945 | &_swigt__p_wxPyPrintout, | |
17946 | &_swigt__p_wxPyScrolledWindow, | |
17947 | &_swigt__p_wxPySizer, | |
17948 | &_swigt__p_wxPyTaskBarIcon, | |
17949 | &_swigt__p_wxPyVListBox, | |
17950 | &_swigt__p_wxPyVScrolledWindow, | |
17951 | &_swigt__p_wxPyValidator, | |
17952 | &_swigt__p_wxPyWindow, | |
17953 | &_swigt__p_wxQueryLayoutInfoEvent, | |
17954 | &_swigt__p_wxQueryNewPaletteEvent, | |
17955 | &_swigt__p_wxRect, | |
17956 | &_swigt__p_wxSashEvent, | |
17957 | &_swigt__p_wxSashLayoutWindow, | |
17958 | &_swigt__p_wxSashWindow, | |
17959 | &_swigt__p_wxScrollEvent, | |
17960 | &_swigt__p_wxScrollWinEvent, | |
17961 | &_swigt__p_wxScrolledWindow, | |
17962 | &_swigt__p_wxSetCursorEvent, | |
17963 | &_swigt__p_wxShowEvent, | |
f9bf356b | 17964 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
17965 | &_swigt__p_wxSingleChoiceDialog, |
17966 | &_swigt__p_wxSize, | |
17967 | &_swigt__p_wxSizeEvent, | |
17968 | &_swigt__p_wxSizer, | |
17969 | &_swigt__p_wxSizerItem, | |
17970 | &_swigt__p_wxSplashScreen, | |
17971 | &_swigt__p_wxSplashScreenWindow, | |
17972 | &_swigt__p_wxSplitterEvent, | |
17973 | &_swigt__p_wxSplitterWindow, | |
17974 | &_swigt__p_wxStaticBoxSizer, | |
17975 | &_swigt__p_wxStatusBar, | |
17976 | &_swigt__p_wxStdDialogButtonSizer, | |
17977 | &_swigt__p_wxString, | |
17978 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 17979 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
17980 | &_swigt__p_wxTIFFHandler, |
17981 | &_swigt__p_wxTaskBarIconEvent, | |
17982 | &_swigt__p_wxTextEntryDialog, | |
17983 | &_swigt__p_wxTipWindow, | |
17984 | &_swigt__p_wxTopLevelWindow, | |
17985 | &_swigt__p_wxUpdateUIEvent, | |
17986 | &_swigt__p_wxValidator, | |
17987 | &_swigt__p_wxWindow, | |
17988 | &_swigt__p_wxWindowCreateEvent, | |
17989 | &_swigt__p_wxWindowDestroyEvent, | |
17990 | &_swigt__p_wxXPMHandler, | |
17991 | }; | |
17992 | ||
17993 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
d7645bfd | 17994 | static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
17995 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
17996 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
17997 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
17998 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
17999 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18000 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18001 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18002 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18003 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18004 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18005 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18006 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18007 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18008 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18009 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18010 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18011 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18012 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18013 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18014 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18015 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18016 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18017 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18018 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18019 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18020 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18021 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18022 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18023 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18024 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18025 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18026 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18027 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
18028 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18029 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
18030 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18031 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18032 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e RD |
18033 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
18034 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18035 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e RD |
18036 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
18037 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18038 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18039 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18040 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18041 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18042 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18043 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18044 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e | 18045 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 18046 | 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 |
18047 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
18048 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18049 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
26c4d26f | 18050 | static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
18051 | 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}}; |
18052 | 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}}; | |
18053 | 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}}; | |
18054 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18055 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
18056 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18057 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; | |
18058 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18059 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
18060 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18061 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
18062 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18063 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
18064 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
18065 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18066 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
18067 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
18068 | 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}}; | |
1eeb270e RD |
18069 | 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}}; |
18070 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
18071 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18072 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18073 | static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; |
18074 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
1eeb270e RD |
18075 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18076 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18077 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18078 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18079 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18080 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18081 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18082 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18083 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18084 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18085 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18086 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18087 | 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}}; | |
18088 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18089 | 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 | 18090 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18091 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18092 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18093 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18094 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18095 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18096 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 18097 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18098 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 18099 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18100 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18101 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18102 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18103 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18104 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18105 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18106 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18107 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18108 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18109 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18110 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18111 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18112 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18113 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18114 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18115 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18116 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18117 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18118 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
18119 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18120 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18121 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18122 | 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 |
18123 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
18124 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
18125 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18126 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18127 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18128 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18129 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 18130 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18131 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
18132 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18133 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18134 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
18135 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18136 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18137 | static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; |
18138 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18139 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18140 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18141 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18142 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18143 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18144 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18145 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18146 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18147 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18148 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18149 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
18150 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
18151 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18152 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
18153 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18154 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
18155 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18156 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18157 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
18158 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
18159 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18160 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18161 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
18162 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18163 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18164 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18165 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18166 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
18167 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18168 | 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_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashWindow, _p_wxSashWindowTo_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_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 | 18169 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
18170 | 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_wxTipWindow, _p_wxTipWindowTo_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}}; |
18171 | 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}}; | |
1eeb270e | 18172 | 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 |
18173 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
18174 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18175 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
18176 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18177 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18178 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18179 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
18180 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
18181 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18182 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18183 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
18184 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
18185 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
18186 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18187 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
18188 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
18189 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18190 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18191 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18192 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18193 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18194 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18195 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
1eeb270e RD |
18196 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18197 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18198 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
18199 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18200 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18201 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18202 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 18203 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
18204 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
18205 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
18206 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
18207 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
18208 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18209 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
18210 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18211 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
18212 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
18213 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
18214 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 18215 | 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_wxTipWindow, _p_wxTipWindowTo_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_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 |
18216 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
18217 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
18218 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
18219 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
18220 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
18221 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
18222 | 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}}; | |
18223 | 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}}; | |
18224 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 18225 | 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_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_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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_wxMessageDialog, _p_wxMessageDialogTo_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 | 18226 | 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_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_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 |
18227 | |
18228 | static swig_cast_info *swig_cast_initial[] = { | |
18229 | _swigc__p_char, | |
d7645bfd | 18230 | _swigc__p_double, |
27e45892 RD |
18231 | _swigc__p_form_ops_t, |
18232 | _swigc__p_int, | |
5eb8189c RD |
18233 | _swigc__p_p_wxAuiFloatingFrame, |
18234 | _swigc__p_p_wxAuiNotebook, | |
1eeb270e RD |
18235 | _swigc__p_p_wxAuiTabContainerButton, |
18236 | _swigc__p_p_wxAuiTabCtrl, | |
18237 | _swigc__p_p_wxColourDialog, | |
18238 | _swigc__p_p_wxControl, | |
18239 | _swigc__p_p_wxControlWithItems, | |
18240 | _swigc__p_p_wxDialog, | |
18241 | _swigc__p_p_wxDirDialog, | |
18242 | _swigc__p_p_wxFileDialog, | |
18243 | _swigc__p_p_wxFindReplaceDialog, | |
1eeb270e RD |
18244 | _swigc__p_p_wxFontDialog, |
18245 | _swigc__p_p_wxFrame, | |
18246 | _swigc__p_p_wxMDIChildFrame, | |
18247 | _swigc__p_p_wxMDIClientWindow, | |
18248 | _swigc__p_p_wxMDIParentFrame, | |
18249 | _swigc__p_p_wxMenuBar, | |
18250 | _swigc__p_p_wxMessageDialog, | |
18251 | _swigc__p_p_wxMiniFrame, | |
18252 | _swigc__p_p_wxMultiChoiceDialog, | |
18253 | _swigc__p_p_wxNumberEntryDialog, | |
18254 | _swigc__p_p_wxPanel, | |
18255 | _swigc__p_p_wxPasswordEntryDialog, | |
18256 | _swigc__p_p_wxPopupWindow, | |
18257 | _swigc__p_p_wxPreviewCanvas, | |
18258 | _swigc__p_p_wxPreviewControlBar, | |
18259 | _swigc__p_p_wxPreviewFrame, | |
18260 | _swigc__p_p_wxProgressDialog, | |
18261 | _swigc__p_p_wxPyHtmlListBox, | |
18262 | _swigc__p_p_wxPyPanel, | |
18263 | _swigc__p_p_wxPyPopupTransientWindow, | |
18264 | _swigc__p_p_wxPyPreviewControlBar, | |
18265 | _swigc__p_p_wxPyPreviewFrame, | |
18266 | _swigc__p_p_wxPyScrolledWindow, | |
18267 | _swigc__p_p_wxPyVListBox, | |
18268 | _swigc__p_p_wxPyVScrolledWindow, | |
18269 | _swigc__p_p_wxPyWindow, | |
18270 | _swigc__p_p_wxSashLayoutWindow, | |
18271 | _swigc__p_p_wxSashWindow, | |
18272 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 18273 | _swigc__p_p_wxSimpleHtmlListBox, |
1eeb270e RD |
18274 | _swigc__p_p_wxSingleChoiceDialog, |
18275 | _swigc__p_p_wxSplashScreen, | |
18276 | _swigc__p_p_wxSplashScreenWindow, | |
18277 | _swigc__p_p_wxSplitterWindow, | |
18278 | _swigc__p_p_wxStatusBar, | |
18279 | _swigc__p_p_wxTextEntryDialog, | |
18280 | _swigc__p_p_wxTipWindow, | |
18281 | _swigc__p_p_wxTopLevelWindow, | |
18282 | _swigc__p_p_wxWindow, | |
27e45892 RD |
18283 | _swigc__p_unsigned_char, |
18284 | _swigc__p_unsigned_int, | |
18285 | _swigc__p_unsigned_long, | |
18286 | _swigc__p_wxANIHandler, | |
18287 | _swigc__p_wxAcceleratorTable, | |
18288 | _swigc__p_wxActivateEvent, | |
26c4d26f | 18289 | _swigc__p_wxArrayString, |
5eb8189c RD |
18290 | _swigc__p_wxAuiDefaultDockArt, |
18291 | _swigc__p_wxAuiDefaultTabArt, | |
18292 | _swigc__p_wxAuiDockArt, | |
18293 | _swigc__p_wxAuiDockInfo, | |
18294 | _swigc__p_wxAuiDockUIPart, | |
18295 | _swigc__p_wxAuiFloatingFrame, | |
18296 | _swigc__p_wxAuiManager, | |
18297 | _swigc__p_wxAuiManagerEvent, | |
18298 | _swigc__p_wxAuiNotebook, | |
1eeb270e RD |
18299 | _swigc__p_wxAuiNotebookEvent, |
18300 | _swigc__p_wxAuiNotebookPage, | |
18301 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
18302 | _swigc__p_wxAuiPaneButton, |
18303 | _swigc__p_wxAuiPaneButtonArray, | |
18304 | _swigc__p_wxAuiPaneInfo, | |
18305 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 18306 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 18307 | _swigc__p_wxAuiTabArt, |
1eeb270e RD |
18308 | _swigc__p_wxAuiTabContainer, |
18309 | _swigc__p_wxAuiTabContainerButton, | |
18310 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 18311 | _swigc__p_wxBMPHandler, |
1eeb270e | 18312 | _swigc__p_wxBitmap, |
27e45892 RD |
18313 | _swigc__p_wxBoxSizer, |
18314 | _swigc__p_wxCURHandler, | |
18315 | _swigc__p_wxCalculateLayoutEvent, | |
18316 | _swigc__p_wxChildFocusEvent, | |
18317 | _swigc__p_wxClipboardTextEvent, | |
18318 | _swigc__p_wxCloseEvent, | |
18319 | _swigc__p_wxColor, | |
18320 | _swigc__p_wxColour, | |
18321 | _swigc__p_wxColourData, | |
18322 | _swigc__p_wxColourDialog, | |
18323 | _swigc__p_wxCommandEvent, | |
18324 | _swigc__p_wxContextMenuEvent, | |
18325 | _swigc__p_wxControl, | |
18326 | _swigc__p_wxControlWithItems, | |
18327 | _swigc__p_wxDC, | |
18328 | _swigc__p_wxDateEvent, | |
27e45892 RD |
18329 | _swigc__p_wxDialog, |
18330 | _swigc__p_wxDirDialog, | |
18331 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
18332 | _swigc__p_wxDropFilesEvent, |
18333 | _swigc__p_wxDuplexMode, | |
18334 | _swigc__p_wxEraseEvent, | |
18335 | _swigc__p_wxEvent, | |
18336 | _swigc__p_wxEvtHandler, | |
18337 | _swigc__p_wxFSFile, | |
18338 | _swigc__p_wxFileDialog, | |
18339 | _swigc__p_wxFileSystem, | |
18340 | _swigc__p_wxFindDialogEvent, | |
18341 | _swigc__p_wxFindReplaceData, | |
18342 | _swigc__p_wxFindReplaceDialog, | |
18343 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
18344 | _swigc__p_wxFocusEvent, |
18345 | _swigc__p_wxFont, | |
18346 | _swigc__p_wxFontData, | |
18347 | _swigc__p_wxFontDialog, | |
18348 | _swigc__p_wxFrame, | |
27e45892 RD |
18349 | _swigc__p_wxGBSizerItem, |
18350 | _swigc__p_wxGIFHandler, | |
18351 | _swigc__p_wxGridBagSizer, | |
18352 | _swigc__p_wxGridSizer, | |
18353 | _swigc__p_wxICOHandler, | |
18354 | _swigc__p_wxIconizeEvent, | |
18355 | _swigc__p_wxIdleEvent, | |
18356 | _swigc__p_wxImage, | |
18357 | _swigc__p_wxImageHandler, | |
18358 | _swigc__p_wxIndividualLayoutConstraint, | |
18359 | _swigc__p_wxInitDialogEvent, | |
18360 | _swigc__p_wxJPEGHandler, | |
18361 | _swigc__p_wxKeyEvent, | |
18362 | _swigc__p_wxLayoutAlgorithm, | |
18363 | _swigc__p_wxLayoutConstraints, | |
18364 | _swigc__p_wxMDIChildFrame, | |
18365 | _swigc__p_wxMDIClientWindow, | |
18366 | _swigc__p_wxMDIParentFrame, | |
18367 | _swigc__p_wxMaximizeEvent, | |
18368 | _swigc__p_wxMenu, | |
18369 | _swigc__p_wxMenuBar, | |
18370 | _swigc__p_wxMenuEvent, | |
18371 | _swigc__p_wxMenuItem, | |
18372 | _swigc__p_wxMessageDialog, | |
18373 | _swigc__p_wxMiniFrame, | |
18374 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 18375 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
18376 | _swigc__p_wxMouseEvent, |
18377 | _swigc__p_wxMoveEvent, | |
18378 | _swigc__p_wxMultiChoiceDialog, | |
18379 | _swigc__p_wxNavigationKeyEvent, | |
18380 | _swigc__p_wxNcPaintEvent, | |
18381 | _swigc__p_wxNotifyEvent, | |
18382 | _swigc__p_wxNumberEntryDialog, | |
18383 | _swigc__p_wxObject, | |
18384 | _swigc__p_wxPCXHandler, | |
18385 | _swigc__p_wxPNGHandler, | |
18386 | _swigc__p_wxPNMHandler, | |
18387 | _swigc__p_wxPageSetupDialog, | |
18388 | _swigc__p_wxPageSetupDialogData, | |
18389 | _swigc__p_wxPaintEvent, | |
18390 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
18391 | _swigc__p_wxPanel, |
18392 | _swigc__p_wxPaperSize, | |
18393 | _swigc__p_wxPasswordEntryDialog, | |
18394 | _swigc__p_wxPoint, | |
18395 | _swigc__p_wxPopupWindow, | |
18396 | _swigc__p_wxPreviewCanvas, | |
18397 | _swigc__p_wxPreviewControlBar, | |
18398 | _swigc__p_wxPreviewFrame, | |
18399 | _swigc__p_wxPrintData, | |
18400 | _swigc__p_wxPrintDialog, | |
18401 | _swigc__p_wxPrintDialogData, | |
18402 | _swigc__p_wxPrintPreview, | |
18403 | _swigc__p_wxPrinter, | |
18404 | _swigc__p_wxProgressDialog, | |
18405 | _swigc__p_wxPyApp, | |
5eb8189c RD |
18406 | _swigc__p_wxPyAuiDockArt, |
18407 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 18408 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
18409 | _swigc__p_wxPyEvent, |
18410 | _swigc__p_wxPyHtmlListBox, | |
18411 | _swigc__p_wxPyImageHandler, | |
18412 | _swigc__p_wxPyPanel, | |
18413 | _swigc__p_wxPyPopupTransientWindow, | |
18414 | _swigc__p_wxPyPreviewControlBar, | |
18415 | _swigc__p_wxPyPreviewFrame, | |
18416 | _swigc__p_wxPyPrintPreview, | |
18417 | _swigc__p_wxPyPrintout, | |
18418 | _swigc__p_wxPyScrolledWindow, | |
18419 | _swigc__p_wxPySizer, | |
18420 | _swigc__p_wxPyTaskBarIcon, | |
18421 | _swigc__p_wxPyVListBox, | |
18422 | _swigc__p_wxPyVScrolledWindow, | |
18423 | _swigc__p_wxPyValidator, | |
18424 | _swigc__p_wxPyWindow, | |
18425 | _swigc__p_wxQueryLayoutInfoEvent, | |
18426 | _swigc__p_wxQueryNewPaletteEvent, | |
18427 | _swigc__p_wxRect, | |
18428 | _swigc__p_wxSashEvent, | |
18429 | _swigc__p_wxSashLayoutWindow, | |
18430 | _swigc__p_wxSashWindow, | |
18431 | _swigc__p_wxScrollEvent, | |
18432 | _swigc__p_wxScrollWinEvent, | |
18433 | _swigc__p_wxScrolledWindow, | |
18434 | _swigc__p_wxSetCursorEvent, | |
18435 | _swigc__p_wxShowEvent, | |
f9bf356b | 18436 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
18437 | _swigc__p_wxSingleChoiceDialog, |
18438 | _swigc__p_wxSize, | |
18439 | _swigc__p_wxSizeEvent, | |
18440 | _swigc__p_wxSizer, | |
18441 | _swigc__p_wxSizerItem, | |
18442 | _swigc__p_wxSplashScreen, | |
18443 | _swigc__p_wxSplashScreenWindow, | |
18444 | _swigc__p_wxSplitterEvent, | |
18445 | _swigc__p_wxSplitterWindow, | |
18446 | _swigc__p_wxStaticBoxSizer, | |
18447 | _swigc__p_wxStatusBar, | |
18448 | _swigc__p_wxStdDialogButtonSizer, | |
18449 | _swigc__p_wxString, | |
18450 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 18451 | _swigc__p_wxTGAHandler, |
27e45892 RD |
18452 | _swigc__p_wxTIFFHandler, |
18453 | _swigc__p_wxTaskBarIconEvent, | |
18454 | _swigc__p_wxTextEntryDialog, | |
18455 | _swigc__p_wxTipWindow, | |
18456 | _swigc__p_wxTopLevelWindow, | |
18457 | _swigc__p_wxUpdateUIEvent, | |
18458 | _swigc__p_wxValidator, | |
18459 | _swigc__p_wxWindow, | |
18460 | _swigc__p_wxWindowCreateEvent, | |
18461 | _swigc__p_wxWindowDestroyEvent, | |
18462 | _swigc__p_wxXPMHandler, | |
18463 | }; | |
18464 | ||
18465 | ||
18466 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18467 | ||
18468 | static swig_const_info swig_const_table[] = { | |
18469 | {0, 0, 0, 0.0, 0, 0}}; | |
18470 | ||
18471 | #ifdef __cplusplus | |
18472 | } | |
18473 | #endif | |
18474 | /* ----------------------------------------------------------------------------- | |
18475 | * Type initialization: | |
18476 | * This problem is tough by the requirement that no dynamic | |
18477 | * memory is used. Also, since swig_type_info structures store pointers to | |
18478 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
18479 | * to swig_type_info structures, we need some lookup code at initialization. | |
18480 | * The idea is that swig generates all the structures that are needed. | |
18481 | * The runtime then collects these partially filled structures. | |
18482 | * The SWIG_InitializeModule function takes these initial arrays out of | |
18483 | * swig_module, and does all the lookup, filling in the swig_module.types | |
18484 | * array with the correct data and linking the correct swig_cast_info | |
18485 | * structures together. | |
18486 | * | |
18487 | * The generated swig_type_info structures are assigned staticly to an initial | |
18488 | * array. We just loop though that array, and handle each type individually. | |
18489 | * First we lookup if this type has been already loaded, and if so, use the | |
18490 | * loaded structure instead of the generated one. Then we have to fill in the | |
18491 | * cast linked list. The cast data is initially stored in something like a | |
18492 | * two-dimensional array. Each row corresponds to a type (there are the same | |
18493 | * number of rows as there are in the swig_type_initial array). Each entry in | |
18494 | * a column is one of the swig_cast_info structures for that type. | |
18495 | * The cast_initial array is actually an array of arrays, because each row has | |
18496 | * a variable number of columns. So to actually build the cast linked list, | |
18497 | * we find the array of casts associated with the type, and loop through it | |
18498 | * adding the casts to the list. The one last trick we need to do is making | |
18499 | * sure the type pointer in the swig_cast_info struct is correct. | |
18500 | * | |
18501 | * First off, we lookup the cast->type name to see if it is already loaded. | |
18502 | * There are three cases to handle: | |
18503 | * 1) If the cast->type has already been loaded AND the type we are adding | |
18504 | * casting info to has not been loaded (it is in this module), THEN we | |
18505 | * replace the cast->type pointer with the type pointer that has already | |
18506 | * been loaded. | |
18507 | * 2) If BOTH types (the one we are adding casting info to, and the | |
18508 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
18509 | * the previous module so we just ignore it. | |
18510 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
18511 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
18512 | * be correct. | |
18513 | * ----------------------------------------------------------------------------- */ | |
18514 | ||
18515 | #ifdef __cplusplus | |
18516 | extern "C" { | |
18517 | #if 0 | |
18518 | } /* c-mode */ | |
18519 | #endif | |
18520 | #endif | |
18521 | ||
18522 | #if 0 | |
18523 | #define SWIGRUNTIME_DEBUG | |
18524 | #endif | |
18525 | ||
18526 | SWIGRUNTIME void | |
18527 | SWIG_InitializeModule(void *clientdata) { | |
18528 | size_t i; | |
18529 | swig_module_info *module_head; | |
18530 | static int init_run = 0; | |
18531 | ||
18532 | clientdata = clientdata; | |
18533 | ||
18534 | if (init_run) return; | |
18535 | init_run = 1; | |
18536 | ||
18537 | /* Initialize the swig_module */ | |
18538 | swig_module.type_initial = swig_type_initial; | |
18539 | swig_module.cast_initial = swig_cast_initial; | |
18540 | ||
18541 | /* Try and load any already created modules */ | |
18542 | module_head = SWIG_GetModule(clientdata); | |
18543 | if (module_head) { | |
18544 | swig_module.next = module_head->next; | |
18545 | module_head->next = &swig_module; | |
18546 | } else { | |
18547 | /* This is the first module loaded */ | |
18548 | swig_module.next = &swig_module; | |
18549 | SWIG_SetModule(clientdata, &swig_module); | |
18550 | } | |
18551 | ||
18552 | /* Now work on filling in swig_module.types */ | |
18553 | #ifdef SWIGRUNTIME_DEBUG | |
18554 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
18555 | #endif | |
18556 | for (i = 0; i < swig_module.size; ++i) { | |
18557 | swig_type_info *type = 0; | |
18558 | swig_type_info *ret; | |
18559 | swig_cast_info *cast; | |
18560 | ||
18561 | #ifdef SWIGRUNTIME_DEBUG | |
18562 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18563 | #endif | |
18564 | ||
18565 | /* if there is another module already loaded */ | |
18566 | if (swig_module.next != &swig_module) { | |
18567 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
18568 | } | |
18569 | if (type) { | |
18570 | /* Overwrite clientdata field */ | |
18571 | #ifdef SWIGRUNTIME_DEBUG | |
18572 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
18573 | #endif | |
18574 | if (swig_module.type_initial[i]->clientdata) { | |
18575 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
18576 | #ifdef SWIGRUNTIME_DEBUG | |
18577 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
18578 | #endif | |
18579 | } | |
18580 | } else { | |
18581 | type = swig_module.type_initial[i]; | |
18582 | } | |
18583 | ||
18584 | /* Insert casting types */ | |
18585 | cast = swig_module.cast_initial[i]; | |
18586 | while (cast->type) { | |
18587 | /* Don't need to add information already in the list */ | |
18588 | ret = 0; | |
18589 | #ifdef SWIGRUNTIME_DEBUG | |
18590 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
18591 | #endif | |
18592 | if (swig_module.next != &swig_module) { | |
18593 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
18594 | #ifdef SWIGRUNTIME_DEBUG | |
18595 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
18596 | #endif | |
18597 | } | |
18598 | if (ret) { | |
18599 | if (type == swig_module.type_initial[i]) { | |
18600 | #ifdef SWIGRUNTIME_DEBUG | |
18601 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
18602 | #endif | |
18603 | cast->type = ret; | |
18604 | ret = 0; | |
18605 | } else { | |
18606 | /* Check for casting already in the list */ | |
18607 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
18608 | #ifdef SWIGRUNTIME_DEBUG | |
18609 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
18610 | #endif | |
18611 | if (!ocast) ret = 0; | |
18612 | } | |
18613 | } | |
18614 | ||
18615 | if (!ret) { | |
18616 | #ifdef SWIGRUNTIME_DEBUG | |
18617 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
18618 | #endif | |
18619 | if (type->cast) { | |
18620 | type->cast->prev = cast; | |
18621 | cast->next = type->cast; | |
18622 | } | |
18623 | type->cast = cast; | |
18624 | } | |
18625 | cast++; | |
18626 | } | |
18627 | /* Set entry in modules->types array equal to the type */ | |
18628 | swig_module.types[i] = type; | |
18629 | } | |
18630 | swig_module.types[i] = 0; | |
18631 | ||
18632 | #ifdef SWIGRUNTIME_DEBUG | |
18633 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18634 | for (i = 0; i < swig_module.size; ++i) { | |
18635 | int j = 0; | |
18636 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
18637 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18638 | while (cast->type) { | |
18639 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
18640 | cast++; | |
18641 | ++j; | |
18642 | } | |
18643 | printf("---- Total casts: %d\n",j); | |
18644 | } | |
18645 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18646 | #endif | |
18647 | } | |
18648 | ||
18649 | /* This function will propagate the clientdata field of type to | |
18650 | * any new swig_type_info structures that have been added into the list | |
18651 | * of equivalent types. It is like calling | |
18652 | * SWIG_TypeClientData(type, clientdata) a second time. | |
18653 | */ | |
18654 | SWIGRUNTIME void | |
18655 | SWIG_PropagateClientData(void) { | |
18656 | size_t i; | |
18657 | swig_cast_info *equiv; | |
18658 | static int init_run = 0; | |
18659 | ||
18660 | if (init_run) return; | |
18661 | init_run = 1; | |
18662 | ||
18663 | for (i = 0; i < swig_module.size; i++) { | |
18664 | if (swig_module.types[i]->clientdata) { | |
18665 | equiv = swig_module.types[i]->cast; | |
18666 | while (equiv) { | |
18667 | if (!equiv->converter) { | |
18668 | if (equiv->type && !equiv->type->clientdata) | |
18669 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
18670 | } | |
18671 | equiv = equiv->next; | |
18672 | } | |
18673 | } | |
18674 | } | |
18675 | } | |
18676 | ||
18677 | #ifdef __cplusplus | |
18678 | #if 0 | |
18679 | { | |
18680 | /* c-mode */ | |
18681 | #endif | |
18682 | } | |
18683 | #endif | |
18684 | ||
18685 | ||
18686 | ||
18687 | #ifdef __cplusplus | |
18688 | extern "C" { | |
18689 | #endif | |
18690 | ||
18691 | /* Python-specific SWIG API */ | |
18692 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18693 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18694 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18695 | ||
18696 | /* ----------------------------------------------------------------------------- | |
18697 | * global variable support code. | |
18698 | * ----------------------------------------------------------------------------- */ | |
18699 | ||
18700 | typedef struct swig_globalvar { | |
18701 | char *name; /* Name of global variable */ | |
18702 | PyObject *(*get_attr)(void); /* Return the current value */ | |
18703 | int (*set_attr)(PyObject *); /* Set the value */ | |
18704 | struct swig_globalvar *next; | |
18705 | } swig_globalvar; | |
18706 | ||
18707 | typedef struct swig_varlinkobject { | |
18708 | PyObject_HEAD | |
18709 | swig_globalvar *vars; | |
18710 | } swig_varlinkobject; | |
18711 | ||
18712 | SWIGINTERN PyObject * | |
18713 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
18714 | return PyString_FromString("<Swig global variables>"); | |
18715 | } | |
18716 | ||
18717 | SWIGINTERN PyObject * | |
18718 | swig_varlink_str(swig_varlinkobject *v) { | |
18719 | PyObject *str = PyString_FromString("("); | |
18720 | swig_globalvar *var; | |
18721 | for (var = v->vars; var; var=var->next) { | |
18722 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
18723 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
18724 | } | |
18725 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
18726 | return str; | |
18727 | } | |
18728 | ||
18729 | SWIGINTERN int | |
18730 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
18731 | PyObject *str = swig_varlink_str(v); | |
18732 | fprintf(fp,"Swig global variables "); | |
18733 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
18734 | Py_DECREF(str); | |
18735 | return 0; | |
18736 | } | |
18737 | ||
18738 | SWIGINTERN void | |
18739 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
18740 | swig_globalvar *var = v->vars; | |
18741 | while (var) { | |
18742 | swig_globalvar *n = var->next; | |
18743 | free(var->name); | |
18744 | free(var); | |
18745 | var = n; | |
18746 | } | |
18747 | } | |
18748 | ||
18749 | SWIGINTERN PyObject * | |
18750 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18751 | PyObject *res = NULL; | |
18752 | swig_globalvar *var = v->vars; | |
18753 | while (var) { | |
18754 | if (strcmp(var->name,n) == 0) { | |
18755 | res = (*var->get_attr)(); | |
18756 | break; | |
18757 | } | |
18758 | var = var->next; | |
18759 | } | |
18760 | if (res == NULL && !PyErr_Occurred()) { | |
18761 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18762 | } | |
18763 | return res; | |
18764 | } | |
18765 | ||
18766 | SWIGINTERN int | |
18767 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18768 | int res = 1; | |
18769 | swig_globalvar *var = v->vars; | |
18770 | while (var) { | |
18771 | if (strcmp(var->name,n) == 0) { | |
18772 | res = (*var->set_attr)(p); | |
18773 | break; | |
18774 | } | |
18775 | var = var->next; | |
18776 | } | |
18777 | if (res == 1 && !PyErr_Occurred()) { | |
18778 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18779 | } | |
18780 | return res; | |
18781 | } | |
18782 | ||
18783 | SWIGINTERN PyTypeObject* | |
18784 | swig_varlink_type(void) { | |
18785 | static char varlink__doc__[] = "Swig var link object"; | |
18786 | static PyTypeObject varlink_type; | |
18787 | static int type_init = 0; | |
18788 | if (!type_init) { | |
18789 | const PyTypeObject tmp | |
18790 | = { | |
18791 | PyObject_HEAD_INIT(NULL) | |
18792 | 0, /* Number of items in variable part (ob_size) */ | |
18793 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18794 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18795 | 0, /* Itemsize (tp_itemsize) */ | |
18796 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
18797 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18798 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18799 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18800 | 0, /* tp_compare */ | |
18801 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18802 | 0, /* tp_as_number */ | |
18803 | 0, /* tp_as_sequence */ | |
18804 | 0, /* tp_as_mapping */ | |
18805 | 0, /* tp_hash */ | |
18806 | 0, /* tp_call */ | |
18807 | (reprfunc)swig_varlink_str, /* tp_str */ | |
18808 | 0, /* tp_getattro */ | |
18809 | 0, /* tp_setattro */ | |
18810 | 0, /* tp_as_buffer */ | |
18811 | 0, /* tp_flags */ | |
18812 | varlink__doc__, /* tp_doc */ | |
18813 | 0, /* tp_traverse */ | |
18814 | 0, /* tp_clear */ | |
18815 | 0, /* tp_richcompare */ | |
18816 | 0, /* tp_weaklistoffset */ | |
18817 | #if PY_VERSION_HEX >= 0x02020000 | |
18818 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18819 | #endif | |
18820 | #if PY_VERSION_HEX >= 0x02030000 | |
18821 | 0, /* tp_del */ | |
18822 | #endif | |
18823 | #ifdef COUNT_ALLOCS | |
18824 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18825 | #endif | |
18826 | }; | |
18827 | varlink_type = tmp; | |
18828 | varlink_type.ob_type = &PyType_Type; | |
18829 | type_init = 1; | |
18830 | } | |
18831 | return &varlink_type; | |
18832 | } | |
18833 | ||
18834 | /* Create a variable linking object for use later */ | |
18835 | SWIGINTERN PyObject * | |
18836 | SWIG_Python_newvarlink(void) { | |
18837 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
18838 | if (result) { | |
18839 | result->vars = 0; | |
18840 | } | |
18841 | return ((PyObject*) result); | |
18842 | } | |
18843 | ||
18844 | SWIGINTERN void | |
18845 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18846 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
18847 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18848 | if (gv) { | |
18849 | size_t size = strlen(name)+1; | |
18850 | gv->name = (char *)malloc(size); | |
18851 | if (gv->name) { | |
18852 | strncpy(gv->name,name,size); | |
18853 | gv->get_attr = get_attr; | |
18854 | gv->set_attr = set_attr; | |
18855 | gv->next = v->vars; | |
18856 | } | |
18857 | } | |
18858 | v->vars = gv; | |
18859 | } | |
18860 | ||
18861 | SWIGINTERN PyObject * | |
18862 | SWIG_globals() { | |
18863 | static PyObject *_SWIG_globals = 0; | |
18864 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
18865 | return _SWIG_globals; | |
18866 | } | |
18867 | ||
18868 | /* ----------------------------------------------------------------------------- | |
18869 | * constants/methods manipulation | |
18870 | * ----------------------------------------------------------------------------- */ | |
18871 | ||
18872 | /* Install Constants */ | |
18873 | SWIGINTERN void | |
18874 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18875 | PyObject *obj = 0; | |
18876 | size_t i; | |
18877 | for (i = 0; constants[i].type; ++i) { | |
18878 | switch(constants[i].type) { | |
18879 | case SWIG_PY_POINTER: | |
18880 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
18881 | break; | |
18882 | case SWIG_PY_BINARY: | |
18883 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
18884 | break; | |
18885 | default: | |
18886 | obj = 0; | |
18887 | break; | |
18888 | } | |
18889 | if (obj) { | |
18890 | PyDict_SetItemString(d, constants[i].name, obj); | |
18891 | Py_DECREF(obj); | |
18892 | } | |
18893 | } | |
18894 | } | |
18895 | ||
18896 | /* -----------------------------------------------------------------------------*/ | |
18897 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18898 | /* -----------------------------------------------------------------------------*/ | |
18899 | ||
18900 | SWIGINTERN void | |
18901 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
18902 | swig_const_info *const_table, | |
18903 | swig_type_info **types, | |
18904 | swig_type_info **types_initial) { | |
18905 | size_t i; | |
18906 | for (i = 0; methods[i].ml_name; ++i) { | |
18907 | const char *c = methods[i].ml_doc; | |
18908 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
18909 | int j; | |
18910 | swig_const_info *ci = 0; | |
18911 | const char *name = c + 10; | |
18912 | for (j = 0; const_table[j].type; ++j) { | |
18913 | if (strncmp(const_table[j].name, name, | |
18914 | strlen(const_table[j].name)) == 0) { | |
18915 | ci = &(const_table[j]); | |
18916 | break; | |
18917 | } | |
18918 | } | |
18919 | if (ci) { | |
18920 | size_t shift = (ci->ptype) - types; | |
18921 | swig_type_info *ty = types_initial[shift]; | |
18922 | size_t ldoc = (c - methods[i].ml_doc); | |
18923 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
18924 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
18925 | if (ndoc) { | |
18926 | char *buff = ndoc; | |
18927 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
18928 | if (ptr) { | |
18929 | strncpy(buff, methods[i].ml_doc, ldoc); | |
18930 | buff += ldoc; | |
18931 | strncpy(buff, "swig_ptr: ", 10); | |
18932 | buff += 10; | |
18933 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
18934 | methods[i].ml_doc = ndoc; | |
18935 | } | |
18936 | } | |
18937 | } | |
18938 | } | |
18939 | } | |
18940 | } | |
18941 | ||
18942 | #ifdef __cplusplus | |
18943 | } | |
18944 | #endif | |
18945 | ||
18946 | /* -----------------------------------------------------------------------------* | |
18947 | * Partial Init method | |
18948 | * -----------------------------------------------------------------------------*/ | |
18949 | ||
18950 | #ifdef __cplusplus | |
18951 | extern "C" | |
18952 | #endif | |
18953 | SWIGEXPORT void SWIG_init(void) { | |
18954 | PyObject *m, *d; | |
18955 | ||
18956 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18957 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
18958 | ||
18959 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
18960 | d = PyModule_GetDict(m); | |
18961 | ||
18962 | SWIG_InitializeModule(0); | |
18963 | SWIG_InstallConstants(d,swig_const_table); | |
18964 | ||
18965 | ||
18966 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
18967 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); | |
18968 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
18969 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
18970 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
18971 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
18972 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
18973 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
18974 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
18975 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
18976 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
18977 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
18978 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
18979 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
18980 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
18981 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 | 18982 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
eccab1a7 RD |
18983 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE))); |
18984 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE))); | |
18985 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE))); | |
18986 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE))); | |
18987 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE))); | |
18988 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR))); | |
18989 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR))); | |
18990 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR))); | |
18991 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18992 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR))); | |
18993 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
18994 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
18995 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
18996 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR))); | |
18997 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR))); | |
18998 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT))); | |
18999 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE))); | |
27e45892 RD |
19000 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); |
19001 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
19002 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
19003 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
19004 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
19005 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
19006 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
19007 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
eccab1a7 | 19008 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED))); |
8f514ab4 | 19009 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); |
5eb8189c | 19010 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
19011 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
19012 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
19013 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 19014 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
19015 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
19016 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
19017 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
19018 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
19019 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
19020 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
19021 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
19022 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
19023 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
19024 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
19025 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
19026 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
19027 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
19028 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
19029 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
19030 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
19031 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
19032 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
19033 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
19034 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
19035 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
19036 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
19037 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
19038 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
19039 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
19040 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
19041 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
19042 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
19043 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
19044 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
5eb8189c RD |
19045 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); |
19046 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
19047 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
19048 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
19049 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
19050 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
19051 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
9b881d36 | 19052 | SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); |
5eb8189c RD |
19053 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); |
19054 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
19055 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
19056 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
19057 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
19058 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
19059 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
19060 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
19061 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
19062 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
d7645bfd VZ |
19063 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); |
19064 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); | |
19065 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); | |
19066 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); | |
1d5ee749 | 19067 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
d7645bfd | 19068 | PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); |
5eb8189c RD |
19069 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
19070 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
19071 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
19072 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
19073 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
19074 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 19075 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 19076 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 19077 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 19078 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 19079 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
19080 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
19081 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
19082 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 19083 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
1eeb270e RD |
19084 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
19085 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
19086 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
19087 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
19088 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
19089 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 19090 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
19091 | } |
19092 |