]>
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] | |
34d71f81 RD |
2471 | #define SWIGTYPE_p_p_wxAuiMDIChildFrame swig_types[5] |
2472 | #define SWIGTYPE_p_p_wxAuiMDIClientWindow swig_types[6] | |
2473 | #define SWIGTYPE_p_p_wxAuiMDIParentFrame swig_types[7] | |
2474 | #define SWIGTYPE_p_p_wxAuiNotebook swig_types[8] | |
2475 | #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[9] | |
2476 | #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[10] | |
2477 | #define SWIGTYPE_p_p_wxColourDialog swig_types[11] | |
2478 | #define SWIGTYPE_p_p_wxControl swig_types[12] | |
2479 | #define SWIGTYPE_p_p_wxControlWithItems swig_types[13] | |
2480 | #define SWIGTYPE_p_p_wxDialog swig_types[14] | |
2481 | #define SWIGTYPE_p_p_wxDirDialog swig_types[15] | |
2482 | #define SWIGTYPE_p_p_wxFileDialog swig_types[16] | |
2483 | #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[17] | |
2484 | #define SWIGTYPE_p_p_wxFontDialog swig_types[18] | |
2485 | #define SWIGTYPE_p_p_wxFrame swig_types[19] | |
2486 | #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[20] | |
2487 | #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[21] | |
2488 | #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[22] | |
2489 | #define SWIGTYPE_p_p_wxMenuBar swig_types[23] | |
2490 | #define SWIGTYPE_p_p_wxMessageDialog swig_types[24] | |
2491 | #define SWIGTYPE_p_p_wxMiniFrame swig_types[25] | |
2492 | #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[26] | |
2493 | #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[27] | |
2494 | #define SWIGTYPE_p_p_wxPanel swig_types[28] | |
2495 | #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[29] | |
2496 | #define SWIGTYPE_p_p_wxPopupWindow swig_types[30] | |
2497 | #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[31] | |
2498 | #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[32] | |
2499 | #define SWIGTYPE_p_p_wxPreviewFrame swig_types[33] | |
2500 | #define SWIGTYPE_p_p_wxProgressDialog swig_types[34] | |
2501 | #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[35] | |
2502 | #define SWIGTYPE_p_p_wxPyPanel swig_types[36] | |
2503 | #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[37] | |
2504 | #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[38] | |
2505 | #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[39] | |
2506 | #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[40] | |
2507 | #define SWIGTYPE_p_p_wxPyVListBox swig_types[41] | |
2508 | #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[42] | |
2509 | #define SWIGTYPE_p_p_wxPyWindow swig_types[43] | |
2510 | #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[44] | |
2511 | #define SWIGTYPE_p_p_wxSashWindow swig_types[45] | |
2512 | #define SWIGTYPE_p_p_wxScrolledWindow swig_types[46] | |
2513 | #define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[47] | |
2514 | #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[48] | |
2515 | #define SWIGTYPE_p_p_wxSplashScreen swig_types[49] | |
2516 | #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[50] | |
2517 | #define SWIGTYPE_p_p_wxSplitterWindow swig_types[51] | |
2518 | #define SWIGTYPE_p_p_wxStatusBar swig_types[52] | |
2519 | #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[53] | |
2520 | #define SWIGTYPE_p_p_wxTipWindow swig_types[54] | |
2521 | #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[55] | |
2522 | #define SWIGTYPE_p_p_wxWindow swig_types[56] | |
2523 | #define SWIGTYPE_p_unsigned_char swig_types[57] | |
2524 | #define SWIGTYPE_p_unsigned_int swig_types[58] | |
2525 | #define SWIGTYPE_p_unsigned_long swig_types[59] | |
2526 | #define SWIGTYPE_p_wxANIHandler swig_types[60] | |
2527 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[61] | |
2528 | #define SWIGTYPE_p_wxActivateEvent swig_types[62] | |
2529 | #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[63] | |
2530 | #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[64] | |
2531 | #define SWIGTYPE_p_wxAuiDockArt swig_types[65] | |
2532 | #define SWIGTYPE_p_wxAuiDockInfo swig_types[66] | |
2533 | #define SWIGTYPE_p_wxAuiDockUIPart swig_types[67] | |
2534 | #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[68] | |
2535 | #define SWIGTYPE_p_wxAuiMDIChildFrame swig_types[69] | |
2536 | #define SWIGTYPE_p_wxAuiMDIClientWindow swig_types[70] | |
2537 | #define SWIGTYPE_p_wxAuiMDIParentFrame swig_types[71] | |
2538 | #define SWIGTYPE_p_wxAuiManager swig_types[72] | |
2539 | #define SWIGTYPE_p_wxAuiManagerEvent swig_types[73] | |
2540 | #define SWIGTYPE_p_wxAuiNotebook swig_types[74] | |
2541 | #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[75] | |
2542 | #define SWIGTYPE_p_wxAuiNotebookPage swig_types[76] | |
2543 | #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[77] | |
2544 | #define SWIGTYPE_p_wxAuiPaneButton swig_types[78] | |
2545 | #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[79] | |
2546 | #define SWIGTYPE_p_wxAuiPaneInfo swig_types[80] | |
2547 | #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[81] | |
2548 | #define SWIGTYPE_p_wxAuiSimpleTabArt swig_types[82] | |
2549 | #define SWIGTYPE_p_wxAuiTabArt swig_types[83] | |
2550 | #define SWIGTYPE_p_wxAuiTabContainer swig_types[84] | |
2551 | #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[85] | |
2552 | #define SWIGTYPE_p_wxAuiTabCtrl swig_types[86] | |
2553 | #define SWIGTYPE_p_wxBMPHandler swig_types[87] | |
2554 | #define SWIGTYPE_p_wxBitmap swig_types[88] | |
2555 | #define SWIGTYPE_p_wxBoxSizer swig_types[89] | |
2556 | #define SWIGTYPE_p_wxCURHandler swig_types[90] | |
2557 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[91] | |
2558 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[92] | |
2559 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[93] | |
2560 | #define SWIGTYPE_p_wxCloseEvent swig_types[94] | |
2561 | #define SWIGTYPE_p_wxColour swig_types[95] | |
2562 | #define SWIGTYPE_p_wxColourData swig_types[96] | |
2563 | #define SWIGTYPE_p_wxColourDialog swig_types[97] | |
2564 | #define SWIGTYPE_p_wxCommandEvent swig_types[98] | |
2565 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[99] | |
2566 | #define SWIGTYPE_p_wxControl swig_types[100] | |
2567 | #define SWIGTYPE_p_wxControlWithItems swig_types[101] | |
2568 | #define SWIGTYPE_p_wxDC swig_types[102] | |
2569 | #define SWIGTYPE_p_wxDateEvent swig_types[103] | |
2570 | #define SWIGTYPE_p_wxDialog swig_types[104] | |
2571 | #define SWIGTYPE_p_wxDirDialog swig_types[105] | |
2572 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[106] | |
2573 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[107] | |
2574 | #define SWIGTYPE_p_wxDuplexMode swig_types[108] | |
2575 | #define SWIGTYPE_p_wxEraseEvent swig_types[109] | |
2576 | #define SWIGTYPE_p_wxEvent swig_types[110] | |
2577 | #define SWIGTYPE_p_wxEvtHandler swig_types[111] | |
2578 | #define SWIGTYPE_p_wxFSFile swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFileDialog swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFileSystem swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxFindReplaceData swig_types[116] | |
2583 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[117] | |
2584 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[118] | |
2585 | #define SWIGTYPE_p_wxFocusEvent swig_types[119] | |
2586 | #define SWIGTYPE_p_wxFont swig_types[120] | |
2587 | #define SWIGTYPE_p_wxFontData swig_types[121] | |
2588 | #define SWIGTYPE_p_wxFontDialog swig_types[122] | |
2589 | #define SWIGTYPE_p_wxFrame swig_types[123] | |
2590 | #define SWIGTYPE_p_wxGBSizerItem swig_types[124] | |
2591 | #define SWIGTYPE_p_wxGIFHandler swig_types[125] | |
2592 | #define SWIGTYPE_p_wxGridBagSizer swig_types[126] | |
2593 | #define SWIGTYPE_p_wxGridSizer swig_types[127] | |
2594 | #define SWIGTYPE_p_wxICOHandler swig_types[128] | |
2595 | #define SWIGTYPE_p_wxIcon swig_types[129] | |
2596 | #define SWIGTYPE_p_wxIconBundle swig_types[130] | |
2597 | #define SWIGTYPE_p_wxIconizeEvent swig_types[131] | |
2598 | #define SWIGTYPE_p_wxIdleEvent swig_types[132] | |
2599 | #define SWIGTYPE_p_wxImage swig_types[133] | |
2600 | #define SWIGTYPE_p_wxImageHandler swig_types[134] | |
2601 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[135] | |
2602 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[136] | |
2603 | #define SWIGTYPE_p_wxJPEGHandler swig_types[137] | |
2604 | #define SWIGTYPE_p_wxKeyEvent swig_types[138] | |
2605 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[139] | |
2606 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[140] | |
2607 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMenu swig_types[145] | |
2612 | #define SWIGTYPE_p_wxMenuBar swig_types[146] | |
2613 | #define SWIGTYPE_p_wxMenuEvent swig_types[147] | |
2614 | #define SWIGTYPE_p_wxMenuItem swig_types[148] | |
2615 | #define SWIGTYPE_p_wxMessageDialog swig_types[149] | |
2616 | #define SWIGTYPE_p_wxMiniFrame swig_types[150] | |
2617 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[151] | |
2618 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[152] | |
2619 | #define SWIGTYPE_p_wxMouseEvent swig_types[153] | |
2620 | #define SWIGTYPE_p_wxMoveEvent swig_types[154] | |
2621 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[155] | |
2622 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[156] | |
2623 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[157] | |
2624 | #define SWIGTYPE_p_wxNotifyEvent swig_types[158] | |
2625 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[159] | |
2626 | #define SWIGTYPE_p_wxObject swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPCXHandler swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPNGHandler swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPNMHandler swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPaintEvent swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPanel swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPaperSize swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPoint swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPopupWindow swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPreviewFrame swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPrintData swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPrintDialog swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPrintDialogData swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPrintPreview swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPrinter swig_types[180] | |
2647 | #define SWIGTYPE_p_wxProgressDialog swig_types[181] | |
2648 | #define SWIGTYPE_p_wxPyApp swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyEvent swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyImageHandler swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyPanel swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[191] | |
2658 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[192] | |
2659 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[193] | |
2660 | #define SWIGTYPE_p_wxPyPrintout swig_types[194] | |
2661 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[195] | |
2662 | #define SWIGTYPE_p_wxPySizer swig_types[196] | |
2663 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[197] | |
2664 | #define SWIGTYPE_p_wxPyVListBox swig_types[198] | |
2665 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[199] | |
2666 | #define SWIGTYPE_p_wxPyValidator swig_types[200] | |
2667 | #define SWIGTYPE_p_wxPyWindow swig_types[201] | |
2668 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[202] | |
2669 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[203] | |
2670 | #define SWIGTYPE_p_wxRect swig_types[204] | |
2671 | #define SWIGTYPE_p_wxSashEvent swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSashWindow swig_types[207] | |
2674 | #define SWIGTYPE_p_wxScrollEvent swig_types[208] | |
2675 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[209] | |
2676 | #define SWIGTYPE_p_wxScrolledWindow swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[211] | |
2678 | #define SWIGTYPE_p_wxShowEvent swig_types[212] | |
2679 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[213] | |
2680 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[214] | |
2681 | #define SWIGTYPE_p_wxSize swig_types[215] | |
2682 | #define SWIGTYPE_p_wxSizeEvent swig_types[216] | |
2683 | #define SWIGTYPE_p_wxSizer swig_types[217] | |
2684 | #define SWIGTYPE_p_wxSizerItem swig_types[218] | |
2685 | #define SWIGTYPE_p_wxSplashScreen swig_types[219] | |
2686 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[220] | |
2687 | #define SWIGTYPE_p_wxSplitterEvent swig_types[221] | |
2688 | #define SWIGTYPE_p_wxSplitterWindow swig_types[222] | |
2689 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[223] | |
2690 | #define SWIGTYPE_p_wxStatusBar swig_types[224] | |
2691 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[225] | |
2692 | #define SWIGTYPE_p_wxString swig_types[226] | |
2693 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[227] | |
2694 | #define SWIGTYPE_p_wxTGAHandler swig_types[228] | |
2695 | #define SWIGTYPE_p_wxTIFFHandler swig_types[229] | |
2696 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[230] | |
2697 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[231] | |
2698 | #define SWIGTYPE_p_wxTipWindow swig_types[232] | |
2699 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[233] | |
2700 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[234] | |
2701 | #define SWIGTYPE_p_wxValidator swig_types[235] | |
2702 | #define SWIGTYPE_p_wxWindow swig_types[236] | |
2703 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[237] | |
2704 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[238] | |
2705 | #define SWIGTYPE_p_wxXPMHandler swig_types[239] | |
2706 | static swig_type_info *swig_types[241]; | |
2707 | static swig_module_info swig_module = {swig_types, 240, 0, 0, 0, 0}; | |
27e45892 RD |
2708 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2709 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2710 | ||
2711 | /* -------- TYPES TABLE (END) -------- */ | |
2712 | ||
2713 | #if (PY_VERSION_HEX <= 0x02000000) | |
2714 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2715 | # error "This python version requires to use swig with the '-classic' option" | |
2716 | # endif | |
2717 | #endif | |
2718 | #if (PY_VERSION_HEX <= 0x02020000) | |
2719 | # error "This python version requires to use swig with the '-nomodern' option" | |
2720 | #endif | |
2721 | #if (PY_VERSION_HEX <= 0x02020000) | |
2722 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2723 | #endif | |
2724 | #ifndef METH_O | |
2725 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2726 | #endif | |
2727 | ||
2728 | /*----------------------------------------------- | |
2729 | @(target):= _aui.so | |
2730 | ------------------------------------------------*/ | |
2731 | #define SWIG_init init_aui | |
2732 | ||
2733 | #define SWIG_name "_aui" | |
2734 | ||
2735 | #define SWIGVERSION 0x010329 | |
2736 | ||
2737 | ||
2738 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2739 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2740 | ||
2741 | ||
2742 | #include <stdexcept> | |
2743 | ||
2744 | ||
2745 | namespace swig { | |
2746 | class PyObject_ptr { | |
2747 | protected: | |
2748 | PyObject *_obj; | |
2749 | ||
2750 | public: | |
2751 | PyObject_ptr() :_obj(0) | |
2752 | { | |
2753 | } | |
2754 | ||
2755 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2756 | { | |
2757 | Py_XINCREF(_obj); | |
2758 | } | |
2759 | ||
2760 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2761 | { | |
2762 | if (initial_ref) Py_XINCREF(_obj); | |
2763 | } | |
2764 | ||
2765 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2766 | { | |
2767 | Py_XINCREF(item._obj); | |
2768 | Py_XDECREF(_obj); | |
2769 | _obj = item._obj; | |
2770 | return *this; | |
2771 | } | |
2772 | ||
2773 | ~PyObject_ptr() | |
2774 | { | |
2775 | Py_XDECREF(_obj); | |
2776 | } | |
2777 | ||
2778 | operator PyObject *() const | |
2779 | { | |
2780 | return _obj; | |
2781 | } | |
2782 | ||
2783 | PyObject *operator->() const | |
2784 | { | |
2785 | return _obj; | |
2786 | } | |
2787 | }; | |
2788 | } | |
2789 | ||
2790 | ||
2791 | namespace swig { | |
2792 | struct PyObject_var : PyObject_ptr { | |
2793 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2794 | ||
2795 | PyObject_var & operator = (PyObject* obj) | |
2796 | { | |
2797 | Py_XDECREF(_obj); | |
2798 | _obj = obj; | |
2799 | return *this; | |
2800 | } | |
2801 | }; | |
2802 | } | |
2803 | ||
2804 | ||
2805 | #include "wx/wxPython/wxPython.h" | |
2806 | #include "wx/wxPython/pyclasses.h" | |
2807 | #include <wx/aui/aui.h> | |
2808 | ||
2809 | ||
2810 | #define SWIG_From_long PyInt_FromLong | |
2811 | ||
2812 | ||
2813 | SWIGINTERNINLINE PyObject * | |
2814 | SWIG_From_int (int value) | |
2815 | { | |
2816 | return SWIG_From_long (value); | |
2817 | } | |
2818 | ||
2819 | ||
2820 | #include <limits.h> | |
2821 | #ifndef LLONG_MIN | |
2822 | # define LLONG_MIN LONG_LONG_MIN | |
2823 | #endif | |
2824 | #ifndef LLONG_MAX | |
2825 | # define LLONG_MAX LONG_LONG_MAX | |
2826 | #endif | |
2827 | #ifndef ULLONG_MAX | |
2828 | # define ULLONG_MAX ULONG_LONG_MAX | |
2829 | #endif | |
2830 | ||
2831 | ||
2832 | SWIGINTERN int | |
2833 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2834 | { | |
2835 | if (PyNumber_Check(obj)) { | |
2836 | if (val) *val = PyInt_AsLong(obj); | |
2837 | return SWIG_OK; | |
2838 | } | |
2839 | return SWIG_TypeError; | |
2840 | } | |
2841 | ||
2842 | ||
2843 | SWIGINTERN int | |
2844 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2845 | { | |
2846 | long v; | |
2847 | int res = SWIG_AsVal_long (obj, &v); | |
2848 | if (SWIG_IsOK(res)) { | |
2849 | if ((v < INT_MIN || v > INT_MAX)) { | |
2850 | return SWIG_OverflowError; | |
2851 | } else { | |
2852 | if (val) *val = static_cast< int >(v); | |
2853 | } | |
2854 | } | |
2855 | return res; | |
2856 | } | |
2857 | ||
2858 | ||
2859 | SWIGINTERN int | |
2860 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2861 | { | |
2862 | if (obj == Py_True) { | |
2863 | if (val) *val = true; | |
2864 | return SWIG_OK; | |
2865 | } else if (obj == Py_False) { | |
2866 | if (val) *val = false; | |
2867 | return SWIG_OK; | |
2868 | } else { | |
2869 | long v = 0; | |
2870 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2871 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2872 | return res; | |
2873 | } | |
2874 | } | |
2875 | ||
d7645bfd VZ |
2876 | |
2877 | SWIGINTERN int | |
2878 | SWIG_AsVal_double (PyObject *obj, double* val) | |
2879 | { | |
2880 | if (PyNumber_Check(obj)) { | |
2881 | if (val) *val = PyFloat_AsDouble(obj); | |
2882 | return SWIG_OK; | |
2883 | } | |
2884 | return SWIG_TypeError; | |
2885 | } | |
2886 | ||
5eb8189c RD |
2887 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2888 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2889 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2890 | |
10044bf1 RD |
2891 | SWIGINTERN int |
2892 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2893 | { | |
2894 | long v = 0; | |
2895 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2896 | return SWIG_TypeError; | |
2897 | } | |
2898 | else if (val) | |
2899 | *val = (unsigned long)v; | |
2900 | return SWIG_OK; | |
2901 | } | |
2902 | ||
2903 | ||
2904 | SWIGINTERNINLINE int | |
2905 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2906 | { | |
2907 | unsigned long v; | |
2908 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2909 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2910 | return res; | |
2911 | } | |
2912 | ||
2913 | ||
2914 | SWIGINTERNINLINE PyObject* | |
2915 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2916 | { | |
2917 | return (value > LONG_MAX) ? | |
2918 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2919 | } | |
2920 | ||
2921 | ||
2922 | SWIGINTERNINLINE PyObject * | |
2923 | SWIG_From_size_t (size_t value) | |
2924 | { | |
2925 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2926 | } | |
2927 | ||
2928 | ||
5c8c7dd3 | 2929 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2930 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2931 | { |
5eb8189c | 2932 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2933 | |
2934 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2935 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2936 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2937 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2938 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2939 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2940 | ||
2941 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2942 | wxWindow* window, |
27e45892 RD |
2943 | int orientation, |
2944 | const wxRect& rect) | |
2945 | { | |
2946 | bool found; | |
2947 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2948 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2949 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2950 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2951 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2952 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2953 | odc, owin, orientation, orect)); | |
27e45892 | 2954 | Py_DECREF(odc); |
8f514ab4 | 2955 | Py_DECREF(owin); |
27e45892 RD |
2956 | Py_DECREF(orect); |
2957 | } | |
2958 | wxPyEndBlockThreads(blocked); | |
2959 | if (! found) | |
5eb8189c | 2960 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2961 | } |
2962 | ||
2963 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2964 | wxWindow* window, |
27e45892 RD |
2965 | int orientation, |
2966 | const wxRect& rect) | |
2967 | { | |
2968 | bool found; | |
2969 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2970 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2971 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2972 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2973 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2974 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2975 | odc, owin, orientation, orect)); | |
27e45892 | 2976 | Py_DECREF(odc); |
8f514ab4 | 2977 | Py_DECREF(owin); |
27e45892 RD |
2978 | Py_DECREF(orect); |
2979 | } | |
2980 | wxPyEndBlockThreads(blocked); | |
2981 | if (! found) | |
5eb8189c | 2982 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2983 | } |
2984 | ||
2985 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2986 | wxWindow* window, |
27e45892 RD |
2987 | const wxString& text, |
2988 | const wxRect& rect, | |
5eb8189c | 2989 | wxAuiPaneInfo& pane) |
27e45892 RD |
2990 | { |
2991 | bool found; | |
2992 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2993 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2994 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2995 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2996 | PyObject* otext = wx2PyString(text); |
2997 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 2998 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
2999 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
3000 | odc, owin, otext, orect, opane)); | |
27e45892 | 3001 | Py_DECREF(odc); |
8f514ab4 | 3002 | Py_DECREF(owin); |
27e45892 RD |
3003 | Py_DECREF(otext); |
3004 | Py_DECREF(orect); | |
3005 | Py_DECREF(opane); | |
3006 | } | |
3007 | wxPyEndBlockThreads(blocked); | |
3008 | if (! found) | |
5eb8189c | 3009 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
3010 | } |
3011 | ||
3012 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 3013 | wxWindow* window, |
27e45892 | 3014 | const wxRect& rect, |
5eb8189c | 3015 | wxAuiPaneInfo& pane) |
27e45892 RD |
3016 | { |
3017 | bool found; | |
3018 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3019 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3020 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3021 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3022 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3023 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3024 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3025 | Py_DECREF(odc); |
3026 | Py_DECREF(orect); | |
3027 | Py_DECREF(opane); | |
3028 | } | |
3029 | wxPyEndBlockThreads(blocked); | |
3030 | if (! found) | |
5eb8189c | 3031 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3032 | } |
3033 | ||
3034 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3035 | wxWindow* window, |
27e45892 | 3036 | const wxRect& rect, |
5eb8189c | 3037 | wxAuiPaneInfo& pane) |
27e45892 RD |
3038 | { |
3039 | bool found; | |
3040 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3041 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3042 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3043 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3044 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3045 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3046 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3047 | Py_DECREF(odc); | |
8f514ab4 | 3048 | Py_DECREF(owin); |
27e45892 RD |
3049 | Py_DECREF(orect); |
3050 | Py_DECREF(opane); | |
3051 | } | |
3052 | wxPyEndBlockThreads(blocked); | |
3053 | if (! found) | |
5eb8189c | 3054 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3055 | } |
3056 | ||
3057 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3058 | wxWindow* window, |
27e45892 RD |
3059 | int button, |
3060 | int button_state, | |
3061 | const wxRect& rect, | |
5eb8189c | 3062 | wxAuiPaneInfo& pane) |
27e45892 RD |
3063 | { |
3064 | bool found; | |
3065 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3066 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3067 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3068 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3069 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3070 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3071 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3072 | odc, owin, button, button_state, | |
27e45892 RD |
3073 | orect, opane)); |
3074 | Py_DECREF(odc); | |
8f514ab4 | 3075 | Py_DECREF(owin); |
27e45892 RD |
3076 | Py_DECREF(orect); |
3077 | Py_DECREF(opane); | |
3078 | } | |
3079 | wxPyEndBlockThreads(blocked); | |
3080 | if (! found) | |
5eb8189c | 3081 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3082 | } |
3083 | ||
3084 | PYPRIVATE; | |
3085 | ||
3086 | }; | |
3087 | ||
5eb8189c RD |
3088 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3089 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3090 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3091 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3092 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3093 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3094 | |
3095 | ||
5c8c7dd3 RD |
3096 | |
3097 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3098 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3099 | { |
5eb8189c | 3100 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3101 | |
8f514ab4 | 3102 | |
d95b9f2b | 3103 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3104 | wxWindow* wnd, |
5c8c7dd3 RD |
3105 | const wxRect& rect ) |
3106 | { | |
3107 | bool found; | |
3108 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3109 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3110 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3111 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3112 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3113 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3114 | Py_DECREF(odc); |
26c4d26f | 3115 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3116 | Py_DECREF(orect); |
3117 | } | |
3118 | wxPyEndBlockThreads(blocked); | |
3119 | if (!found) | |
26c4d26f | 3120 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3121 | } |
3122 | ||
d95b9f2b | 3123 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3124 | wxWindow* wnd, |
d754c85e | 3125 | const wxAuiNotebookPage& pane, |
5c8c7dd3 | 3126 | const wxRect& in_rect, |
36cb9ebe RD |
3127 | int close_button_state, |
3128 | wxRect* out_tab_rect, | |
3129 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3130 | int* x_extent) |
3131 | { | |
3132 | bool found; | |
36cb9ebe | 3133 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3134 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3135 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3136 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3137 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
d754c85e | 3138 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiNotebookPage"), 0); |
5c8c7dd3 | 3139 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
5c8c7dd3 | 3140 | PyObject* ro; |
5eb8189c | 3141 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3142 | "(OOOOOii)", |
d754c85e RD |
3143 | odc, ownd, orect, opane, |
3144 | close_button_state)); | |
5c8c7dd3 | 3145 | if (ro) { |
36cb9ebe | 3146 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3147 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3148 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3149 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3150 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3151 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3152 | else if (!wxRect_helper(o2, &out_button_rect)) |
3153 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3154 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3155 | PyErr_SetString(PyExc_TypeError, errmsg); |
3156 | else | |
36cb9ebe | 3157 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3158 | |
3159 | Py_DECREF(o1); | |
3160 | Py_DECREF(o2); | |
36cb9ebe | 3161 | Py_DECREF(o3); |
5c8c7dd3 RD |
3162 | } |
3163 | else { | |
3164 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3165 | } | |
3166 | Py_DECREF(ro); | |
3167 | } | |
3168 | ||
3169 | Py_DECREF(odc); | |
26c4d26f | 3170 | Py_DECREF(ownd); |
5c8c7dd3 | 3171 | Py_DECREF(orect); |
d754c85e | 3172 | Py_DECREF(opane); |
5c8c7dd3 RD |
3173 | } |
3174 | wxPyEndBlockThreads(blocked); | |
3175 | if (!found) | |
d754c85e | 3176 | wxAuiDefaultTabArt::DrawTab(dc, wnd, pane, in_rect, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3177 | } |
3178 | ||
3179 | ||
d95b9f2b | 3180 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3181 | wxWindow* wnd, |
8f514ab4 RD |
3182 | const wxRect& in_rect, |
3183 | int bitmap_id, | |
3184 | int button_state, | |
3185 | int orientation, | |
8f514ab4 RD |
3186 | wxRect* out_rect) |
3187 | { | |
3188 | bool found; | |
3189 | const char* errmsg = "DrawButton should return a wxRect"; | |
3190 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3191 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3192 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3193 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3194 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
8f514ab4 | 3195 | PyObject* ro; |
26c4d26f | 3196 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
d754c85e | 3197 | bitmap_id, button_state, orientation)); |
8f514ab4 RD |
3198 | if (ro) { |
3199 | if (!wxRect_helper(ro, &out_rect)) | |
3200 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3201 | Py_DECREF(ro); | |
3202 | } | |
3203 | ||
3204 | Py_DECREF(odc); | |
26c4d26f | 3205 | Py_DECREF(ownd); |
8f514ab4 | 3206 | Py_DECREF(orect); |
8f514ab4 RD |
3207 | } |
3208 | wxPyEndBlockThreads(blocked); | |
3209 | if (!found) | |
d754c85e | 3210 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect); |
8f514ab4 RD |
3211 | } |
3212 | ||
26c4d26f | 3213 | |
d95b9f2b | 3214 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3215 | wxWindow* wnd, |
8f514ab4 | 3216 | const wxString& caption, |
5172800e | 3217 | const wxBitmap& bitmap, |
8f514ab4 | 3218 | bool active, |
36cb9ebe | 3219 | int close_button_state, |
8f514ab4 RD |
3220 | int* x_extent) |
3221 | { | |
3222 | bool found; | |
3223 | wxSize rv, *prv = &rv; | |
3224 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3225 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3226 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3227 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3228 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3229 | PyObject* otext = wx2PyString(caption); |
5172800e | 3230 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3231 | PyObject* ro; |
5eb8189c | 3232 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3233 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3234 | if (ro) { |
3235 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3236 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3237 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3238 | if (!wxSize_helper(o1, &prv)) | |
3239 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3240 | else if (!PyInt_Check(o2)) | |
3241 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3242 | else | |
3243 | *x_extent = PyInt_AsLong(o2); | |
3244 | ||
3245 | Py_DECREF(o1); | |
3246 | Py_DECREF(o2); | |
3247 | } | |
3248 | else { | |
3249 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3250 | } | |
3251 | Py_DECREF(ro); | |
3252 | } | |
3253 | ||
3254 | Py_DECREF(odc); | |
26c4d26f | 3255 | Py_DECREF(ownd); |
8f514ab4 | 3256 | Py_DECREF(otext); |
5172800e | 3257 | Py_DECREF(obmp); |
8f514ab4 RD |
3258 | } |
3259 | wxPyEndBlockThreads(blocked); | |
3260 | if (!found) | |
5172800e | 3261 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3262 | return rv; |
3263 | } | |
26c4d26f | 3264 | |
d95b9f2b | 3265 | // TODO |
d754c85e | 3266 | // virtual int ShowDropDown( |
d95b9f2b | 3267 | // wxWindow* wnd, |
d754c85e | 3268 | // const wxAuiNotebookPageArray& items, |
d95b9f2b | 3269 | // int active_idx); |
d754c85e RD |
3270 | |
3271 | // virtual int GetIndentSize(); | |
3272 | ||
5172800e | 3273 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, |
d754c85e RD |
3274 | // const wxAuiNotebookPageArray& pages, |
3275 | // const wxSize& required_bmp_size); | |
5172800e RD |
3276 | // virtual wxAuiTabArt* Clone(); |
3277 | // virtual void SetFlags(unsigned int flags); | |
3278 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3279 | // size_t tab_count); | |
3280 | // virtual int GetIndentSize(); | |
3281 | ||
d95b9f2b | 3282 | |
8f514ab4 | 3283 | |
5c8c7dd3 RD |
3284 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3285 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3286 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3287 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3288 | |
3289 | PYPRIVATE; | |
3290 | }; | |
3291 | ||
3292 | ||
5eb8189c RD |
3293 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3294 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3295 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3296 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3297 | |
27e45892 RD |
3298 | #ifdef __cplusplus |
3299 | extern "C" { | |
3300 | #endif | |
5eb8189c | 3301 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3302 | { |
3303 | void *argp = 0; | |
5eb8189c | 3304 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3305 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3306 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3307 | } |
3308 | if (!argp) { | |
5eb8189c | 3309 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3310 | } else { |
5eb8189c RD |
3311 | wxAuiDockInfo * temp; |
3312 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3313 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3314 | if (SWIG_IsNewObj(res)) delete temp; |
3315 | } | |
3316 | } | |
3317 | return 0; | |
3318 | fail: | |
3319 | return 1; | |
3320 | } | |
3321 | ||
3322 | ||
5eb8189c | 3323 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3324 | PyObject *pyobj = 0; |
3325 | ||
5eb8189c | 3326 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3327 | return pyobj; |
3328 | } | |
3329 | ||
3330 | ||
5eb8189c | 3331 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3332 | { |
3333 | void *argp = 0; | |
5eb8189c | 3334 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3335 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3336 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3337 | } |
3338 | if (!argp) { | |
5eb8189c | 3339 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3340 | } else { |
5eb8189c RD |
3341 | wxAuiPaneInfo * temp; |
3342 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3343 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3344 | if (SWIG_IsNewObj(res)) delete temp; |
3345 | } | |
3346 | } | |
3347 | return 0; | |
3348 | fail: | |
3349 | return 1; | |
3350 | } | |
3351 | ||
3352 | ||
5eb8189c | 3353 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3354 | PyObject *pyobj = 0; |
3355 | ||
5eb8189c | 3356 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3357 | return pyobj; |
3358 | } | |
3359 | ||
3360 | ||
5eb8189c | 3361 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3362 | PyObject *resultobj = 0; |
5eb8189c | 3363 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3364 | |
5eb8189c | 3365 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3366 | { |
3367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3368 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3369 | wxPyEndAllowThreads(__tstate); |
3370 | if (PyErr_Occurred()) SWIG_fail; | |
3371 | } | |
5eb8189c | 3372 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3373 | return resultobj; |
3374 | fail: | |
3375 | return NULL; | |
3376 | } | |
3377 | ||
3378 | ||
5eb8189c | 3379 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3380 | PyObject *resultobj = 0; |
5eb8189c | 3381 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3382 | void *argp1 = 0 ; |
3383 | int res1 = 0 ; | |
3384 | PyObject *swig_obj[1] ; | |
3385 | ||
3386 | if (!args) SWIG_fail; | |
3387 | swig_obj[0] = args; | |
5eb8189c | 3388 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3389 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3391 | } |
5eb8189c | 3392 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3393 | { |
3394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3395 | delete arg1; | |
3396 | ||
3397 | wxPyEndAllowThreads(__tstate); | |
3398 | if (PyErr_Occurred()) SWIG_fail; | |
3399 | } | |
3400 | resultobj = SWIG_Py_Void(); | |
3401 | return resultobj; | |
3402 | fail: | |
3403 | return NULL; | |
3404 | } | |
3405 | ||
3406 | ||
5eb8189c | 3407 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 3408 | PyObject *resultobj = 0; |
5eb8189c RD |
3409 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3410 | wxAuiPaneInfo arg2 ; | |
10044bf1 RD |
3411 | void *argp1 = 0 ; |
3412 | int res1 = 0 ; | |
3413 | void *argp2 ; | |
3414 | int res2 = 0 ; | |
3415 | PyObject * obj0 = 0 ; | |
3416 | PyObject * obj1 = 0 ; | |
3417 | char * kwnames[] = { | |
3418 | (char *) "self",(char *) "source", NULL | |
3419 | }; | |
3420 | ||
5eb8189c RD |
3421 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3422 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
10044bf1 | 3423 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3424 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
10044bf1 | 3425 | } |
5eb8189c | 3426 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 3427 | { |
5eb8189c | 3428 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 3429 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3430 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
10044bf1 RD |
3431 | } |
3432 | if (!argp2) { | |
5eb8189c | 3433 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
10044bf1 | 3434 | } else { |
5eb8189c | 3435 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
10044bf1 RD |
3436 | arg2 = *temp; |
3437 | if (SWIG_IsNewObj(res2)) delete temp; | |
3438 | } | |
3439 | } | |
3440 | { | |
3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3442 | (arg1)->SafeSet(arg2); | |
3443 | wxPyEndAllowThreads(__tstate); | |
3444 | if (PyErr_Occurred()) SWIG_fail; | |
3445 | } | |
3446 | resultobj = SWIG_Py_Void(); | |
3447 | return resultobj; | |
3448 | fail: | |
3449 | return NULL; | |
3450 | } | |
3451 | ||
3452 | ||
5eb8189c | 3453 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3454 | PyObject *resultobj = 0; |
5eb8189c | 3455 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3456 | bool result; |
3457 | void *argp1 = 0 ; | |
3458 | int res1 = 0 ; | |
3459 | PyObject *swig_obj[1] ; | |
3460 | ||
3461 | if (!args) SWIG_fail; | |
3462 | swig_obj[0] = args; | |
5eb8189c | 3463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3464 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3466 | } |
5eb8189c | 3467 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3468 | { |
3469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3470 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3471 | wxPyEndAllowThreads(__tstate); |
3472 | if (PyErr_Occurred()) SWIG_fail; | |
3473 | } | |
3474 | { | |
3475 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3476 | } | |
3477 | return resultobj; | |
3478 | fail: | |
3479 | return NULL; | |
3480 | } | |
3481 | ||
3482 | ||
5eb8189c | 3483 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3484 | PyObject *resultobj = 0; |
5eb8189c | 3485 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3486 | bool result; |
3487 | void *argp1 = 0 ; | |
3488 | int res1 = 0 ; | |
3489 | PyObject *swig_obj[1] ; | |
3490 | ||
3491 | if (!args) SWIG_fail; | |
3492 | swig_obj[0] = args; | |
5eb8189c | 3493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3494 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3496 | } |
5eb8189c | 3497 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3498 | { |
3499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3500 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3501 | wxPyEndAllowThreads(__tstate); |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
3503 | } | |
3504 | { | |
3505 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3506 | } | |
3507 | return resultobj; | |
3508 | fail: | |
3509 | return NULL; | |
3510 | } | |
3511 | ||
3512 | ||
5eb8189c | 3513 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3514 | PyObject *resultobj = 0; |
5eb8189c | 3515 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3516 | bool result; |
3517 | void *argp1 = 0 ; | |
3518 | int res1 = 0 ; | |
3519 | PyObject *swig_obj[1] ; | |
3520 | ||
3521 | if (!args) SWIG_fail; | |
3522 | swig_obj[0] = args; | |
5eb8189c | 3523 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3524 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3526 | } |
5eb8189c | 3527 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3528 | { |
3529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3530 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3531 | wxPyEndAllowThreads(__tstate); |
3532 | if (PyErr_Occurred()) SWIG_fail; | |
3533 | } | |
3534 | { | |
3535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3536 | } | |
3537 | return resultobj; | |
3538 | fail: | |
3539 | return NULL; | |
3540 | } | |
3541 | ||
3542 | ||
5eb8189c | 3543 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3544 | PyObject *resultobj = 0; |
5eb8189c | 3545 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3546 | bool result; |
3547 | void *argp1 = 0 ; | |
3548 | int res1 = 0 ; | |
3549 | PyObject *swig_obj[1] ; | |
3550 | ||
3551 | if (!args) SWIG_fail; | |
3552 | swig_obj[0] = args; | |
5eb8189c | 3553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3554 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3556 | } |
5eb8189c | 3557 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3558 | { |
3559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3560 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3561 | wxPyEndAllowThreads(__tstate); |
3562 | if (PyErr_Occurred()) SWIG_fail; | |
3563 | } | |
3564 | { | |
3565 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3566 | } | |
3567 | return resultobj; | |
3568 | fail: | |
3569 | return NULL; | |
3570 | } | |
3571 | ||
3572 | ||
5eb8189c | 3573 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3574 | PyObject *resultobj = 0; |
5eb8189c | 3575 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3576 | bool result; |
3577 | void *argp1 = 0 ; | |
3578 | int res1 = 0 ; | |
3579 | PyObject *swig_obj[1] ; | |
3580 | ||
3581 | if (!args) SWIG_fail; | |
3582 | swig_obj[0] = args; | |
5eb8189c | 3583 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3584 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3585 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3586 | } |
5eb8189c | 3587 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3588 | { |
3589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3590 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3591 | wxPyEndAllowThreads(__tstate); |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
3594 | { | |
3595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3596 | } | |
3597 | return resultobj; | |
3598 | fail: | |
3599 | return NULL; | |
3600 | } | |
3601 | ||
3602 | ||
5eb8189c | 3603 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3604 | PyObject *resultobj = 0; |
5eb8189c | 3605 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3606 | bool result; |
3607 | void *argp1 = 0 ; | |
3608 | int res1 = 0 ; | |
3609 | PyObject *swig_obj[1] ; | |
3610 | ||
3611 | if (!args) SWIG_fail; | |
3612 | swig_obj[0] = args; | |
5eb8189c | 3613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3614 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3616 | } |
5eb8189c | 3617 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3618 | { |
3619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3620 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3621 | wxPyEndAllowThreads(__tstate); |
3622 | if (PyErr_Occurred()) SWIG_fail; | |
3623 | } | |
3624 | { | |
3625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3626 | } | |
3627 | return resultobj; | |
3628 | fail: | |
3629 | return NULL; | |
3630 | } | |
3631 | ||
3632 | ||
5eb8189c | 3633 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3634 | PyObject *resultobj = 0; |
5eb8189c | 3635 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3636 | bool result; |
3637 | void *argp1 = 0 ; | |
3638 | int res1 = 0 ; | |
3639 | PyObject *swig_obj[1] ; | |
3640 | ||
3641 | if (!args) SWIG_fail; | |
3642 | swig_obj[0] = args; | |
5eb8189c | 3643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3644 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3646 | } |
5eb8189c | 3647 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3648 | { |
3649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3650 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3651 | wxPyEndAllowThreads(__tstate); |
3652 | if (PyErr_Occurred()) SWIG_fail; | |
3653 | } | |
3654 | { | |
3655 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3656 | } | |
3657 | return resultobj; | |
3658 | fail: | |
3659 | return NULL; | |
3660 | } | |
3661 | ||
3662 | ||
5eb8189c | 3663 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3664 | PyObject *resultobj = 0; |
5eb8189c | 3665 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3666 | bool result; |
3667 | void *argp1 = 0 ; | |
3668 | int res1 = 0 ; | |
3669 | PyObject *swig_obj[1] ; | |
3670 | ||
3671 | if (!args) SWIG_fail; | |
3672 | swig_obj[0] = args; | |
5eb8189c | 3673 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3674 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3675 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3676 | } |
5eb8189c | 3677 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3678 | { |
3679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3680 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3681 | wxPyEndAllowThreads(__tstate); |
3682 | if (PyErr_Occurred()) SWIG_fail; | |
3683 | } | |
3684 | { | |
3685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3686 | } | |
3687 | return resultobj; | |
3688 | fail: | |
3689 | return NULL; | |
3690 | } | |
3691 | ||
3692 | ||
5eb8189c | 3693 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3694 | PyObject *resultobj = 0; |
5eb8189c | 3695 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3696 | bool result; |
3697 | void *argp1 = 0 ; | |
3698 | int res1 = 0 ; | |
3699 | PyObject *swig_obj[1] ; | |
3700 | ||
3701 | if (!args) SWIG_fail; | |
3702 | swig_obj[0] = args; | |
5eb8189c | 3703 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3704 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3706 | } |
5eb8189c | 3707 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3708 | { |
3709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3710 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3711 | wxPyEndAllowThreads(__tstate); |
3712 | if (PyErr_Occurred()) SWIG_fail; | |
3713 | } | |
3714 | { | |
3715 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3716 | } | |
3717 | return resultobj; | |
3718 | fail: | |
3719 | return NULL; | |
3720 | } | |
3721 | ||
3722 | ||
5eb8189c | 3723 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3724 | PyObject *resultobj = 0; |
5eb8189c | 3725 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3726 | bool result; |
3727 | void *argp1 = 0 ; | |
3728 | int res1 = 0 ; | |
3729 | PyObject *swig_obj[1] ; | |
3730 | ||
3731 | if (!args) SWIG_fail; | |
3732 | swig_obj[0] = args; | |
5eb8189c | 3733 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3734 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3735 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3736 | } |
5eb8189c | 3737 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3738 | { |
3739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3740 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3741 | wxPyEndAllowThreads(__tstate); |
3742 | if (PyErr_Occurred()) SWIG_fail; | |
3743 | } | |
3744 | { | |
3745 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3746 | } | |
3747 | return resultobj; | |
3748 | fail: | |
3749 | return NULL; | |
3750 | } | |
3751 | ||
3752 | ||
5eb8189c | 3753 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3754 | PyObject *resultobj = 0; |
5eb8189c | 3755 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3756 | bool result; |
3757 | void *argp1 = 0 ; | |
3758 | int res1 = 0 ; | |
3759 | PyObject *swig_obj[1] ; | |
3760 | ||
3761 | if (!args) SWIG_fail; | |
3762 | swig_obj[0] = args; | |
5eb8189c | 3763 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3764 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3765 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3766 | } |
5eb8189c | 3767 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3768 | { |
3769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3770 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3771 | wxPyEndAllowThreads(__tstate); |
3772 | if (PyErr_Occurred()) SWIG_fail; | |
3773 | } | |
3774 | { | |
3775 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3776 | } | |
3777 | return resultobj; | |
3778 | fail: | |
3779 | return NULL; | |
3780 | } | |
3781 | ||
3782 | ||
5eb8189c | 3783 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3784 | PyObject *resultobj = 0; |
5eb8189c | 3785 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3786 | bool result; |
3787 | void *argp1 = 0 ; | |
3788 | int res1 = 0 ; | |
3789 | PyObject *swig_obj[1] ; | |
3790 | ||
3791 | if (!args) SWIG_fail; | |
3792 | swig_obj[0] = args; | |
5eb8189c | 3793 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3794 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3796 | } |
5eb8189c | 3797 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3798 | { |
3799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3800 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3801 | wxPyEndAllowThreads(__tstate); |
3802 | if (PyErr_Occurred()) SWIG_fail; | |
3803 | } | |
3804 | { | |
3805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3806 | } | |
3807 | return resultobj; | |
3808 | fail: | |
3809 | return NULL; | |
3810 | } | |
3811 | ||
3812 | ||
5eb8189c | 3813 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3814 | PyObject *resultobj = 0; |
5eb8189c | 3815 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3816 | bool result; |
3817 | void *argp1 = 0 ; | |
3818 | int res1 = 0 ; | |
3819 | PyObject *swig_obj[1] ; | |
3820 | ||
3821 | if (!args) SWIG_fail; | |
3822 | swig_obj[0] = args; | |
5eb8189c | 3823 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3824 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3826 | } |
5eb8189c | 3827 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3828 | { |
3829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3830 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3831 | wxPyEndAllowThreads(__tstate); |
3832 | if (PyErr_Occurred()) SWIG_fail; | |
3833 | } | |
3834 | { | |
3835 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3836 | } | |
3837 | return resultobj; | |
3838 | fail: | |
3839 | return NULL; | |
3840 | } | |
3841 | ||
3842 | ||
5eb8189c | 3843 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3844 | PyObject *resultobj = 0; |
5eb8189c | 3845 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3846 | bool result; |
3847 | void *argp1 = 0 ; | |
3848 | int res1 = 0 ; | |
3849 | PyObject *swig_obj[1] ; | |
3850 | ||
3851 | if (!args) SWIG_fail; | |
3852 | swig_obj[0] = args; | |
5eb8189c | 3853 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3854 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3855 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3856 | } |
5eb8189c | 3857 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3858 | { |
3859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3860 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3861 | wxPyEndAllowThreads(__tstate); |
3862 | if (PyErr_Occurred()) SWIG_fail; | |
3863 | } | |
3864 | { | |
3865 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3866 | } | |
3867 | return resultobj; | |
3868 | fail: | |
3869 | return NULL; | |
3870 | } | |
3871 | ||
3872 | ||
5eb8189c | 3873 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3874 | PyObject *resultobj = 0; |
5eb8189c | 3875 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3876 | bool result; |
3877 | void *argp1 = 0 ; | |
3878 | int res1 = 0 ; | |
3879 | PyObject *swig_obj[1] ; | |
3880 | ||
3881 | if (!args) SWIG_fail; | |
3882 | swig_obj[0] = args; | |
5eb8189c | 3883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3884 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3886 | } |
5eb8189c | 3887 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3888 | { |
3889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3890 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3891 | wxPyEndAllowThreads(__tstate); |
3892 | if (PyErr_Occurred()) SWIG_fail; | |
3893 | } | |
3894 | { | |
3895 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3896 | } | |
3897 | return resultobj; | |
3898 | fail: | |
3899 | return NULL; | |
3900 | } | |
3901 | ||
3902 | ||
5eb8189c | 3903 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3904 | PyObject *resultobj = 0; |
5eb8189c | 3905 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3906 | bool result; |
3907 | void *argp1 = 0 ; | |
3908 | int res1 = 0 ; | |
3909 | PyObject *swig_obj[1] ; | |
3910 | ||
3911 | if (!args) SWIG_fail; | |
3912 | swig_obj[0] = args; | |
5eb8189c | 3913 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3914 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3916 | } |
5eb8189c | 3917 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3918 | { |
3919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3920 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3921 | wxPyEndAllowThreads(__tstate); |
3922 | if (PyErr_Occurred()) SWIG_fail; | |
3923 | } | |
3924 | { | |
3925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3926 | } | |
3927 | return resultobj; | |
3928 | fail: | |
3929 | return NULL; | |
3930 | } | |
3931 | ||
3932 | ||
5eb8189c | 3933 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3934 | PyObject *resultobj = 0; |
5eb8189c | 3935 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3936 | bool result; |
3937 | void *argp1 = 0 ; | |
3938 | int res1 = 0 ; | |
3939 | PyObject *swig_obj[1] ; | |
3940 | ||
3941 | if (!args) SWIG_fail; | |
3942 | swig_obj[0] = args; | |
5eb8189c | 3943 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3944 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3946 | } |
5eb8189c | 3947 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3948 | { |
3949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3950 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3951 | wxPyEndAllowThreads(__tstate); |
3952 | if (PyErr_Occurred()) SWIG_fail; | |
3953 | } | |
3954 | { | |
3955 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3956 | } | |
3957 | return resultobj; | |
3958 | fail: | |
3959 | return NULL; | |
3960 | } | |
3961 | ||
3962 | ||
5eb8189c | 3963 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3964 | PyObject *resultobj = 0; |
5eb8189c | 3965 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3966 | bool result; |
3967 | void *argp1 = 0 ; | |
3968 | int res1 = 0 ; | |
3969 | PyObject *swig_obj[1] ; | |
3970 | ||
3971 | if (!args) SWIG_fail; | |
3972 | swig_obj[0] = args; | |
5eb8189c | 3973 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3974 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3975 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3976 | } |
5eb8189c | 3977 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3978 | { |
3979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3980 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3981 | wxPyEndAllowThreads(__tstate); |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
3984 | { | |
3985 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3986 | } | |
3987 | return resultobj; | |
3988 | fail: | |
3989 | return NULL; | |
3990 | } | |
3991 | ||
3992 | ||
5eb8189c | 3993 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3994 | PyObject *resultobj = 0; |
5eb8189c | 3995 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3996 | bool result; |
3997 | void *argp1 = 0 ; | |
3998 | int res1 = 0 ; | |
3999 | PyObject *swig_obj[1] ; | |
4000 | ||
4001 | if (!args) SWIG_fail; | |
4002 | swig_obj[0] = args; | |
5eb8189c | 4003 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4004 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4005 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4006 | } |
5eb8189c | 4007 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4008 | { |
4009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4010 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
4011 | wxPyEndAllowThreads(__tstate); |
4012 | if (PyErr_Occurred()) SWIG_fail; | |
4013 | } | |
4014 | { | |
4015 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4016 | } | |
4017 | return resultobj; | |
4018 | fail: | |
4019 | return NULL; | |
4020 | } | |
4021 | ||
4022 | ||
5eb8189c | 4023 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4024 | PyObject *resultobj = 0; |
5eb8189c | 4025 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4026 | bool result; |
4027 | void *argp1 = 0 ; | |
4028 | int res1 = 0 ; | |
4029 | PyObject *swig_obj[1] ; | |
4030 | ||
4031 | if (!args) SWIG_fail; | |
4032 | swig_obj[0] = args; | |
5eb8189c | 4033 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4034 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4036 | } |
5eb8189c | 4037 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4038 | { |
4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4040 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4041 | wxPyEndAllowThreads(__tstate); |
4042 | if (PyErr_Occurred()) SWIG_fail; | |
4043 | } | |
4044 | { | |
4045 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4046 | } | |
4047 | return resultobj; | |
4048 | fail: | |
4049 | return NULL; | |
4050 | } | |
4051 | ||
4052 | ||
5eb8189c | 4053 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4054 | PyObject *resultobj = 0; |
5eb8189c | 4055 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4056 | bool result; |
4057 | void *argp1 = 0 ; | |
4058 | int res1 = 0 ; | |
4059 | PyObject *swig_obj[1] ; | |
4060 | ||
4061 | if (!args) SWIG_fail; | |
4062 | swig_obj[0] = args; | |
5eb8189c | 4063 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4064 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4065 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4066 | } |
5eb8189c | 4067 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4068 | { |
4069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4070 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4071 | wxPyEndAllowThreads(__tstate); |
4072 | if (PyErr_Occurred()) SWIG_fail; | |
4073 | } | |
4074 | { | |
4075 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4076 | } | |
4077 | return resultobj; | |
4078 | fail: | |
4079 | return NULL; | |
4080 | } | |
4081 | ||
4082 | ||
5eb8189c | 4083 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4084 | PyObject *resultobj = 0; |
5eb8189c | 4085 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4086 | bool result; |
4087 | void *argp1 = 0 ; | |
4088 | int res1 = 0 ; | |
4089 | PyObject *swig_obj[1] ; | |
4090 | ||
4091 | if (!args) SWIG_fail; | |
4092 | swig_obj[0] = args; | |
5eb8189c | 4093 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4094 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4095 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4096 | } |
5eb8189c | 4097 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4098 | { |
4099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4100 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4101 | wxPyEndAllowThreads(__tstate); |
4102 | if (PyErr_Occurred()) SWIG_fail; | |
4103 | } | |
4104 | { | |
4105 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4106 | } | |
4107 | return resultobj; | |
4108 | fail: | |
4109 | return NULL; | |
4110 | } | |
4111 | ||
4112 | ||
5eb8189c | 4113 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4114 | PyObject *resultobj = 0; |
5eb8189c RD |
4115 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4116 | bool result; | |
4117 | void *argp1 = 0 ; | |
4118 | int res1 = 0 ; | |
4119 | PyObject *swig_obj[1] ; | |
4120 | ||
4121 | if (!args) SWIG_fail; | |
4122 | swig_obj[0] = args; | |
4123 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4124 | if (!SWIG_IsOK(res1)) { | |
4125 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4126 | } | |
4127 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4128 | { | |
4129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4130 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4131 | wxPyEndAllowThreads(__tstate); | |
4132 | if (PyErr_Occurred()) SWIG_fail; | |
4133 | } | |
4134 | { | |
4135 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4136 | } | |
4137 | return resultobj; | |
4138 | fail: | |
4139 | return NULL; | |
4140 | } | |
4141 | ||
4142 | ||
4143 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4144 | PyObject *resultobj = 0; | |
4145 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4146 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4147 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4148 | void *argp1 = 0 ; |
4149 | int res1 = 0 ; | |
4150 | void *argp2 = 0 ; | |
4151 | int res2 = 0 ; | |
4152 | PyObject * obj0 = 0 ; | |
4153 | PyObject * obj1 = 0 ; | |
4154 | char * kwnames[] = { | |
4155 | (char *) "self",(char *) "w", NULL | |
4156 | }; | |
4157 | ||
5eb8189c RD |
4158 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4159 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4160 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4161 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4162 | } |
5eb8189c | 4163 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4164 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4165 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4166 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4167 | } |
4168 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4169 | { | |
4170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4171 | { | |
5eb8189c RD |
4172 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4173 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4174 | } |
4175 | wxPyEndAllowThreads(__tstate); | |
4176 | if (PyErr_Occurred()) SWIG_fail; | |
4177 | } | |
4178 | { | |
4179 | resultobj = obj0; Py_INCREF(resultobj); | |
4180 | } | |
4181 | return resultobj; | |
4182 | fail: | |
4183 | return NULL; | |
4184 | } | |
4185 | ||
4186 | ||
5eb8189c | 4187 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4188 | PyObject *resultobj = 0; |
5eb8189c | 4189 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4190 | wxString *arg2 = 0 ; |
5eb8189c | 4191 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4192 | void *argp1 = 0 ; |
4193 | int res1 = 0 ; | |
4194 | bool temp2 = false ; | |
4195 | PyObject * obj0 = 0 ; | |
4196 | PyObject * obj1 = 0 ; | |
4197 | char * kwnames[] = { | |
4198 | (char *) "self",(char *) "n", NULL | |
4199 | }; | |
4200 | ||
5eb8189c RD |
4201 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4202 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4203 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4204 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4205 | } |
5eb8189c | 4206 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4207 | { |
4208 | arg2 = wxString_in_helper(obj1); | |
4209 | if (arg2 == NULL) SWIG_fail; | |
4210 | temp2 = true; | |
4211 | } | |
4212 | { | |
4213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4214 | { | |
5eb8189c RD |
4215 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4216 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4217 | } |
4218 | wxPyEndAllowThreads(__tstate); | |
4219 | if (PyErr_Occurred()) SWIG_fail; | |
4220 | } | |
4221 | { | |
4222 | resultobj = obj0; Py_INCREF(resultobj); | |
4223 | } | |
4224 | { | |
4225 | if (temp2) | |
4226 | delete arg2; | |
4227 | } | |
4228 | return resultobj; | |
4229 | fail: | |
4230 | { | |
4231 | if (temp2) | |
4232 | delete arg2; | |
4233 | } | |
4234 | return NULL; | |
4235 | } | |
4236 | ||
4237 | ||
5eb8189c | 4238 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4239 | PyObject *resultobj = 0; |
5eb8189c | 4240 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4241 | wxString *arg2 = 0 ; |
5eb8189c | 4242 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4243 | void *argp1 = 0 ; |
4244 | int res1 = 0 ; | |
4245 | bool temp2 = false ; | |
4246 | PyObject * obj0 = 0 ; | |
4247 | PyObject * obj1 = 0 ; | |
4248 | char * kwnames[] = { | |
4249 | (char *) "self",(char *) "c", NULL | |
4250 | }; | |
4251 | ||
5eb8189c RD |
4252 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4253 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4254 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4255 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4256 | } |
5eb8189c | 4257 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4258 | { |
4259 | arg2 = wxString_in_helper(obj1); | |
4260 | if (arg2 == NULL) SWIG_fail; | |
4261 | temp2 = true; | |
4262 | } | |
4263 | { | |
4264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4265 | { | |
5eb8189c RD |
4266 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4267 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4268 | } |
4269 | wxPyEndAllowThreads(__tstate); | |
4270 | if (PyErr_Occurred()) SWIG_fail; | |
4271 | } | |
4272 | { | |
4273 | resultobj = obj0; Py_INCREF(resultobj); | |
4274 | } | |
4275 | { | |
4276 | if (temp2) | |
4277 | delete arg2; | |
4278 | } | |
4279 | return resultobj; | |
4280 | fail: | |
4281 | { | |
4282 | if (temp2) | |
4283 | delete arg2; | |
4284 | } | |
4285 | return NULL; | |
4286 | } | |
4287 | ||
4288 | ||
5eb8189c | 4289 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4290 | PyObject *resultobj = 0; |
5eb8189c RD |
4291 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4292 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4293 | void *argp1 = 0 ; |
4294 | int res1 = 0 ; | |
4295 | PyObject *swig_obj[1] ; | |
4296 | ||
4297 | if (!args) SWIG_fail; | |
4298 | swig_obj[0] = args; | |
5eb8189c | 4299 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4300 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4302 | } |
5eb8189c | 4303 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4304 | { |
4305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4306 | { | |
5eb8189c RD |
4307 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4308 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4309 | } |
4310 | wxPyEndAllowThreads(__tstate); | |
4311 | if (PyErr_Occurred()) SWIG_fail; | |
4312 | } | |
4313 | { | |
4314 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4315 | } | |
4316 | return resultobj; | |
4317 | fail: | |
4318 | return NULL; | |
4319 | } | |
4320 | ||
4321 | ||
5eb8189c | 4322 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4323 | PyObject *resultobj = 0; |
5eb8189c RD |
4324 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4325 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4326 | void *argp1 = 0 ; |
4327 | int res1 = 0 ; | |
4328 | PyObject *swig_obj[1] ; | |
4329 | ||
4330 | if (!args) SWIG_fail; | |
4331 | swig_obj[0] = args; | |
5eb8189c | 4332 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4333 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4335 | } |
5eb8189c | 4336 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4337 | { |
4338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4339 | { | |
5eb8189c RD |
4340 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4341 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4342 | } |
4343 | wxPyEndAllowThreads(__tstate); | |
4344 | if (PyErr_Occurred()) SWIG_fail; | |
4345 | } | |
4346 | { | |
4347 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4348 | } | |
4349 | return resultobj; | |
4350 | fail: | |
4351 | return NULL; | |
4352 | } | |
4353 | ||
4354 | ||
5eb8189c | 4355 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4356 | PyObject *resultobj = 0; |
5eb8189c RD |
4357 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4358 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4359 | void *argp1 = 0 ; |
4360 | int res1 = 0 ; | |
4361 | PyObject *swig_obj[1] ; | |
4362 | ||
4363 | if (!args) SWIG_fail; | |
4364 | swig_obj[0] = args; | |
5eb8189c | 4365 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4366 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4367 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4368 | } |
5eb8189c | 4369 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4370 | { |
4371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4372 | { | |
5eb8189c RD |
4373 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4374 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4375 | } |
4376 | wxPyEndAllowThreads(__tstate); | |
4377 | if (PyErr_Occurred()) SWIG_fail; | |
4378 | } | |
4379 | { | |
4380 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4381 | } | |
4382 | return resultobj; | |
4383 | fail: | |
4384 | return NULL; | |
4385 | } | |
4386 | ||
4387 | ||
5eb8189c | 4388 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4389 | PyObject *resultobj = 0; |
5eb8189c RD |
4390 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4391 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4392 | void *argp1 = 0 ; |
4393 | int res1 = 0 ; | |
4394 | PyObject *swig_obj[1] ; | |
4395 | ||
4396 | if (!args) SWIG_fail; | |
4397 | swig_obj[0] = args; | |
5eb8189c | 4398 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4399 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4400 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4401 | } |
5eb8189c | 4402 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4403 | { |
4404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4405 | { | |
5eb8189c RD |
4406 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4407 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4408 | } |
4409 | wxPyEndAllowThreads(__tstate); | |
4410 | if (PyErr_Occurred()) SWIG_fail; | |
4411 | } | |
4412 | { | |
4413 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4414 | } | |
4415 | return resultobj; | |
4416 | fail: | |
4417 | return NULL; | |
4418 | } | |
4419 | ||
4420 | ||
5eb8189c | 4421 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4422 | PyObject *resultobj = 0; |
5eb8189c RD |
4423 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4424 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4425 | void *argp1 = 0 ; |
4426 | int res1 = 0 ; | |
4427 | PyObject *swig_obj[1] ; | |
4428 | ||
4429 | if (!args) SWIG_fail; | |
4430 | swig_obj[0] = args; | |
5eb8189c | 4431 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4432 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4434 | } |
5eb8189c | 4435 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4436 | { |
4437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4438 | { | |
5eb8189c RD |
4439 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4440 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4441 | } |
4442 | wxPyEndAllowThreads(__tstate); | |
4443 | if (PyErr_Occurred()) SWIG_fail; | |
4444 | } | |
4445 | { | |
4446 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4447 | } | |
4448 | return resultobj; | |
4449 | fail: | |
4450 | return NULL; | |
4451 | } | |
4452 | ||
4453 | ||
5eb8189c | 4454 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4455 | PyObject *resultobj = 0; |
5eb8189c RD |
4456 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4457 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4458 | void *argp1 = 0 ; |
4459 | int res1 = 0 ; | |
4460 | PyObject *swig_obj[1] ; | |
4461 | ||
4462 | if (!args) SWIG_fail; | |
4463 | swig_obj[0] = args; | |
5eb8189c | 4464 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4465 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4466 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4467 | } |
5eb8189c | 4468 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4469 | { |
4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4471 | { | |
5eb8189c RD |
4472 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4473 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4474 | } |
4475 | wxPyEndAllowThreads(__tstate); | |
4476 | if (PyErr_Occurred()) SWIG_fail; | |
4477 | } | |
4478 | { | |
4479 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4480 | } | |
4481 | return resultobj; | |
4482 | fail: | |
4483 | return NULL; | |
4484 | } | |
4485 | ||
4486 | ||
5eb8189c | 4487 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4488 | PyObject *resultobj = 0; |
5eb8189c | 4489 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4490 | int arg2 ; |
5eb8189c | 4491 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4492 | void *argp1 = 0 ; |
4493 | int res1 = 0 ; | |
4494 | int val2 ; | |
4495 | int ecode2 = 0 ; | |
4496 | PyObject * obj0 = 0 ; | |
4497 | PyObject * obj1 = 0 ; | |
4498 | char * kwnames[] = { | |
4499 | (char *) "self",(char *) "direction", NULL | |
4500 | }; | |
4501 | ||
5eb8189c RD |
4502 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4503 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4504 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4506 | } |
5eb8189c | 4507 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4508 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4509 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4510 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4511 | } |
4512 | arg2 = static_cast< int >(val2); | |
4513 | { | |
4514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4515 | { | |
5eb8189c RD |
4516 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4517 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4518 | } |
4519 | wxPyEndAllowThreads(__tstate); | |
4520 | if (PyErr_Occurred()) SWIG_fail; | |
4521 | } | |
4522 | { | |
4523 | resultobj = obj0; Py_INCREF(resultobj); | |
4524 | } | |
4525 | return resultobj; | |
4526 | fail: | |
4527 | return NULL; | |
4528 | } | |
4529 | ||
4530 | ||
5eb8189c | 4531 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4532 | PyObject *resultobj = 0; |
5eb8189c | 4533 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4534 | int arg2 ; |
5eb8189c | 4535 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4536 | void *argp1 = 0 ; |
4537 | int res1 = 0 ; | |
4538 | int val2 ; | |
4539 | int ecode2 = 0 ; | |
4540 | PyObject * obj0 = 0 ; | |
4541 | PyObject * obj1 = 0 ; | |
4542 | char * kwnames[] = { | |
4543 | (char *) "self",(char *) "layer", NULL | |
4544 | }; | |
4545 | ||
5eb8189c RD |
4546 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4547 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4548 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4549 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4550 | } |
5eb8189c | 4551 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4552 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4553 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4554 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4555 | } |
4556 | arg2 = static_cast< int >(val2); | |
4557 | { | |
4558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4559 | { | |
5eb8189c RD |
4560 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4561 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4562 | } |
4563 | wxPyEndAllowThreads(__tstate); | |
4564 | if (PyErr_Occurred()) SWIG_fail; | |
4565 | } | |
4566 | { | |
4567 | resultobj = obj0; Py_INCREF(resultobj); | |
4568 | } | |
4569 | return resultobj; | |
4570 | fail: | |
4571 | return NULL; | |
4572 | } | |
4573 | ||
4574 | ||
5eb8189c | 4575 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4576 | PyObject *resultobj = 0; |
5eb8189c | 4577 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4578 | int arg2 ; |
5eb8189c | 4579 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4580 | void *argp1 = 0 ; |
4581 | int res1 = 0 ; | |
4582 | int val2 ; | |
4583 | int ecode2 = 0 ; | |
4584 | PyObject * obj0 = 0 ; | |
4585 | PyObject * obj1 = 0 ; | |
4586 | char * kwnames[] = { | |
4587 | (char *) "self",(char *) "row", NULL | |
4588 | }; | |
4589 | ||
5eb8189c RD |
4590 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4591 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4592 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4593 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4594 | } |
5eb8189c | 4595 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4596 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4597 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4598 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4599 | } |
4600 | arg2 = static_cast< int >(val2); | |
4601 | { | |
4602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4603 | { | |
5eb8189c RD |
4604 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4605 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4606 | } |
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
4610 | { | |
4611 | resultobj = obj0; Py_INCREF(resultobj); | |
4612 | } | |
4613 | return resultobj; | |
4614 | fail: | |
4615 | return NULL; | |
4616 | } | |
4617 | ||
4618 | ||
5eb8189c | 4619 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4620 | PyObject *resultobj = 0; |
5eb8189c | 4621 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4622 | int arg2 ; |
5eb8189c | 4623 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4624 | void *argp1 = 0 ; |
4625 | int res1 = 0 ; | |
4626 | int val2 ; | |
4627 | int ecode2 = 0 ; | |
4628 | PyObject * obj0 = 0 ; | |
4629 | PyObject * obj1 = 0 ; | |
4630 | char * kwnames[] = { | |
4631 | (char *) "self",(char *) "pos", NULL | |
4632 | }; | |
4633 | ||
5eb8189c RD |
4634 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4635 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4636 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4638 | } |
5eb8189c | 4639 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4640 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4641 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4642 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4643 | } |
4644 | arg2 = static_cast< int >(val2); | |
4645 | { | |
4646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4647 | { | |
5eb8189c RD |
4648 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4649 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4650 | } |
4651 | wxPyEndAllowThreads(__tstate); | |
4652 | if (PyErr_Occurred()) SWIG_fail; | |
4653 | } | |
4654 | { | |
4655 | resultobj = obj0; Py_INCREF(resultobj); | |
4656 | } | |
4657 | return resultobj; | |
4658 | fail: | |
4659 | return NULL; | |
4660 | } | |
4661 | ||
4662 | ||
5eb8189c | 4663 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4664 | PyObject *resultobj = 0; |
5eb8189c | 4665 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4666 | wxSize *arg2 = 0 ; |
5eb8189c | 4667 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4668 | void *argp1 = 0 ; |
4669 | int res1 = 0 ; | |
4670 | wxSize temp2 ; | |
4671 | PyObject * obj0 = 0 ; | |
4672 | PyObject * obj1 = 0 ; | |
4673 | char * kwnames[] = { | |
4674 | (char *) "self",(char *) "size", NULL | |
4675 | }; | |
4676 | ||
5eb8189c RD |
4677 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4678 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4679 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4681 | } |
5eb8189c | 4682 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4683 | { |
4684 | arg2 = &temp2; | |
4685 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4686 | } | |
4687 | { | |
4688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4689 | { | |
5eb8189c RD |
4690 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4691 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4692 | } |
4693 | wxPyEndAllowThreads(__tstate); | |
4694 | if (PyErr_Occurred()) SWIG_fail; | |
4695 | } | |
4696 | { | |
4697 | resultobj = obj0; Py_INCREF(resultobj); | |
4698 | } | |
4699 | return resultobj; | |
4700 | fail: | |
4701 | return NULL; | |
4702 | } | |
4703 | ||
4704 | ||
5eb8189c | 4705 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4706 | PyObject *resultobj = 0; |
5eb8189c | 4707 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4708 | wxSize *arg2 = 0 ; |
5eb8189c | 4709 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4710 | void *argp1 = 0 ; |
4711 | int res1 = 0 ; | |
4712 | wxSize temp2 ; | |
4713 | PyObject * obj0 = 0 ; | |
4714 | PyObject * obj1 = 0 ; | |
4715 | char * kwnames[] = { | |
4716 | (char *) "self",(char *) "size", NULL | |
4717 | }; | |
4718 | ||
5eb8189c RD |
4719 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4720 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4721 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4722 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4723 | } |
5eb8189c | 4724 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4725 | { |
4726 | arg2 = &temp2; | |
4727 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4728 | } | |
4729 | { | |
4730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4731 | { | |
5eb8189c RD |
4732 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4733 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4734 | } |
4735 | wxPyEndAllowThreads(__tstate); | |
4736 | if (PyErr_Occurred()) SWIG_fail; | |
4737 | } | |
4738 | { | |
4739 | resultobj = obj0; Py_INCREF(resultobj); | |
4740 | } | |
4741 | return resultobj; | |
4742 | fail: | |
4743 | return NULL; | |
4744 | } | |
4745 | ||
4746 | ||
5eb8189c | 4747 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4748 | PyObject *resultobj = 0; |
5eb8189c | 4749 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4750 | wxSize *arg2 = 0 ; |
5eb8189c | 4751 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4752 | void *argp1 = 0 ; |
4753 | int res1 = 0 ; | |
4754 | wxSize temp2 ; | |
4755 | PyObject * obj0 = 0 ; | |
4756 | PyObject * obj1 = 0 ; | |
4757 | char * kwnames[] = { | |
4758 | (char *) "self",(char *) "size", NULL | |
4759 | }; | |
4760 | ||
5eb8189c RD |
4761 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4762 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4763 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4764 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4765 | } |
5eb8189c | 4766 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4767 | { |
4768 | arg2 = &temp2; | |
4769 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4770 | } | |
4771 | { | |
4772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4773 | { | |
5eb8189c RD |
4774 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4775 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4776 | } |
4777 | wxPyEndAllowThreads(__tstate); | |
4778 | if (PyErr_Occurred()) SWIG_fail; | |
4779 | } | |
4780 | { | |
4781 | resultobj = obj0; Py_INCREF(resultobj); | |
4782 | } | |
4783 | return resultobj; | |
4784 | fail: | |
4785 | return NULL; | |
4786 | } | |
4787 | ||
4788 | ||
5eb8189c | 4789 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4790 | PyObject *resultobj = 0; |
5eb8189c | 4791 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4792 | wxPoint *arg2 = 0 ; |
5eb8189c | 4793 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4794 | void *argp1 = 0 ; |
4795 | int res1 = 0 ; | |
4796 | wxPoint temp2 ; | |
4797 | PyObject * obj0 = 0 ; | |
4798 | PyObject * obj1 = 0 ; | |
4799 | char * kwnames[] = { | |
4800 | (char *) "self",(char *) "pos", NULL | |
4801 | }; | |
4802 | ||
5eb8189c RD |
4803 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4804 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4805 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4806 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4807 | } |
5eb8189c | 4808 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4809 | { |
4810 | arg2 = &temp2; | |
4811 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4812 | } | |
4813 | { | |
4814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4815 | { | |
5eb8189c RD |
4816 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4817 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4818 | } |
4819 | wxPyEndAllowThreads(__tstate); | |
4820 | if (PyErr_Occurred()) SWIG_fail; | |
4821 | } | |
4822 | { | |
4823 | resultobj = obj0; Py_INCREF(resultobj); | |
4824 | } | |
4825 | return resultobj; | |
4826 | fail: | |
4827 | return NULL; | |
4828 | } | |
4829 | ||
4830 | ||
5eb8189c | 4831 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4832 | PyObject *resultobj = 0; |
5eb8189c | 4833 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4834 | wxSize *arg2 = 0 ; |
5eb8189c | 4835 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4836 | void *argp1 = 0 ; |
4837 | int res1 = 0 ; | |
4838 | wxSize temp2 ; | |
4839 | PyObject * obj0 = 0 ; | |
4840 | PyObject * obj1 = 0 ; | |
4841 | char * kwnames[] = { | |
4842 | (char *) "self",(char *) "size", NULL | |
4843 | }; | |
4844 | ||
5eb8189c RD |
4845 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4846 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4847 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4848 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4849 | } |
5eb8189c | 4850 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4851 | { |
4852 | arg2 = &temp2; | |
4853 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4854 | } | |
4855 | { | |
4856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4857 | { | |
5eb8189c RD |
4858 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4859 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4860 | } |
4861 | wxPyEndAllowThreads(__tstate); | |
4862 | if (PyErr_Occurred()) SWIG_fail; | |
4863 | } | |
4864 | { | |
4865 | resultobj = obj0; Py_INCREF(resultobj); | |
4866 | } | |
4867 | return resultobj; | |
4868 | fail: | |
4869 | return NULL; | |
4870 | } | |
4871 | ||
4872 | ||
5eb8189c | 4873 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4874 | PyObject *resultobj = 0; |
5eb8189c RD |
4875 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4876 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4877 | void *argp1 = 0 ; |
4878 | int res1 = 0 ; | |
4879 | PyObject *swig_obj[1] ; | |
4880 | ||
4881 | if (!args) SWIG_fail; | |
4882 | swig_obj[0] = args; | |
5eb8189c | 4883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4884 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4886 | } |
5eb8189c | 4887 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4888 | { |
4889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4890 | { | |
5eb8189c RD |
4891 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4892 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4893 | } |
4894 | wxPyEndAllowThreads(__tstate); | |
4895 | if (PyErr_Occurred()) SWIG_fail; | |
4896 | } | |
4897 | { | |
4898 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4899 | } | |
4900 | return resultobj; | |
4901 | fail: | |
4902 | return NULL; | |
4903 | } | |
4904 | ||
4905 | ||
5eb8189c | 4906 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4907 | PyObject *resultobj = 0; |
5eb8189c | 4908 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4909 | bool arg2 = (bool) true ; |
5eb8189c | 4910 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4911 | void *argp1 = 0 ; |
4912 | int res1 = 0 ; | |
4913 | bool val2 ; | |
4914 | int ecode2 = 0 ; | |
4915 | PyObject * obj0 = 0 ; | |
4916 | PyObject * obj1 = 0 ; | |
4917 | char * kwnames[] = { | |
4918 | (char *) "self",(char *) "resizable", NULL | |
4919 | }; | |
4920 | ||
5eb8189c RD |
4921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4923 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4925 | } |
5eb8189c | 4926 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4927 | if (obj1) { |
4928 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4929 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4930 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4931 | } |
4932 | arg2 = static_cast< bool >(val2); | |
4933 | } | |
4934 | { | |
4935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4936 | { | |
5eb8189c RD |
4937 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4938 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4939 | } |
4940 | wxPyEndAllowThreads(__tstate); | |
4941 | if (PyErr_Occurred()) SWIG_fail; | |
4942 | } | |
4943 | { | |
4944 | resultobj = obj0; Py_INCREF(resultobj); | |
4945 | } | |
4946 | return resultobj; | |
4947 | fail: | |
4948 | return NULL; | |
4949 | } | |
4950 | ||
4951 | ||
5eb8189c | 4952 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4953 | PyObject *resultobj = 0; |
5eb8189c RD |
4954 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4955 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4956 | void *argp1 = 0 ; |
4957 | int res1 = 0 ; | |
4958 | PyObject *swig_obj[1] ; | |
4959 | ||
4960 | if (!args) SWIG_fail; | |
4961 | swig_obj[0] = args; | |
5eb8189c | 4962 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4963 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4965 | } |
5eb8189c | 4966 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4967 | { |
4968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4969 | { | |
5eb8189c RD |
4970 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4971 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4972 | } |
4973 | wxPyEndAllowThreads(__tstate); | |
4974 | if (PyErr_Occurred()) SWIG_fail; | |
4975 | } | |
4976 | { | |
4977 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4978 | } | |
4979 | return resultobj; | |
4980 | fail: | |
4981 | return NULL; | |
4982 | } | |
4983 | ||
4984 | ||
5eb8189c | 4985 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4986 | PyObject *resultobj = 0; |
5eb8189c RD |
4987 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4988 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4989 | void *argp1 = 0 ; |
4990 | int res1 = 0 ; | |
4991 | PyObject *swig_obj[1] ; | |
4992 | ||
4993 | if (!args) SWIG_fail; | |
4994 | swig_obj[0] = args; | |
5eb8189c | 4995 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4996 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4998 | } |
5eb8189c | 4999 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5000 | { |
5001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5002 | { | |
5eb8189c RD |
5003 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
5004 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5005 | } |
5006 | wxPyEndAllowThreads(__tstate); | |
5007 | if (PyErr_Occurred()) SWIG_fail; | |
5008 | } | |
5009 | { | |
5010 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5011 | } | |
5012 | return resultobj; | |
5013 | fail: | |
5014 | return NULL; | |
5015 | } | |
5016 | ||
5017 | ||
5eb8189c | 5018 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5019 | PyObject *resultobj = 0; |
5eb8189c RD |
5020 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5021 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5022 | void *argp1 = 0 ; |
5023 | int res1 = 0 ; | |
5024 | PyObject *swig_obj[1] ; | |
5025 | ||
5026 | if (!args) SWIG_fail; | |
5027 | swig_obj[0] = args; | |
5eb8189c | 5028 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5029 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5030 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5031 | } |
5eb8189c | 5032 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5033 | { |
5034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5035 | { | |
5eb8189c RD |
5036 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5037 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5038 | } |
5039 | wxPyEndAllowThreads(__tstate); | |
5040 | if (PyErr_Occurred()) SWIG_fail; | |
5041 | } | |
5042 | { | |
5043 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5044 | } | |
5045 | return resultobj; | |
5046 | fail: | |
5047 | return NULL; | |
5048 | } | |
5049 | ||
5050 | ||
5eb8189c | 5051 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5052 | PyObject *resultobj = 0; |
5eb8189c | 5053 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5054 | bool arg2 = (bool) true ; |
5eb8189c | 5055 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5056 | void *argp1 = 0 ; |
5057 | int res1 = 0 ; | |
5058 | bool val2 ; | |
5059 | int ecode2 = 0 ; | |
5060 | PyObject * obj0 = 0 ; | |
5061 | PyObject * obj1 = 0 ; | |
5062 | char * kwnames[] = { | |
5063 | (char *) "self",(char *) "show", NULL | |
5064 | }; | |
5065 | ||
5eb8189c RD |
5066 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5067 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5068 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5069 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5070 | } |
5eb8189c | 5071 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5072 | if (obj1) { |
5073 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5074 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5075 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5076 | } |
5077 | arg2 = static_cast< bool >(val2); | |
5078 | } | |
5079 | { | |
5080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5081 | { | |
5eb8189c RD |
5082 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5083 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5084 | } |
5085 | wxPyEndAllowThreads(__tstate); | |
5086 | if (PyErr_Occurred()) SWIG_fail; | |
5087 | } | |
5088 | { | |
5089 | resultobj = obj0; Py_INCREF(resultobj); | |
5090 | } | |
5091 | return resultobj; | |
5092 | fail: | |
5093 | return NULL; | |
5094 | } | |
5095 | ||
5096 | ||
5eb8189c | 5097 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5098 | PyObject *resultobj = 0; |
5eb8189c | 5099 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5100 | bool arg2 = (bool) true ; |
5eb8189c | 5101 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5102 | void *argp1 = 0 ; |
5103 | int res1 = 0 ; | |
5104 | bool val2 ; | |
5105 | int ecode2 = 0 ; | |
5106 | PyObject * obj0 = 0 ; | |
5107 | PyObject * obj1 = 0 ; | |
5108 | char * kwnames[] = { | |
5109 | (char *) "self",(char *) "visible", NULL | |
5110 | }; | |
5111 | ||
5eb8189c RD |
5112 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5113 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5114 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5115 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5116 | } |
5eb8189c | 5117 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5118 | if (obj1) { |
5119 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5120 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5121 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5122 | } |
5123 | arg2 = static_cast< bool >(val2); | |
5124 | } | |
5125 | { | |
5126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5127 | { | |
5eb8189c RD |
5128 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5129 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5130 | } |
5131 | wxPyEndAllowThreads(__tstate); | |
5132 | if (PyErr_Occurred()) SWIG_fail; | |
5133 | } | |
5134 | { | |
5135 | resultobj = obj0; Py_INCREF(resultobj); | |
5136 | } | |
5137 | return resultobj; | |
5138 | fail: | |
5139 | return NULL; | |
5140 | } | |
5141 | ||
5142 | ||
5eb8189c | 5143 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5144 | PyObject *resultobj = 0; |
5eb8189c RD |
5145 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5146 | wxAuiPaneInfo *result = 0 ; | |
5147 | void *argp1 = 0 ; | |
5148 | int res1 = 0 ; | |
5149 | PyObject *swig_obj[1] ; | |
5150 | ||
5151 | if (!args) SWIG_fail; | |
5152 | swig_obj[0] = args; | |
5153 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5154 | if (!SWIG_IsOK(res1)) { | |
5155 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5156 | } | |
5157 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5158 | { | |
5159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5160 | { | |
5161 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5162 | result = (wxAuiPaneInfo *) &_result_ref; | |
5163 | } | |
5164 | wxPyEndAllowThreads(__tstate); | |
5165 | if (PyErr_Occurred()) SWIG_fail; | |
5166 | } | |
5167 | { | |
5168 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5169 | } | |
5170 | return resultobj; | |
5171 | fail: | |
5172 | return NULL; | |
5173 | } | |
5174 | ||
5175 | ||
5176 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5177 | PyObject *resultobj = 0; | |
5178 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5179 | wxAuiPaneInfo *result = 0 ; | |
5180 | void *argp1 = 0 ; | |
5181 | int res1 = 0 ; | |
5182 | PyObject *swig_obj[1] ; | |
5183 | ||
5184 | if (!args) SWIG_fail; | |
5185 | swig_obj[0] = args; | |
5186 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5187 | if (!SWIG_IsOK(res1)) { | |
5188 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5189 | } | |
5190 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5191 | { | |
5192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5193 | { | |
5194 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5195 | result = (wxAuiPaneInfo *) &_result_ref; | |
5196 | } | |
5197 | wxPyEndAllowThreads(__tstate); | |
5198 | if (PyErr_Occurred()) SWIG_fail; | |
5199 | } | |
5200 | { | |
5201 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5202 | } | |
5203 | return resultobj; | |
5204 | fail: | |
5205 | return NULL; | |
5206 | } | |
5207 | ||
5208 | ||
5209 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5210 | PyObject *resultobj = 0; | |
5211 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5212 | bool arg2 = (bool) true ; |
5eb8189c | 5213 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5214 | void *argp1 = 0 ; |
5215 | int res1 = 0 ; | |
5216 | bool val2 ; | |
5217 | int ecode2 = 0 ; | |
5218 | PyObject * obj0 = 0 ; | |
5219 | PyObject * obj1 = 0 ; | |
5220 | char * kwnames[] = { | |
5221 | (char *) "self",(char *) "visible", NULL | |
5222 | }; | |
5223 | ||
5eb8189c RD |
5224 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5225 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5226 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5228 | } |
5eb8189c | 5229 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5230 | if (obj1) { |
5231 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5232 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5233 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5234 | } |
5235 | arg2 = static_cast< bool >(val2); | |
5236 | } | |
5237 | { | |
5238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5239 | { | |
5eb8189c RD |
5240 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5241 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5242 | } |
5243 | wxPyEndAllowThreads(__tstate); | |
5244 | if (PyErr_Occurred()) SWIG_fail; | |
5245 | } | |
5246 | { | |
5247 | resultobj = obj0; Py_INCREF(resultobj); | |
5248 | } | |
5249 | return resultobj; | |
5250 | fail: | |
5251 | return NULL; | |
5252 | } | |
5253 | ||
5254 | ||
5eb8189c | 5255 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5256 | PyObject *resultobj = 0; |
5eb8189c | 5257 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5258 | bool arg2 = (bool) true ; |
5eb8189c | 5259 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5260 | void *argp1 = 0 ; |
5261 | int res1 = 0 ; | |
5262 | bool val2 ; | |
5263 | int ecode2 = 0 ; | |
5264 | PyObject * obj0 = 0 ; | |
5265 | PyObject * obj1 = 0 ; | |
5266 | char * kwnames[] = { | |
5267 | (char *) "self",(char *) "visible", NULL | |
5268 | }; | |
5269 | ||
5eb8189c RD |
5270 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5271 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5272 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5274 | } |
5eb8189c | 5275 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5276 | if (obj1) { |
5277 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5278 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5279 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5280 | } |
5281 | arg2 = static_cast< bool >(val2); | |
5282 | } | |
5283 | { | |
5284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5285 | { | |
5eb8189c RD |
5286 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5287 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5288 | } |
5289 | wxPyEndAllowThreads(__tstate); | |
5290 | if (PyErr_Occurred()) SWIG_fail; | |
5291 | } | |
5292 | { | |
5293 | resultobj = obj0; Py_INCREF(resultobj); | |
5294 | } | |
5295 | return resultobj; | |
5296 | fail: | |
5297 | return NULL; | |
5298 | } | |
5299 | ||
5300 | ||
5eb8189c | 5301 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5302 | PyObject *resultobj = 0; |
5eb8189c | 5303 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5304 | bool arg2 = (bool) true ; |
5eb8189c | 5305 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5306 | void *argp1 = 0 ; |
5307 | int res1 = 0 ; | |
5308 | bool val2 ; | |
5309 | int ecode2 = 0 ; | |
5310 | PyObject * obj0 = 0 ; | |
5311 | PyObject * obj1 = 0 ; | |
5312 | char * kwnames[] = { | |
5313 | (char *) "self",(char *) "attop", NULL | |
5314 | }; | |
5315 | ||
5eb8189c RD |
5316 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5317 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5318 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5319 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5320 | } |
5eb8189c | 5321 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5322 | if (obj1) { |
5323 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5324 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5325 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5326 | } |
5327 | arg2 = static_cast< bool >(val2); | |
5328 | } | |
5329 | { | |
5330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5331 | { | |
5eb8189c RD |
5332 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5333 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5334 | } |
5335 | wxPyEndAllowThreads(__tstate); | |
5336 | if (PyErr_Occurred()) SWIG_fail; | |
5337 | } | |
5338 | { | |
5339 | resultobj = obj0; Py_INCREF(resultobj); | |
5340 | } | |
5341 | return resultobj; | |
5342 | fail: | |
5343 | return NULL; | |
5344 | } | |
5345 | ||
5346 | ||
5eb8189c | 5347 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5348 | PyObject *resultobj = 0; |
5eb8189c | 5349 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5350 | bool arg2 = (bool) true ; |
5eb8189c | 5351 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5352 | void *argp1 = 0 ; |
5353 | int res1 = 0 ; | |
5354 | bool val2 ; | |
5355 | int ecode2 = 0 ; | |
5356 | PyObject * obj0 = 0 ; | |
5357 | PyObject * obj1 = 0 ; | |
5358 | char * kwnames[] = { | |
5359 | (char *) "self",(char *) "visible", NULL | |
5360 | }; | |
5361 | ||
5eb8189c RD |
5362 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5363 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5364 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5365 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5366 | } |
5eb8189c | 5367 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5368 | if (obj1) { |
5369 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5370 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5371 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5372 | } |
5373 | arg2 = static_cast< bool >(val2); | |
5374 | } | |
5375 | { | |
5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5377 | { | |
5eb8189c RD |
5378 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5379 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5380 | } |
5381 | wxPyEndAllowThreads(__tstate); | |
5382 | if (PyErr_Occurred()) SWIG_fail; | |
5383 | } | |
5384 | { | |
5385 | resultobj = obj0; Py_INCREF(resultobj); | |
5386 | } | |
5387 | return resultobj; | |
5388 | fail: | |
5389 | return NULL; | |
5390 | } | |
5391 | ||
5392 | ||
5eb8189c | 5393 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5394 | PyObject *resultobj = 0; |
5eb8189c | 5395 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5396 | bool arg2 = (bool) true ; |
5eb8189c | 5397 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5398 | void *argp1 = 0 ; |
5399 | int res1 = 0 ; | |
5400 | bool val2 ; | |
5401 | int ecode2 = 0 ; | |
5402 | PyObject * obj0 = 0 ; | |
5403 | PyObject * obj1 = 0 ; | |
5404 | char * kwnames[] = { | |
5405 | (char *) "self",(char *) "visible", NULL | |
5406 | }; | |
5407 | ||
5eb8189c RD |
5408 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5409 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5410 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5412 | } |
5eb8189c | 5413 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5414 | if (obj1) { |
5415 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5416 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5417 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5418 | } |
5419 | arg2 = static_cast< bool >(val2); | |
5420 | } | |
5421 | { | |
5422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5423 | { | |
5eb8189c RD |
5424 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5425 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5426 | } |
5427 | wxPyEndAllowThreads(__tstate); | |
5428 | if (PyErr_Occurred()) SWIG_fail; | |
5429 | } | |
5430 | { | |
5431 | resultobj = obj0; Py_INCREF(resultobj); | |
5432 | } | |
5433 | return resultobj; | |
5434 | fail: | |
5435 | return NULL; | |
5436 | } | |
5437 | ||
5438 | ||
5eb8189c | 5439 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5440 | PyObject *resultobj = 0; |
5eb8189c | 5441 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5442 | bool arg2 = (bool) true ; |
5eb8189c | 5443 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5444 | void *argp1 = 0 ; |
5445 | int res1 = 0 ; | |
5446 | bool val2 ; | |
5447 | int ecode2 = 0 ; | |
5448 | PyObject * obj0 = 0 ; | |
5449 | PyObject * obj1 = 0 ; | |
5450 | char * kwnames[] = { | |
5451 | (char *) "self",(char *) "visible", NULL | |
5452 | }; | |
5453 | ||
5eb8189c RD |
5454 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5455 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5456 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5457 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5458 | } |
5eb8189c | 5459 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5460 | if (obj1) { |
5461 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5462 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5463 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5464 | } |
5465 | arg2 = static_cast< bool >(val2); | |
5466 | } | |
5467 | { | |
5468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5469 | { | |
5eb8189c RD |
5470 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5471 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5472 | } |
5473 | wxPyEndAllowThreads(__tstate); | |
5474 | if (PyErr_Occurred()) SWIG_fail; | |
5475 | } | |
5476 | { | |
5477 | resultobj = obj0; Py_INCREF(resultobj); | |
5478 | } | |
5479 | return resultobj; | |
5480 | fail: | |
5481 | return NULL; | |
5482 | } | |
5483 | ||
5484 | ||
5eb8189c | 5485 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5486 | PyObject *resultobj = 0; |
5eb8189c | 5487 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5488 | bool arg2 = (bool) true ; |
5eb8189c | 5489 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5490 | void *argp1 = 0 ; |
5491 | int res1 = 0 ; | |
5492 | bool val2 ; | |
5493 | int ecode2 = 0 ; | |
5494 | PyObject * obj0 = 0 ; | |
5495 | PyObject * obj1 = 0 ; | |
5496 | char * kwnames[] = { | |
5497 | (char *) "self",(char *) "visible", NULL | |
5498 | }; | |
5499 | ||
5eb8189c RD |
5500 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5501 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5502 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5503 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5504 | } |
5eb8189c | 5505 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5506 | if (obj1) { |
5507 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5508 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5509 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5510 | } |
5511 | arg2 = static_cast< bool >(val2); | |
5512 | } | |
5513 | { | |
5514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5515 | { | |
5eb8189c RD |
5516 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5517 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5518 | } |
5519 | wxPyEndAllowThreads(__tstate); | |
5520 | if (PyErr_Occurred()) SWIG_fail; | |
5521 | } | |
5522 | { | |
5523 | resultobj = obj0; Py_INCREF(resultobj); | |
5524 | } | |
5525 | return resultobj; | |
5526 | fail: | |
5527 | return NULL; | |
5528 | } | |
5529 | ||
5530 | ||
5eb8189c | 5531 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5532 | PyObject *resultobj = 0; |
5eb8189c | 5533 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5534 | bool arg2 = (bool) true ; |
5eb8189c | 5535 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5536 | void *argp1 = 0 ; |
5537 | int res1 = 0 ; | |
5538 | bool val2 ; | |
5539 | int ecode2 = 0 ; | |
5540 | PyObject * obj0 = 0 ; | |
5541 | PyObject * obj1 = 0 ; | |
5542 | char * kwnames[] = { | |
5543 | (char *) "self",(char *) "b", NULL | |
5544 | }; | |
5545 | ||
5eb8189c RD |
5546 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5547 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5548 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5549 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5550 | } |
5eb8189c | 5551 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5552 | if (obj1) { |
5553 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5554 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5555 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5556 | } |
5557 | arg2 = static_cast< bool >(val2); | |
5558 | } | |
5559 | { | |
5560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5561 | { | |
5eb8189c RD |
5562 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5563 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5564 | } |
5565 | wxPyEndAllowThreads(__tstate); | |
5566 | if (PyErr_Occurred()) SWIG_fail; | |
5567 | } | |
5568 | { | |
5569 | resultobj = obj0; Py_INCREF(resultobj); | |
5570 | } | |
5571 | return resultobj; | |
5572 | fail: | |
5573 | return NULL; | |
5574 | } | |
5575 | ||
5576 | ||
5eb8189c | 5577 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5578 | PyObject *resultobj = 0; |
5eb8189c | 5579 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5580 | bool arg2 = (bool) true ; |
5eb8189c | 5581 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5582 | void *argp1 = 0 ; |
5583 | int res1 = 0 ; | |
5584 | bool val2 ; | |
5585 | int ecode2 = 0 ; | |
5586 | PyObject * obj0 = 0 ; | |
5587 | PyObject * obj1 = 0 ; | |
5588 | char * kwnames[] = { | |
5589 | (char *) "self",(char *) "b", NULL | |
5590 | }; | |
5591 | ||
5eb8189c RD |
5592 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5593 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5594 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5595 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5596 | } |
5eb8189c | 5597 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5598 | if (obj1) { |
5599 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5600 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5601 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5602 | } |
5603 | arg2 = static_cast< bool >(val2); | |
5604 | } | |
5605 | { | |
5606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5607 | { | |
5eb8189c RD |
5608 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5609 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5610 | } |
5611 | wxPyEndAllowThreads(__tstate); | |
5612 | if (PyErr_Occurred()) SWIG_fail; | |
5613 | } | |
5614 | { | |
5615 | resultobj = obj0; Py_INCREF(resultobj); | |
5616 | } | |
5617 | return resultobj; | |
5618 | fail: | |
5619 | return NULL; | |
5620 | } | |
5621 | ||
5622 | ||
5eb8189c | 5623 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5624 | PyObject *resultobj = 0; |
5eb8189c | 5625 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5626 | bool arg2 = (bool) true ; |
5eb8189c | 5627 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5628 | void *argp1 = 0 ; |
5629 | int res1 = 0 ; | |
5630 | bool val2 ; | |
5631 | int ecode2 = 0 ; | |
5632 | PyObject * obj0 = 0 ; | |
5633 | PyObject * obj1 = 0 ; | |
5634 | char * kwnames[] = { | |
5635 | (char *) "self",(char *) "b", NULL | |
5636 | }; | |
5637 | ||
5eb8189c RD |
5638 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5639 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5640 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5641 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5642 | } |
5eb8189c | 5643 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5644 | if (obj1) { |
5645 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5646 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5647 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5648 | } |
5649 | arg2 = static_cast< bool >(val2); | |
5650 | } | |
5651 | { | |
5652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5653 | { | |
5eb8189c RD |
5654 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5655 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5656 | } |
5657 | wxPyEndAllowThreads(__tstate); | |
5658 | if (PyErr_Occurred()) SWIG_fail; | |
5659 | } | |
5660 | { | |
5661 | resultobj = obj0; Py_INCREF(resultobj); | |
5662 | } | |
5663 | return resultobj; | |
5664 | fail: | |
5665 | return NULL; | |
5666 | } | |
5667 | ||
5668 | ||
5eb8189c | 5669 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5670 | PyObject *resultobj = 0; |
5eb8189c | 5671 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5672 | bool arg2 = (bool) true ; |
5eb8189c | 5673 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5674 | void *argp1 = 0 ; |
5675 | int res1 = 0 ; | |
5676 | bool val2 ; | |
5677 | int ecode2 = 0 ; | |
5678 | PyObject * obj0 = 0 ; | |
5679 | PyObject * obj1 = 0 ; | |
5680 | char * kwnames[] = { | |
5681 | (char *) "self",(char *) "b", NULL | |
5682 | }; | |
5683 | ||
5eb8189c RD |
5684 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5685 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5686 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5688 | } |
5eb8189c | 5689 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5690 | if (obj1) { |
5691 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5692 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5693 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5694 | } |
5695 | arg2 = static_cast< bool >(val2); | |
5696 | } | |
5697 | { | |
5698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5699 | { | |
5eb8189c RD |
5700 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5701 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5702 | } |
5703 | wxPyEndAllowThreads(__tstate); | |
5704 | if (PyErr_Occurred()) SWIG_fail; | |
5705 | } | |
5706 | { | |
5707 | resultobj = obj0; Py_INCREF(resultobj); | |
5708 | } | |
5709 | return resultobj; | |
5710 | fail: | |
5711 | return NULL; | |
5712 | } | |
5713 | ||
5714 | ||
5eb8189c | 5715 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5716 | PyObject *resultobj = 0; |
5eb8189c | 5717 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5718 | bool arg2 = (bool) true ; |
5eb8189c | 5719 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5720 | void *argp1 = 0 ; |
5721 | int res1 = 0 ; | |
5722 | bool val2 ; | |
5723 | int ecode2 = 0 ; | |
5724 | PyObject * obj0 = 0 ; | |
5725 | PyObject * obj1 = 0 ; | |
5726 | char * kwnames[] = { | |
5727 | (char *) "self",(char *) "b", NULL | |
5728 | }; | |
5729 | ||
5eb8189c RD |
5730 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5731 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5732 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5734 | } |
5eb8189c | 5735 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5736 | if (obj1) { |
5737 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5738 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5739 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5740 | } |
5741 | arg2 = static_cast< bool >(val2); | |
5742 | } | |
5743 | { | |
5744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5745 | { | |
5eb8189c RD |
5746 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5747 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5748 | } |
5749 | wxPyEndAllowThreads(__tstate); | |
5750 | if (PyErr_Occurred()) SWIG_fail; | |
5751 | } | |
5752 | { | |
5753 | resultobj = obj0; Py_INCREF(resultobj); | |
5754 | } | |
5755 | return resultobj; | |
5756 | fail: | |
5757 | return NULL; | |
5758 | } | |
5759 | ||
5760 | ||
5eb8189c | 5761 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5762 | PyObject *resultobj = 0; |
5eb8189c | 5763 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5764 | bool arg2 = (bool) true ; |
5eb8189c | 5765 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5766 | void *argp1 = 0 ; |
5767 | int res1 = 0 ; | |
5768 | bool val2 ; | |
5769 | int ecode2 = 0 ; | |
5770 | PyObject * obj0 = 0 ; | |
5771 | PyObject * obj1 = 0 ; | |
5772 | char * kwnames[] = { | |
5773 | (char *) "self",(char *) "b", NULL | |
5774 | }; | |
5775 | ||
5eb8189c RD |
5776 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5777 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5778 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5779 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5780 | } |
5eb8189c | 5781 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5782 | if (obj1) { |
5783 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5784 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5785 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5786 | } |
5787 | arg2 = static_cast< bool >(val2); | |
5788 | } | |
5789 | { | |
5790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5791 | { | |
5eb8189c RD |
5792 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5793 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5794 | } |
5795 | wxPyEndAllowThreads(__tstate); | |
5796 | if (PyErr_Occurred()) SWIG_fail; | |
5797 | } | |
5798 | { | |
5799 | resultobj = obj0; Py_INCREF(resultobj); | |
5800 | } | |
5801 | return resultobj; | |
5802 | fail: | |
5803 | return NULL; | |
5804 | } | |
5805 | ||
5806 | ||
5eb8189c | 5807 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5808 | PyObject *resultobj = 0; |
5eb8189c | 5809 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5810 | bool arg2 = (bool) true ; |
5eb8189c | 5811 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5812 | void *argp1 = 0 ; |
5813 | int res1 = 0 ; | |
5814 | bool val2 ; | |
5815 | int ecode2 = 0 ; | |
5816 | PyObject * obj0 = 0 ; | |
5817 | PyObject * obj1 = 0 ; | |
5818 | char * kwnames[] = { | |
5819 | (char *) "self",(char *) "b", NULL | |
5820 | }; | |
5821 | ||
5eb8189c RD |
5822 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5823 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5824 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5826 | } |
5eb8189c | 5827 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5828 | if (obj1) { |
5829 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5830 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5831 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5832 | } |
5833 | arg2 = static_cast< bool >(val2); | |
5834 | } | |
5835 | { | |
5836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5837 | { | |
5eb8189c RD |
5838 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5839 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5840 | } |
5841 | wxPyEndAllowThreads(__tstate); | |
5842 | if (PyErr_Occurred()) SWIG_fail; | |
5843 | } | |
5844 | { | |
5845 | resultobj = obj0; Py_INCREF(resultobj); | |
5846 | } | |
5847 | return resultobj; | |
5848 | fail: | |
5849 | return NULL; | |
5850 | } | |
5851 | ||
5852 | ||
5eb8189c RD |
5853 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5854 | PyObject *resultobj = 0; | |
5855 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5856 | bool arg2 = (bool) true ; |
5eb8189c | 5857 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5858 | void *argp1 = 0 ; |
5859 | int res1 = 0 ; | |
5860 | bool val2 ; | |
5861 | int ecode2 = 0 ; | |
5862 | PyObject * obj0 = 0 ; | |
5863 | PyObject * obj1 = 0 ; | |
5864 | char * kwnames[] = { | |
5865 | (char *) "self",(char *) "b", NULL | |
5866 | }; | |
5867 | ||
5eb8189c RD |
5868 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5869 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5870 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5871 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5872 | } |
5eb8189c | 5873 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5874 | if (obj1) { |
5875 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5876 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5877 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5878 | } |
5879 | arg2 = static_cast< bool >(val2); | |
5880 | } | |
5881 | { | |
5882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5883 | { | |
5eb8189c RD |
5884 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5885 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5886 | } |
5887 | wxPyEndAllowThreads(__tstate); | |
5888 | if (PyErr_Occurred()) SWIG_fail; | |
5889 | } | |
5890 | { | |
5891 | resultobj = obj0; Py_INCREF(resultobj); | |
5892 | } | |
5893 | return resultobj; | |
5894 | fail: | |
5895 | return NULL; | |
5896 | } | |
5897 | ||
5898 | ||
5eb8189c | 5899 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5900 | PyObject *resultobj = 0; |
5eb8189c RD |
5901 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5902 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5903 | void *argp1 = 0 ; |
5904 | int res1 = 0 ; | |
5905 | PyObject *swig_obj[1] ; | |
5906 | ||
5907 | if (!args) SWIG_fail; | |
5908 | swig_obj[0] = args; | |
5eb8189c | 5909 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5910 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5912 | } |
5eb8189c | 5913 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5914 | { |
5915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5916 | { | |
5eb8189c RD |
5917 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5918 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5919 | } |
5920 | wxPyEndAllowThreads(__tstate); | |
5921 | if (PyErr_Occurred()) SWIG_fail; | |
5922 | } | |
5923 | { | |
5924 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5925 | } | |
5926 | return resultobj; | |
5927 | fail: | |
5928 | return NULL; | |
5929 | } | |
5930 | ||
5931 | ||
5eb8189c | 5932 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5933 | PyObject *resultobj = 0; |
5eb8189c RD |
5934 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5935 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5936 | void *argp1 = 0 ; |
5937 | int res1 = 0 ; | |
5938 | PyObject *swig_obj[1] ; | |
5939 | ||
5940 | if (!args) SWIG_fail; | |
5941 | swig_obj[0] = args; | |
5eb8189c | 5942 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5943 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5945 | } |
5eb8189c | 5946 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5947 | { |
5948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5949 | { | |
5eb8189c RD |
5950 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5951 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5952 | } |
5953 | wxPyEndAllowThreads(__tstate); | |
5954 | if (PyErr_Occurred()) SWIG_fail; | |
5955 | } | |
5956 | { | |
5957 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5958 | } | |
5959 | return resultobj; | |
5960 | fail: | |
5961 | return NULL; | |
5962 | } | |
5963 | ||
5964 | ||
5eb8189c | 5965 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5966 | PyObject *resultobj = 0; |
5eb8189c RD |
5967 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5968 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5969 | void *argp1 = 0 ; |
5970 | int res1 = 0 ; | |
5971 | PyObject *swig_obj[1] ; | |
5972 | ||
5973 | if (!args) SWIG_fail; | |
5974 | swig_obj[0] = args; | |
5eb8189c | 5975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5976 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5978 | } |
5eb8189c | 5979 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5980 | { |
5981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5982 | { | |
5eb8189c RD |
5983 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
5984 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5985 | } |
5986 | wxPyEndAllowThreads(__tstate); | |
5987 | if (PyErr_Occurred()) SWIG_fail; | |
5988 | } | |
5989 | { | |
5990 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5991 | } | |
5992 | return resultobj; | |
5993 | fail: | |
5994 | return NULL; | |
5995 | } | |
5996 | ||
5997 | ||
5eb8189c | 5998 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5999 | PyObject *resultobj = 0; |
5eb8189c RD |
6000 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6001 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6002 | void *argp1 = 0 ; |
6003 | int res1 = 0 ; | |
6004 | PyObject *swig_obj[1] ; | |
6005 | ||
6006 | if (!args) SWIG_fail; | |
6007 | swig_obj[0] = args; | |
5eb8189c | 6008 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6009 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6010 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6011 | } |
5eb8189c | 6012 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6013 | { |
6014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6015 | { | |
5eb8189c RD |
6016 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6017 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6018 | } |
6019 | wxPyEndAllowThreads(__tstate); | |
6020 | if (PyErr_Occurred()) SWIG_fail; | |
6021 | } | |
6022 | { | |
6023 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6024 | } | |
6025 | return resultobj; | |
6026 | fail: | |
6027 | return NULL; | |
6028 | } | |
6029 | ||
6030 | ||
5eb8189c | 6031 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6032 | PyObject *resultobj = 0; |
5eb8189c | 6033 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6034 | int arg2 ; |
6035 | bool arg3 ; | |
5eb8189c | 6036 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6037 | void *argp1 = 0 ; |
6038 | int res1 = 0 ; | |
6039 | int val2 ; | |
6040 | int ecode2 = 0 ; | |
6041 | bool val3 ; | |
6042 | int ecode3 = 0 ; | |
6043 | PyObject * obj0 = 0 ; | |
6044 | PyObject * obj1 = 0 ; | |
6045 | PyObject * obj2 = 0 ; | |
6046 | char * kwnames[] = { | |
6047 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6048 | }; | |
6049 | ||
5eb8189c RD |
6050 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6051 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6052 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6054 | } |
5eb8189c | 6055 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6056 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6057 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6058 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6059 | } |
6060 | arg2 = static_cast< int >(val2); | |
6061 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6062 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6063 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6064 | } |
6065 | arg3 = static_cast< bool >(val3); | |
6066 | { | |
6067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6068 | { | |
5eb8189c RD |
6069 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6070 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6071 | } |
6072 | wxPyEndAllowThreads(__tstate); | |
6073 | if (PyErr_Occurred()) SWIG_fail; | |
6074 | } | |
6075 | { | |
6076 | resultobj = obj0; Py_INCREF(resultobj); | |
6077 | } | |
6078 | return resultobj; | |
6079 | fail: | |
6080 | return NULL; | |
6081 | } | |
6082 | ||
6083 | ||
5eb8189c | 6084 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6085 | PyObject *resultobj = 0; |
5eb8189c | 6086 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6087 | int arg2 ; |
6088 | bool result; | |
6089 | void *argp1 = 0 ; | |
6090 | int res1 = 0 ; | |
6091 | int val2 ; | |
6092 | int ecode2 = 0 ; | |
6093 | PyObject * obj0 = 0 ; | |
6094 | PyObject * obj1 = 0 ; | |
6095 | char * kwnames[] = { | |
6096 | (char *) "self",(char *) "flag", NULL | |
6097 | }; | |
6098 | ||
5eb8189c RD |
6099 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6100 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6101 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6102 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6103 | } |
5eb8189c | 6104 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6105 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6106 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6107 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6108 | } |
6109 | arg2 = static_cast< int >(val2); | |
6110 | { | |
6111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6112 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6113 | wxPyEndAllowThreads(__tstate); |
6114 | if (PyErr_Occurred()) SWIG_fail; | |
6115 | } | |
6116 | { | |
6117 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6118 | } | |
6119 | return resultobj; | |
6120 | fail: | |
6121 | return NULL; | |
6122 | } | |
6123 | ||
6124 | ||
5eb8189c | 6125 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6126 | PyObject *resultobj = 0; |
5eb8189c | 6127 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6128 | wxString *arg2 = (wxString *) 0 ; |
6129 | void *argp1 = 0 ; | |
6130 | int res1 = 0 ; | |
6131 | bool temp2 = false ; | |
6132 | PyObject *swig_obj[2] ; | |
6133 | ||
5eb8189c RD |
6134 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6135 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6136 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6138 | } |
5eb8189c | 6139 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6140 | { |
6141 | arg2 = wxString_in_helper(swig_obj[1]); | |
6142 | if (arg2 == NULL) SWIG_fail; | |
6143 | temp2 = true; | |
6144 | } | |
6145 | if (arg1) (arg1)->name = *arg2; | |
6146 | ||
6147 | resultobj = SWIG_Py_Void(); | |
6148 | { | |
6149 | if (temp2) | |
6150 | delete arg2; | |
6151 | } | |
6152 | return resultobj; | |
6153 | fail: | |
6154 | { | |
6155 | if (temp2) | |
6156 | delete arg2; | |
6157 | } | |
6158 | return NULL; | |
6159 | } | |
6160 | ||
6161 | ||
5eb8189c | 6162 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6163 | PyObject *resultobj = 0; |
5eb8189c | 6164 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6165 | wxString *result = 0 ; |
6166 | void *argp1 = 0 ; | |
6167 | int res1 = 0 ; | |
6168 | PyObject *swig_obj[1] ; | |
6169 | ||
6170 | if (!args) SWIG_fail; | |
6171 | swig_obj[0] = args; | |
5eb8189c | 6172 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6173 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6174 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6175 | } |
5eb8189c | 6176 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6177 | result = (wxString *)& ((arg1)->name); |
6178 | { | |
6179 | #if wxUSE_UNICODE | |
6180 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6181 | #else | |
6182 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6183 | #endif | |
6184 | } | |
6185 | return resultobj; | |
6186 | fail: | |
6187 | return NULL; | |
6188 | } | |
6189 | ||
6190 | ||
5eb8189c | 6191 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6192 | PyObject *resultobj = 0; |
5eb8189c | 6193 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6194 | wxString *arg2 = (wxString *) 0 ; |
6195 | void *argp1 = 0 ; | |
6196 | int res1 = 0 ; | |
6197 | bool temp2 = false ; | |
6198 | PyObject *swig_obj[2] ; | |
6199 | ||
5eb8189c RD |
6200 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6201 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6202 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6203 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6204 | } |
5eb8189c | 6205 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6206 | { |
6207 | arg2 = wxString_in_helper(swig_obj[1]); | |
6208 | if (arg2 == NULL) SWIG_fail; | |
6209 | temp2 = true; | |
6210 | } | |
6211 | if (arg1) (arg1)->caption = *arg2; | |
6212 | ||
6213 | resultobj = SWIG_Py_Void(); | |
6214 | { | |
6215 | if (temp2) | |
6216 | delete arg2; | |
6217 | } | |
6218 | return resultobj; | |
6219 | fail: | |
6220 | { | |
6221 | if (temp2) | |
6222 | delete arg2; | |
6223 | } | |
6224 | return NULL; | |
6225 | } | |
6226 | ||
6227 | ||
5eb8189c | 6228 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6229 | PyObject *resultobj = 0; |
5eb8189c | 6230 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6231 | wxString *result = 0 ; |
6232 | void *argp1 = 0 ; | |
6233 | int res1 = 0 ; | |
6234 | PyObject *swig_obj[1] ; | |
6235 | ||
6236 | if (!args) SWIG_fail; | |
6237 | swig_obj[0] = args; | |
5eb8189c | 6238 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6239 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6240 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6241 | } |
5eb8189c | 6242 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6243 | result = (wxString *)& ((arg1)->caption); |
6244 | { | |
6245 | #if wxUSE_UNICODE | |
6246 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6247 | #else | |
6248 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6249 | #endif | |
6250 | } | |
6251 | return resultobj; | |
6252 | fail: | |
6253 | return NULL; | |
6254 | } | |
6255 | ||
6256 | ||
5eb8189c | 6257 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6258 | PyObject *resultobj = 0; |
5eb8189c | 6259 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6260 | wxWindow *arg2 = (wxWindow *) 0 ; |
6261 | void *argp1 = 0 ; | |
6262 | int res1 = 0 ; | |
6263 | void *argp2 = 0 ; | |
6264 | int res2 = 0 ; | |
6265 | PyObject *swig_obj[2] ; | |
6266 | ||
5eb8189c RD |
6267 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6268 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6269 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6270 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6271 | } |
5eb8189c | 6272 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6273 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6274 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6275 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6276 | } |
6277 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6278 | if (arg1) (arg1)->window = arg2; | |
6279 | ||
6280 | resultobj = SWIG_Py_Void(); | |
6281 | return resultobj; | |
6282 | fail: | |
6283 | return NULL; | |
6284 | } | |
6285 | ||
6286 | ||
5eb8189c | 6287 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6288 | PyObject *resultobj = 0; |
5eb8189c | 6289 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6290 | wxWindow *result = 0 ; |
6291 | void *argp1 = 0 ; | |
6292 | int res1 = 0 ; | |
6293 | PyObject *swig_obj[1] ; | |
6294 | ||
6295 | if (!args) SWIG_fail; | |
6296 | swig_obj[0] = args; | |
5eb8189c | 6297 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6298 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6299 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6300 | } |
5eb8189c | 6301 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6302 | result = (wxWindow *) ((arg1)->window); |
6303 | { | |
6304 | resultobj = wxPyMake_wxObject(result, 0); | |
6305 | } | |
6306 | return resultobj; | |
6307 | fail: | |
6308 | return NULL; | |
6309 | } | |
6310 | ||
6311 | ||
5eb8189c | 6312 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6313 | PyObject *resultobj = 0; |
5eb8189c | 6314 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6315 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6316 | void *argp1 = 0 ; |
6317 | int res1 = 0 ; | |
6318 | void *argp2 = 0 ; | |
6319 | int res2 = 0 ; | |
6320 | PyObject *swig_obj[2] ; | |
6321 | ||
5eb8189c RD |
6322 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6323 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6324 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6325 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6326 | } |
5eb8189c | 6327 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6328 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6329 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6330 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6331 | } |
10044bf1 | 6332 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6333 | if (arg1) (arg1)->frame = arg2; |
6334 | ||
6335 | resultobj = SWIG_Py_Void(); | |
6336 | return resultobj; | |
6337 | fail: | |
6338 | return NULL; | |
6339 | } | |
6340 | ||
6341 | ||
5eb8189c | 6342 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6343 | PyObject *resultobj = 0; |
5eb8189c | 6344 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6345 | wxFrame *result = 0 ; |
27e45892 RD |
6346 | void *argp1 = 0 ; |
6347 | int res1 = 0 ; | |
6348 | PyObject *swig_obj[1] ; | |
6349 | ||
6350 | if (!args) SWIG_fail; | |
6351 | swig_obj[0] = args; | |
5eb8189c | 6352 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6353 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6355 | } |
5eb8189c | 6356 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6357 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6358 | { |
6359 | resultobj = wxPyMake_wxObject(result, 0); | |
6360 | } | |
6361 | return resultobj; | |
6362 | fail: | |
6363 | return NULL; | |
6364 | } | |
6365 | ||
6366 | ||
5eb8189c | 6367 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6368 | PyObject *resultobj = 0; |
5eb8189c | 6369 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6370 | int arg2 ; |
6371 | void *argp1 = 0 ; | |
6372 | int res1 = 0 ; | |
6373 | int val2 ; | |
6374 | int ecode2 = 0 ; | |
6375 | PyObject *swig_obj[2] ; | |
6376 | ||
5eb8189c RD |
6377 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6378 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6379 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6380 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6381 | } |
5eb8189c | 6382 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6383 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6384 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6385 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6386 | } |
6387 | arg2 = static_cast< int >(val2); | |
6388 | if (arg1) (arg1)->state = arg2; | |
6389 | ||
6390 | resultobj = SWIG_Py_Void(); | |
6391 | return resultobj; | |
6392 | fail: | |
6393 | return NULL; | |
6394 | } | |
6395 | ||
6396 | ||
5eb8189c | 6397 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6398 | PyObject *resultobj = 0; |
5eb8189c | 6399 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6400 | int result; |
6401 | void *argp1 = 0 ; | |
6402 | int res1 = 0 ; | |
6403 | PyObject *swig_obj[1] ; | |
6404 | ||
6405 | if (!args) SWIG_fail; | |
6406 | swig_obj[0] = args; | |
5eb8189c | 6407 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6408 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6410 | } |
5eb8189c | 6411 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6412 | result = (int) ((arg1)->state); |
6413 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6414 | return resultobj; | |
6415 | fail: | |
6416 | return NULL; | |
6417 | } | |
6418 | ||
6419 | ||
5eb8189c | 6420 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6421 | PyObject *resultobj = 0; |
5eb8189c | 6422 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6423 | int arg2 ; |
6424 | void *argp1 = 0 ; | |
6425 | int res1 = 0 ; | |
6426 | int val2 ; | |
6427 | int ecode2 = 0 ; | |
6428 | PyObject *swig_obj[2] ; | |
6429 | ||
5eb8189c RD |
6430 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6431 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6432 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6434 | } |
5eb8189c | 6435 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6436 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6437 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6438 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6439 | } |
6440 | arg2 = static_cast< int >(val2); | |
6441 | if (arg1) (arg1)->dock_direction = arg2; | |
6442 | ||
6443 | resultobj = SWIG_Py_Void(); | |
6444 | return resultobj; | |
6445 | fail: | |
6446 | return NULL; | |
6447 | } | |
6448 | ||
6449 | ||
5eb8189c | 6450 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6451 | PyObject *resultobj = 0; |
5eb8189c | 6452 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6453 | int result; |
6454 | void *argp1 = 0 ; | |
6455 | int res1 = 0 ; | |
6456 | PyObject *swig_obj[1] ; | |
6457 | ||
6458 | if (!args) SWIG_fail; | |
6459 | swig_obj[0] = args; | |
5eb8189c | 6460 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6461 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6462 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6463 | } |
5eb8189c | 6464 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6465 | result = (int) ((arg1)->dock_direction); |
6466 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6467 | return resultobj; | |
6468 | fail: | |
6469 | return NULL; | |
6470 | } | |
6471 | ||
6472 | ||
5eb8189c | 6473 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6474 | PyObject *resultobj = 0; |
5eb8189c | 6475 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6476 | int arg2 ; |
6477 | void *argp1 = 0 ; | |
6478 | int res1 = 0 ; | |
6479 | int val2 ; | |
6480 | int ecode2 = 0 ; | |
6481 | PyObject *swig_obj[2] ; | |
6482 | ||
5eb8189c RD |
6483 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6484 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6485 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6486 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6487 | } |
5eb8189c | 6488 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6489 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6490 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6491 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6492 | } |
6493 | arg2 = static_cast< int >(val2); | |
6494 | if (arg1) (arg1)->dock_layer = arg2; | |
6495 | ||
6496 | resultobj = SWIG_Py_Void(); | |
6497 | return resultobj; | |
6498 | fail: | |
6499 | return NULL; | |
6500 | } | |
6501 | ||
6502 | ||
5eb8189c | 6503 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6504 | PyObject *resultobj = 0; |
5eb8189c | 6505 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6506 | int result; |
6507 | void *argp1 = 0 ; | |
6508 | int res1 = 0 ; | |
6509 | PyObject *swig_obj[1] ; | |
6510 | ||
6511 | if (!args) SWIG_fail; | |
6512 | swig_obj[0] = args; | |
5eb8189c | 6513 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6514 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6515 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6516 | } |
5eb8189c | 6517 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6518 | result = (int) ((arg1)->dock_layer); |
6519 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6520 | return resultobj; | |
6521 | fail: | |
6522 | return NULL; | |
6523 | } | |
6524 | ||
6525 | ||
5eb8189c | 6526 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6527 | PyObject *resultobj = 0; |
5eb8189c | 6528 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6529 | int arg2 ; |
6530 | void *argp1 = 0 ; | |
6531 | int res1 = 0 ; | |
6532 | int val2 ; | |
6533 | int ecode2 = 0 ; | |
6534 | PyObject *swig_obj[2] ; | |
6535 | ||
5eb8189c RD |
6536 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6537 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6538 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6540 | } |
5eb8189c | 6541 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6542 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6543 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6544 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6545 | } |
6546 | arg2 = static_cast< int >(val2); | |
6547 | if (arg1) (arg1)->dock_row = arg2; | |
6548 | ||
6549 | resultobj = SWIG_Py_Void(); | |
6550 | return resultobj; | |
6551 | fail: | |
6552 | return NULL; | |
6553 | } | |
6554 | ||
6555 | ||
5eb8189c | 6556 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6557 | PyObject *resultobj = 0; |
5eb8189c | 6558 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6559 | int result; |
6560 | void *argp1 = 0 ; | |
6561 | int res1 = 0 ; | |
6562 | PyObject *swig_obj[1] ; | |
6563 | ||
6564 | if (!args) SWIG_fail; | |
6565 | swig_obj[0] = args; | |
5eb8189c | 6566 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6567 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6568 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6569 | } |
5eb8189c | 6570 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6571 | result = (int) ((arg1)->dock_row); |
6572 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6573 | return resultobj; | |
6574 | fail: | |
6575 | return NULL; | |
6576 | } | |
6577 | ||
6578 | ||
5eb8189c | 6579 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6580 | PyObject *resultobj = 0; |
5eb8189c | 6581 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6582 | int arg2 ; |
6583 | void *argp1 = 0 ; | |
6584 | int res1 = 0 ; | |
6585 | int val2 ; | |
6586 | int ecode2 = 0 ; | |
6587 | PyObject *swig_obj[2] ; | |
6588 | ||
5eb8189c RD |
6589 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6590 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6591 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6592 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6593 | } |
5eb8189c | 6594 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6595 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6596 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6597 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6598 | } |
6599 | arg2 = static_cast< int >(val2); | |
6600 | if (arg1) (arg1)->dock_pos = arg2; | |
6601 | ||
6602 | resultobj = SWIG_Py_Void(); | |
6603 | return resultobj; | |
6604 | fail: | |
6605 | return NULL; | |
6606 | } | |
6607 | ||
6608 | ||
5eb8189c | 6609 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6610 | PyObject *resultobj = 0; |
5eb8189c | 6611 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6612 | int result; |
6613 | void *argp1 = 0 ; | |
6614 | int res1 = 0 ; | |
6615 | PyObject *swig_obj[1] ; | |
6616 | ||
6617 | if (!args) SWIG_fail; | |
6618 | swig_obj[0] = args; | |
5eb8189c | 6619 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6620 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6621 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6622 | } |
5eb8189c | 6623 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6624 | result = (int) ((arg1)->dock_pos); |
6625 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6626 | return resultobj; | |
6627 | fail: | |
6628 | return NULL; | |
6629 | } | |
6630 | ||
6631 | ||
5eb8189c | 6632 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6633 | PyObject *resultobj = 0; |
5eb8189c | 6634 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6635 | wxSize *arg2 = (wxSize *) 0 ; |
6636 | void *argp1 = 0 ; | |
6637 | int res1 = 0 ; | |
6638 | void *argp2 = 0 ; | |
6639 | int res2 = 0 ; | |
6640 | PyObject *swig_obj[2] ; | |
6641 | ||
5eb8189c RD |
6642 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6643 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6644 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6645 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6646 | } |
5eb8189c | 6647 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6648 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6649 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6650 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6651 | } |
6652 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6653 | if (arg1) (arg1)->best_size = *arg2; | |
6654 | ||
6655 | resultobj = SWIG_Py_Void(); | |
6656 | return resultobj; | |
6657 | fail: | |
6658 | return NULL; | |
6659 | } | |
6660 | ||
6661 | ||
5eb8189c | 6662 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6663 | PyObject *resultobj = 0; |
5eb8189c | 6664 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6665 | wxSize *result = 0 ; |
6666 | void *argp1 = 0 ; | |
6667 | int res1 = 0 ; | |
6668 | PyObject *swig_obj[1] ; | |
6669 | ||
6670 | if (!args) SWIG_fail; | |
6671 | swig_obj[0] = args; | |
5eb8189c | 6672 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6673 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6674 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6675 | } |
5eb8189c | 6676 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6677 | result = (wxSize *)& ((arg1)->best_size); |
6678 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6679 | return resultobj; | |
6680 | fail: | |
6681 | return NULL; | |
6682 | } | |
6683 | ||
6684 | ||
5eb8189c | 6685 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6686 | PyObject *resultobj = 0; |
5eb8189c | 6687 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6688 | wxSize *arg2 = (wxSize *) 0 ; |
6689 | void *argp1 = 0 ; | |
6690 | int res1 = 0 ; | |
6691 | void *argp2 = 0 ; | |
6692 | int res2 = 0 ; | |
6693 | PyObject *swig_obj[2] ; | |
6694 | ||
5eb8189c RD |
6695 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6696 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6697 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6698 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6699 | } |
5eb8189c | 6700 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6701 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6702 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6703 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6704 | } |
6705 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6706 | if (arg1) (arg1)->min_size = *arg2; | |
6707 | ||
6708 | resultobj = SWIG_Py_Void(); | |
6709 | return resultobj; | |
6710 | fail: | |
6711 | return NULL; | |
6712 | } | |
6713 | ||
6714 | ||
5eb8189c | 6715 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6716 | PyObject *resultobj = 0; |
5eb8189c | 6717 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6718 | wxSize *result = 0 ; |
6719 | void *argp1 = 0 ; | |
6720 | int res1 = 0 ; | |
6721 | PyObject *swig_obj[1] ; | |
6722 | ||
6723 | if (!args) SWIG_fail; | |
6724 | swig_obj[0] = args; | |
5eb8189c | 6725 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6726 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6727 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6728 | } |
5eb8189c | 6729 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6730 | result = (wxSize *)& ((arg1)->min_size); |
6731 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6732 | return resultobj; | |
6733 | fail: | |
6734 | return NULL; | |
6735 | } | |
6736 | ||
6737 | ||
5eb8189c | 6738 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6739 | PyObject *resultobj = 0; |
5eb8189c | 6740 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6741 | wxSize *arg2 = (wxSize *) 0 ; |
6742 | void *argp1 = 0 ; | |
6743 | int res1 = 0 ; | |
6744 | void *argp2 = 0 ; | |
6745 | int res2 = 0 ; | |
6746 | PyObject *swig_obj[2] ; | |
6747 | ||
5eb8189c RD |
6748 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6749 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6752 | } |
5eb8189c | 6753 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6754 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6755 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6756 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6757 | } |
6758 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6759 | if (arg1) (arg1)->max_size = *arg2; | |
6760 | ||
6761 | resultobj = SWIG_Py_Void(); | |
6762 | return resultobj; | |
6763 | fail: | |
6764 | return NULL; | |
6765 | } | |
6766 | ||
6767 | ||
5eb8189c | 6768 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6769 | PyObject *resultobj = 0; |
5eb8189c | 6770 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6771 | wxSize *result = 0 ; |
6772 | void *argp1 = 0 ; | |
6773 | int res1 = 0 ; | |
6774 | PyObject *swig_obj[1] ; | |
6775 | ||
6776 | if (!args) SWIG_fail; | |
6777 | swig_obj[0] = args; | |
5eb8189c | 6778 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6779 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6780 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6781 | } |
5eb8189c | 6782 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6783 | result = (wxSize *)& ((arg1)->max_size); |
6784 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6785 | return resultobj; | |
6786 | fail: | |
6787 | return NULL; | |
6788 | } | |
6789 | ||
6790 | ||
5eb8189c | 6791 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6792 | PyObject *resultobj = 0; |
5eb8189c | 6793 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6794 | wxPoint *arg2 = (wxPoint *) 0 ; |
6795 | void *argp1 = 0 ; | |
6796 | int res1 = 0 ; | |
6797 | void *argp2 = 0 ; | |
6798 | int res2 = 0 ; | |
6799 | PyObject *swig_obj[2] ; | |
6800 | ||
5eb8189c RD |
6801 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6802 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6803 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6804 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6805 | } |
5eb8189c | 6806 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6807 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6808 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6809 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6810 | } |
6811 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6812 | if (arg1) (arg1)->floating_pos = *arg2; | |
6813 | ||
6814 | resultobj = SWIG_Py_Void(); | |
6815 | return resultobj; | |
6816 | fail: | |
6817 | return NULL; | |
6818 | } | |
6819 | ||
6820 | ||
5eb8189c | 6821 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6822 | PyObject *resultobj = 0; |
5eb8189c | 6823 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6824 | wxPoint *result = 0 ; |
6825 | void *argp1 = 0 ; | |
6826 | int res1 = 0 ; | |
6827 | PyObject *swig_obj[1] ; | |
6828 | ||
6829 | if (!args) SWIG_fail; | |
6830 | swig_obj[0] = args; | |
5eb8189c | 6831 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6832 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6833 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6834 | } |
5eb8189c | 6835 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6836 | result = (wxPoint *)& ((arg1)->floating_pos); |
6837 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6838 | return resultobj; | |
6839 | fail: | |
6840 | return NULL; | |
6841 | } | |
6842 | ||
6843 | ||
5eb8189c | 6844 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6845 | PyObject *resultobj = 0; |
5eb8189c | 6846 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6847 | wxSize *arg2 = (wxSize *) 0 ; |
6848 | void *argp1 = 0 ; | |
6849 | int res1 = 0 ; | |
6850 | void *argp2 = 0 ; | |
6851 | int res2 = 0 ; | |
6852 | PyObject *swig_obj[2] ; | |
6853 | ||
5eb8189c RD |
6854 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6855 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6856 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6858 | } |
5eb8189c | 6859 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6860 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6861 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6862 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6863 | } |
6864 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6865 | if (arg1) (arg1)->floating_size = *arg2; | |
6866 | ||
6867 | resultobj = SWIG_Py_Void(); | |
6868 | return resultobj; | |
6869 | fail: | |
6870 | return NULL; | |
6871 | } | |
6872 | ||
6873 | ||
5eb8189c | 6874 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6875 | PyObject *resultobj = 0; |
5eb8189c | 6876 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6877 | wxSize *result = 0 ; |
6878 | void *argp1 = 0 ; | |
6879 | int res1 = 0 ; | |
6880 | PyObject *swig_obj[1] ; | |
6881 | ||
6882 | if (!args) SWIG_fail; | |
6883 | swig_obj[0] = args; | |
5eb8189c | 6884 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6885 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6886 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6887 | } |
5eb8189c | 6888 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6889 | result = (wxSize *)& ((arg1)->floating_size); |
6890 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6891 | return resultobj; | |
6892 | fail: | |
6893 | return NULL; | |
6894 | } | |
6895 | ||
6896 | ||
5eb8189c | 6897 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6898 | PyObject *resultobj = 0; |
5eb8189c | 6899 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6900 | int arg2 ; |
6901 | void *argp1 = 0 ; | |
6902 | int res1 = 0 ; | |
6903 | int val2 ; | |
6904 | int ecode2 = 0 ; | |
6905 | PyObject *swig_obj[2] ; | |
6906 | ||
5eb8189c RD |
6907 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6908 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6909 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6911 | } |
5eb8189c | 6912 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6913 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6914 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6915 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6916 | } |
6917 | arg2 = static_cast< int >(val2); | |
6918 | if (arg1) (arg1)->dock_proportion = arg2; | |
6919 | ||
6920 | resultobj = SWIG_Py_Void(); | |
6921 | return resultobj; | |
6922 | fail: | |
6923 | return NULL; | |
6924 | } | |
6925 | ||
6926 | ||
5eb8189c | 6927 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6928 | PyObject *resultobj = 0; |
5eb8189c | 6929 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6930 | int result; |
6931 | void *argp1 = 0 ; | |
6932 | int res1 = 0 ; | |
6933 | PyObject *swig_obj[1] ; | |
6934 | ||
6935 | if (!args) SWIG_fail; | |
6936 | swig_obj[0] = args; | |
5eb8189c | 6937 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6938 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6939 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6940 | } |
5eb8189c | 6941 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6942 | result = (int) ((arg1)->dock_proportion); |
6943 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6944 | return resultobj; | |
6945 | fail: | |
6946 | return NULL; | |
6947 | } | |
6948 | ||
6949 | ||
5eb8189c | 6950 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6951 | PyObject *resultobj = 0; |
5eb8189c RD |
6952 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6953 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6954 | void *argp1 = 0 ; |
6955 | int res1 = 0 ; | |
6956 | void *argp2 ; | |
6957 | int res2 = 0 ; | |
6958 | PyObject *swig_obj[2] ; | |
6959 | ||
5eb8189c RD |
6960 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6961 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6962 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6964 | } |
5eb8189c | 6965 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6966 | { |
5eb8189c | 6967 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6968 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6969 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6970 | } |
6971 | if (!argp2) { | |
5eb8189c | 6972 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6973 | } else { |
5eb8189c | 6974 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6975 | arg2 = *temp; |
6976 | if (SWIG_IsNewObj(res2)) delete temp; | |
6977 | } | |
6978 | } | |
6979 | if (arg1) (arg1)->buttons = arg2; | |
6980 | ||
6981 | resultobj = SWIG_Py_Void(); | |
6982 | return resultobj; | |
6983 | fail: | |
6984 | return NULL; | |
6985 | } | |
6986 | ||
6987 | ||
5eb8189c | 6988 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6989 | PyObject *resultobj = 0; |
5eb8189c RD |
6990 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6991 | wxAuiPaneButtonArray result; | |
27e45892 RD |
6992 | void *argp1 = 0 ; |
6993 | int res1 = 0 ; | |
6994 | PyObject *swig_obj[1] ; | |
6995 | ||
6996 | if (!args) SWIG_fail; | |
6997 | swig_obj[0] = args; | |
5eb8189c | 6998 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6999 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7000 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7001 | } |
5eb8189c | 7002 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7003 | result = ((arg1)->buttons); |
5eb8189c | 7004 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7005 | return resultobj; |
7006 | fail: | |
7007 | return NULL; | |
7008 | } | |
7009 | ||
7010 | ||
5eb8189c | 7011 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7012 | PyObject *resultobj = 0; |
5eb8189c | 7013 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7014 | wxRect *arg2 = (wxRect *) 0 ; |
7015 | void *argp1 = 0 ; | |
7016 | int res1 = 0 ; | |
7017 | void *argp2 = 0 ; | |
7018 | int res2 = 0 ; | |
7019 | PyObject *swig_obj[2] ; | |
7020 | ||
5eb8189c RD |
7021 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7022 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7023 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7024 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7025 | } |
5eb8189c | 7026 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7027 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7028 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7029 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7030 | } |
7031 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7032 | if (arg1) (arg1)->rect = *arg2; | |
7033 | ||
7034 | resultobj = SWIG_Py_Void(); | |
7035 | return resultobj; | |
7036 | fail: | |
7037 | return NULL; | |
7038 | } | |
7039 | ||
7040 | ||
5eb8189c | 7041 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7042 | PyObject *resultobj = 0; |
5eb8189c | 7043 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7044 | wxRect *result = 0 ; |
7045 | void *argp1 = 0 ; | |
7046 | int res1 = 0 ; | |
7047 | PyObject *swig_obj[1] ; | |
7048 | ||
7049 | if (!args) SWIG_fail; | |
7050 | swig_obj[0] = args; | |
5eb8189c | 7051 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7052 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7054 | } |
5eb8189c | 7055 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7056 | result = (wxRect *)& ((arg1)->rect); |
7057 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7058 | return resultobj; | |
7059 | fail: | |
7060 | return NULL; | |
7061 | } | |
7062 | ||
7063 | ||
5eb8189c | 7064 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7065 | PyObject *obj; |
7066 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7067 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7068 | return SWIG_Py_Void(); |
7069 | } | |
7070 | ||
5eb8189c | 7071 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7072 | return SWIG_Python_InitShadowInstance(args); |
7073 | } | |
7074 | ||
5eb8189c | 7075 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7076 | PyObject *resultobj = 0; |
10044bf1 | 7077 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7078 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7079 | wxAuiManager *result = 0 ; |
27e45892 RD |
7080 | void *argp1 = 0 ; |
7081 | int res1 = 0 ; | |
7082 | int val2 ; | |
7083 | int ecode2 = 0 ; | |
7084 | PyObject * obj0 = 0 ; | |
7085 | PyObject * obj1 = 0 ; | |
7086 | char * kwnames[] = { | |
10044bf1 | 7087 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7088 | }; |
7089 | ||
5eb8189c | 7090 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7091 | if (obj0) { |
10044bf1 | 7092 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7093 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7094 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7095 | } |
10044bf1 | 7096 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7097 | } |
7098 | if (obj1) { | |
7099 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7100 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7101 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7102 | } |
7103 | arg2 = static_cast< int >(val2); | |
7104 | } | |
7105 | { | |
7106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7107 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7108 | wxPyEndAllowThreads(__tstate); |
7109 | if (PyErr_Occurred()) SWIG_fail; | |
7110 | } | |
5eb8189c | 7111 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7112 | return resultobj; |
7113 | fail: | |
7114 | return NULL; | |
7115 | } | |
7116 | ||
7117 | ||
5eb8189c | 7118 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7119 | PyObject *resultobj = 0; |
5eb8189c | 7120 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7121 | void *argp1 = 0 ; |
7122 | int res1 = 0 ; | |
7123 | PyObject *swig_obj[1] ; | |
7124 | ||
7125 | if (!args) SWIG_fail; | |
7126 | swig_obj[0] = args; | |
5eb8189c | 7127 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7128 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7130 | } |
5eb8189c | 7131 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7132 | { |
7133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7134 | delete arg1; | |
7135 | ||
7136 | wxPyEndAllowThreads(__tstate); | |
7137 | if (PyErr_Occurred()) SWIG_fail; | |
7138 | } | |
7139 | resultobj = SWIG_Py_Void(); | |
7140 | return resultobj; | |
7141 | fail: | |
7142 | return NULL; | |
7143 | } | |
7144 | ||
7145 | ||
5eb8189c | 7146 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7147 | PyObject *resultobj = 0; |
5eb8189c | 7148 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7149 | void *argp1 = 0 ; |
7150 | int res1 = 0 ; | |
7151 | PyObject *swig_obj[1] ; | |
7152 | ||
7153 | if (!args) SWIG_fail; | |
7154 | swig_obj[0] = args; | |
5eb8189c | 7155 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7156 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7158 | } |
5eb8189c | 7159 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7160 | { |
7161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7162 | (arg1)->UnInit(); | |
7163 | wxPyEndAllowThreads(__tstate); | |
7164 | if (PyErr_Occurred()) SWIG_fail; | |
7165 | } | |
7166 | resultobj = SWIG_Py_Void(); | |
7167 | return resultobj; | |
7168 | fail: | |
7169 | return NULL; | |
7170 | } | |
7171 | ||
7172 | ||
5eb8189c | 7173 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7174 | PyObject *resultobj = 0; |
5eb8189c | 7175 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7176 | int arg2 ; |
7177 | void *argp1 = 0 ; | |
7178 | int res1 = 0 ; | |
7179 | int val2 ; | |
7180 | int ecode2 = 0 ; | |
7181 | PyObject * obj0 = 0 ; | |
7182 | PyObject * obj1 = 0 ; | |
7183 | char * kwnames[] = { | |
7184 | (char *) "self",(char *) "flags", NULL | |
7185 | }; | |
7186 | ||
5eb8189c RD |
7187 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7188 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7189 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7190 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7191 | } |
5eb8189c | 7192 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7193 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7194 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7195 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7196 | } |
7197 | arg2 = static_cast< int >(val2); | |
7198 | { | |
7199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7200 | (arg1)->SetFlags(arg2); | |
7201 | wxPyEndAllowThreads(__tstate); | |
7202 | if (PyErr_Occurred()) SWIG_fail; | |
7203 | } | |
7204 | resultobj = SWIG_Py_Void(); | |
7205 | return resultobj; | |
7206 | fail: | |
7207 | return NULL; | |
7208 | } | |
7209 | ||
7210 | ||
5eb8189c | 7211 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7212 | PyObject *resultobj = 0; |
5eb8189c | 7213 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7214 | int result; |
7215 | void *argp1 = 0 ; | |
7216 | int res1 = 0 ; | |
7217 | PyObject *swig_obj[1] ; | |
7218 | ||
7219 | if (!args) SWIG_fail; | |
7220 | swig_obj[0] = args; | |
5eb8189c | 7221 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7222 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7223 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7224 | } |
5eb8189c | 7225 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7226 | { |
7227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7228 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7229 | wxPyEndAllowThreads(__tstate); |
7230 | if (PyErr_Occurred()) SWIG_fail; | |
7231 | } | |
7232 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7233 | return resultobj; | |
7234 | fail: | |
7235 | return NULL; | |
7236 | } | |
7237 | ||
7238 | ||
5eb8189c | 7239 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7240 | PyObject *resultobj = 0; |
5eb8189c | 7241 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7242 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7243 | void *argp1 = 0 ; |
7244 | int res1 = 0 ; | |
7245 | void *argp2 = 0 ; | |
7246 | int res2 = 0 ; | |
7247 | PyObject * obj0 = 0 ; | |
7248 | PyObject * obj1 = 0 ; | |
7249 | char * kwnames[] = { | |
10044bf1 | 7250 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7251 | }; |
7252 | ||
5eb8189c RD |
7253 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7254 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7255 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7257 | } |
5eb8189c | 7258 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7259 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7260 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7261 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7262 | } |
1d5ee749 | 7263 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7264 | { |
7265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7266 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7267 | wxPyEndAllowThreads(__tstate); |
7268 | if (PyErr_Occurred()) SWIG_fail; | |
7269 | } | |
7270 | resultobj = SWIG_Py_Void(); | |
7271 | return resultobj; | |
7272 | fail: | |
7273 | return NULL; | |
7274 | } | |
7275 | ||
7276 | ||
5eb8189c | 7277 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7278 | PyObject *resultobj = 0; |
5eb8189c | 7279 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7280 | wxWindow *result = 0 ; |
27e45892 RD |
7281 | void *argp1 = 0 ; |
7282 | int res1 = 0 ; | |
7283 | PyObject *swig_obj[1] ; | |
7284 | ||
7285 | if (!args) SWIG_fail; | |
7286 | swig_obj[0] = args; | |
5eb8189c | 7287 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7288 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7290 | } |
5eb8189c | 7291 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7292 | { |
7293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7294 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7295 | wxPyEndAllowThreads(__tstate); |
7296 | if (PyErr_Occurred()) SWIG_fail; | |
7297 | } | |
7298 | { | |
7299 | resultobj = wxPyMake_wxObject(result, 0); | |
7300 | } | |
7301 | return resultobj; | |
7302 | fail: | |
7303 | return NULL; | |
7304 | } | |
7305 | ||
7306 | ||
eccab1a7 RD |
7307 | SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7308 | PyObject *resultobj = 0; | |
7309 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7310 | wxAuiManager *result = 0 ; | |
7311 | void *argp1 = 0 ; | |
7312 | int res1 = 0 ; | |
7313 | PyObject * obj0 = 0 ; | |
7314 | char * kwnames[] = { | |
7315 | (char *) "window", NULL | |
7316 | }; | |
7317 | ||
7318 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail; | |
7319 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7320 | if (!SWIG_IsOK(res1)) { | |
7321 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
7322 | } | |
7323 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
7324 | { | |
7325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7326 | result = (wxAuiManager *)wxAuiManager::GetManager(arg1); | |
7327 | wxPyEndAllowThreads(__tstate); | |
7328 | if (PyErr_Occurred()) SWIG_fail; | |
7329 | } | |
7330 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7331 | return resultobj; | |
7332 | fail: | |
7333 | return NULL; | |
7334 | } | |
7335 | ||
7336 | ||
5eb8189c | 7337 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7338 | PyObject *resultobj = 0; |
5eb8189c RD |
7339 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7340 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7341 | void *argp1 = 0 ; |
7342 | int res1 = 0 ; | |
7343 | int res2 = 0 ; | |
7344 | PyObject * obj0 = 0 ; | |
7345 | PyObject * obj1 = 0 ; | |
7346 | char * kwnames[] = { | |
7347 | (char *) "self",(char *) "art_provider", NULL | |
7348 | }; | |
7349 | ||
5eb8189c RD |
7350 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7351 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7352 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7354 | } |
5eb8189c RD |
7355 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7356 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7357 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7358 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7359 | } |
7360 | { | |
7361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7362 | (arg1)->SetArtProvider(arg2); | |
7363 | wxPyEndAllowThreads(__tstate); | |
7364 | if (PyErr_Occurred()) SWIG_fail; | |
7365 | } | |
7366 | resultobj = SWIG_Py_Void(); | |
7367 | return resultobj; | |
7368 | fail: | |
7369 | return NULL; | |
7370 | } | |
7371 | ||
7372 | ||
5eb8189c | 7373 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7374 | PyObject *resultobj = 0; |
5eb8189c RD |
7375 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7376 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7377 | void *argp1 = 0 ; |
7378 | int res1 = 0 ; | |
7379 | PyObject *swig_obj[1] ; | |
7380 | ||
7381 | if (!args) SWIG_fail; | |
7382 | swig_obj[0] = args; | |
5eb8189c | 7383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7384 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7386 | } |
5eb8189c | 7387 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7388 | { |
7389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7390 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7391 | wxPyEndAllowThreads(__tstate); |
7392 | if (PyErr_Occurred()) SWIG_fail; | |
7393 | } | |
5eb8189c | 7394 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7395 | return resultobj; |
7396 | fail: | |
7397 | return NULL; | |
7398 | } | |
7399 | ||
7400 | ||
5eb8189c | 7401 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7402 | PyObject *resultobj = 0; |
5eb8189c | 7403 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7404 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7405 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7406 | void *argp1 = 0 ; |
7407 | int res1 = 0 ; | |
7408 | void *argp2 = 0 ; | |
7409 | int res2 = 0 ; | |
7410 | PyObject * obj0 = 0 ; | |
7411 | PyObject * obj1 = 0 ; | |
7412 | char * kwnames[] = { | |
7413 | (char *) "self",(char *) "window", NULL | |
7414 | }; | |
7415 | ||
5eb8189c RD |
7416 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7417 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7418 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7419 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7420 | } |
5eb8189c | 7421 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7422 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7423 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7424 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7425 | } |
7426 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7427 | { | |
7428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7429 | { | |
5eb8189c RD |
7430 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7431 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7432 | } |
7433 | wxPyEndAllowThreads(__tstate); | |
7434 | if (PyErr_Occurred()) SWIG_fail; | |
7435 | } | |
5eb8189c | 7436 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7437 | return resultobj; |
7438 | fail: | |
7439 | return NULL; | |
7440 | } | |
7441 | ||
7442 | ||
5eb8189c | 7443 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7444 | PyObject *resultobj = 0; |
5eb8189c | 7445 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7446 | wxString *arg2 = 0 ; |
5eb8189c | 7447 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7448 | void *argp1 = 0 ; |
7449 | int res1 = 0 ; | |
7450 | bool temp2 = false ; | |
7451 | PyObject * obj0 = 0 ; | |
7452 | PyObject * obj1 = 0 ; | |
7453 | char * kwnames[] = { | |
7454 | (char *) "self",(char *) "name", NULL | |
7455 | }; | |
7456 | ||
5eb8189c RD |
7457 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7459 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7461 | } |
5eb8189c | 7462 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7463 | { |
7464 | arg2 = wxString_in_helper(obj1); | |
7465 | if (arg2 == NULL) SWIG_fail; | |
7466 | temp2 = true; | |
7467 | } | |
7468 | { | |
7469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7470 | { | |
5eb8189c RD |
7471 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7472 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7473 | } |
7474 | wxPyEndAllowThreads(__tstate); | |
7475 | if (PyErr_Occurred()) SWIG_fail; | |
7476 | } | |
5eb8189c | 7477 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7478 | { |
7479 | if (temp2) | |
7480 | delete arg2; | |
7481 | } | |
7482 | return resultobj; | |
7483 | fail: | |
7484 | { | |
7485 | if (temp2) | |
7486 | delete arg2; | |
7487 | } | |
7488 | return NULL; | |
7489 | } | |
7490 | ||
7491 | ||
5eb8189c | 7492 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7493 | PyObject *resultobj = 0; |
5eb8189c RD |
7494 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7495 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7496 | void *argp1 = 0 ; |
7497 | int res1 = 0 ; | |
7498 | PyObject *swig_obj[1] ; | |
7499 | ||
7500 | if (!args) SWIG_fail; | |
7501 | swig_obj[0] = args; | |
5eb8189c | 7502 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7503 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7504 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7505 | } |
5eb8189c | 7506 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7507 | { |
7508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7509 | { | |
5eb8189c RD |
7510 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7511 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7512 | } |
7513 | wxPyEndAllowThreads(__tstate); | |
7514 | if (PyErr_Occurred()) SWIG_fail; | |
7515 | } | |
7516 | { | |
7517 | resultobj = PyList_New(0); | |
7518 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7519 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7520 | PyList_Append(resultobj, pane_obj); |
7521 | } | |
7522 | } | |
7523 | return resultobj; | |
7524 | fail: | |
7525 | return NULL; | |
7526 | } | |
7527 | ||
7528 | ||
5eb8189c | 7529 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7530 | PyObject *resultobj = 0; |
5eb8189c | 7531 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7532 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7533 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7534 | bool result; |
7535 | void *argp1 = 0 ; | |
7536 | int res1 = 0 ; | |
7537 | void *argp2 = 0 ; | |
7538 | int res2 = 0 ; | |
7539 | void *argp3 = 0 ; | |
7540 | int res3 = 0 ; | |
7541 | PyObject * obj0 = 0 ; | |
7542 | PyObject * obj1 = 0 ; | |
7543 | PyObject * obj2 = 0 ; | |
7544 | char * kwnames[] = { | |
7545 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7546 | }; | |
7547 | ||
5eb8189c RD |
7548 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7549 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7550 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7551 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7552 | } |
5eb8189c | 7553 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7554 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7555 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7556 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7557 | } |
7558 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7559 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7560 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7561 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7562 | } |
7563 | if (!argp3) { | |
5eb8189c | 7564 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7565 | } |
5eb8189c | 7566 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7567 | { |
7568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7569 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7570 | wxPyEndAllowThreads(__tstate); |
7571 | if (PyErr_Occurred()) SWIG_fail; | |
7572 | } | |
7573 | { | |
7574 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7575 | } | |
7576 | return resultobj; | |
7577 | fail: | |
7578 | return NULL; | |
7579 | } | |
7580 | ||
7581 | ||
5eb8189c | 7582 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7583 | PyObject *resultobj = 0; |
5eb8189c | 7584 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7585 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7586 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7587 | wxPoint *arg4 = 0 ; |
7588 | bool result; | |
7589 | void *argp1 = 0 ; | |
7590 | int res1 = 0 ; | |
7591 | void *argp2 = 0 ; | |
7592 | int res2 = 0 ; | |
7593 | void *argp3 = 0 ; | |
7594 | int res3 = 0 ; | |
7595 | wxPoint temp4 ; | |
7596 | PyObject * obj0 = 0 ; | |
7597 | PyObject * obj1 = 0 ; | |
7598 | PyObject * obj2 = 0 ; | |
7599 | PyObject * obj3 = 0 ; | |
7600 | char * kwnames[] = { | |
7601 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7602 | }; | |
7603 | ||
5eb8189c RD |
7604 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7605 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7606 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7608 | } |
5eb8189c | 7609 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
7610 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7611 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7612 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7613 | } |
7614 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7615 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7616 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7617 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7618 | } |
7619 | if (!argp3) { | |
5eb8189c | 7620 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7621 | } |
5eb8189c | 7622 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7623 | { |
7624 | arg4 = &temp4; | |
7625 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7626 | } | |
7627 | { | |
7628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7629 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7630 | wxPyEndAllowThreads(__tstate); |
7631 | if (PyErr_Occurred()) SWIG_fail; | |
7632 | } | |
7633 | { | |
7634 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7635 | } | |
7636 | return resultobj; | |
7637 | fail: | |
7638 | return NULL; | |
7639 | } | |
7640 | ||
7641 | ||
5eb8189c | 7642 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7643 | PyObject *resultobj = 0; |
5eb8189c | 7644 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7645 | wxWindow *arg2 = (wxWindow *) 0 ; |
7646 | int arg3 = (int) wxLEFT ; | |
7647 | wxString const &arg4_defvalue = wxEmptyString ; | |
7648 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7649 | bool result; | |
7650 | void *argp1 = 0 ; | |
7651 | int res1 = 0 ; | |
7652 | void *argp2 = 0 ; | |
7653 | int res2 = 0 ; | |
7654 | int val3 ; | |
7655 | int ecode3 = 0 ; | |
7656 | bool temp4 = false ; | |
7657 | PyObject * obj0 = 0 ; | |
7658 | PyObject * obj1 = 0 ; | |
7659 | PyObject * obj2 = 0 ; | |
7660 | PyObject * obj3 = 0 ; | |
7661 | char * kwnames[] = { | |
7662 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7663 | }; | |
7664 | ||
5eb8189c RD |
7665 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7666 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7667 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7669 | } |
5eb8189c | 7670 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7671 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7672 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7673 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7674 | } |
7675 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7676 | if (obj2) { | |
7677 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7678 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7679 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7680 | } |
7681 | arg3 = static_cast< int >(val3); | |
7682 | } | |
7683 | if (obj3) { | |
7684 | { | |
7685 | arg4 = wxString_in_helper(obj3); | |
7686 | if (arg4 == NULL) SWIG_fail; | |
7687 | temp4 = true; | |
7688 | } | |
7689 | } | |
7690 | { | |
7691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7692 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7693 | wxPyEndAllowThreads(__tstate); | |
7694 | if (PyErr_Occurred()) SWIG_fail; | |
7695 | } | |
7696 | { | |
7697 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7698 | } | |
7699 | { | |
7700 | if (temp4) | |
7701 | delete arg4; | |
7702 | } | |
7703 | return resultobj; | |
7704 | fail: | |
7705 | { | |
7706 | if (temp4) | |
7707 | delete arg4; | |
7708 | } | |
7709 | return NULL; | |
7710 | } | |
7711 | ||
7712 | ||
5eb8189c | 7713 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7714 | PyObject *resultobj = 0; |
5eb8189c | 7715 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7716 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7717 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7718 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7719 | bool result; | |
7720 | void *argp1 = 0 ; | |
7721 | int res1 = 0 ; | |
7722 | void *argp2 = 0 ; | |
7723 | int res2 = 0 ; | |
7724 | void *argp3 = 0 ; | |
7725 | int res3 = 0 ; | |
7726 | int val4 ; | |
7727 | int ecode4 = 0 ; | |
7728 | PyObject * obj0 = 0 ; | |
7729 | PyObject * obj1 = 0 ; | |
7730 | PyObject * obj2 = 0 ; | |
7731 | PyObject * obj3 = 0 ; | |
7732 | char * kwnames[] = { | |
7733 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7734 | }; | |
7735 | ||
5eb8189c RD |
7736 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7737 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7738 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7739 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7740 | } |
5eb8189c | 7741 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7742 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7743 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7744 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7745 | } |
7746 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7747 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7748 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7749 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7750 | } |
7751 | if (!argp3) { | |
5eb8189c | 7752 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7753 | } |
5eb8189c | 7754 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7755 | if (obj3) { |
7756 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7757 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7758 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7759 | } |
7760 | arg4 = static_cast< int >(val4); | |
7761 | } | |
7762 | { | |
7763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7764 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7765 | wxPyEndAllowThreads(__tstate); |
7766 | if (PyErr_Occurred()) SWIG_fail; | |
7767 | } | |
7768 | { | |
7769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7770 | } | |
7771 | return resultobj; | |
7772 | fail: | |
7773 | return NULL; | |
7774 | } | |
7775 | ||
7776 | ||
5eb8189c | 7777 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7778 | PyObject *resultobj = 0; |
5eb8189c | 7779 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7780 | wxWindow *arg2 = (wxWindow *) 0 ; |
7781 | bool result; | |
7782 | void *argp1 = 0 ; | |
7783 | int res1 = 0 ; | |
7784 | void *argp2 = 0 ; | |
7785 | int res2 = 0 ; | |
7786 | PyObject * obj0 = 0 ; | |
7787 | PyObject * obj1 = 0 ; | |
7788 | char * kwnames[] = { | |
7789 | (char *) "self",(char *) "window", NULL | |
7790 | }; | |
7791 | ||
5eb8189c RD |
7792 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7793 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7794 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7795 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7796 | } |
5eb8189c | 7797 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7798 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7799 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7800 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7801 | } |
7802 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7803 | { | |
7804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7805 | result = (bool)(arg1)->DetachPane(arg2); | |
7806 | wxPyEndAllowThreads(__tstate); | |
7807 | if (PyErr_Occurred()) SWIG_fail; | |
7808 | } | |
7809 | { | |
7810 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7811 | } | |
7812 | return resultobj; | |
7813 | fail: | |
7814 | return NULL; | |
7815 | } | |
7816 | ||
7817 | ||
d7645bfd | 7818 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5eb8189c RD |
7819 | PyObject *resultobj = 0; |
7820 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7821 | void *argp1 = 0 ; | |
7822 | int res1 = 0 ; | |
7823 | PyObject *swig_obj[1] ; | |
7824 | ||
7825 | if (!args) SWIG_fail; | |
7826 | swig_obj[0] = args; | |
7827 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7828 | if (!SWIG_IsOK(res1)) { | |
d7645bfd | 7829 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
5eb8189c RD |
7830 | } |
7831 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7832 | { | |
7833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 7834 | (arg1)->Update(); |
5eb8189c RD |
7835 | wxPyEndAllowThreads(__tstate); |
7836 | if (PyErr_Occurred()) SWIG_fail; | |
7837 | } | |
7838 | resultobj = SWIG_Py_Void(); | |
7839 | return resultobj; | |
7840 | fail: | |
7841 | return NULL; | |
7842 | } | |
7843 | ||
7844 | ||
7845 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10044bf1 | 7846 | PyObject *resultobj = 0; |
5eb8189c RD |
7847 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7848 | wxAuiPaneInfo *arg2 = 0 ; | |
10044bf1 RD |
7849 | wxString result; |
7850 | void *argp1 = 0 ; | |
7851 | int res1 = 0 ; | |
7852 | void *argp2 = 0 ; | |
7853 | int res2 = 0 ; | |
7854 | PyObject * obj0 = 0 ; | |
7855 | PyObject * obj1 = 0 ; | |
7856 | char * kwnames[] = { | |
7857 | (char *) "self",(char *) "pane", NULL | |
7858 | }; | |
7859 | ||
5eb8189c RD |
7860 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7861 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7862 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7864 | } |
5eb8189c RD |
7865 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7866 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
10044bf1 | 7867 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7868 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
10044bf1 RD |
7869 | } |
7870 | if (!argp2) { | |
5eb8189c | 7871 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
10044bf1 | 7872 | } |
5eb8189c | 7873 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
10044bf1 RD |
7874 | { |
7875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7876 | result = (arg1)->SavePaneInfo(*arg2); | |
7877 | wxPyEndAllowThreads(__tstate); | |
7878 | if (PyErr_Occurred()) SWIG_fail; | |
7879 | } | |
7880 | { | |
7881 | #if wxUSE_UNICODE | |
7882 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7883 | #else | |
7884 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7885 | #endif | |
7886 | } | |
7887 | return resultobj; | |
7888 | fail: | |
7889 | return NULL; | |
7890 | } | |
7891 | ||
7892 | ||
5eb8189c | 7893 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7894 | PyObject *resultobj = 0; |
5eb8189c | 7895 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7896 | wxString arg2 ; |
5eb8189c | 7897 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7898 | void *argp1 = 0 ; |
7899 | int res1 = 0 ; | |
7900 | void *argp3 = 0 ; | |
7901 | int res3 = 0 ; | |
7902 | PyObject * obj0 = 0 ; | |
7903 | PyObject * obj1 = 0 ; | |
7904 | PyObject * obj2 = 0 ; | |
7905 | char * kwnames[] = { | |
7906 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7907 | }; | |
7908 | ||
5eb8189c RD |
7909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7911 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7913 | } |
5eb8189c | 7914 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
7915 | { |
7916 | wxString* sptr = wxString_in_helper(obj1); | |
7917 | if (sptr == NULL) SWIG_fail; | |
7918 | arg2 = *sptr; | |
7919 | delete sptr; | |
7920 | } | |
5eb8189c | 7921 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
10044bf1 | 7922 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7923 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
10044bf1 RD |
7924 | } |
7925 | if (!argp3) { | |
5eb8189c | 7926 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
10044bf1 | 7927 | } |
5eb8189c | 7928 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7929 | { |
7930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7931 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7932 | wxPyEndAllowThreads(__tstate); | |
7933 | if (PyErr_Occurred()) SWIG_fail; | |
7934 | } | |
7935 | resultobj = SWIG_Py_Void(); | |
7936 | return resultobj; | |
7937 | fail: | |
7938 | return NULL; | |
7939 | } | |
7940 | ||
7941 | ||
5eb8189c | 7942 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7943 | PyObject *resultobj = 0; |
5eb8189c | 7944 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7945 | wxString result; |
7946 | void *argp1 = 0 ; | |
7947 | int res1 = 0 ; | |
7948 | PyObject *swig_obj[1] ; | |
7949 | ||
7950 | if (!args) SWIG_fail; | |
7951 | swig_obj[0] = args; | |
5eb8189c | 7952 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7953 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7954 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7955 | } |
5eb8189c | 7956 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7957 | { |
7958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7959 | result = (arg1)->SavePerspective(); | |
7960 | wxPyEndAllowThreads(__tstate); | |
7961 | if (PyErr_Occurred()) SWIG_fail; | |
7962 | } | |
7963 | { | |
7964 | #if wxUSE_UNICODE | |
7965 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7966 | #else | |
7967 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7968 | #endif | |
7969 | } | |
7970 | return resultobj; | |
7971 | fail: | |
7972 | return NULL; | |
7973 | } | |
7974 | ||
7975 | ||
5eb8189c | 7976 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7977 | PyObject *resultobj = 0; |
5eb8189c | 7978 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7979 | wxString *arg2 = 0 ; |
7980 | bool arg3 = (bool) true ; | |
7981 | bool result; | |
7982 | void *argp1 = 0 ; | |
7983 | int res1 = 0 ; | |
7984 | bool temp2 = false ; | |
7985 | bool val3 ; | |
7986 | int ecode3 = 0 ; | |
7987 | PyObject * obj0 = 0 ; | |
7988 | PyObject * obj1 = 0 ; | |
7989 | PyObject * obj2 = 0 ; | |
7990 | char * kwnames[] = { | |
7991 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7992 | }; | |
7993 | ||
5eb8189c RD |
7994 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7995 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7996 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7998 | } |
5eb8189c | 7999 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8000 | { |
8001 | arg2 = wxString_in_helper(obj1); | |
8002 | if (arg2 == NULL) SWIG_fail; | |
8003 | temp2 = true; | |
8004 | } | |
8005 | if (obj2) { | |
8006 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8007 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8008 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8009 | } |
8010 | arg3 = static_cast< bool >(val3); | |
8011 | } | |
8012 | { | |
8013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8014 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8015 | wxPyEndAllowThreads(__tstate); | |
8016 | if (PyErr_Occurred()) SWIG_fail; | |
8017 | } | |
8018 | { | |
8019 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8020 | } | |
8021 | { | |
8022 | if (temp2) | |
8023 | delete arg2; | |
8024 | } | |
8025 | return resultobj; | |
8026 | fail: | |
8027 | { | |
8028 | if (temp2) | |
8029 | delete arg2; | |
8030 | } | |
8031 | return NULL; | |
8032 | } | |
8033 | ||
8034 | ||
d7645bfd VZ |
8035 | SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8036 | PyObject *resultobj = 0; | |
8037 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8038 | double arg2 ; | |
8039 | double arg3 ; | |
8040 | void *argp1 = 0 ; | |
8041 | int res1 = 0 ; | |
8042 | double val2 ; | |
8043 | int ecode2 = 0 ; | |
8044 | double val3 ; | |
8045 | int ecode3 = 0 ; | |
8046 | PyObject * obj0 = 0 ; | |
8047 | PyObject * obj1 = 0 ; | |
8048 | PyObject * obj2 = 0 ; | |
8049 | char * kwnames[] = { | |
8050 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8051 | }; | |
8052 | ||
8053 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8055 | if (!SWIG_IsOK(res1)) { | |
8056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8057 | } | |
8058 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8059 | ecode2 = SWIG_AsVal_double(obj1, &val2); | |
8060 | if (!SWIG_IsOK(ecode2)) { | |
8061 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); | |
8062 | } | |
8063 | arg2 = static_cast< double >(val2); | |
8064 | ecode3 = SWIG_AsVal_double(obj2, &val3); | |
8065 | if (!SWIG_IsOK(ecode3)) { | |
8066 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); | |
8067 | } | |
8068 | arg3 = static_cast< double >(val3); | |
8069 | { | |
8070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8071 | (arg1)->SetDockSizeConstraint(arg2,arg3); | |
8072 | wxPyEndAllowThreads(__tstate); | |
8073 | if (PyErr_Occurred()) SWIG_fail; | |
8074 | } | |
8075 | resultobj = SWIG_Py_Void(); | |
8076 | return resultobj; | |
8077 | fail: | |
8078 | return NULL; | |
8079 | } | |
8080 | ||
8081 | ||
8082 | SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8083 | PyObject *resultobj = 0; | |
8084 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8085 | double *arg2 = (double *) 0 ; | |
8086 | double *arg3 = (double *) 0 ; | |
8087 | void *argp1 = 0 ; | |
8088 | int res1 = 0 ; | |
8089 | void *argp2 = 0 ; | |
8090 | int res2 = 0 ; | |
8091 | void *argp3 = 0 ; | |
8092 | int res3 = 0 ; | |
8093 | PyObject * obj0 = 0 ; | |
8094 | PyObject * obj1 = 0 ; | |
8095 | PyObject * obj2 = 0 ; | |
8096 | char * kwnames[] = { | |
8097 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8098 | }; | |
8099 | ||
8100 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8101 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8102 | if (!SWIG_IsOK(res1)) { | |
8103 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); | |
8104 | } | |
8105 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8106 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); | |
8107 | if (!SWIG_IsOK(res2)) { | |
8108 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); | |
8109 | } | |
8110 | arg2 = reinterpret_cast< double * >(argp2); | |
8111 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); | |
8112 | if (!SWIG_IsOK(res3)) { | |
8113 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); | |
8114 | } | |
8115 | arg3 = reinterpret_cast< double * >(argp3); | |
8116 | { | |
8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8118 | ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); | |
8119 | wxPyEndAllowThreads(__tstate); | |
8120 | if (PyErr_Occurred()) SWIG_fail; | |
8121 | } | |
8122 | resultobj = SWIG_Py_Void(); | |
8123 | return resultobj; | |
8124 | fail: | |
8125 | return NULL; | |
8126 | } | |
8127 | ||
8128 | ||
8129 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8130 | PyObject *resultobj = 0; | |
8131 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8132 | wxAuiPaneInfo *arg2 = 0 ; | |
8133 | void *argp1 = 0 ; | |
8134 | int res1 = 0 ; | |
8135 | void *argp2 = 0 ; | |
8136 | int res2 = 0 ; | |
8137 | PyObject * obj0 = 0 ; | |
8138 | PyObject * obj1 = 0 ; | |
8139 | char * kwnames[] = { | |
8140 | (char *) "self",(char *) "pane_info", NULL | |
8141 | }; | |
8142 | ||
8143 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8144 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8145 | if (!SWIG_IsOK(res1)) { | |
8146 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8147 | } | |
8148 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8149 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8150 | if (!SWIG_IsOK(res2)) { | |
8151 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8152 | } | |
8153 | if (!argp2) { | |
8154 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8155 | } | |
8156 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8157 | { | |
8158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8159 | (arg1)->ClosePane(*arg2); | |
8160 | wxPyEndAllowThreads(__tstate); | |
8161 | if (PyErr_Occurred()) SWIG_fail; | |
8162 | } | |
8163 | resultobj = SWIG_Py_Void(); | |
8164 | return resultobj; | |
8165 | fail: | |
8166 | return NULL; | |
8167 | } | |
8168 | ||
8169 | ||
8170 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8171 | PyObject *resultobj = 0; | |
8172 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8173 | wxAuiPaneInfo *arg2 = 0 ; | |
8174 | void *argp1 = 0 ; | |
8175 | int res1 = 0 ; | |
8176 | void *argp2 = 0 ; | |
8177 | int res2 = 0 ; | |
8178 | PyObject * obj0 = 0 ; | |
8179 | PyObject * obj1 = 0 ; | |
8180 | char * kwnames[] = { | |
8181 | (char *) "self",(char *) "pane_info", NULL | |
8182 | }; | |
8183 | ||
8184 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8185 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8186 | if (!SWIG_IsOK(res1)) { | |
8187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8188 | } | |
8189 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8190 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8191 | if (!SWIG_IsOK(res2)) { | |
8192 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8193 | } | |
8194 | if (!argp2) { | |
8195 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8196 | } | |
8197 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8198 | { | |
8199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8200 | (arg1)->MaximizePane(*arg2); | |
8201 | wxPyEndAllowThreads(__tstate); | |
8202 | if (PyErr_Occurred()) SWIG_fail; | |
8203 | } | |
8204 | resultobj = SWIG_Py_Void(); | |
8205 | return resultobj; | |
8206 | fail: | |
8207 | return NULL; | |
8208 | } | |
8209 | ||
8210 | ||
8211 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8212 | PyObject *resultobj = 0; | |
8213 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8214 | wxAuiPaneInfo *arg2 = 0 ; | |
8215 | void *argp1 = 0 ; | |
8216 | int res1 = 0 ; | |
8217 | void *argp2 = 0 ; | |
8218 | int res2 = 0 ; | |
8219 | PyObject * obj0 = 0 ; | |
8220 | PyObject * obj1 = 0 ; | |
8221 | char * kwnames[] = { | |
8222 | (char *) "self",(char *) "pane_info", NULL | |
8223 | }; | |
8224 | ||
8225 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8227 | if (!SWIG_IsOK(res1)) { | |
8228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8229 | } | |
8230 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8231 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8232 | if (!SWIG_IsOK(res2)) { | |
8233 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8234 | } | |
8235 | if (!argp2) { | |
8236 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8237 | } | |
8238 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8239 | { | |
8240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8241 | (arg1)->RestorePane(*arg2); | |
8242 | wxPyEndAllowThreads(__tstate); | |
8243 | if (PyErr_Occurred()) SWIG_fail; | |
8244 | } | |
8245 | resultobj = SWIG_Py_Void(); | |
8246 | return resultobj; | |
8247 | fail: | |
8248 | return NULL; | |
8249 | } | |
8250 | ||
8251 | ||
8252 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 8253 | PyObject *resultobj = 0; |
5eb8189c | 8254 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8255 | void *argp1 = 0 ; |
8256 | int res1 = 0 ; | |
8257 | PyObject *swig_obj[1] ; | |
8258 | ||
8259 | if (!args) SWIG_fail; | |
8260 | swig_obj[0] = args; | |
5eb8189c | 8261 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8262 | if (!SWIG_IsOK(res1)) { |
d7645bfd | 8263 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8264 | } |
5eb8189c | 8265 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8266 | { |
8267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 8268 | (arg1)->RestoreMaximizedPane(); |
27e45892 RD |
8269 | wxPyEndAllowThreads(__tstate); |
8270 | if (PyErr_Occurred()) SWIG_fail; | |
8271 | } | |
8272 | resultobj = SWIG_Py_Void(); | |
8273 | return resultobj; | |
8274 | fail: | |
8275 | return NULL; | |
8276 | } | |
8277 | ||
8278 | ||
5eb8189c | 8279 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8280 | PyObject *resultobj = 0; |
5eb8189c | 8281 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8282 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8283 | wxAuiPaneInfo *arg3 = 0 ; |
8284 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8285 | void *argp1 = 0 ; |
8286 | int res1 = 0 ; | |
8287 | void *argp2 = 0 ; | |
8288 | int res2 = 0 ; | |
8289 | void *argp3 = 0 ; | |
8290 | int res3 = 0 ; | |
8291 | PyObject * obj0 = 0 ; | |
8292 | PyObject * obj1 = 0 ; | |
8293 | PyObject * obj2 = 0 ; | |
8294 | char * kwnames[] = { | |
8295 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8296 | }; | |
8297 | ||
5eb8189c RD |
8298 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8299 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8300 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8302 | } |
5eb8189c | 8303 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8304 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8305 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8306 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8307 | } |
8308 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8309 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8310 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8311 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8312 | } |
8313 | if (!argp3) { | |
5eb8189c | 8314 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8315 | } |
5eb8189c | 8316 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8317 | { |
8318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8319 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8320 | wxPyEndAllowThreads(__tstate); |
8321 | if (PyErr_Occurred()) SWIG_fail; | |
8322 | } | |
5eb8189c | 8323 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8324 | return resultobj; |
8325 | fail: | |
8326 | return NULL; | |
8327 | } | |
8328 | ||
8329 | ||
e7e9d1b8 RD |
8330 | SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8331 | PyObject *resultobj = 0; | |
8332 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8333 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8334 | wxPoint *arg3 = 0 ; | |
8335 | void *argp1 = 0 ; | |
8336 | int res1 = 0 ; | |
8337 | void *argp2 = 0 ; | |
8338 | int res2 = 0 ; | |
8339 | wxPoint temp3 ; | |
8340 | PyObject * obj0 = 0 ; | |
8341 | PyObject * obj1 = 0 ; | |
8342 | PyObject * obj2 = 0 ; | |
8343 | char * kwnames[] = { | |
8344 | (char *) "self",(char *) "pane_window",(char *) "offset", NULL | |
8345 | }; | |
8346 | ||
8347 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8348 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8349 | if (!SWIG_IsOK(res1)) { | |
8350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8351 | } | |
8352 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8353 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8354 | if (!SWIG_IsOK(res2)) { | |
8355 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8356 | } | |
8357 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8358 | { | |
8359 | arg3 = &temp3; | |
8360 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8361 | } | |
8362 | { | |
8363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8364 | (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3); | |
8365 | wxPyEndAllowThreads(__tstate); | |
8366 | if (PyErr_Occurred()) SWIG_fail; | |
8367 | } | |
8368 | resultobj = SWIG_Py_Void(); | |
8369 | return resultobj; | |
8370 | fail: | |
8371 | return NULL; | |
8372 | } | |
8373 | ||
8374 | ||
5172800e RD |
8375 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8376 | PyObject *resultobj = 0; | |
8377 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8378 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8379 | wxPoint *arg3 = 0 ; | |
8380 | wxPoint *arg4 = 0 ; | |
8381 | wxRect result; | |
8382 | void *argp1 = 0 ; | |
8383 | int res1 = 0 ; | |
8384 | void *argp2 = 0 ; | |
8385 | int res2 = 0 ; | |
8386 | wxPoint temp3 ; | |
8387 | wxPoint temp4 ; | |
8388 | PyObject * obj0 = 0 ; | |
8389 | PyObject * obj1 = 0 ; | |
8390 | PyObject * obj2 = 0 ; | |
8391 | PyObject * obj3 = 0 ; | |
8392 | char * kwnames[] = { | |
8393 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8394 | }; | |
8395 | ||
8396 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8397 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8398 | if (!SWIG_IsOK(res1)) { | |
8399 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8400 | } | |
8401 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8402 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8403 | if (!SWIG_IsOK(res2)) { | |
8404 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8405 | } | |
8406 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8407 | { | |
8408 | arg3 = &temp3; | |
8409 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8410 | } | |
8411 | { | |
8412 | arg4 = &temp4; | |
8413 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8414 | } | |
8415 | { | |
8416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8417 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8418 | wxPyEndAllowThreads(__tstate); | |
8419 | if (PyErr_Occurred()) SWIG_fail; | |
8420 | } | |
8421 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8422 | return resultobj; | |
8423 | fail: | |
8424 | return NULL; | |
8425 | } | |
8426 | ||
8427 | ||
5eb8189c | 8428 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8429 | PyObject *resultobj = 0; |
5eb8189c | 8430 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8431 | wxWindow *arg2 = (wxWindow *) 0 ; |
8432 | wxPoint *arg3 = 0 ; | |
8433 | wxPoint *arg4 = 0 ; | |
81f5836b RD |
8434 | void *argp1 = 0 ; |
8435 | int res1 = 0 ; | |
8436 | void *argp2 = 0 ; | |
8437 | int res2 = 0 ; | |
10044bf1 RD |
8438 | wxPoint temp3 ; |
8439 | wxPoint temp4 ; | |
81f5836b RD |
8440 | PyObject * obj0 = 0 ; |
8441 | PyObject * obj1 = 0 ; | |
10044bf1 RD |
8442 | PyObject * obj2 = 0 ; |
8443 | PyObject * obj3 = 0 ; | |
81f5836b | 8444 | char * kwnames[] = { |
10044bf1 | 8445 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL |
81f5836b RD |
8446 | }; |
8447 | ||
5eb8189c RD |
8448 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8449 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8450 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8452 | } |
5eb8189c | 8453 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 | 8454 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
81f5836b | 8455 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8456 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
81f5836b | 8457 | } |
10044bf1 RD |
8458 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
8459 | { | |
8460 | arg3 = &temp3; | |
8461 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8462 | } | |
8463 | { | |
8464 | arg4 = &temp4; | |
8465 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
81f5836b | 8466 | } |
81f5836b RD |
8467 | { |
8468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 8469 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); |
81f5836b RD |
8470 | wxPyEndAllowThreads(__tstate); |
8471 | if (PyErr_Occurred()) SWIG_fail; | |
8472 | } | |
8473 | resultobj = SWIG_Py_Void(); | |
8474 | return resultobj; | |
8475 | fail: | |
8476 | return NULL; | |
8477 | } | |
8478 | ||
8479 | ||
5eb8189c | 8480 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8481 | PyObject *resultobj = 0; |
5eb8189c | 8482 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 8483 | wxRect *arg2 = 0 ; |
81f5836b RD |
8484 | void *argp1 = 0 ; |
8485 | int res1 = 0 ; | |
10044bf1 | 8486 | wxRect temp2 ; |
81f5836b RD |
8487 | PyObject * obj0 = 0 ; |
8488 | PyObject * obj1 = 0 ; | |
8489 | char * kwnames[] = { | |
10044bf1 | 8490 | (char *) "self",(char *) "rect", NULL |
81f5836b RD |
8491 | }; |
8492 | ||
5eb8189c RD |
8493 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8494 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8495 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8496 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8497 | } |
5eb8189c | 8498 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8499 | { |
8500 | arg2 = &temp2; | |
8501 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
81f5836b | 8502 | } |
81f5836b RD |
8503 | { |
8504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 8505 | (arg1)->ShowHint((wxRect const &)*arg2); |
81f5836b RD |
8506 | wxPyEndAllowThreads(__tstate); |
8507 | if (PyErr_Occurred()) SWIG_fail; | |
8508 | } | |
8509 | resultobj = SWIG_Py_Void(); | |
8510 | return resultobj; | |
8511 | fail: | |
8512 | return NULL; | |
8513 | } | |
8514 | ||
8515 | ||
5eb8189c | 8516 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8517 | PyObject *resultobj = 0; |
5eb8189c | 8518 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8519 | void *argp1 = 0 ; |
8520 | int res1 = 0 ; | |
8521 | PyObject *swig_obj[1] ; | |
8522 | ||
8523 | if (!args) SWIG_fail; | |
8524 | swig_obj[0] = args; | |
5eb8189c | 8525 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8526 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8528 | } |
5eb8189c | 8529 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8530 | { |
8531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8532 | (arg1)->HideHint(); | |
8533 | wxPyEndAllowThreads(__tstate); | |
8534 | if (PyErr_Occurred()) SWIG_fail; | |
8535 | } | |
8536 | resultobj = SWIG_Py_Void(); | |
8537 | return resultobj; | |
8538 | fail: | |
8539 | return NULL; | |
27e45892 RD |
8540 | } |
8541 | ||
27e45892 | 8542 | |
5eb8189c | 8543 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8544 | PyObject *resultobj = 0; |
5eb8189c RD |
8545 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8546 | wxAuiManagerEvent *arg2 = 0 ; | |
10044bf1 RD |
8547 | void *argp1 = 0 ; |
8548 | int res1 = 0 ; | |
8549 | void *argp2 = 0 ; | |
8550 | int res2 = 0 ; | |
8551 | PyObject * obj0 = 0 ; | |
8552 | PyObject * obj1 = 0 ; | |
8553 | char * kwnames[] = { | |
8554 | (char *) "self",(char *) "evt", NULL | |
8555 | }; | |
8556 | ||
5eb8189c RD |
8557 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8558 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8559 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8561 | } |
5eb8189c RD |
8562 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8563 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
10044bf1 | 8564 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8565 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
10044bf1 RD |
8566 | } |
8567 | if (!argp2) { | |
5eb8189c | 8568 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
10044bf1 | 8569 | } |
5eb8189c | 8570 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
10044bf1 RD |
8571 | { |
8572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8573 | (arg1)->OnRender(*arg2); | |
8574 | wxPyEndAllowThreads(__tstate); | |
8575 | if (PyErr_Occurred()) SWIG_fail; | |
8576 | } | |
8577 | resultobj = SWIG_Py_Void(); | |
8578 | return resultobj; | |
8579 | fail: | |
8580 | return NULL; | |
8581 | } | |
8582 | ||
8583 | ||
5eb8189c | 8584 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8585 | PyObject *resultobj = 0; |
5eb8189c RD |
8586 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8587 | wxAuiManagerEvent *arg2 = 0 ; | |
10044bf1 RD |
8588 | void *argp1 = 0 ; |
8589 | int res1 = 0 ; | |
8590 | void *argp2 = 0 ; | |
8591 | int res2 = 0 ; | |
8592 | PyObject * obj0 = 0 ; | |
8593 | PyObject * obj1 = 0 ; | |
8594 | char * kwnames[] = { | |
8595 | (char *) "self",(char *) "evt", NULL | |
8596 | }; | |
8597 | ||
5eb8189c RD |
8598 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8599 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8600 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8602 | } |
5eb8189c RD |
8603 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8604 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
10044bf1 | 8605 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8606 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
10044bf1 RD |
8607 | } |
8608 | if (!argp2) { | |
5eb8189c | 8609 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
10044bf1 | 8610 | } |
5eb8189c | 8611 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
10044bf1 RD |
8612 | { |
8613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8614 | (arg1)->OnPaneButton(*arg2); | |
8615 | wxPyEndAllowThreads(__tstate); | |
8616 | if (PyErr_Occurred()) SWIG_fail; | |
8617 | } | |
8618 | resultobj = SWIG_Py_Void(); | |
8619 | return resultobj; | |
8620 | fail: | |
8621 | return NULL; | |
8622 | } | |
8623 | ||
8624 | ||
5eb8189c | 8625 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
8626 | PyObject *obj; |
8627 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8628 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
10044bf1 RD |
8629 | return SWIG_Py_Void(); |
8630 | } | |
8631 | ||
5eb8189c | 8632 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
8633 | return SWIG_Python_InitShadowInstance(args); |
8634 | } | |
8635 | ||
5eb8189c | 8636 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8637 | PyObject *resultobj = 0; |
8638 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8639 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8640 | int val1 ; |
8641 | int ecode1 = 0 ; | |
8642 | PyObject * obj0 = 0 ; | |
8643 | char * kwnames[] = { | |
8644 | (char *) "type", NULL | |
8645 | }; | |
8646 | ||
5eb8189c | 8647 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8648 | if (obj0) { |
8649 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8650 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8651 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8652 | } |
8653 | arg1 = static_cast< wxEventType >(val1); | |
8654 | } | |
8655 | { | |
8656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8657 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8658 | wxPyEndAllowThreads(__tstate); |
8659 | if (PyErr_Occurred()) SWIG_fail; | |
8660 | } | |
5eb8189c | 8661 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8662 | return resultobj; |
8663 | fail: | |
8664 | return NULL; | |
8665 | } | |
8666 | ||
8667 | ||
5eb8189c | 8668 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8669 | PyObject *resultobj = 0; |
5eb8189c | 8670 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8671 | wxEvent *result = 0 ; |
8672 | void *argp1 = 0 ; | |
8673 | int res1 = 0 ; | |
8674 | PyObject *swig_obj[1] ; | |
8675 | ||
8676 | if (!args) SWIG_fail; | |
8677 | swig_obj[0] = args; | |
5eb8189c | 8678 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8679 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8680 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8681 | } |
5eb8189c | 8682 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8683 | { |
8684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8685 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8686 | wxPyEndAllowThreads(__tstate); |
8687 | if (PyErr_Occurred()) SWIG_fail; | |
8688 | } | |
8689 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8690 | return resultobj; | |
8691 | fail: | |
8692 | return NULL; | |
8693 | } | |
8694 | ||
8695 | ||
eccab1a7 RD |
8696 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8697 | PyObject *resultobj = 0; | |
8698 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8699 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
8700 | void *argp1 = 0 ; | |
8701 | int res1 = 0 ; | |
8702 | void *argp2 = 0 ; | |
8703 | int res2 = 0 ; | |
8704 | PyObject * obj0 = 0 ; | |
8705 | PyObject * obj1 = 0 ; | |
8706 | char * kwnames[] = { | |
8707 | (char *) "self",(char *) "mgr", NULL | |
8708 | }; | |
8709 | ||
8710 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
8711 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8712 | if (!SWIG_IsOK(res1)) { | |
8713 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
8714 | } | |
8715 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8716 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8717 | if (!SWIG_IsOK(res2)) { | |
8718 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
8719 | } | |
8720 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
8721 | { | |
8722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8723 | (arg1)->SetManager(arg2); | |
8724 | wxPyEndAllowThreads(__tstate); | |
8725 | if (PyErr_Occurred()) SWIG_fail; | |
8726 | } | |
8727 | resultobj = SWIG_Py_Void(); | |
8728 | return resultobj; | |
8729 | fail: | |
8730 | return NULL; | |
8731 | } | |
8732 | ||
8733 | ||
5eb8189c | 8734 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8735 | PyObject *resultobj = 0; |
5eb8189c RD |
8736 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8737 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8738 | void *argp1 = 0 ; |
8739 | int res1 = 0 ; | |
8740 | void *argp2 = 0 ; | |
8741 | int res2 = 0 ; | |
8742 | PyObject * obj0 = 0 ; | |
8743 | PyObject * obj1 = 0 ; | |
8744 | char * kwnames[] = { | |
8745 | (char *) "self",(char *) "p", NULL | |
8746 | }; | |
8747 | ||
5eb8189c RD |
8748 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8749 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8750 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8751 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8752 | } |
5eb8189c RD |
8753 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8754 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8755 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8756 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8757 | } |
5eb8189c | 8758 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8759 | { |
8760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8761 | (arg1)->SetPane(arg2); | |
8762 | wxPyEndAllowThreads(__tstate); | |
8763 | if (PyErr_Occurred()) SWIG_fail; | |
8764 | } | |
8765 | resultobj = SWIG_Py_Void(); | |
8766 | return resultobj; | |
8767 | fail: | |
8768 | return NULL; | |
8769 | } | |
8770 | ||
8771 | ||
5eb8189c | 8772 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8773 | PyObject *resultobj = 0; |
5eb8189c | 8774 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8775 | int arg2 ; |
8776 | void *argp1 = 0 ; | |
8777 | int res1 = 0 ; | |
8778 | int val2 ; | |
8779 | int ecode2 = 0 ; | |
8780 | PyObject * obj0 = 0 ; | |
8781 | PyObject * obj1 = 0 ; | |
8782 | char * kwnames[] = { | |
8783 | (char *) "self",(char *) "b", NULL | |
8784 | }; | |
8785 | ||
5eb8189c RD |
8786 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8787 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8788 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8789 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8790 | } |
5eb8189c | 8791 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8792 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8793 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8794 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8795 | } |
8796 | arg2 = static_cast< int >(val2); | |
8797 | { | |
8798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8799 | (arg1)->SetButton(arg2); | |
8800 | wxPyEndAllowThreads(__tstate); | |
8801 | if (PyErr_Occurred()) SWIG_fail; | |
8802 | } | |
8803 | resultobj = SWIG_Py_Void(); | |
8804 | return resultobj; | |
8805 | fail: | |
8806 | return NULL; | |
8807 | } | |
8808 | ||
8809 | ||
5eb8189c | 8810 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8811 | PyObject *resultobj = 0; |
5eb8189c | 8812 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8813 | wxDC *arg2 = (wxDC *) 0 ; |
8814 | void *argp1 = 0 ; | |
8815 | int res1 = 0 ; | |
8816 | void *argp2 = 0 ; | |
8817 | int res2 = 0 ; | |
8818 | PyObject * obj0 = 0 ; | |
8819 | PyObject * obj1 = 0 ; | |
8820 | char * kwnames[] = { | |
8821 | (char *) "self",(char *) "pdc", NULL | |
8822 | }; | |
8823 | ||
5eb8189c RD |
8824 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8825 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8826 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8827 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8828 | } |
5eb8189c | 8829 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8830 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8831 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8832 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8833 | } |
8834 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8835 | { | |
8836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8837 | (arg1)->SetDC(arg2); | |
8838 | wxPyEndAllowThreads(__tstate); | |
8839 | if (PyErr_Occurred()) SWIG_fail; | |
8840 | } | |
8841 | resultobj = SWIG_Py_Void(); | |
8842 | return resultobj; | |
8843 | fail: | |
8844 | return NULL; | |
8845 | } | |
8846 | ||
8847 | ||
eccab1a7 RD |
8848 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8849 | PyObject *resultobj = 0; | |
8850 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8851 | wxAuiManager *result = 0 ; | |
8852 | void *argp1 = 0 ; | |
8853 | int res1 = 0 ; | |
8854 | PyObject *swig_obj[1] ; | |
8855 | ||
8856 | if (!args) SWIG_fail; | |
8857 | swig_obj[0] = args; | |
8858 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8859 | if (!SWIG_IsOK(res1)) { | |
8860 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); | |
8861 | } | |
8862 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8863 | { | |
8864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8865 | result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager(); | |
8866 | wxPyEndAllowThreads(__tstate); | |
8867 | if (PyErr_Occurred()) SWIG_fail; | |
8868 | } | |
8869 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8870 | return resultobj; | |
8871 | fail: | |
8872 | return NULL; | |
8873 | } | |
8874 | ||
8875 | ||
5eb8189c | 8876 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8877 | PyObject *resultobj = 0; |
5eb8189c RD |
8878 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8879 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8880 | void *argp1 = 0 ; |
8881 | int res1 = 0 ; | |
8882 | PyObject *swig_obj[1] ; | |
8883 | ||
8884 | if (!args) SWIG_fail; | |
8885 | swig_obj[0] = args; | |
5eb8189c | 8886 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8887 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8888 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8889 | } |
5eb8189c | 8890 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8891 | { |
8892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8893 | result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane(); |
27e45892 RD |
8894 | wxPyEndAllowThreads(__tstate); |
8895 | if (PyErr_Occurred()) SWIG_fail; | |
8896 | } | |
5eb8189c | 8897 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8898 | return resultobj; |
8899 | fail: | |
8900 | return NULL; | |
8901 | } | |
8902 | ||
8903 | ||
5eb8189c | 8904 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8905 | PyObject *resultobj = 0; |
5eb8189c | 8906 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8907 | int result; |
8908 | void *argp1 = 0 ; | |
8909 | int res1 = 0 ; | |
8910 | PyObject *swig_obj[1] ; | |
8911 | ||
8912 | if (!args) SWIG_fail; | |
8913 | swig_obj[0] = args; | |
5eb8189c | 8914 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8915 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8916 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8917 | } |
5eb8189c | 8918 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8919 | { |
8920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8921 | result = (int)((wxAuiManagerEvent const *)arg1)->GetButton(); |
27e45892 RD |
8922 | wxPyEndAllowThreads(__tstate); |
8923 | if (PyErr_Occurred()) SWIG_fail; | |
8924 | } | |
8925 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8926 | return resultobj; | |
8927 | fail: | |
8928 | return NULL; | |
8929 | } | |
8930 | ||
8931 | ||
5eb8189c | 8932 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8933 | PyObject *resultobj = 0; |
5eb8189c | 8934 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8935 | wxDC *result = 0 ; |
8936 | void *argp1 = 0 ; | |
8937 | int res1 = 0 ; | |
8938 | PyObject *swig_obj[1] ; | |
8939 | ||
8940 | if (!args) SWIG_fail; | |
8941 | swig_obj[0] = args; | |
5eb8189c | 8942 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8943 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
81f5836b | 8945 | } |
5eb8189c | 8946 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8947 | { |
8948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8949 | result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC(); |
81f5836b RD |
8950 | wxPyEndAllowThreads(__tstate); |
8951 | if (PyErr_Occurred()) SWIG_fail; | |
8952 | } | |
8953 | { | |
8954 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8955 | } | |
8956 | return resultobj; | |
8957 | fail: | |
8958 | return NULL; | |
8959 | } | |
8960 | ||
8961 | ||
5eb8189c | 8962 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8963 | PyObject *resultobj = 0; |
5eb8189c | 8964 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8965 | bool arg2 = (bool) true ; |
8966 | void *argp1 = 0 ; | |
8967 | int res1 = 0 ; | |
8968 | bool val2 ; | |
8969 | int ecode2 = 0 ; | |
8970 | PyObject * obj0 = 0 ; | |
8971 | PyObject * obj1 = 0 ; | |
8972 | char * kwnames[] = { | |
8973 | (char *) "self",(char *) "veto", NULL | |
8974 | }; | |
8975 | ||
5eb8189c RD |
8976 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8977 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8978 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8979 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8980 | } |
5eb8189c | 8981 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8982 | if (obj1) { |
8983 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8984 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8985 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8986 | } |
8987 | arg2 = static_cast< bool >(val2); | |
8988 | } | |
8989 | { | |
8990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8991 | (arg1)->Veto(arg2); | |
8992 | wxPyEndAllowThreads(__tstate); | |
8993 | if (PyErr_Occurred()) SWIG_fail; | |
8994 | } | |
8995 | resultobj = SWIG_Py_Void(); | |
8996 | return resultobj; | |
8997 | fail: | |
8998 | return NULL; | |
8999 | } | |
9000 | ||
9001 | ||
5eb8189c | 9002 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9003 | PyObject *resultobj = 0; |
5eb8189c | 9004 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9005 | bool result; |
9006 | void *argp1 = 0 ; | |
9007 | int res1 = 0 ; | |
9008 | PyObject *swig_obj[1] ; | |
9009 | ||
9010 | if (!args) SWIG_fail; | |
9011 | swig_obj[0] = args; | |
5eb8189c | 9012 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9013 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9015 | } |
5eb8189c | 9016 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9017 | { |
9018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9019 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
9020 | wxPyEndAllowThreads(__tstate); |
9021 | if (PyErr_Occurred()) SWIG_fail; | |
9022 | } | |
9023 | { | |
9024 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9025 | } | |
9026 | return resultobj; | |
9027 | fail: | |
9028 | return NULL; | |
9029 | } | |
9030 | ||
9031 | ||
5eb8189c | 9032 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 9033 | PyObject *resultobj = 0; |
5eb8189c | 9034 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9035 | bool arg2 ; |
9036 | void *argp1 = 0 ; | |
9037 | int res1 = 0 ; | |
9038 | bool val2 ; | |
9039 | int ecode2 = 0 ; | |
9040 | PyObject * obj0 = 0 ; | |
9041 | PyObject * obj1 = 0 ; | |
9042 | char * kwnames[] = { | |
9043 | (char *) "self",(char *) "can_veto", NULL | |
9044 | }; | |
9045 | ||
5eb8189c RD |
9046 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
9047 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9048 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9049 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9050 | } |
5eb8189c | 9051 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9052 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
9053 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9054 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9055 | } |
9056 | arg2 = static_cast< bool >(val2); | |
9057 | { | |
9058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9059 | (arg1)->SetCanVeto(arg2); | |
9060 | wxPyEndAllowThreads(__tstate); | |
9061 | if (PyErr_Occurred()) SWIG_fail; | |
9062 | } | |
9063 | resultobj = SWIG_Py_Void(); | |
9064 | return resultobj; | |
9065 | fail: | |
9066 | return NULL; | |
9067 | } | |
9068 | ||
9069 | ||
5eb8189c | 9070 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9071 | PyObject *resultobj = 0; |
5eb8189c | 9072 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9073 | bool result; |
9074 | void *argp1 = 0 ; | |
9075 | int res1 = 0 ; | |
9076 | PyObject *swig_obj[1] ; | |
9077 | ||
9078 | if (!args) SWIG_fail; | |
9079 | swig_obj[0] = args; | |
5eb8189c | 9080 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9081 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9083 | } |
5eb8189c | 9084 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9085 | { |
9086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9087 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
9088 | wxPyEndAllowThreads(__tstate); |
9089 | if (PyErr_Occurred()) SWIG_fail; | |
9090 | } | |
9091 | { | |
9092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9093 | } | |
9094 | return resultobj; | |
9095 | fail: | |
9096 | return NULL; | |
9097 | } | |
9098 | ||
9099 | ||
eccab1a7 RD |
9100 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9101 | PyObject *resultobj = 0; | |
9102 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9103 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
9104 | void *argp1 = 0 ; | |
9105 | int res1 = 0 ; | |
9106 | void *argp2 = 0 ; | |
9107 | int res2 = 0 ; | |
9108 | PyObject *swig_obj[2] ; | |
9109 | ||
9110 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail; | |
9111 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9112 | if (!SWIG_IsOK(res1)) { | |
9113 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9114 | } | |
9115 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9116 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); | |
9117 | if (!SWIG_IsOK(res2)) { | |
9118 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
9119 | } | |
9120 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
9121 | if (arg1) (arg1)->manager = arg2; | |
9122 | ||
9123 | resultobj = SWIG_Py_Void(); | |
9124 | return resultobj; | |
9125 | fail: | |
9126 | return NULL; | |
9127 | } | |
9128 | ||
9129 | ||
9130 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9131 | PyObject *resultobj = 0; | |
9132 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9133 | wxAuiManager *result = 0 ; | |
9134 | void *argp1 = 0 ; | |
9135 | int res1 = 0 ; | |
9136 | PyObject *swig_obj[1] ; | |
9137 | ||
9138 | if (!args) SWIG_fail; | |
9139 | swig_obj[0] = args; | |
9140 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9141 | if (!SWIG_IsOK(res1)) { | |
9142 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9143 | } | |
9144 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9145 | result = (wxAuiManager *) ((arg1)->manager); | |
9146 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9147 | return resultobj; | |
9148 | fail: | |
9149 | return NULL; | |
9150 | } | |
9151 | ||
9152 | ||
5eb8189c | 9153 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9154 | PyObject *resultobj = 0; |
5eb8189c RD |
9155 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9156 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9157 | void *argp1 = 0 ; |
9158 | int res1 = 0 ; | |
9159 | void *argp2 = 0 ; | |
9160 | int res2 = 0 ; | |
9161 | PyObject *swig_obj[2] ; | |
9162 | ||
5eb8189c RD |
9163 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
9164 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9165 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9166 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9167 | } |
5eb8189c RD |
9168 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9169 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9170 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9171 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9172 | } |
5eb8189c | 9173 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9174 | if (arg1) (arg1)->pane = arg2; |
9175 | ||
9176 | resultobj = SWIG_Py_Void(); | |
9177 | return resultobj; | |
9178 | fail: | |
9179 | return NULL; | |
9180 | } | |
9181 | ||
9182 | ||
5eb8189c | 9183 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9184 | PyObject *resultobj = 0; |
5eb8189c RD |
9185 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9186 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9187 | void *argp1 = 0 ; |
9188 | int res1 = 0 ; | |
9189 | PyObject *swig_obj[1] ; | |
9190 | ||
9191 | if (!args) SWIG_fail; | |
9192 | swig_obj[0] = args; | |
5eb8189c | 9193 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9194 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9196 | } |
5eb8189c RD |
9197 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9198 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
9199 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
9200 | return resultobj; |
9201 | fail: | |
9202 | return NULL; | |
9203 | } | |
9204 | ||
9205 | ||
5eb8189c | 9206 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9207 | PyObject *resultobj = 0; |
5eb8189c | 9208 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9209 | int arg2 ; |
9210 | void *argp1 = 0 ; | |
9211 | int res1 = 0 ; | |
9212 | int val2 ; | |
9213 | int ecode2 = 0 ; | |
9214 | PyObject *swig_obj[2] ; | |
9215 | ||
5eb8189c RD |
9216 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
9217 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9218 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9219 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9220 | } |
5eb8189c | 9221 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9222 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9223 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9224 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9225 | } |
9226 | arg2 = static_cast< int >(val2); | |
9227 | if (arg1) (arg1)->button = arg2; | |
9228 | ||
9229 | resultobj = SWIG_Py_Void(); | |
9230 | return resultobj; | |
9231 | fail: | |
9232 | return NULL; | |
9233 | } | |
9234 | ||
9235 | ||
5eb8189c | 9236 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9237 | PyObject *resultobj = 0; |
5eb8189c | 9238 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9239 | int result; |
9240 | void *argp1 = 0 ; | |
9241 | int res1 = 0 ; | |
9242 | PyObject *swig_obj[1] ; | |
9243 | ||
9244 | if (!args) SWIG_fail; | |
9245 | swig_obj[0] = args; | |
5eb8189c | 9246 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9247 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9248 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9249 | } |
5eb8189c | 9250 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9251 | result = (int) ((arg1)->button); |
9252 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9253 | return resultobj; | |
9254 | fail: | |
9255 | return NULL; | |
9256 | } | |
9257 | ||
9258 | ||
5eb8189c | 9259 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9260 | PyObject *resultobj = 0; |
5eb8189c | 9261 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9262 | bool arg2 ; |
9263 | void *argp1 = 0 ; | |
9264 | int res1 = 0 ; | |
9265 | bool val2 ; | |
9266 | int ecode2 = 0 ; | |
9267 | PyObject *swig_obj[2] ; | |
9268 | ||
5eb8189c RD |
9269 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9270 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9271 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9273 | } |
5eb8189c | 9274 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9275 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9276 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9277 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9278 | } |
9279 | arg2 = static_cast< bool >(val2); | |
9280 | if (arg1) (arg1)->veto_flag = arg2; | |
9281 | ||
9282 | resultobj = SWIG_Py_Void(); | |
9283 | return resultobj; | |
9284 | fail: | |
9285 | return NULL; | |
9286 | } | |
9287 | ||
9288 | ||
5eb8189c | 9289 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9290 | PyObject *resultobj = 0; |
5eb8189c | 9291 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9292 | bool result; |
9293 | void *argp1 = 0 ; | |
9294 | int res1 = 0 ; | |
9295 | PyObject *swig_obj[1] ; | |
9296 | ||
9297 | if (!args) SWIG_fail; | |
9298 | swig_obj[0] = args; | |
5eb8189c | 9299 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9300 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9301 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9302 | } |
5eb8189c | 9303 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9304 | result = (bool) ((arg1)->veto_flag); |
9305 | { | |
9306 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9307 | } | |
9308 | return resultobj; | |
9309 | fail: | |
9310 | return NULL; | |
9311 | } | |
9312 | ||
9313 | ||
5eb8189c | 9314 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9315 | PyObject *resultobj = 0; |
5eb8189c | 9316 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9317 | bool arg2 ; |
9318 | void *argp1 = 0 ; | |
9319 | int res1 = 0 ; | |
9320 | bool val2 ; | |
9321 | int ecode2 = 0 ; | |
9322 | PyObject *swig_obj[2] ; | |
9323 | ||
5eb8189c RD |
9324 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9325 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9326 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9327 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9328 | } |
5eb8189c | 9329 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9330 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9331 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9332 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9333 | } |
9334 | arg2 = static_cast< bool >(val2); | |
9335 | if (arg1) (arg1)->canveto_flag = arg2; | |
9336 | ||
9337 | resultobj = SWIG_Py_Void(); | |
9338 | return resultobj; | |
9339 | fail: | |
9340 | return NULL; | |
9341 | } | |
9342 | ||
9343 | ||
5eb8189c | 9344 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9345 | PyObject *resultobj = 0; |
5eb8189c | 9346 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9347 | bool result; |
9348 | void *argp1 = 0 ; | |
9349 | int res1 = 0 ; | |
9350 | PyObject *swig_obj[1] ; | |
9351 | ||
9352 | if (!args) SWIG_fail; | |
9353 | swig_obj[0] = args; | |
5eb8189c | 9354 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9355 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9357 | } |
5eb8189c | 9358 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9359 | result = (bool) ((arg1)->canveto_flag); |
9360 | { | |
9361 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9362 | } | |
9363 | return resultobj; | |
9364 | fail: | |
9365 | return NULL; | |
9366 | } | |
9367 | ||
9368 | ||
5eb8189c | 9369 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9370 | PyObject *resultobj = 0; |
5eb8189c | 9371 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9372 | wxDC *arg2 = (wxDC *) 0 ; |
9373 | void *argp1 = 0 ; | |
9374 | int res1 = 0 ; | |
9375 | void *argp2 = 0 ; | |
9376 | int res2 = 0 ; | |
9377 | PyObject *swig_obj[2] ; | |
9378 | ||
5eb8189c RD |
9379 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9381 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9383 | } |
5eb8189c | 9384 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9385 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9386 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9387 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9388 | } |
9389 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9390 | if (arg1) (arg1)->dc = arg2; | |
9391 | ||
9392 | resultobj = SWIG_Py_Void(); | |
9393 | return resultobj; | |
9394 | fail: | |
9395 | return NULL; | |
9396 | } | |
9397 | ||
9398 | ||
5eb8189c | 9399 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9400 | PyObject *resultobj = 0; |
5eb8189c | 9401 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9402 | wxDC *result = 0 ; |
9403 | void *argp1 = 0 ; | |
9404 | int res1 = 0 ; | |
9405 | PyObject *swig_obj[1] ; | |
9406 | ||
9407 | if (!args) SWIG_fail; | |
9408 | swig_obj[0] = args; | |
5eb8189c | 9409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9410 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9412 | } |
5eb8189c | 9413 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9414 | result = (wxDC *) ((arg1)->dc); |
9415 | { | |
9416 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9417 | } | |
9418 | return resultobj; | |
9419 | fail: | |
9420 | return NULL; | |
9421 | } | |
9422 | ||
9423 | ||
5eb8189c | 9424 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9425 | PyObject *obj; |
9426 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9427 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9428 | return SWIG_Py_Void(); |
9429 | } | |
9430 | ||
5eb8189c | 9431 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9432 | return SWIG_Python_InitShadowInstance(args); |
9433 | } | |
9434 | ||
5eb8189c | 9435 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9436 | PyObject *resultobj = 0; |
5eb8189c | 9437 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9438 | |
5eb8189c | 9439 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9440 | { |
9441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9442 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9443 | wxPyEndAllowThreads(__tstate); |
9444 | if (PyErr_Occurred()) SWIG_fail; | |
9445 | } | |
5eb8189c | 9446 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9447 | return resultobj; |
9448 | fail: | |
9449 | return NULL; | |
9450 | } | |
9451 | ||
9452 | ||
5eb8189c | 9453 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9454 | PyObject *resultobj = 0; |
5eb8189c | 9455 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9456 | bool result; |
9457 | void *argp1 = 0 ; | |
9458 | int res1 = 0 ; | |
9459 | PyObject *swig_obj[1] ; | |
9460 | ||
9461 | if (!args) SWIG_fail; | |
9462 | swig_obj[0] = args; | |
5eb8189c | 9463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9464 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9466 | } |
5eb8189c | 9467 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9468 | { |
9469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9470 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9471 | wxPyEndAllowThreads(__tstate); |
9472 | if (PyErr_Occurred()) SWIG_fail; | |
9473 | } | |
9474 | { | |
9475 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9476 | } | |
9477 | return resultobj; | |
9478 | fail: | |
9479 | return NULL; | |
9480 | } | |
9481 | ||
9482 | ||
5eb8189c | 9483 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9484 | PyObject *resultobj = 0; |
5eb8189c | 9485 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9486 | bool result; |
9487 | void *argp1 = 0 ; | |
9488 | int res1 = 0 ; | |
9489 | PyObject *swig_obj[1] ; | |
9490 | ||
9491 | if (!args) SWIG_fail; | |
9492 | swig_obj[0] = args; | |
5eb8189c | 9493 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9494 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9496 | } |
5eb8189c | 9497 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9498 | { |
9499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9500 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9501 | wxPyEndAllowThreads(__tstate); |
9502 | if (PyErr_Occurred()) SWIG_fail; | |
9503 | } | |
9504 | { | |
9505 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9506 | } | |
9507 | return resultobj; | |
9508 | fail: | |
9509 | return NULL; | |
9510 | } | |
9511 | ||
9512 | ||
5eb8189c | 9513 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9514 | PyObject *resultobj = 0; |
5eb8189c | 9515 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9516 | bool result; |
9517 | void *argp1 = 0 ; | |
9518 | int res1 = 0 ; | |
9519 | PyObject *swig_obj[1] ; | |
9520 | ||
9521 | if (!args) SWIG_fail; | |
9522 | swig_obj[0] = args; | |
5eb8189c | 9523 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9524 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9525 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9526 | } |
5eb8189c | 9527 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9528 | { |
9529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9530 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9531 | wxPyEndAllowThreads(__tstate); |
9532 | if (PyErr_Occurred()) SWIG_fail; | |
9533 | } | |
9534 | { | |
9535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9536 | } | |
9537 | return resultobj; | |
9538 | fail: | |
9539 | return NULL; | |
9540 | } | |
9541 | ||
9542 | ||
5eb8189c | 9543 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9544 | PyObject *resultobj = 0; |
5eb8189c RD |
9545 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9546 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9547 | void *argp1 = 0 ; |
9548 | int res1 = 0 ; | |
9549 | void *argp2 ; | |
9550 | int res2 = 0 ; | |
9551 | PyObject *swig_obj[2] ; | |
9552 | ||
5eb8189c RD |
9553 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9554 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9555 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9557 | } |
5eb8189c | 9558 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9559 | { |
5eb8189c | 9560 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9561 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9562 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9563 | } |
9564 | if (!argp2) { | |
5eb8189c | 9565 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9566 | } else { |
5eb8189c | 9567 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9568 | arg2 = *temp; |
9569 | if (SWIG_IsNewObj(res2)) delete temp; | |
9570 | } | |
9571 | } | |
9572 | if (arg1) (arg1)->panes = arg2; | |
9573 | ||
9574 | resultobj = SWIG_Py_Void(); | |
9575 | return resultobj; | |
9576 | fail: | |
9577 | return NULL; | |
9578 | } | |
9579 | ||
9580 | ||
5eb8189c | 9581 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9582 | PyObject *resultobj = 0; |
5eb8189c RD |
9583 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9584 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9585 | void *argp1 = 0 ; |
9586 | int res1 = 0 ; | |
9587 | PyObject *swig_obj[1] ; | |
9588 | ||
9589 | if (!args) SWIG_fail; | |
9590 | swig_obj[0] = args; | |
5eb8189c | 9591 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9592 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9593 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9594 | } |
5eb8189c | 9595 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9596 | result = ((arg1)->panes); |
5eb8189c | 9597 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9598 | return resultobj; |
9599 | fail: | |
9600 | return NULL; | |
9601 | } | |
9602 | ||
9603 | ||
5eb8189c | 9604 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9605 | PyObject *resultobj = 0; |
5eb8189c | 9606 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9607 | wxRect *arg2 = (wxRect *) 0 ; |
9608 | void *argp1 = 0 ; | |
9609 | int res1 = 0 ; | |
9610 | void *argp2 = 0 ; | |
9611 | int res2 = 0 ; | |
9612 | PyObject *swig_obj[2] ; | |
9613 | ||
5eb8189c RD |
9614 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9615 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9616 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9618 | } |
5eb8189c | 9619 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9620 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9621 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9622 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9623 | } |
9624 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9625 | if (arg1) (arg1)->rect = *arg2; | |
9626 | ||
9627 | resultobj = SWIG_Py_Void(); | |
9628 | return resultobj; | |
9629 | fail: | |
9630 | return NULL; | |
9631 | } | |
9632 | ||
9633 | ||
5eb8189c | 9634 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9635 | PyObject *resultobj = 0; |
5eb8189c | 9636 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9637 | wxRect *result = 0 ; |
9638 | void *argp1 = 0 ; | |
9639 | int res1 = 0 ; | |
9640 | PyObject *swig_obj[1] ; | |
9641 | ||
9642 | if (!args) SWIG_fail; | |
9643 | swig_obj[0] = args; | |
5eb8189c | 9644 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9645 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9646 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9647 | } |
5eb8189c | 9648 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9649 | result = (wxRect *)& ((arg1)->rect); |
9650 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9651 | return resultobj; | |
9652 | fail: | |
9653 | return NULL; | |
9654 | } | |
9655 | ||
9656 | ||
5eb8189c | 9657 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9658 | PyObject *resultobj = 0; |
5eb8189c | 9659 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9660 | int arg2 ; |
9661 | void *argp1 = 0 ; | |
9662 | int res1 = 0 ; | |
9663 | int val2 ; | |
9664 | int ecode2 = 0 ; | |
9665 | PyObject *swig_obj[2] ; | |
9666 | ||
5eb8189c RD |
9667 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9668 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9669 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9670 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9671 | } |
5eb8189c | 9672 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9673 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9674 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9675 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9676 | } |
9677 | arg2 = static_cast< int >(val2); | |
9678 | if (arg1) (arg1)->dock_direction = arg2; | |
9679 | ||
9680 | resultobj = SWIG_Py_Void(); | |
9681 | return resultobj; | |
9682 | fail: | |
9683 | return NULL; | |
9684 | } | |
9685 | ||
9686 | ||
5eb8189c | 9687 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9688 | PyObject *resultobj = 0; |
5eb8189c | 9689 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9690 | int result; |
9691 | void *argp1 = 0 ; | |
9692 | int res1 = 0 ; | |
9693 | PyObject *swig_obj[1] ; | |
9694 | ||
9695 | if (!args) SWIG_fail; | |
9696 | swig_obj[0] = args; | |
5eb8189c | 9697 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9698 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9699 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9700 | } |
5eb8189c | 9701 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9702 | result = (int) ((arg1)->dock_direction); |
9703 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9704 | return resultobj; | |
9705 | fail: | |
9706 | return NULL; | |
9707 | } | |
9708 | ||
9709 | ||
5eb8189c | 9710 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9711 | PyObject *resultobj = 0; |
5eb8189c | 9712 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9713 | int arg2 ; |
9714 | void *argp1 = 0 ; | |
9715 | int res1 = 0 ; | |
9716 | int val2 ; | |
9717 | int ecode2 = 0 ; | |
9718 | PyObject *swig_obj[2] ; | |
9719 | ||
5eb8189c RD |
9720 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9721 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9722 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9723 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9724 | } |
5eb8189c | 9725 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9726 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9727 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9728 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9729 | } |
9730 | arg2 = static_cast< int >(val2); | |
9731 | if (arg1) (arg1)->dock_layer = arg2; | |
9732 | ||
9733 | resultobj = SWIG_Py_Void(); | |
9734 | return resultobj; | |
9735 | fail: | |
9736 | return NULL; | |
9737 | } | |
9738 | ||
9739 | ||
5eb8189c | 9740 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9741 | PyObject *resultobj = 0; |
5eb8189c | 9742 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9743 | int result; |
9744 | void *argp1 = 0 ; | |
9745 | int res1 = 0 ; | |
9746 | PyObject *swig_obj[1] ; | |
9747 | ||
9748 | if (!args) SWIG_fail; | |
9749 | swig_obj[0] = args; | |
5eb8189c | 9750 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9751 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9752 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9753 | } |
5eb8189c | 9754 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9755 | result = (int) ((arg1)->dock_layer); |
9756 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9757 | return resultobj; | |
9758 | fail: | |
9759 | return NULL; | |
9760 | } | |
9761 | ||
9762 | ||
5eb8189c | 9763 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9764 | PyObject *resultobj = 0; |
5eb8189c | 9765 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9766 | int arg2 ; |
9767 | void *argp1 = 0 ; | |
9768 | int res1 = 0 ; | |
9769 | int val2 ; | |
9770 | int ecode2 = 0 ; | |
9771 | PyObject *swig_obj[2] ; | |
9772 | ||
5eb8189c RD |
9773 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9774 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9775 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9777 | } |
5eb8189c | 9778 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9779 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9780 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9781 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9782 | } |
9783 | arg2 = static_cast< int >(val2); | |
9784 | if (arg1) (arg1)->dock_row = arg2; | |
9785 | ||
9786 | resultobj = SWIG_Py_Void(); | |
9787 | return resultobj; | |
9788 | fail: | |
9789 | return NULL; | |
9790 | } | |
9791 | ||
9792 | ||
5eb8189c | 9793 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9794 | PyObject *resultobj = 0; |
5eb8189c | 9795 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9796 | int result; |
9797 | void *argp1 = 0 ; | |
9798 | int res1 = 0 ; | |
9799 | PyObject *swig_obj[1] ; | |
9800 | ||
9801 | if (!args) SWIG_fail; | |
9802 | swig_obj[0] = args; | |
5eb8189c | 9803 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9804 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9805 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9806 | } |
5eb8189c | 9807 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9808 | result = (int) ((arg1)->dock_row); |
9809 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9810 | return resultobj; | |
9811 | fail: | |
9812 | return NULL; | |
9813 | } | |
9814 | ||
9815 | ||
5eb8189c | 9816 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9817 | PyObject *resultobj = 0; |
5eb8189c | 9818 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9819 | int arg2 ; |
9820 | void *argp1 = 0 ; | |
9821 | int res1 = 0 ; | |
9822 | int val2 ; | |
9823 | int ecode2 = 0 ; | |
9824 | PyObject *swig_obj[2] ; | |
9825 | ||
5eb8189c RD |
9826 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9827 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9828 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9829 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9830 | } |
5eb8189c | 9831 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9832 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9833 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9834 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9835 | } |
9836 | arg2 = static_cast< int >(val2); | |
9837 | if (arg1) (arg1)->size = arg2; | |
9838 | ||
9839 | resultobj = SWIG_Py_Void(); | |
9840 | return resultobj; | |
9841 | fail: | |
9842 | return NULL; | |
9843 | } | |
9844 | ||
9845 | ||
5eb8189c | 9846 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9847 | PyObject *resultobj = 0; |
5eb8189c | 9848 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9849 | int result; |
9850 | void *argp1 = 0 ; | |
9851 | int res1 = 0 ; | |
9852 | PyObject *swig_obj[1] ; | |
9853 | ||
9854 | if (!args) SWIG_fail; | |
9855 | swig_obj[0] = args; | |
5eb8189c | 9856 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9857 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9859 | } |
5eb8189c | 9860 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9861 | result = (int) ((arg1)->size); |
9862 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9863 | return resultobj; | |
9864 | fail: | |
9865 | return NULL; | |
9866 | } | |
9867 | ||
9868 | ||
5eb8189c | 9869 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9870 | PyObject *resultobj = 0; |
5eb8189c | 9871 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9872 | int arg2 ; |
9873 | void *argp1 = 0 ; | |
9874 | int res1 = 0 ; | |
9875 | int val2 ; | |
9876 | int ecode2 = 0 ; | |
9877 | PyObject *swig_obj[2] ; | |
9878 | ||
5eb8189c RD |
9879 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9880 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9881 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9882 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9883 | } |
5eb8189c | 9884 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9885 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9886 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9887 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9888 | } |
9889 | arg2 = static_cast< int >(val2); | |
9890 | if (arg1) (arg1)->min_size = arg2; | |
9891 | ||
9892 | resultobj = SWIG_Py_Void(); | |
9893 | return resultobj; | |
9894 | fail: | |
9895 | return NULL; | |
9896 | } | |
9897 | ||
9898 | ||
5eb8189c | 9899 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9900 | PyObject *resultobj = 0; |
5eb8189c | 9901 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9902 | int result; |
9903 | void *argp1 = 0 ; | |
9904 | int res1 = 0 ; | |
9905 | PyObject *swig_obj[1] ; | |
9906 | ||
9907 | if (!args) SWIG_fail; | |
9908 | swig_obj[0] = args; | |
5eb8189c | 9909 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9910 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9912 | } |
5eb8189c | 9913 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9914 | result = (int) ((arg1)->min_size); |
9915 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9916 | return resultobj; | |
9917 | fail: | |
9918 | return NULL; | |
9919 | } | |
9920 | ||
9921 | ||
5eb8189c | 9922 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9923 | PyObject *resultobj = 0; |
5eb8189c | 9924 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9925 | bool arg2 ; |
9926 | void *argp1 = 0 ; | |
9927 | int res1 = 0 ; | |
9928 | bool val2 ; | |
9929 | int ecode2 = 0 ; | |
9930 | PyObject *swig_obj[2] ; | |
9931 | ||
5eb8189c RD |
9932 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9933 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9934 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9936 | } |
5eb8189c | 9937 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9938 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9939 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9940 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9941 | } |
9942 | arg2 = static_cast< bool >(val2); | |
9943 | if (arg1) (arg1)->resizable = arg2; | |
9944 | ||
9945 | resultobj = SWIG_Py_Void(); | |
9946 | return resultobj; | |
9947 | fail: | |
9948 | return NULL; | |
9949 | } | |
9950 | ||
9951 | ||
5eb8189c | 9952 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9953 | PyObject *resultobj = 0; |
5eb8189c | 9954 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9955 | bool result; |
9956 | void *argp1 = 0 ; | |
9957 | int res1 = 0 ; | |
9958 | PyObject *swig_obj[1] ; | |
9959 | ||
9960 | if (!args) SWIG_fail; | |
9961 | swig_obj[0] = args; | |
5eb8189c | 9962 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9963 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9964 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9965 | } |
5eb8189c | 9966 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9967 | result = (bool) ((arg1)->resizable); |
9968 | { | |
9969 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9970 | } | |
9971 | return resultobj; | |
9972 | fail: | |
9973 | return NULL; | |
9974 | } | |
9975 | ||
9976 | ||
5eb8189c | 9977 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9978 | PyObject *resultobj = 0; |
5eb8189c | 9979 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9980 | bool arg2 ; |
9981 | void *argp1 = 0 ; | |
9982 | int res1 = 0 ; | |
9983 | bool val2 ; | |
9984 | int ecode2 = 0 ; | |
9985 | PyObject *swig_obj[2] ; | |
9986 | ||
5eb8189c RD |
9987 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9988 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9989 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9991 | } |
5eb8189c | 9992 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9993 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9994 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9995 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9996 | } |
9997 | arg2 = static_cast< bool >(val2); | |
9998 | if (arg1) (arg1)->toolbar = arg2; | |
9999 | ||
10000 | resultobj = SWIG_Py_Void(); | |
10001 | return resultobj; | |
10002 | fail: | |
10003 | return NULL; | |
10004 | } | |
10005 | ||
10006 | ||
5eb8189c | 10007 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10008 | PyObject *resultobj = 0; |
5eb8189c | 10009 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10010 | bool result; |
10011 | void *argp1 = 0 ; | |
10012 | int res1 = 0 ; | |
10013 | PyObject *swig_obj[1] ; | |
10014 | ||
10015 | if (!args) SWIG_fail; | |
10016 | swig_obj[0] = args; | |
5eb8189c | 10017 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10018 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10019 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10020 | } |
5eb8189c | 10021 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10022 | result = (bool) ((arg1)->toolbar); |
10023 | { | |
10024 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10025 | } | |
10026 | return resultobj; | |
10027 | fail: | |
10028 | return NULL; | |
10029 | } | |
10030 | ||
10031 | ||
5eb8189c | 10032 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10033 | PyObject *resultobj = 0; |
5eb8189c | 10034 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10035 | bool arg2 ; |
10036 | void *argp1 = 0 ; | |
10037 | int res1 = 0 ; | |
10038 | bool val2 ; | |
10039 | int ecode2 = 0 ; | |
10040 | PyObject *swig_obj[2] ; | |
10041 | ||
5eb8189c RD |
10042 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
10043 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10044 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10046 | } |
5eb8189c | 10047 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10048 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10049 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10050 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10051 | } |
10052 | arg2 = static_cast< bool >(val2); | |
10053 | if (arg1) (arg1)->fixed = arg2; | |
10054 | ||
10055 | resultobj = SWIG_Py_Void(); | |
10056 | return resultobj; | |
10057 | fail: | |
10058 | return NULL; | |
10059 | } | |
10060 | ||
10061 | ||
5eb8189c | 10062 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10063 | PyObject *resultobj = 0; |
5eb8189c | 10064 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10065 | bool result; |
10066 | void *argp1 = 0 ; | |
10067 | int res1 = 0 ; | |
10068 | PyObject *swig_obj[1] ; | |
10069 | ||
10070 | if (!args) SWIG_fail; | |
10071 | swig_obj[0] = args; | |
5eb8189c | 10072 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10073 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10075 | } |
5eb8189c | 10076 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10077 | result = (bool) ((arg1)->fixed); |
10078 | { | |
10079 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10080 | } | |
10081 | return resultobj; | |
10082 | fail: | |
10083 | return NULL; | |
10084 | } | |
10085 | ||
10086 | ||
cbdf0fb0 RD |
10087 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10088 | PyObject *resultobj = 0; | |
10089 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10090 | bool arg2 ; | |
10091 | void *argp1 = 0 ; | |
10092 | int res1 = 0 ; | |
10093 | bool val2 ; | |
10094 | int ecode2 = 0 ; | |
10095 | PyObject *swig_obj[2] ; | |
10096 | ||
10097 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_reserved1_set",2,2,swig_obj)) SWIG_fail; | |
10098 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10099 | if (!SWIG_IsOK(res1)) { | |
10100 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10101 | } | |
10102 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10103 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10104 | if (!SWIG_IsOK(ecode2)) { | |
10105 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "2"" of type '" "bool""'"); | |
10106 | } | |
10107 | arg2 = static_cast< bool >(val2); | |
10108 | if (arg1) (arg1)->reserved1 = arg2; | |
10109 | ||
10110 | resultobj = SWIG_Py_Void(); | |
10111 | return resultobj; | |
10112 | fail: | |
10113 | return NULL; | |
10114 | } | |
10115 | ||
10116 | ||
10117 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10118 | PyObject *resultobj = 0; | |
10119 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10120 | bool result; | |
10121 | void *argp1 = 0 ; | |
10122 | int res1 = 0 ; | |
10123 | PyObject *swig_obj[1] ; | |
10124 | ||
10125 | if (!args) SWIG_fail; | |
10126 | swig_obj[0] = args; | |
10127 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10128 | if (!SWIG_IsOK(res1)) { | |
10129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10130 | } | |
10131 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10132 | result = (bool) ((arg1)->reserved1); | |
10133 | { | |
10134 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10135 | } | |
10136 | return resultobj; | |
10137 | fail: | |
10138 | return NULL; | |
10139 | } | |
10140 | ||
10141 | ||
5eb8189c | 10142 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10143 | PyObject *resultobj = 0; |
5eb8189c | 10144 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
10145 | void *argp1 = 0 ; |
10146 | int res1 = 0 ; | |
10147 | PyObject *swig_obj[1] ; | |
10148 | ||
10149 | if (!args) SWIG_fail; | |
10150 | swig_obj[0] = args; | |
5eb8189c | 10151 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10152 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10153 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 10154 | } |
5eb8189c | 10155 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
10156 | { |
10157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10158 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
10159 | |
10160 | wxPyEndAllowThreads(__tstate); | |
10161 | if (PyErr_Occurred()) SWIG_fail; | |
10162 | } | |
10163 | resultobj = SWIG_Py_Void(); | |
10164 | return resultobj; | |
10165 | fail: | |
10166 | return NULL; | |
10167 | } | |
10168 | ||
10169 | ||
5eb8189c | 10170 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10171 | PyObject *obj; |
10172 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10173 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
10174 | return SWIG_Py_Void(); |
10175 | } | |
10176 | ||
5eb8189c | 10177 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10178 | return SWIG_Python_InitShadowInstance(args); |
10179 | } | |
10180 | ||
5eb8189c | 10181 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10182 | PyObject *resultobj = 0; |
5eb8189c | 10183 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10184 | int arg2 ; |
10185 | void *argp1 = 0 ; | |
10186 | int res1 = 0 ; | |
10187 | int val2 ; | |
10188 | int ecode2 = 0 ; | |
10189 | PyObject *swig_obj[2] ; | |
10190 | ||
5eb8189c RD |
10191 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
10192 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10193 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10195 | } |
5eb8189c | 10196 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10197 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10198 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10199 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10200 | } |
10201 | arg2 = static_cast< int >(val2); | |
10202 | if (arg1) (arg1)->type = arg2; | |
10203 | ||
10204 | resultobj = SWIG_Py_Void(); | |
10205 | return resultobj; | |
10206 | fail: | |
10207 | return NULL; | |
10208 | } | |
10209 | ||
10210 | ||
5eb8189c | 10211 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10212 | PyObject *resultobj = 0; |
5eb8189c | 10213 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10214 | int result; |
10215 | void *argp1 = 0 ; | |
10216 | int res1 = 0 ; | |
10217 | PyObject *swig_obj[1] ; | |
10218 | ||
10219 | if (!args) SWIG_fail; | |
10220 | swig_obj[0] = args; | |
5eb8189c | 10221 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10222 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10223 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10224 | } |
5eb8189c | 10225 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10226 | result = (int) ((arg1)->type); |
10227 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10228 | return resultobj; | |
10229 | fail: | |
10230 | return NULL; | |
10231 | } | |
10232 | ||
10233 | ||
5eb8189c | 10234 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10235 | PyObject *resultobj = 0; |
5eb8189c | 10236 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10237 | int arg2 ; |
10238 | void *argp1 = 0 ; | |
10239 | int res1 = 0 ; | |
10240 | int val2 ; | |
10241 | int ecode2 = 0 ; | |
10242 | PyObject *swig_obj[2] ; | |
10243 | ||
5eb8189c RD |
10244 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
10245 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10246 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10247 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10248 | } |
5eb8189c | 10249 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10250 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10251 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10252 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10253 | } |
10254 | arg2 = static_cast< int >(val2); | |
10255 | if (arg1) (arg1)->orientation = arg2; | |
10256 | ||
10257 | resultobj = SWIG_Py_Void(); | |
10258 | return resultobj; | |
10259 | fail: | |
10260 | return NULL; | |
10261 | } | |
10262 | ||
10263 | ||
5eb8189c | 10264 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10265 | PyObject *resultobj = 0; |
5eb8189c | 10266 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10267 | int result; |
10268 | void *argp1 = 0 ; | |
10269 | int res1 = 0 ; | |
10270 | PyObject *swig_obj[1] ; | |
10271 | ||
10272 | if (!args) SWIG_fail; | |
10273 | swig_obj[0] = args; | |
5eb8189c | 10274 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10275 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10277 | } |
5eb8189c | 10278 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10279 | result = (int) ((arg1)->orientation); |
10280 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10281 | return resultobj; | |
10282 | fail: | |
10283 | return NULL; | |
10284 | } | |
10285 | ||
10286 | ||
5eb8189c | 10287 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10288 | PyObject *resultobj = 0; |
5eb8189c RD |
10289 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10290 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10291 | void *argp1 = 0 ; |
10292 | int res1 = 0 ; | |
10293 | void *argp2 = 0 ; | |
10294 | int res2 = 0 ; | |
10295 | PyObject *swig_obj[2] ; | |
10296 | ||
5eb8189c RD |
10297 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10298 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10299 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10301 | } |
5eb8189c RD |
10302 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10303 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10304 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10305 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10306 | } |
5eb8189c | 10307 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10308 | if (arg1) (arg1)->dock = arg2; |
10309 | ||
10310 | resultobj = SWIG_Py_Void(); | |
10311 | return resultobj; | |
10312 | fail: | |
10313 | return NULL; | |
10314 | } | |
10315 | ||
10316 | ||
5eb8189c | 10317 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10318 | PyObject *resultobj = 0; |
5eb8189c RD |
10319 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10320 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10321 | void *argp1 = 0 ; |
10322 | int res1 = 0 ; | |
10323 | PyObject *swig_obj[1] ; | |
10324 | ||
10325 | if (!args) SWIG_fail; | |
10326 | swig_obj[0] = args; | |
5eb8189c | 10327 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10328 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10330 | } |
5eb8189c RD |
10331 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10332 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10333 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10334 | return resultobj; |
10335 | fail: | |
10336 | return NULL; | |
10337 | } | |
10338 | ||
10339 | ||
5eb8189c | 10340 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10341 | PyObject *resultobj = 0; |
5eb8189c RD |
10342 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10343 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10344 | void *argp1 = 0 ; |
10345 | int res1 = 0 ; | |
10346 | void *argp2 = 0 ; | |
10347 | int res2 = 0 ; | |
10348 | PyObject *swig_obj[2] ; | |
10349 | ||
5eb8189c RD |
10350 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10351 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10352 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10354 | } |
5eb8189c RD |
10355 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10356 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10357 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10358 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10359 | } |
5eb8189c | 10360 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10361 | if (arg1) (arg1)->pane = arg2; |
10362 | ||
10363 | resultobj = SWIG_Py_Void(); | |
10364 | return resultobj; | |
10365 | fail: | |
10366 | return NULL; | |
10367 | } | |
10368 | ||
10369 | ||
5eb8189c | 10370 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10371 | PyObject *resultobj = 0; |
5eb8189c RD |
10372 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10373 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10374 | void *argp1 = 0 ; |
10375 | int res1 = 0 ; | |
10376 | PyObject *swig_obj[1] ; | |
10377 | ||
10378 | if (!args) SWIG_fail; | |
10379 | swig_obj[0] = args; | |
5eb8189c | 10380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10381 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10383 | } |
5eb8189c RD |
10384 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10385 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10386 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10387 | return resultobj; |
10388 | fail: | |
10389 | return NULL; | |
10390 | } | |
10391 | ||
10392 | ||
5eb8189c | 10393 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10394 | PyObject *resultobj = 0; |
5eb8189c RD |
10395 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10396 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10397 | void *argp1 = 0 ; |
10398 | int res1 = 0 ; | |
10399 | void *argp2 = 0 ; | |
10400 | int res2 = 0 ; | |
10401 | PyObject *swig_obj[2] ; | |
10402 | ||
5eb8189c RD |
10403 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10404 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10405 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10407 | } |
5eb8189c RD |
10408 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10409 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10410 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10411 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10412 | } |
5eb8189c | 10413 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10414 | if (arg1) (arg1)->button = arg2; |
10415 | ||
10416 | resultobj = SWIG_Py_Void(); | |
10417 | return resultobj; | |
10418 | fail: | |
10419 | return NULL; | |
10420 | } | |
10421 | ||
10422 | ||
5eb8189c | 10423 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10424 | PyObject *resultobj = 0; |
5eb8189c RD |
10425 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10426 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10427 | void *argp1 = 0 ; |
10428 | int res1 = 0 ; | |
10429 | PyObject *swig_obj[1] ; | |
10430 | ||
10431 | if (!args) SWIG_fail; | |
10432 | swig_obj[0] = args; | |
5eb8189c | 10433 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10434 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10435 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10436 | } |
5eb8189c RD |
10437 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10438 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10439 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10440 | return resultobj; |
10441 | fail: | |
10442 | return NULL; | |
10443 | } | |
10444 | ||
10445 | ||
5eb8189c | 10446 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10447 | PyObject *resultobj = 0; |
5eb8189c | 10448 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10449 | wxSizer *arg2 = (wxSizer *) 0 ; |
10450 | void *argp1 = 0 ; | |
10451 | int res1 = 0 ; | |
10452 | void *argp2 = 0 ; | |
10453 | int res2 = 0 ; | |
10454 | PyObject *swig_obj[2] ; | |
10455 | ||
5eb8189c RD |
10456 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10457 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10458 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10460 | } |
5eb8189c | 10461 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10462 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10463 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10464 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10465 | } |
10466 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10467 | if (arg1) (arg1)->cont_sizer = arg2; | |
10468 | ||
10469 | resultobj = SWIG_Py_Void(); | |
10470 | return resultobj; | |
10471 | fail: | |
10472 | return NULL; | |
10473 | } | |
10474 | ||
10475 | ||
5eb8189c | 10476 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10477 | PyObject *resultobj = 0; |
5eb8189c | 10478 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10479 | wxSizer *result = 0 ; |
10480 | void *argp1 = 0 ; | |
10481 | int res1 = 0 ; | |
10482 | PyObject *swig_obj[1] ; | |
10483 | ||
10484 | if (!args) SWIG_fail; | |
10485 | swig_obj[0] = args; | |
5eb8189c | 10486 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10487 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10488 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10489 | } |
5eb8189c | 10490 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10491 | result = (wxSizer *) ((arg1)->cont_sizer); |
10492 | { | |
10493 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10494 | } | |
10495 | return resultobj; | |
10496 | fail: | |
10497 | return NULL; | |
10498 | } | |
10499 | ||
10500 | ||
5eb8189c | 10501 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10502 | PyObject *resultobj = 0; |
5eb8189c | 10503 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10504 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10505 | void *argp1 = 0 ; | |
10506 | int res1 = 0 ; | |
10507 | void *argp2 = 0 ; | |
10508 | int res2 = 0 ; | |
10509 | PyObject *swig_obj[2] ; | |
10510 | ||
5eb8189c RD |
10511 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10512 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10513 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10515 | } |
5eb8189c | 10516 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10517 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10518 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10519 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10520 | } |
10521 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10522 | if (arg1) (arg1)->sizer_item = arg2; | |
10523 | ||
10524 | resultobj = SWIG_Py_Void(); | |
10525 | return resultobj; | |
10526 | fail: | |
10527 | return NULL; | |
10528 | } | |
10529 | ||
10530 | ||
5eb8189c | 10531 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10532 | PyObject *resultobj = 0; |
5eb8189c | 10533 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10534 | wxSizerItem *result = 0 ; |
10535 | void *argp1 = 0 ; | |
10536 | int res1 = 0 ; | |
10537 | PyObject *swig_obj[1] ; | |
10538 | ||
10539 | if (!args) SWIG_fail; | |
10540 | swig_obj[0] = args; | |
5eb8189c | 10541 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10542 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10543 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10544 | } |
5eb8189c | 10545 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10546 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10547 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10548 | return resultobj; | |
10549 | fail: | |
10550 | return NULL; | |
10551 | } | |
10552 | ||
10553 | ||
5eb8189c | 10554 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10555 | PyObject *resultobj = 0; |
5eb8189c | 10556 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10557 | wxRect *arg2 = (wxRect *) 0 ; |
10558 | void *argp1 = 0 ; | |
10559 | int res1 = 0 ; | |
10560 | void *argp2 = 0 ; | |
10561 | int res2 = 0 ; | |
10562 | PyObject *swig_obj[2] ; | |
10563 | ||
5eb8189c RD |
10564 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10565 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10566 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10568 | } |
5eb8189c | 10569 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10570 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10571 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10572 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10573 | } |
10574 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10575 | if (arg1) (arg1)->rect = *arg2; | |
10576 | ||
10577 | resultobj = SWIG_Py_Void(); | |
10578 | return resultobj; | |
10579 | fail: | |
10580 | return NULL; | |
10581 | } | |
10582 | ||
10583 | ||
5eb8189c | 10584 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10585 | PyObject *resultobj = 0; |
5eb8189c | 10586 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10587 | wxRect *result = 0 ; |
10588 | void *argp1 = 0 ; | |
10589 | int res1 = 0 ; | |
10590 | PyObject *swig_obj[1] ; | |
10591 | ||
10592 | if (!args) SWIG_fail; | |
10593 | swig_obj[0] = args; | |
5eb8189c | 10594 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10595 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10597 | } |
5eb8189c | 10598 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10599 | result = (wxRect *)& ((arg1)->rect); |
10600 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10601 | return resultobj; | |
10602 | fail: | |
10603 | return NULL; | |
10604 | } | |
10605 | ||
10606 | ||
5eb8189c | 10607 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10608 | PyObject *resultobj = 0; |
5eb8189c | 10609 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10610 | void *argp1 = 0 ; |
10611 | int res1 = 0 ; | |
10612 | PyObject *swig_obj[1] ; | |
10613 | ||
10614 | if (!args) SWIG_fail; | |
10615 | swig_obj[0] = args; | |
5eb8189c | 10616 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10617 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10618 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10619 | } |
5eb8189c | 10620 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10621 | { |
10622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10623 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10624 | |
10625 | wxPyEndAllowThreads(__tstate); | |
10626 | if (PyErr_Occurred()) SWIG_fail; | |
10627 | } | |
10628 | resultobj = SWIG_Py_Void(); | |
10629 | return resultobj; | |
10630 | fail: | |
10631 | return NULL; | |
10632 | } | |
10633 | ||
10634 | ||
5eb8189c | 10635 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10636 | PyObject *obj; |
10637 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10638 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10639 | return SWIG_Py_Void(); |
10640 | } | |
10641 | ||
5eb8189c | 10642 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10643 | PyObject *resultobj = 0; |
5eb8189c | 10644 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10645 | int arg2 ; |
10646 | void *argp1 = 0 ; | |
10647 | int res1 = 0 ; | |
10648 | int val2 ; | |
10649 | int ecode2 = 0 ; | |
10650 | PyObject *swig_obj[2] ; | |
10651 | ||
5eb8189c RD |
10652 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10653 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10654 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10655 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10656 | } |
5eb8189c | 10657 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10658 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10659 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10660 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10661 | } |
10662 | arg2 = static_cast< int >(val2); | |
10663 | if (arg1) (arg1)->button_id = arg2; | |
10664 | ||
10665 | resultobj = SWIG_Py_Void(); | |
10666 | return resultobj; | |
10667 | fail: | |
10668 | return NULL; | |
10669 | } | |
10670 | ||
10671 | ||
5eb8189c | 10672 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10673 | PyObject *resultobj = 0; |
5eb8189c | 10674 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10675 | int result; |
10676 | void *argp1 = 0 ; | |
10677 | int res1 = 0 ; | |
10678 | PyObject *swig_obj[1] ; | |
10679 | ||
10680 | if (!args) SWIG_fail; | |
10681 | swig_obj[0] = args; | |
5eb8189c | 10682 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10683 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10684 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10685 | } |
5eb8189c | 10686 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10687 | result = (int) ((arg1)->button_id); |
10688 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10689 | return resultobj; | |
10690 | fail: | |
10691 | return NULL; | |
10692 | } | |
10693 | ||
10694 | ||
5eb8189c | 10695 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10696 | PyObject *resultobj = 0; |
5eb8189c | 10697 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10698 | void *argp1 = 0 ; |
10699 | int res1 = 0 ; | |
10700 | PyObject *swig_obj[1] ; | |
10701 | ||
10702 | if (!args) SWIG_fail; | |
10703 | swig_obj[0] = args; | |
5eb8189c | 10704 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10705 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10707 | } |
5eb8189c | 10708 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10709 | { |
10710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10711 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10712 | |
10713 | wxPyEndAllowThreads(__tstate); | |
10714 | if (PyErr_Occurred()) SWIG_fail; | |
10715 | } | |
10716 | resultobj = SWIG_Py_Void(); | |
10717 | return resultobj; | |
10718 | fail: | |
10719 | return NULL; | |
10720 | } | |
10721 | ||
10722 | ||
5eb8189c | 10723 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10724 | PyObject *obj; |
10725 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10726 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10727 | return SWIG_Py_Void(); |
10728 | } | |
10729 | ||
5eb8189c | 10730 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10731 | PyObject *resultobj = 0; |
5eb8189c | 10732 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10733 | void *argp1 = 0 ; |
10734 | int res1 = 0 ; | |
10735 | PyObject *swig_obj[1] ; | |
10736 | ||
10737 | if (!args) SWIG_fail; | |
10738 | swig_obj[0] = args; | |
5eb8189c | 10739 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10740 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10742 | } |
5eb8189c | 10743 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10744 | { |
10745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10746 | delete arg1; | |
10747 | ||
10748 | wxPyEndAllowThreads(__tstate); | |
10749 | if (PyErr_Occurred()) SWIG_fail; | |
10750 | } | |
10751 | resultobj = SWIG_Py_Void(); | |
10752 | return resultobj; | |
10753 | fail: | |
10754 | return NULL; | |
10755 | } | |
10756 | ||
10757 | ||
5eb8189c | 10758 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10759 | PyObject *resultobj = 0; |
5eb8189c | 10760 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10761 | int arg2 ; |
10762 | int result; | |
10763 | void *argp1 = 0 ; | |
10764 | int res1 = 0 ; | |
10765 | int val2 ; | |
10766 | int ecode2 = 0 ; | |
10767 | PyObject * obj0 = 0 ; | |
10768 | PyObject * obj1 = 0 ; | |
10769 | char * kwnames[] = { | |
10770 | (char *) "self",(char *) "id", NULL | |
10771 | }; | |
10772 | ||
5eb8189c RD |
10773 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10774 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10775 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10776 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10777 | } |
5eb8189c | 10778 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10779 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10780 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10781 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10782 | } |
10783 | arg2 = static_cast< int >(val2); | |
10784 | { | |
10785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10786 | result = (int)(arg1)->GetMetric(arg2); | |
10787 | wxPyEndAllowThreads(__tstate); | |
10788 | if (PyErr_Occurred()) SWIG_fail; | |
10789 | } | |
10790 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10791 | return resultobj; | |
10792 | fail: | |
10793 | return NULL; | |
10794 | } | |
10795 | ||
10796 | ||
5eb8189c | 10797 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10798 | PyObject *resultobj = 0; |
5eb8189c | 10799 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10800 | int arg2 ; |
10801 | int arg3 ; | |
10802 | void *argp1 = 0 ; | |
10803 | int res1 = 0 ; | |
10804 | int val2 ; | |
10805 | int ecode2 = 0 ; | |
10806 | int val3 ; | |
10807 | int ecode3 = 0 ; | |
10808 | PyObject * obj0 = 0 ; | |
10809 | PyObject * obj1 = 0 ; | |
10810 | PyObject * obj2 = 0 ; | |
10811 | char * kwnames[] = { | |
10812 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10813 | }; | |
10814 | ||
5eb8189c RD |
10815 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10816 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10817 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10818 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10819 | } |
5eb8189c | 10820 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10821 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10822 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10823 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10824 | } |
10825 | arg2 = static_cast< int >(val2); | |
10826 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10827 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10828 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10829 | } |
10830 | arg3 = static_cast< int >(val3); | |
10831 | { | |
10832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10833 | (arg1)->SetMetric(arg2,arg3); | |
10834 | wxPyEndAllowThreads(__tstate); | |
10835 | if (PyErr_Occurred()) SWIG_fail; | |
10836 | } | |
10837 | resultobj = SWIG_Py_Void(); | |
10838 | return resultobj; | |
10839 | fail: | |
10840 | return NULL; | |
10841 | } | |
10842 | ||
10843 | ||
5eb8189c | 10844 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10845 | PyObject *resultobj = 0; |
5eb8189c | 10846 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10847 | int arg2 ; |
10848 | wxFont *arg3 = 0 ; | |
10849 | void *argp1 = 0 ; | |
10850 | int res1 = 0 ; | |
10851 | int val2 ; | |
10852 | int ecode2 = 0 ; | |
10853 | void *argp3 = 0 ; | |
10854 | int res3 = 0 ; | |
10855 | PyObject * obj0 = 0 ; | |
10856 | PyObject * obj1 = 0 ; | |
10857 | PyObject * obj2 = 0 ; | |
10858 | char * kwnames[] = { | |
10859 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10860 | }; | |
10861 | ||
5eb8189c RD |
10862 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10863 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10864 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10865 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10866 | } |
5eb8189c | 10867 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10868 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10869 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10870 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10871 | } |
10872 | arg2 = static_cast< int >(val2); | |
10873 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10874 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10875 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10876 | } |
10877 | if (!argp3) { | |
5eb8189c | 10878 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10879 | } |
10880 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10881 | { | |
10882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10883 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10884 | wxPyEndAllowThreads(__tstate); | |
10885 | if (PyErr_Occurred()) SWIG_fail; | |
10886 | } | |
10887 | resultobj = SWIG_Py_Void(); | |
10888 | return resultobj; | |
10889 | fail: | |
10890 | return NULL; | |
10891 | } | |
10892 | ||
10893 | ||
5eb8189c | 10894 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10895 | PyObject *resultobj = 0; |
5eb8189c | 10896 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10897 | int arg2 ; |
10898 | wxFont result; | |
10899 | void *argp1 = 0 ; | |
10900 | int res1 = 0 ; | |
10901 | int val2 ; | |
10902 | int ecode2 = 0 ; | |
10903 | PyObject * obj0 = 0 ; | |
10904 | PyObject * obj1 = 0 ; | |
10905 | char * kwnames[] = { | |
10906 | (char *) "self",(char *) "id", NULL | |
10907 | }; | |
10908 | ||
5eb8189c RD |
10909 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10911 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10913 | } |
5eb8189c | 10914 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10915 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10916 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10917 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10918 | } |
10919 | arg2 = static_cast< int >(val2); | |
10920 | { | |
10921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10922 | result = (arg1)->GetFont(arg2); | |
10923 | wxPyEndAllowThreads(__tstate); | |
10924 | if (PyErr_Occurred()) SWIG_fail; | |
10925 | } | |
10926 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10927 | return resultobj; | |
10928 | fail: | |
10929 | return NULL; | |
10930 | } | |
10931 | ||
10932 | ||
5eb8189c | 10933 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10934 | PyObject *resultobj = 0; |
5eb8189c | 10935 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10936 | int arg2 ; |
10937 | wxColour result; | |
10938 | void *argp1 = 0 ; | |
10939 | int res1 = 0 ; | |
10940 | int val2 ; | |
10941 | int ecode2 = 0 ; | |
10942 | PyObject * obj0 = 0 ; | |
10943 | PyObject * obj1 = 0 ; | |
10944 | char * kwnames[] = { | |
10945 | (char *) "self",(char *) "id", NULL | |
10946 | }; | |
10947 | ||
5eb8189c RD |
10948 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10949 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10950 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10952 | } |
5eb8189c | 10953 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10954 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10955 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10956 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10957 | } |
10958 | arg2 = static_cast< int >(val2); | |
10959 | { | |
10960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10961 | result = (arg1)->GetColour(arg2); | |
10962 | wxPyEndAllowThreads(__tstate); | |
10963 | if (PyErr_Occurred()) SWIG_fail; | |
10964 | } | |
10965 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10966 | return resultobj; | |
10967 | fail: | |
10968 | return NULL; | |
10969 | } | |
10970 | ||
10971 | ||
5eb8189c | 10972 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10973 | PyObject *resultobj = 0; |
5eb8189c | 10974 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10975 | int arg2 ; |
59ccbf7f | 10976 | wxColour *arg3 = 0 ; |
27e45892 RD |
10977 | void *argp1 = 0 ; |
10978 | int res1 = 0 ; | |
10979 | int val2 ; | |
10980 | int ecode2 = 0 ; | |
59ccbf7f | 10981 | wxColour temp3 ; |
27e45892 RD |
10982 | PyObject * obj0 = 0 ; |
10983 | PyObject * obj1 = 0 ; | |
10984 | PyObject * obj2 = 0 ; | |
10985 | char * kwnames[] = { | |
10986 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10987 | }; | |
10988 | ||
5eb8189c RD |
10989 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10990 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10991 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10993 | } |
5eb8189c | 10994 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10995 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10996 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10997 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10998 | } |
10999 | arg2 = static_cast< int >(val2); | |
59ccbf7f RD |
11000 | { |
11001 | arg3 = &temp3; | |
11002 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
27e45892 | 11003 | } |
27e45892 RD |
11004 | { |
11005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
59ccbf7f | 11006 | (arg1)->SetColour(arg2,(wxColour const &)*arg3); |
27e45892 RD |
11007 | wxPyEndAllowThreads(__tstate); |
11008 | if (PyErr_Occurred()) SWIG_fail; | |
11009 | } | |
11010 | resultobj = SWIG_Py_Void(); | |
11011 | return resultobj; | |
11012 | fail: | |
11013 | return NULL; | |
11014 | } | |
11015 | ||
11016 | ||
5eb8189c | 11017 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11018 | PyObject *resultobj = 0; |
5eb8189c | 11019 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11020 | int arg2 ; |
11021 | wxColour result; | |
11022 | void *argp1 = 0 ; | |
11023 | int res1 = 0 ; | |
11024 | int val2 ; | |
11025 | int ecode2 = 0 ; | |
11026 | PyObject * obj0 = 0 ; | |
11027 | PyObject * obj1 = 0 ; | |
11028 | char * kwnames[] = { | |
11029 | (char *) "self",(char *) "id", NULL | |
11030 | }; | |
11031 | ||
5eb8189c RD |
11032 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
11033 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11034 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11036 | } |
5eb8189c | 11037 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11038 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11039 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11040 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11041 | } |
11042 | arg2 = static_cast< int >(val2); | |
11043 | { | |
11044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11045 | result = (arg1)->GetColor(arg2); | |
11046 | wxPyEndAllowThreads(__tstate); | |
11047 | if (PyErr_Occurred()) SWIG_fail; | |
11048 | } | |
11049 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
11050 | return resultobj; | |
11051 | fail: | |
11052 | return NULL; | |
11053 | } | |
11054 | ||
11055 | ||
5eb8189c | 11056 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11057 | PyObject *resultobj = 0; |
5eb8189c | 11058 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11059 | int arg2 ; |
11060 | wxColour *arg3 = 0 ; | |
11061 | void *argp1 = 0 ; | |
11062 | int res1 = 0 ; | |
11063 | int val2 ; | |
11064 | int ecode2 = 0 ; | |
11065 | wxColour temp3 ; | |
11066 | PyObject * obj0 = 0 ; | |
11067 | PyObject * obj1 = 0 ; | |
11068 | PyObject * obj2 = 0 ; | |
11069 | char * kwnames[] = { | |
11070 | (char *) "self",(char *) "id",(char *) "color", NULL | |
11071 | }; | |
11072 | ||
5eb8189c RD |
11073 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11074 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11075 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11076 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11077 | } |
5eb8189c | 11078 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11079 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11080 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11081 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11082 | } |
11083 | arg2 = static_cast< int >(val2); | |
11084 | { | |
11085 | arg3 = &temp3; | |
11086 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11087 | } | |
11088 | { | |
11089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11090 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
11091 | wxPyEndAllowThreads(__tstate); | |
11092 | if (PyErr_Occurred()) SWIG_fail; | |
11093 | } | |
11094 | resultobj = SWIG_Py_Void(); | |
11095 | return resultobj; | |
11096 | fail: | |
11097 | return NULL; | |
11098 | } | |
11099 | ||
11100 | ||
5eb8189c | 11101 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11102 | PyObject *resultobj = 0; |
5eb8189c | 11103 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11104 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11105 | wxWindow *arg3 = (wxWindow *) 0 ; |
11106 | int arg4 ; | |
11107 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11108 | void *argp1 = 0 ; |
11109 | int res1 = 0 ; | |
11110 | void *argp2 = 0 ; | |
11111 | int res2 = 0 ; | |
97ab0f6a RD |
11112 | void *argp3 = 0 ; |
11113 | int res3 = 0 ; | |
11114 | int val4 ; | |
11115 | int ecode4 = 0 ; | |
11116 | wxRect temp5 ; | |
27e45892 RD |
11117 | PyObject * obj0 = 0 ; |
11118 | PyObject * obj1 = 0 ; | |
11119 | PyObject * obj2 = 0 ; | |
11120 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11121 | PyObject * obj4 = 0 ; |
27e45892 | 11122 | char * kwnames[] = { |
97ab0f6a | 11123 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11124 | }; |
11125 | ||
5eb8189c RD |
11126 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11128 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11130 | } |
5eb8189c | 11131 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11132 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11133 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11134 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11135 | } |
11136 | if (!argp2) { | |
5eb8189c | 11137 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11138 | } |
11139 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11140 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11141 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11142 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11143 | } |
11144 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11145 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11146 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11147 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11148 | } |
97ab0f6a | 11149 | arg4 = static_cast< int >(val4); |
27e45892 | 11150 | { |
97ab0f6a RD |
11151 | arg5 = &temp5; |
11152 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11153 | } |
11154 | { | |
11155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11156 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11157 | wxPyEndAllowThreads(__tstate); |
11158 | if (PyErr_Occurred()) SWIG_fail; | |
11159 | } | |
11160 | resultobj = SWIG_Py_Void(); | |
11161 | return resultobj; | |
11162 | fail: | |
11163 | return NULL; | |
11164 | } | |
11165 | ||
11166 | ||
5eb8189c | 11167 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11168 | PyObject *resultobj = 0; |
5eb8189c | 11169 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11170 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11171 | wxWindow *arg3 = (wxWindow *) 0 ; |
11172 | int arg4 ; | |
11173 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11174 | void *argp1 = 0 ; |
11175 | int res1 = 0 ; | |
11176 | void *argp2 = 0 ; | |
11177 | int res2 = 0 ; | |
97ab0f6a RD |
11178 | void *argp3 = 0 ; |
11179 | int res3 = 0 ; | |
11180 | int val4 ; | |
11181 | int ecode4 = 0 ; | |
11182 | wxRect temp5 ; | |
27e45892 RD |
11183 | PyObject * obj0 = 0 ; |
11184 | PyObject * obj1 = 0 ; | |
11185 | PyObject * obj2 = 0 ; | |
11186 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11187 | PyObject * obj4 = 0 ; |
27e45892 | 11188 | char * kwnames[] = { |
97ab0f6a | 11189 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11190 | }; |
11191 | ||
5eb8189c RD |
11192 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11193 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11194 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11195 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11196 | } |
5eb8189c | 11197 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11198 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11199 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11200 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11201 | } |
11202 | if (!argp2) { | |
5eb8189c | 11203 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11204 | } |
11205 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11206 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11207 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11208 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11209 | } |
11210 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11211 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11212 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11213 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11214 | } |
97ab0f6a | 11215 | arg4 = static_cast< int >(val4); |
27e45892 | 11216 | { |
97ab0f6a RD |
11217 | arg5 = &temp5; |
11218 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11219 | } |
11220 | { | |
11221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11222 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11223 | wxPyEndAllowThreads(__tstate); |
11224 | if (PyErr_Occurred()) SWIG_fail; | |
11225 | } | |
11226 | resultobj = SWIG_Py_Void(); | |
11227 | return resultobj; | |
11228 | fail: | |
11229 | return NULL; | |
11230 | } | |
11231 | ||
11232 | ||
5eb8189c | 11233 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11234 | PyObject *resultobj = 0; |
5eb8189c | 11235 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11236 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11237 | wxWindow *arg3 = (wxWindow *) 0 ; |
11238 | wxString *arg4 = 0 ; | |
11239 | wxRect *arg5 = 0 ; | |
5eb8189c | 11240 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
11241 | void *argp1 = 0 ; |
11242 | int res1 = 0 ; | |
11243 | void *argp2 = 0 ; | |
11244 | int res2 = 0 ; | |
97ab0f6a RD |
11245 | void *argp3 = 0 ; |
11246 | int res3 = 0 ; | |
11247 | bool temp4 = false ; | |
11248 | wxRect temp5 ; | |
11249 | void *argp6 = 0 ; | |
11250 | int res6 = 0 ; | |
27e45892 RD |
11251 | PyObject * obj0 = 0 ; |
11252 | PyObject * obj1 = 0 ; | |
11253 | PyObject * obj2 = 0 ; | |
11254 | PyObject * obj3 = 0 ; | |
11255 | PyObject * obj4 = 0 ; | |
97ab0f6a | 11256 | PyObject * obj5 = 0 ; |
27e45892 | 11257 | char * kwnames[] = { |
97ab0f6a | 11258 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11259 | }; |
11260 | ||
5eb8189c RD |
11261 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11262 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11263 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11265 | } |
5eb8189c | 11266 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11267 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11268 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11269 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11270 | } |
11271 | if (!argp2) { | |
5eb8189c | 11272 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11273 | } |
11274 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11275 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11276 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11277 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11278 | } |
11279 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11280 | { |
97ab0f6a RD |
11281 | arg4 = wxString_in_helper(obj3); |
11282 | if (arg4 == NULL) SWIG_fail; | |
11283 | temp4 = true; | |
27e45892 RD |
11284 | } |
11285 | { | |
97ab0f6a RD |
11286 | arg5 = &temp5; |
11287 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11288 | } |
5eb8189c | 11289 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11290 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11291 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11292 | } |
97ab0f6a | 11293 | if (!argp6) { |
5eb8189c | 11294 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11295 | } |
5eb8189c | 11296 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11297 | { |
11298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11299 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11300 | wxPyEndAllowThreads(__tstate); |
11301 | if (PyErr_Occurred()) SWIG_fail; | |
11302 | } | |
11303 | resultobj = SWIG_Py_Void(); | |
11304 | { | |
97ab0f6a RD |
11305 | if (temp4) |
11306 | delete arg4; | |
27e45892 RD |
11307 | } |
11308 | return resultobj; | |
11309 | fail: | |
11310 | { | |
97ab0f6a RD |
11311 | if (temp4) |
11312 | delete arg4; | |
27e45892 RD |
11313 | } |
11314 | return NULL; | |
11315 | } | |
11316 | ||
11317 | ||
5eb8189c | 11318 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11319 | PyObject *resultobj = 0; |
5eb8189c | 11320 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11321 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11322 | wxWindow *arg3 = (wxWindow *) 0 ; |
11323 | wxRect *arg4 = 0 ; | |
5eb8189c | 11324 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11325 | void *argp1 = 0 ; |
11326 | int res1 = 0 ; | |
11327 | void *argp2 = 0 ; | |
11328 | int res2 = 0 ; | |
97ab0f6a RD |
11329 | void *argp3 = 0 ; |
11330 | int res3 = 0 ; | |
11331 | wxRect temp4 ; | |
11332 | void *argp5 = 0 ; | |
11333 | int res5 = 0 ; | |
27e45892 RD |
11334 | PyObject * obj0 = 0 ; |
11335 | PyObject * obj1 = 0 ; | |
11336 | PyObject * obj2 = 0 ; | |
11337 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11338 | PyObject * obj4 = 0 ; |
27e45892 | 11339 | char * kwnames[] = { |
97ab0f6a | 11340 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11341 | }; |
11342 | ||
5eb8189c RD |
11343 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11344 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11345 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11347 | } |
5eb8189c | 11348 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11349 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11350 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11351 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11352 | } |
11353 | if (!argp2) { | |
5eb8189c | 11354 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11355 | } |
11356 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11357 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11358 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11359 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11360 | } |
11361 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11362 | { |
97ab0f6a RD |
11363 | arg4 = &temp4; |
11364 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11365 | } |
5eb8189c | 11366 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11367 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11368 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11369 | } |
97ab0f6a | 11370 | if (!argp5) { |
5eb8189c | 11371 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11372 | } |
5eb8189c | 11373 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11374 | { |
11375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11376 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11377 | wxPyEndAllowThreads(__tstate); |
11378 | if (PyErr_Occurred()) SWIG_fail; | |
11379 | } | |
11380 | resultobj = SWIG_Py_Void(); | |
11381 | return resultobj; | |
11382 | fail: | |
11383 | return NULL; | |
11384 | } | |
11385 | ||
11386 | ||
5eb8189c | 11387 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11388 | PyObject *resultobj = 0; |
5eb8189c | 11389 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11390 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11391 | wxWindow *arg3 = (wxWindow *) 0 ; |
11392 | wxRect *arg4 = 0 ; | |
5eb8189c | 11393 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11394 | void *argp1 = 0 ; |
11395 | int res1 = 0 ; | |
11396 | void *argp2 = 0 ; | |
11397 | int res2 = 0 ; | |
97ab0f6a RD |
11398 | void *argp3 = 0 ; |
11399 | int res3 = 0 ; | |
11400 | wxRect temp4 ; | |
11401 | void *argp5 = 0 ; | |
11402 | int res5 = 0 ; | |
27e45892 RD |
11403 | PyObject * obj0 = 0 ; |
11404 | PyObject * obj1 = 0 ; | |
11405 | PyObject * obj2 = 0 ; | |
11406 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11407 | PyObject * obj4 = 0 ; |
27e45892 | 11408 | char * kwnames[] = { |
97ab0f6a | 11409 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11410 | }; |
11411 | ||
5eb8189c RD |
11412 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11413 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11414 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11415 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11416 | } |
5eb8189c | 11417 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11418 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11419 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11420 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11421 | } |
11422 | if (!argp2) { | |
5eb8189c | 11423 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11424 | } |
11425 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11426 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11427 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11428 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11429 | } |
11430 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11431 | { |
97ab0f6a RD |
11432 | arg4 = &temp4; |
11433 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11434 | } |
5eb8189c | 11435 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11436 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11437 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11438 | } |
97ab0f6a | 11439 | if (!argp5) { |
5eb8189c | 11440 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11441 | } |
5eb8189c | 11442 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11443 | { |
11444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11445 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11446 | wxPyEndAllowThreads(__tstate); |
11447 | if (PyErr_Occurred()) SWIG_fail; | |
11448 | } | |
11449 | resultobj = SWIG_Py_Void(); | |
11450 | return resultobj; | |
11451 | fail: | |
11452 | return NULL; | |
11453 | } | |
11454 | ||
11455 | ||
5eb8189c | 11456 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11457 | PyObject *resultobj = 0; |
5eb8189c | 11458 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11459 | wxDC *arg2 = 0 ; |
97ab0f6a | 11460 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11461 | int arg4 ; |
97ab0f6a RD |
11462 | int arg5 ; |
11463 | wxRect *arg6 = 0 ; | |
5eb8189c | 11464 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11465 | void *argp1 = 0 ; |
11466 | int res1 = 0 ; | |
11467 | void *argp2 = 0 ; | |
11468 | int res2 = 0 ; | |
97ab0f6a RD |
11469 | void *argp3 = 0 ; |
11470 | int res3 = 0 ; | |
27e45892 RD |
11471 | int val4 ; |
11472 | int ecode4 = 0 ; | |
97ab0f6a RD |
11473 | int val5 ; |
11474 | int ecode5 = 0 ; | |
11475 | wxRect temp6 ; | |
11476 | void *argp7 = 0 ; | |
11477 | int res7 = 0 ; | |
27e45892 RD |
11478 | PyObject * obj0 = 0 ; |
11479 | PyObject * obj1 = 0 ; | |
11480 | PyObject * obj2 = 0 ; | |
11481 | PyObject * obj3 = 0 ; | |
11482 | PyObject * obj4 = 0 ; | |
11483 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11484 | PyObject * obj6 = 0 ; |
27e45892 | 11485 | char * kwnames[] = { |
97ab0f6a | 11486 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11487 | }; |
11488 | ||
5eb8189c RD |
11489 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11490 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11491 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11492 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11493 | } |
5eb8189c | 11494 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11495 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11496 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11497 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11498 | } |
11499 | if (!argp2) { | |
5eb8189c | 11500 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11501 | } |
11502 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11503 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11504 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11505 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11506 | } |
11507 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11508 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11509 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11510 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11511 | } |
11512 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11513 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11514 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11515 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11516 | } |
11517 | arg5 = static_cast< int >(val5); | |
27e45892 | 11518 | { |
97ab0f6a RD |
11519 | arg6 = &temp6; |
11520 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11521 | } |
5eb8189c | 11522 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11523 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11524 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11525 | } |
97ab0f6a | 11526 | if (!argp7) { |
5eb8189c | 11527 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11528 | } |
5eb8189c | 11529 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11530 | { |
11531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11532 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11533 | wxPyEndAllowThreads(__tstate); |
11534 | if (PyErr_Occurred()) SWIG_fail; | |
11535 | } | |
11536 | resultobj = SWIG_Py_Void(); | |
11537 | return resultobj; | |
11538 | fail: | |
11539 | return NULL; | |
11540 | } | |
11541 | ||
11542 | ||
5eb8189c | 11543 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11544 | PyObject *obj; |
11545 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11546 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11547 | return SWIG_Py_Void(); |
11548 | } | |
11549 | ||
5eb8189c | 11550 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11551 | PyObject *resultobj = 0; |
5eb8189c | 11552 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11553 | |
5eb8189c | 11554 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11555 | { |
11556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11557 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11558 | wxPyEndAllowThreads(__tstate); |
11559 | if (PyErr_Occurred()) SWIG_fail; | |
11560 | } | |
5eb8189c | 11561 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11562 | return resultobj; |
11563 | fail: | |
11564 | return NULL; | |
11565 | } | |
11566 | ||
11567 | ||
5eb8189c | 11568 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11569 | PyObject *obj; |
11570 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11571 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11572 | return SWIG_Py_Void(); |
11573 | } | |
11574 | ||
5eb8189c | 11575 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11576 | return SWIG_Python_InitShadowInstance(args); |
11577 | } | |
11578 | ||
5eb8189c | 11579 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11580 | PyObject *resultobj = 0; |
11581 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11582 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11583 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11584 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11585 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11586 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11587 | void *argp1 = 0 ; |
11588 | int res1 = 0 ; | |
11589 | void *argp2 = 0 ; | |
11590 | int res2 = 0 ; | |
11591 | void *argp3 = 0 ; | |
11592 | int res3 = 0 ; | |
11593 | int val4 ; | |
11594 | int ecode4 = 0 ; | |
9b940138 RD |
11595 | long val5 ; |
11596 | int ecode5 = 0 ; | |
27e45892 RD |
11597 | PyObject * obj0 = 0 ; |
11598 | PyObject * obj1 = 0 ; | |
11599 | PyObject * obj2 = 0 ; | |
11600 | PyObject * obj3 = 0 ; | |
9b940138 | 11601 | PyObject * obj4 = 0 ; |
27e45892 | 11602 | char * kwnames[] = { |
9b940138 | 11603 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11604 | }; |
11605 | ||
5eb8189c | 11606 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11607 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11608 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11610 | } |
11611 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11612 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11613 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11614 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11615 | } |
5eb8189c RD |
11616 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11617 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11618 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11619 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11620 | } |
11621 | if (!argp3) { | |
5eb8189c | 11622 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11623 | } |
5eb8189c | 11624 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11625 | if (obj3) { |
11626 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11627 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11628 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11629 | } |
11630 | arg4 = static_cast< int >(val4); | |
11631 | } | |
9b940138 RD |
11632 | if (obj4) { |
11633 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11634 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11635 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11636 | } |
11637 | arg5 = static_cast< long >(val5); | |
11638 | } | |
27e45892 RD |
11639 | { |
11640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11641 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11642 | wxPyEndAllowThreads(__tstate); |
11643 | if (PyErr_Occurred()) SWIG_fail; | |
11644 | } | |
5eb8189c | 11645 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11646 | return resultobj; |
11647 | fail: | |
11648 | return NULL; | |
11649 | } | |
11650 | ||
11651 | ||
5eb8189c | 11652 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11653 | PyObject *resultobj = 0; |
5eb8189c | 11654 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11655 | void *argp1 = 0 ; |
11656 | int res1 = 0 ; | |
11657 | PyObject *swig_obj[1] ; | |
11658 | ||
11659 | if (!args) SWIG_fail; | |
11660 | swig_obj[0] = args; | |
5eb8189c | 11661 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11662 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11663 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11664 | } |
5eb8189c | 11665 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11666 | { |
11667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11668 | delete arg1; | |
11669 | ||
11670 | wxPyEndAllowThreads(__tstate); | |
11671 | if (PyErr_Occurred()) SWIG_fail; | |
11672 | } | |
11673 | resultobj = SWIG_Py_Void(); | |
11674 | return resultobj; | |
11675 | fail: | |
11676 | return NULL; | |
11677 | } | |
11678 | ||
11679 | ||
5eb8189c | 11680 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11681 | PyObject *resultobj = 0; |
5eb8189c RD |
11682 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11683 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11684 | void *argp1 = 0 ; |
11685 | int res1 = 0 ; | |
11686 | void *argp2 = 0 ; | |
11687 | int res2 = 0 ; | |
11688 | PyObject * obj0 = 0 ; | |
11689 | PyObject * obj1 = 0 ; | |
11690 | char * kwnames[] = { | |
11691 | (char *) "self",(char *) "pane", NULL | |
11692 | }; | |
11693 | ||
5eb8189c RD |
11694 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11695 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11696 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11697 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11698 | } |
5eb8189c RD |
11699 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11700 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11701 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11702 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11703 | } |
11704 | if (!argp2) { | |
5eb8189c | 11705 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11706 | } |
5eb8189c | 11707 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11708 | { |
11709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11710 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11711 | wxPyEndAllowThreads(__tstate); |
11712 | if (PyErr_Occurred()) SWIG_fail; | |
11713 | } | |
11714 | resultobj = SWIG_Py_Void(); | |
11715 | return resultobj; | |
11716 | fail: | |
11717 | return NULL; | |
11718 | } | |
11719 | ||
11720 | ||
eccab1a7 RD |
11721 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11722 | PyObject *resultobj = 0; | |
11723 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; | |
11724 | wxAuiManager *result = 0 ; | |
11725 | void *argp1 = 0 ; | |
11726 | int res1 = 0 ; | |
11727 | PyObject *swig_obj[1] ; | |
11728 | ||
11729 | if (!args) SWIG_fail; | |
11730 | swig_obj[0] = args; | |
11731 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
11732 | if (!SWIG_IsOK(res1)) { | |
11733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'"); | |
11734 | } | |
11735 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); | |
11736 | { | |
11737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11738 | result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager(); | |
11739 | wxPyEndAllowThreads(__tstate); | |
11740 | if (PyErr_Occurred()) SWIG_fail; | |
11741 | } | |
11742 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
11743 | return resultobj; | |
11744 | fail: | |
11745 | return NULL; | |
11746 | } | |
11747 | ||
11748 | ||
5eb8189c | 11749 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11750 | PyObject *obj; |
11751 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11752 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11753 | return SWIG_Py_Void(); |
11754 | } | |
11755 | ||
5eb8189c | 11756 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11757 | return SWIG_Python_InitShadowInstance(args); |
11758 | } | |
11759 | ||
5172800e | 11760 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11761 | PyObject *resultobj = 0; |
5172800e RD |
11762 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11763 | int arg2 = (int) 0 ; | |
11764 | wxAuiNotebookEvent *result = 0 ; | |
11765 | int val1 ; | |
11766 | int ecode1 = 0 ; | |
11767 | int val2 ; | |
11768 | int ecode2 = 0 ; | |
11769 | PyObject * obj0 = 0 ; | |
11770 | PyObject * obj1 = 0 ; | |
11771 | char * kwnames[] = { | |
11772 | (char *) "command_type",(char *) "win_id", NULL | |
11773 | }; | |
5c8c7dd3 | 11774 | |
5172800e RD |
11775 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11776 | if (obj0) { | |
11777 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11778 | if (!SWIG_IsOK(ecode1)) { | |
11779 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11780 | } | |
11781 | arg1 = static_cast< wxEventType >(val1); | |
11782 | } | |
11783 | if (obj1) { | |
11784 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11785 | if (!SWIG_IsOK(ecode2)) { | |
11786 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11787 | } | |
11788 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11789 | } |
5c8c7dd3 RD |
11790 | { |
11791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11792 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11793 | wxPyEndAllowThreads(__tstate); |
11794 | if (PyErr_Occurred()) SWIG_fail; | |
11795 | } | |
5172800e | 11796 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11797 | return resultobj; |
11798 | fail: | |
11799 | return NULL; | |
11800 | } | |
11801 | ||
11802 | ||
5172800e | 11803 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11804 | PyObject *resultobj = 0; |
5172800e RD |
11805 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11806 | int arg2 ; | |
8f514ab4 RD |
11807 | void *argp1 = 0 ; |
11808 | int res1 = 0 ; | |
5172800e RD |
11809 | int val2 ; |
11810 | int ecode2 = 0 ; | |
8f514ab4 RD |
11811 | PyObject * obj0 = 0 ; |
11812 | PyObject * obj1 = 0 ; | |
11813 | char * kwnames[] = { | |
5172800e | 11814 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11815 | }; |
11816 | ||
5172800e RD |
11817 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11818 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11819 | if (!SWIG_IsOK(res1)) { |
5172800e | 11820 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11821 | } |
5172800e RD |
11822 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11823 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11824 | if (!SWIG_IsOK(ecode2)) { | |
11825 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11826 | } | |
11827 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11828 | { |
11829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11830 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11831 | wxPyEndAllowThreads(__tstate); |
11832 | if (PyErr_Occurred()) SWIG_fail; | |
11833 | } | |
11834 | resultobj = SWIG_Py_Void(); | |
11835 | return resultobj; | |
11836 | fail: | |
11837 | return NULL; | |
11838 | } | |
11839 | ||
11840 | ||
5172800e | 11841 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11842 | PyObject *resultobj = 0; |
5172800e RD |
11843 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11844 | int result; | |
8f514ab4 RD |
11845 | void *argp1 = 0 ; |
11846 | int res1 = 0 ; | |
5172800e | 11847 | PyObject *swig_obj[1] ; |
8f514ab4 | 11848 | |
5172800e RD |
11849 | if (!args) SWIG_fail; |
11850 | swig_obj[0] = args; | |
11851 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11852 | if (!SWIG_IsOK(res1)) { |
5172800e | 11853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11854 | } |
5172800e | 11855 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11856 | { |
11857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11858 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11859 | wxPyEndAllowThreads(__tstate); |
11860 | if (PyErr_Occurred()) SWIG_fail; | |
11861 | } | |
5172800e | 11862 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11863 | return resultobj; |
11864 | fail: | |
11865 | return NULL; | |
11866 | } | |
11867 | ||
11868 | ||
5172800e | 11869 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11870 | PyObject *resultobj = 0; |
5172800e RD |
11871 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11872 | int arg2 ; | |
8f514ab4 RD |
11873 | void *argp1 = 0 ; |
11874 | int res1 = 0 ; | |
5172800e RD |
11875 | int val2 ; |
11876 | int ecode2 = 0 ; | |
8f514ab4 RD |
11877 | PyObject * obj0 = 0 ; |
11878 | PyObject * obj1 = 0 ; | |
11879 | char * kwnames[] = { | |
5172800e | 11880 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11881 | }; |
11882 | ||
5172800e RD |
11883 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11884 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11885 | if (!SWIG_IsOK(res1)) { |
5172800e | 11886 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11887 | } |
5172800e RD |
11888 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11889 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11890 | if (!SWIG_IsOK(ecode2)) { | |
11891 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11892 | } | |
11893 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11894 | { |
11895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11896 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11897 | wxPyEndAllowThreads(__tstate); |
11898 | if (PyErr_Occurred()) SWIG_fail; | |
11899 | } | |
11900 | resultobj = SWIG_Py_Void(); | |
11901 | return resultobj; | |
11902 | fail: | |
11903 | return NULL; | |
11904 | } | |
11905 | ||
11906 | ||
5172800e | 11907 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11908 | PyObject *resultobj = 0; |
5172800e RD |
11909 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11910 | int result; | |
5c8c7dd3 RD |
11911 | void *argp1 = 0 ; |
11912 | int res1 = 0 ; | |
5172800e | 11913 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11914 | |
5172800e RD |
11915 | if (!args) SWIG_fail; |
11916 | swig_obj[0] = args; | |
11917 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11918 | if (!SWIG_IsOK(res1)) { |
5172800e | 11919 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11920 | } |
5172800e | 11921 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11922 | { |
11923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11924 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11925 | wxPyEndAllowThreads(__tstate); |
11926 | if (PyErr_Occurred()) SWIG_fail; | |
11927 | } | |
5172800e | 11928 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11929 | return resultobj; |
11930 | fail: | |
11931 | return NULL; | |
11932 | } | |
11933 | ||
11934 | ||
5172800e | 11935 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11936 | PyObject *resultobj = 0; |
5172800e RD |
11937 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11938 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11939 | void *argp1 = 0 ; |
11940 | int res1 = 0 ; | |
11941 | void *argp2 = 0 ; | |
11942 | int res2 = 0 ; | |
5c8c7dd3 RD |
11943 | PyObject * obj0 = 0 ; |
11944 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11945 | char * kwnames[] = { |
5172800e | 11946 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11947 | }; |
11948 | ||
5172800e RD |
11949 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11950 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11951 | if (!SWIG_IsOK(res1)) { |
5172800e | 11952 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11953 | } |
5172800e RD |
11954 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11955 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11956 | if (!SWIG_IsOK(res2)) { |
5172800e | 11957 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11958 | } |
5172800e | 11959 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11960 | { |
11961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11962 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11963 | wxPyEndAllowThreads(__tstate); |
11964 | if (PyErr_Occurred()) SWIG_fail; | |
11965 | } | |
11966 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11967 | return resultobj; |
11968 | fail: | |
5c8c7dd3 RD |
11969 | return NULL; |
11970 | } | |
11971 | ||
11972 | ||
5172800e | 11973 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11974 | PyObject *resultobj = 0; |
5172800e RD |
11975 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11976 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11977 | void *argp1 = 0 ; |
11978 | int res1 = 0 ; | |
5172800e | 11979 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11980 | |
5172800e RD |
11981 | if (!args) SWIG_fail; |
11982 | swig_obj[0] = args; | |
11983 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11984 | if (!SWIG_IsOK(res1)) { |
5172800e | 11985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11986 | } |
5172800e | 11987 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11988 | { |
11989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11990 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
11991 | wxPyEndAllowThreads(__tstate); |
11992 | if (PyErr_Occurred()) SWIG_fail; | |
11993 | } | |
5172800e | 11994 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
11995 | return resultobj; |
11996 | fail: | |
11997 | return NULL; | |
11998 | } | |
11999 | ||
12000 | ||
5172800e | 12001 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12002 | PyObject *resultobj = 0; |
5172800e RD |
12003 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12004 | int arg2 ; | |
5c8c7dd3 RD |
12005 | void *argp1 = 0 ; |
12006 | int res1 = 0 ; | |
5172800e RD |
12007 | int val2 ; |
12008 | int ecode2 = 0 ; | |
12009 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12010 | |
5172800e RD |
12011 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
12012 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12013 | if (!SWIG_IsOK(res1)) { |
5172800e | 12014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12015 | } |
5172800e RD |
12016 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12017 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12018 | if (!SWIG_IsOK(ecode2)) { | |
12019 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 12020 | } |
5172800e RD |
12021 | arg2 = static_cast< int >(val2); |
12022 | if (arg1) (arg1)->old_selection = arg2; | |
12023 | ||
12024 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12025 | return resultobj; |
12026 | fail: | |
12027 | return NULL; | |
12028 | } | |
12029 | ||
12030 | ||
5172800e | 12031 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12032 | PyObject *resultobj = 0; |
5172800e | 12033 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
12034 | int result; |
12035 | void *argp1 = 0 ; | |
12036 | int res1 = 0 ; | |
5172800e | 12037 | PyObject *swig_obj[1] ; |
d95b9f2b | 12038 | |
5172800e RD |
12039 | if (!args) SWIG_fail; |
12040 | swig_obj[0] = args; | |
12041 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 12042 | if (!SWIG_IsOK(res1)) { |
5172800e | 12043 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 12044 | } |
5172800e RD |
12045 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12046 | result = (int) ((arg1)->old_selection); | |
12047 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12048 | return resultobj; | |
12049 | fail: | |
12050 | return NULL; | |
12051 | } | |
12052 | ||
12053 | ||
12054 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12055 | PyObject *resultobj = 0; | |
12056 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12057 | int arg2 ; | |
12058 | void *argp1 = 0 ; | |
12059 | int res1 = 0 ; | |
12060 | int val2 ; | |
12061 | int ecode2 = 0 ; | |
12062 | PyObject *swig_obj[2] ; | |
12063 | ||
12064 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12065 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12066 | if (!SWIG_IsOK(res1)) { | |
12067 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12068 | } |
5172800e RD |
12069 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12070 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12071 | if (!SWIG_IsOK(ecode2)) { | |
12072 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 12073 | } |
5172800e RD |
12074 | arg2 = static_cast< int >(val2); |
12075 | if (arg1) (arg1)->selection = arg2; | |
12076 | ||
12077 | resultobj = SWIG_Py_Void(); | |
12078 | return resultobj; | |
12079 | fail: | |
12080 | return NULL; | |
12081 | } | |
12082 | ||
12083 | ||
12084 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12085 | PyObject *resultobj = 0; | |
12086 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12087 | int result; | |
12088 | void *argp1 = 0 ; | |
12089 | int res1 = 0 ; | |
12090 | PyObject *swig_obj[1] ; | |
12091 | ||
12092 | if (!args) SWIG_fail; | |
12093 | swig_obj[0] = args; | |
12094 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12095 | if (!SWIG_IsOK(res1)) { | |
12096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12097 | } |
5172800e RD |
12098 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12099 | result = (int) ((arg1)->selection); | |
d95b9f2b | 12100 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
12101 | return resultobj; |
12102 | fail: | |
d95b9f2b RD |
12103 | return NULL; |
12104 | } | |
12105 | ||
12106 | ||
5172800e | 12107 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12108 | PyObject *resultobj = 0; |
5172800e RD |
12109 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12110 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
12111 | void *argp1 = 0 ; |
12112 | int res1 = 0 ; | |
12113 | void *argp2 = 0 ; | |
12114 | int res2 = 0 ; | |
5172800e | 12115 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 12116 | |
5172800e RD |
12117 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
12118 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12119 | if (!SWIG_IsOK(res1)) { |
5172800e | 12120 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12121 | } |
5172800e RD |
12122 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12123 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 12124 | if (!SWIG_IsOK(res2)) { |
5172800e | 12125 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 12126 | } |
5172800e RD |
12127 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
12128 | if (arg1) (arg1)->drag_source = arg2; | |
12129 | ||
12130 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12131 | return resultobj; |
12132 | fail: | |
12133 | return NULL; | |
12134 | } | |
12135 | ||
12136 | ||
5172800e | 12137 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12138 | PyObject *resultobj = 0; |
5172800e RD |
12139 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12140 | wxAuiNotebook *result = 0 ; | |
12141 | void *argp1 = 0 ; | |
12142 | int res1 = 0 ; | |
12143 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 12144 | |
5172800e RD |
12145 | if (!args) SWIG_fail; |
12146 | swig_obj[0] = args; | |
12147 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12148 | if (!SWIG_IsOK(res1)) { | |
12149 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 12150 | } |
5172800e RD |
12151 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12152 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12153 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
12154 | return resultobj; |
12155 | fail: | |
12156 | return NULL; | |
12157 | } | |
12158 | ||
12159 | ||
5172800e RD |
12160 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12161 | PyObject *obj; | |
12162 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12163 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12164 | return SWIG_Py_Void(); | |
12165 | } | |
12166 | ||
12167 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12168 | return SWIG_Python_InitShadowInstance(args); | |
12169 | } | |
12170 | ||
12171 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 12172 | PyObject *resultobj = 0; |
5172800e RD |
12173 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12174 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
12175 | void *argp1 = 0 ; |
12176 | int res1 = 0 ; | |
5172800e RD |
12177 | void *argp2 = 0 ; |
12178 | int res2 = 0 ; | |
12179 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12180 | |
5172800e RD |
12181 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
12182 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 12183 | if (!SWIG_IsOK(res1)) { |
5172800e | 12184 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 12185 | } |
5172800e RD |
12186 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12187 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12188 | if (!SWIG_IsOK(res2)) { | |
12189 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 12190 | } |
5172800e RD |
12191 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12192 | if (arg1) (arg1)->window = arg2; | |
12193 | ||
5c8c7dd3 RD |
12194 | resultobj = SWIG_Py_Void(); |
12195 | return resultobj; | |
12196 | fail: | |
12197 | return NULL; | |
12198 | } | |
12199 | ||
12200 | ||
5172800e | 12201 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12202 | PyObject *resultobj = 0; |
5172800e RD |
12203 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12204 | wxWindow *result = 0 ; | |
12205 | void *argp1 = 0 ; | |
12206 | int res1 = 0 ; | |
12207 | PyObject *swig_obj[1] ; | |
10044bf1 | 12208 | |
5172800e RD |
12209 | if (!args) SWIG_fail; |
12210 | swig_obj[0] = args; | |
12211 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12212 | if (!SWIG_IsOK(res1)) { | |
12213 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10044bf1 | 12214 | } |
5172800e RD |
12215 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12216 | result = (wxWindow *) ((arg1)->window); | |
10044bf1 | 12217 | { |
5172800e | 12218 | resultobj = wxPyMake_wxObject(result, 0); |
10044bf1 | 12219 | } |
10044bf1 RD |
12220 | return resultobj; |
12221 | fail: | |
12222 | return NULL; | |
27e45892 RD |
12223 | } |
12224 | ||
10044bf1 | 12225 | |
5172800e | 12226 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12227 | PyObject *resultobj = 0; |
5172800e RD |
12228 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12229 | wxString *arg2 = (wxString *) 0 ; | |
10044bf1 RD |
12230 | void *argp1 = 0 ; |
12231 | int res1 = 0 ; | |
5172800e RD |
12232 | bool temp2 = false ; |
12233 | PyObject *swig_obj[2] ; | |
10044bf1 | 12234 | |
5172800e RD |
12235 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
12236 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12237 | if (!SWIG_IsOK(res1)) { |
5172800e | 12238 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12239 | } |
5172800e | 12240 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
10044bf1 | 12241 | { |
5172800e RD |
12242 | arg2 = wxString_in_helper(swig_obj[1]); |
12243 | if (arg2 == NULL) SWIG_fail; | |
12244 | temp2 = true; | |
10044bf1 | 12245 | } |
5172800e RD |
12246 | if (arg1) (arg1)->caption = *arg2; |
12247 | ||
10044bf1 | 12248 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12249 | { |
12250 | if (temp2) | |
12251 | delete arg2; | |
12252 | } | |
10044bf1 RD |
12253 | return resultobj; |
12254 | fail: | |
5172800e RD |
12255 | { |
12256 | if (temp2) | |
12257 | delete arg2; | |
12258 | } | |
10044bf1 RD |
12259 | return NULL; |
12260 | } | |
12261 | ||
12262 | ||
5172800e | 12263 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12264 | PyObject *resultobj = 0; |
5172800e RD |
12265 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12266 | wxString *result = 0 ; | |
d95b9f2b RD |
12267 | void *argp1 = 0 ; |
12268 | int res1 = 0 ; | |
12269 | PyObject *swig_obj[1] ; | |
12270 | ||
12271 | if (!args) SWIG_fail; | |
12272 | swig_obj[0] = args; | |
5172800e | 12273 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 12274 | if (!SWIG_IsOK(res1)) { |
5172800e | 12275 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12276 | } |
5172800e RD |
12277 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12278 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 12279 | { |
5172800e RD |
12280 | #if wxUSE_UNICODE |
12281 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12282 | #else | |
12283 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12284 | #endif | |
d95b9f2b | 12285 | } |
d95b9f2b RD |
12286 | return resultobj; |
12287 | fail: | |
12288 | return NULL; | |
12289 | } | |
12290 | ||
12291 | ||
5172800e | 12292 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12293 | PyObject *resultobj = 0; |
5172800e RD |
12294 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12295 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12296 | void *argp1 = 0 ; |
12297 | int res1 = 0 ; | |
5172800e RD |
12298 | void *argp2 = 0 ; |
12299 | int res2 = 0 ; | |
12300 | PyObject *swig_obj[2] ; | |
10044bf1 | 12301 | |
5172800e RD |
12302 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12303 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12304 | if (!SWIG_IsOK(res1)) { |
5172800e | 12305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12306 | } |
5172800e RD |
12307 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12308 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12309 | if (!SWIG_IsOK(res2)) { | |
12310 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12311 | } |
5172800e RD |
12312 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12313 | if (arg1) (arg1)->bitmap = *arg2; | |
12314 | ||
10044bf1 RD |
12315 | resultobj = SWIG_Py_Void(); |
12316 | return resultobj; | |
12317 | fail: | |
12318 | return NULL; | |
12319 | } | |
12320 | ||
12321 | ||
5172800e | 12322 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12323 | PyObject *resultobj = 0; |
5172800e RD |
12324 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12325 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12326 | void *argp1 = 0 ; |
12327 | int res1 = 0 ; | |
12328 | PyObject *swig_obj[1] ; | |
12329 | ||
12330 | if (!args) SWIG_fail; | |
12331 | swig_obj[0] = args; | |
5172800e | 12332 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12333 | if (!SWIG_IsOK(res1)) { |
5172800e | 12334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12335 | } |
5172800e RD |
12336 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12337 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12338 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12339 | return resultobj; |
12340 | fail: | |
12341 | return NULL; | |
12342 | } | |
12343 | ||
12344 | ||
5172800e | 12345 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12346 | PyObject *resultobj = 0; |
5172800e RD |
12347 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12348 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12349 | void *argp1 = 0 ; |
12350 | int res1 = 0 ; | |
12351 | void *argp2 = 0 ; | |
12352 | int res2 = 0 ; | |
5172800e | 12353 | PyObject *swig_obj[2] ; |
d95b9f2b | 12354 | |
5172800e RD |
12355 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12356 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12357 | if (!SWIG_IsOK(res1)) { |
5172800e | 12358 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12359 | } |
5172800e RD |
12360 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12361 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12362 | if (!SWIG_IsOK(res2)) { |
5172800e | 12363 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12364 | } |
5172800e RD |
12365 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12366 | if (arg1) (arg1)->rect = *arg2; | |
12367 | ||
d95b9f2b RD |
12368 | resultobj = SWIG_Py_Void(); |
12369 | return resultobj; | |
12370 | fail: | |
12371 | return NULL; | |
12372 | } | |
12373 | ||
12374 | ||
5172800e | 12375 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12376 | PyObject *resultobj = 0; |
5172800e RD |
12377 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12378 | wxRect *result = 0 ; | |
10044bf1 RD |
12379 | void *argp1 = 0 ; |
12380 | int res1 = 0 ; | |
12381 | PyObject *swig_obj[1] ; | |
12382 | ||
12383 | if (!args) SWIG_fail; | |
12384 | swig_obj[0] = args; | |
5172800e | 12385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12386 | if (!SWIG_IsOK(res1)) { |
5172800e | 12387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12388 | } |
5172800e RD |
12389 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12390 | result = (wxRect *)& ((arg1)->rect); | |
12391 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10044bf1 RD |
12392 | return resultobj; |
12393 | fail: | |
12394 | return NULL; | |
12395 | } | |
12396 | ||
12397 | ||
5172800e | 12398 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12399 | PyObject *resultobj = 0; |
5172800e RD |
12400 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12401 | bool arg2 ; | |
10044bf1 RD |
12402 | void *argp1 = 0 ; |
12403 | int res1 = 0 ; | |
5172800e | 12404 | bool val2 ; |
10044bf1 RD |
12405 | int ecode2 = 0 ; |
12406 | PyObject *swig_obj[2] ; | |
12407 | ||
5172800e RD |
12408 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12409 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12410 | if (!SWIG_IsOK(res1)) { |
5172800e | 12411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12412 | } |
5172800e RD |
12413 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12414 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10044bf1 | 12415 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12416 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
10044bf1 | 12417 | } |
5172800e RD |
12418 | arg2 = static_cast< bool >(val2); |
12419 | if (arg1) (arg1)->active = arg2; | |
10044bf1 RD |
12420 | |
12421 | resultobj = SWIG_Py_Void(); | |
12422 | return resultobj; | |
12423 | fail: | |
12424 | return NULL; | |
12425 | } | |
12426 | ||
12427 | ||
5172800e | 12428 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12429 | PyObject *resultobj = 0; |
5172800e RD |
12430 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12431 | bool result; | |
10044bf1 RD |
12432 | void *argp1 = 0 ; |
12433 | int res1 = 0 ; | |
12434 | PyObject *swig_obj[1] ; | |
12435 | ||
12436 | if (!args) SWIG_fail; | |
12437 | swig_obj[0] = args; | |
5172800e | 12438 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12439 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12441 | } | |
12442 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12443 | result = (bool) ((arg1)->active); | |
12444 | { | |
12445 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 12446 | } |
10044bf1 RD |
12447 | return resultobj; |
12448 | fail: | |
12449 | return NULL; | |
12450 | } | |
12451 | ||
12452 | ||
5172800e RD |
12453 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12454 | PyObject *obj; | |
12455 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12456 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12457 | return SWIG_Py_Void(); | |
12458 | } | |
12459 | ||
12460 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12461 | PyObject *resultobj = 0; |
5172800e | 12462 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12463 | int arg2 ; |
12464 | void *argp1 = 0 ; | |
12465 | int res1 = 0 ; | |
12466 | int val2 ; | |
12467 | int ecode2 = 0 ; | |
12468 | PyObject *swig_obj[2] ; | |
12469 | ||
5172800e RD |
12470 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12471 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12472 | if (!SWIG_IsOK(res1)) { |
5172800e | 12473 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12474 | } |
5172800e | 12475 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12476 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12477 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12478 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
12479 | } |
12480 | arg2 = static_cast< int >(val2); | |
5172800e | 12481 | if (arg1) (arg1)->id = arg2; |
10044bf1 RD |
12482 | |
12483 | resultobj = SWIG_Py_Void(); | |
12484 | return resultobj; | |
12485 | fail: | |
12486 | return NULL; | |
12487 | } | |
12488 | ||
12489 | ||
5172800e | 12490 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12491 | PyObject *resultobj = 0; |
5172800e | 12492 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12493 | int result; |
12494 | void *argp1 = 0 ; | |
12495 | int res1 = 0 ; | |
12496 | PyObject *swig_obj[1] ; | |
12497 | ||
12498 | if (!args) SWIG_fail; | |
12499 | swig_obj[0] = args; | |
5172800e | 12500 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12501 | if (!SWIG_IsOK(res1)) { |
5172800e | 12502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12503 | } |
5172800e RD |
12504 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12505 | result = (int) ((arg1)->id); | |
10044bf1 RD |
12506 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12507 | return resultobj; | |
12508 | fail: | |
12509 | return NULL; | |
12510 | } | |
12511 | ||
12512 | ||
5172800e | 12513 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12514 | PyObject *resultobj = 0; |
5172800e RD |
12515 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12516 | int arg2 ; | |
d95b9f2b RD |
12517 | void *argp1 = 0 ; |
12518 | int res1 = 0 ; | |
5172800e RD |
12519 | int val2 ; |
12520 | int ecode2 = 0 ; | |
d95b9f2b RD |
12521 | PyObject *swig_obj[2] ; |
12522 | ||
5172800e RD |
12523 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12524 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12525 | if (!SWIG_IsOK(res1)) { |
5172800e | 12526 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12527 | } |
5172800e RD |
12528 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12529 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12530 | if (!SWIG_IsOK(ecode2)) { | |
12531 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12532 | } | |
12533 | arg2 = static_cast< int >(val2); | |
12534 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12535 | |
12536 | resultobj = SWIG_Py_Void(); | |
12537 | return resultobj; | |
12538 | fail: | |
12539 | return NULL; | |
12540 | } | |
12541 | ||
12542 | ||
5172800e | 12543 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12544 | PyObject *resultobj = 0; |
5172800e RD |
12545 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12546 | int result; | |
d95b9f2b RD |
12547 | void *argp1 = 0 ; |
12548 | int res1 = 0 ; | |
12549 | PyObject *swig_obj[1] ; | |
12550 | ||
12551 | if (!args) SWIG_fail; | |
12552 | swig_obj[0] = args; | |
5172800e | 12553 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12554 | if (!SWIG_IsOK(res1)) { |
5172800e | 12555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12556 | } |
5172800e RD |
12557 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12558 | result = (int) ((arg1)->cur_state); | |
12559 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12560 | return resultobj; |
12561 | fail: | |
12562 | return NULL; | |
12563 | } | |
12564 | ||
12565 | ||
5172800e | 12566 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12567 | PyObject *resultobj = 0; |
5172800e RD |
12568 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12569 | int arg2 ; | |
10044bf1 RD |
12570 | void *argp1 = 0 ; |
12571 | int res1 = 0 ; | |
5172800e RD |
12572 | int val2 ; |
12573 | int ecode2 = 0 ; | |
10044bf1 RD |
12574 | PyObject *swig_obj[2] ; |
12575 | ||
5172800e RD |
12576 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12577 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12578 | if (!SWIG_IsOK(res1)) { |
5172800e | 12579 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12580 | } |
5172800e RD |
12581 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12582 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12583 | if (!SWIG_IsOK(ecode2)) { | |
12584 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12585 | } | |
12586 | arg2 = static_cast< int >(val2); | |
12587 | if (arg1) (arg1)->location = arg2; | |
10044bf1 RD |
12588 | |
12589 | resultobj = SWIG_Py_Void(); | |
12590 | return resultobj; | |
12591 | fail: | |
12592 | return NULL; | |
12593 | } | |
12594 | ||
12595 | ||
5172800e | 12596 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12597 | PyObject *resultobj = 0; |
5172800e RD |
12598 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12599 | int result; | |
10044bf1 RD |
12600 | void *argp1 = 0 ; |
12601 | int res1 = 0 ; | |
12602 | PyObject *swig_obj[1] ; | |
12603 | ||
12604 | if (!args) SWIG_fail; | |
12605 | swig_obj[0] = args; | |
5172800e | 12606 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12607 | if (!SWIG_IsOK(res1)) { |
5172800e | 12608 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12609 | } |
5172800e RD |
12610 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12611 | result = (int) ((arg1)->location); | |
12612 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
12613 | return resultobj; |
12614 | fail: | |
12615 | return NULL; | |
12616 | } | |
12617 | ||
12618 | ||
5172800e | 12619 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12620 | PyObject *resultobj = 0; |
5172800e RD |
12621 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12622 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12623 | void *argp1 = 0 ; |
12624 | int res1 = 0 ; | |
5172800e RD |
12625 | void *argp2 = 0 ; |
12626 | int res2 = 0 ; | |
10044bf1 RD |
12627 | PyObject *swig_obj[2] ; |
12628 | ||
5172800e RD |
12629 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12630 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12631 | if (!SWIG_IsOK(res1)) { |
5172800e | 12632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12633 | } |
5172800e RD |
12634 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12635 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12636 | if (!SWIG_IsOK(res2)) { | |
12637 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12638 | } |
5172800e RD |
12639 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12640 | if (arg1) (arg1)->bitmap = *arg2; | |
10044bf1 RD |
12641 | |
12642 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12643 | return resultobj; |
12644 | fail: | |
10044bf1 RD |
12645 | return NULL; |
12646 | } | |
12647 | ||
12648 | ||
5172800e | 12649 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12650 | PyObject *resultobj = 0; |
5172800e RD |
12651 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12652 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12653 | void *argp1 = 0 ; |
12654 | int res1 = 0 ; | |
12655 | PyObject *swig_obj[1] ; | |
12656 | ||
12657 | if (!args) SWIG_fail; | |
12658 | swig_obj[0] = args; | |
5172800e RD |
12659 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12660 | if (!SWIG_IsOK(res1)) { | |
12661 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
10044bf1 | 12662 | } |
5172800e RD |
12663 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12664 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12665 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12666 | return resultobj; |
12667 | fail: | |
12668 | return NULL; | |
12669 | } | |
12670 | ||
12671 | ||
5172800e | 12672 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12673 | PyObject *resultobj = 0; |
5172800e | 12674 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12675 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12676 | void *argp1 = 0 ; | |
12677 | int res1 = 0 ; | |
12678 | void *argp2 = 0 ; | |
12679 | int res2 = 0 ; | |
12680 | PyObject *swig_obj[2] ; | |
12681 | ||
5172800e RD |
12682 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12683 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12684 | if (!SWIG_IsOK(res1)) { |
5172800e | 12685 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12686 | } |
5172800e | 12687 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12688 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12689 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12690 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
10044bf1 RD |
12691 | } |
12692 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12693 | if (arg1) (arg1)->dis_bitmap = *arg2; |
10044bf1 RD |
12694 | |
12695 | resultobj = SWIG_Py_Void(); | |
12696 | return resultobj; | |
12697 | fail: | |
12698 | return NULL; | |
12699 | } | |
12700 | ||
12701 | ||
5172800e | 12702 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12703 | PyObject *resultobj = 0; |
5172800e | 12704 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12705 | wxBitmap *result = 0 ; |
12706 | void *argp1 = 0 ; | |
12707 | int res1 = 0 ; | |
12708 | PyObject *swig_obj[1] ; | |
12709 | ||
12710 | if (!args) SWIG_fail; | |
12711 | swig_obj[0] = args; | |
5172800e | 12712 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12713 | if (!SWIG_IsOK(res1)) { |
5172800e | 12714 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12715 | } |
5172800e RD |
12716 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12717 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
10044bf1 RD |
12718 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12719 | return resultobj; | |
12720 | fail: | |
12721 | return NULL; | |
12722 | } | |
12723 | ||
12724 | ||
5172800e | 12725 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12726 | PyObject *resultobj = 0; |
5172800e | 12727 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12728 | wxRect *arg2 = (wxRect *) 0 ; |
12729 | void *argp1 = 0 ; | |
12730 | int res1 = 0 ; | |
12731 | void *argp2 = 0 ; | |
12732 | int res2 = 0 ; | |
12733 | PyObject *swig_obj[2] ; | |
12734 | ||
5172800e RD |
12735 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12736 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12737 | if (!SWIG_IsOK(res1)) { |
5172800e | 12738 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12739 | } |
5172800e | 12740 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12741 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12742 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12743 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
10044bf1 RD |
12744 | } |
12745 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12746 | if (arg1) (arg1)->rect = *arg2; | |
12747 | ||
12748 | resultobj = SWIG_Py_Void(); | |
12749 | return resultobj; | |
12750 | fail: | |
12751 | return NULL; | |
12752 | } | |
12753 | ||
12754 | ||
5172800e | 12755 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12756 | PyObject *resultobj = 0; |
5172800e | 12757 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12758 | wxRect *result = 0 ; |
12759 | void *argp1 = 0 ; | |
12760 | int res1 = 0 ; | |
12761 | PyObject *swig_obj[1] ; | |
12762 | ||
12763 | if (!args) SWIG_fail; | |
12764 | swig_obj[0] = args; | |
5172800e | 12765 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12766 | if (!SWIG_IsOK(res1)) { |
5172800e | 12767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12768 | } |
5172800e | 12769 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12770 | result = (wxRect *)& ((arg1)->rect); |
12771 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12772 | return resultobj; | |
12773 | fail: | |
12774 | return NULL; | |
12775 | } | |
12776 | ||
12777 | ||
5172800e RD |
12778 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12779 | PyObject *obj; | |
12780 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12781 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12782 | return SWIG_Py_Void(); | |
12783 | } | |
12784 | ||
12785 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12786 | PyObject *resultobj = 0; |
5172800e | 12787 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
10044bf1 RD |
12788 | void *argp1 = 0 ; |
12789 | int res1 = 0 ; | |
5172800e RD |
12790 | PyObject *swig_obj[1] ; |
12791 | ||
12792 | if (!args) SWIG_fail; | |
12793 | swig_obj[0] = args; | |
12794 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12795 | if (!SWIG_IsOK(res1)) { | |
12796 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12797 | } | |
12798 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12799 | { | |
12800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12801 | delete arg1; | |
12802 | ||
12803 | wxPyEndAllowThreads(__tstate); | |
12804 | if (PyErr_Occurred()) SWIG_fail; | |
12805 | } | |
12806 | resultobj = SWIG_Py_Void(); | |
12807 | return resultobj; | |
12808 | fail: | |
12809 | return NULL; | |
12810 | } | |
12811 | ||
12812 | ||
12813 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12814 | PyObject *resultobj = 0; | |
12815 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12816 | wxAuiTabArt *result = 0 ; | |
12817 | void *argp1 = 0 ; | |
12818 | int res1 = 0 ; | |
12819 | PyObject *swig_obj[1] ; | |
12820 | ||
12821 | if (!args) SWIG_fail; | |
12822 | swig_obj[0] = args; | |
12823 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12824 | if (!SWIG_IsOK(res1)) { | |
12825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12826 | } | |
12827 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12828 | { | |
12829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12830 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12831 | wxPyEndAllowThreads(__tstate); | |
12832 | if (PyErr_Occurred()) SWIG_fail; | |
12833 | } | |
12834 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12835 | return resultobj; | |
12836 | fail: | |
12837 | return NULL; | |
12838 | } | |
12839 | ||
12840 | ||
12841 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12842 | PyObject *resultobj = 0; | |
12843 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12844 | int arg2 ; | |
12845 | void *argp1 = 0 ; | |
12846 | int res1 = 0 ; | |
12847 | int val2 ; | |
10044bf1 | 12848 | int ecode2 = 0 ; |
5172800e RD |
12849 | PyObject * obj0 = 0 ; |
12850 | PyObject * obj1 = 0 ; | |
12851 | char * kwnames[] = { | |
12852 | (char *) "self",(char *) "flags", NULL | |
12853 | }; | |
10044bf1 | 12854 | |
5172800e RD |
12855 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12856 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12857 | if (!SWIG_IsOK(res1)) { |
5172800e | 12858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12859 | } |
5172800e RD |
12860 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12861 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10044bf1 | 12862 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12863 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 | 12864 | } |
5172800e RD |
12865 | arg2 = static_cast< int >(val2); |
12866 | { | |
12867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12868 | (arg1)->SetFlags(arg2); | |
12869 | wxPyEndAllowThreads(__tstate); | |
12870 | if (PyErr_Occurred()) SWIG_fail; | |
12871 | } | |
12872 | resultobj = SWIG_Py_Void(); | |
12873 | return resultobj; | |
12874 | fail: | |
12875 | return NULL; | |
12876 | } | |
12877 | ||
12878 | ||
12879 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12880 | PyObject *resultobj = 0; | |
12881 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12882 | wxSize *arg2 = 0 ; | |
12883 | size_t arg3 ; | |
12884 | void *argp1 = 0 ; | |
12885 | int res1 = 0 ; | |
12886 | wxSize temp2 ; | |
12887 | size_t val3 ; | |
12888 | int ecode3 = 0 ; | |
12889 | PyObject * obj0 = 0 ; | |
12890 | PyObject * obj1 = 0 ; | |
12891 | PyObject * obj2 = 0 ; | |
12892 | char * kwnames[] = { | |
12893 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12894 | }; | |
10044bf1 | 12895 | |
5172800e RD |
12896 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12897 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12898 | if (!SWIG_IsOK(res1)) { | |
12899 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12900 | } | |
12901 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12902 | { | |
12903 | arg2 = &temp2; | |
12904 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12905 | } | |
12906 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12907 | if (!SWIG_IsOK(ecode3)) { | |
12908 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12909 | } | |
12910 | arg3 = static_cast< size_t >(val3); | |
12911 | { | |
12912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12913 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12914 | wxPyEndAllowThreads(__tstate); | |
12915 | if (PyErr_Occurred()) SWIG_fail; | |
12916 | } | |
10044bf1 RD |
12917 | resultobj = SWIG_Py_Void(); |
12918 | return resultobj; | |
12919 | fail: | |
12920 | return NULL; | |
12921 | } | |
12922 | ||
12923 | ||
5172800e | 12924 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12925 | PyObject *resultobj = 0; |
5172800e RD |
12926 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12927 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12928 | void *argp1 = 0 ; |
12929 | int res1 = 0 ; | |
5172800e RD |
12930 | void *argp2 = 0 ; |
12931 | int res2 = 0 ; | |
12932 | PyObject * obj0 = 0 ; | |
12933 | PyObject * obj1 = 0 ; | |
12934 | char * kwnames[] = { | |
12935 | (char *) "self",(char *) "font", NULL | |
12936 | }; | |
10044bf1 | 12937 | |
5172800e RD |
12938 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12939 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12940 | if (!SWIG_IsOK(res1)) { |
5172800e | 12941 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12942 | } |
5172800e RD |
12943 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12944 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12945 | if (!SWIG_IsOK(res2)) { | |
12946 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12947 | } | |
12948 | if (!argp2) { | |
12949 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12950 | } | |
12951 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12952 | { | |
12953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12954 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12955 | wxPyEndAllowThreads(__tstate); | |
12956 | if (PyErr_Occurred()) SWIG_fail; | |
12957 | } | |
12958 | resultobj = SWIG_Py_Void(); | |
12959 | return resultobj; | |
12960 | fail: | |
12961 | return NULL; | |
12962 | } | |
12963 | ||
12964 | ||
12965 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12966 | PyObject *resultobj = 0; | |
12967 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12968 | wxFont *arg2 = 0 ; | |
12969 | void *argp1 = 0 ; | |
12970 | int res1 = 0 ; | |
12971 | void *argp2 = 0 ; | |
12972 | int res2 = 0 ; | |
12973 | PyObject * obj0 = 0 ; | |
12974 | PyObject * obj1 = 0 ; | |
12975 | char * kwnames[] = { | |
12976 | (char *) "self",(char *) "font", NULL | |
12977 | }; | |
12978 | ||
12979 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12980 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12981 | if (!SWIG_IsOK(res1)) { | |
12982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12983 | } | |
12984 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12985 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12986 | if (!SWIG_IsOK(res2)) { | |
12987 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12988 | } | |
12989 | if (!argp2) { | |
12990 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12991 | } | |
12992 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
10044bf1 | 12993 | { |
5172800e RD |
12994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12995 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12996 | wxPyEndAllowThreads(__tstate); | |
12997 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 12998 | } |
5172800e | 12999 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
13000 | return resultobj; |
13001 | fail: | |
13002 | return NULL; | |
13003 | } | |
13004 | ||
13005 | ||
5172800e | 13006 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13007 | PyObject *resultobj = 0; |
5172800e RD |
13008 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13009 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
13010 | void *argp1 = 0 ; |
13011 | int res1 = 0 ; | |
5172800e RD |
13012 | void *argp2 = 0 ; |
13013 | int res2 = 0 ; | |
13014 | PyObject * obj0 = 0 ; | |
13015 | PyObject * obj1 = 0 ; | |
13016 | char * kwnames[] = { | |
13017 | (char *) "self",(char *) "font", NULL | |
13018 | }; | |
10044bf1 | 13019 | |
5172800e RD |
13020 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
13021 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13022 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13023 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13024 | } | |
13025 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13026 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13027 | if (!SWIG_IsOK(res2)) { | |
13028 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13029 | } | |
13030 | if (!argp2) { | |
13031 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13032 | } | |
13033 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13034 | { | |
13035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13036 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13037 | wxPyEndAllowThreads(__tstate); | |
13038 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13039 | } |
10044bf1 RD |
13040 | resultobj = SWIG_Py_Void(); |
13041 | return resultobj; | |
13042 | fail: | |
13043 | return NULL; | |
13044 | } | |
13045 | ||
13046 | ||
5172800e | 13047 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13048 | PyObject *resultobj = 0; |
5172800e RD |
13049 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13050 | wxDC *arg2 = 0 ; | |
13051 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13052 | wxRect *arg4 = 0 ; | |
10044bf1 RD |
13053 | void *argp1 = 0 ; |
13054 | int res1 = 0 ; | |
5172800e RD |
13055 | void *argp2 = 0 ; |
13056 | int res2 = 0 ; | |
13057 | void *argp3 = 0 ; | |
13058 | int res3 = 0 ; | |
13059 | wxRect temp4 ; | |
13060 | PyObject * obj0 = 0 ; | |
13061 | PyObject * obj1 = 0 ; | |
13062 | PyObject * obj2 = 0 ; | |
13063 | PyObject * obj3 = 0 ; | |
13064 | char * kwnames[] = { | |
13065 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
13066 | }; | |
10044bf1 | 13067 | |
5172800e RD |
13068 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13069 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13070 | if (!SWIG_IsOK(res1)) { |
5172800e | 13071 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13072 | } |
5172800e RD |
13073 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13074 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13075 | if (!SWIG_IsOK(res2)) { | |
13076 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13077 | } | |
13078 | if (!argp2) { | |
13079 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13080 | } | |
13081 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13082 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13083 | if (!SWIG_IsOK(res3)) { | |
13084 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13085 | } | |
13086 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13087 | { | |
13088 | arg4 = &temp4; | |
13089 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13090 | } | |
13091 | { | |
13092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13093 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
13094 | wxPyEndAllowThreads(__tstate); | |
13095 | if (PyErr_Occurred()) SWIG_fail; | |
13096 | } | |
13097 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13098 | return resultobj; |
13099 | fail: | |
13100 | return NULL; | |
13101 | } | |
13102 | ||
13103 | ||
5172800e | 13104 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13105 | PyObject *resultobj = 0; |
5172800e RD |
13106 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13107 | wxDC *arg2 = 0 ; | |
13108 | wxWindow *arg3 = (wxWindow *) 0 ; | |
d754c85e RD |
13109 | wxAuiNotebookPage *arg4 = 0 ; |
13110 | wxRect *arg5 = 0 ; | |
13111 | int arg6 ; | |
13112 | wxRect *arg7 = (wxRect *) 0 ; | |
13113 | wxRect *arg8 = (wxRect *) 0 ; | |
13114 | int *arg9 = (int *) 0 ; | |
10044bf1 RD |
13115 | void *argp1 = 0 ; |
13116 | int res1 = 0 ; | |
5172800e RD |
13117 | void *argp2 = 0 ; |
13118 | int res2 = 0 ; | |
13119 | void *argp3 = 0 ; | |
13120 | int res3 = 0 ; | |
d754c85e RD |
13121 | void *argp4 = 0 ; |
13122 | int res4 = 0 ; | |
13123 | wxRect temp5 ; | |
13124 | int val6 ; | |
13125 | int ecode6 = 0 ; | |
13126 | void *argp7 = 0 ; | |
13127 | int res7 = 0 ; | |
13128 | void *argp8 = 0 ; | |
13129 | int res8 = 0 ; | |
5172800e RD |
13130 | void *argp9 = 0 ; |
13131 | int res9 = 0 ; | |
5172800e RD |
13132 | PyObject * obj0 = 0 ; |
13133 | PyObject * obj1 = 0 ; | |
13134 | PyObject * obj2 = 0 ; | |
13135 | PyObject * obj3 = 0 ; | |
13136 | PyObject * obj4 = 0 ; | |
13137 | PyObject * obj5 = 0 ; | |
13138 | PyObject * obj6 = 0 ; | |
13139 | PyObject * obj7 = 0 ; | |
13140 | PyObject * obj8 = 0 ; | |
5172800e | 13141 | char * kwnames[] = { |
d754c85e | 13142 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "pane",(char *) "in_rect",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL |
5172800e | 13143 | }; |
10044bf1 | 13144 | |
d754c85e | 13145 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5172800e | 13146 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13147 | if (!SWIG_IsOK(res1)) { |
5172800e | 13148 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13149 | } |
5172800e RD |
13150 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13151 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13152 | if (!SWIG_IsOK(res2)) { | |
13153 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13154 | } | |
13155 | if (!argp2) { | |
13156 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13157 | } | |
13158 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13159 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13160 | if (!SWIG_IsOK(res3)) { | |
13161 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13162 | } | |
13163 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
d754c85e RD |
13164 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); |
13165 | if (!SWIG_IsOK(res4)) { | |
13166 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13167 | } |
d754c85e RD |
13168 | if (!argp4) { |
13169 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13170 | } |
d754c85e RD |
13171 | arg4 = reinterpret_cast< wxAuiNotebookPage * >(argp4); |
13172 | { | |
13173 | arg5 = &temp5; | |
13174 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
5172800e | 13175 | } |
d754c85e RD |
13176 | ecode6 = SWIG_AsVal_int(obj5, &val6); |
13177 | if (!SWIG_IsOK(ecode6)) { | |
13178 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); | |
5172800e | 13179 | } |
d754c85e RD |
13180 | arg6 = static_cast< int >(val6); |
13181 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13182 | if (!SWIG_IsOK(res7)) { | |
13183 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); | |
5172800e | 13184 | } |
d754c85e RD |
13185 | arg7 = reinterpret_cast< wxRect * >(argp7); |
13186 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13187 | if (!SWIG_IsOK(res8)) { | |
13188 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); | |
5172800e | 13189 | } |
d754c85e RD |
13190 | arg8 = reinterpret_cast< wxRect * >(argp8); |
13191 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); | |
13192 | if (!SWIG_IsOK(res9)) { | |
13193 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); | |
5172800e | 13194 | } |
d754c85e | 13195 | arg9 = reinterpret_cast< int * >(argp9); |
5172800e RD |
13196 | { |
13197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13198 | (arg1)->DrawTab(*arg2,arg3,(wxAuiNotebookPage const &)*arg4,(wxRect const &)*arg5,arg6,arg7,arg8,arg9); |
5172800e RD |
13199 | wxPyEndAllowThreads(__tstate); |
13200 | if (PyErr_Occurred()) SWIG_fail; | |
13201 | } | |
10044bf1 RD |
13202 | resultobj = SWIG_Py_Void(); |
13203 | return resultobj; | |
13204 | fail: | |
13205 | return NULL; | |
13206 | } | |
13207 | ||
13208 | ||
5172800e | 13209 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13210 | PyObject *resultobj = 0; |
5172800e RD |
13211 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13212 | wxDC *arg2 = 0 ; | |
13213 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13214 | wxRect *arg4 = 0 ; | |
13215 | int arg5 ; | |
13216 | int arg6 ; | |
13217 | int arg7 ; | |
d754c85e | 13218 | wxRect *arg8 = (wxRect *) 0 ; |
10044bf1 RD |
13219 | void *argp1 = 0 ; |
13220 | int res1 = 0 ; | |
5172800e RD |
13221 | void *argp2 = 0 ; |
13222 | int res2 = 0 ; | |
13223 | void *argp3 = 0 ; | |
13224 | int res3 = 0 ; | |
13225 | wxRect temp4 ; | |
13226 | int val5 ; | |
13227 | int ecode5 = 0 ; | |
13228 | int val6 ; | |
13229 | int ecode6 = 0 ; | |
13230 | int val7 ; | |
13231 | int ecode7 = 0 ; | |
13232 | void *argp8 = 0 ; | |
13233 | int res8 = 0 ; | |
5172800e RD |
13234 | PyObject * obj0 = 0 ; |
13235 | PyObject * obj1 = 0 ; | |
13236 | PyObject * obj2 = 0 ; | |
13237 | PyObject * obj3 = 0 ; | |
13238 | PyObject * obj4 = 0 ; | |
13239 | PyObject * obj5 = 0 ; | |
13240 | PyObject * obj6 = 0 ; | |
13241 | PyObject * obj7 = 0 ; | |
5172800e | 13242 | char * kwnames[] = { |
d754c85e | 13243 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "out_rect", NULL |
5172800e | 13244 | }; |
10044bf1 | 13245 | |
d754c85e | 13246 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
5172800e | 13247 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13248 | if (!SWIG_IsOK(res1)) { |
5172800e | 13249 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13250 | } |
5172800e RD |
13251 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13252 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13253 | if (!SWIG_IsOK(res2)) { | |
13254 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 13255 | } |
5172800e RD |
13256 | if (!argp2) { |
13257 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13258 | } | |
13259 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13260 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13261 | if (!SWIG_IsOK(res3)) { | |
13262 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13263 | } | |
13264 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13265 | { | |
13266 | arg4 = &temp4; | |
13267 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13268 | } | |
13269 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13270 | if (!SWIG_IsOK(ecode5)) { | |
13271 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 13272 | } |
5172800e RD |
13273 | arg5 = static_cast< int >(val5); |
13274 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13275 | if (!SWIG_IsOK(ecode6)) { | |
13276 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
13277 | } | |
13278 | arg6 = static_cast< int >(val6); | |
13279 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13280 | if (!SWIG_IsOK(ecode7)) { | |
13281 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
13282 | } | |
13283 | arg7 = static_cast< int >(val7); | |
d754c85e | 13284 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5172800e | 13285 | if (!SWIG_IsOK(res8)) { |
d754c85e | 13286 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); |
5172800e | 13287 | } |
d754c85e | 13288 | arg8 = reinterpret_cast< wxRect * >(argp8); |
5172800e RD |
13289 | { |
13290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13291 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,arg8); |
5172800e RD |
13292 | wxPyEndAllowThreads(__tstate); |
13293 | if (PyErr_Occurred()) SWIG_fail; | |
13294 | } | |
5c8c7dd3 RD |
13295 | resultobj = SWIG_Py_Void(); |
13296 | return resultobj; | |
13297 | fail: | |
13298 | return NULL; | |
13299 | } | |
13300 | ||
13301 | ||
5172800e | 13302 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13303 | PyObject *resultobj = 0; |
5172800e RD |
13304 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13305 | wxDC *arg2 = 0 ; | |
13306 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13307 | wxString *arg4 = 0 ; | |
13308 | wxBitmap *arg5 = 0 ; | |
13309 | bool arg6 ; | |
13310 | int arg7 ; | |
13311 | int *arg8 = (int *) 0 ; | |
13312 | wxSize result; | |
10044bf1 RD |
13313 | void *argp1 = 0 ; |
13314 | int res1 = 0 ; | |
13315 | void *argp2 = 0 ; | |
13316 | int res2 = 0 ; | |
5172800e RD |
13317 | void *argp3 = 0 ; |
13318 | int res3 = 0 ; | |
13319 | bool temp4 = false ; | |
13320 | void *argp5 = 0 ; | |
13321 | int res5 = 0 ; | |
13322 | bool val6 ; | |
13323 | int ecode6 = 0 ; | |
13324 | int val7 ; | |
13325 | int ecode7 = 0 ; | |
13326 | void *argp8 = 0 ; | |
13327 | int res8 = 0 ; | |
13328 | PyObject * obj0 = 0 ; | |
13329 | PyObject * obj1 = 0 ; | |
13330 | PyObject * obj2 = 0 ; | |
13331 | PyObject * obj3 = 0 ; | |
13332 | PyObject * obj4 = 0 ; | |
13333 | PyObject * obj5 = 0 ; | |
13334 | PyObject * obj6 = 0 ; | |
13335 | PyObject * obj7 = 0 ; | |
13336 | char * kwnames[] = { | |
13337 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13338 | }; | |
10044bf1 | 13339 | |
5172800e RD |
13340 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13341 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13342 | if (!SWIG_IsOK(res1)) { |
5172800e | 13343 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13344 | } |
5172800e RD |
13345 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13346 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10044bf1 | 13347 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13348 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13349 | } | |
13350 | if (!argp2) { | |
13351 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13352 | } | |
13353 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13354 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13355 | if (!SWIG_IsOK(res3)) { | |
13356 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13357 | } | |
13358 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13359 | { | |
13360 | arg4 = wxString_in_helper(obj3); | |
13361 | if (arg4 == NULL) SWIG_fail; | |
13362 | temp4 = true; | |
13363 | } | |
13364 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13365 | if (!SWIG_IsOK(res5)) { | |
13366 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13367 | } | |
13368 | if (!argp5) { | |
13369 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13370 | } | |
13371 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13372 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13373 | if (!SWIG_IsOK(ecode6)) { | |
13374 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13375 | } | |
13376 | arg6 = static_cast< bool >(val6); | |
13377 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13378 | if (!SWIG_IsOK(ecode7)) { | |
13379 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13380 | } | |
13381 | arg7 = static_cast< int >(val7); | |
13382 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13383 | if (!SWIG_IsOK(res8)) { | |
13384 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13385 | } | |
13386 | arg8 = reinterpret_cast< int * >(argp8); | |
13387 | { | |
13388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13389 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13390 | wxPyEndAllowThreads(__tstate); | |
13391 | if (PyErr_Occurred()) SWIG_fail; | |
13392 | } | |
13393 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13394 | { | |
13395 | if (temp4) | |
13396 | delete arg4; | |
10044bf1 | 13397 | } |
10044bf1 RD |
13398 | return resultobj; |
13399 | fail: | |
5172800e RD |
13400 | { |
13401 | if (temp4) | |
13402 | delete arg4; | |
13403 | } | |
10044bf1 RD |
13404 | return NULL; |
13405 | } | |
13406 | ||
13407 | ||
d754c85e | 13408 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowDropDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13409 | PyObject *resultobj = 0; |
5172800e RD |
13410 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13411 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d754c85e | 13412 | wxAuiNotebookPageArray *arg3 = 0 ; |
5172800e RD |
13413 | int arg4 ; |
13414 | int result; | |
10044bf1 RD |
13415 | void *argp1 = 0 ; |
13416 | int res1 = 0 ; | |
5172800e RD |
13417 | void *argp2 = 0 ; |
13418 | int res2 = 0 ; | |
d754c85e RD |
13419 | void *argp3 = 0 ; |
13420 | int res3 = 0 ; | |
5172800e RD |
13421 | int val4 ; |
13422 | int ecode4 = 0 ; | |
13423 | PyObject * obj0 = 0 ; | |
13424 | PyObject * obj1 = 0 ; | |
13425 | PyObject * obj2 = 0 ; | |
13426 | PyObject * obj3 = 0 ; | |
13427 | char * kwnames[] = { | |
13428 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13429 | }; | |
10044bf1 | 13430 | |
d754c85e | 13431 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowDropDown",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13432 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13433 | if (!SWIG_IsOK(res1)) { |
d754c85e | 13434 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5172800e RD |
13435 | } |
13436 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13437 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13438 | if (!SWIG_IsOK(res2)) { | |
d754c85e | 13439 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5172800e RD |
13440 | } |
13441 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
d754c85e RD |
13442 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
13443 | if (!SWIG_IsOK(res3)) { | |
13444 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
13445 | } | |
13446 | if (!argp3) { | |
13447 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
5172800e | 13448 | } |
d754c85e | 13449 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); |
5172800e RD |
13450 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
13451 | if (!SWIG_IsOK(ecode4)) { | |
d754c85e | 13452 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "4"" of type '" "int""'"); |
5172800e RD |
13453 | } |
13454 | arg4 = static_cast< int >(val4); | |
13455 | { | |
13456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13457 | result = (int)(arg1)->ShowDropDown(arg2,(wxAuiNotebookPageArray const &)*arg3,arg4); |
5172800e RD |
13458 | wxPyEndAllowThreads(__tstate); |
13459 | if (PyErr_Occurred()) SWIG_fail; | |
13460 | } | |
13461 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
13462 | return resultobj; |
13463 | fail: | |
d754c85e RD |
13464 | return NULL; |
13465 | } | |
13466 | ||
13467 | ||
13468 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13469 | PyObject *resultobj = 0; | |
13470 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
13471 | int result; | |
13472 | void *argp1 = 0 ; | |
13473 | int res1 = 0 ; | |
13474 | PyObject *swig_obj[1] ; | |
13475 | ||
13476 | if (!args) SWIG_fail; | |
13477 | swig_obj[0] = args; | |
13478 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13479 | if (!SWIG_IsOK(res1)) { | |
13480 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
13481 | } | |
13482 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
5172800e | 13483 | { |
d754c85e RD |
13484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13485 | result = (int)(arg1)->GetIndentSize(); | |
13486 | wxPyEndAllowThreads(__tstate); | |
13487 | if (PyErr_Occurred()) SWIG_fail; | |
5172800e | 13488 | } |
d754c85e RD |
13489 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13490 | return resultobj; | |
13491 | fail: | |
10044bf1 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 | 13528 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
d754c85e | 13529 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
5172800e | 13530 | if (!SWIG_IsOK(res3)) { |
d754c85e | 13531 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13532 | } |
13533 | if (!argp3) { | |
d754c85e | 13534 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
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(); | |
d754c85e | 13543 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,(wxAuiNotebookPageArray const &)*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) { | |
10044bf1 | 13619 | PyObject *resultobj = 0; |
5172800e | 13620 | wxAuiSimpleTabArt *result = 0 ; |
10044bf1 | 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; | |
10044bf1 | 13628 | } |
5172800e | 13629 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
13630 | return resultobj; |
13631 | fail: | |
13632 | return NULL; | |
13633 | } | |
13634 | ||
13635 | ||
5172800e | 13636 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 13637 | PyObject *resultobj = 0; |
5172800e | 13638 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
10044bf1 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 ); |
10044bf1 | 13646 | if (!SWIG_IsOK(res1)) { |
5172800e | 13647 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
10044bf1 | 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(); | |
10044bf1 RD |
13658 | return resultobj; |
13659 | fail: | |
13660 | return NULL; | |
13661 | } | |
13662 | ||
13663 | ||
5172800e | 13664 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 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)); |
10044bf1 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 | ||
10044bf1 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(); |
5c8c7dd3 RD |
13777 | wxPyEndAllowThreads(__tstate); |
13778 | if (PyErr_Occurred()) SWIG_fail; | |
13779 | } | |
5eb8189c RD |
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); | |
13815 | wxPyEndAllowThreads(__tstate); | |
13816 | if (PyErr_Occurred()) SWIG_fail; | |
13817 | } | |
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 | ||
10044bf1 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 | ||
10044bf1 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 | ||
d48ae46b | 14440 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
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 ; | |
d48ae46b RD |
14449 | PyObject * obj0 = 0 ; |
14450 | PyObject * obj1 = 0 ; | |
14451 | char * kwnames[] = { | |
14452 | (char *) "self",(char *) "idx", NULL | |
14453 | }; | |
10044bf1 | 14454 | |
d48ae46b RD |
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 ); | |
10044bf1 RD |
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); | |
d48ae46b | 14461 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
10044bf1 RD |
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 | ||
10044bf1 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 ; | |
10044bf1 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 ; | |
10044bf1 RD |
14756 | PyObject * obj0 = 0 ; |
14757 | PyObject * obj1 = 0 ; | |
14758 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14759 | PyObject * obj3 = 0 ; |
8f514ab4 | 14760 | PyObject * obj4 = 0 ; |
10044bf1 | 14761 | char * kwnames[] = { |
8f514ab4 | 14762 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14763 | }; |
14764 | ||
8f514ab4 | 14765 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 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); | |
10044bf1 | 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); | |
10044bf1 | 14800 | } |
10044bf1 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); | |
10044bf1 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 | ||
10044bf1 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) { |
10044bf1 | 15003 | PyObject *resultobj = 0; |
5eb8189c | 15004 | wxAuiNotebook *result = 0 ; |
10044bf1 | 15005 | |
5eb8189c | 15006 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
15007 | { |
15008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15009 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 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 ); |
10044bf1 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) { |
10044bf1 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 ; | |
10044bf1 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; |
10044bf1 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 *""'"); |
10044bf1 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""'"); |
10044bf1 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""'"); |
10044bf1 RD |
15076 | } |
15077 | arg5 = static_cast< long >(val5); | |
15078 | } | |
15079 | { | |
15080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15081 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
10044bf1 RD |
15082 | wxPyEndAllowThreads(__tstate); |
15083 | if (PyErr_Occurred()) SWIG_fail; | |
15084 | } | |
5eb8189c | 15085 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
15086 | return resultobj; |
15087 | fail: | |
15088 | return NULL; | |
15089 | } | |
15090 | ||
15091 | ||
5eb8189c | 15092 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15093 | PyObject *resultobj = 0; |
5eb8189c RD |
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 | ||
15110 | wxPyEndAllowThreads(__tstate); | |
15111 | if (PyErr_Occurred()) SWIG_fail; | |
15112 | } | |
15113 | resultobj = SWIG_Py_Void(); | |
15114 | return resultobj; | |
15115 | fail: | |
15116 | return NULL; | |
15117 | } | |
15118 | ||
15119 | ||
15120 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15121 | PyObject *resultobj = 0; | |
15122 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
10044bf1 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 ); | |
10044bf1 | 15153 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15154 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15155 | } |
5eb8189c | 15156 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 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 *""'"); |
10044bf1 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""'"); |
10044bf1 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""'"); |
10044bf1 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 | ||
a6927690 RD |
15203 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15204 | PyObject *resultobj = 0; | |
15205 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15206 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
15207 | void *argp1 = 0 ; | |
15208 | int res1 = 0 ; | |
15209 | void *argp2 = 0 ; | |
15210 | int res2 = 0 ; | |
15211 | PyObject * obj0 = 0 ; | |
15212 | PyObject * obj1 = 0 ; | |
15213 | char * kwnames[] = { | |
15214 | (char *) "self",(char *) "art", NULL | |
15215 | }; | |
15216 | ||
15217 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
15218 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15219 | if (!SWIG_IsOK(res1)) { | |
15220 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15221 | } | |
15222 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15223 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15224 | if (!SWIG_IsOK(res2)) { | |
15225 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
15226 | } | |
15227 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
15228 | { | |
15229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15230 | (arg1)->SetArtProvider(arg2); | |
15231 | wxPyEndAllowThreads(__tstate); | |
15232 | if (PyErr_Occurred()) SWIG_fail; | |
15233 | } | |
15234 | resultobj = SWIG_Py_Void(); | |
15235 | return resultobj; | |
15236 | fail: | |
15237 | return NULL; | |
15238 | } | |
15239 | ||
15240 | ||
15241 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15242 | PyObject *resultobj = 0; | |
15243 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15244 | wxAuiTabArt *result = 0 ; | |
15245 | void *argp1 = 0 ; | |
15246 | int res1 = 0 ; | |
15247 | PyObject *swig_obj[1] ; | |
15248 | ||
15249 | if (!args) SWIG_fail; | |
15250 | swig_obj[0] = args; | |
15251 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15252 | if (!SWIG_IsOK(res1)) { | |
15253 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15254 | } | |
15255 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15256 | { | |
15257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15258 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); | |
15259 | wxPyEndAllowThreads(__tstate); | |
15260 | if (PyErr_Occurred()) SWIG_fail; | |
15261 | } | |
15262 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15263 | return resultobj; | |
15264 | fail: | |
15265 | return NULL; | |
15266 | } | |
15267 | ||
15268 | ||
15269 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15270 | PyObject *resultobj = 0; | |
15271 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15272 | wxSize *arg2 = 0 ; | |
15273 | void *argp1 = 0 ; | |
15274 | int res1 = 0 ; | |
15275 | wxSize temp2 ; | |
15276 | PyObject * obj0 = 0 ; | |
15277 | PyObject * obj1 = 0 ; | |
15278 | char * kwnames[] = { | |
15279 | (char *) "self",(char *) "size", NULL | |
15280 | }; | |
15281 | ||
15282 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
15283 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15284 | if (!SWIG_IsOK(res1)) { | |
15285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15286 | } | |
15287 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15288 | { | |
15289 | arg2 = &temp2; | |
15290 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15291 | } | |
15292 | { | |
15293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15294 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15295 | wxPyEndAllowThreads(__tstate); | |
15296 | if (PyErr_Occurred()) SWIG_fail; | |
15297 | } | |
15298 | resultobj = SWIG_Py_Void(); | |
15299 | return resultobj; | |
15300 | fail: | |
15301 | return NULL; | |
15302 | } | |
15303 | ||
15304 | ||
15305 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15306 | PyObject *resultobj = 0; | |
15307 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15308 | int arg2 ; | |
15309 | void *argp1 = 0 ; | |
15310 | int res1 = 0 ; | |
15311 | int val2 ; | |
15312 | int ecode2 = 0 ; | |
15313 | PyObject * obj0 = 0 ; | |
15314 | PyObject * obj1 = 0 ; | |
15315 | char * kwnames[] = { | |
15316 | (char *) "self",(char *) "height", NULL | |
15317 | }; | |
15318 | ||
15319 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15320 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15321 | if (!SWIG_IsOK(res1)) { | |
15322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15323 | } | |
15324 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15325 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15326 | if (!SWIG_IsOK(ecode2)) { | |
15327 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15328 | } | |
15329 | arg2 = static_cast< int >(val2); | |
15330 | { | |
15331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15332 | (arg1)->SetTabCtrlHeight(arg2); | |
15333 | wxPyEndAllowThreads(__tstate); | |
15334 | if (PyErr_Occurred()) SWIG_fail; | |
15335 | } | |
15336 | resultobj = SWIG_Py_Void(); | |
15337 | return resultobj; | |
15338 | fail: | |
15339 | return NULL; | |
15340 | } | |
15341 | ||
15342 | ||
5eb8189c | 15343 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15344 | PyObject *resultobj = 0; |
5eb8189c | 15345 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15346 | wxWindow *arg2 = (wxWindow *) 0 ; |
15347 | wxString *arg3 = 0 ; | |
15348 | bool arg4 = (bool) false ; | |
15349 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
15350 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
15351 | bool result; | |
15352 | void *argp1 = 0 ; | |
15353 | int res1 = 0 ; | |
15354 | void *argp2 = 0 ; | |
15355 | int res2 = 0 ; | |
15356 | bool temp3 = false ; | |
15357 | bool val4 ; | |
15358 | int ecode4 = 0 ; | |
15359 | void *argp5 = 0 ; | |
15360 | int res5 = 0 ; | |
15361 | PyObject * obj0 = 0 ; | |
15362 | PyObject * obj1 = 0 ; | |
15363 | PyObject * obj2 = 0 ; | |
15364 | PyObject * obj3 = 0 ; | |
15365 | PyObject * obj4 = 0 ; | |
15366 | char * kwnames[] = { | |
15367 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15368 | }; | |
15369 | ||
5eb8189c RD |
15370 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
15371 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15372 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15374 | } |
5eb8189c | 15375 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15376 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15377 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15378 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15379 | } |
15380 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15381 | { | |
15382 | arg3 = wxString_in_helper(obj2); | |
15383 | if (arg3 == NULL) SWIG_fail; | |
15384 | temp3 = true; | |
15385 | } | |
15386 | if (obj3) { | |
15387 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
15388 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 15389 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
15390 | } |
15391 | arg4 = static_cast< bool >(val4); | |
15392 | } | |
15393 | if (obj4) { | |
15394 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15395 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 15396 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15397 | } |
15398 | if (!argp5) { | |
5eb8189c | 15399 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15400 | } |
15401 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15402 | } | |
15403 | { | |
15404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15405 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15406 | wxPyEndAllowThreads(__tstate); | |
15407 | if (PyErr_Occurred()) SWIG_fail; | |
15408 | } | |
15409 | { | |
15410 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15411 | } | |
15412 | { | |
15413 | if (temp3) | |
15414 | delete arg3; | |
15415 | } | |
15416 | return resultobj; | |
15417 | fail: | |
15418 | { | |
15419 | if (temp3) | |
15420 | delete arg3; | |
15421 | } | |
15422 | return NULL; | |
15423 | } | |
15424 | ||
15425 | ||
5eb8189c | 15426 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15427 | PyObject *resultobj = 0; |
5eb8189c | 15428 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15429 | size_t arg2 ; |
15430 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15431 | wxString *arg4 = 0 ; | |
15432 | bool arg5 = (bool) false ; | |
15433 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15434 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15435 | bool result; | |
15436 | void *argp1 = 0 ; | |
15437 | int res1 = 0 ; | |
15438 | size_t val2 ; | |
15439 | int ecode2 = 0 ; | |
15440 | void *argp3 = 0 ; | |
15441 | int res3 = 0 ; | |
15442 | bool temp4 = false ; | |
15443 | bool val5 ; | |
15444 | int ecode5 = 0 ; | |
15445 | void *argp6 = 0 ; | |
15446 | int res6 = 0 ; | |
15447 | PyObject * obj0 = 0 ; | |
15448 | PyObject * obj1 = 0 ; | |
15449 | PyObject * obj2 = 0 ; | |
15450 | PyObject * obj3 = 0 ; | |
15451 | PyObject * obj4 = 0 ; | |
15452 | PyObject * obj5 = 0 ; | |
15453 | char * kwnames[] = { | |
15454 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15455 | }; | |
15456 | ||
5eb8189c RD |
15457 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15459 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15461 | } |
5eb8189c | 15462 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15463 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15464 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15465 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15466 | } |
15467 | arg2 = static_cast< size_t >(val2); | |
15468 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15469 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15470 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15471 | } |
15472 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15473 | { | |
15474 | arg4 = wxString_in_helper(obj3); | |
15475 | if (arg4 == NULL) SWIG_fail; | |
15476 | temp4 = true; | |
15477 | } | |
15478 | if (obj4) { | |
15479 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15480 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15481 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
15482 | } |
15483 | arg5 = static_cast< bool >(val5); | |
15484 | } | |
15485 | if (obj5) { | |
15486 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15487 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15488 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15489 | } |
15490 | if (!argp6) { | |
5eb8189c | 15491 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15492 | } |
15493 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15494 | } | |
15495 | { | |
15496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15497 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15498 | wxPyEndAllowThreads(__tstate); | |
15499 | if (PyErr_Occurred()) SWIG_fail; | |
15500 | } | |
15501 | { | |
15502 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15503 | } | |
15504 | { | |
15505 | if (temp4) | |
15506 | delete arg4; | |
15507 | } | |
15508 | return resultobj; | |
15509 | fail: | |
15510 | { | |
15511 | if (temp4) | |
15512 | delete arg4; | |
15513 | } | |
15514 | return NULL; | |
15515 | } | |
15516 | ||
15517 | ||
5eb8189c | 15518 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15519 | PyObject *resultobj = 0; |
5eb8189c | 15520 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15521 | size_t arg2 ; |
15522 | bool result; | |
15523 | void *argp1 = 0 ; | |
15524 | int res1 = 0 ; | |
15525 | size_t val2 ; | |
15526 | int ecode2 = 0 ; | |
15527 | PyObject * obj0 = 0 ; | |
15528 | PyObject * obj1 = 0 ; | |
15529 | char * kwnames[] = { | |
15530 | (char *) "self",(char *) "page", NULL | |
15531 | }; | |
15532 | ||
5eb8189c RD |
15533 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15534 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15535 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15537 | } |
5eb8189c | 15538 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15539 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15540 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15541 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15542 | } |
15543 | arg2 = static_cast< size_t >(val2); | |
15544 | { | |
15545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15546 | result = (bool)(arg1)->DeletePage(arg2); | |
15547 | wxPyEndAllowThreads(__tstate); | |
15548 | if (PyErr_Occurred()) SWIG_fail; | |
15549 | } | |
15550 | { | |
15551 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15552 | } | |
15553 | return resultobj; | |
15554 | fail: | |
15555 | return NULL; | |
15556 | } | |
15557 | ||
15558 | ||
5eb8189c | 15559 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15560 | PyObject *resultobj = 0; |
5eb8189c | 15561 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15562 | size_t arg2 ; |
15563 | bool result; | |
15564 | void *argp1 = 0 ; | |
15565 | int res1 = 0 ; | |
15566 | size_t val2 ; | |
15567 | int ecode2 = 0 ; | |
15568 | PyObject * obj0 = 0 ; | |
15569 | PyObject * obj1 = 0 ; | |
15570 | char * kwnames[] = { | |
15571 | (char *) "self",(char *) "page", NULL | |
15572 | }; | |
15573 | ||
5eb8189c RD |
15574 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15575 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15576 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15577 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15578 | } |
5eb8189c | 15579 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15580 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15581 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15582 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15583 | } |
15584 | arg2 = static_cast< size_t >(val2); | |
15585 | { | |
15586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15587 | result = (bool)(arg1)->RemovePage(arg2); | |
15588 | wxPyEndAllowThreads(__tstate); | |
15589 | if (PyErr_Occurred()) SWIG_fail; | |
15590 | } | |
15591 | { | |
15592 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15593 | } | |
15594 | return resultobj; | |
15595 | fail: | |
15596 | return NULL; | |
15597 | } | |
15598 | ||
15599 | ||
a6927690 | 15600 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15601 | PyObject *resultobj = 0; |
5eb8189c | 15602 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 | 15603 | size_t result; |
10044bf1 RD |
15604 | void *argp1 = 0 ; |
15605 | int res1 = 0 ; | |
a6927690 | 15606 | PyObject *swig_obj[1] ; |
10044bf1 | 15607 | |
a6927690 RD |
15608 | if (!args) SWIG_fail; |
15609 | swig_obj[0] = args; | |
15610 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15611 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15612 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15613 | } |
5eb8189c | 15614 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15615 | { |
15616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15617 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15618 | wxPyEndAllowThreads(__tstate); |
15619 | if (PyErr_Occurred()) SWIG_fail; | |
15620 | } | |
a6927690 | 15621 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
10044bf1 RD |
15622 | return resultobj; |
15623 | fail: | |
10044bf1 RD |
15624 | return NULL; |
15625 | } | |
15626 | ||
15627 | ||
a6927690 | 15628 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15629 | PyObject *resultobj = 0; |
15630 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15631 | size_t arg2 ; | |
a6927690 | 15632 | wxWindow *result = 0 ; |
5172800e RD |
15633 | void *argp1 = 0 ; |
15634 | int res1 = 0 ; | |
15635 | size_t val2 ; | |
15636 | int ecode2 = 0 ; | |
5172800e RD |
15637 | PyObject * obj0 = 0 ; |
15638 | PyObject * obj1 = 0 ; | |
5172800e | 15639 | char * kwnames[] = { |
a6927690 | 15640 | (char *) "self",(char *) "page_idx", NULL |
5172800e RD |
15641 | }; |
15642 | ||
a6927690 | 15643 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
5172800e RD |
15644 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15645 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15646 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5172800e RD |
15647 | } |
15648 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15649 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15650 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15651 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
5172800e RD |
15652 | } |
15653 | arg2 = static_cast< size_t >(val2); | |
5172800e RD |
15654 | { |
15655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15656 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
5172800e RD |
15657 | wxPyEndAllowThreads(__tstate); |
15658 | if (PyErr_Occurred()) SWIG_fail; | |
15659 | } | |
15660 | { | |
a6927690 | 15661 | resultobj = wxPyMake_wxObject(result, 0); |
5172800e RD |
15662 | } |
15663 | return resultobj; | |
15664 | fail: | |
15665 | return NULL; | |
15666 | } | |
15667 | ||
15668 | ||
a6927690 | 15669 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15670 | PyObject *resultobj = 0; |
5eb8189c | 15671 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15672 | wxWindow *arg2 = (wxWindow *) 0 ; |
15673 | int result; | |
10044bf1 RD |
15674 | void *argp1 = 0 ; |
15675 | int res1 = 0 ; | |
a6927690 RD |
15676 | void *argp2 = 0 ; |
15677 | int res2 = 0 ; | |
10044bf1 RD |
15678 | PyObject * obj0 = 0 ; |
15679 | PyObject * obj1 = 0 ; | |
15680 | char * kwnames[] = { | |
a6927690 | 15681 | (char *) "self",(char *) "page_wnd", NULL |
10044bf1 RD |
15682 | }; |
15683 | ||
a6927690 | 15684 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15685 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15686 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15688 | } |
5eb8189c | 15689 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15690 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15691 | if (!SWIG_IsOK(res2)) { | |
15692 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15693 | } | |
15694 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10044bf1 RD |
15695 | { |
15696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15697 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); |
10044bf1 RD |
15698 | wxPyEndAllowThreads(__tstate); |
15699 | if (PyErr_Occurred()) SWIG_fail; | |
15700 | } | |
a6927690 | 15701 | resultobj = SWIG_From_int(static_cast< int >(result)); |
10044bf1 RD |
15702 | return resultobj; |
15703 | fail: | |
15704 | return NULL; | |
15705 | } | |
15706 | ||
15707 | ||
a6927690 | 15708 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15709 | PyObject *resultobj = 0; |
5eb8189c | 15710 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15711 | size_t arg2 ; |
15712 | wxString *arg3 = 0 ; | |
15713 | bool result; | |
10044bf1 RD |
15714 | void *argp1 = 0 ; |
15715 | int res1 = 0 ; | |
a6927690 RD |
15716 | size_t val2 ; |
15717 | int ecode2 = 0 ; | |
15718 | bool temp3 = false ; | |
15719 | PyObject * obj0 = 0 ; | |
15720 | PyObject * obj1 = 0 ; | |
15721 | PyObject * obj2 = 0 ; | |
15722 | char * kwnames[] = { | |
15723 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15724 | }; | |
10044bf1 | 15725 | |
a6927690 RD |
15726 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15727 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15728 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15729 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15730 | } |
5eb8189c | 15731 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15732 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15733 | if (!SWIG_IsOK(ecode2)) { | |
15734 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
15735 | } | |
15736 | arg2 = static_cast< size_t >(val2); | |
15737 | { | |
15738 | arg3 = wxString_in_helper(obj2); | |
15739 | if (arg3 == NULL) SWIG_fail; | |
15740 | temp3 = true; | |
15741 | } | |
10044bf1 RD |
15742 | { |
15743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15744 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); |
10044bf1 RD |
15745 | wxPyEndAllowThreads(__tstate); |
15746 | if (PyErr_Occurred()) SWIG_fail; | |
15747 | } | |
a6927690 RD |
15748 | { |
15749 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 15750 | } |
10044bf1 | 15751 | { |
a6927690 RD |
15752 | if (temp3) |
15753 | delete arg3; | |
10044bf1 | 15754 | } |
10044bf1 RD |
15755 | return resultobj; |
15756 | fail: | |
a6927690 RD |
15757 | { |
15758 | if (temp3) | |
15759 | delete arg3; | |
15760 | } | |
10044bf1 RD |
15761 | return NULL; |
15762 | } | |
15763 | ||
15764 | ||
a6927690 | 15765 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15766 | PyObject *resultobj = 0; |
5eb8189c | 15767 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 | 15768 | size_t arg2 ; |
a6927690 | 15769 | wxString result; |
10044bf1 RD |
15770 | void *argp1 = 0 ; |
15771 | int res1 = 0 ; | |
15772 | size_t val2 ; | |
15773 | int ecode2 = 0 ; | |
15774 | PyObject * obj0 = 0 ; | |
15775 | PyObject * obj1 = 0 ; | |
15776 | char * kwnames[] = { | |
15777 | (char *) "self",(char *) "page_idx", NULL | |
15778 | }; | |
15779 | ||
a6927690 | 15780 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15781 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15782 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15784 | } |
5eb8189c | 15785 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15786 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15787 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15788 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15789 | } |
15790 | arg2 = static_cast< size_t >(val2); | |
15791 | { | |
15792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15793 | result = ((wxAuiNotebook const *)arg1)->GetPageText(arg2); |
10044bf1 RD |
15794 | wxPyEndAllowThreads(__tstate); |
15795 | if (PyErr_Occurred()) SWIG_fail; | |
15796 | } | |
15797 | { | |
a6927690 RD |
15798 | #if wxUSE_UNICODE |
15799 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15800 | #else | |
15801 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15802 | #endif | |
10044bf1 RD |
15803 | } |
15804 | return resultobj; | |
15805 | fail: | |
15806 | return NULL; | |
15807 | } | |
15808 | ||
15809 | ||
a6927690 | 15810 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15811 | PyObject *resultobj = 0; |
15812 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15813 | size_t arg2 ; |
15814 | wxBitmap *arg3 = 0 ; | |
15815 | bool result; | |
5172800e RD |
15816 | void *argp1 = 0 ; |
15817 | int res1 = 0 ; | |
a6927690 RD |
15818 | size_t val2 ; |
15819 | int ecode2 = 0 ; | |
15820 | void *argp3 = 0 ; | |
15821 | int res3 = 0 ; | |
5172800e RD |
15822 | PyObject * obj0 = 0 ; |
15823 | PyObject * obj1 = 0 ; | |
a6927690 | 15824 | PyObject * obj2 = 0 ; |
5172800e | 15825 | char * kwnames[] = { |
a6927690 | 15826 | (char *) "self",(char *) "page",(char *) "bitmap", NULL |
5172800e RD |
15827 | }; |
15828 | ||
a6927690 | 15829 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
5172800e RD |
15830 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15831 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5172800e RD |
15833 | } |
15834 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 RD |
15835 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15836 | if (!SWIG_IsOK(ecode2)) { | |
15837 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15838 | } | |
15839 | arg2 = static_cast< size_t >(val2); | |
15840 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15841 | if (!SWIG_IsOK(res3)) { | |
15842 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
5172800e | 15843 | } |
a6927690 RD |
15844 | if (!argp3) { |
15845 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15846 | } | |
15847 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
5172800e RD |
15848 | { |
15849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15850 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); |
5172800e RD |
15851 | wxPyEndAllowThreads(__tstate); |
15852 | if (PyErr_Occurred()) SWIG_fail; | |
15853 | } | |
a6927690 RD |
15854 | { |
15855 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15856 | } | |
5172800e RD |
15857 | return resultobj; |
15858 | fail: | |
15859 | return NULL; | |
15860 | } | |
15861 | ||
15862 | ||
a6927690 | 15863 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15864 | PyObject *resultobj = 0; |
5eb8189c | 15865 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15866 | size_t arg2 ; |
15867 | wxBitmap result; | |
5c8c7dd3 RD |
15868 | void *argp1 = 0 ; |
15869 | int res1 = 0 ; | |
a6927690 RD |
15870 | size_t val2 ; |
15871 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
15872 | PyObject * obj0 = 0 ; |
15873 | PyObject * obj1 = 0 ; | |
15874 | char * kwnames[] = { | |
a6927690 | 15875 | (char *) "self",(char *) "page_idx", NULL |
5c8c7dd3 RD |
15876 | }; |
15877 | ||
a6927690 | 15878 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageBitmap",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15879 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15880 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15881 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15882 | } |
5eb8189c | 15883 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15884 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15885 | if (!SWIG_IsOK(ecode2)) { | |
15886 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15887 | } | |
15888 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15889 | { |
15890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15891 | result = ((wxAuiNotebook const *)arg1)->GetPageBitmap(arg2); |
5c8c7dd3 RD |
15892 | wxPyEndAllowThreads(__tstate); |
15893 | if (PyErr_Occurred()) SWIG_fail; | |
15894 | } | |
a6927690 | 15895 | resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); |
5c8c7dd3 RD |
15896 | return resultobj; |
15897 | fail: | |
15898 | return NULL; | |
15899 | } | |
15900 | ||
15901 | ||
a6927690 | 15902 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15903 | PyObject *resultobj = 0; |
5eb8189c | 15904 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15905 | size_t arg2 ; |
15906 | size_t result; | |
5c8c7dd3 RD |
15907 | void *argp1 = 0 ; |
15908 | int res1 = 0 ; | |
a6927690 RD |
15909 | size_t val2 ; |
15910 | int ecode2 = 0 ; | |
15911 | PyObject * obj0 = 0 ; | |
15912 | PyObject * obj1 = 0 ; | |
15913 | char * kwnames[] = { | |
15914 | (char *) "self",(char *) "new_page", NULL | |
15915 | }; | |
5c8c7dd3 | 15916 | |
a6927690 RD |
15917 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15918 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15919 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15920 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15921 | } |
5eb8189c | 15922 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15923 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15924 | if (!SWIG_IsOK(ecode2)) { | |
15925 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
15926 | } | |
15927 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15928 | { |
15929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15930 | result = (size_t)(arg1)->SetSelection(arg2); |
5c8c7dd3 RD |
15931 | wxPyEndAllowThreads(__tstate); |
15932 | if (PyErr_Occurred()) SWIG_fail; | |
15933 | } | |
a6927690 | 15934 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
5c8c7dd3 RD |
15935 | return resultobj; |
15936 | fail: | |
15937 | return NULL; | |
15938 | } | |
15939 | ||
15940 | ||
a6927690 | 15941 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8287c33f RD |
15942 | PyObject *resultobj = 0; |
15943 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 | 15944 | int result; |
8287c33f RD |
15945 | void *argp1 = 0 ; |
15946 | int res1 = 0 ; | |
a6927690 | 15947 | PyObject *swig_obj[1] ; |
8287c33f | 15948 | |
a6927690 RD |
15949 | if (!args) SWIG_fail; |
15950 | swig_obj[0] = args; | |
15951 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
8287c33f | 15952 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15953 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
8287c33f RD |
15954 | } |
15955 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
8287c33f RD |
15956 | { |
15957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15958 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
8287c33f RD |
15959 | wxPyEndAllowThreads(__tstate); |
15960 | if (PyErr_Occurred()) SWIG_fail; | |
15961 | } | |
a6927690 | 15962 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8287c33f RD |
15963 | return resultobj; |
15964 | fail: | |
15965 | return NULL; | |
15966 | } | |
15967 | ||
15968 | ||
a6927690 | 15969 | SWIGINTERN PyObject *_wrap_AuiNotebook_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8287c33f RD |
15970 | PyObject *resultobj = 0; |
15971 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15972 | size_t arg2 ; |
15973 | int arg3 ; | |
8287c33f RD |
15974 | void *argp1 = 0 ; |
15975 | int res1 = 0 ; | |
a6927690 | 15976 | size_t val2 ; |
8287c33f | 15977 | int ecode2 = 0 ; |
a6927690 RD |
15978 | int val3 ; |
15979 | int ecode3 = 0 ; | |
8287c33f RD |
15980 | PyObject * obj0 = 0 ; |
15981 | PyObject * obj1 = 0 ; | |
a6927690 | 15982 | PyObject * obj2 = 0 ; |
8287c33f | 15983 | char * kwnames[] = { |
a6927690 | 15984 | (char *) "self",(char *) "page",(char *) "direction", NULL |
8287c33f RD |
15985 | }; |
15986 | ||
a6927690 | 15987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_Split",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8287c33f RD |
15988 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15989 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Split" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
8287c33f RD |
15991 | } |
15992 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 | 15993 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
8287c33f | 15994 | if (!SWIG_IsOK(ecode2)) { |
a6927690 | 15995 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_Split" "', expected argument " "2"" of type '" "size_t""'"); |
8287c33f | 15996 | } |
a6927690 RD |
15997 | arg2 = static_cast< size_t >(val2); |
15998 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15999 | if (!SWIG_IsOK(ecode3)) { | |
16000 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Split" "', expected argument " "3"" of type '" "int""'"); | |
16001 | } | |
16002 | arg3 = static_cast< int >(val3); | |
8287c33f RD |
16003 | { |
16004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 16005 | (arg1)->Split(arg2,arg3); |
8287c33f RD |
16006 | wxPyEndAllowThreads(__tstate); |
16007 | if (PyErr_Occurred()) SWIG_fail; | |
16008 | } | |
16009 | resultobj = SWIG_Py_Void(); | |
16010 | return resultobj; | |
16011 | fail: | |
16012 | return NULL; | |
16013 | } | |
16014 | ||
16015 | ||
5eb8189c | 16016 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16017 | PyObject *obj; |
16018 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16019 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
16020 | return SWIG_Py_Void(); |
16021 | } | |
16022 | ||
5eb8189c | 16023 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16024 | return SWIG_Python_InitShadowInstance(args); |
16025 | } | |
16026 | ||
34d71f81 RD |
16027 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16028 | PyObject *resultobj = 0; | |
16029 | wxAuiMDIParentFrame *result = 0 ; | |
16030 | ||
16031 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIParentFrame",0,0,0)) SWIG_fail; | |
16032 | { | |
16033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16034 | result = (wxAuiMDIParentFrame *)new wxAuiMDIParentFrame(); | |
16035 | wxPyEndAllowThreads(__tstate); | |
16036 | if (PyErr_Occurred()) SWIG_fail; | |
16037 | } | |
16038 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_POINTER_OWN | 0 ); | |
16039 | return resultobj; | |
16040 | fail: | |
16041 | return NULL; | |
10044bf1 RD |
16042 | } |
16043 | ||
34d71f81 RD |
16044 | |
16045 | SWIGINTERN PyObject *_wrap_new_AuiMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16046 | PyObject *resultobj = 0; | |
16047 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16048 | int arg2 ; | |
16049 | wxString *arg3 = 0 ; | |
16050 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16051 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16052 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16053 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16054 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16055 | wxString const &arg7_defvalue = wxFrameNameStr ; | |
16056 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16057 | wxAuiMDIParentFrame *result = 0 ; | |
16058 | void *argp1 = 0 ; | |
16059 | int res1 = 0 ; | |
16060 | int val2 ; | |
16061 | int ecode2 = 0 ; | |
16062 | bool temp3 = false ; | |
16063 | wxPoint temp4 ; | |
16064 | wxSize temp5 ; | |
16065 | long val6 ; | |
16066 | int ecode6 = 0 ; | |
16067 | bool temp7 = false ; | |
16068 | PyObject * obj0 = 0 ; | |
16069 | PyObject * obj1 = 0 ; | |
16070 | PyObject * obj2 = 0 ; | |
16071 | PyObject * obj3 = 0 ; | |
16072 | PyObject * obj4 = 0 ; | |
16073 | PyObject * obj5 = 0 ; | |
16074 | PyObject * obj6 = 0 ; | |
16075 | char * kwnames[] = { | |
16076 | (char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16077 | }; | |
16078 | ||
16079 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_AuiMDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
16080 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16081 | if (!SWIG_IsOK(res1)) { | |
16082 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
16083 | } | |
16084 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
16085 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16086 | if (!SWIG_IsOK(ecode2)) { | |
16087 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIParentFrame" "', expected argument " "2"" of type '" "int""'"); | |
16088 | } | |
16089 | arg2 = static_cast< int >(val2); | |
16090 | { | |
16091 | arg3 = wxString_in_helper(obj2); | |
16092 | if (arg3 == NULL) SWIG_fail; | |
16093 | temp3 = true; | |
16094 | } | |
16095 | if (obj3) { | |
16096 | { | |
16097 | arg4 = &temp4; | |
16098 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16099 | } | |
16100 | } | |
16101 | if (obj4) { | |
16102 | { | |
16103 | arg5 = &temp5; | |
16104 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16105 | } | |
16106 | } | |
16107 | if (obj5) { | |
16108 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
16109 | if (!SWIG_IsOK(ecode6)) { | |
16110 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_AuiMDIParentFrame" "', expected argument " "6"" of type '" "long""'"); | |
16111 | } | |
16112 | arg6 = static_cast< long >(val6); | |
16113 | } | |
16114 | if (obj6) { | |
16115 | { | |
16116 | arg7 = wxString_in_helper(obj6); | |
16117 | if (arg7 == NULL) SWIG_fail; | |
16118 | temp7 = true; | |
16119 | } | |
16120 | } | |
16121 | { | |
16122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16123 | result = (wxAuiMDIParentFrame *)new wxAuiMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16124 | wxPyEndAllowThreads(__tstate); | |
16125 | if (PyErr_Occurred()) SWIG_fail; | |
16126 | } | |
16127 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_POINTER_NEW | 0 ); | |
16128 | { | |
16129 | if (temp3) | |
16130 | delete arg3; | |
16131 | } | |
16132 | { | |
16133 | if (temp7) | |
16134 | delete arg7; | |
16135 | } | |
16136 | return resultobj; | |
16137 | fail: | |
16138 | { | |
16139 | if (temp3) | |
16140 | delete arg3; | |
16141 | } | |
16142 | { | |
16143 | if (temp7) | |
16144 | delete arg7; | |
16145 | } | |
16146 | return NULL; | |
5c8c7dd3 RD |
16147 | } |
16148 | ||
27e45892 | 16149 | |
34d71f81 RD |
16150 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16151 | PyObject *resultobj = 0; | |
16152 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16153 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16154 | int arg3 ; | |
16155 | wxString *arg4 = 0 ; | |
16156 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16157 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16158 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16159 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16160 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16161 | wxString const &arg8_defvalue = wxFrameNameStr ; | |
16162 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16163 | bool result; | |
16164 | void *argp1 = 0 ; | |
16165 | int res1 = 0 ; | |
16166 | void *argp2 = 0 ; | |
16167 | int res2 = 0 ; | |
16168 | int val3 ; | |
16169 | int ecode3 = 0 ; | |
16170 | bool temp4 = false ; | |
16171 | wxPoint temp5 ; | |
16172 | wxSize temp6 ; | |
16173 | long val7 ; | |
16174 | int ecode7 = 0 ; | |
16175 | bool temp8 = false ; | |
16176 | PyObject * obj0 = 0 ; | |
16177 | PyObject * obj1 = 0 ; | |
16178 | PyObject * obj2 = 0 ; | |
16179 | PyObject * obj3 = 0 ; | |
16180 | PyObject * obj4 = 0 ; | |
16181 | PyObject * obj5 = 0 ; | |
16182 | PyObject * obj6 = 0 ; | |
16183 | PyObject * obj7 = 0 ; | |
16184 | char * kwnames[] = { | |
16185 | (char *) "self",(char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16186 | }; | |
16187 | ||
16188 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:AuiMDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
16189 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16190 | if (!SWIG_IsOK(res1)) { | |
16191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16192 | } | |
16193 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16194 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16195 | if (!SWIG_IsOK(res2)) { | |
16196 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16197 | } | |
16198 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16199 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16200 | if (!SWIG_IsOK(ecode3)) { | |
16201 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
16202 | } | |
16203 | arg3 = static_cast< int >(val3); | |
16204 | { | |
16205 | arg4 = wxString_in_helper(obj3); | |
16206 | if (arg4 == NULL) SWIG_fail; | |
16207 | temp4 = true; | |
16208 | } | |
16209 | if (obj4) { | |
16210 | { | |
16211 | arg5 = &temp5; | |
16212 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16213 | } | |
16214 | } | |
16215 | if (obj5) { | |
16216 | { | |
16217 | arg6 = &temp6; | |
16218 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16219 | } | |
16220 | } | |
16221 | if (obj6) { | |
16222 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
16223 | if (!SWIG_IsOK(ecode7)) { | |
16224 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'"); | |
16225 | } | |
16226 | arg7 = static_cast< long >(val7); | |
16227 | } | |
16228 | if (obj7) { | |
16229 | { | |
16230 | arg8 = wxString_in_helper(obj7); | |
16231 | if (arg8 == NULL) SWIG_fail; | |
16232 | temp8 = true; | |
16233 | } | |
16234 | } | |
16235 | { | |
16236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16237 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16238 | wxPyEndAllowThreads(__tstate); | |
16239 | if (PyErr_Occurred()) SWIG_fail; | |
16240 | } | |
16241 | { | |
16242 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16243 | } | |
16244 | { | |
16245 | if (temp4) | |
16246 | delete arg4; | |
16247 | } | |
16248 | { | |
16249 | if (temp8) | |
16250 | delete arg8; | |
16251 | } | |
16252 | return resultobj; | |
16253 | fail: | |
16254 | { | |
16255 | if (temp4) | |
16256 | delete arg4; | |
16257 | } | |
16258 | { | |
16259 | if (temp8) | |
16260 | delete arg8; | |
16261 | } | |
16262 | return NULL; | |
16263 | } | |
27e45892 | 16264 | |
27e45892 | 16265 | |
34d71f81 RD |
16266 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16267 | PyObject *resultobj = 0; | |
16268 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16269 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
16270 | void *argp1 = 0 ; | |
16271 | int res1 = 0 ; | |
16272 | void *argp2 = 0 ; | |
16273 | int res2 = 0 ; | |
16274 | PyObject * obj0 = 0 ; | |
16275 | PyObject * obj1 = 0 ; | |
16276 | char * kwnames[] = { | |
16277 | (char *) "self",(char *) "provider", NULL | |
16278 | }; | |
16279 | ||
16280 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
16281 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16282 | if (!SWIG_IsOK(res1)) { | |
16283 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16284 | } | |
16285 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16286 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
16287 | if (!SWIG_IsOK(res2)) { | |
16288 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
16289 | } | |
16290 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
16291 | { | |
16292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16293 | (arg1)->SetArtProvider(arg2); | |
16294 | wxPyEndAllowThreads(__tstate); | |
16295 | if (PyErr_Occurred()) SWIG_fail; | |
16296 | } | |
16297 | resultobj = SWIG_Py_Void(); | |
16298 | return resultobj; | |
16299 | fail: | |
16300 | return NULL; | |
27e45892 | 16301 | } |
34d71f81 RD |
16302 | |
16303 | ||
16304 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16305 | PyObject *resultobj = 0; | |
16306 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16307 | wxAuiTabArt *result = 0 ; | |
16308 | void *argp1 = 0 ; | |
16309 | int res1 = 0 ; | |
16310 | PyObject *swig_obj[1] ; | |
16311 | ||
16312 | if (!args) SWIG_fail; | |
16313 | swig_obj[0] = args; | |
16314 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16315 | if (!SWIG_IsOK(res1)) { | |
16316 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16317 | } | |
16318 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16319 | { | |
16320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16321 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); | |
16322 | wxPyEndAllowThreads(__tstate); | |
16323 | if (PyErr_Occurred()) SWIG_fail; | |
16324 | } | |
16325 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
16326 | return resultobj; | |
16327 | fail: | |
16328 | return NULL; | |
27e45892 | 16329 | } |
34d71f81 RD |
16330 | |
16331 | ||
16332 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16333 | PyObject *resultobj = 0; | |
16334 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16335 | wxAuiNotebook *result = 0 ; | |
16336 | void *argp1 = 0 ; | |
16337 | int res1 = 0 ; | |
16338 | PyObject *swig_obj[1] ; | |
16339 | ||
16340 | if (!args) SWIG_fail; | |
16341 | swig_obj[0] = args; | |
16342 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16343 | if (!SWIG_IsOK(res1)) { | |
16344 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetNotebook" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16345 | } | |
16346 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16347 | { | |
16348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16349 | result = (wxAuiNotebook *)((wxAuiMDIParentFrame const *)arg1)->GetNotebook(); | |
16350 | wxPyEndAllowThreads(__tstate); | |
16351 | if (PyErr_Occurred()) SWIG_fail; | |
16352 | } | |
16353 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
16354 | return resultobj; | |
16355 | fail: | |
16356 | return NULL; | |
10044bf1 | 16357 | } |
34d71f81 RD |
16358 | |
16359 | ||
16360 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16361 | PyObject *resultobj = 0; | |
16362 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16363 | wxMenu *result = 0 ; | |
16364 | void *argp1 = 0 ; | |
16365 | int res1 = 0 ; | |
16366 | PyObject *swig_obj[1] ; | |
16367 | ||
16368 | if (!args) SWIG_fail; | |
16369 | swig_obj[0] = args; | |
16370 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16371 | if (!SWIG_IsOK(res1)) { | |
16372 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16373 | } | |
16374 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16375 | { | |
16376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16377 | result = (wxMenu *)((wxAuiMDIParentFrame const *)arg1)->GetWindowMenu(); | |
16378 | wxPyEndAllowThreads(__tstate); | |
16379 | if (PyErr_Occurred()) SWIG_fail; | |
16380 | } | |
16381 | { | |
16382 | resultobj = wxPyMake_wxObject(result, 0); | |
16383 | } | |
16384 | return resultobj; | |
16385 | fail: | |
16386 | return NULL; | |
27e45892 | 16387 | } |
34d71f81 RD |
16388 | |
16389 | ||
16390 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16391 | PyObject *resultobj = 0; | |
16392 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16393 | wxMenu *arg2 = (wxMenu *) 0 ; | |
16394 | void *argp1 = 0 ; | |
16395 | int res1 = 0 ; | |
16396 | void *argp2 = 0 ; | |
16397 | int res2 = 0 ; | |
16398 | PyObject * obj0 = 0 ; | |
16399 | PyObject * obj1 = 0 ; | |
16400 | char * kwnames[] = { | |
16401 | (char *) "self",(char *) "pMenu", NULL | |
16402 | }; | |
16403 | ||
16404 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail; | |
16405 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16406 | if (!SWIG_IsOK(res1)) { | |
16407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16408 | } | |
16409 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16410 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 ); | |
16411 | if (!SWIG_IsOK(res2)) { | |
16412 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'"); | |
16413 | } | |
16414 | arg2 = reinterpret_cast< wxMenu * >(argp2); | |
16415 | { | |
16416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16417 | (arg1)->SetWindowMenu(arg2); | |
16418 | wxPyEndAllowThreads(__tstate); | |
16419 | if (PyErr_Occurred()) SWIG_fail; | |
16420 | } | |
16421 | resultobj = SWIG_Py_Void(); | |
16422 | return resultobj; | |
16423 | fail: | |
16424 | return NULL; | |
27e45892 | 16425 | } |
34d71f81 RD |
16426 | |
16427 | ||
16428 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetChildMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16429 | PyObject *resultobj = 0; | |
16430 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16431 | wxAuiMDIChildFrame *arg2 = (wxAuiMDIChildFrame *) 0 ; | |
16432 | void *argp1 = 0 ; | |
16433 | int res1 = 0 ; | |
16434 | void *argp2 = 0 ; | |
16435 | int res2 = 0 ; | |
16436 | PyObject * obj0 = 0 ; | |
16437 | PyObject * obj1 = 0 ; | |
16438 | char * kwnames[] = { | |
16439 | (char *) "self",(char *) "pChild", NULL | |
16440 | }; | |
16441 | ||
16442 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetChildMenuBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
16443 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16444 | if (!SWIG_IsOK(res1)) { | |
16445 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetChildMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16446 | } | |
16447 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16448 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16449 | if (!SWIG_IsOK(res2)) { | |
16450 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetChildMenuBar" "', expected argument " "2"" of type '" "wxAuiMDIChildFrame *""'"); | |
16451 | } | |
16452 | arg2 = reinterpret_cast< wxAuiMDIChildFrame * >(argp2); | |
16453 | { | |
16454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16455 | (arg1)->SetChildMenuBar(arg2); | |
16456 | wxPyEndAllowThreads(__tstate); | |
16457 | if (PyErr_Occurred()) SWIG_fail; | |
16458 | } | |
16459 | resultobj = SWIG_Py_Void(); | |
16460 | return resultobj; | |
16461 | fail: | |
16462 | return NULL; | |
10044bf1 | 16463 | } |
34d71f81 RD |
16464 | |
16465 | ||
16466 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ProcessEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16467 | PyObject *resultobj = 0; | |
16468 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16469 | wxEvent *arg2 = 0 ; | |
16470 | bool result; | |
16471 | void *argp1 = 0 ; | |
16472 | int res1 = 0 ; | |
16473 | void *argp2 = 0 ; | |
16474 | int res2 = 0 ; | |
16475 | PyObject * obj0 = 0 ; | |
16476 | PyObject * obj1 = 0 ; | |
16477 | char * kwnames[] = { | |
16478 | (char *) "self",(char *) "event", NULL | |
16479 | }; | |
16480 | ||
16481 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_ProcessEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
16482 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16483 | if (!SWIG_IsOK(res1)) { | |
16484 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16485 | } | |
16486 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16487 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxEvent, 0 ); | |
16488 | if (!SWIG_IsOK(res2)) { | |
16489 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); | |
16490 | } | |
16491 | if (!argp2) { | |
16492 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); | |
16493 | } | |
16494 | arg2 = reinterpret_cast< wxEvent * >(argp2); | |
16495 | { | |
16496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16497 | result = (bool)(arg1)->ProcessEvent(*arg2); | |
16498 | wxPyEndAllowThreads(__tstate); | |
16499 | if (PyErr_Occurred()) SWIG_fail; | |
16500 | } | |
16501 | { | |
16502 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16503 | } | |
16504 | return resultobj; | |
16505 | fail: | |
16506 | return NULL; | |
27e45892 | 16507 | } |
34d71f81 RD |
16508 | |
16509 | ||
16510 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16511 | PyObject *resultobj = 0; | |
16512 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16513 | wxAuiMDIChildFrame *result = 0 ; | |
16514 | void *argp1 = 0 ; | |
16515 | int res1 = 0 ; | |
16516 | PyObject *swig_obj[1] ; | |
16517 | ||
16518 | if (!args) SWIG_fail; | |
16519 | swig_obj[0] = args; | |
16520 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16521 | if (!SWIG_IsOK(res1)) { | |
16522 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16523 | } | |
16524 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16525 | { | |
16526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16527 | result = (wxAuiMDIChildFrame *)((wxAuiMDIParentFrame const *)arg1)->GetActiveChild(); | |
16528 | wxPyEndAllowThreads(__tstate); | |
16529 | if (PyErr_Occurred()) SWIG_fail; | |
16530 | } | |
16531 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16532 | return resultobj; | |
16533 | fail: | |
16534 | return NULL; | |
27e45892 | 16535 | } |
34d71f81 RD |
16536 | |
16537 | ||
16538 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16539 | PyObject *resultobj = 0; | |
16540 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16541 | wxAuiMDIChildFrame *arg2 = (wxAuiMDIChildFrame *) 0 ; | |
16542 | void *argp1 = 0 ; | |
16543 | int res1 = 0 ; | |
16544 | void *argp2 = 0 ; | |
16545 | int res2 = 0 ; | |
16546 | PyObject * obj0 = 0 ; | |
16547 | PyObject * obj1 = 0 ; | |
16548 | char * kwnames[] = { | |
16549 | (char *) "self",(char *) "pChildFrame", NULL | |
16550 | }; | |
16551 | ||
16552 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetActiveChild",kwnames,&obj0,&obj1)) SWIG_fail; | |
16553 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16554 | if (!SWIG_IsOK(res1)) { | |
16555 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetActiveChild" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16556 | } | |
16557 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16558 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16559 | if (!SWIG_IsOK(res2)) { | |
16560 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetActiveChild" "', expected argument " "2"" of type '" "wxAuiMDIChildFrame *""'"); | |
16561 | } | |
16562 | arg2 = reinterpret_cast< wxAuiMDIChildFrame * >(argp2); | |
16563 | { | |
16564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16565 | (arg1)->SetActiveChild(arg2); | |
16566 | wxPyEndAllowThreads(__tstate); | |
16567 | if (PyErr_Occurred()) SWIG_fail; | |
16568 | } | |
16569 | resultobj = SWIG_Py_Void(); | |
16570 | return resultobj; | |
16571 | fail: | |
16572 | return NULL; | |
27e45892 | 16573 | } |
34d71f81 RD |
16574 | |
16575 | ||
16576 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16577 | PyObject *resultobj = 0; | |
16578 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16579 | wxAuiMDIClientWindow *result = 0 ; | |
16580 | void *argp1 = 0 ; | |
16581 | int res1 = 0 ; | |
16582 | PyObject *swig_obj[1] ; | |
16583 | ||
16584 | if (!args) SWIG_fail; | |
16585 | swig_obj[0] = args; | |
16586 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16587 | if (!SWIG_IsOK(res1)) { | |
16588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16589 | } | |
16590 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16591 | { | |
16592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16593 | result = (wxAuiMDIClientWindow *)((wxAuiMDIParentFrame const *)arg1)->GetClientWindow(); | |
16594 | wxPyEndAllowThreads(__tstate); | |
16595 | if (PyErr_Occurred()) SWIG_fail; | |
16596 | } | |
16597 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
16598 | return resultobj; | |
16599 | fail: | |
16600 | return NULL; | |
27e45892 | 16601 | } |
34d71f81 RD |
16602 | |
16603 | ||
16604 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_OnCreateClient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16605 | PyObject *resultobj = 0; | |
16606 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16607 | wxAuiMDIClientWindow *result = 0 ; | |
16608 | void *argp1 = 0 ; | |
16609 | int res1 = 0 ; | |
16610 | PyObject *swig_obj[1] ; | |
16611 | ||
16612 | if (!args) SWIG_fail; | |
16613 | swig_obj[0] = args; | |
16614 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16615 | if (!SWIG_IsOK(res1)) { | |
16616 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_OnCreateClient" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16617 | } | |
16618 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16619 | { | |
16620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16621 | result = (wxAuiMDIClientWindow *)(arg1)->OnCreateClient(); | |
16622 | wxPyEndAllowThreads(__tstate); | |
16623 | if (PyErr_Occurred()) SWIG_fail; | |
16624 | } | |
16625 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
16626 | return resultobj; | |
16627 | fail: | |
16628 | return NULL; | |
27e45892 | 16629 | } |
34d71f81 RD |
16630 | |
16631 | ||
16632 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16633 | PyObject *resultobj = 0; | |
16634 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16635 | void *argp1 = 0 ; | |
16636 | int res1 = 0 ; | |
16637 | PyObject *swig_obj[1] ; | |
16638 | ||
16639 | if (!args) SWIG_fail; | |
16640 | swig_obj[0] = args; | |
16641 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16642 | if (!SWIG_IsOK(res1)) { | |
16643 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16644 | } | |
16645 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16646 | { | |
16647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16648 | (arg1)->Cascade(); | |
16649 | wxPyEndAllowThreads(__tstate); | |
16650 | if (PyErr_Occurred()) SWIG_fail; | |
16651 | } | |
16652 | resultobj = SWIG_Py_Void(); | |
16653 | return resultobj; | |
16654 | fail: | |
16655 | return NULL; | |
5eb8189c | 16656 | } |
34d71f81 RD |
16657 | |
16658 | ||
16659 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16660 | PyObject *resultobj = 0; | |
16661 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16662 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; | |
16663 | void *argp1 = 0 ; | |
16664 | int res1 = 0 ; | |
16665 | int val2 ; | |
16666 | int ecode2 = 0 ; | |
16667 | PyObject * obj0 = 0 ; | |
16668 | PyObject * obj1 = 0 ; | |
16669 | char * kwnames[] = { | |
16670 | (char *) "self",(char *) "orient", NULL | |
16671 | }; | |
16672 | ||
16673 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16674 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16675 | if (!SWIG_IsOK(res1)) { | |
16676 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16677 | } | |
16678 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16679 | if (obj1) { | |
16680 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16681 | if (!SWIG_IsOK(ecode2)) { | |
16682 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'"); | |
16683 | } | |
16684 | arg2 = static_cast< wxOrientation >(val2); | |
16685 | } | |
16686 | { | |
16687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16688 | (arg1)->Tile(arg2); | |
16689 | wxPyEndAllowThreads(__tstate); | |
16690 | if (PyErr_Occurred()) SWIG_fail; | |
16691 | } | |
16692 | resultobj = SWIG_Py_Void(); | |
16693 | return resultobj; | |
16694 | fail: | |
16695 | return NULL; | |
27e45892 | 16696 | } |
34d71f81 RD |
16697 | |
16698 | ||
16699 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16700 | PyObject *resultobj = 0; | |
16701 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16702 | void *argp1 = 0 ; | |
16703 | int res1 = 0 ; | |
16704 | PyObject *swig_obj[1] ; | |
16705 | ||
16706 | if (!args) SWIG_fail; | |
16707 | swig_obj[0] = args; | |
16708 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16709 | if (!SWIG_IsOK(res1)) { | |
16710 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16711 | } | |
16712 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16713 | { | |
16714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16715 | (arg1)->ArrangeIcons(); | |
16716 | wxPyEndAllowThreads(__tstate); | |
16717 | if (PyErr_Occurred()) SWIG_fail; | |
16718 | } | |
16719 | resultobj = SWIG_Py_Void(); | |
16720 | return resultobj; | |
16721 | fail: | |
16722 | return NULL; | |
10044bf1 | 16723 | } |
34d71f81 RD |
16724 | |
16725 | ||
16726 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16727 | PyObject *resultobj = 0; | |
16728 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16729 | void *argp1 = 0 ; | |
16730 | int res1 = 0 ; | |
16731 | PyObject *swig_obj[1] ; | |
16732 | ||
16733 | if (!args) SWIG_fail; | |
16734 | swig_obj[0] = args; | |
16735 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16736 | if (!SWIG_IsOK(res1)) { | |
16737 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16738 | } | |
16739 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16740 | { | |
16741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16742 | (arg1)->ActivateNext(); | |
16743 | wxPyEndAllowThreads(__tstate); | |
16744 | if (PyErr_Occurred()) SWIG_fail; | |
16745 | } | |
16746 | resultobj = SWIG_Py_Void(); | |
16747 | return resultobj; | |
16748 | fail: | |
16749 | return NULL; | |
10044bf1 | 16750 | } |
34d71f81 RD |
16751 | |
16752 | ||
16753 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16754 | PyObject *resultobj = 0; | |
16755 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16756 | void *argp1 = 0 ; | |
16757 | int res1 = 0 ; | |
16758 | PyObject *swig_obj[1] ; | |
16759 | ||
16760 | if (!args) SWIG_fail; | |
16761 | swig_obj[0] = args; | |
16762 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16763 | if (!SWIG_IsOK(res1)) { | |
16764 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16765 | } | |
16766 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16767 | { | |
16768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16769 | (arg1)->ActivatePrevious(); | |
16770 | wxPyEndAllowThreads(__tstate); | |
16771 | if (PyErr_Occurred()) SWIG_fail; | |
16772 | } | |
16773 | resultobj = SWIG_Py_Void(); | |
16774 | return resultobj; | |
16775 | fail: | |
16776 | return NULL; | |
10044bf1 | 16777 | } |
34d71f81 RD |
16778 | |
16779 | ||
16780 | SWIGINTERN PyObject *AuiMDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16781 | PyObject *obj; | |
16782 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16783 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_NewClientData(obj)); | |
16784 | return SWIG_Py_Void(); | |
10044bf1 | 16785 | } |
34d71f81 RD |
16786 | |
16787 | SWIGINTERN PyObject *AuiMDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16788 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 16789 | } |
34d71f81 RD |
16790 | |
16791 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16792 | PyObject *resultobj = 0; | |
16793 | wxAuiMDIChildFrame *result = 0 ; | |
16794 | ||
16795 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIChildFrame",0,0,0)) SWIG_fail; | |
16796 | { | |
16797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16798 | result = (wxAuiMDIChildFrame *)new wxAuiMDIChildFrame(); | |
16799 | wxPyEndAllowThreads(__tstate); | |
16800 | if (PyErr_Occurred()) SWIG_fail; | |
16801 | } | |
16802 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_POINTER_OWN | 0 ); | |
16803 | return resultobj; | |
16804 | fail: | |
16805 | return NULL; | |
10044bf1 | 16806 | } |
34d71f81 RD |
16807 | |
16808 | ||
16809 | SWIGINTERN PyObject *_wrap_new_AuiMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16810 | PyObject *resultobj = 0; | |
16811 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16812 | int arg2 ; | |
16813 | wxString *arg3 = 0 ; | |
16814 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16815 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16816 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16817 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16818 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
16819 | wxString const &arg7_defvalue = wxFrameNameStr ; | |
16820 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16821 | wxAuiMDIChildFrame *result = 0 ; | |
16822 | void *argp1 = 0 ; | |
16823 | int res1 = 0 ; | |
16824 | int val2 ; | |
16825 | int ecode2 = 0 ; | |
16826 | bool temp3 = false ; | |
16827 | wxPoint temp4 ; | |
16828 | wxSize temp5 ; | |
16829 | long val6 ; | |
16830 | int ecode6 = 0 ; | |
16831 | bool temp7 = false ; | |
16832 | PyObject * obj0 = 0 ; | |
16833 | PyObject * obj1 = 0 ; | |
16834 | PyObject * obj2 = 0 ; | |
16835 | PyObject * obj3 = 0 ; | |
16836 | PyObject * obj4 = 0 ; | |
16837 | PyObject * obj5 = 0 ; | |
16838 | PyObject * obj6 = 0 ; | |
16839 | char * kwnames[] = { | |
16840 | (char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16841 | }; | |
16842 | ||
16843 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_AuiMDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
16844 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16845 | if (!SWIG_IsOK(res1)) { | |
16846 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIChildFrame" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16847 | } | |
16848 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16849 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16850 | if (!SWIG_IsOK(ecode2)) { | |
16851 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIChildFrame" "', expected argument " "2"" of type '" "int""'"); | |
16852 | } | |
16853 | arg2 = static_cast< int >(val2); | |
16854 | { | |
16855 | arg3 = wxString_in_helper(obj2); | |
16856 | if (arg3 == NULL) SWIG_fail; | |
16857 | temp3 = true; | |
16858 | } | |
16859 | if (obj3) { | |
16860 | { | |
16861 | arg4 = &temp4; | |
16862 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16863 | } | |
16864 | } | |
16865 | if (obj4) { | |
16866 | { | |
16867 | arg5 = &temp5; | |
16868 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16869 | } | |
16870 | } | |
16871 | if (obj5) { | |
16872 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
16873 | if (!SWIG_IsOK(ecode6)) { | |
16874 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_AuiMDIChildFrame" "', expected argument " "6"" of type '" "long""'"); | |
16875 | } | |
16876 | arg6 = static_cast< long >(val6); | |
16877 | } | |
16878 | if (obj6) { | |
16879 | { | |
16880 | arg7 = wxString_in_helper(obj6); | |
16881 | if (arg7 == NULL) SWIG_fail; | |
16882 | temp7 = true; | |
16883 | } | |
16884 | } | |
16885 | { | |
16886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16887 | result = (wxAuiMDIChildFrame *)new wxAuiMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16888 | wxPyEndAllowThreads(__tstate); | |
16889 | if (PyErr_Occurred()) SWIG_fail; | |
16890 | } | |
16891 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_POINTER_NEW | 0 ); | |
16892 | { | |
16893 | if (temp3) | |
16894 | delete arg3; | |
16895 | } | |
16896 | { | |
16897 | if (temp7) | |
16898 | delete arg7; | |
16899 | } | |
16900 | return resultobj; | |
16901 | fail: | |
16902 | { | |
16903 | if (temp3) | |
16904 | delete arg3; | |
16905 | } | |
16906 | { | |
16907 | if (temp7) | |
16908 | delete arg7; | |
16909 | } | |
16910 | return NULL; | |
10044bf1 | 16911 | } |
34d71f81 RD |
16912 | |
16913 | ||
16914 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16915 | PyObject *resultobj = 0; | |
16916 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
16917 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
16918 | int arg3 ; | |
16919 | wxString *arg4 = 0 ; | |
16920 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16921 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16922 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16923 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16924 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
16925 | wxString const &arg8_defvalue = wxFrameNameStr ; | |
16926 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16927 | bool result; | |
16928 | void *argp1 = 0 ; | |
16929 | int res1 = 0 ; | |
16930 | void *argp2 = 0 ; | |
16931 | int res2 = 0 ; | |
16932 | int val3 ; | |
16933 | int ecode3 = 0 ; | |
16934 | bool temp4 = false ; | |
16935 | wxPoint temp5 ; | |
16936 | wxSize temp6 ; | |
16937 | long val7 ; | |
16938 | int ecode7 = 0 ; | |
16939 | bool temp8 = false ; | |
16940 | PyObject * obj0 = 0 ; | |
16941 | PyObject * obj1 = 0 ; | |
16942 | PyObject * obj2 = 0 ; | |
16943 | PyObject * obj3 = 0 ; | |
16944 | PyObject * obj4 = 0 ; | |
16945 | PyObject * obj5 = 0 ; | |
16946 | PyObject * obj6 = 0 ; | |
16947 | PyObject * obj7 = 0 ; | |
16948 | char * kwnames[] = { | |
16949 | (char *) "self",(char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16950 | }; | |
16951 | ||
16952 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:AuiMDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
16953 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16954 | if (!SWIG_IsOK(res1)) { | |
16955 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
16956 | } | |
16957 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
16958 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16959 | if (!SWIG_IsOK(res2)) { | |
16960 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
16961 | } | |
16962 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
16963 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16964 | if (!SWIG_IsOK(ecode3)) { | |
16965 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
16966 | } | |
16967 | arg3 = static_cast< int >(val3); | |
16968 | { | |
16969 | arg4 = wxString_in_helper(obj3); | |
16970 | if (arg4 == NULL) SWIG_fail; | |
16971 | temp4 = true; | |
16972 | } | |
16973 | if (obj4) { | |
16974 | { | |
16975 | arg5 = &temp5; | |
16976 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16977 | } | |
16978 | } | |
16979 | if (obj5) { | |
16980 | { | |
16981 | arg6 = &temp6; | |
16982 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16983 | } | |
16984 | } | |
16985 | if (obj6) { | |
16986 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
16987 | if (!SWIG_IsOK(ecode7)) { | |
16988 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'"); | |
16989 | } | |
16990 | arg7 = static_cast< long >(val7); | |
16991 | } | |
16992 | if (obj7) { | |
16993 | { | |
16994 | arg8 = wxString_in_helper(obj7); | |
16995 | if (arg8 == NULL) SWIG_fail; | |
16996 | temp8 = true; | |
16997 | } | |
16998 | } | |
16999 | { | |
17000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17001 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17002 | wxPyEndAllowThreads(__tstate); | |
17003 | if (PyErr_Occurred()) SWIG_fail; | |
17004 | } | |
17005 | { | |
17006 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17007 | } | |
17008 | { | |
17009 | if (temp4) | |
17010 | delete arg4; | |
17011 | } | |
17012 | { | |
17013 | if (temp8) | |
17014 | delete arg8; | |
17015 | } | |
17016 | return resultobj; | |
17017 | fail: | |
17018 | { | |
17019 | if (temp4) | |
17020 | delete arg4; | |
17021 | } | |
17022 | { | |
17023 | if (temp8) | |
17024 | delete arg8; | |
17025 | } | |
17026 | return NULL; | |
10044bf1 | 17027 | } |
34d71f81 RD |
17028 | |
17029 | ||
17030 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17031 | PyObject *resultobj = 0; | |
17032 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17033 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
17034 | void *argp1 = 0 ; | |
17035 | int res1 = 0 ; | |
17036 | void *argp2 = 0 ; | |
17037 | int res2 = 0 ; | |
17038 | PyObject * obj0 = 0 ; | |
17039 | PyObject * obj1 = 0 ; | |
17040 | char * kwnames[] = { | |
17041 | (char *) "self",(char *) "menu_bar", NULL | |
17042 | }; | |
17043 | ||
17044 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
17045 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17046 | if (!SWIG_IsOK(res1)) { | |
17047 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17048 | } | |
17049 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17050 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 ); | |
17051 | if (!SWIG_IsOK(res2)) { | |
17052 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'"); | |
17053 | } | |
17054 | arg2 = reinterpret_cast< wxMenuBar * >(argp2); | |
17055 | { | |
17056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17057 | (arg1)->SetMenuBar(arg2); | |
17058 | wxPyEndAllowThreads(__tstate); | |
17059 | if (PyErr_Occurred()) SWIG_fail; | |
17060 | } | |
17061 | resultobj = SWIG_Py_Void(); | |
17062 | return resultobj; | |
17063 | fail: | |
17064 | return NULL; | |
10044bf1 | 17065 | } |
34d71f81 RD |
17066 | |
17067 | ||
17068 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17069 | PyObject *resultobj = 0; | |
17070 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17071 | wxMenuBar *result = 0 ; | |
17072 | void *argp1 = 0 ; | |
17073 | int res1 = 0 ; | |
17074 | PyObject *swig_obj[1] ; | |
17075 | ||
17076 | if (!args) SWIG_fail; | |
17077 | swig_obj[0] = args; | |
17078 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17079 | if (!SWIG_IsOK(res1)) { | |
17080 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17081 | } | |
17082 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17083 | { | |
17084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17085 | result = (wxMenuBar *)((wxAuiMDIChildFrame const *)arg1)->GetMenuBar(); | |
17086 | wxPyEndAllowThreads(__tstate); | |
17087 | if (PyErr_Occurred()) SWIG_fail; | |
17088 | } | |
17089 | { | |
17090 | resultobj = wxPyMake_wxObject(result, 0); | |
17091 | } | |
17092 | return resultobj; | |
17093 | fail: | |
17094 | return NULL; | |
10044bf1 | 17095 | } |
34d71f81 RD |
17096 | |
17097 | ||
17098 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17099 | PyObject *resultobj = 0; | |
17100 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17101 | wxString *arg2 = 0 ; | |
17102 | void *argp1 = 0 ; | |
17103 | int res1 = 0 ; | |
17104 | bool temp2 = false ; | |
17105 | PyObject * obj0 = 0 ; | |
17106 | PyObject * obj1 = 0 ; | |
17107 | char * kwnames[] = { | |
17108 | (char *) "self",(char *) "title", NULL | |
17109 | }; | |
17110 | ||
17111 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
17112 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17113 | if (!SWIG_IsOK(res1)) { | |
17114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetTitle" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17115 | } | |
17116 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17117 | { | |
17118 | arg2 = wxString_in_helper(obj1); | |
17119 | if (arg2 == NULL) SWIG_fail; | |
17120 | temp2 = true; | |
17121 | } | |
17122 | { | |
17123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17124 | (arg1)->SetTitle((wxString const &)*arg2); | |
17125 | wxPyEndAllowThreads(__tstate); | |
17126 | if (PyErr_Occurred()) SWIG_fail; | |
17127 | } | |
17128 | resultobj = SWIG_Py_Void(); | |
17129 | { | |
17130 | if (temp2) | |
17131 | delete arg2; | |
17132 | } | |
17133 | return resultobj; | |
17134 | fail: | |
17135 | { | |
17136 | if (temp2) | |
17137 | delete arg2; | |
17138 | } | |
17139 | return NULL; | |
10044bf1 | 17140 | } |
34d71f81 RD |
17141 | |
17142 | ||
17143 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17144 | PyObject *resultobj = 0; | |
17145 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17146 | wxString result; | |
17147 | void *argp1 = 0 ; | |
17148 | int res1 = 0 ; | |
17149 | PyObject *swig_obj[1] ; | |
17150 | ||
17151 | if (!args) SWIG_fail; | |
17152 | swig_obj[0] = args; | |
17153 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17154 | if (!SWIG_IsOK(res1)) { | |
17155 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetTitle" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17156 | } | |
17157 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17158 | { | |
17159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17160 | result = ((wxAuiMDIChildFrame const *)arg1)->GetTitle(); | |
17161 | wxPyEndAllowThreads(__tstate); | |
17162 | if (PyErr_Occurred()) SWIG_fail; | |
17163 | } | |
17164 | { | |
17165 | #if wxUSE_UNICODE | |
17166 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
17167 | #else | |
17168 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
17169 | #endif | |
17170 | } | |
17171 | return resultobj; | |
17172 | fail: | |
17173 | return NULL; | |
10044bf1 | 17174 | } |
34d71f81 RD |
17175 | |
17176 | ||
17177 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17178 | PyObject *resultobj = 0; | |
17179 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17180 | wxIconBundle *arg2 = 0 ; | |
17181 | void *argp1 = 0 ; | |
17182 | int res1 = 0 ; | |
17183 | void *argp2 = 0 ; | |
17184 | int res2 = 0 ; | |
17185 | PyObject * obj0 = 0 ; | |
17186 | PyObject * obj1 = 0 ; | |
17187 | char * kwnames[] = { | |
17188 | (char *) "self",(char *) "icons", NULL | |
17189 | }; | |
17190 | ||
17191 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail; | |
17192 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17193 | if (!SWIG_IsOK(res1)) { | |
17194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17195 | } | |
17196 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17197 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0); | |
17198 | if (!SWIG_IsOK(res2)) { | |
17199 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'"); | |
17200 | } | |
17201 | if (!argp2) { | |
17202 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'"); | |
17203 | } | |
17204 | arg2 = reinterpret_cast< wxIconBundle * >(argp2); | |
17205 | { | |
17206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17207 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
17208 | wxPyEndAllowThreads(__tstate); | |
17209 | if (PyErr_Occurred()) SWIG_fail; | |
17210 | } | |
17211 | resultobj = SWIG_Py_Void(); | |
17212 | return resultobj; | |
17213 | fail: | |
17214 | return NULL; | |
10044bf1 | 17215 | } |
34d71f81 RD |
17216 | |
17217 | ||
17218 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17219 | PyObject *resultobj = 0; | |
17220 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17221 | wxIconBundle *result = 0 ; | |
17222 | void *argp1 = 0 ; | |
17223 | int res1 = 0 ; | |
17224 | PyObject *swig_obj[1] ; | |
17225 | ||
17226 | if (!args) SWIG_fail; | |
17227 | swig_obj[0] = args; | |
17228 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17229 | if (!SWIG_IsOK(res1)) { | |
17230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetIcons" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17231 | } | |
17232 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17233 | { | |
17234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17235 | { | |
17236 | wxIconBundle const &_result_ref = ((wxAuiMDIChildFrame const *)arg1)->GetIcons(); | |
17237 | result = (wxIconBundle *) &_result_ref; | |
17238 | } | |
17239 | wxPyEndAllowThreads(__tstate); | |
17240 | if (PyErr_Occurred()) SWIG_fail; | |
17241 | } | |
17242 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxIconBundle, 0 | 0 ); | |
17243 | return resultobj; | |
17244 | fail: | |
17245 | return NULL; | |
10044bf1 | 17246 | } |
34d71f81 RD |
17247 | |
17248 | ||
17249 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17250 | PyObject *resultobj = 0; | |
17251 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17252 | wxIcon *arg2 = 0 ; | |
17253 | void *argp1 = 0 ; | |
17254 | int res1 = 0 ; | |
17255 | void *argp2 = 0 ; | |
17256 | int res2 = 0 ; | |
17257 | PyObject * obj0 = 0 ; | |
17258 | PyObject * obj1 = 0 ; | |
17259 | char * kwnames[] = { | |
17260 | (char *) "self",(char *) "icon", NULL | |
17261 | }; | |
17262 | ||
17263 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail; | |
17264 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17265 | if (!SWIG_IsOK(res1)) { | |
17266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17267 | } | |
17268 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17269 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0); | |
17270 | if (!SWIG_IsOK(res2)) { | |
17271 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
17272 | } | |
17273 | if (!argp2) { | |
17274 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
17275 | } | |
17276 | arg2 = reinterpret_cast< wxIcon * >(argp2); | |
17277 | { | |
17278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17279 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
17280 | wxPyEndAllowThreads(__tstate); | |
17281 | if (PyErr_Occurred()) SWIG_fail; | |
17282 | } | |
17283 | resultobj = SWIG_Py_Void(); | |
17284 | return resultobj; | |
17285 | fail: | |
17286 | return NULL; | |
10044bf1 | 17287 | } |
34d71f81 RD |
17288 | |
17289 | ||
17290 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17291 | PyObject *resultobj = 0; | |
17292 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17293 | wxIcon *result = 0 ; | |
17294 | void *argp1 = 0 ; | |
17295 | int res1 = 0 ; | |
17296 | PyObject *swig_obj[1] ; | |
17297 | ||
17298 | if (!args) SWIG_fail; | |
17299 | swig_obj[0] = args; | |
17300 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17301 | if (!SWIG_IsOK(res1)) { | |
17302 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetIcon" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17303 | } | |
17304 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17305 | { | |
17306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17307 | { | |
17308 | wxIcon const &_result_ref = ((wxAuiMDIChildFrame const *)arg1)->GetIcon(); | |
17309 | result = (wxIcon *) &_result_ref; | |
17310 | } | |
17311 | wxPyEndAllowThreads(__tstate); | |
17312 | if (PyErr_Occurred()) SWIG_fail; | |
17313 | } | |
17314 | { | |
17315 | wxIcon* resultptr = new wxIcon(*result); | |
17316 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1); | |
17317 | } | |
17318 | return resultobj; | |
17319 | fail: | |
17320 | return NULL; | |
10044bf1 | 17321 | } |
34d71f81 RD |
17322 | |
17323 | ||
17324 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17325 | PyObject *resultobj = 0; | |
17326 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17327 | void *argp1 = 0 ; | |
17328 | int res1 = 0 ; | |
17329 | PyObject *swig_obj[1] ; | |
17330 | ||
17331 | if (!args) SWIG_fail; | |
17332 | swig_obj[0] = args; | |
17333 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17334 | if (!SWIG_IsOK(res1)) { | |
17335 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17336 | } | |
17337 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17338 | { | |
17339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17340 | (arg1)->Activate(); | |
17341 | wxPyEndAllowThreads(__tstate); | |
17342 | if (PyErr_Occurred()) SWIG_fail; | |
17343 | } | |
17344 | resultobj = SWIG_Py_Void(); | |
17345 | return resultobj; | |
17346 | fail: | |
17347 | return NULL; | |
10044bf1 | 17348 | } |
34d71f81 RD |
17349 | |
17350 | ||
17351 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_DoSetSizeHints(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17352 | PyObject *resultobj = 0; | |
17353 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17354 | int arg2 ; | |
17355 | int arg3 ; | |
17356 | int arg4 = (int) wxDefaultCoord ; | |
17357 | int arg5 = (int) wxDefaultCoord ; | |
17358 | int arg6 = (int) wxDefaultCoord ; | |
17359 | int arg7 = (int) wxDefaultCoord ; | |
17360 | void *argp1 = 0 ; | |
17361 | int res1 = 0 ; | |
17362 | int val2 ; | |
17363 | int ecode2 = 0 ; | |
17364 | int val3 ; | |
17365 | int ecode3 = 0 ; | |
17366 | int val4 ; | |
17367 | int ecode4 = 0 ; | |
17368 | int val5 ; | |
17369 | int ecode5 = 0 ; | |
17370 | int val6 ; | |
17371 | int ecode6 = 0 ; | |
17372 | int val7 ; | |
17373 | int ecode7 = 0 ; | |
17374 | PyObject * obj0 = 0 ; | |
17375 | PyObject * obj1 = 0 ; | |
17376 | PyObject * obj2 = 0 ; | |
17377 | PyObject * obj3 = 0 ; | |
17378 | PyObject * obj4 = 0 ; | |
17379 | PyObject * obj5 = 0 ; | |
17380 | PyObject * obj6 = 0 ; | |
17381 | char * kwnames[] = { | |
17382 | (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL | |
17383 | }; | |
17384 | ||
17385 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:AuiMDIChildFrame_DoSetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
17386 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17387 | if (!SWIG_IsOK(res1)) { | |
17388 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17389 | } | |
17390 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17391 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17392 | if (!SWIG_IsOK(ecode2)) { | |
17393 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "2"" of type '" "int""'"); | |
17394 | } | |
17395 | arg2 = static_cast< int >(val2); | |
17396 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17397 | if (!SWIG_IsOK(ecode3)) { | |
17398 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "3"" of type '" "int""'"); | |
17399 | } | |
17400 | arg3 = static_cast< int >(val3); | |
17401 | if (obj3) { | |
17402 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17403 | if (!SWIG_IsOK(ecode4)) { | |
17404 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "4"" of type '" "int""'"); | |
17405 | } | |
17406 | arg4 = static_cast< int >(val4); | |
17407 | } | |
17408 | if (obj4) { | |
17409 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
17410 | if (!SWIG_IsOK(ecode5)) { | |
17411 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "5"" of type '" "int""'"); | |
17412 | } | |
17413 | arg5 = static_cast< int >(val5); | |
17414 | } | |
17415 | if (obj5) { | |
17416 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
17417 | if (!SWIG_IsOK(ecode6)) { | |
17418 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "6"" of type '" "int""'"); | |
17419 | } | |
17420 | arg6 = static_cast< int >(val6); | |
17421 | } | |
17422 | if (obj6) { | |
17423 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
17424 | if (!SWIG_IsOK(ecode7)) { | |
17425 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "7"" of type '" "int""'"); | |
17426 | } | |
17427 | arg7 = static_cast< int >(val7); | |
17428 | } | |
17429 | { | |
17430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17431 | (arg1)->DoSetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7); | |
17432 | wxPyEndAllowThreads(__tstate); | |
17433 | if (PyErr_Occurred()) SWIG_fail; | |
17434 | } | |
17435 | resultobj = SWIG_Py_Void(); | |
17436 | return resultobj; | |
17437 | fail: | |
17438 | return NULL; | |
10044bf1 | 17439 | } |
34d71f81 RD |
17440 | |
17441 | ||
17442 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17443 | PyObject *resultobj = 0; | |
17444 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17445 | bool arg2 = (bool) true ; | |
17446 | void *argp1 = 0 ; | |
17447 | int res1 = 0 ; | |
17448 | bool val2 ; | |
17449 | int ecode2 = 0 ; | |
17450 | PyObject * obj0 = 0 ; | |
17451 | PyObject * obj1 = 0 ; | |
17452 | char * kwnames[] = { | |
17453 | (char *) "self",(char *) "maximize", NULL | |
17454 | }; | |
17455 | ||
17456 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIChildFrame_Maximize",kwnames,&obj0,&obj1)) SWIG_fail; | |
17457 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17458 | if (!SWIG_IsOK(res1)) { | |
17459 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Maximize" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17460 | } | |
17461 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17462 | if (obj1) { | |
17463 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17464 | if (!SWIG_IsOK(ecode2)) { | |
17465 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_Maximize" "', expected argument " "2"" of type '" "bool""'"); | |
17466 | } | |
17467 | arg2 = static_cast< bool >(val2); | |
17468 | } | |
17469 | { | |
17470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17471 | (arg1)->Maximize(arg2); | |
17472 | wxPyEndAllowThreads(__tstate); | |
17473 | if (PyErr_Occurred()) SWIG_fail; | |
17474 | } | |
17475 | resultobj = SWIG_Py_Void(); | |
17476 | return resultobj; | |
17477 | fail: | |
17478 | return NULL; | |
10044bf1 | 17479 | } |
34d71f81 RD |
17480 | |
17481 | ||
17482 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17483 | PyObject *resultobj = 0; | |
17484 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17485 | void *argp1 = 0 ; | |
17486 | int res1 = 0 ; | |
17487 | PyObject *swig_obj[1] ; | |
17488 | ||
17489 | if (!args) SWIG_fail; | |
17490 | swig_obj[0] = args; | |
17491 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17492 | if (!SWIG_IsOK(res1)) { | |
17493 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Restore" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17494 | } | |
17495 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17496 | { | |
17497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17498 | (arg1)->Restore(); | |
17499 | wxPyEndAllowThreads(__tstate); | |
17500 | if (PyErr_Occurred()) SWIG_fail; | |
17501 | } | |
17502 | resultobj = SWIG_Py_Void(); | |
17503 | return resultobj; | |
17504 | fail: | |
17505 | return NULL; | |
10044bf1 | 17506 | } |
34d71f81 RD |
17507 | |
17508 | ||
17509 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17510 | PyObject *resultobj = 0; | |
17511 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17512 | bool arg2 = (bool) true ; | |
17513 | void *argp1 = 0 ; | |
17514 | int res1 = 0 ; | |
17515 | bool val2 ; | |
17516 | int ecode2 = 0 ; | |
17517 | PyObject * obj0 = 0 ; | |
17518 | PyObject * obj1 = 0 ; | |
17519 | char * kwnames[] = { | |
17520 | (char *) "self",(char *) "iconize", NULL | |
17521 | }; | |
17522 | ||
17523 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIChildFrame_Iconize",kwnames,&obj0,&obj1)) SWIG_fail; | |
17524 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17525 | if (!SWIG_IsOK(res1)) { | |
17526 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Iconize" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17527 | } | |
17528 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17529 | if (obj1) { | |
17530 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17531 | if (!SWIG_IsOK(ecode2)) { | |
17532 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_Iconize" "', expected argument " "2"" of type '" "bool""'"); | |
17533 | } | |
17534 | arg2 = static_cast< bool >(val2); | |
17535 | } | |
17536 | { | |
17537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17538 | (arg1)->Iconize(arg2); | |
17539 | wxPyEndAllowThreads(__tstate); | |
17540 | if (PyErr_Occurred()) SWIG_fail; | |
17541 | } | |
17542 | resultobj = SWIG_Py_Void(); | |
17543 | return resultobj; | |
17544 | fail: | |
17545 | return NULL; | |
10044bf1 | 17546 | } |
34d71f81 RD |
17547 | |
17548 | ||
17549 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17550 | PyObject *resultobj = 0; | |
17551 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17552 | bool result; | |
17553 | void *argp1 = 0 ; | |
17554 | int res1 = 0 ; | |
17555 | PyObject *swig_obj[1] ; | |
17556 | ||
17557 | if (!args) SWIG_fail; | |
17558 | swig_obj[0] = args; | |
17559 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17560 | if (!SWIG_IsOK(res1)) { | |
17561 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsMaximized" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17562 | } | |
17563 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17564 | { | |
17565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17566 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsMaximized(); | |
17567 | wxPyEndAllowThreads(__tstate); | |
17568 | if (PyErr_Occurred()) SWIG_fail; | |
17569 | } | |
17570 | { | |
17571 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17572 | } | |
17573 | return resultobj; | |
17574 | fail: | |
17575 | return NULL; | |
10044bf1 | 17576 | } |
34d71f81 RD |
17577 | |
17578 | ||
17579 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17580 | PyObject *resultobj = 0; | |
17581 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17582 | bool result; | |
17583 | void *argp1 = 0 ; | |
17584 | int res1 = 0 ; | |
17585 | PyObject *swig_obj[1] ; | |
17586 | ||
17587 | if (!args) SWIG_fail; | |
17588 | swig_obj[0] = args; | |
17589 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17590 | if (!SWIG_IsOK(res1)) { | |
17591 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsIconized" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17592 | } | |
17593 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17594 | { | |
17595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17596 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsIconized(); | |
17597 | wxPyEndAllowThreads(__tstate); | |
17598 | if (PyErr_Occurred()) SWIG_fail; | |
17599 | } | |
17600 | { | |
17601 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17602 | } | |
17603 | return resultobj; | |
17604 | fail: | |
17605 | return NULL; | |
10044bf1 | 17606 | } |
34d71f81 RD |
17607 | |
17608 | ||
17609 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17610 | PyObject *resultobj = 0; | |
17611 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17612 | bool arg2 ; | |
17613 | long arg3 ; | |
17614 | bool result; | |
17615 | void *argp1 = 0 ; | |
17616 | int res1 = 0 ; | |
17617 | bool val2 ; | |
17618 | int ecode2 = 0 ; | |
17619 | long val3 ; | |
17620 | int ecode3 = 0 ; | |
17621 | PyObject * obj0 = 0 ; | |
17622 | PyObject * obj1 = 0 ; | |
17623 | PyObject * obj2 = 0 ; | |
17624 | char * kwnames[] = { | |
17625 | (char *) "self",(char *) "show",(char *) "style", NULL | |
17626 | }; | |
17627 | ||
17628 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMDIChildFrame_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17629 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17630 | if (!SWIG_IsOK(res1)) { | |
17631 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17632 | } | |
17633 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17634 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17635 | if (!SWIG_IsOK(ecode2)) { | |
17636 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'"); | |
17637 | } | |
17638 | arg2 = static_cast< bool >(val2); | |
17639 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
17640 | if (!SWIG_IsOK(ecode3)) { | |
17641 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "3"" of type '" "long""'"); | |
17642 | } | |
17643 | arg3 = static_cast< long >(val3); | |
17644 | { | |
17645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17646 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
17647 | wxPyEndAllowThreads(__tstate); | |
17648 | if (PyErr_Occurred()) SWIG_fail; | |
17649 | } | |
17650 | { | |
17651 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17652 | } | |
17653 | return resultobj; | |
17654 | fail: | |
17655 | return NULL; | |
10044bf1 | 17656 | } |
34d71f81 RD |
17657 | |
17658 | ||
17659 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17660 | PyObject *resultobj = 0; | |
17661 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17662 | bool result; | |
17663 | void *argp1 = 0 ; | |
17664 | int res1 = 0 ; | |
17665 | PyObject *swig_obj[1] ; | |
17666 | ||
17667 | if (!args) SWIG_fail; | |
17668 | swig_obj[0] = args; | |
17669 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17670 | if (!SWIG_IsOK(res1)) { | |
17671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsFullScreen" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17672 | } | |
17673 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17674 | { | |
17675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17676 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsFullScreen(); | |
17677 | wxPyEndAllowThreads(__tstate); | |
17678 | if (PyErr_Occurred()) SWIG_fail; | |
17679 | } | |
17680 | { | |
17681 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17682 | } | |
17683 | return resultobj; | |
17684 | fail: | |
17685 | return NULL; | |
10044bf1 | 17686 | } |
34d71f81 RD |
17687 | |
17688 | ||
17689 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnMenuHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17690 | PyObject *resultobj = 0; | |
17691 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17692 | wxMenuEvent *arg2 = 0 ; | |
17693 | void *argp1 = 0 ; | |
17694 | int res1 = 0 ; | |
17695 | void *argp2 = 0 ; | |
17696 | int res2 = 0 ; | |
17697 | PyObject * obj0 = 0 ; | |
17698 | PyObject * obj1 = 0 ; | |
17699 | char * kwnames[] = { | |
17700 | (char *) "self",(char *) "evt", NULL | |
17701 | }; | |
17702 | ||
17703 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnMenuHighlight",kwnames,&obj0,&obj1)) SWIG_fail; | |
17704 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17705 | if (!SWIG_IsOK(res1)) { | |
17706 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17707 | } | |
17708 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17709 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMenuEvent, 0 ); | |
17710 | if (!SWIG_IsOK(res2)) { | |
17711 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "2"" of type '" "wxMenuEvent &""'"); | |
17712 | } | |
17713 | if (!argp2) { | |
17714 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "2"" of type '" "wxMenuEvent &""'"); | |
17715 | } | |
17716 | arg2 = reinterpret_cast< wxMenuEvent * >(argp2); | |
17717 | { | |
17718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17719 | (arg1)->OnMenuHighlight(*arg2); | |
17720 | wxPyEndAllowThreads(__tstate); | |
17721 | if (PyErr_Occurred()) SWIG_fail; | |
17722 | } | |
17723 | resultobj = SWIG_Py_Void(); | |
17724 | return resultobj; | |
17725 | fail: | |
17726 | return NULL; | |
10044bf1 | 17727 | } |
34d71f81 RD |
17728 | |
17729 | ||
17730 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnActivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17731 | PyObject *resultobj = 0; | |
17732 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17733 | wxActivateEvent *arg2 = 0 ; | |
17734 | void *argp1 = 0 ; | |
17735 | int res1 = 0 ; | |
17736 | void *argp2 = 0 ; | |
17737 | int res2 = 0 ; | |
17738 | PyObject * obj0 = 0 ; | |
17739 | PyObject * obj1 = 0 ; | |
17740 | char * kwnames[] = { | |
17741 | (char *) "self",(char *) "evt", NULL | |
17742 | }; | |
17743 | ||
17744 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnActivate",kwnames,&obj0,&obj1)) SWIG_fail; | |
17745 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17746 | if (!SWIG_IsOK(res1)) { | |
17747 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17748 | } | |
17749 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17750 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxActivateEvent, 0 ); | |
17751 | if (!SWIG_IsOK(res2)) { | |
17752 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "2"" of type '" "wxActivateEvent &""'"); | |
17753 | } | |
17754 | if (!argp2) { | |
17755 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "2"" of type '" "wxActivateEvent &""'"); | |
17756 | } | |
17757 | arg2 = reinterpret_cast< wxActivateEvent * >(argp2); | |
17758 | { | |
17759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17760 | (arg1)->OnActivate(*arg2); | |
17761 | wxPyEndAllowThreads(__tstate); | |
17762 | if (PyErr_Occurred()) SWIG_fail; | |
17763 | } | |
17764 | resultobj = SWIG_Py_Void(); | |
17765 | return resultobj; | |
17766 | fail: | |
17767 | return NULL; | |
10044bf1 | 17768 | } |
34d71f81 RD |
17769 | |
17770 | ||
17771 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnCloseWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17772 | PyObject *resultobj = 0; | |
17773 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17774 | wxCloseEvent *arg2 = 0 ; | |
17775 | void *argp1 = 0 ; | |
17776 | int res1 = 0 ; | |
17777 | void *argp2 = 0 ; | |
17778 | int res2 = 0 ; | |
17779 | PyObject * obj0 = 0 ; | |
17780 | PyObject * obj1 = 0 ; | |
17781 | char * kwnames[] = { | |
17782 | (char *) "self",(char *) "evt", NULL | |
17783 | }; | |
17784 | ||
17785 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnCloseWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17786 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17787 | if (!SWIG_IsOK(res1)) { | |
17788 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17789 | } | |
17790 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17791 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCloseEvent, 0 ); | |
17792 | if (!SWIG_IsOK(res2)) { | |
17793 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "2"" of type '" "wxCloseEvent &""'"); | |
17794 | } | |
17795 | if (!argp2) { | |
17796 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "2"" of type '" "wxCloseEvent &""'"); | |
17797 | } | |
17798 | arg2 = reinterpret_cast< wxCloseEvent * >(argp2); | |
17799 | { | |
17800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17801 | (arg1)->OnCloseWindow(*arg2); | |
17802 | wxPyEndAllowThreads(__tstate); | |
17803 | if (PyErr_Occurred()) SWIG_fail; | |
17804 | } | |
17805 | resultobj = SWIG_Py_Void(); | |
17806 | return resultobj; | |
17807 | fail: | |
17808 | return NULL; | |
10044bf1 | 17809 | } |
34d71f81 RD |
17810 | |
17811 | ||
17812 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17813 | PyObject *resultobj = 0; | |
17814 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17815 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
17816 | void *argp1 = 0 ; | |
17817 | int res1 = 0 ; | |
17818 | void *argp2 = 0 ; | |
17819 | int res2 = 0 ; | |
17820 | PyObject * obj0 = 0 ; | |
17821 | PyObject * obj1 = 0 ; | |
17822 | char * kwnames[] = { | |
17823 | (char *) "self",(char *) "parent", NULL | |
17824 | }; | |
17825 | ||
17826 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetMDIParentFrame",kwnames,&obj0,&obj1)) SWIG_fail; | |
17827 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17828 | if (!SWIG_IsOK(res1)) { | |
17829 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetMDIParentFrame" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17830 | } | |
17831 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17832 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17833 | if (!SWIG_IsOK(res2)) { | |
17834 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetMDIParentFrame" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
17835 | } | |
17836 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
17837 | { | |
17838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17839 | (arg1)->SetMDIParentFrame(arg2); | |
17840 | wxPyEndAllowThreads(__tstate); | |
17841 | if (PyErr_Occurred()) SWIG_fail; | |
17842 | } | |
17843 | resultobj = SWIG_Py_Void(); | |
17844 | return resultobj; | |
17845 | fail: | |
17846 | return NULL; | |
10044bf1 | 17847 | } |
34d71f81 RD |
17848 | |
17849 | ||
17850 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17851 | PyObject *resultobj = 0; | |
17852 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17853 | wxAuiMDIParentFrame *result = 0 ; | |
17854 | void *argp1 = 0 ; | |
17855 | int res1 = 0 ; | |
17856 | PyObject *swig_obj[1] ; | |
17857 | ||
17858 | if (!args) SWIG_fail; | |
17859 | swig_obj[0] = args; | |
17860 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17861 | if (!SWIG_IsOK(res1)) { | |
17862 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetMDIParentFrame" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17863 | } | |
17864 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17865 | { | |
17866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17867 | result = (wxAuiMDIParentFrame *)((wxAuiMDIChildFrame const *)arg1)->GetMDIParentFrame(); | |
17868 | wxPyEndAllowThreads(__tstate); | |
17869 | if (PyErr_Occurred()) SWIG_fail; | |
17870 | } | |
17871 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17872 | return resultobj; | |
17873 | fail: | |
17874 | return NULL; | |
10044bf1 | 17875 | } |
34d71f81 RD |
17876 | |
17877 | ||
17878 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_ApplyMDIChildFrameRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17879 | PyObject *resultobj = 0; | |
17880 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17881 | void *argp1 = 0 ; | |
17882 | int res1 = 0 ; | |
17883 | PyObject *swig_obj[1] ; | |
17884 | ||
17885 | if (!args) SWIG_fail; | |
17886 | swig_obj[0] = args; | |
17887 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17888 | if (!SWIG_IsOK(res1)) { | |
17889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_ApplyMDIChildFrameRect" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17890 | } | |
17891 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17892 | { | |
17893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17894 | (arg1)->ApplyMDIChildFrameRect(); | |
17895 | wxPyEndAllowThreads(__tstate); | |
17896 | if (PyErr_Occurred()) SWIG_fail; | |
17897 | } | |
17898 | resultobj = SWIG_Py_Void(); | |
17899 | return resultobj; | |
17900 | fail: | |
17901 | return NULL; | |
10044bf1 | 17902 | } |
34d71f81 RD |
17903 | |
17904 | ||
17905 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_DoShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17906 | PyObject *resultobj = 0; | |
17907 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17908 | bool arg2 ; | |
17909 | void *argp1 = 0 ; | |
17910 | int res1 = 0 ; | |
17911 | bool val2 ; | |
17912 | int ecode2 = 0 ; | |
17913 | PyObject * obj0 = 0 ; | |
17914 | PyObject * obj1 = 0 ; | |
17915 | char * kwnames[] = { | |
17916 | (char *) "self",(char *) "show", NULL | |
17917 | }; | |
17918 | ||
17919 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_DoShow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17920 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17921 | if (!SWIG_IsOK(res1)) { | |
17922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_DoShow" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17923 | } | |
17924 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17925 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17926 | if (!SWIG_IsOK(ecode2)) { | |
17927 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_DoShow" "', expected argument " "2"" of type '" "bool""'"); | |
17928 | } | |
17929 | arg2 = static_cast< bool >(val2); | |
17930 | { | |
17931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17932 | (arg1)->DoShow(arg2); | |
17933 | wxPyEndAllowThreads(__tstate); | |
17934 | if (PyErr_Occurred()) SWIG_fail; | |
17935 | } | |
17936 | resultobj = SWIG_Py_Void(); | |
17937 | return resultobj; | |
17938 | fail: | |
17939 | return NULL; | |
10044bf1 | 17940 | } |
34d71f81 RD |
17941 | |
17942 | ||
17943 | SWIGINTERN PyObject *AuiMDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17944 | PyObject *obj; | |
17945 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17946 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_NewClientData(obj)); | |
17947 | return SWIG_Py_Void(); | |
10044bf1 | 17948 | } |
34d71f81 RD |
17949 | |
17950 | SWIGINTERN PyObject *AuiMDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17951 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 17952 | } |
34d71f81 RD |
17953 | |
17954 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17955 | PyObject *resultobj = 0; | |
17956 | wxAuiMDIClientWindow *result = 0 ; | |
17957 | ||
17958 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIClientWindow",0,0,0)) SWIG_fail; | |
17959 | { | |
17960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17961 | result = (wxAuiMDIClientWindow *)new wxAuiMDIClientWindow(); | |
17962 | wxPyEndAllowThreads(__tstate); | |
17963 | if (PyErr_Occurred()) SWIG_fail; | |
17964 | } | |
17965 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_POINTER_OWN | 0 ); | |
17966 | return resultobj; | |
17967 | fail: | |
17968 | return NULL; | |
f9bf356b | 17969 | } |
34d71f81 RD |
17970 | |
17971 | ||
17972 | SWIGINTERN PyObject *_wrap_new_AuiMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17973 | PyObject *resultobj = 0; | |
17974 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
17975 | long arg2 = (long) 0 ; | |
17976 | wxAuiMDIClientWindow *result = 0 ; | |
17977 | void *argp1 = 0 ; | |
17978 | int res1 = 0 ; | |
17979 | long val2 ; | |
17980 | int ecode2 = 0 ; | |
17981 | PyObject * obj0 = 0 ; | |
17982 | PyObject * obj1 = 0 ; | |
17983 | char * kwnames[] = { | |
17984 | (char *) "parent",(char *) "style", NULL | |
17985 | }; | |
17986 | ||
17987 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_AuiMDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17988 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17989 | if (!SWIG_IsOK(res1)) { | |
17990 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIClientWindow" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
17991 | } | |
17992 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
17993 | if (obj1) { | |
17994 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
17995 | if (!SWIG_IsOK(ecode2)) { | |
17996 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIClientWindow" "', expected argument " "2"" of type '" "long""'"); | |
17997 | } | |
17998 | arg2 = static_cast< long >(val2); | |
17999 | } | |
18000 | { | |
18001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18002 | result = (wxAuiMDIClientWindow *)new wxAuiMDIClientWindow(arg1,arg2); | |
18003 | wxPyEndAllowThreads(__tstate); | |
18004 | if (PyErr_Occurred()) SWIG_fail; | |
18005 | } | |
18006 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_POINTER_NEW | 0 ); | |
18007 | return resultobj; | |
18008 | fail: | |
18009 | return NULL; | |
10044bf1 | 18010 | } |
34d71f81 RD |
18011 | |
18012 | ||
18013 | SWIGINTERN PyObject *_wrap_AuiMDIClientWindow_CreateClient(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18014 | PyObject *resultobj = 0; | |
18015 | wxAuiMDIClientWindow *arg1 = (wxAuiMDIClientWindow *) 0 ; | |
18016 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
18017 | long arg3 = (long) wxVSCROLL|wxHSCROLL ; | |
18018 | bool result; | |
18019 | void *argp1 = 0 ; | |
18020 | int res1 = 0 ; | |
18021 | void *argp2 = 0 ; | |
18022 | int res2 = 0 ; | |
18023 | long val3 ; | |
18024 | int ecode3 = 0 ; | |
18025 | PyObject * obj0 = 0 ; | |
18026 | PyObject * obj1 = 0 ; | |
18027 | PyObject * obj2 = 0 ; | |
18028 | char * kwnames[] = { | |
18029 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
18030 | }; | |
18031 | ||
18032 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiMDIClientWindow_CreateClient",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
18033 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
18034 | if (!SWIG_IsOK(res1)) { | |
18035 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "1"" of type '" "wxAuiMDIClientWindow *""'"); | |
18036 | } | |
18037 | arg1 = reinterpret_cast< wxAuiMDIClientWindow * >(argp1); | |
18038 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
18039 | if (!SWIG_IsOK(res2)) { | |
18040 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
18041 | } | |
18042 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
18043 | if (obj2) { | |
18044 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
18045 | if (!SWIG_IsOK(ecode3)) { | |
18046 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "3"" of type '" "long""'"); | |
18047 | } | |
18048 | arg3 = static_cast< long >(val3); | |
18049 | } | |
18050 | { | |
18051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18052 | result = (bool)(arg1)->CreateClient(arg2,arg3); | |
18053 | wxPyEndAllowThreads(__tstate); | |
18054 | if (PyErr_Occurred()) SWIG_fail; | |
18055 | } | |
18056 | { | |
18057 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18058 | } | |
18059 | return resultobj; | |
18060 | fail: | |
18061 | return NULL; | |
10044bf1 | 18062 | } |
34d71f81 RD |
18063 | |
18064 | ||
18065 | SWIGINTERN PyObject *_wrap_AuiMDIClientWindow_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18066 | PyObject *resultobj = 0; | |
18067 | wxAuiMDIClientWindow *arg1 = (wxAuiMDIClientWindow *) 0 ; | |
18068 | size_t arg2 ; | |
18069 | int result; | |
18070 | void *argp1 = 0 ; | |
18071 | int res1 = 0 ; | |
18072 | size_t val2 ; | |
18073 | int ecode2 = 0 ; | |
18074 | PyObject * obj0 = 0 ; | |
18075 | PyObject * obj1 = 0 ; | |
18076 | char * kwnames[] = { | |
18077 | (char *) "self",(char *) "page", NULL | |
18078 | }; | |
18079 | ||
18080 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIClientWindow_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
18081 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
18082 | if (!SWIG_IsOK(res1)) { | |
18083 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIClientWindow_SetSelection" "', expected argument " "1"" of type '" "wxAuiMDIClientWindow *""'"); | |
18084 | } | |
18085 | arg1 = reinterpret_cast< wxAuiMDIClientWindow * >(argp1); | |
18086 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
18087 | if (!SWIG_IsOK(ecode2)) { | |
18088 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIClientWindow_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
18089 | } | |
18090 | arg2 = static_cast< size_t >(val2); | |
18091 | { | |
18092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18093 | result = (int)(arg1)->SetSelection(arg2); | |
18094 | wxPyEndAllowThreads(__tstate); | |
18095 | if (PyErr_Occurred()) SWIG_fail; | |
18096 | } | |
18097 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
18098 | return resultobj; | |
18099 | fail: | |
18100 | return NULL; | |
10044bf1 | 18101 | } |
34d71f81 RD |
18102 | |
18103 | ||
18104 | SWIGINTERN PyObject *AuiMDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18105 | PyObject *obj; | |
18106 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18107 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_NewClientData(obj)); | |
18108 | return SWIG_Py_Void(); | |
10044bf1 | 18109 | } |
34d71f81 RD |
18110 | |
18111 | SWIGINTERN PyObject *AuiMDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18112 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 18113 | } |
34d71f81 RD |
18114 | |
18115 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18116 | PyObject *obj; | |
18117 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18118 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); | |
18119 | return SWIG_Py_Void(); | |
10044bf1 | 18120 | } |
34d71f81 RD |
18121 | |
18122 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18123 | PyObject *obj; | |
18124 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18125 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); | |
18126 | return SWIG_Py_Void(); | |
10044bf1 | 18127 | } |
34d71f81 RD |
18128 | |
18129 | static PyMethodDef SwigMethods[] = { | |
18130 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, | |
18131 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
18132 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18133 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
18134 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
18135 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
18136 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
18137 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
18138 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
18139 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
18140 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
18141 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
18142 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
18143 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
18144 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
18145 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
18146 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
18147 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
18148 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
18149 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
18150 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
18151 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
18152 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
18153 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
18154 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
18155 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
18156 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18157 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18158 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18159 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
18160 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
18161 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
18162 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
18163 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
18164 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
18165 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18166 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18167 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18168 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18169 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18170 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18171 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18172 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18173 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18174 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
18175 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18176 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
18177 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
18178 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
18179 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18180 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18181 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
18182 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
18183 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18184 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18185 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18186 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18187 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18188 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18189 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18190 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18191 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18192 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18193 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18194 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18195 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18196 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18197 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18198 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
18199 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
18200 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
18201 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
18202 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18203 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18204 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
18205 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
18206 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
18207 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
18208 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
18209 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
18210 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
18211 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
18212 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
18213 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
18214 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
18215 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
18216 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
18217 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
18218 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
18219 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
18220 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
18221 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
18222 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
18223 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
18224 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
18225 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
18226 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
18227 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
18228 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
18229 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
18230 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
18231 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
18232 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
18233 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
18234 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
18235 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
18236 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
18237 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
18238 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
18239 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
18240 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18241 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
18242 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
18243 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18244 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
18245 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18246 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
18247 | { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18248 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18249 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
18250 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18251 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18252 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
18253 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18254 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18255 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18256 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18257 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18258 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
18259 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18260 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18261 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
18262 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18263 | { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18264 | { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18265 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18266 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18267 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18268 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
18269 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18270 | { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18271 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18272 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18273 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18274 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
18275 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18276 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18277 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
18278 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
18279 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18280 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
18281 | { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18282 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18283 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18284 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18285 | { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL}, | |
18286 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
18287 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
18288 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
18289 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18290 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
18291 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18292 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
18293 | { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL}, | |
18294 | { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL}, | |
18295 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
18296 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
18297 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
18298 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
18299 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
18300 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
18301 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
18302 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
18303 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
18304 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
18305 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
18306 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
18307 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
18308 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
18309 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
18310 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
18311 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
18312 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
18313 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
18314 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
18315 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
18316 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
18317 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
18318 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
18319 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
18320 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
18321 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
18322 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
18323 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
18324 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
18325 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
18326 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
18327 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
18328 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
18329 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
18330 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
18331 | { (char *)"AuiDockInfo_reserved1_set", _wrap_AuiDockInfo_reserved1_set, METH_VARARGS, NULL}, | |
18332 | { (char *)"AuiDockInfo_reserved1_get", (PyCFunction)_wrap_AuiDockInfo_reserved1_get, METH_O, NULL}, | |
18333 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
18334 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
18335 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
18336 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
18337 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
18338 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
18339 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
18340 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
18341 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
18342 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
18343 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
18344 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
18345 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
18346 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
18347 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
18348 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
18349 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
18350 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
18351 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
18352 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
18353 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
18354 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
18355 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
18356 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
18357 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
18358 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
18359 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18360 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18361 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18362 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18363 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18364 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18365 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18366 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18367 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18368 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18369 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18370 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18371 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18372 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18373 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
18374 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
18375 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
18376 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
18377 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18378 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
18379 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18380 | { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL}, | |
18381 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
18382 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
18383 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18384 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18385 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
18386 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18387 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
18388 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18389 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
18390 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
18391 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
18392 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
18393 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
18394 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, | |
18395 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
18396 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
18397 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
18398 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
18399 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
18400 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
18401 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
18402 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
18403 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
18404 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
18405 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
18406 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
18407 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
18408 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
18409 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
18410 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
18411 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
18412 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
18413 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, | |
18414 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
18415 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, | |
18416 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
18417 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, | |
18418 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
18419 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, | |
18420 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
18421 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
18422 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, | |
18423 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
18424 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18425 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18426 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18427 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18428 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18429 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18430 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18431 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18432 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18433 | { (char *)"AuiTabArt_ShowDropDown", (PyCFunction) _wrap_AuiTabArt_ShowDropDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18434 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
18435 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18436 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
18437 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
18438 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
18439 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
18440 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
18441 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
18442 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
18443 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
18444 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
18445 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
18446 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
18447 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18448 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
18449 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18450 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
18451 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18452 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18453 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18454 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18455 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
18456 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
18457 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
18458 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18459 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18460 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18461 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18462 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
18463 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18464 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
18465 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18466 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18467 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18468 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
18469 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18470 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18471 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18472 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, | |
18473 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18474 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, | |
18475 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
18476 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18477 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, | |
18478 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, | |
18479 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
18480 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, | |
18481 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18482 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
18483 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18484 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18485 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
18486 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18487 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18488 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18489 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18490 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18491 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18492 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
18493 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18494 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18495 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18496 | { (char *)"AuiNotebook_GetPageText", (PyCFunction) _wrap_AuiNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18497 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18498 | { (char *)"AuiNotebook_GetPageBitmap", (PyCFunction) _wrap_AuiNotebook_GetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18499 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18500 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
18501 | { (char *)"AuiNotebook_Split", (PyCFunction) _wrap_AuiNotebook_Split, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18502 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, | |
18503 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
18504 | { (char *)"new_PreAuiMDIParentFrame", (PyCFunction)_wrap_new_PreAuiMDIParentFrame, METH_NOARGS, NULL}, | |
18505 | { (char *)"new_AuiMDIParentFrame", (PyCFunction) _wrap_new_AuiMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18506 | { (char *)"AuiMDIParentFrame_Create", (PyCFunction) _wrap_AuiMDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18507 | { (char *)"AuiMDIParentFrame_SetArtProvider", (PyCFunction) _wrap_AuiMDIParentFrame_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18508 | { (char *)"AuiMDIParentFrame_GetArtProvider", (PyCFunction)_wrap_AuiMDIParentFrame_GetArtProvider, METH_O, NULL}, | |
18509 | { (char *)"AuiMDIParentFrame_GetNotebook", (PyCFunction)_wrap_AuiMDIParentFrame_GetNotebook, METH_O, NULL}, | |
18510 | { (char *)"AuiMDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_AuiMDIParentFrame_GetWindowMenu, METH_O, NULL}, | |
18511 | { (char *)"AuiMDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_AuiMDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18512 | { (char *)"AuiMDIParentFrame_SetChildMenuBar", (PyCFunction) _wrap_AuiMDIParentFrame_SetChildMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18513 | { (char *)"AuiMDIParentFrame_ProcessEvent", (PyCFunction) _wrap_AuiMDIParentFrame_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18514 | { (char *)"AuiMDIParentFrame_GetActiveChild", (PyCFunction)_wrap_AuiMDIParentFrame_GetActiveChild, METH_O, NULL}, | |
18515 | { (char *)"AuiMDIParentFrame_SetActiveChild", (PyCFunction) _wrap_AuiMDIParentFrame_SetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18516 | { (char *)"AuiMDIParentFrame_GetClientWindow", (PyCFunction)_wrap_AuiMDIParentFrame_GetClientWindow, METH_O, NULL}, | |
18517 | { (char *)"AuiMDIParentFrame_OnCreateClient", (PyCFunction)_wrap_AuiMDIParentFrame_OnCreateClient, METH_O, NULL}, | |
18518 | { (char *)"AuiMDIParentFrame_Cascade", (PyCFunction)_wrap_AuiMDIParentFrame_Cascade, METH_O, NULL}, | |
18519 | { (char *)"AuiMDIParentFrame_Tile", (PyCFunction) _wrap_AuiMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18520 | { (char *)"AuiMDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_AuiMDIParentFrame_ArrangeIcons, METH_O, NULL}, | |
18521 | { (char *)"AuiMDIParentFrame_ActivateNext", (PyCFunction)_wrap_AuiMDIParentFrame_ActivateNext, METH_O, NULL}, | |
18522 | { (char *)"AuiMDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_AuiMDIParentFrame_ActivatePrevious, METH_O, NULL}, | |
18523 | { (char *)"AuiMDIParentFrame_swigregister", AuiMDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
18524 | { (char *)"AuiMDIParentFrame_swiginit", AuiMDIParentFrame_swiginit, METH_VARARGS, NULL}, | |
18525 | { (char *)"new_PreAuiMDIChildFrame", (PyCFunction)_wrap_new_PreAuiMDIChildFrame, METH_NOARGS, NULL}, | |
18526 | { (char *)"new_AuiMDIChildFrame", (PyCFunction) _wrap_new_AuiMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18527 | { (char *)"AuiMDIChildFrame_Create", (PyCFunction) _wrap_AuiMDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18528 | { (char *)"AuiMDIChildFrame_SetMenuBar", (PyCFunction) _wrap_AuiMDIChildFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18529 | { (char *)"AuiMDIChildFrame_GetMenuBar", (PyCFunction)_wrap_AuiMDIChildFrame_GetMenuBar, METH_O, NULL}, | |
18530 | { (char *)"AuiMDIChildFrame_SetTitle", (PyCFunction) _wrap_AuiMDIChildFrame_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18531 | { (char *)"AuiMDIChildFrame_GetTitle", (PyCFunction)_wrap_AuiMDIChildFrame_GetTitle, METH_O, NULL}, | |
18532 | { (char *)"AuiMDIChildFrame_SetIcons", (PyCFunction) _wrap_AuiMDIChildFrame_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18533 | { (char *)"AuiMDIChildFrame_GetIcons", (PyCFunction)_wrap_AuiMDIChildFrame_GetIcons, METH_O, NULL}, | |
18534 | { (char *)"AuiMDIChildFrame_SetIcon", (PyCFunction) _wrap_AuiMDIChildFrame_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18535 | { (char *)"AuiMDIChildFrame_GetIcon", (PyCFunction)_wrap_AuiMDIChildFrame_GetIcon, METH_O, NULL}, | |
18536 | { (char *)"AuiMDIChildFrame_Activate", (PyCFunction)_wrap_AuiMDIChildFrame_Activate, METH_O, NULL}, | |
18537 | { (char *)"AuiMDIChildFrame_DoSetSizeHints", (PyCFunction) _wrap_AuiMDIChildFrame_DoSetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18538 | { (char *)"AuiMDIChildFrame_Maximize", (PyCFunction) _wrap_AuiMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18539 | { (char *)"AuiMDIChildFrame_Restore", (PyCFunction)_wrap_AuiMDIChildFrame_Restore, METH_O, NULL}, | |
18540 | { (char *)"AuiMDIChildFrame_Iconize", (PyCFunction) _wrap_AuiMDIChildFrame_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18541 | { (char *)"AuiMDIChildFrame_IsMaximized", (PyCFunction)_wrap_AuiMDIChildFrame_IsMaximized, METH_O, NULL}, | |
18542 | { (char *)"AuiMDIChildFrame_IsIconized", (PyCFunction)_wrap_AuiMDIChildFrame_IsIconized, METH_O, NULL}, | |
18543 | { (char *)"AuiMDIChildFrame_ShowFullScreen", (PyCFunction) _wrap_AuiMDIChildFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18544 | { (char *)"AuiMDIChildFrame_IsFullScreen", (PyCFunction)_wrap_AuiMDIChildFrame_IsFullScreen, METH_O, NULL}, | |
18545 | { (char *)"AuiMDIChildFrame_OnMenuHighlight", (PyCFunction) _wrap_AuiMDIChildFrame_OnMenuHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18546 | { (char *)"AuiMDIChildFrame_OnActivate", (PyCFunction) _wrap_AuiMDIChildFrame_OnActivate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18547 | { (char *)"AuiMDIChildFrame_OnCloseWindow", (PyCFunction) _wrap_AuiMDIChildFrame_OnCloseWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18548 | { (char *)"AuiMDIChildFrame_SetMDIParentFrame", (PyCFunction) _wrap_AuiMDIChildFrame_SetMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18549 | { (char *)"AuiMDIChildFrame_GetMDIParentFrame", (PyCFunction)_wrap_AuiMDIChildFrame_GetMDIParentFrame, METH_O, NULL}, | |
18550 | { (char *)"AuiMDIChildFrame_ApplyMDIChildFrameRect", (PyCFunction)_wrap_AuiMDIChildFrame_ApplyMDIChildFrameRect, METH_O, NULL}, | |
18551 | { (char *)"AuiMDIChildFrame_DoShow", (PyCFunction) _wrap_AuiMDIChildFrame_DoShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18552 | { (char *)"AuiMDIChildFrame_swigregister", AuiMDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
18553 | { (char *)"AuiMDIChildFrame_swiginit", AuiMDIChildFrame_swiginit, METH_VARARGS, NULL}, | |
18554 | { (char *)"new_PreAuiMDIClientWindow", (PyCFunction)_wrap_new_PreAuiMDIClientWindow, METH_NOARGS, NULL}, | |
18555 | { (char *)"new_AuiMDIClientWindow", (PyCFunction) _wrap_new_AuiMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18556 | { (char *)"AuiMDIClientWindow_CreateClient", (PyCFunction) _wrap_AuiMDIClientWindow_CreateClient, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18557 | { (char *)"AuiMDIClientWindow_SetSelection", (PyCFunction) _wrap_AuiMDIClientWindow_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18558 | { (char *)"AuiMDIClientWindow_swigregister", AuiMDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
18559 | { (char *)"AuiMDIClientWindow_swiginit", AuiMDIClientWindow_swiginit, METH_VARARGS, NULL}, | |
18560 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
18561 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, | |
18562 | { NULL, NULL, 0, NULL } | |
18563 | }; | |
18564 | ||
18565 | ||
18566 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
18567 | ||
18568 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { | |
18569 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
10044bf1 | 18570 | } |
34d71f81 RD |
18571 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
18572 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
10044bf1 | 18573 | } |
34d71f81 RD |
18574 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { |
18575 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
10044bf1 | 18576 | } |
34d71f81 RD |
18577 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { |
18578 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
10044bf1 | 18579 | } |
34d71f81 RD |
18580 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { |
18581 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
5eb8189c | 18582 | } |
34d71f81 RD |
18583 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { |
18584 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
10044bf1 | 18585 | } |
34d71f81 RD |
18586 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { |
18587 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
10044bf1 | 18588 | } |
34d71f81 RD |
18589 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { |
18590 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
10044bf1 | 18591 | } |
34d71f81 RD |
18592 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { |
18593 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
10044bf1 | 18594 | } |
27e45892 RD |
18595 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
18596 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18597 | } | |
18598 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18599 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18600 | } | |
18601 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18602 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18603 | } | |
18604 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18605 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
18606 | } | |
18607 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
18608 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
18609 | } | |
18610 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
18611 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
18612 | } | |
18613 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
18614 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18615 | } | |
5eb8189c RD |
18616 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
18617 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
18618 | } |
18619 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
18620 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
18621 | } | |
18622 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
18623 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
18624 | } | |
18625 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
18626 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
18627 | } | |
18628 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
18629 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18630 | } | |
34e0a3bb RD |
18631 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
18632 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18633 | } | |
27e45892 RD |
18634 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
18635 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18636 | } | |
18637 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
18638 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
18639 | } | |
10044bf1 RD |
18640 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
18641 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
18642 | } | |
27e45892 RD |
18643 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
18644 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
18645 | } | |
18646 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
18647 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18648 | } | |
18649 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
18650 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
18651 | } | |
18652 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
18653 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
18654 | } | |
18655 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
18656 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
18657 | } | |
18658 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
18659 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
18660 | } | |
18661 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
18662 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
18663 | } | |
18664 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
18665 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
18666 | } | |
18667 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
18668 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
18669 | } | |
27e45892 RD |
18670 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
18671 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
18672 | } | |
18673 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
18674 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
18675 | } | |
34e0a3bb RD |
18676 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
18677 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18678 | } | |
27e45892 RD |
18679 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
18680 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18681 | } | |
18682 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
18683 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
18684 | } | |
18685 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
18686 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
18687 | } | |
18688 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
18689 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
18690 | } | |
18691 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
18692 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18693 | } | |
18694 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
18695 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18696 | } | |
18697 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18698 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18699 | } | |
18700 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18701 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18702 | } | |
18703 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18704 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18705 | } | |
18706 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18707 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18708 | } | |
18709 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18710 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18711 | } | |
18712 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
18713 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18714 | } | |
18715 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18716 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18717 | } | |
34d71f81 RD |
18718 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { |
18719 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18720 | } | |
18721 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18722 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18723 | } | |
18724 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18725 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18726 | } | |
18727 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18728 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18729 | } | |
18730 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18731 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18732 | } | |
18733 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { | |
18734 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
18735 | } | |
18736 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
18737 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
18738 | } | |
18739 | static void *_p_wxAuiMDIClientWindowTo_p_wxControl(void *x) { | |
18740 | return (void *)((wxControl *) (wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18741 | } | |
18742 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
18743 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
18744 | } | |
18745 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { | |
18746 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
18747 | } | |
18748 | static void *_p_wxAuiMDIClientWindowTo_p_wxAuiNotebook(void *x) { | |
18749 | return (void *)((wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18750 | } | |
18751 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
18752 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18753 | } | |
18754 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
18755 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
18756 | } | |
18757 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
18758 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18759 | } | |
18760 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18761 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18762 | } | |
18763 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
18764 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18765 | } | |
18766 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18767 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18768 | } | |
18769 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18770 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18771 | } | |
18772 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18773 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18774 | } | |
18775 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18776 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18777 | } | |
18778 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
18779 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18780 | } | |
18781 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18782 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18783 | } | |
18784 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18785 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18786 | } | |
18787 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18788 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18789 | } | |
18790 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
18791 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18792 | } | |
18793 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
18794 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18795 | } | |
18796 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
18797 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18798 | } | |
18799 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18800 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18801 | } | |
18802 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18803 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18804 | } | |
18805 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18806 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18807 | } | |
18808 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18809 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18810 | } | |
18811 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18812 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18813 | } | |
18814 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18815 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18816 | } | |
18817 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18818 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18819 | } | |
18820 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18821 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18822 | } | |
18823 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18824 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
18825 | } | |
18826 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
18827 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
18828 | } | |
18829 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
18830 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
18831 | } | |
18832 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
18833 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
18834 | } | |
18835 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18836 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18837 | } | |
18838 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18839 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
18840 | } | |
18841 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
18842 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
18843 | } | |
18844 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18845 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
18846 | } | |
18847 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18848 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
18849 | } | |
18850 | static void *_p_wxAuiMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18851 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18852 | } | |
18853 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18854 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18855 | } | |
18856 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18857 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
18858 | } | |
18859 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18860 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18861 | } | |
18862 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18863 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
18864 | } | |
18865 | static void *_p_wxAuiMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18866 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
18867 | } | |
18868 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18869 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18870 | } | |
18871 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18872 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18873 | } | |
18874 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
18875 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
18876 | } | |
18877 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
18878 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
18879 | } | |
18880 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
18881 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18882 | } | |
18883 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
18884 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
18885 | } | |
18886 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
18887 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
18888 | } | |
18889 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { | |
18890 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
18891 | } | |
18892 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18893 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
18894 | } | |
18895 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18896 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
18897 | } | |
18898 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
18899 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
18900 | } | |
18901 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { | |
18902 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
18903 | } | |
18904 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
18905 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
18906 | } | |
18907 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
18908 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
18909 | } | |
18910 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
18911 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
18912 | } | |
18913 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
18914 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
18915 | } | |
18916 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
18917 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
18918 | } | |
18919 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { | |
18920 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
18921 | } | |
18922 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
18923 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
18924 | } | |
18925 | static void *_p_wxAuiMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
18926 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
18927 | } | |
18928 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { | |
18929 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
18930 | } | |
18931 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { | |
18932 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
18933 | } | |
18934 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
18935 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
18936 | } | |
18937 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
18938 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
18939 | } | |
18940 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
18941 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
18942 | } | |
18943 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
18944 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18945 | } | |
18946 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
18947 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
18948 | } | |
18949 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
18950 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
18951 | } | |
18952 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
18953 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
18954 | } | |
18955 | static void *_p_wxAuiMDIParentFrameTo_p_wxFrame(void *x) { | |
18956 | return (void *)((wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
18957 | } | |
18958 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { | |
18959 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
18960 | } | |
18961 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { | |
18962 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
27e45892 | 18963 | } |
34d71f81 RD |
18964 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
18965 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
27e45892 | 18966 | } |
34d71f81 RD |
18967 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
18968 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
27e45892 | 18969 | } |
34d71f81 RD |
18970 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
18971 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 18972 | } |
34d71f81 RD |
18973 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
18974 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
18975 | } | |
18976 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { | |
18977 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 RD |
18978 | } |
18979 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
18980 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
18981 | } | |
18982 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
18983 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18984 | } | |
18985 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
18986 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
18987 | } | |
18988 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
18989 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18990 | } | |
27e45892 RD |
18991 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
18992 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
18993 | } | |
34e0a3bb RD |
18994 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
18995 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
18996 | } | |
27e45892 RD |
18997 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
18998 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
18999 | } | |
19000 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
19001 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
19002 | } | |
19003 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
19004 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
19005 | } | |
19006 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
19007 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
19008 | } | |
19009 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
19010 | return (void *)((wxObject *) ((wxSizer *) x)); | |
19011 | } | |
19012 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
19013 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
19014 | } | |
19015 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
19016 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
19017 | } | |
19018 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
19019 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
19020 | } | |
19021 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
19022 | return (void *)((wxObject *) ((wxEvent *) x)); | |
19023 | } | |
19024 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
19025 | return (void *)((wxObject *) ((wxFontData *) x)); | |
19026 | } | |
19027 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
19028 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
19029 | } | |
19030 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
19031 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
19032 | } | |
19033 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
19034 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
19035 | } | |
19036 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
19037 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
19038 | } | |
19039 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
19040 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
19041 | } | |
19042 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
19043 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
19044 | } | |
19045 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
19046 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19047 | } | |
10044bf1 RD |
19048 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
19049 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
19050 | } | |
27e45892 RD |
19051 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
19052 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
19053 | } | |
19054 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
19055 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
19056 | } | |
19057 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
19058 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
19059 | } | |
19060 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
19061 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
19062 | } | |
19063 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
19064 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
19065 | } | |
19066 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
19067 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
19068 | } | |
19069 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
19070 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
19071 | } | |
19072 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
19073 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
19074 | } | |
19075 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
19076 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
19077 | } | |
19078 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
19079 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
19080 | } | |
19081 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
19082 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
19083 | } | |
5eb8189c RD |
19084 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
19085 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
19086 | } |
19087 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
19088 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
19089 | } | |
19090 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
19091 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
19092 | } | |
5eb8189c RD |
19093 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
19094 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19095 | } | |
27e45892 RD |
19096 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
19097 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
19098 | } | |
19099 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
19100 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
19101 | } | |
5eb8189c RD |
19102 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
19103 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 19104 | } |
34d71f81 RD |
19105 | static void *_p_wxAuiMDIChildFrameTo_p_wxObject(void *x) { |
19106 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
19107 | } | |
27e45892 RD |
19108 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
19109 | return (void *)((wxObject *) ((wxColourData *) x)); | |
19110 | } | |
19111 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
19112 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
19113 | } | |
19114 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
19115 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19116 | } | |
19117 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
19118 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
19119 | } | |
19120 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
19121 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
19122 | } | |
19123 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
19124 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
19125 | } | |
19126 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
19127 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19128 | } | |
19129 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
19130 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19131 | } | |
19132 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
19133 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
19134 | } | |
19135 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
19136 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19137 | } | |
19138 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
19139 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19140 | } | |
19141 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
19142 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
19143 | } | |
19144 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
19145 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
19146 | } | |
19147 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
19148 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
19149 | } | |
19150 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
19151 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
19152 | } | |
19153 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
19154 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
19155 | } | |
19156 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
19157 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
19158 | } | |
19159 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
19160 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
19161 | } | |
19162 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
19163 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
19164 | } | |
19165 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
19166 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
19167 | } | |
19168 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
19169 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
19170 | } | |
19171 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
19172 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
19173 | } | |
19174 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
19175 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
19176 | } | |
19177 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
19178 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
19179 | } | |
19180 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
19181 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
19182 | } | |
19183 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
19184 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
19185 | } | |
19186 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
19187 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
19188 | } | |
19189 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
19190 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
19191 | } | |
19192 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
19193 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
19194 | } | |
19195 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
19196 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
19197 | } | |
19198 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
19199 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
19200 | } | |
19201 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
19202 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
19203 | } | |
19204 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
19205 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
19206 | } | |
19207 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
19208 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
19209 | } | |
19210 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
19211 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
19212 | } | |
19213 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
19214 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
19215 | } | |
19216 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
19217 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
19218 | } | |
19219 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
19220 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
19221 | } | |
19222 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
19223 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
19224 | } | |
580080c5 RD |
19225 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
19226 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
19227 | } | |
27e45892 RD |
19228 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
19229 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
19230 | } | |
34e0a3bb RD |
19231 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
19232 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
19233 | } | |
27e45892 RD |
19234 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
19235 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
19236 | } | |
19237 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
19238 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
19239 | } | |
19240 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
19241 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
19242 | } | |
f9bf356b RD |
19243 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
19244 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19245 | } | |
27e45892 RD |
19246 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
19247 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
19248 | } | |
580080c5 RD |
19249 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
19250 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
19251 | } | |
27e45892 RD |
19252 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
19253 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
19254 | } | |
19255 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
19256 | return (void *)((wxObject *) ((wxImage *) x)); | |
19257 | } | |
19258 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
19259 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
19260 | } | |
19261 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
19262 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
19263 | } | |
19264 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
19265 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
19266 | } | |
19267 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
19268 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
19269 | } | |
27e45892 RD |
19270 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
19271 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
19272 | } | |
5eb8189c RD |
19273 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
19274 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
19275 | } |
19276 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
19277 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
19278 | } | |
10044bf1 RD |
19279 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
19280 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
19281 | } | |
34d71f81 RD |
19282 | static void *_p_wxAuiMDIParentFrameTo_p_wxObject(void *x) { |
19283 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
19284 | } | |
27e45892 RD |
19285 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
19286 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
19287 | } | |
19288 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
19289 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
19290 | } | |
19291 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
19292 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
19293 | } | |
19294 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
19295 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
19296 | } | |
19297 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
19298 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
19299 | } | |
19300 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
19301 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
19302 | } | |
19303 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
19304 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
19305 | } | |
19306 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
19307 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
19308 | } | |
19309 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
19310 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
19311 | } | |
19312 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
19313 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
19314 | } | |
19315 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
19316 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
19317 | } | |
19318 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
19319 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
19320 | } | |
19321 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
19322 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
19323 | } | |
19324 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
19325 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
19326 | } | |
19327 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
19328 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
19329 | } | |
19330 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
19331 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
19332 | } | |
19333 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
19334 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
19335 | } | |
19336 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
19337 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
19338 | } | |
34d71f81 RD |
19339 | static void *_p_wxAuiMDIClientWindowTo_p_wxObject(void *x) { |
19340 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
19341 | } | |
27e45892 RD |
19342 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
19343 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
19344 | } | |
19345 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
19346 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
19347 | } | |
19348 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
19349 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
19350 | } | |
19351 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
19352 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
19353 | } | |
19354 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
19355 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
19356 | } | |
19357 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
19358 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
19359 | } | |
19360 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
19361 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
19362 | } | |
19363 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
19364 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
19365 | } | |
19366 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
19367 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
19368 | } | |
19369 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
19370 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
19371 | } | |
19372 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
19373 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
19374 | } | |
19375 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
19376 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19377 | } | |
19378 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
19379 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
19380 | } | |
19381 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
19382 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
19383 | } | |
19384 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
19385 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
19386 | } | |
19387 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
19388 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
19389 | } | |
19390 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
19391 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
19392 | } | |
19393 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
19394 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
19395 | } | |
19396 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
19397 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
19398 | } | |
19399 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
19400 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
19401 | } | |
19402 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
19403 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
19404 | } | |
19405 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
19406 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
19407 | } | |
19408 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
19409 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
19410 | } | |
19411 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
19412 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19413 | } | |
19414 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
19415 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
19416 | } | |
19417 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
19418 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
19419 | } | |
19420 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
19421 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
19422 | } | |
19423 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
19424 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
19425 | } | |
19426 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
19427 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
19428 | } | |
34d71f81 RD |
19429 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
19430 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
27e45892 | 19431 | } |
34d71f81 RD |
19432 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { |
19433 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
27e45892 | 19434 | } |
34d71f81 RD |
19435 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { |
19436 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
27e45892 | 19437 | } |
34d71f81 RD |
19438 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { |
19439 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
27e45892 | 19440 | } |
34d71f81 RD |
19441 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { |
19442 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
27e45892 | 19443 | } |
34d71f81 RD |
19444 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { |
19445 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
27e45892 | 19446 | } |
34d71f81 RD |
19447 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { |
19448 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
19449 | } | |
19450 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
19451 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
19452 | } | |
19453 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
19454 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
19455 | } | |
19456 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
19457 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
19458 | } | |
19459 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
19460 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
19461 | } | |
19462 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
19463 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
19464 | } | |
19465 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
19466 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
19467 | } | |
19468 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
19469 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
19470 | } | |
19471 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
19472 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
19473 | } | |
19474 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
19475 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
19476 | } | |
19477 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
19478 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
19479 | } | |
19480 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
19481 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
19482 | } | |
19483 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
19484 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
19485 | } | |
19486 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
19487 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
19488 | } | |
19489 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
19490 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
19491 | } | |
19492 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
19493 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
19494 | } | |
19495 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
19496 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
19497 | } | |
19498 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
19499 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
19500 | } | |
19501 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
19502 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
19503 | } | |
19504 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
19505 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
19506 | } | |
19507 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
19508 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
19509 | } | |
19510 | static void *_p_p_wxAuiMDIClientWindowTo_p_p_wxWindow(void *x) { | |
19511 | return (void *)((wxWindow **) (wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow **) x)); | |
19512 | } | |
19513 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
19514 | return (void *)((wxWindow **) ((wxControl **) x)); | |
19515 | } | |
19516 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
19517 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
19518 | } | |
19519 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
19520 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
19521 | } | |
19522 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
19523 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
19524 | } | |
19525 | static void *_p_p_wxAuiMDIChildFrameTo_p_p_wxWindow(void *x) { | |
19526 | return (void *)((wxWindow **) (wxPanel *) ((wxAuiMDIChildFrame **) x)); | |
19527 | } | |
19528 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
19529 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
19530 | } | |
19531 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
19532 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
19533 | } | |
19534 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
19535 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
19536 | } | |
19537 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { | |
19538 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
19539 | } | |
19540 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { | |
19541 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
19542 | } | |
19543 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
19544 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
19545 | } | |
19546 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { | |
19547 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
19548 | } | |
19549 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
19550 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
19551 | } | |
19552 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
19553 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
19554 | } | |
19555 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
19556 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
19557 | } | |
19558 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
19559 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
19560 | } | |
19561 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
19562 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
19563 | } | |
19564 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
19565 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
19566 | } | |
19567 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
19568 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
19569 | } | |
19570 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
19571 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
19572 | } | |
19573 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { | |
19574 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
19575 | } | |
19576 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { | |
19577 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
19578 | } | |
19579 | static void *_p_p_wxAuiMDIParentFrameTo_p_p_wxWindow(void *x) { | |
19580 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame **) x)); | |
19581 | } | |
19582 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
19583 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
19584 | } | |
19585 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
19586 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
19587 | } | |
19588 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
19589 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
19590 | } | |
19591 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
19592 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
19593 | } | |
19594 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
19595 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
19596 | } | |
19597 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
19598 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
19599 | } | |
19600 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
19601 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
19602 | } | |
19603 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
19604 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19605 | } | |
19606 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
19607 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19608 | } | |
19609 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
19610 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
19611 | } | |
19612 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
19613 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19614 | } | |
19615 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
19616 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19617 | } | |
19618 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
19619 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
19620 | } | |
19621 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
19622 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
19623 | } | |
19624 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
19625 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
19626 | } | |
19627 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
19628 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
19629 | } | |
19630 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
19631 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
19632 | } | |
19633 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
19634 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
19635 | } | |
19636 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
19637 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
19638 | } | |
19639 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
19640 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
19641 | } | |
19642 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
19643 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
19644 | } | |
19645 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
19646 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
19647 | } | |
19648 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
19649 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
19650 | } | |
19651 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
19652 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
19653 | } | |
19654 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
19655 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
19656 | } | |
19657 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
19658 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
27e45892 | 19659 | } |
34d71f81 RD |
19660 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
19661 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27e45892 | 19662 | } |
34d71f81 RD |
19663 | static void *_p_wxAuiMDIClientWindowTo_p_wxWindow(void *x) { |
19664 | return (void *)((wxWindow *) (wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
27e45892 | 19665 | } |
34d71f81 RD |
19666 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
19667 | return (void *)((wxWindow *) ((wxControl *) x)); | |
27e45892 | 19668 | } |
34d71f81 RD |
19669 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
19670 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
27e45892 | 19671 | } |
34d71f81 RD |
19672 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
19673 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
f9bf356b | 19674 | } |
34d71f81 RD |
19675 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
19676 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
27e45892 | 19677 | } |
34d71f81 RD |
19678 | static void *_p_wxAuiMDIChildFrameTo_p_wxWindow(void *x) { |
19679 | return (void *)((wxWindow *) (wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
27e45892 | 19680 | } |
34d71f81 RD |
19681 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
19682 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
27e45892 | 19683 | } |
34d71f81 RD |
19684 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
19685 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
27e45892 | 19686 | } |
34d71f81 RD |
19687 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
19688 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27e45892 | 19689 | } |
34d71f81 RD |
19690 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
19691 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
27e45892 | 19692 | } |
34d71f81 RD |
19693 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
19694 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27e45892 | 19695 | } |
34d71f81 RD |
19696 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
19697 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27e45892 | 19698 | } |
34d71f81 RD |
19699 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
19700 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
27e45892 | 19701 | } |
34d71f81 RD |
19702 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
19703 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
27e45892 | 19704 | } |
34d71f81 RD |
19705 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
19706 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27e45892 | 19707 | } |
34d71f81 RD |
19708 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
19709 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
27e45892 | 19710 | } |
34d71f81 RD |
19711 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
19712 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
27e45892 | 19713 | } |
34d71f81 RD |
19714 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
19715 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
27e45892 | 19716 | } |
34d71f81 RD |
19717 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
19718 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
27e45892 | 19719 | } |
34d71f81 RD |
19720 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
19721 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
27e45892 | 19722 | } |
34d71f81 RD |
19723 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
19724 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
27e45892 | 19725 | } |
34d71f81 RD |
19726 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
19727 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 | 19728 | } |
34d71f81 RD |
19729 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
19730 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
27e45892 | 19731 | } |
34d71f81 RD |
19732 | static void *_p_wxAuiMDIParentFrameTo_p_wxWindow(void *x) { |
19733 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
27e45892 | 19734 | } |
34d71f81 RD |
19735 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
19736 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
27e45892 | 19737 | } |
34d71f81 RD |
19738 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
19739 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
27e45892 | 19740 | } |
34d71f81 RD |
19741 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
19742 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
27e45892 | 19743 | } |
34d71f81 RD |
19744 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
19745 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
27e45892 | 19746 | } |
34d71f81 RD |
19747 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
19748 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
27e45892 | 19749 | } |
34d71f81 RD |
19750 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
19751 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
27e45892 | 19752 | } |
34d71f81 RD |
19753 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
19754 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
27e45892 | 19755 | } |
34d71f81 RD |
19756 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
19757 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
f9bf356b | 19758 | } |
34d71f81 RD |
19759 | static void *_p_wxAuiMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
19760 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
27e45892 | 19761 | } |
34d71f81 RD |
19762 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
19763 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
27e45892 | 19764 | } |
34d71f81 RD |
19765 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
19766 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
10044bf1 | 19767 | } |
34d71f81 RD |
19768 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
19769 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
27e45892 | 19770 | } |
34d71f81 RD |
19771 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19772 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
27e45892 | 19773 | } |
34d71f81 RD |
19774 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19775 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
27e45892 | 19776 | } |
34d71f81 RD |
19777 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19778 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
10044bf1 | 19779 | } |
34d71f81 RD |
19780 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
19781 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
27e45892 | 19782 | } |
34d71f81 RD |
19783 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
19784 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
27e45892 | 19785 | } |
34d71f81 RD |
19786 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
19787 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
27e45892 | 19788 | } |
34d71f81 RD |
19789 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
19790 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
27e45892 | 19791 | } |
34d71f81 RD |
19792 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
19793 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
27e45892 | 19794 | } |
34d71f81 RD |
19795 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
19796 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
5eb8189c | 19797 | } |
34d71f81 RD |
19798 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
19799 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
27e45892 | 19800 | } |
34d71f81 RD |
19801 | static void *_p_wxAuiMDIChildFrameTo_p_wxPanel(void *x) { |
19802 | return (void *)((wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
27e45892 | 19803 | } |
34d71f81 RD |
19804 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
19805 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
10044bf1 | 19806 | } |
34d71f81 RD |
19807 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
19808 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
27e45892 | 19809 | } |
34d71f81 RD |
19810 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
19811 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27e45892 | 19812 | } |
34d71f81 RD |
19813 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
19814 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27e45892 | 19815 | } |
34d71f81 RD |
19816 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
19817 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27e45892 | 19818 | } |
34d71f81 RD |
19819 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
19820 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
27e45892 | 19821 | } |
34d71f81 RD |
19822 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
19823 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
27e45892 | 19824 | } |
34d71f81 RD |
19825 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
19826 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27e45892 | 19827 | } |
34d71f81 RD |
19828 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
19829 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
27e45892 | 19830 | } |
34d71f81 RD |
19831 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19832 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
5eb8189c | 19833 | } |
10044bf1 RD |
19834 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19835 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
19836 | } | |
19837 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
19838 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
19839 | } | |
19840 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
19841 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
19842 | } | |
19843 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
19844 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
19845 | } | |
19846 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
19847 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
19848 | } | |
19849 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
19850 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
19851 | } | |
19852 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
19853 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19854 | } | |
19855 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
19856 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19857 | } | |
19858 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
19859 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
19860 | } | |
19861 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19862 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19863 | } | |
19864 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19865 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
19866 | } | |
19867 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
19868 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19869 | } | |
19870 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
19871 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19872 | } | |
19873 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19874 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
19875 | } | |
27e45892 | 19876 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
d7645bfd | 19877 | static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; |
27e45892 | 19878 | 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 | 19879 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
19880 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
19881 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
19882 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19883 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19884 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
19885 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
19886 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19887 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19888 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
19889 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
19890 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
19891 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19892 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19893 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19894 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19895 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
19896 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
19897 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
19898 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
19899 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
19900 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
19901 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
19902 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
19903 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
19904 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
19905 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
19906 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
19907 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
19908 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
34d71f81 | 19909 | static swig_type_info _swigt__p_p_wxAuiMDIClientWindow = {"_p_p_wxAuiMDIClientWindow", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19910 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
19911 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
19912 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
19913 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
34d71f81 | 19914 | static swig_type_info _swigt__p_p_wxAuiMDIChildFrame = {"_p_p_wxAuiMDIChildFrame", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19915 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; |
19916 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
19917 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 19918 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19919 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
19920 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 19921 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19922 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
19923 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
19924 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
19925 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
19926 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
19927 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
19928 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
19929 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 19930 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 19931 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
34d71f81 | 19932 | static swig_type_info _swigt__p_p_wxAuiMDIParentFrame = {"_p_p_wxAuiMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
19933 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
19934 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
19935 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
34d71f81 | 19936 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
19937 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
19938 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
19939 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
19940 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
19941 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
19942 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
34d71f81 RD |
19943 | static swig_type_info _swigt__p_wxAuiMDIChildFrame = {"_p_wxAuiMDIChildFrame", "wxAuiMDIChildFrame *", 0, 0, (void*)0, 0}; |
19944 | static swig_type_info _swigt__p_wxAuiMDIClientWindow = {"_p_wxAuiMDIClientWindow", "wxAuiMDIClientWindow *", 0, 0, (void*)0, 0}; | |
19945 | static swig_type_info _swigt__p_wxAuiMDIParentFrame = {"_p_wxAuiMDIParentFrame", "wxAuiMDIParentFrame *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
19946 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; |
19947 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
19948 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
19949 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
19950 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
19951 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
19952 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
19953 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
19954 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
19955 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 19956 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 19957 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
19958 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
19959 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
19960 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
19961 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
34d71f81 | 19962 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0}; |
27e45892 | 19963 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
19964 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
19965 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
19966 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
19967 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
19968 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
19969 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
19970 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
19971 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
19972 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
19973 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
19974 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
19975 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
19976 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
19977 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
19978 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 19979 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
19980 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
19981 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
19982 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; |
19983 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
19984 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 19985 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 19986 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
34e0a3bb | 19987 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
19988 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
19989 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
19990 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
19991 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
19992 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
19993 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; |
19994 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
19995 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
19996 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
19997 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
19998 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
19999 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
20000 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
20001 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
20002 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20003 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
20004 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20005 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
20006 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
20007 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
20008 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
20009 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
20010 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
27e45892 | 20011 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; |
27e45892 RD |
20012 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; |
20013 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
20014 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 20015 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
20016 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
20017 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
20018 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
20019 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20020 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
20021 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
f9bf356b | 20022 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20023 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; |
27e45892 RD |
20024 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; |
20025 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
34d71f81 RD |
20026 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; |
20027 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
20028 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20029 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; |
20030 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
20031 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
20032 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
20033 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
20034 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
27e45892 | 20035 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
34d71f81 | 20036 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20037 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
20038 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 | 20039 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; |
34d71f81 | 20040 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
f9bf356b | 20041 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
20042 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
20043 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
27e45892 | 20044 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; |
34d71f81 | 20045 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
27e45892 | 20046 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; |
27e45892 | 20047 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; |
34d71f81 RD |
20048 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; |
20049 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
20050 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 20051 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20052 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
20053 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
34d71f81 RD |
20054 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; |
20055 | static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; | |
20056 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; | |
20057 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0}; | |
20058 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0}; | |
fc46b7f3 | 20059 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 20060 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20061 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
20062 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
20063 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
20064 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
20065 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
20066 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
20067 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
20068 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
20069 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
20070 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
20071 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
20072 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
20073 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
20074 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
20075 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
20076 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
20077 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
20078 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20079 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; |
20080 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; | |
20081 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
20082 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
34d71f81 | 20083 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
5eb8189c | 20084 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20085 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
20086 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20087 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
20088 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
20089 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
20090 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
20091 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 20092 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
20093 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
20094 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
20095 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
20096 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
20097 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
20098 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
20099 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
20100 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
20101 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
20102 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
20103 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
34d71f81 | 20104 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20105 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
20106 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20107 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
20108 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
20109 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
20110 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
20111 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
20112 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
20113 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
20114 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
20115 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
20116 | ||
20117 | static swig_type_info *swig_type_initial[] = { | |
20118 | &_swigt__p_char, | |
d7645bfd | 20119 | &_swigt__p_double, |
27e45892 RD |
20120 | &_swigt__p_form_ops_t, |
20121 | &_swigt__p_int, | |
5eb8189c | 20122 | &_swigt__p_p_wxAuiFloatingFrame, |
34d71f81 RD |
20123 | &_swigt__p_p_wxAuiMDIChildFrame, |
20124 | &_swigt__p_p_wxAuiMDIClientWindow, | |
20125 | &_swigt__p_p_wxAuiMDIParentFrame, | |
5eb8189c | 20126 | &_swigt__p_p_wxAuiNotebook, |
10044bf1 RD |
20127 | &_swigt__p_p_wxAuiTabContainerButton, |
20128 | &_swigt__p_p_wxAuiTabCtrl, | |
20129 | &_swigt__p_p_wxColourDialog, | |
20130 | &_swigt__p_p_wxControl, | |
20131 | &_swigt__p_p_wxControlWithItems, | |
20132 | &_swigt__p_p_wxDialog, | |
20133 | &_swigt__p_p_wxDirDialog, | |
20134 | &_swigt__p_p_wxFileDialog, | |
20135 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
20136 | &_swigt__p_p_wxFontDialog, |
20137 | &_swigt__p_p_wxFrame, | |
20138 | &_swigt__p_p_wxMDIChildFrame, | |
20139 | &_swigt__p_p_wxMDIClientWindow, | |
20140 | &_swigt__p_p_wxMDIParentFrame, | |
20141 | &_swigt__p_p_wxMenuBar, | |
20142 | &_swigt__p_p_wxMessageDialog, | |
20143 | &_swigt__p_p_wxMiniFrame, | |
20144 | &_swigt__p_p_wxMultiChoiceDialog, | |
20145 | &_swigt__p_p_wxNumberEntryDialog, | |
20146 | &_swigt__p_p_wxPanel, | |
20147 | &_swigt__p_p_wxPasswordEntryDialog, | |
20148 | &_swigt__p_p_wxPopupWindow, | |
20149 | &_swigt__p_p_wxPreviewCanvas, | |
20150 | &_swigt__p_p_wxPreviewControlBar, | |
20151 | &_swigt__p_p_wxPreviewFrame, | |
20152 | &_swigt__p_p_wxProgressDialog, | |
20153 | &_swigt__p_p_wxPyHtmlListBox, | |
20154 | &_swigt__p_p_wxPyPanel, | |
20155 | &_swigt__p_p_wxPyPopupTransientWindow, | |
20156 | &_swigt__p_p_wxPyPreviewControlBar, | |
20157 | &_swigt__p_p_wxPyPreviewFrame, | |
20158 | &_swigt__p_p_wxPyScrolledWindow, | |
20159 | &_swigt__p_p_wxPyVListBox, | |
20160 | &_swigt__p_p_wxPyVScrolledWindow, | |
20161 | &_swigt__p_p_wxPyWindow, | |
20162 | &_swigt__p_p_wxSashLayoutWindow, | |
20163 | &_swigt__p_p_wxSashWindow, | |
20164 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 20165 | &_swigt__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
20166 | &_swigt__p_p_wxSingleChoiceDialog, |
20167 | &_swigt__p_p_wxSplashScreen, | |
20168 | &_swigt__p_p_wxSplashScreenWindow, | |
20169 | &_swigt__p_p_wxSplitterWindow, | |
20170 | &_swigt__p_p_wxStatusBar, | |
20171 | &_swigt__p_p_wxTextEntryDialog, | |
20172 | &_swigt__p_p_wxTipWindow, | |
20173 | &_swigt__p_p_wxTopLevelWindow, | |
20174 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
20175 | &_swigt__p_unsigned_char, |
20176 | &_swigt__p_unsigned_int, | |
20177 | &_swigt__p_unsigned_long, | |
20178 | &_swigt__p_wxANIHandler, | |
20179 | &_swigt__p_wxAcceleratorTable, | |
20180 | &_swigt__p_wxActivateEvent, | |
5eb8189c RD |
20181 | &_swigt__p_wxAuiDefaultDockArt, |
20182 | &_swigt__p_wxAuiDefaultTabArt, | |
20183 | &_swigt__p_wxAuiDockArt, | |
20184 | &_swigt__p_wxAuiDockInfo, | |
20185 | &_swigt__p_wxAuiDockUIPart, | |
20186 | &_swigt__p_wxAuiFloatingFrame, | |
34d71f81 RD |
20187 | &_swigt__p_wxAuiMDIChildFrame, |
20188 | &_swigt__p_wxAuiMDIClientWindow, | |
20189 | &_swigt__p_wxAuiMDIParentFrame, | |
5eb8189c RD |
20190 | &_swigt__p_wxAuiManager, |
20191 | &_swigt__p_wxAuiManagerEvent, | |
20192 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
20193 | &_swigt__p_wxAuiNotebookEvent, |
20194 | &_swigt__p_wxAuiNotebookPage, | |
20195 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
20196 | &_swigt__p_wxAuiPaneButton, |
20197 | &_swigt__p_wxAuiPaneButtonArray, | |
20198 | &_swigt__p_wxAuiPaneInfo, | |
20199 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 20200 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 20201 | &_swigt__p_wxAuiTabArt, |
10044bf1 RD |
20202 | &_swigt__p_wxAuiTabContainer, |
20203 | &_swigt__p_wxAuiTabContainerButton, | |
20204 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 20205 | &_swigt__p_wxBMPHandler, |
10044bf1 | 20206 | &_swigt__p_wxBitmap, |
27e45892 RD |
20207 | &_swigt__p_wxBoxSizer, |
20208 | &_swigt__p_wxCURHandler, | |
20209 | &_swigt__p_wxCalculateLayoutEvent, | |
20210 | &_swigt__p_wxChildFocusEvent, | |
20211 | &_swigt__p_wxClipboardTextEvent, | |
20212 | &_swigt__p_wxCloseEvent, | |
27e45892 RD |
20213 | &_swigt__p_wxColour, |
20214 | &_swigt__p_wxColourData, | |
20215 | &_swigt__p_wxColourDialog, | |
20216 | &_swigt__p_wxCommandEvent, | |
20217 | &_swigt__p_wxContextMenuEvent, | |
20218 | &_swigt__p_wxControl, | |
20219 | &_swigt__p_wxControlWithItems, | |
20220 | &_swigt__p_wxDC, | |
20221 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
20222 | &_swigt__p_wxDialog, |
20223 | &_swigt__p_wxDirDialog, | |
20224 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
20225 | &_swigt__p_wxDropFilesEvent, |
20226 | &_swigt__p_wxDuplexMode, | |
20227 | &_swigt__p_wxEraseEvent, | |
20228 | &_swigt__p_wxEvent, | |
20229 | &_swigt__p_wxEvtHandler, | |
20230 | &_swigt__p_wxFSFile, | |
20231 | &_swigt__p_wxFileDialog, | |
20232 | &_swigt__p_wxFileSystem, | |
20233 | &_swigt__p_wxFindDialogEvent, | |
20234 | &_swigt__p_wxFindReplaceData, | |
20235 | &_swigt__p_wxFindReplaceDialog, | |
20236 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
20237 | &_swigt__p_wxFocusEvent, |
20238 | &_swigt__p_wxFont, | |
20239 | &_swigt__p_wxFontData, | |
20240 | &_swigt__p_wxFontDialog, | |
20241 | &_swigt__p_wxFrame, | |
27e45892 RD |
20242 | &_swigt__p_wxGBSizerItem, |
20243 | &_swigt__p_wxGIFHandler, | |
20244 | &_swigt__p_wxGridBagSizer, | |
20245 | &_swigt__p_wxGridSizer, | |
20246 | &_swigt__p_wxICOHandler, | |
34d71f81 RD |
20247 | &_swigt__p_wxIcon, |
20248 | &_swigt__p_wxIconBundle, | |
27e45892 RD |
20249 | &_swigt__p_wxIconizeEvent, |
20250 | &_swigt__p_wxIdleEvent, | |
20251 | &_swigt__p_wxImage, | |
20252 | &_swigt__p_wxImageHandler, | |
20253 | &_swigt__p_wxIndividualLayoutConstraint, | |
20254 | &_swigt__p_wxInitDialogEvent, | |
20255 | &_swigt__p_wxJPEGHandler, | |
20256 | &_swigt__p_wxKeyEvent, | |
20257 | &_swigt__p_wxLayoutAlgorithm, | |
20258 | &_swigt__p_wxLayoutConstraints, | |
20259 | &_swigt__p_wxMDIChildFrame, | |
20260 | &_swigt__p_wxMDIClientWindow, | |
20261 | &_swigt__p_wxMDIParentFrame, | |
20262 | &_swigt__p_wxMaximizeEvent, | |
20263 | &_swigt__p_wxMenu, | |
20264 | &_swigt__p_wxMenuBar, | |
20265 | &_swigt__p_wxMenuEvent, | |
20266 | &_swigt__p_wxMenuItem, | |
20267 | &_swigt__p_wxMessageDialog, | |
20268 | &_swigt__p_wxMiniFrame, | |
20269 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 20270 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
20271 | &_swigt__p_wxMouseEvent, |
20272 | &_swigt__p_wxMoveEvent, | |
20273 | &_swigt__p_wxMultiChoiceDialog, | |
20274 | &_swigt__p_wxNavigationKeyEvent, | |
20275 | &_swigt__p_wxNcPaintEvent, | |
20276 | &_swigt__p_wxNotifyEvent, | |
20277 | &_swigt__p_wxNumberEntryDialog, | |
20278 | &_swigt__p_wxObject, | |
20279 | &_swigt__p_wxPCXHandler, | |
20280 | &_swigt__p_wxPNGHandler, | |
20281 | &_swigt__p_wxPNMHandler, | |
20282 | &_swigt__p_wxPageSetupDialog, | |
20283 | &_swigt__p_wxPageSetupDialogData, | |
20284 | &_swigt__p_wxPaintEvent, | |
20285 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
20286 | &_swigt__p_wxPanel, |
20287 | &_swigt__p_wxPaperSize, | |
20288 | &_swigt__p_wxPasswordEntryDialog, | |
20289 | &_swigt__p_wxPoint, | |
20290 | &_swigt__p_wxPopupWindow, | |
20291 | &_swigt__p_wxPreviewCanvas, | |
20292 | &_swigt__p_wxPreviewControlBar, | |
20293 | &_swigt__p_wxPreviewFrame, | |
20294 | &_swigt__p_wxPrintData, | |
20295 | &_swigt__p_wxPrintDialog, | |
20296 | &_swigt__p_wxPrintDialogData, | |
20297 | &_swigt__p_wxPrintPreview, | |
20298 | &_swigt__p_wxPrinter, | |
20299 | &_swigt__p_wxProgressDialog, | |
20300 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
20301 | &_swigt__p_wxPyAuiDockArt, |
20302 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 20303 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
20304 | &_swigt__p_wxPyEvent, |
20305 | &_swigt__p_wxPyHtmlListBox, | |
20306 | &_swigt__p_wxPyImageHandler, | |
20307 | &_swigt__p_wxPyPanel, | |
20308 | &_swigt__p_wxPyPopupTransientWindow, | |
20309 | &_swigt__p_wxPyPreviewControlBar, | |
20310 | &_swigt__p_wxPyPreviewFrame, | |
20311 | &_swigt__p_wxPyPrintPreview, | |
20312 | &_swigt__p_wxPyPrintout, | |
20313 | &_swigt__p_wxPyScrolledWindow, | |
20314 | &_swigt__p_wxPySizer, | |
20315 | &_swigt__p_wxPyTaskBarIcon, | |
20316 | &_swigt__p_wxPyVListBox, | |
20317 | &_swigt__p_wxPyVScrolledWindow, | |
20318 | &_swigt__p_wxPyValidator, | |
20319 | &_swigt__p_wxPyWindow, | |
20320 | &_swigt__p_wxQueryLayoutInfoEvent, | |
20321 | &_swigt__p_wxQueryNewPaletteEvent, | |
20322 | &_swigt__p_wxRect, | |
20323 | &_swigt__p_wxSashEvent, | |
20324 | &_swigt__p_wxSashLayoutWindow, | |
20325 | &_swigt__p_wxSashWindow, | |
20326 | &_swigt__p_wxScrollEvent, | |
20327 | &_swigt__p_wxScrollWinEvent, | |
20328 | &_swigt__p_wxScrolledWindow, | |
20329 | &_swigt__p_wxSetCursorEvent, | |
20330 | &_swigt__p_wxShowEvent, | |
f9bf356b | 20331 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
20332 | &_swigt__p_wxSingleChoiceDialog, |
20333 | &_swigt__p_wxSize, | |
20334 | &_swigt__p_wxSizeEvent, | |
20335 | &_swigt__p_wxSizer, | |
20336 | &_swigt__p_wxSizerItem, | |
20337 | &_swigt__p_wxSplashScreen, | |
20338 | &_swigt__p_wxSplashScreenWindow, | |
20339 | &_swigt__p_wxSplitterEvent, | |
20340 | &_swigt__p_wxSplitterWindow, | |
20341 | &_swigt__p_wxStaticBoxSizer, | |
20342 | &_swigt__p_wxStatusBar, | |
20343 | &_swigt__p_wxStdDialogButtonSizer, | |
20344 | &_swigt__p_wxString, | |
20345 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 20346 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
20347 | &_swigt__p_wxTIFFHandler, |
20348 | &_swigt__p_wxTaskBarIconEvent, | |
20349 | &_swigt__p_wxTextEntryDialog, | |
20350 | &_swigt__p_wxTipWindow, | |
20351 | &_swigt__p_wxTopLevelWindow, | |
20352 | &_swigt__p_wxUpdateUIEvent, | |
20353 | &_swigt__p_wxValidator, | |
20354 | &_swigt__p_wxWindow, | |
20355 | &_swigt__p_wxWindowCreateEvent, | |
20356 | &_swigt__p_wxWindowDestroyEvent, | |
20357 | &_swigt__p_wxXPMHandler, | |
20358 | }; | |
20359 | ||
20360 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
d7645bfd | 20361 | static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20362 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
20363 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
20364 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
20365 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
20366 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20367 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
20368 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20369 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20370 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20371 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20372 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20373 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20374 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20375 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20376 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20377 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20378 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
20379 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20380 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20381 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20382 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20383 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20384 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20385 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20386 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20387 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20388 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20389 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20390 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20391 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20392 | static swig_cast_info _swigc__p_p_wxAuiMDIClientWindow[] = {{&_swigt__p_p_wxAuiMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20393 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20394 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20395 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
20396 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20397 | static swig_cast_info _swigc__p_p_wxAuiMDIChildFrame[] = {{&_swigt__p_p_wxAuiMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20398 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; |
20399 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20400 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20401 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20402 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
20403 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20404 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20405 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
20406 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20407 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
20408 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20409 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20410 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20411 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20412 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20413 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 20414 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20415 | static swig_cast_info _swigc__p_p_wxAuiMDIParentFrame[] = {{&_swigt__p_p_wxAuiMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20416 | 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_wxAuiMDIClientWindow, _p_p_wxAuiMDIClientWindowTo_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_wxAuiMDIChildFrame, _p_p_wxAuiMDIChildFrameTo_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}, {&_swigt__p_p_wxAuiMDIParentFrame, _p_p_wxAuiMDIParentFrameTo_p_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20417 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
20418 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
20419 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20420 | static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
20421 | 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}}; |
20422 | 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}}; | |
20423 | 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}}; | |
20424 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
20425 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
20426 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20427 | static swig_cast_info _swigc__p_wxAuiMDIChildFrame[] = { {&_swigt__p_wxAuiMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20428 | static swig_cast_info _swigc__p_wxAuiMDIClientWindow[] = { {&_swigt__p_wxAuiMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20429 | static swig_cast_info _swigc__p_wxAuiMDIParentFrame[] = { {&_swigt__p_wxAuiMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20430 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; |
20431 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20432 | static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiMDIClientWindow, _p_wxAuiMDIClientWindowTo_p_wxAuiNotebook, 0, 0}, {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20433 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20434 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
20435 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20436 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
20437 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
20438 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
20439 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
20440 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
20441 | static swig_cast_info _swigc__p_wxAuiTabArt[] = { {&_swigt__p_wxAuiDefaultTabArt, _p_wxAuiDefaultTabArtTo_p_wxAuiTabArt, 0, 0}, {&_swigt__p_wxAuiTabArt, 0, 0, 0}, {&_swigt__p_wxPyAuiTabArt, _p_wxPyAuiTabArtTo_p_wxAuiTabArt, 0, 0}, {&_swigt__p_wxAuiSimpleTabArt, _p_wxAuiSimpleTabArtTo_p_wxAuiTabArt, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
20442 | 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}}; |
20443 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
20444 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
20445 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20446 | static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20447 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20448 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20449 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20450 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20451 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20452 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20453 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20454 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20455 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20456 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20457 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20458 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20459 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20460 | 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}}; | |
20461 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20462 | static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiMDIClientWindow, _p_wxAuiMDIClientWindowTo_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 | 20463 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20464 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20465 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20466 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20467 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20468 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20469 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 20470 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20471 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20472 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20473 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20474 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20475 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20476 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20477 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20478 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20479 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20480 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20481 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20482 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20483 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20484 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20485 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20486 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20487 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20488 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20489 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20490 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20491 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20492 | 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 | 20493 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20494 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20495 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; |
20496 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
20497 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20498 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20499 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20500 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20501 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20502 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20503 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20504 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20505 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20506 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20507 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20508 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20509 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20510 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20511 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20512 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20513 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20514 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20515 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20516 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20517 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20518 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20519 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20520 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20521 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20522 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20523 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 20524 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20525 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
20526 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20527 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20528 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20529 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20530 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20531 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20532 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20533 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20534 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20535 | 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiMDIClientWindow, _p_wxAuiMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_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_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiMDIChildFrame, _p_wxAuiMDIChildFrameTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_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_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_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_wxAuiMDIParentFrame, _p_wxAuiMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiManager, _p_wxAuiManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20536 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20537 | static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxAuiMDIParentFrame, _p_wxAuiMDIParentFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}}; |
20538 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
20539 | static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; | |
20540 | static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
20541 | static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20542 | static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20543 | static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxMiniFrame, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 20544 | 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 |
20545 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
20546 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
20547 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
20548 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20549 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20550 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20551 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
20552 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
20553 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20554 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20555 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
20556 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
20557 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
20558 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20559 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
20560 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
20561 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20562 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20563 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20564 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20565 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20566 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c | 20567 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20568 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20569 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20570 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20571 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20572 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20573 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20574 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 20575 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20576 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
20577 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
20578 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
20579 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
20580 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
20581 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
20582 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20583 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20584 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
20585 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
20586 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20587 | 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_wxAuiMDIChildFrame, _p_wxAuiMDIChildFrameTo_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_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_wxPNGHandler, _p_wxPNGHandlerTo_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_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_wxAuiMDIParentFrame, _p_wxAuiMDIParentFrameTo_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_wxAuiMDIClientWindow, _p_wxAuiMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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}}; |
20588 | static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxAuiMDIChildFrame, _p_wxAuiMDIChildFrameTo_p_wxPanel, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20589 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
20590 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20591 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
20592 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20593 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
20594 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
20595 | 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}}; | |
20596 | 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}}; | |
20597 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20598 | 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_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxAuiMDIParentFrame, _p_wxAuiMDIParentFrameTo_p_wxTopLevelWindow, 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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; |
20599 | 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_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_wxAuiMDIClientWindow, _p_wxAuiMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_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_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiMDIChildFrame, _p_wxAuiMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiMDIParentFrame, _p_wxAuiMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20600 | |
20601 | static swig_cast_info *swig_cast_initial[] = { | |
20602 | _swigc__p_char, | |
d7645bfd | 20603 | _swigc__p_double, |
27e45892 RD |
20604 | _swigc__p_form_ops_t, |
20605 | _swigc__p_int, | |
5eb8189c | 20606 | _swigc__p_p_wxAuiFloatingFrame, |
34d71f81 RD |
20607 | _swigc__p_p_wxAuiMDIChildFrame, |
20608 | _swigc__p_p_wxAuiMDIClientWindow, | |
20609 | _swigc__p_p_wxAuiMDIParentFrame, | |
5eb8189c | 20610 | _swigc__p_p_wxAuiNotebook, |
10044bf1 RD |
20611 | _swigc__p_p_wxAuiTabContainerButton, |
20612 | _swigc__p_p_wxAuiTabCtrl, | |
20613 | _swigc__p_p_wxColourDialog, | |
20614 | _swigc__p_p_wxControl, | |
20615 | _swigc__p_p_wxControlWithItems, | |
20616 | _swigc__p_p_wxDialog, | |
20617 | _swigc__p_p_wxDirDialog, | |
20618 | _swigc__p_p_wxFileDialog, | |
20619 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
20620 | _swigc__p_p_wxFontDialog, |
20621 | _swigc__p_p_wxFrame, | |
20622 | _swigc__p_p_wxMDIChildFrame, | |
20623 | _swigc__p_p_wxMDIClientWindow, | |
20624 | _swigc__p_p_wxMDIParentFrame, | |
20625 | _swigc__p_p_wxMenuBar, | |
20626 | _swigc__p_p_wxMessageDialog, | |
20627 | _swigc__p_p_wxMiniFrame, | |
20628 | _swigc__p_p_wxMultiChoiceDialog, | |
20629 | _swigc__p_p_wxNumberEntryDialog, | |
20630 | _swigc__p_p_wxPanel, | |
20631 | _swigc__p_p_wxPasswordEntryDialog, | |
20632 | _swigc__p_p_wxPopupWindow, | |
20633 | _swigc__p_p_wxPreviewCanvas, | |
20634 | _swigc__p_p_wxPreviewControlBar, | |
20635 | _swigc__p_p_wxPreviewFrame, | |
20636 | _swigc__p_p_wxProgressDialog, | |
20637 | _swigc__p_p_wxPyHtmlListBox, | |
20638 | _swigc__p_p_wxPyPanel, | |
20639 | _swigc__p_p_wxPyPopupTransientWindow, | |
20640 | _swigc__p_p_wxPyPreviewControlBar, | |
20641 | _swigc__p_p_wxPyPreviewFrame, | |
20642 | _swigc__p_p_wxPyScrolledWindow, | |
20643 | _swigc__p_p_wxPyVListBox, | |
20644 | _swigc__p_p_wxPyVScrolledWindow, | |
20645 | _swigc__p_p_wxPyWindow, | |
20646 | _swigc__p_p_wxSashLayoutWindow, | |
20647 | _swigc__p_p_wxSashWindow, | |
20648 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 20649 | _swigc__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
20650 | _swigc__p_p_wxSingleChoiceDialog, |
20651 | _swigc__p_p_wxSplashScreen, | |
20652 | _swigc__p_p_wxSplashScreenWindow, | |
20653 | _swigc__p_p_wxSplitterWindow, | |
20654 | _swigc__p_p_wxStatusBar, | |
20655 | _swigc__p_p_wxTextEntryDialog, | |
20656 | _swigc__p_p_wxTipWindow, | |
20657 | _swigc__p_p_wxTopLevelWindow, | |
20658 | _swigc__p_p_wxWindow, | |
27e45892 RD |
20659 | _swigc__p_unsigned_char, |
20660 | _swigc__p_unsigned_int, | |
20661 | _swigc__p_unsigned_long, | |
20662 | _swigc__p_wxANIHandler, | |
20663 | _swigc__p_wxAcceleratorTable, | |
20664 | _swigc__p_wxActivateEvent, | |
5eb8189c RD |
20665 | _swigc__p_wxAuiDefaultDockArt, |
20666 | _swigc__p_wxAuiDefaultTabArt, | |
20667 | _swigc__p_wxAuiDockArt, | |
20668 | _swigc__p_wxAuiDockInfo, | |
20669 | _swigc__p_wxAuiDockUIPart, | |
20670 | _swigc__p_wxAuiFloatingFrame, | |
34d71f81 RD |
20671 | _swigc__p_wxAuiMDIChildFrame, |
20672 | _swigc__p_wxAuiMDIClientWindow, | |
20673 | _swigc__p_wxAuiMDIParentFrame, | |
5eb8189c RD |
20674 | _swigc__p_wxAuiManager, |
20675 | _swigc__p_wxAuiManagerEvent, | |
20676 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
20677 | _swigc__p_wxAuiNotebookEvent, |
20678 | _swigc__p_wxAuiNotebookPage, | |
20679 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
20680 | _swigc__p_wxAuiPaneButton, |
20681 | _swigc__p_wxAuiPaneButtonArray, | |
20682 | _swigc__p_wxAuiPaneInfo, | |
20683 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 20684 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 20685 | _swigc__p_wxAuiTabArt, |
10044bf1 RD |
20686 | _swigc__p_wxAuiTabContainer, |
20687 | _swigc__p_wxAuiTabContainerButton, | |
20688 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 20689 | _swigc__p_wxBMPHandler, |
10044bf1 | 20690 | _swigc__p_wxBitmap, |
27e45892 RD |
20691 | _swigc__p_wxBoxSizer, |
20692 | _swigc__p_wxCURHandler, | |
20693 | _swigc__p_wxCalculateLayoutEvent, | |
20694 | _swigc__p_wxChildFocusEvent, | |
20695 | _swigc__p_wxClipboardTextEvent, | |
20696 | _swigc__p_wxCloseEvent, | |
27e45892 RD |
20697 | _swigc__p_wxColour, |
20698 | _swigc__p_wxColourData, | |
20699 | _swigc__p_wxColourDialog, | |
20700 | _swigc__p_wxCommandEvent, | |
20701 | _swigc__p_wxContextMenuEvent, | |
20702 | _swigc__p_wxControl, | |
20703 | _swigc__p_wxControlWithItems, | |
20704 | _swigc__p_wxDC, | |
20705 | _swigc__p_wxDateEvent, | |
27e45892 RD |
20706 | _swigc__p_wxDialog, |
20707 | _swigc__p_wxDirDialog, | |
20708 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
20709 | _swigc__p_wxDropFilesEvent, |
20710 | _swigc__p_wxDuplexMode, | |
20711 | _swigc__p_wxEraseEvent, | |
20712 | _swigc__p_wxEvent, | |
20713 | _swigc__p_wxEvtHandler, | |
20714 | _swigc__p_wxFSFile, | |
20715 | _swigc__p_wxFileDialog, | |
20716 | _swigc__p_wxFileSystem, | |
20717 | _swigc__p_wxFindDialogEvent, | |
20718 | _swigc__p_wxFindReplaceData, | |
20719 | _swigc__p_wxFindReplaceDialog, | |
20720 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
20721 | _swigc__p_wxFocusEvent, |
20722 | _swigc__p_wxFont, | |
20723 | _swigc__p_wxFontData, | |
20724 | _swigc__p_wxFontDialog, | |
20725 | _swigc__p_wxFrame, | |
27e45892 RD |
20726 | _swigc__p_wxGBSizerItem, |
20727 | _swigc__p_wxGIFHandler, | |
20728 | _swigc__p_wxGridBagSizer, | |
20729 | _swigc__p_wxGridSizer, | |
20730 | _swigc__p_wxICOHandler, | |
34d71f81 RD |
20731 | _swigc__p_wxIcon, |
20732 | _swigc__p_wxIconBundle, | |
27e45892 RD |
20733 | _swigc__p_wxIconizeEvent, |
20734 | _swigc__p_wxIdleEvent, | |
20735 | _swigc__p_wxImage, | |
20736 | _swigc__p_wxImageHandler, | |
20737 | _swigc__p_wxIndividualLayoutConstraint, | |
20738 | _swigc__p_wxInitDialogEvent, | |
20739 | _swigc__p_wxJPEGHandler, | |
20740 | _swigc__p_wxKeyEvent, | |
20741 | _swigc__p_wxLayoutAlgorithm, | |
20742 | _swigc__p_wxLayoutConstraints, | |
20743 | _swigc__p_wxMDIChildFrame, | |
20744 | _swigc__p_wxMDIClientWindow, | |
20745 | _swigc__p_wxMDIParentFrame, | |
20746 | _swigc__p_wxMaximizeEvent, | |
20747 | _swigc__p_wxMenu, | |
20748 | _swigc__p_wxMenuBar, | |
20749 | _swigc__p_wxMenuEvent, | |
20750 | _swigc__p_wxMenuItem, | |
20751 | _swigc__p_wxMessageDialog, | |
20752 | _swigc__p_wxMiniFrame, | |
20753 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 20754 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
20755 | _swigc__p_wxMouseEvent, |
20756 | _swigc__p_wxMoveEvent, | |
20757 | _swigc__p_wxMultiChoiceDialog, | |
20758 | _swigc__p_wxNavigationKeyEvent, | |
20759 | _swigc__p_wxNcPaintEvent, | |
20760 | _swigc__p_wxNotifyEvent, | |
20761 | _swigc__p_wxNumberEntryDialog, | |
20762 | _swigc__p_wxObject, | |
20763 | _swigc__p_wxPCXHandler, | |
20764 | _swigc__p_wxPNGHandler, | |
20765 | _swigc__p_wxPNMHandler, | |
20766 | _swigc__p_wxPageSetupDialog, | |
20767 | _swigc__p_wxPageSetupDialogData, | |
20768 | _swigc__p_wxPaintEvent, | |
20769 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
20770 | _swigc__p_wxPanel, |
20771 | _swigc__p_wxPaperSize, | |
20772 | _swigc__p_wxPasswordEntryDialog, | |
20773 | _swigc__p_wxPoint, | |
20774 | _swigc__p_wxPopupWindow, | |
20775 | _swigc__p_wxPreviewCanvas, | |
20776 | _swigc__p_wxPreviewControlBar, | |
20777 | _swigc__p_wxPreviewFrame, | |
20778 | _swigc__p_wxPrintData, | |
20779 | _swigc__p_wxPrintDialog, | |
20780 | _swigc__p_wxPrintDialogData, | |
20781 | _swigc__p_wxPrintPreview, | |
20782 | _swigc__p_wxPrinter, | |
20783 | _swigc__p_wxProgressDialog, | |
20784 | _swigc__p_wxPyApp, | |
5eb8189c RD |
20785 | _swigc__p_wxPyAuiDockArt, |
20786 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 20787 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
20788 | _swigc__p_wxPyEvent, |
20789 | _swigc__p_wxPyHtmlListBox, | |
20790 | _swigc__p_wxPyImageHandler, | |
20791 | _swigc__p_wxPyPanel, | |
20792 | _swigc__p_wxPyPopupTransientWindow, | |
20793 | _swigc__p_wxPyPreviewControlBar, | |
20794 | _swigc__p_wxPyPreviewFrame, | |
20795 | _swigc__p_wxPyPrintPreview, | |
20796 | _swigc__p_wxPyPrintout, | |
20797 | _swigc__p_wxPyScrolledWindow, | |
20798 | _swigc__p_wxPySizer, | |
20799 | _swigc__p_wxPyTaskBarIcon, | |
20800 | _swigc__p_wxPyVListBox, | |
20801 | _swigc__p_wxPyVScrolledWindow, | |
20802 | _swigc__p_wxPyValidator, | |
20803 | _swigc__p_wxPyWindow, | |
20804 | _swigc__p_wxQueryLayoutInfoEvent, | |
20805 | _swigc__p_wxQueryNewPaletteEvent, | |
20806 | _swigc__p_wxRect, | |
20807 | _swigc__p_wxSashEvent, | |
20808 | _swigc__p_wxSashLayoutWindow, | |
20809 | _swigc__p_wxSashWindow, | |
20810 | _swigc__p_wxScrollEvent, | |
20811 | _swigc__p_wxScrollWinEvent, | |
20812 | _swigc__p_wxScrolledWindow, | |
20813 | _swigc__p_wxSetCursorEvent, | |
20814 | _swigc__p_wxShowEvent, | |
f9bf356b | 20815 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
20816 | _swigc__p_wxSingleChoiceDialog, |
20817 | _swigc__p_wxSize, | |
20818 | _swigc__p_wxSizeEvent, | |
20819 | _swigc__p_wxSizer, | |
20820 | _swigc__p_wxSizerItem, | |
20821 | _swigc__p_wxSplashScreen, | |
20822 | _swigc__p_wxSplashScreenWindow, | |
20823 | _swigc__p_wxSplitterEvent, | |
20824 | _swigc__p_wxSplitterWindow, | |
20825 | _swigc__p_wxStaticBoxSizer, | |
20826 | _swigc__p_wxStatusBar, | |
20827 | _swigc__p_wxStdDialogButtonSizer, | |
20828 | _swigc__p_wxString, | |
20829 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 20830 | _swigc__p_wxTGAHandler, |
27e45892 RD |
20831 | _swigc__p_wxTIFFHandler, |
20832 | _swigc__p_wxTaskBarIconEvent, | |
20833 | _swigc__p_wxTextEntryDialog, | |
20834 | _swigc__p_wxTipWindow, | |
20835 | _swigc__p_wxTopLevelWindow, | |
20836 | _swigc__p_wxUpdateUIEvent, | |
20837 | _swigc__p_wxValidator, | |
20838 | _swigc__p_wxWindow, | |
20839 | _swigc__p_wxWindowCreateEvent, | |
20840 | _swigc__p_wxWindowDestroyEvent, | |
20841 | _swigc__p_wxXPMHandler, | |
20842 | }; | |
20843 | ||
20844 | ||
20845 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
20846 | ||
20847 | static swig_const_info swig_const_table[] = { | |
20848 | {0, 0, 0, 0.0, 0, 0}}; | |
20849 | ||
20850 | #ifdef __cplusplus | |
20851 | } | |
20852 | #endif | |
20853 | /* ----------------------------------------------------------------------------- | |
20854 | * Type initialization: | |
20855 | * This problem is tough by the requirement that no dynamic | |
20856 | * memory is used. Also, since swig_type_info structures store pointers to | |
20857 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
20858 | * to swig_type_info structures, we need some lookup code at initialization. | |
20859 | * The idea is that swig generates all the structures that are needed. | |
20860 | * The runtime then collects these partially filled structures. | |
20861 | * The SWIG_InitializeModule function takes these initial arrays out of | |
20862 | * swig_module, and does all the lookup, filling in the swig_module.types | |
20863 | * array with the correct data and linking the correct swig_cast_info | |
20864 | * structures together. | |
20865 | * | |
20866 | * The generated swig_type_info structures are assigned staticly to an initial | |
20867 | * array. We just loop though that array, and handle each type individually. | |
20868 | * First we lookup if this type has been already loaded, and if so, use the | |
20869 | * loaded structure instead of the generated one. Then we have to fill in the | |
20870 | * cast linked list. The cast data is initially stored in something like a | |
20871 | * two-dimensional array. Each row corresponds to a type (there are the same | |
20872 | * number of rows as there are in the swig_type_initial array). Each entry in | |
20873 | * a column is one of the swig_cast_info structures for that type. | |
20874 | * The cast_initial array is actually an array of arrays, because each row has | |
20875 | * a variable number of columns. So to actually build the cast linked list, | |
20876 | * we find the array of casts associated with the type, and loop through it | |
20877 | * adding the casts to the list. The one last trick we need to do is making | |
20878 | * sure the type pointer in the swig_cast_info struct is correct. | |
20879 | * | |
20880 | * First off, we lookup the cast->type name to see if it is already loaded. | |
20881 | * There are three cases to handle: | |
20882 | * 1) If the cast->type has already been loaded AND the type we are adding | |
20883 | * casting info to has not been loaded (it is in this module), THEN we | |
20884 | * replace the cast->type pointer with the type pointer that has already | |
20885 | * been loaded. | |
20886 | * 2) If BOTH types (the one we are adding casting info to, and the | |
20887 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
20888 | * the previous module so we just ignore it. | |
20889 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
20890 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
20891 | * be correct. | |
20892 | * ----------------------------------------------------------------------------- */ | |
20893 | ||
20894 | #ifdef __cplusplus | |
20895 | extern "C" { | |
20896 | #if 0 | |
20897 | } /* c-mode */ | |
20898 | #endif | |
20899 | #endif | |
20900 | ||
20901 | #if 0 | |
20902 | #define SWIGRUNTIME_DEBUG | |
20903 | #endif | |
20904 | ||
20905 | SWIGRUNTIME void | |
20906 | SWIG_InitializeModule(void *clientdata) { | |
20907 | size_t i; | |
20908 | swig_module_info *module_head; | |
20909 | static int init_run = 0; | |
20910 | ||
20911 | clientdata = clientdata; | |
20912 | ||
20913 | if (init_run) return; | |
20914 | init_run = 1; | |
20915 | ||
20916 | /* Initialize the swig_module */ | |
20917 | swig_module.type_initial = swig_type_initial; | |
20918 | swig_module.cast_initial = swig_cast_initial; | |
20919 | ||
20920 | /* Try and load any already created modules */ | |
20921 | module_head = SWIG_GetModule(clientdata); | |
20922 | if (module_head) { | |
20923 | swig_module.next = module_head->next; | |
20924 | module_head->next = &swig_module; | |
20925 | } else { | |
20926 | /* This is the first module loaded */ | |
20927 | swig_module.next = &swig_module; | |
20928 | SWIG_SetModule(clientdata, &swig_module); | |
20929 | } | |
20930 | ||
20931 | /* Now work on filling in swig_module.types */ | |
20932 | #ifdef SWIGRUNTIME_DEBUG | |
20933 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
20934 | #endif | |
20935 | for (i = 0; i < swig_module.size; ++i) { | |
20936 | swig_type_info *type = 0; | |
20937 | swig_type_info *ret; | |
20938 | swig_cast_info *cast; | |
20939 | ||
20940 | #ifdef SWIGRUNTIME_DEBUG | |
20941 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
20942 | #endif | |
20943 | ||
20944 | /* if there is another module already loaded */ | |
20945 | if (swig_module.next != &swig_module) { | |
20946 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
20947 | } | |
20948 | if (type) { | |
20949 | /* Overwrite clientdata field */ | |
20950 | #ifdef SWIGRUNTIME_DEBUG | |
20951 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
20952 | #endif | |
20953 | if (swig_module.type_initial[i]->clientdata) { | |
20954 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
20955 | #ifdef SWIGRUNTIME_DEBUG | |
20956 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
20957 | #endif | |
20958 | } | |
20959 | } else { | |
20960 | type = swig_module.type_initial[i]; | |
20961 | } | |
20962 | ||
20963 | /* Insert casting types */ | |
20964 | cast = swig_module.cast_initial[i]; | |
20965 | while (cast->type) { | |
20966 | /* Don't need to add information already in the list */ | |
20967 | ret = 0; | |
20968 | #ifdef SWIGRUNTIME_DEBUG | |
20969 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
20970 | #endif | |
20971 | if (swig_module.next != &swig_module) { | |
20972 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
20973 | #ifdef SWIGRUNTIME_DEBUG | |
20974 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
20975 | #endif | |
20976 | } | |
20977 | if (ret) { | |
20978 | if (type == swig_module.type_initial[i]) { | |
20979 | #ifdef SWIGRUNTIME_DEBUG | |
20980 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
20981 | #endif | |
20982 | cast->type = ret; | |
20983 | ret = 0; | |
20984 | } else { | |
20985 | /* Check for casting already in the list */ | |
20986 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
20987 | #ifdef SWIGRUNTIME_DEBUG | |
20988 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
20989 | #endif | |
20990 | if (!ocast) ret = 0; | |
20991 | } | |
20992 | } | |
20993 | ||
20994 | if (!ret) { | |
20995 | #ifdef SWIGRUNTIME_DEBUG | |
20996 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
20997 | #endif | |
20998 | if (type->cast) { | |
20999 | type->cast->prev = cast; | |
21000 | cast->next = type->cast; | |
21001 | } | |
21002 | type->cast = cast; | |
21003 | } | |
21004 | cast++; | |
21005 | } | |
21006 | /* Set entry in modules->types array equal to the type */ | |
21007 | swig_module.types[i] = type; | |
21008 | } | |
21009 | swig_module.types[i] = 0; | |
21010 | ||
21011 | #ifdef SWIGRUNTIME_DEBUG | |
21012 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
21013 | for (i = 0; i < swig_module.size; ++i) { | |
21014 | int j = 0; | |
21015 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
21016 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
21017 | while (cast->type) { | |
21018 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
21019 | cast++; | |
21020 | ++j; | |
21021 | } | |
21022 | printf("---- Total casts: %d\n",j); | |
21023 | } | |
21024 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
21025 | #endif | |
21026 | } | |
21027 | ||
21028 | /* This function will propagate the clientdata field of type to | |
21029 | * any new swig_type_info structures that have been added into the list | |
21030 | * of equivalent types. It is like calling | |
21031 | * SWIG_TypeClientData(type, clientdata) a second time. | |
21032 | */ | |
21033 | SWIGRUNTIME void | |
21034 | SWIG_PropagateClientData(void) { | |
21035 | size_t i; | |
21036 | swig_cast_info *equiv; | |
21037 | static int init_run = 0; | |
21038 | ||
21039 | if (init_run) return; | |
21040 | init_run = 1; | |
21041 | ||
21042 | for (i = 0; i < swig_module.size; i++) { | |
21043 | if (swig_module.types[i]->clientdata) { | |
21044 | equiv = swig_module.types[i]->cast; | |
21045 | while (equiv) { | |
21046 | if (!equiv->converter) { | |
21047 | if (equiv->type && !equiv->type->clientdata) | |
21048 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
21049 | } | |
21050 | equiv = equiv->next; | |
21051 | } | |
21052 | } | |
21053 | } | |
21054 | } | |
21055 | ||
21056 | #ifdef __cplusplus | |
21057 | #if 0 | |
21058 | { | |
21059 | /* c-mode */ | |
21060 | #endif | |
21061 | } | |
21062 | #endif | |
21063 | ||
21064 | ||
21065 | ||
21066 | #ifdef __cplusplus | |
21067 | extern "C" { | |
21068 | #endif | |
21069 | ||
21070 | /* Python-specific SWIG API */ | |
21071 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
21072 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
21073 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
21074 | ||
21075 | /* ----------------------------------------------------------------------------- | |
21076 | * global variable support code. | |
21077 | * ----------------------------------------------------------------------------- */ | |
21078 | ||
21079 | typedef struct swig_globalvar { | |
21080 | char *name; /* Name of global variable */ | |
21081 | PyObject *(*get_attr)(void); /* Return the current value */ | |
21082 | int (*set_attr)(PyObject *); /* Set the value */ | |
21083 | struct swig_globalvar *next; | |
21084 | } swig_globalvar; | |
21085 | ||
21086 | typedef struct swig_varlinkobject { | |
21087 | PyObject_HEAD | |
21088 | swig_globalvar *vars; | |
21089 | } swig_varlinkobject; | |
21090 | ||
21091 | SWIGINTERN PyObject * | |
21092 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
21093 | return PyString_FromString("<Swig global variables>"); | |
21094 | } | |
21095 | ||
21096 | SWIGINTERN PyObject * | |
21097 | swig_varlink_str(swig_varlinkobject *v) { | |
21098 | PyObject *str = PyString_FromString("("); | |
21099 | swig_globalvar *var; | |
21100 | for (var = v->vars; var; var=var->next) { | |
21101 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
21102 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
21103 | } | |
21104 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
21105 | return str; | |
21106 | } | |
21107 | ||
21108 | SWIGINTERN int | |
21109 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
21110 | PyObject *str = swig_varlink_str(v); | |
21111 | fprintf(fp,"Swig global variables "); | |
21112 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
21113 | Py_DECREF(str); | |
21114 | return 0; | |
21115 | } | |
21116 | ||
21117 | SWIGINTERN void | |
21118 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
21119 | swig_globalvar *var = v->vars; | |
21120 | while (var) { | |
21121 | swig_globalvar *n = var->next; | |
21122 | free(var->name); | |
21123 | free(var); | |
21124 | var = n; | |
21125 | } | |
21126 | } | |
21127 | ||
21128 | SWIGINTERN PyObject * | |
21129 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
21130 | PyObject *res = NULL; | |
21131 | swig_globalvar *var = v->vars; | |
21132 | while (var) { | |
21133 | if (strcmp(var->name,n) == 0) { | |
21134 | res = (*var->get_attr)(); | |
21135 | break; | |
21136 | } | |
21137 | var = var->next; | |
21138 | } | |
21139 | if (res == NULL && !PyErr_Occurred()) { | |
21140 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
21141 | } | |
21142 | return res; | |
21143 | } | |
21144 | ||
21145 | SWIGINTERN int | |
21146 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
21147 | int res = 1; | |
21148 | swig_globalvar *var = v->vars; | |
21149 | while (var) { | |
21150 | if (strcmp(var->name,n) == 0) { | |
21151 | res = (*var->set_attr)(p); | |
21152 | break; | |
21153 | } | |
21154 | var = var->next; | |
21155 | } | |
21156 | if (res == 1 && !PyErr_Occurred()) { | |
21157 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
21158 | } | |
21159 | return res; | |
21160 | } | |
21161 | ||
21162 | SWIGINTERN PyTypeObject* | |
21163 | swig_varlink_type(void) { | |
21164 | static char varlink__doc__[] = "Swig var link object"; | |
21165 | static PyTypeObject varlink_type; | |
21166 | static int type_init = 0; | |
21167 | if (!type_init) { | |
21168 | const PyTypeObject tmp | |
21169 | = { | |
21170 | PyObject_HEAD_INIT(NULL) | |
21171 | 0, /* Number of items in variable part (ob_size) */ | |
21172 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
21173 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
21174 | 0, /* Itemsize (tp_itemsize) */ | |
21175 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
21176 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
21177 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
21178 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
21179 | 0, /* tp_compare */ | |
21180 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
21181 | 0, /* tp_as_number */ | |
21182 | 0, /* tp_as_sequence */ | |
21183 | 0, /* tp_as_mapping */ | |
21184 | 0, /* tp_hash */ | |
21185 | 0, /* tp_call */ | |
21186 | (reprfunc)swig_varlink_str, /* tp_str */ | |
21187 | 0, /* tp_getattro */ | |
21188 | 0, /* tp_setattro */ | |
21189 | 0, /* tp_as_buffer */ | |
21190 | 0, /* tp_flags */ | |
21191 | varlink__doc__, /* tp_doc */ | |
21192 | 0, /* tp_traverse */ | |
21193 | 0, /* tp_clear */ | |
21194 | 0, /* tp_richcompare */ | |
21195 | 0, /* tp_weaklistoffset */ | |
21196 | #if PY_VERSION_HEX >= 0x02020000 | |
21197 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
21198 | #endif | |
21199 | #if PY_VERSION_HEX >= 0x02030000 | |
21200 | 0, /* tp_del */ | |
21201 | #endif | |
21202 | #ifdef COUNT_ALLOCS | |
21203 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
21204 | #endif | |
21205 | }; | |
21206 | varlink_type = tmp; | |
21207 | varlink_type.ob_type = &PyType_Type; | |
21208 | type_init = 1; | |
21209 | } | |
21210 | return &varlink_type; | |
21211 | } | |
21212 | ||
21213 | /* Create a variable linking object for use later */ | |
21214 | SWIGINTERN PyObject * | |
21215 | SWIG_Python_newvarlink(void) { | |
21216 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
21217 | if (result) { | |
21218 | result->vars = 0; | |
21219 | } | |
21220 | return ((PyObject*) result); | |
21221 | } | |
21222 | ||
21223 | SWIGINTERN void | |
21224 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
21225 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
21226 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
21227 | if (gv) { | |
21228 | size_t size = strlen(name)+1; | |
21229 | gv->name = (char *)malloc(size); | |
21230 | if (gv->name) { | |
21231 | strncpy(gv->name,name,size); | |
21232 | gv->get_attr = get_attr; | |
21233 | gv->set_attr = set_attr; | |
21234 | gv->next = v->vars; | |
21235 | } | |
21236 | } | |
21237 | v->vars = gv; | |
21238 | } | |
21239 | ||
21240 | SWIGINTERN PyObject * | |
21241 | SWIG_globals() { | |
21242 | static PyObject *_SWIG_globals = 0; | |
21243 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
21244 | return _SWIG_globals; | |
21245 | } | |
21246 | ||
21247 | /* ----------------------------------------------------------------------------- | |
21248 | * constants/methods manipulation | |
21249 | * ----------------------------------------------------------------------------- */ | |
21250 | ||
21251 | /* Install Constants */ | |
21252 | SWIGINTERN void | |
21253 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
21254 | PyObject *obj = 0; | |
21255 | size_t i; | |
21256 | for (i = 0; constants[i].type; ++i) { | |
21257 | switch(constants[i].type) { | |
21258 | case SWIG_PY_POINTER: | |
21259 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
21260 | break; | |
21261 | case SWIG_PY_BINARY: | |
21262 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
21263 | break; | |
21264 | default: | |
21265 | obj = 0; | |
21266 | break; | |
21267 | } | |
21268 | if (obj) { | |
21269 | PyDict_SetItemString(d, constants[i].name, obj); | |
21270 | Py_DECREF(obj); | |
21271 | } | |
21272 | } | |
21273 | } | |
21274 | ||
21275 | /* -----------------------------------------------------------------------------*/ | |
21276 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
21277 | /* -----------------------------------------------------------------------------*/ | |
21278 | ||
21279 | SWIGINTERN void | |
21280 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
21281 | swig_const_info *const_table, | |
21282 | swig_type_info **types, | |
21283 | swig_type_info **types_initial) { | |
21284 | size_t i; | |
21285 | for (i = 0; methods[i].ml_name; ++i) { | |
21286 | const char *c = methods[i].ml_doc; | |
21287 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
21288 | int j; | |
21289 | swig_const_info *ci = 0; | |
21290 | const char *name = c + 10; | |
21291 | for (j = 0; const_table[j].type; ++j) { | |
21292 | if (strncmp(const_table[j].name, name, | |
21293 | strlen(const_table[j].name)) == 0) { | |
21294 | ci = &(const_table[j]); | |
21295 | break; | |
21296 | } | |
21297 | } | |
21298 | if (ci) { | |
21299 | size_t shift = (ci->ptype) - types; | |
21300 | swig_type_info *ty = types_initial[shift]; | |
21301 | size_t ldoc = (c - methods[i].ml_doc); | |
21302 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
21303 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
21304 | if (ndoc) { | |
21305 | char *buff = ndoc; | |
21306 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
21307 | if (ptr) { | |
21308 | strncpy(buff, methods[i].ml_doc, ldoc); | |
21309 | buff += ldoc; | |
21310 | strncpy(buff, "swig_ptr: ", 10); | |
21311 | buff += 10; | |
21312 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
21313 | methods[i].ml_doc = ndoc; | |
21314 | } | |
21315 | } | |
21316 | } | |
21317 | } | |
21318 | } | |
21319 | } | |
21320 | ||
21321 | #ifdef __cplusplus | |
21322 | } | |
21323 | #endif | |
21324 | ||
21325 | /* -----------------------------------------------------------------------------* | |
21326 | * Partial Init method | |
21327 | * -----------------------------------------------------------------------------*/ | |
21328 | ||
21329 | #ifdef __cplusplus | |
21330 | extern "C" | |
21331 | #endif | |
21332 | SWIGEXPORT void SWIG_init(void) { | |
21333 | PyObject *m, *d; | |
21334 | ||
21335 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
21336 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
21337 | ||
21338 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
21339 | d = PyModule_GetDict(m); | |
21340 | ||
21341 | SWIG_InitializeModule(0); | |
21342 | SWIG_InstallConstants(d,swig_const_table); | |
21343 | ||
21344 | ||
21345 | SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1))); | |
34d71f81 | 21346 | SWIG_Python_SetConstant(d, "USE_MENUS",SWIG_From_int(static_cast< int >(1))); |
27e45892 RD |
21347 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); |
21348 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
21349 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
21350 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
21351 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
21352 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
21353 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
21354 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
21355 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
21356 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
21357 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
21358 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
21359 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
21360 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
21361 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 | 21362 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
eccab1a7 RD |
21363 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE))); |
21364 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE))); | |
21365 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE))); | |
21366 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE))); | |
21367 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE))); | |
21368 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR))); | |
21369 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR))); | |
21370 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR))); | |
21371 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
21372 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR))); | |
21373 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
21374 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
21375 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
21376 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR))); | |
21377 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR))); | |
21378 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT))); | |
21379 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE))); | |
27e45892 RD |
21380 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); |
21381 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
21382 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
21383 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
21384 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
21385 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
21386 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
21387 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
eccab1a7 | 21388 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED))); |
8f514ab4 | 21389 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); |
5eb8189c | 21390 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
21391 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
21392 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
21393 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 21394 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
21395 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
21396 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
21397 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
21398 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
21399 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
21400 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
21401 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
21402 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
21403 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
21404 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
21405 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
21406 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
21407 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
21408 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
21409 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
21410 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
21411 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
21412 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
21413 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
21414 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
21415 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
21416 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
21417 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
21418 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
21419 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
21420 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
21421 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
21422 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
21423 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
21424 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
5eb8189c RD |
21425 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); |
21426 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
21427 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
21428 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
21429 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
21430 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
21431 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
9b881d36 | 21432 | SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); |
5eb8189c RD |
21433 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); |
21434 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
21435 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
21436 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
21437 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
21438 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
21439 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
21440 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
21441 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
21442 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
d7645bfd VZ |
21443 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); |
21444 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); | |
21445 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); | |
21446 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); | |
81f5836b | 21447 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
d7645bfd | 21448 | PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); |
5eb8189c RD |
21449 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
21450 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
21451 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
21452 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
21453 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
21454 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 21455 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 21456 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 21457 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 21458 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 21459 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
21460 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
21461 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
21462 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 21463 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
21464 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
21465 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
21466 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
21467 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
21468 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
21469 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 21470 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
21471 | } |
21472 |