]>
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] | |
4976f996 RD |
2577 | #define SWIGTYPE_p_wxEventBlocker swig_types[111] |
2578 | #define SWIGTYPE_p_wxEvtHandler swig_types[112] | |
2579 | #define SWIGTYPE_p_wxFSFile swig_types[113] | |
2580 | #define SWIGTYPE_p_wxFileDialog swig_types[114] | |
2581 | #define SWIGTYPE_p_wxFileSystem swig_types[115] | |
2582 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxFindReplaceData swig_types[117] | |
2584 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[118] | |
2585 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[119] | |
2586 | #define SWIGTYPE_p_wxFocusEvent swig_types[120] | |
2587 | #define SWIGTYPE_p_wxFont swig_types[121] | |
2588 | #define SWIGTYPE_p_wxFontData swig_types[122] | |
2589 | #define SWIGTYPE_p_wxFontDialog swig_types[123] | |
2590 | #define SWIGTYPE_p_wxFrame swig_types[124] | |
2591 | #define SWIGTYPE_p_wxGBSizerItem swig_types[125] | |
2592 | #define SWIGTYPE_p_wxGIFHandler swig_types[126] | |
2593 | #define SWIGTYPE_p_wxGridBagSizer swig_types[127] | |
2594 | #define SWIGTYPE_p_wxGridSizer swig_types[128] | |
2595 | #define SWIGTYPE_p_wxICOHandler swig_types[129] | |
2596 | #define SWIGTYPE_p_wxIcon swig_types[130] | |
2597 | #define SWIGTYPE_p_wxIconBundle swig_types[131] | |
2598 | #define SWIGTYPE_p_wxIconizeEvent swig_types[132] | |
2599 | #define SWIGTYPE_p_wxIdleEvent swig_types[133] | |
2600 | #define SWIGTYPE_p_wxImage swig_types[134] | |
2601 | #define SWIGTYPE_p_wxImageHandler swig_types[135] | |
2602 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[136] | |
2603 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[137] | |
2604 | #define SWIGTYPE_p_wxJPEGHandler swig_types[138] | |
2605 | #define SWIGTYPE_p_wxKeyEvent swig_types[139] | |
2606 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[140] | |
2607 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[141] | |
2608 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[142] | |
2609 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[143] | |
2610 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[144] | |
2611 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[145] | |
2612 | #define SWIGTYPE_p_wxMenu swig_types[146] | |
2613 | #define SWIGTYPE_p_wxMenuBar swig_types[147] | |
2614 | #define SWIGTYPE_p_wxMenuEvent swig_types[148] | |
2615 | #define SWIGTYPE_p_wxMenuItem swig_types[149] | |
2616 | #define SWIGTYPE_p_wxMessageDialog swig_types[150] | |
2617 | #define SWIGTYPE_p_wxMiniFrame swig_types[151] | |
2618 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[152] | |
2619 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[153] | |
2620 | #define SWIGTYPE_p_wxMouseEvent swig_types[154] | |
2621 | #define SWIGTYPE_p_wxMoveEvent swig_types[155] | |
2622 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[156] | |
2623 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[157] | |
2624 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[158] | |
2625 | #define SWIGTYPE_p_wxNotifyEvent swig_types[159] | |
2626 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[160] | |
2627 | #define SWIGTYPE_p_wxObject swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPCXHandler swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPNGHandler swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPNMHandler swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPaintEvent swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPanel swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPaperSize swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPoint swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPopupWindow swig_types[173] | |
2640 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[174] | |
2641 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[175] | |
2642 | #define SWIGTYPE_p_wxPreviewFrame swig_types[176] | |
2643 | #define SWIGTYPE_p_wxPrintData swig_types[177] | |
2644 | #define SWIGTYPE_p_wxPrintDialog swig_types[178] | |
2645 | #define SWIGTYPE_p_wxPrintDialogData swig_types[179] | |
2646 | #define SWIGTYPE_p_wxPrintPreview swig_types[180] | |
2647 | #define SWIGTYPE_p_wxPrinter swig_types[181] | |
2648 | #define SWIGTYPE_p_wxProgressDialog swig_types[182] | |
2649 | #define SWIGTYPE_p_wxPyApp swig_types[183] | |
2650 | #define SWIGTYPE_p_wxPyAuiDockArt swig_types[184] | |
2651 | #define SWIGTYPE_p_wxPyAuiTabArt swig_types[185] | |
2652 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[186] | |
2653 | #define SWIGTYPE_p_wxPyEvent swig_types[187] | |
2654 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[188] | |
2655 | #define SWIGTYPE_p_wxPyImageHandler swig_types[189] | |
2656 | #define SWIGTYPE_p_wxPyPanel swig_types[190] | |
2657 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[191] | |
2658 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[192] | |
2659 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[193] | |
2660 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[194] | |
2661 | #define SWIGTYPE_p_wxPyPrintout swig_types[195] | |
2662 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[196] | |
2663 | #define SWIGTYPE_p_wxPySizer swig_types[197] | |
2664 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[198] | |
2665 | #define SWIGTYPE_p_wxPyVListBox swig_types[199] | |
2666 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[200] | |
2667 | #define SWIGTYPE_p_wxPyValidator swig_types[201] | |
2668 | #define SWIGTYPE_p_wxPyWindow swig_types[202] | |
2669 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[203] | |
2670 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[204] | |
2671 | #define SWIGTYPE_p_wxRect swig_types[205] | |
2672 | #define SWIGTYPE_p_wxSashEvent swig_types[206] | |
2673 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[207] | |
2674 | #define SWIGTYPE_p_wxSashWindow swig_types[208] | |
2675 | #define SWIGTYPE_p_wxScrollEvent swig_types[209] | |
2676 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[210] | |
2677 | #define SWIGTYPE_p_wxScrolledWindow swig_types[211] | |
2678 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[212] | |
2679 | #define SWIGTYPE_p_wxShowEvent swig_types[213] | |
2680 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[214] | |
2681 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[215] | |
2682 | #define SWIGTYPE_p_wxSize swig_types[216] | |
2683 | #define SWIGTYPE_p_wxSizeEvent swig_types[217] | |
2684 | #define SWIGTYPE_p_wxSizer swig_types[218] | |
2685 | #define SWIGTYPE_p_wxSizerItem swig_types[219] | |
2686 | #define SWIGTYPE_p_wxSplashScreen swig_types[220] | |
2687 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[221] | |
2688 | #define SWIGTYPE_p_wxSplitterEvent swig_types[222] | |
2689 | #define SWIGTYPE_p_wxSplitterWindow swig_types[223] | |
2690 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[224] | |
2691 | #define SWIGTYPE_p_wxStatusBar swig_types[225] | |
2692 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[226] | |
2693 | #define SWIGTYPE_p_wxString swig_types[227] | |
2694 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[228] | |
2695 | #define SWIGTYPE_p_wxTGAHandler swig_types[229] | |
2696 | #define SWIGTYPE_p_wxTIFFHandler swig_types[230] | |
2697 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[231] | |
2698 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[232] | |
2699 | #define SWIGTYPE_p_wxTipWindow swig_types[233] | |
2700 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[234] | |
2701 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[235] | |
2702 | #define SWIGTYPE_p_wxValidator swig_types[236] | |
2703 | #define SWIGTYPE_p_wxWindow swig_types[237] | |
2704 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[238] | |
2705 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[239] | |
2706 | #define SWIGTYPE_p_wxXPMHandler swig_types[240] | |
2707 | static swig_type_info *swig_types[242]; | |
2708 | static swig_module_info swig_module = {swig_types, 241, 0, 0, 0, 0}; | |
27e45892 RD |
2709 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2710 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
2711 | ||
2712 | /* -------- TYPES TABLE (END) -------- */ | |
2713 | ||
2714 | #if (PY_VERSION_HEX <= 0x02000000) | |
2715 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2716 | # error "This python version requires to use swig with the '-classic' option" | |
2717 | # endif | |
2718 | #endif | |
2719 | #if (PY_VERSION_HEX <= 0x02020000) | |
2720 | # error "This python version requires to use swig with the '-nomodern' option" | |
2721 | #endif | |
2722 | #if (PY_VERSION_HEX <= 0x02020000) | |
2723 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2724 | #endif | |
2725 | #ifndef METH_O | |
2726 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2727 | #endif | |
2728 | ||
2729 | /*----------------------------------------------- | |
2730 | @(target):= _aui.so | |
2731 | ------------------------------------------------*/ | |
2732 | #define SWIG_init init_aui | |
2733 | ||
2734 | #define SWIG_name "_aui" | |
2735 | ||
2736 | #define SWIGVERSION 0x010329 | |
2737 | ||
2738 | ||
2739 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2740 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2741 | ||
2742 | ||
2743 | #include <stdexcept> | |
2744 | ||
2745 | ||
2746 | namespace swig { | |
2747 | class PyObject_ptr { | |
2748 | protected: | |
2749 | PyObject *_obj; | |
2750 | ||
2751 | public: | |
2752 | PyObject_ptr() :_obj(0) | |
2753 | { | |
2754 | } | |
2755 | ||
2756 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2757 | { | |
2758 | Py_XINCREF(_obj); | |
2759 | } | |
2760 | ||
2761 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2762 | { | |
2763 | if (initial_ref) Py_XINCREF(_obj); | |
2764 | } | |
2765 | ||
2766 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2767 | { | |
2768 | Py_XINCREF(item._obj); | |
2769 | Py_XDECREF(_obj); | |
2770 | _obj = item._obj; | |
2771 | return *this; | |
2772 | } | |
2773 | ||
2774 | ~PyObject_ptr() | |
2775 | { | |
2776 | Py_XDECREF(_obj); | |
2777 | } | |
2778 | ||
2779 | operator PyObject *() const | |
2780 | { | |
2781 | return _obj; | |
2782 | } | |
2783 | ||
2784 | PyObject *operator->() const | |
2785 | { | |
2786 | return _obj; | |
2787 | } | |
2788 | }; | |
2789 | } | |
2790 | ||
2791 | ||
2792 | namespace swig { | |
2793 | struct PyObject_var : PyObject_ptr { | |
2794 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2795 | ||
2796 | PyObject_var & operator = (PyObject* obj) | |
2797 | { | |
2798 | Py_XDECREF(_obj); | |
2799 | _obj = obj; | |
2800 | return *this; | |
2801 | } | |
2802 | }; | |
2803 | } | |
2804 | ||
2805 | ||
2806 | #include "wx/wxPython/wxPython.h" | |
2807 | #include "wx/wxPython/pyclasses.h" | |
2808 | #include <wx/aui/aui.h> | |
2809 | ||
2810 | ||
2811 | #define SWIG_From_long PyInt_FromLong | |
2812 | ||
2813 | ||
2814 | SWIGINTERNINLINE PyObject * | |
2815 | SWIG_From_int (int value) | |
2816 | { | |
2817 | return SWIG_From_long (value); | |
2818 | } | |
2819 | ||
2820 | ||
2821 | #include <limits.h> | |
2822 | #ifndef LLONG_MIN | |
2823 | # define LLONG_MIN LONG_LONG_MIN | |
2824 | #endif | |
2825 | #ifndef LLONG_MAX | |
2826 | # define LLONG_MAX LONG_LONG_MAX | |
2827 | #endif | |
2828 | #ifndef ULLONG_MAX | |
2829 | # define ULLONG_MAX ULONG_LONG_MAX | |
2830 | #endif | |
2831 | ||
2832 | ||
2833 | SWIGINTERN int | |
2834 | SWIG_AsVal_long (PyObject* obj, long* val) | |
2835 | { | |
2836 | if (PyNumber_Check(obj)) { | |
2837 | if (val) *val = PyInt_AsLong(obj); | |
2838 | return SWIG_OK; | |
2839 | } | |
2840 | return SWIG_TypeError; | |
2841 | } | |
2842 | ||
2843 | ||
2844 | SWIGINTERN int | |
2845 | SWIG_AsVal_int (PyObject * obj, int *val) | |
2846 | { | |
2847 | long v; | |
2848 | int res = SWIG_AsVal_long (obj, &v); | |
2849 | if (SWIG_IsOK(res)) { | |
2850 | if ((v < INT_MIN || v > INT_MAX)) { | |
2851 | return SWIG_OverflowError; | |
2852 | } else { | |
2853 | if (val) *val = static_cast< int >(v); | |
2854 | } | |
2855 | } | |
2856 | return res; | |
2857 | } | |
2858 | ||
2859 | ||
2860 | SWIGINTERN int | |
2861 | SWIG_AsVal_bool (PyObject *obj, bool *val) | |
2862 | { | |
2863 | if (obj == Py_True) { | |
2864 | if (val) *val = true; | |
2865 | return SWIG_OK; | |
2866 | } else if (obj == Py_False) { | |
2867 | if (val) *val = false; | |
2868 | return SWIG_OK; | |
2869 | } else { | |
2870 | long v = 0; | |
2871 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2872 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2873 | return res; | |
2874 | } | |
2875 | } | |
2876 | ||
d7645bfd VZ |
2877 | |
2878 | SWIGINTERN int | |
2879 | SWIG_AsVal_double (PyObject *obj, double* val) | |
2880 | { | |
2881 | if (PyNumber_Check(obj)) { | |
2882 | if (val) *val = PyFloat_AsDouble(obj); | |
2883 | return SWIG_OK; | |
2884 | } | |
2885 | return SWIG_TypeError; | |
2886 | } | |
2887 | ||
5eb8189c RD |
2888 | SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} |
2889 | SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} | |
2890 | SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} | |
27e45892 | 2891 | |
10044bf1 RD |
2892 | SWIGINTERN int |
2893 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) | |
2894 | { | |
2895 | long v = 0; | |
2896 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
2897 | return SWIG_TypeError; | |
2898 | } | |
2899 | else if (val) | |
2900 | *val = (unsigned long)v; | |
2901 | return SWIG_OK; | |
2902 | } | |
2903 | ||
2904 | ||
2905 | SWIGINTERNINLINE int | |
2906 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) | |
2907 | { | |
2908 | unsigned long v; | |
2909 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2910 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2911 | return res; | |
2912 | } | |
2913 | ||
2914 | ||
2915 | SWIGINTERNINLINE PyObject* | |
2916 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2917 | { | |
2918 | return (value > LONG_MAX) ? | |
2919 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2920 | } | |
2921 | ||
2922 | ||
2923 | SWIGINTERNINLINE PyObject * | |
2924 | SWIG_From_size_t (size_t value) | |
2925 | { | |
2926 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2927 | } | |
2928 | ||
2929 | ||
5c8c7dd3 | 2930 | // A wxDocArt class that knows how to forward virtuals to Python methods |
5eb8189c | 2931 | class wxPyAuiDockArt : public wxAuiDefaultDockArt |
27e45892 | 2932 | { |
4976f996 | 2933 | public: |
5eb8189c | 2934 | wxPyAuiDockArt() : wxAuiDefaultDockArt() {} |
27e45892 RD |
2935 | |
2936 | DEC_PYCALLBACK_INT_INT(GetMetric); | |
2937 | DEC_PYCALLBACK_VOID_INTINT(SetMetric); | |
2938 | DEC_PYCALLBACK__INTFONT(SetFont); | |
2939 | DEC_PYCALLBACK_FONT_INT(GetFont); | |
2940 | DEC_PYCALLBACK_COLOUR_INT(GetColour); | |
2941 | DEC_PYCALLBACK__INTCOLOUR(SetColour); | |
2942 | ||
2943 | virtual void DrawSash(wxDC& dc, | |
97ab0f6a | 2944 | wxWindow* window, |
27e45892 RD |
2945 | int orientation, |
2946 | const wxRect& rect) | |
2947 | { | |
2948 | bool found; | |
2949 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2950 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) { | |
2951 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2952 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2953 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2954 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2955 | odc, owin, orientation, orect)); | |
27e45892 | 2956 | Py_DECREF(odc); |
8f514ab4 | 2957 | Py_DECREF(owin); |
27e45892 RD |
2958 | Py_DECREF(orect); |
2959 | } | |
2960 | wxPyEndBlockThreads(blocked); | |
2961 | if (! found) | |
5eb8189c | 2962 | wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect); |
27e45892 RD |
2963 | } |
2964 | ||
2965 | virtual void DrawBackground(wxDC& dc, | |
97ab0f6a | 2966 | wxWindow* window, |
27e45892 RD |
2967 | int orientation, |
2968 | const wxRect& rect) | |
2969 | { | |
2970 | bool found; | |
2971 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2972 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
2973 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2974 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 2975 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
97ab0f6a RD |
2976 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)", |
2977 | odc, owin, orientation, orect)); | |
27e45892 | 2978 | Py_DECREF(odc); |
8f514ab4 | 2979 | Py_DECREF(owin); |
27e45892 RD |
2980 | Py_DECREF(orect); |
2981 | } | |
2982 | wxPyEndBlockThreads(blocked); | |
2983 | if (! found) | |
5eb8189c | 2984 | wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect); |
27e45892 RD |
2985 | } |
2986 | ||
2987 | virtual void DrawCaption(wxDC& dc, | |
97ab0f6a | 2988 | wxWindow* window, |
27e45892 RD |
2989 | const wxString& text, |
2990 | const wxRect& rect, | |
5eb8189c | 2991 | wxAuiPaneInfo& pane) |
27e45892 RD |
2992 | { |
2993 | bool found; | |
2994 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
2995 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) { | |
2996 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 2997 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 RD |
2998 | PyObject* otext = wx2PyString(text); |
2999 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); | |
5eb8189c | 3000 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3001 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)", |
3002 | odc, owin, otext, orect, opane)); | |
27e45892 | 3003 | Py_DECREF(odc); |
8f514ab4 | 3004 | Py_DECREF(owin); |
27e45892 RD |
3005 | Py_DECREF(otext); |
3006 | Py_DECREF(orect); | |
3007 | Py_DECREF(opane); | |
3008 | } | |
3009 | wxPyEndBlockThreads(blocked); | |
3010 | if (! found) | |
5eb8189c | 3011 | wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane); |
27e45892 RD |
3012 | } |
3013 | ||
3014 | virtual void DrawGripper(wxDC& dc, | |
97ab0f6a | 3015 | wxWindow* window, |
27e45892 | 3016 | const wxRect& rect, |
5eb8189c | 3017 | wxAuiPaneInfo& pane) |
27e45892 RD |
3018 | { |
3019 | bool found; | |
3020 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3021 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) { | |
3022 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3023 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3024 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3025 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a | 3026 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane)); |
27e45892 RD |
3027 | Py_DECREF(odc); |
3028 | Py_DECREF(orect); | |
3029 | Py_DECREF(opane); | |
3030 | } | |
3031 | wxPyEndBlockThreads(blocked); | |
3032 | if (! found) | |
5eb8189c | 3033 | wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane); |
27e45892 RD |
3034 | } |
3035 | ||
3036 | virtual void DrawBorder(wxDC& dc, | |
97ab0f6a | 3037 | wxWindow* window, |
27e45892 | 3038 | const wxRect& rect, |
5eb8189c | 3039 | wxAuiPaneInfo& pane) |
27e45892 RD |
3040 | { |
3041 | bool found; | |
3042 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3043 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) { | |
3044 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3045 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3046 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3047 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
27e45892 RD |
3048 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane)); |
3049 | Py_DECREF(odc); | |
8f514ab4 | 3050 | Py_DECREF(owin); |
27e45892 RD |
3051 | Py_DECREF(orect); |
3052 | Py_DECREF(opane); | |
3053 | } | |
3054 | wxPyEndBlockThreads(blocked); | |
3055 | if (! found) | |
5eb8189c | 3056 | wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane); |
27e45892 RD |
3057 | } |
3058 | ||
3059 | virtual void DrawPaneButton(wxDC& dc, | |
97ab0f6a | 3060 | wxWindow* window, |
27e45892 RD |
3061 | int button, |
3062 | int button_state, | |
3063 | const wxRect& rect, | |
5eb8189c | 3064 | wxAuiPaneInfo& pane) |
27e45892 RD |
3065 | { |
3066 | bool found; | |
3067 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3068 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) { | |
3069 | PyObject* odc = wxPyMake_wxObject(&dc, false); | |
97ab0f6a | 3070 | PyObject* owin = wxPyMake_wxObject(window, false); |
27e45892 | 3071 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
5eb8189c | 3072 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0); |
97ab0f6a RD |
3073 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)", |
3074 | odc, owin, button, button_state, | |
27e45892 RD |
3075 | orect, opane)); |
3076 | Py_DECREF(odc); | |
8f514ab4 | 3077 | Py_DECREF(owin); |
27e45892 RD |
3078 | Py_DECREF(orect); |
3079 | Py_DECREF(opane); | |
3080 | } | |
3081 | wxPyEndBlockThreads(blocked); | |
3082 | if (! found) | |
5eb8189c | 3083 | wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane); |
27e45892 RD |
3084 | } |
3085 | ||
3086 | PYPRIVATE; | |
3087 | ||
3088 | }; | |
3089 | ||
5eb8189c RD |
3090 | IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric); |
3091 | IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric); | |
3092 | IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont); | |
3093 | IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont); | |
3094 | IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour); | |
3095 | IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour); | |
27e45892 RD |
3096 | |
3097 | ||
5c8c7dd3 RD |
3098 | |
3099 | // A wxTabArt class that knows how to forward virtuals to Python methods | |
5eb8189c | 3100 | class wxPyAuiTabArt : public wxAuiDefaultTabArt |
5c8c7dd3 | 3101 | { |
4976f996 | 3102 | public: |
5eb8189c | 3103 | wxPyAuiTabArt() : wxAuiDefaultTabArt() {} |
5c8c7dd3 | 3104 | |
8f514ab4 | 3105 | |
d95b9f2b | 3106 | virtual void DrawBackground( wxDC& dc, |
26c4d26f | 3107 | wxWindow* wnd, |
5c8c7dd3 RD |
3108 | const wxRect& rect ) |
3109 | { | |
3110 | bool found; | |
3111 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3112 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) { | |
d95b9f2b | 3113 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3114 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
5c8c7dd3 | 3115 | PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0); |
26c4d26f | 3116 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect)); |
5c8c7dd3 | 3117 | Py_DECREF(odc); |
26c4d26f | 3118 | Py_DECREF(ownd); |
5c8c7dd3 RD |
3119 | Py_DECREF(orect); |
3120 | } | |
3121 | wxPyEndBlockThreads(blocked); | |
3122 | if (!found) | |
26c4d26f | 3123 | wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect); |
5c8c7dd3 RD |
3124 | } |
3125 | ||
d95b9f2b | 3126 | virtual void DrawTab( wxDC& dc, |
26c4d26f | 3127 | wxWindow* wnd, |
d754c85e | 3128 | const wxAuiNotebookPage& pane, |
5c8c7dd3 | 3129 | const wxRect& in_rect, |
36cb9ebe RD |
3130 | int close_button_state, |
3131 | wxRect* out_tab_rect, | |
3132 | wxRect* out_button_rect, | |
5c8c7dd3 RD |
3133 | int* x_extent) |
3134 | { | |
3135 | bool found; | |
36cb9ebe | 3136 | const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)"; |
5c8c7dd3 RD |
3137 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
3138 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { | |
d95b9f2b | 3139 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3140 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
d754c85e | 3141 | PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiNotebookPage"), 0); |
5c8c7dd3 | 3142 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
5c8c7dd3 | 3143 | PyObject* ro; |
5eb8189c | 3144 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3145 | "(OOOOOii)", |
d754c85e RD |
3146 | odc, ownd, orect, opane, |
3147 | close_button_state)); | |
5c8c7dd3 | 3148 | if (ro) { |
36cb9ebe | 3149 | if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { |
5c8c7dd3 RD |
3150 | PyObject* o1 = PySequence_GetItem(ro, 0); |
3151 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
36cb9ebe RD |
3152 | PyObject* o3 = PySequence_GetItem(ro, 2); |
3153 | if (!wxRect_helper(o1, &out_tab_rect)) | |
5c8c7dd3 | 3154 | PyErr_SetString(PyExc_TypeError, errmsg); |
36cb9ebe RD |
3155 | else if (!wxRect_helper(o2, &out_button_rect)) |
3156 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3157 | else if (!PyInt_Check(o3)) | |
5c8c7dd3 RD |
3158 | PyErr_SetString(PyExc_TypeError, errmsg); |
3159 | else | |
36cb9ebe | 3160 | *x_extent = PyInt_AsLong(o3); |
5c8c7dd3 RD |
3161 | |
3162 | Py_DECREF(o1); | |
3163 | Py_DECREF(o2); | |
36cb9ebe | 3164 | Py_DECREF(o3); |
5c8c7dd3 RD |
3165 | } |
3166 | else { | |
3167 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3168 | } | |
3169 | Py_DECREF(ro); | |
3170 | } | |
3171 | ||
3172 | Py_DECREF(odc); | |
26c4d26f | 3173 | Py_DECREF(ownd); |
5c8c7dd3 | 3174 | Py_DECREF(orect); |
d754c85e | 3175 | Py_DECREF(opane); |
5c8c7dd3 RD |
3176 | } |
3177 | wxPyEndBlockThreads(blocked); | |
3178 | if (!found) | |
d754c85e | 3179 | wxAuiDefaultTabArt::DrawTab(dc, wnd, pane, in_rect, close_button_state, out_tab_rect, out_button_rect, x_extent); |
5c8c7dd3 RD |
3180 | } |
3181 | ||
3182 | ||
d95b9f2b | 3183 | virtual void DrawButton( wxDC& dc, |
26c4d26f | 3184 | wxWindow* wnd, |
8f514ab4 RD |
3185 | const wxRect& in_rect, |
3186 | int bitmap_id, | |
3187 | int button_state, | |
3188 | int orientation, | |
8f514ab4 RD |
3189 | wxRect* out_rect) |
3190 | { | |
3191 | bool found; | |
3192 | const char* errmsg = "DrawButton should return a wxRect"; | |
3193 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3194 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) { | |
d95b9f2b | 3195 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3196 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3197 | PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); |
8f514ab4 | 3198 | PyObject* ro; |
26c4d26f | 3199 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, |
d754c85e | 3200 | bitmap_id, button_state, orientation)); |
8f514ab4 RD |
3201 | if (ro) { |
3202 | if (!wxRect_helper(ro, &out_rect)) | |
3203 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3204 | Py_DECREF(ro); | |
3205 | } | |
3206 | ||
3207 | Py_DECREF(odc); | |
26c4d26f | 3208 | Py_DECREF(ownd); |
8f514ab4 | 3209 | Py_DECREF(orect); |
8f514ab4 RD |
3210 | } |
3211 | wxPyEndBlockThreads(blocked); | |
3212 | if (!found) | |
d754c85e | 3213 | wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect); |
8f514ab4 RD |
3214 | } |
3215 | ||
26c4d26f | 3216 | |
d95b9f2b | 3217 | virtual wxSize GetTabSize( wxDC& dc, |
26c4d26f | 3218 | wxWindow* wnd, |
8f514ab4 | 3219 | const wxString& caption, |
5172800e | 3220 | const wxBitmap& bitmap, |
8f514ab4 | 3221 | bool active, |
36cb9ebe | 3222 | int close_button_state, |
8f514ab4 RD |
3223 | int* x_extent) |
3224 | { | |
3225 | bool found; | |
3226 | wxSize rv, *prv = &rv; | |
3227 | const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)"; | |
3228 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3229 | if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) { | |
d95b9f2b | 3230 | PyObject* odc = wxPyMake_wxObject(&dc, false); |
26c4d26f | 3231 | PyObject* ownd = wxPyMake_wxObject(wnd, false); |
8f514ab4 | 3232 | PyObject* otext = wx2PyString(caption); |
5172800e | 3233 | PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); |
8f514ab4 | 3234 | PyObject* ro; |
5eb8189c | 3235 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( |
5172800e | 3236 | "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state)); |
8f514ab4 RD |
3237 | if (ro) { |
3238 | if (PySequence_Check(ro) && PyObject_Length(ro) == 2) { | |
3239 | PyObject* o1 = PySequence_GetItem(ro, 0); | |
3240 | PyObject* o2 = PySequence_GetItem(ro, 1); | |
3241 | if (!wxSize_helper(o1, &prv)) | |
3242 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3243 | else if (!PyInt_Check(o2)) | |
3244 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3245 | else | |
3246 | *x_extent = PyInt_AsLong(o2); | |
3247 | ||
3248 | Py_DECREF(o1); | |
3249 | Py_DECREF(o2); | |
3250 | } | |
3251 | else { | |
3252 | PyErr_SetString(PyExc_TypeError, errmsg); | |
3253 | } | |
3254 | Py_DECREF(ro); | |
3255 | } | |
3256 | ||
3257 | Py_DECREF(odc); | |
26c4d26f | 3258 | Py_DECREF(ownd); |
8f514ab4 | 3259 | Py_DECREF(otext); |
5172800e | 3260 | Py_DECREF(obmp); |
8f514ab4 RD |
3261 | } |
3262 | wxPyEndBlockThreads(blocked); | |
3263 | if (!found) | |
5172800e | 3264 | rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent); |
8f514ab4 RD |
3265 | return rv; |
3266 | } | |
26c4d26f | 3267 | |
d95b9f2b | 3268 | // TODO |
d754c85e | 3269 | // virtual int ShowDropDown( |
d95b9f2b | 3270 | // wxWindow* wnd, |
d754c85e | 3271 | // const wxAuiNotebookPageArray& items, |
d95b9f2b | 3272 | // int active_idx); |
d754c85e RD |
3273 | |
3274 | // virtual int GetIndentSize(); | |
3275 | ||
5172800e | 3276 | // virtual int GetBestTabCtrlSize(wxWindow* wnd, |
d754c85e RD |
3277 | // const wxAuiNotebookPageArray& pages, |
3278 | // const wxSize& required_bmp_size); | |
5172800e RD |
3279 | // virtual wxAuiTabArt* Clone(); |
3280 | // virtual void SetFlags(unsigned int flags); | |
3281 | // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, | |
3282 | // size_t tab_count); | |
3283 | // virtual int GetIndentSize(); | |
3284 | ||
d95b9f2b | 3285 | |
8f514ab4 | 3286 | |
5c8c7dd3 RD |
3287 | DEC_PYCALLBACK__FONT(SetNormalFont); |
3288 | DEC_PYCALLBACK__FONT(SetSelectedFont); | |
3289 | DEC_PYCALLBACK__FONT(SetMeasuringFont); | |
5172800e | 3290 | // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize); |
5c8c7dd3 RD |
3291 | |
3292 | PYPRIVATE; | |
3293 | }; | |
3294 | ||
3295 | ||
5eb8189c RD |
3296 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont); |
3297 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont); | |
3298 | IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont); | |
5172800e | 3299 | //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize); |
5c8c7dd3 | 3300 | |
27e45892 RD |
3301 | #ifdef __cplusplus |
3302 | extern "C" { | |
3303 | #endif | |
5eb8189c | 3304 | SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) { |
27e45892 RD |
3305 | { |
3306 | void *argp = 0; | |
5eb8189c | 3307 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0); |
27e45892 | 3308 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3309 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 RD |
3310 | } |
3311 | if (!argp) { | |
5eb8189c | 3312 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'"); |
27e45892 | 3313 | } else { |
5eb8189c RD |
3314 | wxAuiDockInfo * temp; |
3315 | temp = reinterpret_cast< wxAuiDockInfo * >(argp); | |
3316 | wxAuiNullDockInfo = *temp; | |
27e45892 RD |
3317 | if (SWIG_IsNewObj(res)) delete temp; |
3318 | } | |
3319 | } | |
3320 | return 0; | |
3321 | fail: | |
3322 | return 1; | |
3323 | } | |
3324 | ||
3325 | ||
5eb8189c | 3326 | SWIGINTERN PyObject *AuiNullDockInfo_get(void) { |
27e45892 RD |
3327 | PyObject *pyobj = 0; |
3328 | ||
5eb8189c | 3329 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 ); |
27e45892 RD |
3330 | return pyobj; |
3331 | } | |
3332 | ||
3333 | ||
5eb8189c | 3334 | SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) { |
27e45892 RD |
3335 | { |
3336 | void *argp = 0; | |
5eb8189c | 3337 | int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 3338 | if (!SWIG_IsOK(res)) { |
5eb8189c | 3339 | SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 RD |
3340 | } |
3341 | if (!argp) { | |
5eb8189c | 3342 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'"); |
27e45892 | 3343 | } else { |
5eb8189c RD |
3344 | wxAuiPaneInfo * temp; |
3345 | temp = reinterpret_cast< wxAuiPaneInfo * >(argp); | |
3346 | wxAuiNullPaneInfo = *temp; | |
27e45892 RD |
3347 | if (SWIG_IsNewObj(res)) delete temp; |
3348 | } | |
3349 | } | |
3350 | return 0; | |
3351 | fail: | |
3352 | return 1; | |
3353 | } | |
3354 | ||
3355 | ||
5eb8189c | 3356 | SWIGINTERN PyObject *AuiNullPaneInfo_get(void) { |
27e45892 RD |
3357 | PyObject *pyobj = 0; |
3358 | ||
5eb8189c | 3359 | pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
27e45892 RD |
3360 | return pyobj; |
3361 | } | |
3362 | ||
3363 | ||
5eb8189c | 3364 | SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3365 | PyObject *resultobj = 0; |
5eb8189c | 3366 | wxAuiPaneInfo *result = 0 ; |
27e45892 | 3367 | |
5eb8189c | 3368 | if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
3369 | { |
3370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3371 | result = (wxAuiPaneInfo *)new wxAuiPaneInfo(); |
27e45892 RD |
3372 | wxPyEndAllowThreads(__tstate); |
3373 | if (PyErr_Occurred()) SWIG_fail; | |
3374 | } | |
5eb8189c | 3375 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
3376 | return resultobj; |
3377 | fail: | |
3378 | return NULL; | |
3379 | } | |
3380 | ||
3381 | ||
5eb8189c | 3382 | SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3383 | PyObject *resultobj = 0; |
5eb8189c | 3384 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3385 | void *argp1 = 0 ; |
3386 | int res1 = 0 ; | |
3387 | PyObject *swig_obj[1] ; | |
3388 | ||
3389 | if (!args) SWIG_fail; | |
3390 | swig_obj[0] = args; | |
5eb8189c | 3391 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 3392 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 3394 | } |
5eb8189c | 3395 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3396 | { |
3397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3398 | delete arg1; | |
3399 | ||
3400 | wxPyEndAllowThreads(__tstate); | |
3401 | if (PyErr_Occurred()) SWIG_fail; | |
3402 | } | |
3403 | resultobj = SWIG_Py_Void(); | |
3404 | return resultobj; | |
3405 | fail: | |
3406 | return NULL; | |
3407 | } | |
3408 | ||
3409 | ||
5eb8189c | 3410 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 3411 | PyObject *resultobj = 0; |
5eb8189c RD |
3412 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
3413 | wxAuiPaneInfo arg2 ; | |
0f83f5da RD |
3414 | void *argp1 = 0 ; |
3415 | int res1 = 0 ; | |
3416 | void *argp2 ; | |
3417 | int res2 = 0 ; | |
3418 | PyObject * obj0 = 0 ; | |
3419 | PyObject * obj1 = 0 ; | |
3420 | char * kwnames[] = { | |
3421 | (char *) "self",(char *) "source", NULL | |
3422 | }; | |
3423 | ||
5eb8189c RD |
3424 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail; |
3425 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
0f83f5da | 3426 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
0f83f5da | 3428 | } |
5eb8189c | 3429 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
0f83f5da | 3430 | { |
5eb8189c | 3431 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
0f83f5da | 3432 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 3433 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da RD |
3434 | } |
3435 | if (!argp2) { | |
5eb8189c | 3436 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'"); |
0f83f5da | 3437 | } else { |
5eb8189c | 3438 | wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
3439 | arg2 = *temp; |
3440 | if (SWIG_IsNewObj(res2)) delete temp; | |
3441 | } | |
3442 | } | |
3443 | { | |
3444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3445 | (arg1)->SafeSet(arg2); | |
3446 | wxPyEndAllowThreads(__tstate); | |
3447 | if (PyErr_Occurred()) SWIG_fail; | |
3448 | } | |
3449 | resultobj = SWIG_Py_Void(); | |
3450 | return resultobj; | |
3451 | fail: | |
3452 | return NULL; | |
3453 | } | |
3454 | ||
3455 | ||
5eb8189c | 3456 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3457 | PyObject *resultobj = 0; |
5eb8189c | 3458 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3459 | bool result; |
3460 | void *argp1 = 0 ; | |
3461 | int res1 = 0 ; | |
3462 | PyObject *swig_obj[1] ; | |
3463 | ||
3464 | if (!args) SWIG_fail; | |
3465 | swig_obj[0] = args; | |
5eb8189c | 3466 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3467 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3469 | } |
5eb8189c | 3470 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3471 | { |
3472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3473 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk(); |
27e45892 RD |
3474 | wxPyEndAllowThreads(__tstate); |
3475 | if (PyErr_Occurred()) SWIG_fail; | |
3476 | } | |
3477 | { | |
3478 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3479 | } | |
3480 | return resultobj; | |
3481 | fail: | |
3482 | return NULL; | |
3483 | } | |
3484 | ||
3485 | ||
5eb8189c | 3486 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3487 | PyObject *resultobj = 0; |
5eb8189c | 3488 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3489 | bool result; |
3490 | void *argp1 = 0 ; | |
3491 | int res1 = 0 ; | |
3492 | PyObject *swig_obj[1] ; | |
3493 | ||
3494 | if (!args) SWIG_fail; | |
3495 | swig_obj[0] = args; | |
5eb8189c | 3496 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3497 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3499 | } |
5eb8189c | 3500 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3501 | { |
3502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3503 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed(); |
27e45892 RD |
3504 | wxPyEndAllowThreads(__tstate); |
3505 | if (PyErr_Occurred()) SWIG_fail; | |
3506 | } | |
3507 | { | |
3508 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3509 | } | |
3510 | return resultobj; | |
3511 | fail: | |
3512 | return NULL; | |
3513 | } | |
3514 | ||
3515 | ||
5eb8189c | 3516 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3517 | PyObject *resultobj = 0; |
5eb8189c | 3518 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3519 | bool result; |
3520 | void *argp1 = 0 ; | |
3521 | int res1 = 0 ; | |
3522 | PyObject *swig_obj[1] ; | |
3523 | ||
3524 | if (!args) SWIG_fail; | |
3525 | swig_obj[0] = args; | |
5eb8189c | 3526 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3527 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3529 | } |
5eb8189c | 3530 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3531 | { |
3532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3533 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable(); |
27e45892 RD |
3534 | wxPyEndAllowThreads(__tstate); |
3535 | if (PyErr_Occurred()) SWIG_fail; | |
3536 | } | |
3537 | { | |
3538 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3539 | } | |
3540 | return resultobj; | |
3541 | fail: | |
3542 | return NULL; | |
3543 | } | |
3544 | ||
3545 | ||
5eb8189c | 3546 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3547 | PyObject *resultobj = 0; |
5eb8189c | 3548 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3549 | bool result; |
3550 | void *argp1 = 0 ; | |
3551 | int res1 = 0 ; | |
3552 | PyObject *swig_obj[1] ; | |
3553 | ||
3554 | if (!args) SWIG_fail; | |
3555 | swig_obj[0] = args; | |
5eb8189c | 3556 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3557 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3558 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3559 | } |
5eb8189c | 3560 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3561 | { |
3562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3563 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown(); |
27e45892 RD |
3564 | wxPyEndAllowThreads(__tstate); |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
3566 | } | |
3567 | { | |
3568 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3569 | } | |
3570 | return resultobj; | |
3571 | fail: | |
3572 | return NULL; | |
3573 | } | |
3574 | ||
3575 | ||
5eb8189c | 3576 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3577 | PyObject *resultobj = 0; |
5eb8189c | 3578 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3579 | bool result; |
3580 | void *argp1 = 0 ; | |
3581 | int res1 = 0 ; | |
3582 | PyObject *swig_obj[1] ; | |
3583 | ||
3584 | if (!args) SWIG_fail; | |
3585 | swig_obj[0] = args; | |
5eb8189c | 3586 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3587 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3588 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3589 | } |
5eb8189c | 3590 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3591 | { |
3592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3593 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating(); |
27e45892 RD |
3594 | wxPyEndAllowThreads(__tstate); |
3595 | if (PyErr_Occurred()) SWIG_fail; | |
3596 | } | |
3597 | { | |
3598 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3599 | } | |
3600 | return resultobj; | |
3601 | fail: | |
3602 | return NULL; | |
3603 | } | |
3604 | ||
3605 | ||
5eb8189c | 3606 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3607 | PyObject *resultobj = 0; |
5eb8189c | 3608 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3609 | bool result; |
3610 | void *argp1 = 0 ; | |
3611 | int res1 = 0 ; | |
3612 | PyObject *swig_obj[1] ; | |
3613 | ||
3614 | if (!args) SWIG_fail; | |
3615 | swig_obj[0] = args; | |
5eb8189c | 3616 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3617 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3618 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3619 | } |
5eb8189c | 3620 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3621 | { |
3622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3623 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked(); |
27e45892 RD |
3624 | wxPyEndAllowThreads(__tstate); |
3625 | if (PyErr_Occurred()) SWIG_fail; | |
3626 | } | |
3627 | { | |
3628 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3629 | } | |
3630 | return resultobj; | |
3631 | fail: | |
3632 | return NULL; | |
3633 | } | |
3634 | ||
3635 | ||
5eb8189c | 3636 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3637 | PyObject *resultobj = 0; |
5eb8189c | 3638 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3639 | bool result; |
3640 | void *argp1 = 0 ; | |
3641 | int res1 = 0 ; | |
3642 | PyObject *swig_obj[1] ; | |
3643 | ||
3644 | if (!args) SWIG_fail; | |
3645 | swig_obj[0] = args; | |
5eb8189c | 3646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3647 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3649 | } |
5eb8189c | 3650 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3651 | { |
3652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3653 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar(); |
27e45892 RD |
3654 | wxPyEndAllowThreads(__tstate); |
3655 | if (PyErr_Occurred()) SWIG_fail; | |
3656 | } | |
3657 | { | |
3658 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3659 | } | |
3660 | return resultobj; | |
3661 | fail: | |
3662 | return NULL; | |
3663 | } | |
3664 | ||
3665 | ||
5eb8189c | 3666 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3667 | PyObject *resultobj = 0; |
5eb8189c | 3668 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3669 | bool result; |
3670 | void *argp1 = 0 ; | |
3671 | int res1 = 0 ; | |
3672 | PyObject *swig_obj[1] ; | |
3673 | ||
3674 | if (!args) SWIG_fail; | |
3675 | swig_obj[0] = args; | |
5eb8189c | 3676 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3677 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3678 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3679 | } |
5eb8189c | 3680 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3681 | { |
3682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3683 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable(); |
27e45892 RD |
3684 | wxPyEndAllowThreads(__tstate); |
3685 | if (PyErr_Occurred()) SWIG_fail; | |
3686 | } | |
3687 | { | |
3688 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3689 | } | |
3690 | return resultobj; | |
3691 | fail: | |
3692 | return NULL; | |
3693 | } | |
3694 | ||
3695 | ||
5eb8189c | 3696 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3697 | PyObject *resultobj = 0; |
5eb8189c | 3698 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3699 | bool result; |
3700 | void *argp1 = 0 ; | |
3701 | int res1 = 0 ; | |
3702 | PyObject *swig_obj[1] ; | |
3703 | ||
3704 | if (!args) SWIG_fail; | |
3705 | swig_obj[0] = args; | |
5eb8189c | 3706 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3707 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3708 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3709 | } |
5eb8189c | 3710 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3711 | { |
3712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3713 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable(); |
27e45892 RD |
3714 | wxPyEndAllowThreads(__tstate); |
3715 | if (PyErr_Occurred()) SWIG_fail; | |
3716 | } | |
3717 | { | |
3718 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3719 | } | |
3720 | return resultobj; | |
3721 | fail: | |
3722 | return NULL; | |
3723 | } | |
3724 | ||
3725 | ||
5eb8189c | 3726 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3727 | PyObject *resultobj = 0; |
5eb8189c | 3728 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3729 | bool result; |
3730 | void *argp1 = 0 ; | |
3731 | int res1 = 0 ; | |
3732 | PyObject *swig_obj[1] ; | |
3733 | ||
3734 | if (!args) SWIG_fail; | |
3735 | swig_obj[0] = args; | |
5eb8189c | 3736 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3737 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3738 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3739 | } |
5eb8189c | 3740 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3741 | { |
3742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3743 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable(); |
27e45892 RD |
3744 | wxPyEndAllowThreads(__tstate); |
3745 | if (PyErr_Occurred()) SWIG_fail; | |
3746 | } | |
3747 | { | |
3748 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3749 | } | |
3750 | return resultobj; | |
3751 | fail: | |
3752 | return NULL; | |
3753 | } | |
3754 | ||
3755 | ||
5eb8189c | 3756 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3757 | PyObject *resultobj = 0; |
5eb8189c | 3758 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3759 | bool result; |
3760 | void *argp1 = 0 ; | |
3761 | int res1 = 0 ; | |
3762 | PyObject *swig_obj[1] ; | |
3763 | ||
3764 | if (!args) SWIG_fail; | |
3765 | swig_obj[0] = args; | |
5eb8189c | 3766 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3767 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3768 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3769 | } |
5eb8189c | 3770 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3771 | { |
3772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3773 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable(); |
27e45892 RD |
3774 | wxPyEndAllowThreads(__tstate); |
3775 | if (PyErr_Occurred()) SWIG_fail; | |
3776 | } | |
3777 | { | |
3778 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3779 | } | |
3780 | return resultobj; | |
3781 | fail: | |
3782 | return NULL; | |
3783 | } | |
3784 | ||
3785 | ||
5eb8189c | 3786 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3787 | PyObject *resultobj = 0; |
5eb8189c | 3788 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3789 | bool result; |
3790 | void *argp1 = 0 ; | |
3791 | int res1 = 0 ; | |
3792 | PyObject *swig_obj[1] ; | |
3793 | ||
3794 | if (!args) SWIG_fail; | |
3795 | swig_obj[0] = args; | |
5eb8189c | 3796 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3797 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3799 | } |
5eb8189c | 3800 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3801 | { |
3802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3803 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable(); |
27e45892 RD |
3804 | wxPyEndAllowThreads(__tstate); |
3805 | if (PyErr_Occurred()) SWIG_fail; | |
3806 | } | |
3807 | { | |
3808 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3809 | } | |
3810 | return resultobj; | |
3811 | fail: | |
3812 | return NULL; | |
3813 | } | |
3814 | ||
3815 | ||
5eb8189c | 3816 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3817 | PyObject *resultobj = 0; |
5eb8189c | 3818 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3819 | bool result; |
3820 | void *argp1 = 0 ; | |
3821 | int res1 = 0 ; | |
3822 | PyObject *swig_obj[1] ; | |
3823 | ||
3824 | if (!args) SWIG_fail; | |
3825 | swig_obj[0] = args; | |
5eb8189c | 3826 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3827 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3829 | } |
5eb8189c | 3830 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3831 | { |
3832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3833 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable(); |
27e45892 RD |
3834 | wxPyEndAllowThreads(__tstate); |
3835 | if (PyErr_Occurred()) SWIG_fail; | |
3836 | } | |
3837 | { | |
3838 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3839 | } | |
3840 | return resultobj; | |
3841 | fail: | |
3842 | return NULL; | |
3843 | } | |
3844 | ||
3845 | ||
5eb8189c | 3846 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9b940138 | 3847 | PyObject *resultobj = 0; |
5eb8189c | 3848 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
9b940138 RD |
3849 | bool result; |
3850 | void *argp1 = 0 ; | |
3851 | int res1 = 0 ; | |
3852 | PyObject *swig_obj[1] ; | |
3853 | ||
3854 | if (!args) SWIG_fail; | |
3855 | swig_obj[0] = args; | |
5eb8189c | 3856 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
9b940138 | 3857 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3858 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
9b940138 | 3859 | } |
5eb8189c | 3860 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
9b940138 RD |
3861 | { |
3862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3863 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose(); |
9b940138 RD |
3864 | wxPyEndAllowThreads(__tstate); |
3865 | if (PyErr_Occurred()) SWIG_fail; | |
3866 | } | |
3867 | { | |
3868 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3869 | } | |
3870 | return resultobj; | |
3871 | fail: | |
3872 | return NULL; | |
3873 | } | |
3874 | ||
3875 | ||
5eb8189c | 3876 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3877 | PyObject *resultobj = 0; |
5eb8189c | 3878 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3879 | bool result; |
3880 | void *argp1 = 0 ; | |
3881 | int res1 = 0 ; | |
3882 | PyObject *swig_obj[1] ; | |
3883 | ||
3884 | if (!args) SWIG_fail; | |
3885 | swig_obj[0] = args; | |
5eb8189c | 3886 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3887 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3888 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3889 | } |
5eb8189c | 3890 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3891 | { |
3892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3893 | result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized(); |
27e45892 RD |
3894 | wxPyEndAllowThreads(__tstate); |
3895 | if (PyErr_Occurred()) SWIG_fail; | |
3896 | } | |
3897 | { | |
3898 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3899 | } | |
3900 | return resultobj; | |
3901 | fail: | |
3902 | return NULL; | |
3903 | } | |
3904 | ||
3905 | ||
5eb8189c | 3906 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3907 | PyObject *resultobj = 0; |
5eb8189c | 3908 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3909 | bool result; |
3910 | void *argp1 = 0 ; | |
3911 | int res1 = 0 ; | |
3912 | PyObject *swig_obj[1] ; | |
3913 | ||
3914 | if (!args) SWIG_fail; | |
3915 | swig_obj[0] = args; | |
5eb8189c | 3916 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3917 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3919 | } |
5eb8189c | 3920 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3921 | { |
3922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3923 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption(); |
27e45892 RD |
3924 | wxPyEndAllowThreads(__tstate); |
3925 | if (PyErr_Occurred()) SWIG_fail; | |
3926 | } | |
3927 | { | |
3928 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3929 | } | |
3930 | return resultobj; | |
3931 | fail: | |
3932 | return NULL; | |
3933 | } | |
3934 | ||
3935 | ||
5eb8189c | 3936 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3937 | PyObject *resultobj = 0; |
5eb8189c | 3938 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3939 | bool result; |
3940 | void *argp1 = 0 ; | |
3941 | int res1 = 0 ; | |
3942 | PyObject *swig_obj[1] ; | |
3943 | ||
3944 | if (!args) SWIG_fail; | |
3945 | swig_obj[0] = args; | |
5eb8189c | 3946 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3947 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3948 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3949 | } |
5eb8189c | 3950 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3951 | { |
3952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3953 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper(); |
27e45892 RD |
3954 | wxPyEndAllowThreads(__tstate); |
3955 | if (PyErr_Occurred()) SWIG_fail; | |
3956 | } | |
3957 | { | |
3958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3959 | } | |
3960 | return resultobj; | |
3961 | fail: | |
3962 | return NULL; | |
3963 | } | |
3964 | ||
3965 | ||
5eb8189c | 3966 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3967 | PyObject *resultobj = 0; |
5eb8189c | 3968 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3969 | bool result; |
3970 | void *argp1 = 0 ; | |
3971 | int res1 = 0 ; | |
3972 | PyObject *swig_obj[1] ; | |
3973 | ||
3974 | if (!args) SWIG_fail; | |
3975 | swig_obj[0] = args; | |
5eb8189c | 3976 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 3977 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 3978 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 3979 | } |
5eb8189c | 3980 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
3981 | { |
3982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 3983 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder(); |
27e45892 RD |
3984 | wxPyEndAllowThreads(__tstate); |
3985 | if (PyErr_Occurred()) SWIG_fail; | |
3986 | } | |
3987 | { | |
3988 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3989 | } | |
3990 | return resultobj; | |
3991 | fail: | |
3992 | return NULL; | |
3993 | } | |
3994 | ||
3995 | ||
5eb8189c | 3996 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 3997 | PyObject *resultobj = 0; |
5eb8189c | 3998 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
3999 | bool result; |
4000 | void *argp1 = 0 ; | |
4001 | int res1 = 0 ; | |
4002 | PyObject *swig_obj[1] ; | |
4003 | ||
4004 | if (!args) SWIG_fail; | |
4005 | swig_obj[0] = args; | |
5eb8189c | 4006 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4007 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4008 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4009 | } |
5eb8189c | 4010 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4011 | { |
4012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4013 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton(); |
27e45892 RD |
4014 | wxPyEndAllowThreads(__tstate); |
4015 | if (PyErr_Occurred()) SWIG_fail; | |
4016 | } | |
4017 | { | |
4018 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4019 | } | |
4020 | return resultobj; | |
4021 | fail: | |
4022 | return NULL; | |
4023 | } | |
4024 | ||
4025 | ||
5eb8189c | 4026 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4027 | PyObject *resultobj = 0; |
5eb8189c | 4028 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4029 | bool result; |
4030 | void *argp1 = 0 ; | |
4031 | int res1 = 0 ; | |
4032 | PyObject *swig_obj[1] ; | |
4033 | ||
4034 | if (!args) SWIG_fail; | |
4035 | swig_obj[0] = args; | |
5eb8189c | 4036 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4037 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4039 | } |
5eb8189c | 4040 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4041 | { |
4042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4043 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton(); |
27e45892 RD |
4044 | wxPyEndAllowThreads(__tstate); |
4045 | if (PyErr_Occurred()) SWIG_fail; | |
4046 | } | |
4047 | { | |
4048 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4049 | } | |
4050 | return resultobj; | |
4051 | fail: | |
4052 | return NULL; | |
4053 | } | |
4054 | ||
4055 | ||
5eb8189c | 4056 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4057 | PyObject *resultobj = 0; |
5eb8189c | 4058 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4059 | bool result; |
4060 | void *argp1 = 0 ; | |
4061 | int res1 = 0 ; | |
4062 | PyObject *swig_obj[1] ; | |
4063 | ||
4064 | if (!args) SWIG_fail; | |
4065 | swig_obj[0] = args; | |
5eb8189c | 4066 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4067 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4069 | } |
5eb8189c | 4070 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4071 | { |
4072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4073 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton(); |
27e45892 RD |
4074 | wxPyEndAllowThreads(__tstate); |
4075 | if (PyErr_Occurred()) SWIG_fail; | |
4076 | } | |
4077 | { | |
4078 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4079 | } | |
4080 | return resultobj; | |
4081 | fail: | |
4082 | return NULL; | |
4083 | } | |
4084 | ||
4085 | ||
5eb8189c | 4086 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4087 | PyObject *resultobj = 0; |
5eb8189c | 4088 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
4089 | bool result; |
4090 | void *argp1 = 0 ; | |
4091 | int res1 = 0 ; | |
4092 | PyObject *swig_obj[1] ; | |
4093 | ||
4094 | if (!args) SWIG_fail; | |
4095 | swig_obj[0] = args; | |
5eb8189c | 4096 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4097 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4098 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 4099 | } |
5eb8189c | 4100 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4101 | { |
4102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 4103 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton(); |
27e45892 RD |
4104 | wxPyEndAllowThreads(__tstate); |
4105 | if (PyErr_Occurred()) SWIG_fail; | |
4106 | } | |
4107 | { | |
4108 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4109 | } | |
4110 | return resultobj; | |
4111 | fail: | |
4112 | return NULL; | |
4113 | } | |
4114 | ||
4115 | ||
5eb8189c | 4116 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4117 | PyObject *resultobj = 0; |
5eb8189c RD |
4118 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4119 | bool result; | |
4120 | void *argp1 = 0 ; | |
4121 | int res1 = 0 ; | |
4122 | PyObject *swig_obj[1] ; | |
4123 | ||
4124 | if (!args) SWIG_fail; | |
4125 | swig_obj[0] = args; | |
4126 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
4127 | if (!SWIG_IsOK(res1)) { | |
4128 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); | |
4129 | } | |
4130 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
4131 | { | |
4132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4133 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop(); | |
4134 | wxPyEndAllowThreads(__tstate); | |
4135 | if (PyErr_Occurred()) SWIG_fail; | |
4136 | } | |
4137 | { | |
4138 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4139 | } | |
4140 | return resultobj; | |
4141 | fail: | |
4142 | return NULL; | |
4143 | } | |
4144 | ||
4145 | ||
4146 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4147 | PyObject *resultobj = 0; | |
4148 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 4149 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 4150 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4151 | void *argp1 = 0 ; |
4152 | int res1 = 0 ; | |
4153 | void *argp2 = 0 ; | |
4154 | int res2 = 0 ; | |
4155 | PyObject * obj0 = 0 ; | |
4156 | PyObject * obj1 = 0 ; | |
4157 | char * kwnames[] = { | |
4158 | (char *) "self",(char *) "w", NULL | |
4159 | }; | |
4160 | ||
5eb8189c RD |
4161 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail; |
4162 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4163 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4164 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4165 | } |
5eb8189c | 4166 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4167 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
4168 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 4169 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
4170 | } |
4171 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4172 | { | |
4173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4174 | { | |
5eb8189c RD |
4175 | wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2); |
4176 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4177 | } |
4178 | wxPyEndAllowThreads(__tstate); | |
4179 | if (PyErr_Occurred()) SWIG_fail; | |
4180 | } | |
4181 | { | |
4182 | resultobj = obj0; Py_INCREF(resultobj); | |
4183 | } | |
4184 | return resultobj; | |
4185 | fail: | |
4186 | return NULL; | |
4187 | } | |
4188 | ||
4189 | ||
5eb8189c | 4190 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4191 | PyObject *resultobj = 0; |
5eb8189c | 4192 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4193 | wxString *arg2 = 0 ; |
5eb8189c | 4194 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4195 | void *argp1 = 0 ; |
4196 | int res1 = 0 ; | |
4197 | bool temp2 = false ; | |
4198 | PyObject * obj0 = 0 ; | |
4199 | PyObject * obj1 = 0 ; | |
4200 | char * kwnames[] = { | |
4201 | (char *) "self",(char *) "n", NULL | |
4202 | }; | |
4203 | ||
5eb8189c RD |
4204 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail; |
4205 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4206 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4207 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4208 | } |
5eb8189c | 4209 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4210 | { |
4211 | arg2 = wxString_in_helper(obj1); | |
4212 | if (arg2 == NULL) SWIG_fail; | |
4213 | temp2 = true; | |
4214 | } | |
4215 | { | |
4216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4217 | { | |
5eb8189c RD |
4218 | wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2); |
4219 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4220 | } |
4221 | wxPyEndAllowThreads(__tstate); | |
4222 | if (PyErr_Occurred()) SWIG_fail; | |
4223 | } | |
4224 | { | |
4225 | resultobj = obj0; Py_INCREF(resultobj); | |
4226 | } | |
4227 | { | |
4228 | if (temp2) | |
4229 | delete arg2; | |
4230 | } | |
4231 | return resultobj; | |
4232 | fail: | |
4233 | { | |
4234 | if (temp2) | |
4235 | delete arg2; | |
4236 | } | |
4237 | return NULL; | |
4238 | } | |
4239 | ||
4240 | ||
5eb8189c | 4241 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4242 | PyObject *resultobj = 0; |
5eb8189c | 4243 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4244 | wxString *arg2 = 0 ; |
5eb8189c | 4245 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4246 | void *argp1 = 0 ; |
4247 | int res1 = 0 ; | |
4248 | bool temp2 = false ; | |
4249 | PyObject * obj0 = 0 ; | |
4250 | PyObject * obj1 = 0 ; | |
4251 | char * kwnames[] = { | |
4252 | (char *) "self",(char *) "c", NULL | |
4253 | }; | |
4254 | ||
5eb8189c RD |
4255 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail; |
4256 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4257 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4258 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4259 | } |
5eb8189c | 4260 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4261 | { |
4262 | arg2 = wxString_in_helper(obj1); | |
4263 | if (arg2 == NULL) SWIG_fail; | |
4264 | temp2 = true; | |
4265 | } | |
4266 | { | |
4267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4268 | { | |
5eb8189c RD |
4269 | wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2); |
4270 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4271 | } |
4272 | wxPyEndAllowThreads(__tstate); | |
4273 | if (PyErr_Occurred()) SWIG_fail; | |
4274 | } | |
4275 | { | |
4276 | resultobj = obj0; Py_INCREF(resultobj); | |
4277 | } | |
4278 | { | |
4279 | if (temp2) | |
4280 | delete arg2; | |
4281 | } | |
4282 | return resultobj; | |
4283 | fail: | |
4284 | { | |
4285 | if (temp2) | |
4286 | delete arg2; | |
4287 | } | |
4288 | return NULL; | |
4289 | } | |
4290 | ||
4291 | ||
5eb8189c | 4292 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4293 | PyObject *resultobj = 0; |
5eb8189c RD |
4294 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4295 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4296 | void *argp1 = 0 ; |
4297 | int res1 = 0 ; | |
4298 | PyObject *swig_obj[1] ; | |
4299 | ||
4300 | if (!args) SWIG_fail; | |
4301 | swig_obj[0] = args; | |
5eb8189c | 4302 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4303 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4305 | } |
5eb8189c | 4306 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4307 | { |
4308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4309 | { | |
5eb8189c RD |
4310 | wxAuiPaneInfo &_result_ref = (arg1)->Left(); |
4311 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4312 | } |
4313 | wxPyEndAllowThreads(__tstate); | |
4314 | if (PyErr_Occurred()) SWIG_fail; | |
4315 | } | |
4316 | { | |
4317 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4318 | } | |
4319 | return resultobj; | |
4320 | fail: | |
4321 | return NULL; | |
4322 | } | |
4323 | ||
4324 | ||
5eb8189c | 4325 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4326 | PyObject *resultobj = 0; |
5eb8189c RD |
4327 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4328 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4329 | void *argp1 = 0 ; |
4330 | int res1 = 0 ; | |
4331 | PyObject *swig_obj[1] ; | |
4332 | ||
4333 | if (!args) SWIG_fail; | |
4334 | swig_obj[0] = args; | |
5eb8189c | 4335 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4336 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4338 | } |
5eb8189c | 4339 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4340 | { |
4341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4342 | { | |
5eb8189c RD |
4343 | wxAuiPaneInfo &_result_ref = (arg1)->Right(); |
4344 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4345 | } |
4346 | wxPyEndAllowThreads(__tstate); | |
4347 | if (PyErr_Occurred()) SWIG_fail; | |
4348 | } | |
4349 | { | |
4350 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4351 | } | |
4352 | return resultobj; | |
4353 | fail: | |
4354 | return NULL; | |
4355 | } | |
4356 | ||
4357 | ||
5eb8189c | 4358 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4359 | PyObject *resultobj = 0; |
5eb8189c RD |
4360 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4361 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4362 | void *argp1 = 0 ; |
4363 | int res1 = 0 ; | |
4364 | PyObject *swig_obj[1] ; | |
4365 | ||
4366 | if (!args) SWIG_fail; | |
4367 | swig_obj[0] = args; | |
5eb8189c | 4368 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4369 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4370 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4371 | } |
5eb8189c | 4372 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4373 | { |
4374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4375 | { | |
5eb8189c RD |
4376 | wxAuiPaneInfo &_result_ref = (arg1)->Top(); |
4377 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4378 | } |
4379 | wxPyEndAllowThreads(__tstate); | |
4380 | if (PyErr_Occurred()) SWIG_fail; | |
4381 | } | |
4382 | { | |
4383 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4384 | } | |
4385 | return resultobj; | |
4386 | fail: | |
4387 | return NULL; | |
4388 | } | |
4389 | ||
4390 | ||
5eb8189c | 4391 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4392 | PyObject *resultobj = 0; |
5eb8189c RD |
4393 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4394 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4395 | void *argp1 = 0 ; |
4396 | int res1 = 0 ; | |
4397 | PyObject *swig_obj[1] ; | |
4398 | ||
4399 | if (!args) SWIG_fail; | |
4400 | swig_obj[0] = args; | |
5eb8189c | 4401 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4402 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4403 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4404 | } |
5eb8189c | 4405 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4406 | { |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4408 | { | |
5eb8189c RD |
4409 | wxAuiPaneInfo &_result_ref = (arg1)->Bottom(); |
4410 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4411 | } |
4412 | wxPyEndAllowThreads(__tstate); | |
4413 | if (PyErr_Occurred()) SWIG_fail; | |
4414 | } | |
4415 | { | |
4416 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4417 | } | |
4418 | return resultobj; | |
4419 | fail: | |
4420 | return NULL; | |
4421 | } | |
4422 | ||
4423 | ||
5eb8189c | 4424 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4425 | PyObject *resultobj = 0; |
5eb8189c RD |
4426 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4427 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4428 | void *argp1 = 0 ; |
4429 | int res1 = 0 ; | |
4430 | PyObject *swig_obj[1] ; | |
4431 | ||
4432 | if (!args) SWIG_fail; | |
4433 | swig_obj[0] = args; | |
5eb8189c | 4434 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4435 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4437 | } |
5eb8189c | 4438 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4439 | { |
4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4441 | { | |
5eb8189c RD |
4442 | wxAuiPaneInfo &_result_ref = (arg1)->Center(); |
4443 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4444 | } |
4445 | wxPyEndAllowThreads(__tstate); | |
4446 | if (PyErr_Occurred()) SWIG_fail; | |
4447 | } | |
4448 | { | |
4449 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4450 | } | |
4451 | return resultobj; | |
4452 | fail: | |
4453 | return NULL; | |
4454 | } | |
4455 | ||
4456 | ||
5eb8189c | 4457 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4458 | PyObject *resultobj = 0; |
5eb8189c RD |
4459 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4460 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4461 | void *argp1 = 0 ; |
4462 | int res1 = 0 ; | |
4463 | PyObject *swig_obj[1] ; | |
4464 | ||
4465 | if (!args) SWIG_fail; | |
4466 | swig_obj[0] = args; | |
5eb8189c | 4467 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4468 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4469 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4470 | } |
5eb8189c | 4471 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4472 | { |
4473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4474 | { | |
5eb8189c RD |
4475 | wxAuiPaneInfo &_result_ref = (arg1)->Centre(); |
4476 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4477 | } |
4478 | wxPyEndAllowThreads(__tstate); | |
4479 | if (PyErr_Occurred()) SWIG_fail; | |
4480 | } | |
4481 | { | |
4482 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4483 | } | |
4484 | return resultobj; | |
4485 | fail: | |
4486 | return NULL; | |
4487 | } | |
4488 | ||
4489 | ||
5eb8189c | 4490 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4491 | PyObject *resultobj = 0; |
5eb8189c | 4492 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4493 | int arg2 ; |
5eb8189c | 4494 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4495 | void *argp1 = 0 ; |
4496 | int res1 = 0 ; | |
4497 | int val2 ; | |
4498 | int ecode2 = 0 ; | |
4499 | PyObject * obj0 = 0 ; | |
4500 | PyObject * obj1 = 0 ; | |
4501 | char * kwnames[] = { | |
4502 | (char *) "self",(char *) "direction", NULL | |
4503 | }; | |
4504 | ||
5eb8189c RD |
4505 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail; |
4506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4507 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4509 | } |
5eb8189c | 4510 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4511 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4512 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4513 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4514 | } |
4515 | arg2 = static_cast< int >(val2); | |
4516 | { | |
4517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4518 | { | |
5eb8189c RD |
4519 | wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2); |
4520 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4521 | } |
4522 | wxPyEndAllowThreads(__tstate); | |
4523 | if (PyErr_Occurred()) SWIG_fail; | |
4524 | } | |
4525 | { | |
4526 | resultobj = obj0; Py_INCREF(resultobj); | |
4527 | } | |
4528 | return resultobj; | |
4529 | fail: | |
4530 | return NULL; | |
4531 | } | |
4532 | ||
4533 | ||
5eb8189c | 4534 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4535 | PyObject *resultobj = 0; |
5eb8189c | 4536 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4537 | int arg2 ; |
5eb8189c | 4538 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4539 | void *argp1 = 0 ; |
4540 | int res1 = 0 ; | |
4541 | int val2 ; | |
4542 | int ecode2 = 0 ; | |
4543 | PyObject * obj0 = 0 ; | |
4544 | PyObject * obj1 = 0 ; | |
4545 | char * kwnames[] = { | |
4546 | (char *) "self",(char *) "layer", NULL | |
4547 | }; | |
4548 | ||
5eb8189c RD |
4549 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail; |
4550 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4551 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4552 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4553 | } |
5eb8189c | 4554 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4555 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4556 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4557 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4558 | } |
4559 | arg2 = static_cast< int >(val2); | |
4560 | { | |
4561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4562 | { | |
5eb8189c RD |
4563 | wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2); |
4564 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4565 | } |
4566 | wxPyEndAllowThreads(__tstate); | |
4567 | if (PyErr_Occurred()) SWIG_fail; | |
4568 | } | |
4569 | { | |
4570 | resultobj = obj0; Py_INCREF(resultobj); | |
4571 | } | |
4572 | return resultobj; | |
4573 | fail: | |
4574 | return NULL; | |
4575 | } | |
4576 | ||
4577 | ||
5eb8189c | 4578 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4579 | PyObject *resultobj = 0; |
5eb8189c | 4580 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4581 | int arg2 ; |
5eb8189c | 4582 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4583 | void *argp1 = 0 ; |
4584 | int res1 = 0 ; | |
4585 | int val2 ; | |
4586 | int ecode2 = 0 ; | |
4587 | PyObject * obj0 = 0 ; | |
4588 | PyObject * obj1 = 0 ; | |
4589 | char * kwnames[] = { | |
4590 | (char *) "self",(char *) "row", NULL | |
4591 | }; | |
4592 | ||
5eb8189c RD |
4593 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail; |
4594 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4595 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4597 | } |
5eb8189c | 4598 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4599 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4600 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4601 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4602 | } |
4603 | arg2 = static_cast< int >(val2); | |
4604 | { | |
4605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4606 | { | |
5eb8189c RD |
4607 | wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2); |
4608 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4609 | } |
4610 | wxPyEndAllowThreads(__tstate); | |
4611 | if (PyErr_Occurred()) SWIG_fail; | |
4612 | } | |
4613 | { | |
4614 | resultobj = obj0; Py_INCREF(resultobj); | |
4615 | } | |
4616 | return resultobj; | |
4617 | fail: | |
4618 | return NULL; | |
4619 | } | |
4620 | ||
4621 | ||
5eb8189c | 4622 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4623 | PyObject *resultobj = 0; |
5eb8189c | 4624 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4625 | int arg2 ; |
5eb8189c | 4626 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4627 | void *argp1 = 0 ; |
4628 | int res1 = 0 ; | |
4629 | int val2 ; | |
4630 | int ecode2 = 0 ; | |
4631 | PyObject * obj0 = 0 ; | |
4632 | PyObject * obj1 = 0 ; | |
4633 | char * kwnames[] = { | |
4634 | (char *) "self",(char *) "pos", NULL | |
4635 | }; | |
4636 | ||
5eb8189c RD |
4637 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail; |
4638 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4639 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4640 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4641 | } |
5eb8189c | 4642 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4643 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
4644 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4645 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
4646 | } |
4647 | arg2 = static_cast< int >(val2); | |
4648 | { | |
4649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4650 | { | |
5eb8189c RD |
4651 | wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2); |
4652 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4653 | } |
4654 | wxPyEndAllowThreads(__tstate); | |
4655 | if (PyErr_Occurred()) SWIG_fail; | |
4656 | } | |
4657 | { | |
4658 | resultobj = obj0; Py_INCREF(resultobj); | |
4659 | } | |
4660 | return resultobj; | |
4661 | fail: | |
4662 | return NULL; | |
4663 | } | |
4664 | ||
4665 | ||
5eb8189c | 4666 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4667 | PyObject *resultobj = 0; |
5eb8189c | 4668 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4669 | wxSize *arg2 = 0 ; |
5eb8189c | 4670 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4671 | void *argp1 = 0 ; |
4672 | int res1 = 0 ; | |
4673 | wxSize temp2 ; | |
4674 | PyObject * obj0 = 0 ; | |
4675 | PyObject * obj1 = 0 ; | |
4676 | char * kwnames[] = { | |
4677 | (char *) "self",(char *) "size", NULL | |
4678 | }; | |
4679 | ||
5eb8189c RD |
4680 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4681 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4682 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4683 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4684 | } |
5eb8189c | 4685 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4686 | { |
4687 | arg2 = &temp2; | |
4688 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4689 | } | |
4690 | { | |
4691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4692 | { | |
5eb8189c RD |
4693 | wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2); |
4694 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4695 | } |
4696 | wxPyEndAllowThreads(__tstate); | |
4697 | if (PyErr_Occurred()) SWIG_fail; | |
4698 | } | |
4699 | { | |
4700 | resultobj = obj0; Py_INCREF(resultobj); | |
4701 | } | |
4702 | return resultobj; | |
4703 | fail: | |
4704 | return NULL; | |
4705 | } | |
4706 | ||
4707 | ||
5eb8189c | 4708 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4709 | PyObject *resultobj = 0; |
5eb8189c | 4710 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4711 | wxSize *arg2 = 0 ; |
5eb8189c | 4712 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4713 | void *argp1 = 0 ; |
4714 | int res1 = 0 ; | |
4715 | wxSize temp2 ; | |
4716 | PyObject * obj0 = 0 ; | |
4717 | PyObject * obj1 = 0 ; | |
4718 | char * kwnames[] = { | |
4719 | (char *) "self",(char *) "size", NULL | |
4720 | }; | |
4721 | ||
5eb8189c RD |
4722 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4723 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4724 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4725 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4726 | } |
5eb8189c | 4727 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4728 | { |
4729 | arg2 = &temp2; | |
4730 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4731 | } | |
4732 | { | |
4733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4734 | { | |
5eb8189c RD |
4735 | wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2); |
4736 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4737 | } |
4738 | wxPyEndAllowThreads(__tstate); | |
4739 | if (PyErr_Occurred()) SWIG_fail; | |
4740 | } | |
4741 | { | |
4742 | resultobj = obj0; Py_INCREF(resultobj); | |
4743 | } | |
4744 | return resultobj; | |
4745 | fail: | |
4746 | return NULL; | |
4747 | } | |
4748 | ||
4749 | ||
5eb8189c | 4750 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4751 | PyObject *resultobj = 0; |
5eb8189c | 4752 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4753 | wxSize *arg2 = 0 ; |
5eb8189c | 4754 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4755 | void *argp1 = 0 ; |
4756 | int res1 = 0 ; | |
4757 | wxSize temp2 ; | |
4758 | PyObject * obj0 = 0 ; | |
4759 | PyObject * obj1 = 0 ; | |
4760 | char * kwnames[] = { | |
4761 | (char *) "self",(char *) "size", NULL | |
4762 | }; | |
4763 | ||
5eb8189c RD |
4764 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4765 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4766 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4768 | } |
5eb8189c | 4769 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4770 | { |
4771 | arg2 = &temp2; | |
4772 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4773 | } | |
4774 | { | |
4775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4776 | { | |
5eb8189c RD |
4777 | wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2); |
4778 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4779 | } |
4780 | wxPyEndAllowThreads(__tstate); | |
4781 | if (PyErr_Occurred()) SWIG_fail; | |
4782 | } | |
4783 | { | |
4784 | resultobj = obj0; Py_INCREF(resultobj); | |
4785 | } | |
4786 | return resultobj; | |
4787 | fail: | |
4788 | return NULL; | |
4789 | } | |
4790 | ||
4791 | ||
5eb8189c | 4792 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4793 | PyObject *resultobj = 0; |
5eb8189c | 4794 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4795 | wxPoint *arg2 = 0 ; |
5eb8189c | 4796 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4797 | void *argp1 = 0 ; |
4798 | int res1 = 0 ; | |
4799 | wxPoint temp2 ; | |
4800 | PyObject * obj0 = 0 ; | |
4801 | PyObject * obj1 = 0 ; | |
4802 | char * kwnames[] = { | |
4803 | (char *) "self",(char *) "pos", NULL | |
4804 | }; | |
4805 | ||
5eb8189c RD |
4806 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail; |
4807 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4808 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4809 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4810 | } |
5eb8189c | 4811 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4812 | { |
4813 | arg2 = &temp2; | |
4814 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
4815 | } | |
4816 | { | |
4817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4818 | { | |
5eb8189c RD |
4819 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2); |
4820 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4821 | } |
4822 | wxPyEndAllowThreads(__tstate); | |
4823 | if (PyErr_Occurred()) SWIG_fail; | |
4824 | } | |
4825 | { | |
4826 | resultobj = obj0; Py_INCREF(resultobj); | |
4827 | } | |
4828 | return resultobj; | |
4829 | fail: | |
4830 | return NULL; | |
4831 | } | |
4832 | ||
4833 | ||
5eb8189c | 4834 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4835 | PyObject *resultobj = 0; |
5eb8189c | 4836 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4837 | wxSize *arg2 = 0 ; |
5eb8189c | 4838 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4839 | void *argp1 = 0 ; |
4840 | int res1 = 0 ; | |
4841 | wxSize temp2 ; | |
4842 | PyObject * obj0 = 0 ; | |
4843 | PyObject * obj1 = 0 ; | |
4844 | char * kwnames[] = { | |
4845 | (char *) "self",(char *) "size", NULL | |
4846 | }; | |
4847 | ||
5eb8189c RD |
4848 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail; |
4849 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4850 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4852 | } |
5eb8189c | 4853 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4854 | { |
4855 | arg2 = &temp2; | |
4856 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
4857 | } | |
4858 | { | |
4859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4860 | { | |
5eb8189c RD |
4861 | wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2); |
4862 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4863 | } |
4864 | wxPyEndAllowThreads(__tstate); | |
4865 | if (PyErr_Occurred()) SWIG_fail; | |
4866 | } | |
4867 | { | |
4868 | resultobj = obj0; Py_INCREF(resultobj); | |
4869 | } | |
4870 | return resultobj; | |
4871 | fail: | |
4872 | return NULL; | |
4873 | } | |
4874 | ||
4875 | ||
5eb8189c | 4876 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4877 | PyObject *resultobj = 0; |
5eb8189c RD |
4878 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4879 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4880 | void *argp1 = 0 ; |
4881 | int res1 = 0 ; | |
4882 | PyObject *swig_obj[1] ; | |
4883 | ||
4884 | if (!args) SWIG_fail; | |
4885 | swig_obj[0] = args; | |
5eb8189c | 4886 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4887 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4888 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4889 | } |
5eb8189c | 4890 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4891 | { |
4892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4893 | { | |
5eb8189c RD |
4894 | wxAuiPaneInfo &_result_ref = (arg1)->Fixed(); |
4895 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4896 | } |
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4900 | { | |
4901 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4902 | } | |
4903 | return resultobj; | |
4904 | fail: | |
4905 | return NULL; | |
4906 | } | |
4907 | ||
4908 | ||
5eb8189c | 4909 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 4910 | PyObject *resultobj = 0; |
5eb8189c | 4911 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 4912 | bool arg2 = (bool) true ; |
5eb8189c | 4913 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
4914 | void *argp1 = 0 ; |
4915 | int res1 = 0 ; | |
4916 | bool val2 ; | |
4917 | int ecode2 = 0 ; | |
4918 | PyObject * obj0 = 0 ; | |
4919 | PyObject * obj1 = 0 ; | |
4920 | char * kwnames[] = { | |
4921 | (char *) "self",(char *) "resizable", NULL | |
4922 | }; | |
4923 | ||
5eb8189c RD |
4924 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail; |
4925 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 4926 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4927 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4928 | } |
5eb8189c | 4929 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4930 | if (obj1) { |
4931 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
4932 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 4933 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
4934 | } |
4935 | arg2 = static_cast< bool >(val2); | |
4936 | } | |
4937 | { | |
4938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4939 | { | |
5eb8189c RD |
4940 | wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2); |
4941 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4942 | } |
4943 | wxPyEndAllowThreads(__tstate); | |
4944 | if (PyErr_Occurred()) SWIG_fail; | |
4945 | } | |
4946 | { | |
4947 | resultobj = obj0; Py_INCREF(resultobj); | |
4948 | } | |
4949 | return resultobj; | |
4950 | fail: | |
4951 | return NULL; | |
4952 | } | |
4953 | ||
4954 | ||
5eb8189c | 4955 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4956 | PyObject *resultobj = 0; |
5eb8189c RD |
4957 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4958 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4959 | void *argp1 = 0 ; |
4960 | int res1 = 0 ; | |
4961 | PyObject *swig_obj[1] ; | |
4962 | ||
4963 | if (!args) SWIG_fail; | |
4964 | swig_obj[0] = args; | |
5eb8189c | 4965 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4966 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 4967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 4968 | } |
5eb8189c | 4969 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
4970 | { |
4971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4972 | { | |
5eb8189c RD |
4973 | wxAuiPaneInfo &_result_ref = (arg1)->Dock(); |
4974 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
4975 | } |
4976 | wxPyEndAllowThreads(__tstate); | |
4977 | if (PyErr_Occurred()) SWIG_fail; | |
4978 | } | |
4979 | { | |
4980 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
4981 | } | |
4982 | return resultobj; | |
4983 | fail: | |
4984 | return NULL; | |
4985 | } | |
4986 | ||
4987 | ||
5eb8189c | 4988 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 4989 | PyObject *resultobj = 0; |
5eb8189c RD |
4990 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
4991 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
4992 | void *argp1 = 0 ; |
4993 | int res1 = 0 ; | |
4994 | PyObject *swig_obj[1] ; | |
4995 | ||
4996 | if (!args) SWIG_fail; | |
4997 | swig_obj[0] = args; | |
5eb8189c | 4998 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 4999 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5000 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5001 | } |
5eb8189c | 5002 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5003 | { |
5004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5005 | { | |
5eb8189c RD |
5006 | wxAuiPaneInfo &_result_ref = (arg1)->Float(); |
5007 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5008 | } |
5009 | wxPyEndAllowThreads(__tstate); | |
5010 | if (PyErr_Occurred()) SWIG_fail; | |
5011 | } | |
5012 | { | |
5013 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5014 | } | |
5015 | return resultobj; | |
5016 | fail: | |
5017 | return NULL; | |
5018 | } | |
5019 | ||
5020 | ||
5eb8189c | 5021 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5022 | PyObject *resultobj = 0; |
5eb8189c RD |
5023 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5024 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5025 | void *argp1 = 0 ; |
5026 | int res1 = 0 ; | |
5027 | PyObject *swig_obj[1] ; | |
5028 | ||
5029 | if (!args) SWIG_fail; | |
5030 | swig_obj[0] = args; | |
5eb8189c | 5031 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5032 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5033 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5034 | } |
5eb8189c | 5035 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5036 | { |
5037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5038 | { | |
5eb8189c RD |
5039 | wxAuiPaneInfo &_result_ref = (arg1)->Hide(); |
5040 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5041 | } |
5042 | wxPyEndAllowThreads(__tstate); | |
5043 | if (PyErr_Occurred()) SWIG_fail; | |
5044 | } | |
5045 | { | |
5046 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5047 | } | |
5048 | return resultobj; | |
5049 | fail: | |
5050 | return NULL; | |
5051 | } | |
5052 | ||
5053 | ||
5eb8189c | 5054 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5055 | PyObject *resultobj = 0; |
5eb8189c | 5056 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5057 | bool arg2 = (bool) true ; |
5eb8189c | 5058 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5059 | void *argp1 = 0 ; |
5060 | int res1 = 0 ; | |
5061 | bool val2 ; | |
5062 | int ecode2 = 0 ; | |
5063 | PyObject * obj0 = 0 ; | |
5064 | PyObject * obj1 = 0 ; | |
5065 | char * kwnames[] = { | |
5066 | (char *) "self",(char *) "show", NULL | |
5067 | }; | |
5068 | ||
5eb8189c RD |
5069 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail; |
5070 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5071 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5072 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5073 | } |
5eb8189c | 5074 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5075 | if (obj1) { |
5076 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5077 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5078 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5079 | } |
5080 | arg2 = static_cast< bool >(val2); | |
5081 | } | |
5082 | { | |
5083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5084 | { | |
5eb8189c RD |
5085 | wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2); |
5086 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5087 | } |
5088 | wxPyEndAllowThreads(__tstate); | |
5089 | if (PyErr_Occurred()) SWIG_fail; | |
5090 | } | |
5091 | { | |
5092 | resultobj = obj0; Py_INCREF(resultobj); | |
5093 | } | |
5094 | return resultobj; | |
5095 | fail: | |
5096 | return NULL; | |
5097 | } | |
5098 | ||
5099 | ||
5eb8189c | 5100 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5101 | PyObject *resultobj = 0; |
5eb8189c | 5102 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5103 | bool arg2 = (bool) true ; |
5eb8189c | 5104 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5105 | void *argp1 = 0 ; |
5106 | int res1 = 0 ; | |
5107 | bool val2 ; | |
5108 | int ecode2 = 0 ; | |
5109 | PyObject * obj0 = 0 ; | |
5110 | PyObject * obj1 = 0 ; | |
5111 | char * kwnames[] = { | |
5112 | (char *) "self",(char *) "visible", NULL | |
5113 | }; | |
5114 | ||
5eb8189c RD |
5115 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
5116 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5117 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5118 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5119 | } |
5eb8189c | 5120 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5121 | if (obj1) { |
5122 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5123 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5124 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5125 | } |
5126 | arg2 = static_cast< bool >(val2); | |
5127 | } | |
5128 | { | |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5130 | { | |
5eb8189c RD |
5131 | wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2); |
5132 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5133 | } |
5134 | wxPyEndAllowThreads(__tstate); | |
5135 | if (PyErr_Occurred()) SWIG_fail; | |
5136 | } | |
5137 | { | |
5138 | resultobj = obj0; Py_INCREF(resultobj); | |
5139 | } | |
5140 | return resultobj; | |
5141 | fail: | |
5142 | return NULL; | |
5143 | } | |
5144 | ||
5145 | ||
5eb8189c RD |
5146 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5147 | PyObject *resultobj = 0; | |
5148 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
5149 | wxAuiPaneInfo *result = 0 ; | |
5150 | void *argp1 = 0 ; | |
5151 | int res1 = 0 ; | |
5152 | PyObject *swig_obj[1] ; | |
5153 | ||
5154 | if (!args) SWIG_fail; | |
5155 | swig_obj[0] = args; | |
5156 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5157 | if (!SWIG_IsOK(res1)) { | |
5158 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5159 | } | |
5160 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5161 | { | |
5162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5163 | { | |
5164 | wxAuiPaneInfo &_result_ref = (arg1)->Maximize(); | |
5165 | result = (wxAuiPaneInfo *) &_result_ref; | |
5166 | } | |
5167 | wxPyEndAllowThreads(__tstate); | |
5168 | if (PyErr_Occurred()) SWIG_fail; | |
5169 | } | |
5170 | { | |
5171 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5172 | } | |
5173 | return resultobj; | |
5174 | fail: | |
5175 | return NULL; | |
5176 | } | |
5177 | ||
5178 | ||
5179 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 5180 | PyObject *resultobj = 0; |
5eb8189c RD |
5181 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5182 | wxAuiPaneInfo *result = 0 ; | |
5183 | void *argp1 = 0 ; | |
5184 | int res1 = 0 ; | |
5185 | PyObject *swig_obj[1] ; | |
5186 | ||
5187 | if (!args) SWIG_fail; | |
5188 | swig_obj[0] = args; | |
5189 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
5190 | if (!SWIG_IsOK(res1)) { | |
5191 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); | |
5192 | } | |
5193 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); | |
5194 | { | |
5195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5196 | { | |
5197 | wxAuiPaneInfo &_result_ref = (arg1)->Restore(); | |
5198 | result = (wxAuiPaneInfo *) &_result_ref; | |
5199 | } | |
5200 | wxPyEndAllowThreads(__tstate); | |
5201 | if (PyErr_Occurred()) SWIG_fail; | |
5202 | } | |
5203 | { | |
5204 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5205 | } | |
5206 | return resultobj; | |
5207 | fail: | |
5208 | return NULL; | |
5209 | } | |
5210 | ||
5211 | ||
5212 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5213 | PyObject *resultobj = 0; | |
5214 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5215 | bool arg2 = (bool) true ; |
5eb8189c | 5216 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5217 | void *argp1 = 0 ; |
5218 | int res1 = 0 ; | |
5219 | bool val2 ; | |
5220 | int ecode2 = 0 ; | |
5221 | PyObject * obj0 = 0 ; | |
5222 | PyObject * obj1 = 0 ; | |
5223 | char * kwnames[] = { | |
5224 | (char *) "self",(char *) "visible", NULL | |
5225 | }; | |
5226 | ||
5eb8189c RD |
5227 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail; |
5228 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5229 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5231 | } |
5eb8189c | 5232 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5233 | if (obj1) { |
5234 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5235 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5236 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5237 | } |
5238 | arg2 = static_cast< bool >(val2); | |
5239 | } | |
5240 | { | |
5241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5242 | { | |
5eb8189c RD |
5243 | wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2); |
5244 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5245 | } |
5246 | wxPyEndAllowThreads(__tstate); | |
5247 | if (PyErr_Occurred()) SWIG_fail; | |
5248 | } | |
5249 | { | |
5250 | resultobj = obj0; Py_INCREF(resultobj); | |
5251 | } | |
5252 | return resultobj; | |
5253 | fail: | |
5254 | return NULL; | |
5255 | } | |
5256 | ||
5257 | ||
5eb8189c | 5258 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5259 | PyObject *resultobj = 0; |
5eb8189c | 5260 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5261 | bool arg2 = (bool) true ; |
5eb8189c | 5262 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5263 | void *argp1 = 0 ; |
5264 | int res1 = 0 ; | |
5265 | bool val2 ; | |
5266 | int ecode2 = 0 ; | |
5267 | PyObject * obj0 = 0 ; | |
5268 | PyObject * obj1 = 0 ; | |
5269 | char * kwnames[] = { | |
5270 | (char *) "self",(char *) "visible", NULL | |
5271 | }; | |
5272 | ||
5eb8189c RD |
5273 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail; |
5274 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5275 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5276 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5277 | } |
5eb8189c | 5278 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5279 | if (obj1) { |
5280 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5281 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5282 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5283 | } |
5284 | arg2 = static_cast< bool >(val2); | |
5285 | } | |
5286 | { | |
5287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5288 | { | |
5eb8189c RD |
5289 | wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2); |
5290 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5291 | } |
5292 | wxPyEndAllowThreads(__tstate); | |
5293 | if (PyErr_Occurred()) SWIG_fail; | |
5294 | } | |
5295 | { | |
5296 | resultobj = obj0; Py_INCREF(resultobj); | |
5297 | } | |
5298 | return resultobj; | |
5299 | fail: | |
5300 | return NULL; | |
5301 | } | |
5302 | ||
5303 | ||
5eb8189c | 5304 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5305 | PyObject *resultobj = 0; |
5eb8189c | 5306 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5307 | bool arg2 = (bool) true ; |
5eb8189c | 5308 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5309 | void *argp1 = 0 ; |
5310 | int res1 = 0 ; | |
5311 | bool val2 ; | |
5312 | int ecode2 = 0 ; | |
5313 | PyObject * obj0 = 0 ; | |
5314 | PyObject * obj1 = 0 ; | |
5315 | char * kwnames[] = { | |
5316 | (char *) "self",(char *) "attop", NULL | |
5317 | }; | |
5318 | ||
5eb8189c RD |
5319 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail; |
5320 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5321 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5322 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5323 | } |
5eb8189c | 5324 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5325 | if (obj1) { |
5326 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5327 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5328 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5329 | } |
5330 | arg2 = static_cast< bool >(val2); | |
5331 | } | |
5332 | { | |
5333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5334 | { | |
5eb8189c RD |
5335 | wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2); |
5336 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5337 | } |
5338 | wxPyEndAllowThreads(__tstate); | |
5339 | if (PyErr_Occurred()) SWIG_fail; | |
5340 | } | |
5341 | { | |
5342 | resultobj = obj0; Py_INCREF(resultobj); | |
5343 | } | |
5344 | return resultobj; | |
5345 | fail: | |
5346 | return NULL; | |
5347 | } | |
5348 | ||
5349 | ||
5eb8189c | 5350 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5351 | PyObject *resultobj = 0; |
5eb8189c | 5352 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5353 | bool arg2 = (bool) true ; |
5eb8189c | 5354 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5355 | void *argp1 = 0 ; |
5356 | int res1 = 0 ; | |
5357 | bool val2 ; | |
5358 | int ecode2 = 0 ; | |
5359 | PyObject * obj0 = 0 ; | |
5360 | PyObject * obj1 = 0 ; | |
5361 | char * kwnames[] = { | |
5362 | (char *) "self",(char *) "visible", NULL | |
5363 | }; | |
5364 | ||
5eb8189c RD |
5365 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5366 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5367 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5368 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5369 | } |
5eb8189c | 5370 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5371 | if (obj1) { |
5372 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5373 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5374 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5375 | } |
5376 | arg2 = static_cast< bool >(val2); | |
5377 | } | |
5378 | { | |
5379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5380 | { | |
5eb8189c RD |
5381 | wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2); |
5382 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5383 | } |
5384 | wxPyEndAllowThreads(__tstate); | |
5385 | if (PyErr_Occurred()) SWIG_fail; | |
5386 | } | |
5387 | { | |
5388 | resultobj = obj0; Py_INCREF(resultobj); | |
5389 | } | |
5390 | return resultobj; | |
5391 | fail: | |
5392 | return NULL; | |
5393 | } | |
5394 | ||
5395 | ||
5eb8189c | 5396 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5397 | PyObject *resultobj = 0; |
5eb8189c | 5398 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5399 | bool arg2 = (bool) true ; |
5eb8189c | 5400 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5401 | void *argp1 = 0 ; |
5402 | int res1 = 0 ; | |
5403 | bool val2 ; | |
5404 | int ecode2 = 0 ; | |
5405 | PyObject * obj0 = 0 ; | |
5406 | PyObject * obj1 = 0 ; | |
5407 | char * kwnames[] = { | |
5408 | (char *) "self",(char *) "visible", NULL | |
5409 | }; | |
5410 | ||
5eb8189c RD |
5411 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5412 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5413 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5414 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5415 | } |
5eb8189c | 5416 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5417 | if (obj1) { |
5418 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5419 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5420 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5421 | } |
5422 | arg2 = static_cast< bool >(val2); | |
5423 | } | |
5424 | { | |
5425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5426 | { | |
5eb8189c RD |
5427 | wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2); |
5428 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5429 | } |
5430 | wxPyEndAllowThreads(__tstate); | |
5431 | if (PyErr_Occurred()) SWIG_fail; | |
5432 | } | |
5433 | { | |
5434 | resultobj = obj0; Py_INCREF(resultobj); | |
5435 | } | |
5436 | return resultobj; | |
5437 | fail: | |
5438 | return NULL; | |
5439 | } | |
5440 | ||
5441 | ||
5eb8189c | 5442 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5443 | PyObject *resultobj = 0; |
5eb8189c | 5444 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5445 | bool arg2 = (bool) true ; |
5eb8189c | 5446 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5447 | void *argp1 = 0 ; |
5448 | int res1 = 0 ; | |
5449 | bool val2 ; | |
5450 | int ecode2 = 0 ; | |
5451 | PyObject * obj0 = 0 ; | |
5452 | PyObject * obj1 = 0 ; | |
5453 | char * kwnames[] = { | |
5454 | (char *) "self",(char *) "visible", NULL | |
5455 | }; | |
5456 | ||
5eb8189c RD |
5457 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5459 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5461 | } |
5eb8189c | 5462 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5463 | if (obj1) { |
5464 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5465 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5466 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5467 | } |
5468 | arg2 = static_cast< bool >(val2); | |
5469 | } | |
5470 | { | |
5471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5472 | { | |
5eb8189c RD |
5473 | wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2); |
5474 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5475 | } |
5476 | wxPyEndAllowThreads(__tstate); | |
5477 | if (PyErr_Occurred()) SWIG_fail; | |
5478 | } | |
5479 | { | |
5480 | resultobj = obj0; Py_INCREF(resultobj); | |
5481 | } | |
5482 | return resultobj; | |
5483 | fail: | |
5484 | return NULL; | |
5485 | } | |
5486 | ||
5487 | ||
5eb8189c | 5488 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5489 | PyObject *resultobj = 0; |
5eb8189c | 5490 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5491 | bool arg2 = (bool) true ; |
5eb8189c | 5492 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5493 | void *argp1 = 0 ; |
5494 | int res1 = 0 ; | |
5495 | bool val2 ; | |
5496 | int ecode2 = 0 ; | |
5497 | PyObject * obj0 = 0 ; | |
5498 | PyObject * obj1 = 0 ; | |
5499 | char * kwnames[] = { | |
5500 | (char *) "self",(char *) "visible", NULL | |
5501 | }; | |
5502 | ||
5eb8189c RD |
5503 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail; |
5504 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5505 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5506 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5507 | } |
5eb8189c | 5508 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5509 | if (obj1) { |
5510 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5511 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5512 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5513 | } |
5514 | arg2 = static_cast< bool >(val2); | |
5515 | } | |
5516 | { | |
5517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5518 | { | |
5eb8189c RD |
5519 | wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2); |
5520 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5521 | } |
5522 | wxPyEndAllowThreads(__tstate); | |
5523 | if (PyErr_Occurred()) SWIG_fail; | |
5524 | } | |
5525 | { | |
5526 | resultobj = obj0; Py_INCREF(resultobj); | |
5527 | } | |
5528 | return resultobj; | |
5529 | fail: | |
5530 | return NULL; | |
5531 | } | |
5532 | ||
5533 | ||
5eb8189c | 5534 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5535 | PyObject *resultobj = 0; |
5eb8189c | 5536 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5537 | bool arg2 = (bool) true ; |
5eb8189c | 5538 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5539 | void *argp1 = 0 ; |
5540 | int res1 = 0 ; | |
5541 | bool val2 ; | |
5542 | int ecode2 = 0 ; | |
5543 | PyObject * obj0 = 0 ; | |
5544 | PyObject * obj1 = 0 ; | |
5545 | char * kwnames[] = { | |
5546 | (char *) "self",(char *) "b", NULL | |
5547 | }; | |
5548 | ||
5eb8189c RD |
5549 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail; |
5550 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5551 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5552 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5553 | } |
5eb8189c | 5554 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5555 | if (obj1) { |
5556 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5557 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5558 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5559 | } |
5560 | arg2 = static_cast< bool >(val2); | |
5561 | } | |
5562 | { | |
5563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5564 | { | |
5eb8189c RD |
5565 | wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2); |
5566 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5567 | } |
5568 | wxPyEndAllowThreads(__tstate); | |
5569 | if (PyErr_Occurred()) SWIG_fail; | |
5570 | } | |
5571 | { | |
5572 | resultobj = obj0; Py_INCREF(resultobj); | |
5573 | } | |
5574 | return resultobj; | |
5575 | fail: | |
5576 | return NULL; | |
5577 | } | |
5578 | ||
5579 | ||
5eb8189c | 5580 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5581 | PyObject *resultobj = 0; |
5eb8189c | 5582 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5583 | bool arg2 = (bool) true ; |
5eb8189c | 5584 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5585 | void *argp1 = 0 ; |
5586 | int res1 = 0 ; | |
5587 | bool val2 ; | |
5588 | int ecode2 = 0 ; | |
5589 | PyObject * obj0 = 0 ; | |
5590 | PyObject * obj1 = 0 ; | |
5591 | char * kwnames[] = { | |
5592 | (char *) "self",(char *) "b", NULL | |
5593 | }; | |
5594 | ||
5eb8189c RD |
5595 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5596 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5597 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5598 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5599 | } |
5eb8189c | 5600 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5601 | if (obj1) { |
5602 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5603 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5604 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5605 | } |
5606 | arg2 = static_cast< bool >(val2); | |
5607 | } | |
5608 | { | |
5609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5610 | { | |
5eb8189c RD |
5611 | wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2); |
5612 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5613 | } |
5614 | wxPyEndAllowThreads(__tstate); | |
5615 | if (PyErr_Occurred()) SWIG_fail; | |
5616 | } | |
5617 | { | |
5618 | resultobj = obj0; Py_INCREF(resultobj); | |
5619 | } | |
5620 | return resultobj; | |
5621 | fail: | |
5622 | return NULL; | |
5623 | } | |
5624 | ||
5625 | ||
5eb8189c | 5626 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5627 | PyObject *resultobj = 0; |
5eb8189c | 5628 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5629 | bool arg2 = (bool) true ; |
5eb8189c | 5630 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5631 | void *argp1 = 0 ; |
5632 | int res1 = 0 ; | |
5633 | bool val2 ; | |
5634 | int ecode2 = 0 ; | |
5635 | PyObject * obj0 = 0 ; | |
5636 | PyObject * obj1 = 0 ; | |
5637 | char * kwnames[] = { | |
5638 | (char *) "self",(char *) "b", NULL | |
5639 | }; | |
5640 | ||
5eb8189c RD |
5641 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5642 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5643 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5644 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5645 | } |
5eb8189c | 5646 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5647 | if (obj1) { |
5648 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5649 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5650 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5651 | } |
5652 | arg2 = static_cast< bool >(val2); | |
5653 | } | |
5654 | { | |
5655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5656 | { | |
5eb8189c RD |
5657 | wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2); |
5658 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5659 | } |
5660 | wxPyEndAllowThreads(__tstate); | |
5661 | if (PyErr_Occurred()) SWIG_fail; | |
5662 | } | |
5663 | { | |
5664 | resultobj = obj0; Py_INCREF(resultobj); | |
5665 | } | |
5666 | return resultobj; | |
5667 | fail: | |
5668 | return NULL; | |
5669 | } | |
5670 | ||
5671 | ||
5eb8189c | 5672 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5673 | PyObject *resultobj = 0; |
5eb8189c | 5674 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5675 | bool arg2 = (bool) true ; |
5eb8189c | 5676 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5677 | void *argp1 = 0 ; |
5678 | int res1 = 0 ; | |
5679 | bool val2 ; | |
5680 | int ecode2 = 0 ; | |
5681 | PyObject * obj0 = 0 ; | |
5682 | PyObject * obj1 = 0 ; | |
5683 | char * kwnames[] = { | |
5684 | (char *) "self",(char *) "b", NULL | |
5685 | }; | |
5686 | ||
5eb8189c RD |
5687 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5688 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5689 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5690 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5691 | } |
5eb8189c | 5692 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5693 | if (obj1) { |
5694 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5695 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5696 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5697 | } |
5698 | arg2 = static_cast< bool >(val2); | |
5699 | } | |
5700 | { | |
5701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5702 | { | |
5eb8189c RD |
5703 | wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2); |
5704 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5705 | } |
5706 | wxPyEndAllowThreads(__tstate); | |
5707 | if (PyErr_Occurred()) SWIG_fail; | |
5708 | } | |
5709 | { | |
5710 | resultobj = obj0; Py_INCREF(resultobj); | |
5711 | } | |
5712 | return resultobj; | |
5713 | fail: | |
5714 | return NULL; | |
5715 | } | |
5716 | ||
5717 | ||
5eb8189c | 5718 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5719 | PyObject *resultobj = 0; |
5eb8189c | 5720 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5721 | bool arg2 = (bool) true ; |
5eb8189c | 5722 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5723 | void *argp1 = 0 ; |
5724 | int res1 = 0 ; | |
5725 | bool val2 ; | |
5726 | int ecode2 = 0 ; | |
5727 | PyObject * obj0 = 0 ; | |
5728 | PyObject * obj1 = 0 ; | |
5729 | char * kwnames[] = { | |
5730 | (char *) "self",(char *) "b", NULL | |
5731 | }; | |
5732 | ||
5eb8189c RD |
5733 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5734 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5735 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5736 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5737 | } |
5eb8189c | 5738 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5739 | if (obj1) { |
5740 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5741 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5742 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5743 | } |
5744 | arg2 = static_cast< bool >(val2); | |
5745 | } | |
5746 | { | |
5747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5748 | { | |
5eb8189c RD |
5749 | wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2); |
5750 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5751 | } |
5752 | wxPyEndAllowThreads(__tstate); | |
5753 | if (PyErr_Occurred()) SWIG_fail; | |
5754 | } | |
5755 | { | |
5756 | resultobj = obj0; Py_INCREF(resultobj); | |
5757 | } | |
5758 | return resultobj; | |
5759 | fail: | |
5760 | return NULL; | |
5761 | } | |
5762 | ||
5763 | ||
5eb8189c | 5764 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5765 | PyObject *resultobj = 0; |
5eb8189c | 5766 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5767 | bool arg2 = (bool) true ; |
5eb8189c | 5768 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5769 | void *argp1 = 0 ; |
5770 | int res1 = 0 ; | |
5771 | bool val2 ; | |
5772 | int ecode2 = 0 ; | |
5773 | PyObject * obj0 = 0 ; | |
5774 | PyObject * obj1 = 0 ; | |
5775 | char * kwnames[] = { | |
5776 | (char *) "self",(char *) "b", NULL | |
5777 | }; | |
5778 | ||
5eb8189c RD |
5779 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail; |
5780 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5781 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5782 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5783 | } |
5eb8189c | 5784 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5785 | if (obj1) { |
5786 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5787 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5788 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5789 | } |
5790 | arg2 = static_cast< bool >(val2); | |
5791 | } | |
5792 | { | |
5793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5794 | { | |
5eb8189c RD |
5795 | wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2); |
5796 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5797 | } |
5798 | wxPyEndAllowThreads(__tstate); | |
5799 | if (PyErr_Occurred()) SWIG_fail; | |
5800 | } | |
5801 | { | |
5802 | resultobj = obj0; Py_INCREF(resultobj); | |
5803 | } | |
5804 | return resultobj; | |
5805 | fail: | |
5806 | return NULL; | |
5807 | } | |
5808 | ||
5809 | ||
5eb8189c | 5810 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 5811 | PyObject *resultobj = 0; |
5eb8189c | 5812 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 | 5813 | bool arg2 = (bool) true ; |
5eb8189c | 5814 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5815 | void *argp1 = 0 ; |
5816 | int res1 = 0 ; | |
5817 | bool val2 ; | |
5818 | int ecode2 = 0 ; | |
5819 | PyObject * obj0 = 0 ; | |
5820 | PyObject * obj1 = 0 ; | |
5821 | char * kwnames[] = { | |
5822 | (char *) "self",(char *) "b", NULL | |
5823 | }; | |
5824 | ||
5eb8189c RD |
5825 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail; |
5826 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5827 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5829 | } |
5eb8189c | 5830 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5831 | if (obj1) { |
5832 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5833 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5834 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5835 | } |
5836 | arg2 = static_cast< bool >(val2); | |
5837 | } | |
5838 | { | |
5839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5840 | { | |
5eb8189c RD |
5841 | wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2); |
5842 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5843 | } |
5844 | wxPyEndAllowThreads(__tstate); | |
5845 | if (PyErr_Occurred()) SWIG_fail; | |
5846 | } | |
5847 | { | |
5848 | resultobj = obj0; Py_INCREF(resultobj); | |
5849 | } | |
5850 | return resultobj; | |
5851 | fail: | |
5852 | return NULL; | |
5853 | } | |
5854 | ||
5855 | ||
5eb8189c RD |
5856 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5857 | PyObject *resultobj = 0; | |
5858 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; | |
27e45892 | 5859 | bool arg2 = (bool) true ; |
5eb8189c | 5860 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
5861 | void *argp1 = 0 ; |
5862 | int res1 = 0 ; | |
5863 | bool val2 ; | |
5864 | int ecode2 = 0 ; | |
5865 | PyObject * obj0 = 0 ; | |
5866 | PyObject * obj1 = 0 ; | |
5867 | char * kwnames[] = { | |
5868 | (char *) "self",(char *) "b", NULL | |
5869 | }; | |
5870 | ||
5eb8189c RD |
5871 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail; |
5872 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 5873 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5874 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5875 | } |
5eb8189c | 5876 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5877 | if (obj1) { |
5878 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5879 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 5880 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
5881 | } |
5882 | arg2 = static_cast< bool >(val2); | |
5883 | } | |
5884 | { | |
5885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5886 | { | |
5eb8189c RD |
5887 | wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2); |
5888 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5889 | } |
5890 | wxPyEndAllowThreads(__tstate); | |
5891 | if (PyErr_Occurred()) SWIG_fail; | |
5892 | } | |
5893 | { | |
5894 | resultobj = obj0; Py_INCREF(resultobj); | |
5895 | } | |
5896 | return resultobj; | |
5897 | fail: | |
5898 | return NULL; | |
5899 | } | |
5900 | ||
5901 | ||
5eb8189c | 5902 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5903 | PyObject *resultobj = 0; |
5eb8189c RD |
5904 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5905 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5906 | void *argp1 = 0 ; |
5907 | int res1 = 0 ; | |
5908 | PyObject *swig_obj[1] ; | |
5909 | ||
5910 | if (!args) SWIG_fail; | |
5911 | swig_obj[0] = args; | |
5eb8189c | 5912 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5913 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5914 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5915 | } |
5eb8189c | 5916 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5917 | { |
5918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5919 | { | |
5eb8189c RD |
5920 | wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane(); |
5921 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5922 | } |
5923 | wxPyEndAllowThreads(__tstate); | |
5924 | if (PyErr_Occurred()) SWIG_fail; | |
5925 | } | |
5926 | { | |
5927 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5928 | } | |
5929 | return resultobj; | |
5930 | fail: | |
5931 | return NULL; | |
5932 | } | |
5933 | ||
5934 | ||
5eb8189c | 5935 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5936 | PyObject *resultobj = 0; |
5eb8189c RD |
5937 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5938 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5939 | void *argp1 = 0 ; |
5940 | int res1 = 0 ; | |
5941 | PyObject *swig_obj[1] ; | |
5942 | ||
5943 | if (!args) SWIG_fail; | |
5944 | swig_obj[0] = args; | |
5eb8189c | 5945 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5946 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5948 | } |
5eb8189c | 5949 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5950 | { |
5951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5952 | { | |
5eb8189c RD |
5953 | wxAuiPaneInfo &_result_ref = (arg1)->CentrePane(); |
5954 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5955 | } |
5956 | wxPyEndAllowThreads(__tstate); | |
5957 | if (PyErr_Occurred()) SWIG_fail; | |
5958 | } | |
5959 | { | |
5960 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5961 | } | |
5962 | return resultobj; | |
5963 | fail: | |
5964 | return NULL; | |
5965 | } | |
5966 | ||
5967 | ||
5eb8189c | 5968 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 5969 | PyObject *resultobj = 0; |
5eb8189c RD |
5970 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
5971 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
5972 | void *argp1 = 0 ; |
5973 | int res1 = 0 ; | |
5974 | PyObject *swig_obj[1] ; | |
5975 | ||
5976 | if (!args) SWIG_fail; | |
5977 | swig_obj[0] = args; | |
5eb8189c | 5978 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 5979 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 5980 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 5981 | } |
5eb8189c | 5982 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
5983 | { |
5984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5985 | { | |
5eb8189c RD |
5986 | wxAuiPaneInfo &_result_ref = (arg1)->CenterPane(); |
5987 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
5988 | } |
5989 | wxPyEndAllowThreads(__tstate); | |
5990 | if (PyErr_Occurred()) SWIG_fail; | |
5991 | } | |
5992 | { | |
5993 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
5994 | } | |
5995 | return resultobj; | |
5996 | fail: | |
5997 | return NULL; | |
5998 | } | |
5999 | ||
6000 | ||
5eb8189c | 6001 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6002 | PyObject *resultobj = 0; |
5eb8189c RD |
6003 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6004 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
6005 | void *argp1 = 0 ; |
6006 | int res1 = 0 ; | |
6007 | PyObject *swig_obj[1] ; | |
6008 | ||
6009 | if (!args) SWIG_fail; | |
6010 | swig_obj[0] = args; | |
5eb8189c | 6011 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6012 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6013 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6014 | } |
5eb8189c | 6015 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6016 | { |
6017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6018 | { | |
5eb8189c RD |
6019 | wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane(); |
6020 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6021 | } |
6022 | wxPyEndAllowThreads(__tstate); | |
6023 | if (PyErr_Occurred()) SWIG_fail; | |
6024 | } | |
6025 | { | |
6026 | resultobj = swig_obj[0]; Py_INCREF(resultobj); | |
6027 | } | |
6028 | return resultobj; | |
6029 | fail: | |
6030 | return NULL; | |
6031 | } | |
6032 | ||
6033 | ||
5eb8189c | 6034 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6035 | PyObject *resultobj = 0; |
5eb8189c | 6036 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6037 | int arg2 ; |
6038 | bool arg3 ; | |
5eb8189c | 6039 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
6040 | void *argp1 = 0 ; |
6041 | int res1 = 0 ; | |
6042 | int val2 ; | |
6043 | int ecode2 = 0 ; | |
6044 | bool val3 ; | |
6045 | int ecode3 = 0 ; | |
6046 | PyObject * obj0 = 0 ; | |
6047 | PyObject * obj1 = 0 ; | |
6048 | PyObject * obj2 = 0 ; | |
6049 | char * kwnames[] = { | |
6050 | (char *) "self",(char *) "flag",(char *) "option_state", NULL | |
6051 | }; | |
6052 | ||
5eb8189c RD |
6053 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
6054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6055 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6057 | } |
5eb8189c | 6058 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6059 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6060 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6061 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6062 | } |
6063 | arg2 = static_cast< int >(val2); | |
6064 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
6065 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 6066 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
6067 | } |
6068 | arg3 = static_cast< bool >(val3); | |
6069 | { | |
6070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6071 | { | |
5eb8189c RD |
6072 | wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3); |
6073 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
6074 | } |
6075 | wxPyEndAllowThreads(__tstate); | |
6076 | if (PyErr_Occurred()) SWIG_fail; | |
6077 | } | |
6078 | { | |
6079 | resultobj = obj0; Py_INCREF(resultobj); | |
6080 | } | |
6081 | return resultobj; | |
6082 | fail: | |
6083 | return NULL; | |
6084 | } | |
6085 | ||
6086 | ||
5eb8189c | 6087 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 6088 | PyObject *resultobj = 0; |
5eb8189c | 6089 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6090 | int arg2 ; |
6091 | bool result; | |
6092 | void *argp1 = 0 ; | |
6093 | int res1 = 0 ; | |
6094 | int val2 ; | |
6095 | int ecode2 = 0 ; | |
6096 | PyObject * obj0 = 0 ; | |
6097 | PyObject * obj1 = 0 ; | |
6098 | char * kwnames[] = { | |
6099 | (char *) "self",(char *) "flag", NULL | |
6100 | }; | |
6101 | ||
5eb8189c RD |
6102 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail; |
6103 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6104 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6105 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'"); |
27e45892 | 6106 | } |
5eb8189c | 6107 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6108 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6109 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6110 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6111 | } |
6112 | arg2 = static_cast< int >(val2); | |
6113 | { | |
6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 6115 | result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2); |
27e45892 RD |
6116 | wxPyEndAllowThreads(__tstate); |
6117 | if (PyErr_Occurred()) SWIG_fail; | |
6118 | } | |
6119 | { | |
6120 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6121 | } | |
6122 | return resultobj; | |
6123 | fail: | |
6124 | return NULL; | |
6125 | } | |
6126 | ||
6127 | ||
5eb8189c | 6128 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6129 | PyObject *resultobj = 0; |
5eb8189c | 6130 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6131 | wxString *arg2 = (wxString *) 0 ; |
6132 | void *argp1 = 0 ; | |
6133 | int res1 = 0 ; | |
6134 | bool temp2 = false ; | |
6135 | PyObject *swig_obj[2] ; | |
6136 | ||
5eb8189c RD |
6137 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail; |
6138 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6139 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6140 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6141 | } |
5eb8189c | 6142 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6143 | { |
6144 | arg2 = wxString_in_helper(swig_obj[1]); | |
6145 | if (arg2 == NULL) SWIG_fail; | |
6146 | temp2 = true; | |
6147 | } | |
6148 | if (arg1) (arg1)->name = *arg2; | |
6149 | ||
6150 | resultobj = SWIG_Py_Void(); | |
6151 | { | |
6152 | if (temp2) | |
6153 | delete arg2; | |
6154 | } | |
6155 | return resultobj; | |
6156 | fail: | |
6157 | { | |
6158 | if (temp2) | |
6159 | delete arg2; | |
6160 | } | |
6161 | return NULL; | |
6162 | } | |
6163 | ||
6164 | ||
5eb8189c | 6165 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6166 | PyObject *resultobj = 0; |
5eb8189c | 6167 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6168 | wxString *result = 0 ; |
6169 | void *argp1 = 0 ; | |
6170 | int res1 = 0 ; | |
6171 | PyObject *swig_obj[1] ; | |
6172 | ||
6173 | if (!args) SWIG_fail; | |
6174 | swig_obj[0] = args; | |
5eb8189c | 6175 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6176 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6177 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6178 | } |
5eb8189c | 6179 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6180 | result = (wxString *)& ((arg1)->name); |
6181 | { | |
6182 | #if wxUSE_UNICODE | |
6183 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6184 | #else | |
6185 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6186 | #endif | |
6187 | } | |
6188 | return resultobj; | |
6189 | fail: | |
6190 | return NULL; | |
6191 | } | |
6192 | ||
6193 | ||
5eb8189c | 6194 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6195 | PyObject *resultobj = 0; |
5eb8189c | 6196 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6197 | wxString *arg2 = (wxString *) 0 ; |
6198 | void *argp1 = 0 ; | |
6199 | int res1 = 0 ; | |
6200 | bool temp2 = false ; | |
6201 | PyObject *swig_obj[2] ; | |
6202 | ||
5eb8189c RD |
6203 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail; |
6204 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6205 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6207 | } |
5eb8189c | 6208 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6209 | { |
6210 | arg2 = wxString_in_helper(swig_obj[1]); | |
6211 | if (arg2 == NULL) SWIG_fail; | |
6212 | temp2 = true; | |
6213 | } | |
6214 | if (arg1) (arg1)->caption = *arg2; | |
6215 | ||
6216 | resultobj = SWIG_Py_Void(); | |
6217 | { | |
6218 | if (temp2) | |
6219 | delete arg2; | |
6220 | } | |
6221 | return resultobj; | |
6222 | fail: | |
6223 | { | |
6224 | if (temp2) | |
6225 | delete arg2; | |
6226 | } | |
6227 | return NULL; | |
6228 | } | |
6229 | ||
6230 | ||
5eb8189c | 6231 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6232 | PyObject *resultobj = 0; |
5eb8189c | 6233 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6234 | wxString *result = 0 ; |
6235 | void *argp1 = 0 ; | |
6236 | int res1 = 0 ; | |
6237 | PyObject *swig_obj[1] ; | |
6238 | ||
6239 | if (!args) SWIG_fail; | |
6240 | swig_obj[0] = args; | |
5eb8189c | 6241 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6242 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6243 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6244 | } |
5eb8189c | 6245 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6246 | result = (wxString *)& ((arg1)->caption); |
6247 | { | |
6248 | #if wxUSE_UNICODE | |
6249 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
6250 | #else | |
6251 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
6252 | #endif | |
6253 | } | |
6254 | return resultobj; | |
6255 | fail: | |
6256 | return NULL; | |
6257 | } | |
6258 | ||
6259 | ||
5eb8189c | 6260 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6261 | PyObject *resultobj = 0; |
5eb8189c | 6262 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6263 | wxWindow *arg2 = (wxWindow *) 0 ; |
6264 | void *argp1 = 0 ; | |
6265 | int res1 = 0 ; | |
6266 | void *argp2 = 0 ; | |
6267 | int res2 = 0 ; | |
6268 | PyObject *swig_obj[2] ; | |
6269 | ||
5eb8189c RD |
6270 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail; |
6271 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6272 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6273 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6274 | } |
5eb8189c | 6275 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6276 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); |
6277 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6278 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
6279 | } |
6280 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
6281 | if (arg1) (arg1)->window = arg2; | |
6282 | ||
6283 | resultobj = SWIG_Py_Void(); | |
6284 | return resultobj; | |
6285 | fail: | |
6286 | return NULL; | |
6287 | } | |
6288 | ||
6289 | ||
5eb8189c | 6290 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6291 | PyObject *resultobj = 0; |
5eb8189c | 6292 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6293 | wxWindow *result = 0 ; |
6294 | void *argp1 = 0 ; | |
6295 | int res1 = 0 ; | |
6296 | PyObject *swig_obj[1] ; | |
6297 | ||
6298 | if (!args) SWIG_fail; | |
6299 | swig_obj[0] = args; | |
5eb8189c | 6300 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6301 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6302 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6303 | } |
5eb8189c | 6304 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6305 | result = (wxWindow *) ((arg1)->window); |
6306 | { | |
6307 | resultobj = wxPyMake_wxObject(result, 0); | |
6308 | } | |
6309 | return resultobj; | |
6310 | fail: | |
6311 | return NULL; | |
6312 | } | |
6313 | ||
6314 | ||
5eb8189c | 6315 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6316 | PyObject *resultobj = 0; |
5eb8189c | 6317 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6318 | wxFrame *arg2 = (wxFrame *) 0 ; |
27e45892 RD |
6319 | void *argp1 = 0 ; |
6320 | int res1 = 0 ; | |
6321 | void *argp2 = 0 ; | |
6322 | int res2 = 0 ; | |
6323 | PyObject *swig_obj[2] ; | |
6324 | ||
5eb8189c RD |
6325 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail; |
6326 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6327 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6328 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6329 | } |
5eb8189c | 6330 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6331 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 6332 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6333 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'"); |
27e45892 | 6334 | } |
10044bf1 | 6335 | arg2 = reinterpret_cast< wxFrame * >(argp2); |
27e45892 RD |
6336 | if (arg1) (arg1)->frame = arg2; |
6337 | ||
6338 | resultobj = SWIG_Py_Void(); | |
6339 | return resultobj; | |
6340 | fail: | |
6341 | return NULL; | |
6342 | } | |
6343 | ||
6344 | ||
5eb8189c | 6345 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6346 | PyObject *resultobj = 0; |
5eb8189c | 6347 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
10044bf1 | 6348 | wxFrame *result = 0 ; |
27e45892 RD |
6349 | void *argp1 = 0 ; |
6350 | int res1 = 0 ; | |
6351 | PyObject *swig_obj[1] ; | |
6352 | ||
6353 | if (!args) SWIG_fail; | |
6354 | swig_obj[0] = args; | |
5eb8189c | 6355 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6356 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6357 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6358 | } |
5eb8189c | 6359 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
10044bf1 | 6360 | result = (wxFrame *) ((arg1)->frame); |
27e45892 RD |
6361 | { |
6362 | resultobj = wxPyMake_wxObject(result, 0); | |
6363 | } | |
6364 | return resultobj; | |
6365 | fail: | |
6366 | return NULL; | |
6367 | } | |
6368 | ||
6369 | ||
5eb8189c | 6370 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6371 | PyObject *resultobj = 0; |
5eb8189c | 6372 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6373 | int arg2 ; |
6374 | void *argp1 = 0 ; | |
6375 | int res1 = 0 ; | |
6376 | int val2 ; | |
6377 | int ecode2 = 0 ; | |
6378 | PyObject *swig_obj[2] ; | |
6379 | ||
5eb8189c RD |
6380 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail; |
6381 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6382 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6384 | } |
5eb8189c | 6385 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6386 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6387 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6388 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6389 | } |
6390 | arg2 = static_cast< int >(val2); | |
6391 | if (arg1) (arg1)->state = arg2; | |
6392 | ||
6393 | resultobj = SWIG_Py_Void(); | |
6394 | return resultobj; | |
6395 | fail: | |
6396 | return NULL; | |
6397 | } | |
6398 | ||
6399 | ||
5eb8189c | 6400 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6401 | PyObject *resultobj = 0; |
5eb8189c | 6402 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6403 | int result; |
6404 | void *argp1 = 0 ; | |
6405 | int res1 = 0 ; | |
6406 | PyObject *swig_obj[1] ; | |
6407 | ||
6408 | if (!args) SWIG_fail; | |
6409 | swig_obj[0] = args; | |
5eb8189c | 6410 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6411 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6412 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6413 | } |
5eb8189c | 6414 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6415 | result = (int) ((arg1)->state); |
6416 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6417 | return resultobj; | |
6418 | fail: | |
6419 | return NULL; | |
6420 | } | |
6421 | ||
6422 | ||
5eb8189c | 6423 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6424 | PyObject *resultobj = 0; |
5eb8189c | 6425 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6426 | int arg2 ; |
6427 | void *argp1 = 0 ; | |
6428 | int res1 = 0 ; | |
6429 | int val2 ; | |
6430 | int ecode2 = 0 ; | |
6431 | PyObject *swig_obj[2] ; | |
6432 | ||
5eb8189c RD |
6433 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
6434 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6435 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6437 | } |
5eb8189c | 6438 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6439 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6440 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6441 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6442 | } |
6443 | arg2 = static_cast< int >(val2); | |
6444 | if (arg1) (arg1)->dock_direction = arg2; | |
6445 | ||
6446 | resultobj = SWIG_Py_Void(); | |
6447 | return resultobj; | |
6448 | fail: | |
6449 | return NULL; | |
6450 | } | |
6451 | ||
6452 | ||
5eb8189c | 6453 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6454 | PyObject *resultobj = 0; |
5eb8189c | 6455 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6456 | int result; |
6457 | void *argp1 = 0 ; | |
6458 | int res1 = 0 ; | |
6459 | PyObject *swig_obj[1] ; | |
6460 | ||
6461 | if (!args) SWIG_fail; | |
6462 | swig_obj[0] = args; | |
5eb8189c | 6463 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6464 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6465 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6466 | } |
5eb8189c | 6467 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6468 | result = (int) ((arg1)->dock_direction); |
6469 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6470 | return resultobj; | |
6471 | fail: | |
6472 | return NULL; | |
6473 | } | |
6474 | ||
6475 | ||
5eb8189c | 6476 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6477 | PyObject *resultobj = 0; |
5eb8189c | 6478 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6479 | int arg2 ; |
6480 | void *argp1 = 0 ; | |
6481 | int res1 = 0 ; | |
6482 | int val2 ; | |
6483 | int ecode2 = 0 ; | |
6484 | PyObject *swig_obj[2] ; | |
6485 | ||
5eb8189c RD |
6486 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
6487 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6488 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6489 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6490 | } |
5eb8189c | 6491 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6492 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6493 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6494 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6495 | } |
6496 | arg2 = static_cast< int >(val2); | |
6497 | if (arg1) (arg1)->dock_layer = arg2; | |
6498 | ||
6499 | resultobj = SWIG_Py_Void(); | |
6500 | return resultobj; | |
6501 | fail: | |
6502 | return NULL; | |
6503 | } | |
6504 | ||
6505 | ||
5eb8189c | 6506 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6507 | PyObject *resultobj = 0; |
5eb8189c | 6508 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6509 | int result; |
6510 | void *argp1 = 0 ; | |
6511 | int res1 = 0 ; | |
6512 | PyObject *swig_obj[1] ; | |
6513 | ||
6514 | if (!args) SWIG_fail; | |
6515 | swig_obj[0] = args; | |
5eb8189c | 6516 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6517 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6519 | } |
5eb8189c | 6520 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6521 | result = (int) ((arg1)->dock_layer); |
6522 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6523 | return resultobj; | |
6524 | fail: | |
6525 | return NULL; | |
6526 | } | |
6527 | ||
6528 | ||
5eb8189c | 6529 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6530 | PyObject *resultobj = 0; |
5eb8189c | 6531 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6532 | int arg2 ; |
6533 | void *argp1 = 0 ; | |
6534 | int res1 = 0 ; | |
6535 | int val2 ; | |
6536 | int ecode2 = 0 ; | |
6537 | PyObject *swig_obj[2] ; | |
6538 | ||
5eb8189c RD |
6539 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
6540 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6541 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6543 | } |
5eb8189c | 6544 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6545 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6546 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6547 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6548 | } |
6549 | arg2 = static_cast< int >(val2); | |
6550 | if (arg1) (arg1)->dock_row = arg2; | |
6551 | ||
6552 | resultobj = SWIG_Py_Void(); | |
6553 | return resultobj; | |
6554 | fail: | |
6555 | return NULL; | |
6556 | } | |
6557 | ||
6558 | ||
5eb8189c | 6559 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6560 | PyObject *resultobj = 0; |
5eb8189c | 6561 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6562 | int result; |
6563 | void *argp1 = 0 ; | |
6564 | int res1 = 0 ; | |
6565 | PyObject *swig_obj[1] ; | |
6566 | ||
6567 | if (!args) SWIG_fail; | |
6568 | swig_obj[0] = args; | |
5eb8189c | 6569 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6570 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6571 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6572 | } |
5eb8189c | 6573 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6574 | result = (int) ((arg1)->dock_row); |
6575 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6576 | return resultobj; | |
6577 | fail: | |
6578 | return NULL; | |
6579 | } | |
6580 | ||
6581 | ||
5eb8189c | 6582 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6583 | PyObject *resultobj = 0; |
5eb8189c | 6584 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6585 | int arg2 ; |
6586 | void *argp1 = 0 ; | |
6587 | int res1 = 0 ; | |
6588 | int val2 ; | |
6589 | int ecode2 = 0 ; | |
6590 | PyObject *swig_obj[2] ; | |
6591 | ||
5eb8189c RD |
6592 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail; |
6593 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6594 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6595 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6596 | } |
5eb8189c | 6597 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6598 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6599 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6600 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6601 | } |
6602 | arg2 = static_cast< int >(val2); | |
6603 | if (arg1) (arg1)->dock_pos = arg2; | |
6604 | ||
6605 | resultobj = SWIG_Py_Void(); | |
6606 | return resultobj; | |
6607 | fail: | |
6608 | return NULL; | |
6609 | } | |
6610 | ||
6611 | ||
5eb8189c | 6612 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6613 | PyObject *resultobj = 0; |
5eb8189c | 6614 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6615 | int result; |
6616 | void *argp1 = 0 ; | |
6617 | int res1 = 0 ; | |
6618 | PyObject *swig_obj[1] ; | |
6619 | ||
6620 | if (!args) SWIG_fail; | |
6621 | swig_obj[0] = args; | |
5eb8189c | 6622 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6623 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6624 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6625 | } |
5eb8189c | 6626 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6627 | result = (int) ((arg1)->dock_pos); |
6628 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6629 | return resultobj; | |
6630 | fail: | |
6631 | return NULL; | |
6632 | } | |
6633 | ||
6634 | ||
5eb8189c | 6635 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6636 | PyObject *resultobj = 0; |
5eb8189c | 6637 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6638 | wxSize *arg2 = (wxSize *) 0 ; |
6639 | void *argp1 = 0 ; | |
6640 | int res1 = 0 ; | |
6641 | void *argp2 = 0 ; | |
6642 | int res2 = 0 ; | |
6643 | PyObject *swig_obj[2] ; | |
6644 | ||
5eb8189c RD |
6645 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail; |
6646 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6647 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6649 | } |
5eb8189c | 6650 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6651 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6652 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6653 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6654 | } |
6655 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6656 | if (arg1) (arg1)->best_size = *arg2; | |
6657 | ||
6658 | resultobj = SWIG_Py_Void(); | |
6659 | return resultobj; | |
6660 | fail: | |
6661 | return NULL; | |
6662 | } | |
6663 | ||
6664 | ||
5eb8189c | 6665 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6666 | PyObject *resultobj = 0; |
5eb8189c | 6667 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6668 | wxSize *result = 0 ; |
6669 | void *argp1 = 0 ; | |
6670 | int res1 = 0 ; | |
6671 | PyObject *swig_obj[1] ; | |
6672 | ||
6673 | if (!args) SWIG_fail; | |
6674 | swig_obj[0] = args; | |
5eb8189c | 6675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6676 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6678 | } |
5eb8189c | 6679 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6680 | result = (wxSize *)& ((arg1)->best_size); |
6681 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6682 | return resultobj; | |
6683 | fail: | |
6684 | return NULL; | |
6685 | } | |
6686 | ||
6687 | ||
5eb8189c | 6688 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6689 | PyObject *resultobj = 0; |
5eb8189c | 6690 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6691 | wxSize *arg2 = (wxSize *) 0 ; |
6692 | void *argp1 = 0 ; | |
6693 | int res1 = 0 ; | |
6694 | void *argp2 = 0 ; | |
6695 | int res2 = 0 ; | |
6696 | PyObject *swig_obj[2] ; | |
6697 | ||
5eb8189c RD |
6698 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
6699 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6700 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6702 | } |
5eb8189c | 6703 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6704 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6705 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6706 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6707 | } |
6708 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6709 | if (arg1) (arg1)->min_size = *arg2; | |
6710 | ||
6711 | resultobj = SWIG_Py_Void(); | |
6712 | return resultobj; | |
6713 | fail: | |
6714 | return NULL; | |
6715 | } | |
6716 | ||
6717 | ||
5eb8189c | 6718 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6719 | PyObject *resultobj = 0; |
5eb8189c | 6720 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6721 | wxSize *result = 0 ; |
6722 | void *argp1 = 0 ; | |
6723 | int res1 = 0 ; | |
6724 | PyObject *swig_obj[1] ; | |
6725 | ||
6726 | if (!args) SWIG_fail; | |
6727 | swig_obj[0] = args; | |
5eb8189c | 6728 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6729 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6731 | } |
5eb8189c | 6732 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6733 | result = (wxSize *)& ((arg1)->min_size); |
6734 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6735 | return resultobj; | |
6736 | fail: | |
6737 | return NULL; | |
6738 | } | |
6739 | ||
6740 | ||
5eb8189c | 6741 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6742 | PyObject *resultobj = 0; |
5eb8189c | 6743 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6744 | wxSize *arg2 = (wxSize *) 0 ; |
6745 | void *argp1 = 0 ; | |
6746 | int res1 = 0 ; | |
6747 | void *argp2 = 0 ; | |
6748 | int res2 = 0 ; | |
6749 | PyObject *swig_obj[2] ; | |
6750 | ||
5eb8189c RD |
6751 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail; |
6752 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6753 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6754 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6755 | } |
5eb8189c | 6756 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6757 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6758 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6759 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6760 | } |
6761 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6762 | if (arg1) (arg1)->max_size = *arg2; | |
6763 | ||
6764 | resultobj = SWIG_Py_Void(); | |
6765 | return resultobj; | |
6766 | fail: | |
6767 | return NULL; | |
6768 | } | |
6769 | ||
6770 | ||
5eb8189c | 6771 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6772 | PyObject *resultobj = 0; |
5eb8189c | 6773 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6774 | wxSize *result = 0 ; |
6775 | void *argp1 = 0 ; | |
6776 | int res1 = 0 ; | |
6777 | PyObject *swig_obj[1] ; | |
6778 | ||
6779 | if (!args) SWIG_fail; | |
6780 | swig_obj[0] = args; | |
5eb8189c | 6781 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6782 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6783 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6784 | } |
5eb8189c | 6785 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6786 | result = (wxSize *)& ((arg1)->max_size); |
6787 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6788 | return resultobj; | |
6789 | fail: | |
6790 | return NULL; | |
6791 | } | |
6792 | ||
6793 | ||
5eb8189c | 6794 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6795 | PyObject *resultobj = 0; |
5eb8189c | 6796 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6797 | wxPoint *arg2 = (wxPoint *) 0 ; |
6798 | void *argp1 = 0 ; | |
6799 | int res1 = 0 ; | |
6800 | void *argp2 = 0 ; | |
6801 | int res2 = 0 ; | |
6802 | PyObject *swig_obj[2] ; | |
6803 | ||
5eb8189c RD |
6804 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail; |
6805 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6806 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6808 | } |
5eb8189c | 6809 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6810 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 ); |
6811 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6812 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'"); |
27e45892 RD |
6813 | } |
6814 | arg2 = reinterpret_cast< wxPoint * >(argp2); | |
6815 | if (arg1) (arg1)->floating_pos = *arg2; | |
6816 | ||
6817 | resultobj = SWIG_Py_Void(); | |
6818 | return resultobj; | |
6819 | fail: | |
6820 | return NULL; | |
6821 | } | |
6822 | ||
6823 | ||
5eb8189c | 6824 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6825 | PyObject *resultobj = 0; |
5eb8189c | 6826 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6827 | wxPoint *result = 0 ; |
6828 | void *argp1 = 0 ; | |
6829 | int res1 = 0 ; | |
6830 | PyObject *swig_obj[1] ; | |
6831 | ||
6832 | if (!args) SWIG_fail; | |
6833 | swig_obj[0] = args; | |
5eb8189c | 6834 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6835 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6836 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6837 | } |
5eb8189c | 6838 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6839 | result = (wxPoint *)& ((arg1)->floating_pos); |
6840 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 ); | |
6841 | return resultobj; | |
6842 | fail: | |
6843 | return NULL; | |
6844 | } | |
6845 | ||
6846 | ||
5eb8189c | 6847 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6848 | PyObject *resultobj = 0; |
5eb8189c | 6849 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6850 | wxSize *arg2 = (wxSize *) 0 ; |
6851 | void *argp1 = 0 ; | |
6852 | int res1 = 0 ; | |
6853 | void *argp2 = 0 ; | |
6854 | int res2 = 0 ; | |
6855 | PyObject *swig_obj[2] ; | |
6856 | ||
5eb8189c RD |
6857 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail; |
6858 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6859 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6860 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6861 | } |
5eb8189c | 6862 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6863 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 ); |
6864 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 6865 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'"); |
27e45892 RD |
6866 | } |
6867 | arg2 = reinterpret_cast< wxSize * >(argp2); | |
6868 | if (arg1) (arg1)->floating_size = *arg2; | |
6869 | ||
6870 | resultobj = SWIG_Py_Void(); | |
6871 | return resultobj; | |
6872 | fail: | |
6873 | return NULL; | |
6874 | } | |
6875 | ||
6876 | ||
5eb8189c | 6877 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6878 | PyObject *resultobj = 0; |
5eb8189c | 6879 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6880 | wxSize *result = 0 ; |
6881 | void *argp1 = 0 ; | |
6882 | int res1 = 0 ; | |
6883 | PyObject *swig_obj[1] ; | |
6884 | ||
6885 | if (!args) SWIG_fail; | |
6886 | swig_obj[0] = args; | |
5eb8189c | 6887 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6888 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6890 | } |
5eb8189c | 6891 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6892 | result = (wxSize *)& ((arg1)->floating_size); |
6893 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 ); | |
6894 | return resultobj; | |
6895 | fail: | |
6896 | return NULL; | |
6897 | } | |
6898 | ||
6899 | ||
5eb8189c | 6900 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6901 | PyObject *resultobj = 0; |
5eb8189c | 6902 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6903 | int arg2 ; |
6904 | void *argp1 = 0 ; | |
6905 | int res1 = 0 ; | |
6906 | int val2 ; | |
6907 | int ecode2 = 0 ; | |
6908 | PyObject *swig_obj[2] ; | |
6909 | ||
5eb8189c RD |
6910 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail; |
6911 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6912 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6913 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6914 | } |
5eb8189c | 6915 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6916 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
6917 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 6918 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
6919 | } |
6920 | arg2 = static_cast< int >(val2); | |
6921 | if (arg1) (arg1)->dock_proportion = arg2; | |
6922 | ||
6923 | resultobj = SWIG_Py_Void(); | |
6924 | return resultobj; | |
6925 | fail: | |
6926 | return NULL; | |
6927 | } | |
6928 | ||
6929 | ||
5eb8189c | 6930 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6931 | PyObject *resultobj = 0; |
5eb8189c | 6932 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
6933 | int result; |
6934 | void *argp1 = 0 ; | |
6935 | int res1 = 0 ; | |
6936 | PyObject *swig_obj[1] ; | |
6937 | ||
6938 | if (!args) SWIG_fail; | |
6939 | swig_obj[0] = args; | |
5eb8189c | 6940 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 6941 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6942 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6943 | } |
5eb8189c | 6944 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
6945 | result = (int) ((arg1)->dock_proportion); |
6946 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
6947 | return resultobj; | |
6948 | fail: | |
6949 | return NULL; | |
6950 | } | |
6951 | ||
6952 | ||
5eb8189c | 6953 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6954 | PyObject *resultobj = 0; |
5eb8189c RD |
6955 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6956 | wxAuiPaneButtonArray arg2 ; | |
27e45892 RD |
6957 | void *argp1 = 0 ; |
6958 | int res1 = 0 ; | |
6959 | void *argp2 ; | |
6960 | int res2 = 0 ; | |
6961 | PyObject *swig_obj[2] ; | |
6962 | ||
5eb8189c RD |
6963 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail; |
6964 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 6965 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 6966 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 6967 | } |
5eb8189c | 6968 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 6969 | { |
5eb8189c | 6970 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0); |
27e45892 | 6971 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 6972 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 RD |
6973 | } |
6974 | if (!argp2) { | |
5eb8189c | 6975 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'"); |
27e45892 | 6976 | } else { |
5eb8189c | 6977 | wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2); |
27e45892 RD |
6978 | arg2 = *temp; |
6979 | if (SWIG_IsNewObj(res2)) delete temp; | |
6980 | } | |
6981 | } | |
6982 | if (arg1) (arg1)->buttons = arg2; | |
6983 | ||
6984 | resultobj = SWIG_Py_Void(); | |
6985 | return resultobj; | |
6986 | fail: | |
6987 | return NULL; | |
6988 | } | |
6989 | ||
6990 | ||
5eb8189c | 6991 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 6992 | PyObject *resultobj = 0; |
5eb8189c RD |
6993 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
6994 | wxAuiPaneButtonArray result; | |
27e45892 RD |
6995 | void *argp1 = 0 ; |
6996 | int res1 = 0 ; | |
6997 | PyObject *swig_obj[1] ; | |
6998 | ||
6999 | if (!args) SWIG_fail; | |
7000 | swig_obj[0] = args; | |
5eb8189c | 7001 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7002 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7004 | } |
5eb8189c | 7005 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 | 7006 | result = ((arg1)->buttons); |
5eb8189c | 7007 | resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
7008 | return resultobj; |
7009 | fail: | |
7010 | return NULL; | |
7011 | } | |
7012 | ||
7013 | ||
5eb8189c | 7014 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7015 | PyObject *resultobj = 0; |
5eb8189c | 7016 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7017 | wxRect *arg2 = (wxRect *) 0 ; |
7018 | void *argp1 = 0 ; | |
7019 | int res1 = 0 ; | |
7020 | void *argp2 = 0 ; | |
7021 | int res2 = 0 ; | |
7022 | PyObject *swig_obj[2] ; | |
7023 | ||
5eb8189c RD |
7024 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
7025 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 7026 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7027 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7028 | } |
5eb8189c | 7029 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7030 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
7031 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7032 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
7033 | } |
7034 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
7035 | if (arg1) (arg1)->rect = *arg2; | |
7036 | ||
7037 | resultobj = SWIG_Py_Void(); | |
7038 | return resultobj; | |
7039 | fail: | |
7040 | return NULL; | |
7041 | } | |
7042 | ||
7043 | ||
5eb8189c | 7044 | SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7045 | PyObject *resultobj = 0; |
5eb8189c | 7046 | wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; |
27e45892 RD |
7047 | wxRect *result = 0 ; |
7048 | void *argp1 = 0 ; | |
7049 | int res1 = 0 ; | |
7050 | PyObject *swig_obj[1] ; | |
7051 | ||
7052 | if (!args) SWIG_fail; | |
7053 | swig_obj[0] = args; | |
5eb8189c | 7054 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 | 7055 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 7057 | } |
5eb8189c | 7058 | arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); |
27e45892 RD |
7059 | result = (wxRect *)& ((arg1)->rect); |
7060 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
7061 | return resultobj; | |
7062 | fail: | |
7063 | return NULL; | |
7064 | } | |
7065 | ||
7066 | ||
5eb8189c | 7067 | SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7068 | PyObject *obj; |
7069 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 7070 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
7071 | return SWIG_Py_Void(); |
7072 | } | |
7073 | ||
5eb8189c | 7074 | SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
7075 | return SWIG_Python_InitShadowInstance(args); |
7076 | } | |
7077 | ||
5eb8189c | 7078 | SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7079 | PyObject *resultobj = 0; |
10044bf1 | 7080 | wxWindow *arg1 = (wxWindow *) NULL ; |
27e45892 | 7081 | int arg2 = (int) wxAUI_MGR_DEFAULT ; |
5eb8189c | 7082 | wxAuiManager *result = 0 ; |
27e45892 RD |
7083 | void *argp1 = 0 ; |
7084 | int res1 = 0 ; | |
7085 | int val2 ; | |
7086 | int ecode2 = 0 ; | |
7087 | PyObject * obj0 = 0 ; | |
7088 | PyObject * obj1 = 0 ; | |
7089 | char * kwnames[] = { | |
10044bf1 | 7090 | (char *) "managed_wnd",(char *) "flags", NULL |
27e45892 RD |
7091 | }; |
7092 | ||
5eb8189c | 7093 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail; |
27e45892 | 7094 | if (obj0) { |
10044bf1 | 7095 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7096 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7097 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 | 7098 | } |
10044bf1 | 7099 | arg1 = reinterpret_cast< wxWindow * >(argp1); |
27e45892 RD |
7100 | } |
7101 | if (obj1) { | |
7102 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7103 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7104 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7105 | } |
7106 | arg2 = static_cast< int >(val2); | |
7107 | } | |
7108 | { | |
7109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7110 | result = (wxAuiManager *)new wxAuiManager(arg1,arg2); |
27e45892 RD |
7111 | wxPyEndAllowThreads(__tstate); |
7112 | if (PyErr_Occurred()) SWIG_fail; | |
7113 | } | |
5eb8189c | 7114 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
7115 | return resultobj; |
7116 | fail: | |
7117 | return NULL; | |
7118 | } | |
7119 | ||
7120 | ||
5eb8189c | 7121 | SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7122 | PyObject *resultobj = 0; |
5eb8189c | 7123 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7124 | void *argp1 = 0 ; |
7125 | int res1 = 0 ; | |
7126 | PyObject *swig_obj[1] ; | |
7127 | ||
7128 | if (!args) SWIG_fail; | |
7129 | swig_obj[0] = args; | |
5eb8189c | 7130 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 7131 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7133 | } |
5eb8189c | 7134 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7135 | { |
7136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7137 | delete arg1; | |
7138 | ||
7139 | wxPyEndAllowThreads(__tstate); | |
7140 | if (PyErr_Occurred()) SWIG_fail; | |
7141 | } | |
7142 | resultobj = SWIG_Py_Void(); | |
7143 | return resultobj; | |
7144 | fail: | |
7145 | return NULL; | |
7146 | } | |
7147 | ||
7148 | ||
5eb8189c | 7149 | SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7150 | PyObject *resultobj = 0; |
5eb8189c | 7151 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7152 | void *argp1 = 0 ; |
7153 | int res1 = 0 ; | |
7154 | PyObject *swig_obj[1] ; | |
7155 | ||
7156 | if (!args) SWIG_fail; | |
7157 | swig_obj[0] = args; | |
5eb8189c | 7158 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7159 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7160 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7161 | } |
5eb8189c | 7162 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7163 | { |
7164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7165 | (arg1)->UnInit(); | |
7166 | wxPyEndAllowThreads(__tstate); | |
7167 | if (PyErr_Occurred()) SWIG_fail; | |
7168 | } | |
7169 | resultobj = SWIG_Py_Void(); | |
7170 | return resultobj; | |
7171 | fail: | |
7172 | return NULL; | |
7173 | } | |
7174 | ||
7175 | ||
5eb8189c | 7176 | SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7177 | PyObject *resultobj = 0; |
5eb8189c | 7178 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7179 | int arg2 ; |
7180 | void *argp1 = 0 ; | |
7181 | int res1 = 0 ; | |
7182 | int val2 ; | |
7183 | int ecode2 = 0 ; | |
7184 | PyObject * obj0 = 0 ; | |
7185 | PyObject * obj1 = 0 ; | |
7186 | char * kwnames[] = { | |
7187 | (char *) "self",(char *) "flags", NULL | |
7188 | }; | |
7189 | ||
5eb8189c RD |
7190 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
7191 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7192 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7193 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7194 | } |
5eb8189c | 7195 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7196 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
7197 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 7198 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
7199 | } |
7200 | arg2 = static_cast< int >(val2); | |
7201 | { | |
7202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7203 | (arg1)->SetFlags(arg2); | |
7204 | wxPyEndAllowThreads(__tstate); | |
7205 | if (PyErr_Occurred()) SWIG_fail; | |
7206 | } | |
7207 | resultobj = SWIG_Py_Void(); | |
7208 | return resultobj; | |
7209 | fail: | |
7210 | return NULL; | |
7211 | } | |
7212 | ||
7213 | ||
5eb8189c | 7214 | SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7215 | PyObject *resultobj = 0; |
5eb8189c | 7216 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7217 | int result; |
7218 | void *argp1 = 0 ; | |
7219 | int res1 = 0 ; | |
7220 | PyObject *swig_obj[1] ; | |
7221 | ||
7222 | if (!args) SWIG_fail; | |
7223 | swig_obj[0] = args; | |
5eb8189c | 7224 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7225 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7227 | } |
5eb8189c | 7228 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7229 | { |
7230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7231 | result = (int)((wxAuiManager const *)arg1)->GetFlags(); |
27e45892 RD |
7232 | wxPyEndAllowThreads(__tstate); |
7233 | if (PyErr_Occurred()) SWIG_fail; | |
7234 | } | |
7235 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7236 | return resultobj; | |
7237 | fail: | |
7238 | return NULL; | |
7239 | } | |
7240 | ||
7241 | ||
5eb8189c | 7242 | SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7243 | PyObject *resultobj = 0; |
5eb8189c | 7244 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7245 | wxWindow *arg2 = (wxWindow *) 0 ; |
27e45892 RD |
7246 | void *argp1 = 0 ; |
7247 | int res1 = 0 ; | |
7248 | void *argp2 = 0 ; | |
7249 | int res2 = 0 ; | |
7250 | PyObject * obj0 = 0 ; | |
7251 | PyObject * obj1 = 0 ; | |
7252 | char * kwnames[] = { | |
10044bf1 | 7253 | (char *) "self",(char *) "managed_wnd", NULL |
27e45892 RD |
7254 | }; |
7255 | ||
5eb8189c RD |
7256 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
7257 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7258 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7260 | } |
5eb8189c | 7261 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
1d5ee749 | 7262 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7263 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7264 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 | 7265 | } |
1d5ee749 | 7266 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
27e45892 RD |
7267 | { |
7268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10044bf1 | 7269 | (arg1)->SetManagedWindow(arg2); |
27e45892 RD |
7270 | wxPyEndAllowThreads(__tstate); |
7271 | if (PyErr_Occurred()) SWIG_fail; | |
7272 | } | |
7273 | resultobj = SWIG_Py_Void(); | |
7274 | return resultobj; | |
7275 | fail: | |
7276 | return NULL; | |
7277 | } | |
7278 | ||
7279 | ||
5eb8189c | 7280 | SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7281 | PyObject *resultobj = 0; |
5eb8189c | 7282 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
1d5ee749 | 7283 | wxWindow *result = 0 ; |
27e45892 RD |
7284 | void *argp1 = 0 ; |
7285 | int res1 = 0 ; | |
7286 | PyObject *swig_obj[1] ; | |
7287 | ||
7288 | if (!args) SWIG_fail; | |
7289 | swig_obj[0] = args; | |
5eb8189c | 7290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7291 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7293 | } |
5eb8189c | 7294 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7295 | { |
7296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7297 | result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow(); |
27e45892 RD |
7298 | wxPyEndAllowThreads(__tstate); |
7299 | if (PyErr_Occurred()) SWIG_fail; | |
7300 | } | |
7301 | { | |
7302 | resultobj = wxPyMake_wxObject(result, 0); | |
7303 | } | |
7304 | return resultobj; | |
7305 | fail: | |
7306 | return NULL; | |
7307 | } | |
7308 | ||
7309 | ||
eccab1a7 RD |
7310 | SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7311 | PyObject *resultobj = 0; | |
7312 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7313 | wxAuiManager *result = 0 ; | |
7314 | void *argp1 = 0 ; | |
7315 | int res1 = 0 ; | |
7316 | PyObject * obj0 = 0 ; | |
7317 | char * kwnames[] = { | |
7318 | (char *) "window", NULL | |
7319 | }; | |
7320 | ||
7321 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail; | |
7322 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
7323 | if (!SWIG_IsOK(res1)) { | |
7324 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
7325 | } | |
7326 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
7327 | { | |
7328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7329 | result = (wxAuiManager *)wxAuiManager::GetManager(arg1); | |
7330 | wxPyEndAllowThreads(__tstate); | |
7331 | if (PyErr_Occurred()) SWIG_fail; | |
7332 | } | |
7333 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7334 | return resultobj; | |
7335 | fail: | |
7336 | return NULL; | |
7337 | } | |
7338 | ||
7339 | ||
5eb8189c | 7340 | SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7341 | PyObject *resultobj = 0; |
5eb8189c RD |
7342 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7343 | wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ; | |
27e45892 RD |
7344 | void *argp1 = 0 ; |
7345 | int res1 = 0 ; | |
7346 | int res2 = 0 ; | |
7347 | PyObject * obj0 = 0 ; | |
7348 | PyObject * obj1 = 0 ; | |
7349 | char * kwnames[] = { | |
7350 | (char *) "self",(char *) "art_provider", NULL | |
7351 | }; | |
7352 | ||
5eb8189c RD |
7353 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; |
7354 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7355 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7357 | } |
5eb8189c RD |
7358 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7359 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 7360 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'"); |
27e45892 RD |
7362 | } |
7363 | { | |
7364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7365 | (arg1)->SetArtProvider(arg2); | |
7366 | wxPyEndAllowThreads(__tstate); | |
7367 | if (PyErr_Occurred()) SWIG_fail; | |
7368 | } | |
7369 | resultobj = SWIG_Py_Void(); | |
7370 | return resultobj; | |
7371 | fail: | |
7372 | return NULL; | |
7373 | } | |
7374 | ||
7375 | ||
5eb8189c | 7376 | SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7377 | PyObject *resultobj = 0; |
5eb8189c RD |
7378 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7379 | wxAuiDockArt *result = 0 ; | |
27e45892 RD |
7380 | void *argp1 = 0 ; |
7381 | int res1 = 0 ; | |
7382 | PyObject *swig_obj[1] ; | |
7383 | ||
7384 | if (!args) SWIG_fail; | |
7385 | swig_obj[0] = args; | |
5eb8189c | 7386 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7387 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7388 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); |
27e45892 | 7389 | } |
5eb8189c | 7390 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7391 | { |
7392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7393 | result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider(); |
27e45892 RD |
7394 | wxPyEndAllowThreads(__tstate); |
7395 | if (PyErr_Occurred()) SWIG_fail; | |
7396 | } | |
5eb8189c | 7397 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); |
27e45892 RD |
7398 | return resultobj; |
7399 | fail: | |
7400 | return NULL; | |
7401 | } | |
7402 | ||
7403 | ||
5eb8189c | 7404 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7405 | PyObject *resultobj = 0; |
5eb8189c | 7406 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7407 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7408 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7409 | void *argp1 = 0 ; |
7410 | int res1 = 0 ; | |
7411 | void *argp2 = 0 ; | |
7412 | int res2 = 0 ; | |
7413 | PyObject * obj0 = 0 ; | |
7414 | PyObject * obj1 = 0 ; | |
7415 | char * kwnames[] = { | |
7416 | (char *) "self",(char *) "window", NULL | |
7417 | }; | |
7418 | ||
5eb8189c RD |
7419 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail; |
7420 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7421 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7423 | } |
5eb8189c | 7424 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7425 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7426 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7427 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7428 | } |
7429 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7430 | { | |
7431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7432 | { | |
5eb8189c RD |
7433 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2); |
7434 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7435 | } |
7436 | wxPyEndAllowThreads(__tstate); | |
7437 | if (PyErr_Occurred()) SWIG_fail; | |
7438 | } | |
5eb8189c | 7439 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7440 | return resultobj; |
7441 | fail: | |
7442 | return NULL; | |
7443 | } | |
7444 | ||
7445 | ||
5eb8189c | 7446 | SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7447 | PyObject *resultobj = 0; |
5eb8189c | 7448 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7449 | wxString *arg2 = 0 ; |
5eb8189c | 7450 | wxAuiPaneInfo *result = 0 ; |
27e45892 RD |
7451 | void *argp1 = 0 ; |
7452 | int res1 = 0 ; | |
7453 | bool temp2 = false ; | |
7454 | PyObject * obj0 = 0 ; | |
7455 | PyObject * obj1 = 0 ; | |
7456 | char * kwnames[] = { | |
7457 | (char *) "self",(char *) "name", NULL | |
7458 | }; | |
7459 | ||
5eb8189c RD |
7460 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail; |
7461 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7462 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7463 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7464 | } |
5eb8189c | 7465 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7466 | { |
7467 | arg2 = wxString_in_helper(obj1); | |
7468 | if (arg2 == NULL) SWIG_fail; | |
7469 | temp2 = true; | |
7470 | } | |
7471 | { | |
7472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7473 | { | |
5eb8189c RD |
7474 | wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2); |
7475 | result = (wxAuiPaneInfo *) &_result_ref; | |
27e45892 RD |
7476 | } |
7477 | wxPyEndAllowThreads(__tstate); | |
7478 | if (PyErr_Occurred()) SWIG_fail; | |
7479 | } | |
5eb8189c | 7480 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
7481 | { |
7482 | if (temp2) | |
7483 | delete arg2; | |
7484 | } | |
7485 | return resultobj; | |
7486 | fail: | |
7487 | { | |
7488 | if (temp2) | |
7489 | delete arg2; | |
7490 | } | |
7491 | return NULL; | |
7492 | } | |
7493 | ||
7494 | ||
5eb8189c | 7495 | SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7496 | PyObject *resultobj = 0; |
5eb8189c RD |
7497 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
7498 | wxAuiPaneInfoArray *result = 0 ; | |
27e45892 RD |
7499 | void *argp1 = 0 ; |
7500 | int res1 = 0 ; | |
7501 | PyObject *swig_obj[1] ; | |
7502 | ||
7503 | if (!args) SWIG_fail; | |
7504 | swig_obj[0] = args; | |
5eb8189c | 7505 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7506 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7507 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7508 | } |
5eb8189c | 7509 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7510 | { |
7511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7512 | { | |
5eb8189c RD |
7513 | wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes(); |
7514 | result = (wxAuiPaneInfoArray *) &_result_ref; | |
27e45892 RD |
7515 | } |
7516 | wxPyEndAllowThreads(__tstate); | |
7517 | if (PyErr_Occurred()) SWIG_fail; | |
7518 | } | |
7519 | { | |
7520 | resultobj = PyList_New(0); | |
7521 | for (size_t i=0; i < result->GetCount(); i++) { | |
5eb8189c | 7522 | PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0); |
27e45892 RD |
7523 | PyList_Append(resultobj, pane_obj); |
7524 | } | |
7525 | } | |
7526 | return resultobj; | |
7527 | fail: | |
7528 | return NULL; | |
7529 | } | |
7530 | ||
7531 | ||
36cb9ebe | 7532 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7533 | PyObject *resultobj = 0; |
5eb8189c | 7534 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7535 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7536 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7537 | bool result; |
7538 | void *argp1 = 0 ; | |
7539 | int res1 = 0 ; | |
7540 | void *argp2 = 0 ; | |
7541 | int res2 = 0 ; | |
7542 | void *argp3 = 0 ; | |
7543 | int res3 = 0 ; | |
36cb9ebe RD |
7544 | PyObject * obj0 = 0 ; |
7545 | PyObject * obj1 = 0 ; | |
7546 | PyObject * obj2 = 0 ; | |
7547 | char * kwnames[] = { | |
7548 | (char *) "self",(char *) "window",(char *) "pane_info", NULL | |
7549 | }; | |
27e45892 | 7550 | |
36cb9ebe RD |
7551 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7552 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7553 | if (!SWIG_IsOK(res1)) { |
36cb9ebe | 7554 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7555 | } |
5eb8189c | 7556 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7557 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
27e45892 | 7558 | if (!SWIG_IsOK(res2)) { |
36cb9ebe | 7559 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7560 | } |
7561 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7562 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7563 | if (!SWIG_IsOK(res3)) { |
36cb9ebe | 7564 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7565 | } |
7566 | if (!argp3) { | |
36cb9ebe | 7567 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7568 | } |
5eb8189c | 7569 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7570 | { |
7571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7572 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3); |
27e45892 RD |
7573 | wxPyEndAllowThreads(__tstate); |
7574 | if (PyErr_Occurred()) SWIG_fail; | |
7575 | } | |
7576 | { | |
7577 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7578 | } | |
7579 | return resultobj; | |
7580 | fail: | |
7581 | return NULL; | |
7582 | } | |
7583 | ||
7584 | ||
36cb9ebe | 7585 | SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 7586 | PyObject *resultobj = 0; |
5eb8189c | 7587 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 | 7588 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7589 | wxAuiPaneInfo *arg3 = 0 ; |
10044bf1 RD |
7590 | wxPoint *arg4 = 0 ; |
7591 | bool result; | |
7592 | void *argp1 = 0 ; | |
7593 | int res1 = 0 ; | |
7594 | void *argp2 = 0 ; | |
7595 | int res2 = 0 ; | |
7596 | void *argp3 = 0 ; | |
7597 | int res3 = 0 ; | |
7598 | wxPoint temp4 ; | |
36cb9ebe RD |
7599 | PyObject * obj0 = 0 ; |
7600 | PyObject * obj1 = 0 ; | |
7601 | PyObject * obj2 = 0 ; | |
7602 | PyObject * obj3 = 0 ; | |
7603 | char * kwnames[] = { | |
7604 | (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL | |
7605 | }; | |
10044bf1 | 7606 | |
36cb9ebe RD |
7607 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7608 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 7609 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7610 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 7611 | } |
5eb8189c | 7612 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
36cb9ebe | 7613 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
10044bf1 | 7614 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7615 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
7616 | } |
7617 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
36cb9ebe | 7618 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
10044bf1 | 7619 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7620 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 RD |
7621 | } |
7622 | if (!argp3) { | |
5eb8189c | 7623 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
10044bf1 | 7624 | } |
5eb8189c | 7625 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
10044bf1 RD |
7626 | { |
7627 | arg4 = &temp4; | |
36cb9ebe | 7628 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
10044bf1 RD |
7629 | } |
7630 | { | |
7631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7632 | result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4); |
10044bf1 RD |
7633 | wxPyEndAllowThreads(__tstate); |
7634 | if (PyErr_Occurred()) SWIG_fail; | |
7635 | } | |
7636 | { | |
7637 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7638 | } | |
7639 | return resultobj; | |
7640 | fail: | |
7641 | return NULL; | |
7642 | } | |
7643 | ||
7644 | ||
5eb8189c | 7645 | SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7646 | PyObject *resultobj = 0; |
5eb8189c | 7647 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7648 | wxWindow *arg2 = (wxWindow *) 0 ; |
7649 | int arg3 = (int) wxLEFT ; | |
7650 | wxString const &arg4_defvalue = wxEmptyString ; | |
7651 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
7652 | bool result; | |
7653 | void *argp1 = 0 ; | |
7654 | int res1 = 0 ; | |
7655 | void *argp2 = 0 ; | |
7656 | int res2 = 0 ; | |
7657 | int val3 ; | |
7658 | int ecode3 = 0 ; | |
7659 | bool temp4 = false ; | |
7660 | PyObject * obj0 = 0 ; | |
7661 | PyObject * obj1 = 0 ; | |
7662 | PyObject * obj2 = 0 ; | |
7663 | PyObject * obj3 = 0 ; | |
7664 | char * kwnames[] = { | |
7665 | (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL | |
7666 | }; | |
7667 | ||
5eb8189c RD |
7668 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7669 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7670 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7672 | } |
5eb8189c | 7673 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7674 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7675 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7676 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7677 | } |
7678 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7679 | if (obj2) { | |
7680 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7681 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 7682 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
7683 | } |
7684 | arg3 = static_cast< int >(val3); | |
7685 | } | |
7686 | if (obj3) { | |
7687 | { | |
7688 | arg4 = wxString_in_helper(obj3); | |
7689 | if (arg4 == NULL) SWIG_fail; | |
7690 | temp4 = true; | |
7691 | } | |
7692 | } | |
7693 | { | |
7694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7695 | result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4); | |
7696 | wxPyEndAllowThreads(__tstate); | |
7697 | if (PyErr_Occurred()) SWIG_fail; | |
7698 | } | |
7699 | { | |
7700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7701 | } | |
7702 | { | |
7703 | if (temp4) | |
7704 | delete arg4; | |
7705 | } | |
7706 | return resultobj; | |
7707 | fail: | |
7708 | { | |
7709 | if (temp4) | |
7710 | delete arg4; | |
7711 | } | |
7712 | return NULL; | |
7713 | } | |
7714 | ||
7715 | ||
5eb8189c | 7716 | SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7717 | PyObject *resultobj = 0; |
5eb8189c | 7718 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 | 7719 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c | 7720 | wxAuiPaneInfo *arg3 = 0 ; |
27e45892 RD |
7721 | int arg4 = (int) wxAUI_INSERT_PANE ; |
7722 | bool result; | |
7723 | void *argp1 = 0 ; | |
7724 | int res1 = 0 ; | |
7725 | void *argp2 = 0 ; | |
7726 | int res2 = 0 ; | |
7727 | void *argp3 = 0 ; | |
7728 | int res3 = 0 ; | |
7729 | int val4 ; | |
7730 | int ecode4 = 0 ; | |
7731 | PyObject * obj0 = 0 ; | |
7732 | PyObject * obj1 = 0 ; | |
7733 | PyObject * obj2 = 0 ; | |
7734 | PyObject * obj3 = 0 ; | |
7735 | char * kwnames[] = { | |
7736 | (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL | |
7737 | }; | |
7738 | ||
5eb8189c RD |
7739 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
7740 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7741 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7742 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7743 | } |
5eb8189c | 7744 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7745 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7746 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7747 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7748 | } |
7749 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 7750 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
27e45892 | 7751 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7752 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
7753 | } |
7754 | if (!argp3) { | |
5eb8189c | 7755 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 7756 | } |
5eb8189c | 7757 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
7758 | if (obj3) { |
7759 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7760 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 7761 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
7762 | } |
7763 | arg4 = static_cast< int >(val4); | |
7764 | } | |
7765 | { | |
7766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 7767 | result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4); |
27e45892 RD |
7768 | wxPyEndAllowThreads(__tstate); |
7769 | if (PyErr_Occurred()) SWIG_fail; | |
7770 | } | |
7771 | { | |
7772 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7773 | } | |
7774 | return resultobj; | |
7775 | fail: | |
7776 | return NULL; | |
7777 | } | |
7778 | ||
7779 | ||
5eb8189c | 7780 | SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7781 | PyObject *resultobj = 0; |
5eb8189c | 7782 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7783 | wxWindow *arg2 = (wxWindow *) 0 ; |
7784 | bool result; | |
7785 | void *argp1 = 0 ; | |
7786 | int res1 = 0 ; | |
7787 | void *argp2 = 0 ; | |
7788 | int res2 = 0 ; | |
7789 | PyObject * obj0 = 0 ; | |
7790 | PyObject * obj1 = 0 ; | |
7791 | char * kwnames[] = { | |
7792 | (char *) "self",(char *) "window", NULL | |
7793 | }; | |
7794 | ||
5eb8189c RD |
7795 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail; |
7796 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7797 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7799 | } |
5eb8189c | 7800 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7801 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
7802 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 7803 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'"); |
27e45892 RD |
7804 | } |
7805 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
7806 | { | |
7807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7808 | result = (bool)(arg1)->DetachPane(arg2); | |
7809 | wxPyEndAllowThreads(__tstate); | |
7810 | if (PyErr_Occurred()) SWIG_fail; | |
7811 | } | |
7812 | { | |
7813 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7814 | } | |
7815 | return resultobj; | |
7816 | fail: | |
7817 | return NULL; | |
7818 | } | |
7819 | ||
7820 | ||
d7645bfd | 7821 | SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5eb8189c RD |
7822 | PyObject *resultobj = 0; |
7823 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7824 | void *argp1 = 0 ; | |
7825 | int res1 = 0 ; | |
7826 | PyObject *swig_obj[1] ; | |
7827 | ||
7828 | if (!args) SWIG_fail; | |
7829 | swig_obj[0] = args; | |
7830 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
7831 | if (!SWIG_IsOK(res1)) { | |
d7645bfd | 7832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
5eb8189c RD |
7833 | } |
7834 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
7835 | { | |
7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 7837 | (arg1)->Update(); |
5eb8189c RD |
7838 | wxPyEndAllowThreads(__tstate); |
7839 | if (PyErr_Occurred()) SWIG_fail; | |
7840 | } | |
7841 | resultobj = SWIG_Py_Void(); | |
7842 | return resultobj; | |
7843 | fail: | |
7844 | return NULL; | |
7845 | } | |
7846 | ||
7847 | ||
7848 | SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7849 | PyObject *resultobj = 0; | |
7850 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
7851 | wxAuiPaneInfo *arg2 = 0 ; | |
0f83f5da RD |
7852 | wxString result; |
7853 | void *argp1 = 0 ; | |
7854 | int res1 = 0 ; | |
7855 | void *argp2 = 0 ; | |
7856 | int res2 = 0 ; | |
7857 | PyObject * obj0 = 0 ; | |
7858 | PyObject * obj1 = 0 ; | |
7859 | char * kwnames[] = { | |
7860 | (char *) "self",(char *) "pane", NULL | |
7861 | }; | |
7862 | ||
5eb8189c RD |
7863 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
7864 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7865 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7866 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7867 | } |
5eb8189c RD |
7868 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
7869 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
0f83f5da | 7870 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 7871 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7872 | } |
7873 | if (!argp2) { | |
5eb8189c | 7874 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7875 | } |
5eb8189c | 7876 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
0f83f5da RD |
7877 | { |
7878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7879 | result = (arg1)->SavePaneInfo(*arg2); | |
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
7883 | { | |
7884 | #if wxUSE_UNICODE | |
7885 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7886 | #else | |
7887 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7888 | #endif | |
7889 | } | |
7890 | return resultobj; | |
7891 | fail: | |
7892 | return NULL; | |
7893 | } | |
7894 | ||
7895 | ||
5eb8189c | 7896 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0f83f5da | 7897 | PyObject *resultobj = 0; |
5eb8189c | 7898 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
0f83f5da | 7899 | wxString arg2 ; |
5eb8189c | 7900 | wxAuiPaneInfo *arg3 = 0 ; |
0f83f5da RD |
7901 | void *argp1 = 0 ; |
7902 | int res1 = 0 ; | |
7903 | void *argp3 = 0 ; | |
7904 | int res3 = 0 ; | |
7905 | PyObject * obj0 = 0 ; | |
7906 | PyObject * obj1 = 0 ; | |
7907 | PyObject * obj2 = 0 ; | |
7908 | char * kwnames[] = { | |
7909 | (char *) "self",(char *) "pane_part",(char *) "pane", NULL | |
7910 | }; | |
7911 | ||
5eb8189c RD |
7912 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7913 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
0f83f5da | 7914 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
0f83f5da | 7916 | } |
5eb8189c | 7917 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
0f83f5da RD |
7918 | { |
7919 | wxString* sptr = wxString_in_helper(obj1); | |
7920 | if (sptr == NULL) SWIG_fail; | |
7921 | arg2 = *sptr; | |
7922 | delete sptr; | |
7923 | } | |
5eb8189c | 7924 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
0f83f5da | 7925 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 7926 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da RD |
7927 | } |
7928 | if (!argp3) { | |
5eb8189c | 7929 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'"); |
0f83f5da | 7930 | } |
5eb8189c | 7931 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
0f83f5da RD |
7932 | { |
7933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7934 | (arg1)->LoadPaneInfo(arg2,*arg3); | |
7935 | wxPyEndAllowThreads(__tstate); | |
7936 | if (PyErr_Occurred()) SWIG_fail; | |
7937 | } | |
7938 | resultobj = SWIG_Py_Void(); | |
7939 | return resultobj; | |
7940 | fail: | |
7941 | return NULL; | |
7942 | } | |
7943 | ||
7944 | ||
5eb8189c | 7945 | SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 7946 | PyObject *resultobj = 0; |
5eb8189c | 7947 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7948 | wxString result; |
7949 | void *argp1 = 0 ; | |
7950 | int res1 = 0 ; | |
7951 | PyObject *swig_obj[1] ; | |
7952 | ||
7953 | if (!args) SWIG_fail; | |
7954 | swig_obj[0] = args; | |
5eb8189c | 7955 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 7956 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 7957 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 7958 | } |
5eb8189c | 7959 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
7960 | { |
7961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7962 | result = (arg1)->SavePerspective(); | |
7963 | wxPyEndAllowThreads(__tstate); | |
7964 | if (PyErr_Occurred()) SWIG_fail; | |
7965 | } | |
7966 | { | |
7967 | #if wxUSE_UNICODE | |
7968 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7969 | #else | |
7970 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7971 | #endif | |
7972 | } | |
7973 | return resultobj; | |
7974 | fail: | |
7975 | return NULL; | |
7976 | } | |
7977 | ||
7978 | ||
5eb8189c | 7979 | SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 7980 | PyObject *resultobj = 0; |
5eb8189c | 7981 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
7982 | wxString *arg2 = 0 ; |
7983 | bool arg3 = (bool) true ; | |
7984 | bool result; | |
7985 | void *argp1 = 0 ; | |
7986 | int res1 = 0 ; | |
7987 | bool temp2 = false ; | |
7988 | bool val3 ; | |
7989 | int ecode3 = 0 ; | |
7990 | PyObject * obj0 = 0 ; | |
7991 | PyObject * obj1 = 0 ; | |
7992 | PyObject * obj2 = 0 ; | |
7993 | char * kwnames[] = { | |
7994 | (char *) "self",(char *) "perspective",(char *) "update", NULL | |
7995 | }; | |
7996 | ||
5eb8189c RD |
7997 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
7998 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
27e45892 | 7999 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8000 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8001 | } |
5eb8189c | 8002 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8003 | { |
8004 | arg2 = wxString_in_helper(obj1); | |
8005 | if (arg2 == NULL) SWIG_fail; | |
8006 | temp2 = true; | |
8007 | } | |
8008 | if (obj2) { | |
8009 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8010 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 8011 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'"); |
27e45892 RD |
8012 | } |
8013 | arg3 = static_cast< bool >(val3); | |
8014 | } | |
8015 | { | |
8016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8017 | result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3); | |
8018 | wxPyEndAllowThreads(__tstate); | |
8019 | if (PyErr_Occurred()) SWIG_fail; | |
8020 | } | |
8021 | { | |
8022 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8023 | } | |
8024 | { | |
8025 | if (temp2) | |
8026 | delete arg2; | |
8027 | } | |
8028 | return resultobj; | |
8029 | fail: | |
8030 | { | |
8031 | if (temp2) | |
8032 | delete arg2; | |
8033 | } | |
8034 | return NULL; | |
8035 | } | |
8036 | ||
8037 | ||
d7645bfd VZ |
8038 | SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8039 | PyObject *resultobj = 0; | |
8040 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8041 | double arg2 ; | |
8042 | double arg3 ; | |
8043 | void *argp1 = 0 ; | |
8044 | int res1 = 0 ; | |
8045 | double val2 ; | |
8046 | int ecode2 = 0 ; | |
8047 | double val3 ; | |
8048 | int ecode3 = 0 ; | |
8049 | PyObject * obj0 = 0 ; | |
8050 | PyObject * obj1 = 0 ; | |
8051 | PyObject * obj2 = 0 ; | |
8052 | char * kwnames[] = { | |
8053 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8054 | }; | |
8055 | ||
8056 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8057 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8058 | if (!SWIG_IsOK(res1)) { | |
8059 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8060 | } | |
8061 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8062 | ecode2 = SWIG_AsVal_double(obj1, &val2); | |
8063 | if (!SWIG_IsOK(ecode2)) { | |
8064 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); | |
8065 | } | |
8066 | arg2 = static_cast< double >(val2); | |
8067 | ecode3 = SWIG_AsVal_double(obj2, &val3); | |
8068 | if (!SWIG_IsOK(ecode3)) { | |
8069 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); | |
8070 | } | |
8071 | arg3 = static_cast< double >(val3); | |
8072 | { | |
8073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8074 | (arg1)->SetDockSizeConstraint(arg2,arg3); | |
8075 | wxPyEndAllowThreads(__tstate); | |
8076 | if (PyErr_Occurred()) SWIG_fail; | |
8077 | } | |
8078 | resultobj = SWIG_Py_Void(); | |
8079 | return resultobj; | |
8080 | fail: | |
8081 | return NULL; | |
8082 | } | |
8083 | ||
8084 | ||
8085 | SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8086 | PyObject *resultobj = 0; | |
8087 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8088 | double *arg2 = (double *) 0 ; | |
8089 | double *arg3 = (double *) 0 ; | |
8090 | void *argp1 = 0 ; | |
8091 | int res1 = 0 ; | |
8092 | void *argp2 = 0 ; | |
8093 | int res2 = 0 ; | |
8094 | void *argp3 = 0 ; | |
8095 | int res3 = 0 ; | |
8096 | PyObject * obj0 = 0 ; | |
8097 | PyObject * obj1 = 0 ; | |
8098 | PyObject * obj2 = 0 ; | |
8099 | char * kwnames[] = { | |
8100 | (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL | |
8101 | }; | |
8102 | ||
8103 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8104 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8105 | if (!SWIG_IsOK(res1)) { | |
8106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); | |
8107 | } | |
8108 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8109 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); | |
8110 | if (!SWIG_IsOK(res2)) { | |
8111 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); | |
8112 | } | |
8113 | arg2 = reinterpret_cast< double * >(argp2); | |
8114 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); | |
8115 | if (!SWIG_IsOK(res3)) { | |
8116 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); | |
8117 | } | |
8118 | arg3 = reinterpret_cast< double * >(argp3); | |
8119 | { | |
8120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8121 | ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); | |
8122 | wxPyEndAllowThreads(__tstate); | |
8123 | if (PyErr_Occurred()) SWIG_fail; | |
8124 | } | |
8125 | resultobj = SWIG_Py_Void(); | |
8126 | return resultobj; | |
8127 | fail: | |
8128 | return NULL; | |
8129 | } | |
8130 | ||
8131 | ||
8132 | SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8133 | PyObject *resultobj = 0; | |
8134 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8135 | wxAuiPaneInfo *arg2 = 0 ; | |
8136 | void *argp1 = 0 ; | |
8137 | int res1 = 0 ; | |
8138 | void *argp2 = 0 ; | |
8139 | int res2 = 0 ; | |
8140 | PyObject * obj0 = 0 ; | |
8141 | PyObject * obj1 = 0 ; | |
8142 | char * kwnames[] = { | |
8143 | (char *) "self",(char *) "pane_info", NULL | |
8144 | }; | |
8145 | ||
8146 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8147 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8148 | if (!SWIG_IsOK(res1)) { | |
8149 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8150 | } | |
8151 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8152 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8153 | if (!SWIG_IsOK(res2)) { | |
8154 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8155 | } | |
8156 | if (!argp2) { | |
8157 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8158 | } | |
8159 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8160 | { | |
8161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8162 | (arg1)->ClosePane(*arg2); | |
8163 | wxPyEndAllowThreads(__tstate); | |
8164 | if (PyErr_Occurred()) SWIG_fail; | |
8165 | } | |
8166 | resultobj = SWIG_Py_Void(); | |
8167 | return resultobj; | |
8168 | fail: | |
8169 | return NULL; | |
8170 | } | |
8171 | ||
8172 | ||
8173 | SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8174 | PyObject *resultobj = 0; | |
8175 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8176 | wxAuiPaneInfo *arg2 = 0 ; | |
8177 | void *argp1 = 0 ; | |
8178 | int res1 = 0 ; | |
8179 | void *argp2 = 0 ; | |
8180 | int res2 = 0 ; | |
8181 | PyObject * obj0 = 0 ; | |
8182 | PyObject * obj1 = 0 ; | |
8183 | char * kwnames[] = { | |
8184 | (char *) "self",(char *) "pane_info", NULL | |
8185 | }; | |
8186 | ||
8187 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8188 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8189 | if (!SWIG_IsOK(res1)) { | |
8190 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8191 | } | |
8192 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8193 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8194 | if (!SWIG_IsOK(res2)) { | |
8195 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8196 | } | |
8197 | if (!argp2) { | |
8198 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8199 | } | |
8200 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8201 | { | |
8202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8203 | (arg1)->MaximizePane(*arg2); | |
8204 | wxPyEndAllowThreads(__tstate); | |
8205 | if (PyErr_Occurred()) SWIG_fail; | |
8206 | } | |
8207 | resultobj = SWIG_Py_Void(); | |
8208 | return resultobj; | |
8209 | fail: | |
8210 | return NULL; | |
8211 | } | |
8212 | ||
8213 | ||
8214 | SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8215 | PyObject *resultobj = 0; | |
8216 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8217 | wxAuiPaneInfo *arg2 = 0 ; | |
8218 | void *argp1 = 0 ; | |
8219 | int res1 = 0 ; | |
8220 | void *argp2 = 0 ; | |
8221 | int res2 = 0 ; | |
8222 | PyObject * obj0 = 0 ; | |
8223 | PyObject * obj1 = 0 ; | |
8224 | char * kwnames[] = { | |
8225 | (char *) "self",(char *) "pane_info", NULL | |
8226 | }; | |
8227 | ||
8228 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; | |
8229 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8230 | if (!SWIG_IsOK(res1)) { | |
8231 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8232 | } | |
8233 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8234 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); | |
8235 | if (!SWIG_IsOK(res2)) { | |
8236 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8237 | } | |
8238 | if (!argp2) { | |
8239 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); | |
8240 | } | |
8241 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); | |
8242 | { | |
8243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8244 | (arg1)->RestorePane(*arg2); | |
8245 | wxPyEndAllowThreads(__tstate); | |
8246 | if (PyErr_Occurred()) SWIG_fail; | |
8247 | } | |
8248 | resultobj = SWIG_Py_Void(); | |
8249 | return resultobj; | |
8250 | fail: | |
8251 | return NULL; | |
8252 | } | |
8253 | ||
8254 | ||
8255 | SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
27e45892 | 8256 | PyObject *resultobj = 0; |
5eb8189c | 8257 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
27e45892 RD |
8258 | void *argp1 = 0 ; |
8259 | int res1 = 0 ; | |
8260 | PyObject *swig_obj[1] ; | |
8261 | ||
8262 | if (!args) SWIG_fail; | |
8263 | swig_obj[0] = args; | |
5eb8189c | 8264 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 8265 | if (!SWIG_IsOK(res1)) { |
d7645bfd | 8266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
27e45892 | 8267 | } |
5eb8189c | 8268 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
27e45892 RD |
8269 | { |
8270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d7645bfd | 8271 | (arg1)->RestoreMaximizedPane(); |
27e45892 RD |
8272 | wxPyEndAllowThreads(__tstate); |
8273 | if (PyErr_Occurred()) SWIG_fail; | |
8274 | } | |
8275 | resultobj = SWIG_Py_Void(); | |
8276 | return resultobj; | |
8277 | fail: | |
8278 | return NULL; | |
8279 | } | |
8280 | ||
8281 | ||
5eb8189c | 8282 | SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
9b940138 | 8283 | PyObject *resultobj = 0; |
5eb8189c | 8284 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
9b940138 | 8285 | wxWindow *arg2 = (wxWindow *) 0 ; |
5eb8189c RD |
8286 | wxAuiPaneInfo *arg3 = 0 ; |
8287 | wxAuiFloatingFrame *result = 0 ; | |
9b940138 RD |
8288 | void *argp1 = 0 ; |
8289 | int res1 = 0 ; | |
8290 | void *argp2 = 0 ; | |
8291 | int res2 = 0 ; | |
8292 | void *argp3 = 0 ; | |
8293 | int res3 = 0 ; | |
8294 | PyObject * obj0 = 0 ; | |
8295 | PyObject * obj1 = 0 ; | |
8296 | PyObject * obj2 = 0 ; | |
8297 | char * kwnames[] = { | |
8298 | (char *) "self",(char *) "parent",(char *) "p", NULL | |
8299 | }; | |
8300 | ||
5eb8189c RD |
8301 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8302 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9b940138 | 8303 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
9b940138 | 8305 | } |
5eb8189c | 8306 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
9b940138 RD |
8307 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8308 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8309 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); |
9b940138 RD |
8310 | } |
8311 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5eb8189c | 8312 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); |
9b940138 | 8313 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 8314 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 RD |
8315 | } |
8316 | if (!argp3) { | |
5eb8189c | 8317 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
9b940138 | 8318 | } |
5eb8189c | 8319 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
9b940138 RD |
8320 | { |
8321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8322 | result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); |
9b940138 RD |
8323 | wxPyEndAllowThreads(__tstate); |
8324 | if (PyErr_Occurred()) SWIG_fail; | |
8325 | } | |
5eb8189c | 8326 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); |
9b940138 RD |
8327 | return resultobj; |
8328 | fail: | |
8329 | return NULL; | |
8330 | } | |
8331 | ||
8332 | ||
e7e9d1b8 RD |
8333 | SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8334 | PyObject *resultobj = 0; | |
8335 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8336 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8337 | wxPoint *arg3 = 0 ; | |
8338 | void *argp1 = 0 ; | |
8339 | int res1 = 0 ; | |
8340 | void *argp2 = 0 ; | |
8341 | int res2 = 0 ; | |
8342 | wxPoint temp3 ; | |
8343 | PyObject * obj0 = 0 ; | |
8344 | PyObject * obj1 = 0 ; | |
8345 | PyObject * obj2 = 0 ; | |
8346 | char * kwnames[] = { | |
8347 | (char *) "self",(char *) "pane_window",(char *) "offset", NULL | |
8348 | }; | |
8349 | ||
8350 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8351 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8352 | if (!SWIG_IsOK(res1)) { | |
8353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8354 | } | |
8355 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8356 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8357 | if (!SWIG_IsOK(res2)) { | |
8358 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8359 | } | |
8360 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8361 | { | |
8362 | arg3 = &temp3; | |
8363 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8364 | } | |
8365 | { | |
8366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8367 | (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3); | |
8368 | wxPyEndAllowThreads(__tstate); | |
8369 | if (PyErr_Occurred()) SWIG_fail; | |
8370 | } | |
8371 | resultobj = SWIG_Py_Void(); | |
8372 | return resultobj; | |
8373 | fail: | |
8374 | return NULL; | |
8375 | } | |
8376 | ||
8377 | ||
5172800e RD |
8378 | SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8379 | PyObject *resultobj = 0; | |
8380 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; | |
8381 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8382 | wxPoint *arg3 = 0 ; | |
8383 | wxPoint *arg4 = 0 ; | |
8384 | wxRect result; | |
8385 | void *argp1 = 0 ; | |
8386 | int res1 = 0 ; | |
8387 | void *argp2 = 0 ; | |
8388 | int res2 = 0 ; | |
8389 | wxPoint temp3 ; | |
8390 | wxPoint temp4 ; | |
8391 | PyObject * obj0 = 0 ; | |
8392 | PyObject * obj1 = 0 ; | |
8393 | PyObject * obj2 = 0 ; | |
8394 | PyObject * obj3 = 0 ; | |
8395 | char * kwnames[] = { | |
8396 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8397 | }; | |
8398 | ||
8399 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
8400 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8401 | if (!SWIG_IsOK(res1)) { | |
8402 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); | |
8403 | } | |
8404 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); | |
8405 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8406 | if (!SWIG_IsOK(res2)) { | |
8407 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
8408 | } | |
8409 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8410 | { | |
8411 | arg3 = &temp3; | |
8412 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8413 | } | |
8414 | { | |
8415 | arg4 = &temp4; | |
8416 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8417 | } | |
8418 | { | |
8419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8420 | result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8421 | wxPyEndAllowThreads(__tstate); | |
8422 | if (PyErr_Occurred()) SWIG_fail; | |
8423 | } | |
8424 | resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 ); | |
8425 | return resultobj; | |
8426 | fail: | |
8427 | return NULL; | |
8428 | } | |
8429 | ||
8430 | ||
5eb8189c | 8431 | SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8432 | PyObject *resultobj = 0; |
5eb8189c | 8433 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8434 | wxWindow *arg2 = (wxWindow *) 0 ; |
8435 | wxPoint *arg3 = 0 ; | |
8436 | wxPoint *arg4 = 0 ; | |
8437 | void *argp1 = 0 ; | |
8438 | int res1 = 0 ; | |
8439 | void *argp2 = 0 ; | |
8440 | int res2 = 0 ; | |
8441 | wxPoint temp3 ; | |
8442 | wxPoint temp4 ; | |
8443 | PyObject * obj0 = 0 ; | |
8444 | PyObject * obj1 = 0 ; | |
8445 | PyObject * obj2 = 0 ; | |
8446 | PyObject * obj3 = 0 ; | |
8447 | char * kwnames[] = { | |
8448 | (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL | |
8449 | }; | |
8450 | ||
5eb8189c RD |
8451 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
8452 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8453 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8454 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8455 | } |
5eb8189c | 8456 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8457 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
8458 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8459 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
8460 | } |
8461 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
8462 | { | |
8463 | arg3 = &temp3; | |
8464 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8465 | } | |
8466 | { | |
8467 | arg4 = &temp4; | |
8468 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8469 | } | |
8470 | { | |
8471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8472 | (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4); | |
8473 | wxPyEndAllowThreads(__tstate); | |
8474 | if (PyErr_Occurred()) SWIG_fail; | |
8475 | } | |
8476 | resultobj = SWIG_Py_Void(); | |
8477 | return resultobj; | |
8478 | fail: | |
8479 | return NULL; | |
8480 | } | |
8481 | ||
8482 | ||
5eb8189c | 8483 | SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 8484 | PyObject *resultobj = 0; |
5eb8189c | 8485 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8486 | wxRect *arg2 = 0 ; |
8487 | void *argp1 = 0 ; | |
8488 | int res1 = 0 ; | |
8489 | wxRect temp2 ; | |
8490 | PyObject * obj0 = 0 ; | |
8491 | PyObject * obj1 = 0 ; | |
8492 | char * kwnames[] = { | |
8493 | (char *) "self",(char *) "rect", NULL | |
8494 | }; | |
8495 | ||
5eb8189c RD |
8496 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail; |
8497 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
10044bf1 | 8498 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8499 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8500 | } |
5eb8189c | 8501 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8502 | { |
8503 | arg2 = &temp2; | |
8504 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8505 | } | |
8506 | { | |
8507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8508 | (arg1)->ShowHint((wxRect const &)*arg2); | |
8509 | wxPyEndAllowThreads(__tstate); | |
8510 | if (PyErr_Occurred()) SWIG_fail; | |
8511 | } | |
8512 | resultobj = SWIG_Py_Void(); | |
8513 | return resultobj; | |
8514 | fail: | |
8515 | return NULL; | |
8516 | } | |
8517 | ||
8518 | ||
5eb8189c | 8519 | SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 8520 | PyObject *resultobj = 0; |
5eb8189c | 8521 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
10044bf1 RD |
8522 | void *argp1 = 0 ; |
8523 | int res1 = 0 ; | |
8524 | PyObject *swig_obj[1] ; | |
8525 | ||
8526 | if (!args) SWIG_fail; | |
8527 | swig_obj[0] = args; | |
5eb8189c | 8528 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
10044bf1 | 8529 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
10044bf1 | 8531 | } |
5eb8189c | 8532 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
10044bf1 RD |
8533 | { |
8534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8535 | (arg1)->HideHint(); | |
8536 | wxPyEndAllowThreads(__tstate); | |
8537 | if (PyErr_Occurred()) SWIG_fail; | |
8538 | } | |
8539 | resultobj = SWIG_Py_Void(); | |
8540 | return resultobj; | |
8541 | fail: | |
8542 | return NULL; | |
8543 | } | |
8544 | ||
8545 | ||
5eb8189c | 8546 | SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8547 | PyObject *resultobj = 0; |
5eb8189c RD |
8548 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8549 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8550 | void *argp1 = 0 ; |
8551 | int res1 = 0 ; | |
8552 | void *argp2 = 0 ; | |
8553 | int res2 = 0 ; | |
8554 | PyObject * obj0 = 0 ; | |
8555 | PyObject * obj1 = 0 ; | |
8556 | char * kwnames[] = { | |
8557 | (char *) "self",(char *) "evt", NULL | |
8558 | }; | |
8559 | ||
5eb8189c RD |
8560 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail; |
8561 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8562 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8563 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8564 | } |
5eb8189c RD |
8565 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8566 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8567 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8568 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8569 | } |
8570 | if (!argp2) { | |
5eb8189c | 8571 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8572 | } |
5eb8189c | 8573 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8574 | { |
8575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8576 | (arg1)->OnRender(*arg2); | |
8577 | wxPyEndAllowThreads(__tstate); | |
8578 | if (PyErr_Occurred()) SWIG_fail; | |
8579 | } | |
8580 | resultobj = SWIG_Py_Void(); | |
8581 | return resultobj; | |
8582 | fail: | |
8583 | return NULL; | |
8584 | } | |
8585 | ||
8586 | ||
5eb8189c | 8587 | SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8588 | PyObject *resultobj = 0; |
5eb8189c RD |
8589 | wxAuiManager *arg1 = (wxAuiManager *) 0 ; |
8590 | wxAuiManagerEvent *arg2 = 0 ; | |
81f5836b RD |
8591 | void *argp1 = 0 ; |
8592 | int res1 = 0 ; | |
8593 | void *argp2 = 0 ; | |
8594 | int res2 = 0 ; | |
8595 | PyObject * obj0 = 0 ; | |
8596 | PyObject * obj1 = 0 ; | |
8597 | char * kwnames[] = { | |
8598 | (char *) "self",(char *) "evt", NULL | |
8599 | }; | |
8600 | ||
5eb8189c RD |
8601 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8602 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
81f5836b | 8603 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8604 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'"); |
81f5836b | 8605 | } |
5eb8189c RD |
8606 | arg1 = reinterpret_cast< wxAuiManager * >(argp1); |
8607 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 ); | |
81f5836b | 8608 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8609 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b RD |
8610 | } |
8611 | if (!argp2) { | |
5eb8189c | 8612 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'"); |
81f5836b | 8613 | } |
5eb8189c | 8614 | arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2); |
81f5836b RD |
8615 | { |
8616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8617 | (arg1)->OnPaneButton(*arg2); | |
8618 | wxPyEndAllowThreads(__tstate); | |
8619 | if (PyErr_Occurred()) SWIG_fail; | |
8620 | } | |
8621 | resultobj = SWIG_Py_Void(); | |
8622 | return resultobj; | |
8623 | fail: | |
8624 | return NULL; | |
8625 | } | |
8626 | ||
8627 | ||
5eb8189c | 8628 | SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8629 | PyObject *obj; |
8630 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 8631 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj)); |
27e45892 RD |
8632 | return SWIG_Py_Void(); |
8633 | } | |
8634 | ||
5eb8189c | 8635 | SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
8636 | return SWIG_Python_InitShadowInstance(args); |
8637 | } | |
8638 | ||
5eb8189c | 8639 | SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
8640 | PyObject *resultobj = 0; |
8641 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5eb8189c | 8642 | wxAuiManagerEvent *result = 0 ; |
27e45892 RD |
8643 | int val1 ; |
8644 | int ecode1 = 0 ; | |
8645 | PyObject * obj0 = 0 ; | |
8646 | char * kwnames[] = { | |
8647 | (char *) "type", NULL | |
8648 | }; | |
8649 | ||
5eb8189c | 8650 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail; |
27e45892 RD |
8651 | if (obj0) { |
8652 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
8653 | if (!SWIG_IsOK(ecode1)) { | |
5eb8189c | 8654 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'"); |
27e45892 RD |
8655 | } |
8656 | arg1 = static_cast< wxEventType >(val1); | |
8657 | } | |
8658 | { | |
8659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8660 | result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1); |
27e45892 RD |
8661 | wxPyEndAllowThreads(__tstate); |
8662 | if (PyErr_Occurred()) SWIG_fail; | |
8663 | } | |
5eb8189c | 8664 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
8665 | return resultobj; |
8666 | fail: | |
8667 | return NULL; | |
8668 | } | |
8669 | ||
8670 | ||
5eb8189c | 8671 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8672 | PyObject *resultobj = 0; |
5eb8189c | 8673 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8674 | wxEvent *result = 0 ; |
8675 | void *argp1 = 0 ; | |
8676 | int res1 = 0 ; | |
8677 | PyObject *swig_obj[1] ; | |
8678 | ||
8679 | if (!args) SWIG_fail; | |
8680 | swig_obj[0] = args; | |
5eb8189c | 8681 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8682 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8683 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8684 | } |
5eb8189c | 8685 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8686 | { |
8687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 8688 | result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone(); |
27e45892 RD |
8689 | wxPyEndAllowThreads(__tstate); |
8690 | if (PyErr_Occurred()) SWIG_fail; | |
8691 | } | |
8692 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 ); | |
8693 | return resultobj; | |
8694 | fail: | |
8695 | return NULL; | |
8696 | } | |
8697 | ||
8698 | ||
eccab1a7 RD |
8699 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8700 | PyObject *resultobj = 0; | |
8701 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8702 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
8703 | void *argp1 = 0 ; | |
8704 | int res1 = 0 ; | |
8705 | void *argp2 = 0 ; | |
8706 | int res2 = 0 ; | |
8707 | PyObject * obj0 = 0 ; | |
8708 | PyObject * obj1 = 0 ; | |
8709 | char * kwnames[] = { | |
8710 | (char *) "self",(char *) "mgr", NULL | |
8711 | }; | |
8712 | ||
8713 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail; | |
8714 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8715 | if (!SWIG_IsOK(res1)) { | |
8716 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
8717 | } | |
8718 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8719 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8720 | if (!SWIG_IsOK(res2)) { | |
8721 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
8722 | } | |
8723 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
8724 | { | |
8725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8726 | (arg1)->SetManager(arg2); | |
8727 | wxPyEndAllowThreads(__tstate); | |
8728 | if (PyErr_Occurred()) SWIG_fail; | |
8729 | } | |
8730 | resultobj = SWIG_Py_Void(); | |
8731 | return resultobj; | |
8732 | fail: | |
8733 | return NULL; | |
8734 | } | |
8735 | ||
8736 | ||
5eb8189c | 8737 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8738 | PyObject *resultobj = 0; |
5eb8189c RD |
8739 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8740 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
8741 | void *argp1 = 0 ; |
8742 | int res1 = 0 ; | |
8743 | void *argp2 = 0 ; | |
8744 | int res2 = 0 ; | |
8745 | PyObject * obj0 = 0 ; | |
8746 | PyObject * obj1 = 0 ; | |
8747 | char * kwnames[] = { | |
8748 | (char *) "self",(char *) "p", NULL | |
8749 | }; | |
8750 | ||
5eb8189c RD |
8751 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail; |
8752 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8753 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8754 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8755 | } |
5eb8189c RD |
8756 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
8757 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 | 8758 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 8759 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 8760 | } |
5eb8189c | 8761 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
8762 | { |
8763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8764 | (arg1)->SetPane(arg2); | |
8765 | wxPyEndAllowThreads(__tstate); | |
8766 | if (PyErr_Occurred()) SWIG_fail; | |
8767 | } | |
8768 | resultobj = SWIG_Py_Void(); | |
8769 | return resultobj; | |
8770 | fail: | |
8771 | return NULL; | |
8772 | } | |
8773 | ||
8774 | ||
5eb8189c | 8775 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8776 | PyObject *resultobj = 0; |
5eb8189c | 8777 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8778 | int arg2 ; |
8779 | void *argp1 = 0 ; | |
8780 | int res1 = 0 ; | |
8781 | int val2 ; | |
8782 | int ecode2 = 0 ; | |
8783 | PyObject * obj0 = 0 ; | |
8784 | PyObject * obj1 = 0 ; | |
8785 | char * kwnames[] = { | |
8786 | (char *) "self",(char *) "b", NULL | |
8787 | }; | |
8788 | ||
5eb8189c RD |
8789 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail; |
8790 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8791 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8792 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8793 | } |
5eb8189c | 8794 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8795 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
8796 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8797 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
8798 | } |
8799 | arg2 = static_cast< int >(val2); | |
8800 | { | |
8801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8802 | (arg1)->SetButton(arg2); | |
8803 | wxPyEndAllowThreads(__tstate); | |
8804 | if (PyErr_Occurred()) SWIG_fail; | |
8805 | } | |
8806 | resultobj = SWIG_Py_Void(); | |
8807 | return resultobj; | |
8808 | fail: | |
8809 | return NULL; | |
8810 | } | |
8811 | ||
8812 | ||
5eb8189c | 8813 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
81f5836b | 8814 | PyObject *resultobj = 0; |
5eb8189c | 8815 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8816 | wxDC *arg2 = (wxDC *) 0 ; |
8817 | void *argp1 = 0 ; | |
8818 | int res1 = 0 ; | |
8819 | void *argp2 = 0 ; | |
8820 | int res2 = 0 ; | |
8821 | PyObject * obj0 = 0 ; | |
8822 | PyObject * obj1 = 0 ; | |
8823 | char * kwnames[] = { | |
8824 | (char *) "self",(char *) "pdc", NULL | |
8825 | }; | |
8826 | ||
5eb8189c RD |
8827 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail; |
8828 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 8829 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8830 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 8831 | } |
5eb8189c | 8832 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8833 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 ); |
8834 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 8835 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
8836 | } |
8837 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
8838 | { | |
8839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8840 | (arg1)->SetDC(arg2); | |
8841 | wxPyEndAllowThreads(__tstate); | |
8842 | if (PyErr_Occurred()) SWIG_fail; | |
8843 | } | |
8844 | resultobj = SWIG_Py_Void(); | |
8845 | return resultobj; | |
8846 | fail: | |
8847 | return NULL; | |
8848 | } | |
8849 | ||
8850 | ||
eccab1a7 RD |
8851 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8852 | PyObject *resultobj = 0; | |
8853 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
8854 | wxAuiManager *result = 0 ; | |
8855 | void *argp1 = 0 ; | |
8856 | int res1 = 0 ; | |
8857 | PyObject *swig_obj[1] ; | |
8858 | ||
8859 | if (!args) SWIG_fail; | |
8860 | swig_obj[0] = args; | |
8861 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
8862 | if (!SWIG_IsOK(res1)) { | |
8863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); | |
8864 | } | |
8865 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
8866 | { | |
8867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8868 | result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager(); | |
8869 | wxPyEndAllowThreads(__tstate); | |
8870 | if (PyErr_Occurred()) SWIG_fail; | |
8871 | } | |
8872 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
8873 | return resultobj; | |
8874 | fail: | |
8875 | return NULL; | |
8876 | } | |
8877 | ||
8878 | ||
5eb8189c | 8879 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8880 | PyObject *resultobj = 0; |
5eb8189c RD |
8881 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
8882 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
8883 | void *argp1 = 0 ; |
8884 | int res1 = 0 ; | |
8885 | PyObject *swig_obj[1] ; | |
8886 | ||
8887 | if (!args) SWIG_fail; | |
8888 | swig_obj[0] = args; | |
5eb8189c | 8889 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8890 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8892 | } |
5eb8189c | 8893 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8894 | { |
8895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8896 | result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane(); |
27e45892 RD |
8897 | wxPyEndAllowThreads(__tstate); |
8898 | if (PyErr_Occurred()) SWIG_fail; | |
8899 | } | |
5eb8189c | 8900 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); |
27e45892 RD |
8901 | return resultobj; |
8902 | fail: | |
8903 | return NULL; | |
8904 | } | |
8905 | ||
8906 | ||
5eb8189c | 8907 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 8908 | PyObject *resultobj = 0; |
5eb8189c | 8909 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8910 | int result; |
8911 | void *argp1 = 0 ; | |
8912 | int res1 = 0 ; | |
8913 | PyObject *swig_obj[1] ; | |
8914 | ||
8915 | if (!args) SWIG_fail; | |
8916 | swig_obj[0] = args; | |
5eb8189c | 8917 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 8918 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8919 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 8920 | } |
5eb8189c | 8921 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8922 | { |
8923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8924 | result = (int)((wxAuiManagerEvent const *)arg1)->GetButton(); |
27e45892 RD |
8925 | wxPyEndAllowThreads(__tstate); |
8926 | if (PyErr_Occurred()) SWIG_fail; | |
8927 | } | |
8928 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
8929 | return resultobj; | |
8930 | fail: | |
8931 | return NULL; | |
8932 | } | |
8933 | ||
8934 | ||
5eb8189c | 8935 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 8936 | PyObject *resultobj = 0; |
5eb8189c | 8937 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
8938 | wxDC *result = 0 ; |
8939 | void *argp1 = 0 ; | |
8940 | int res1 = 0 ; | |
8941 | PyObject *swig_obj[1] ; | |
8942 | ||
8943 | if (!args) SWIG_fail; | |
8944 | swig_obj[0] = args; | |
5eb8189c | 8945 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 8946 | if (!SWIG_IsOK(res1)) { |
eccab1a7 | 8947 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
81f5836b | 8948 | } |
5eb8189c | 8949 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
8950 | { |
8951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
eccab1a7 | 8952 | result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC(); |
81f5836b RD |
8953 | wxPyEndAllowThreads(__tstate); |
8954 | if (PyErr_Occurred()) SWIG_fail; | |
8955 | } | |
8956 | { | |
8957 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
8958 | } | |
8959 | return resultobj; | |
8960 | fail: | |
8961 | return NULL; | |
8962 | } | |
8963 | ||
8964 | ||
5eb8189c | 8965 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 8966 | PyObject *resultobj = 0; |
5eb8189c | 8967 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
8968 | bool arg2 = (bool) true ; |
8969 | void *argp1 = 0 ; | |
8970 | int res1 = 0 ; | |
8971 | bool val2 ; | |
8972 | int ecode2 = 0 ; | |
8973 | PyObject * obj0 = 0 ; | |
8974 | PyObject * obj1 = 0 ; | |
8975 | char * kwnames[] = { | |
8976 | (char *) "self",(char *) "veto", NULL | |
8977 | }; | |
8978 | ||
5eb8189c RD |
8979 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail; |
8980 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 8981 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 8982 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 8983 | } |
5eb8189c | 8984 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
8985 | if (obj1) { |
8986 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
8987 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 8988 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
8989 | } |
8990 | arg2 = static_cast< bool >(val2); | |
8991 | } | |
8992 | { | |
8993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8994 | (arg1)->Veto(arg2); | |
8995 | wxPyEndAllowThreads(__tstate); | |
8996 | if (PyErr_Occurred()) SWIG_fail; | |
8997 | } | |
8998 | resultobj = SWIG_Py_Void(); | |
8999 | return resultobj; | |
9000 | fail: | |
9001 | return NULL; | |
9002 | } | |
9003 | ||
9004 | ||
5eb8189c | 9005 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9006 | PyObject *resultobj = 0; |
5eb8189c | 9007 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9008 | bool result; |
9009 | void *argp1 = 0 ; | |
9010 | int res1 = 0 ; | |
9011 | PyObject *swig_obj[1] ; | |
9012 | ||
9013 | if (!args) SWIG_fail; | |
9014 | swig_obj[0] = args; | |
5eb8189c | 9015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9016 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9018 | } |
5eb8189c | 9019 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9020 | { |
9021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9022 | result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto(); |
27e45892 RD |
9023 | wxPyEndAllowThreads(__tstate); |
9024 | if (PyErr_Occurred()) SWIG_fail; | |
9025 | } | |
9026 | { | |
9027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9028 | } | |
9029 | return resultobj; | |
9030 | fail: | |
9031 | return NULL; | |
9032 | } | |
9033 | ||
9034 | ||
5eb8189c | 9035 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 9036 | PyObject *resultobj = 0; |
5eb8189c | 9037 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9038 | bool arg2 ; |
9039 | void *argp1 = 0 ; | |
9040 | int res1 = 0 ; | |
9041 | bool val2 ; | |
9042 | int ecode2 = 0 ; | |
9043 | PyObject * obj0 = 0 ; | |
9044 | PyObject * obj1 = 0 ; | |
9045 | char * kwnames[] = { | |
9046 | (char *) "self",(char *) "can_veto", NULL | |
9047 | }; | |
9048 | ||
5eb8189c RD |
9049 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail; |
9050 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9051 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9052 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9053 | } |
5eb8189c | 9054 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9055 | ecode2 = SWIG_AsVal_bool(obj1, &val2); |
9056 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9057 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9058 | } |
9059 | arg2 = static_cast< bool >(val2); | |
9060 | { | |
9061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9062 | (arg1)->SetCanVeto(arg2); | |
9063 | wxPyEndAllowThreads(__tstate); | |
9064 | if (PyErr_Occurred()) SWIG_fail; | |
9065 | } | |
9066 | resultobj = SWIG_Py_Void(); | |
9067 | return resultobj; | |
9068 | fail: | |
9069 | return NULL; | |
9070 | } | |
9071 | ||
9072 | ||
5eb8189c | 9073 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9074 | PyObject *resultobj = 0; |
5eb8189c | 9075 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9076 | bool result; |
9077 | void *argp1 = 0 ; | |
9078 | int res1 = 0 ; | |
9079 | PyObject *swig_obj[1] ; | |
9080 | ||
9081 | if (!args) SWIG_fail; | |
9082 | swig_obj[0] = args; | |
5eb8189c | 9083 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9084 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9085 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'"); |
27e45892 | 9086 | } |
5eb8189c | 9087 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9088 | { |
9089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9090 | result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto(); |
27e45892 RD |
9091 | wxPyEndAllowThreads(__tstate); |
9092 | if (PyErr_Occurred()) SWIG_fail; | |
9093 | } | |
9094 | { | |
9095 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9096 | } | |
9097 | return resultobj; | |
9098 | fail: | |
9099 | return NULL; | |
9100 | } | |
9101 | ||
9102 | ||
eccab1a7 RD |
9103 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
9104 | PyObject *resultobj = 0; | |
9105 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9106 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; | |
9107 | void *argp1 = 0 ; | |
9108 | int res1 = 0 ; | |
9109 | void *argp2 = 0 ; | |
9110 | int res2 = 0 ; | |
9111 | PyObject *swig_obj[2] ; | |
9112 | ||
9113 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail; | |
9114 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9115 | if (!SWIG_IsOK(res1)) { | |
9116 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9117 | } | |
9118 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9119 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 ); | |
9120 | if (!SWIG_IsOK(res2)) { | |
9121 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'"); | |
9122 | } | |
9123 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); | |
9124 | if (arg1) (arg1)->manager = arg2; | |
9125 | ||
9126 | resultobj = SWIG_Py_Void(); | |
9127 | return resultobj; | |
9128 | fail: | |
9129 | return NULL; | |
9130 | } | |
9131 | ||
9132 | ||
9133 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
9134 | PyObject *resultobj = 0; | |
9135 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; | |
9136 | wxAuiManager *result = 0 ; | |
9137 | void *argp1 = 0 ; | |
9138 | int res1 = 0 ; | |
9139 | PyObject *swig_obj[1] ; | |
9140 | ||
9141 | if (!args) SWIG_fail; | |
9142 | swig_obj[0] = args; | |
9143 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
9144 | if (!SWIG_IsOK(res1)) { | |
9145 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); | |
9146 | } | |
9147 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); | |
9148 | result = (wxAuiManager *) ((arg1)->manager); | |
9149 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
9150 | return resultobj; | |
9151 | fail: | |
9152 | return NULL; | |
9153 | } | |
9154 | ||
9155 | ||
5eb8189c | 9156 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9157 | PyObject *resultobj = 0; |
5eb8189c RD |
9158 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9159 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
9160 | void *argp1 = 0 ; |
9161 | int res1 = 0 ; | |
9162 | void *argp2 = 0 ; | |
9163 | int res2 = 0 ; | |
9164 | PyObject *swig_obj[2] ; | |
9165 | ||
5eb8189c RD |
9166 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail; |
9167 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9168 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9170 | } |
5eb8189c RD |
9171 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9172 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 9173 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9174 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 9175 | } |
5eb8189c | 9176 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
9177 | if (arg1) (arg1)->pane = arg2; |
9178 | ||
9179 | resultobj = SWIG_Py_Void(); | |
9180 | return resultobj; | |
9181 | fail: | |
9182 | return NULL; | |
9183 | } | |
9184 | ||
9185 | ||
5eb8189c | 9186 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9187 | PyObject *resultobj = 0; |
5eb8189c RD |
9188 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
9189 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
9190 | void *argp1 = 0 ; |
9191 | int res1 = 0 ; | |
9192 | PyObject *swig_obj[1] ; | |
9193 | ||
9194 | if (!args) SWIG_fail; | |
9195 | swig_obj[0] = args; | |
5eb8189c | 9196 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9197 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9198 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9199 | } |
5eb8189c RD |
9200 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
9201 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
9202 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
9203 | return resultobj; |
9204 | fail: | |
9205 | return NULL; | |
9206 | } | |
9207 | ||
9208 | ||
5eb8189c | 9209 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9210 | PyObject *resultobj = 0; |
5eb8189c | 9211 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9212 | int arg2 ; |
9213 | void *argp1 = 0 ; | |
9214 | int res1 = 0 ; | |
9215 | int val2 ; | |
9216 | int ecode2 = 0 ; | |
9217 | PyObject *swig_obj[2] ; | |
9218 | ||
5eb8189c RD |
9219 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail; |
9220 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9221 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9222 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9223 | } |
5eb8189c | 9224 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9225 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9226 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9227 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9228 | } |
9229 | arg2 = static_cast< int >(val2); | |
9230 | if (arg1) (arg1)->button = arg2; | |
9231 | ||
9232 | resultobj = SWIG_Py_Void(); | |
9233 | return resultobj; | |
9234 | fail: | |
9235 | return NULL; | |
9236 | } | |
9237 | ||
9238 | ||
5eb8189c | 9239 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9240 | PyObject *resultobj = 0; |
5eb8189c | 9241 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9242 | int result; |
9243 | void *argp1 = 0 ; | |
9244 | int res1 = 0 ; | |
9245 | PyObject *swig_obj[1] ; | |
9246 | ||
9247 | if (!args) SWIG_fail; | |
9248 | swig_obj[0] = args; | |
5eb8189c | 9249 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9250 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9251 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9252 | } |
5eb8189c | 9253 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9254 | result = (int) ((arg1)->button); |
9255 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9256 | return resultobj; | |
9257 | fail: | |
9258 | return NULL; | |
9259 | } | |
9260 | ||
9261 | ||
5eb8189c | 9262 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9263 | PyObject *resultobj = 0; |
5eb8189c | 9264 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9265 | bool arg2 ; |
9266 | void *argp1 = 0 ; | |
9267 | int res1 = 0 ; | |
9268 | bool val2 ; | |
9269 | int ecode2 = 0 ; | |
9270 | PyObject *swig_obj[2] ; | |
9271 | ||
5eb8189c RD |
9272 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail; |
9273 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9274 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9275 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9276 | } |
5eb8189c | 9277 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9278 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9279 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9280 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9281 | } |
9282 | arg2 = static_cast< bool >(val2); | |
9283 | if (arg1) (arg1)->veto_flag = arg2; | |
9284 | ||
9285 | resultobj = SWIG_Py_Void(); | |
9286 | return resultobj; | |
9287 | fail: | |
9288 | return NULL; | |
9289 | } | |
9290 | ||
9291 | ||
5eb8189c | 9292 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9293 | PyObject *resultobj = 0; |
5eb8189c | 9294 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9295 | bool result; |
9296 | void *argp1 = 0 ; | |
9297 | int res1 = 0 ; | |
9298 | PyObject *swig_obj[1] ; | |
9299 | ||
9300 | if (!args) SWIG_fail; | |
9301 | swig_obj[0] = args; | |
5eb8189c | 9302 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9303 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9304 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9305 | } |
5eb8189c | 9306 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9307 | result = (bool) ((arg1)->veto_flag); |
9308 | { | |
9309 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9310 | } | |
9311 | return resultobj; | |
9312 | fail: | |
9313 | return NULL; | |
9314 | } | |
9315 | ||
9316 | ||
5eb8189c | 9317 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9318 | PyObject *resultobj = 0; |
5eb8189c | 9319 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9320 | bool arg2 ; |
9321 | void *argp1 = 0 ; | |
9322 | int res1 = 0 ; | |
9323 | bool val2 ; | |
9324 | int ecode2 = 0 ; | |
9325 | PyObject *swig_obj[2] ; | |
9326 | ||
5eb8189c RD |
9327 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail; |
9328 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
27e45892 | 9329 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9330 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9331 | } |
5eb8189c | 9332 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9333 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9334 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9335 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9336 | } |
9337 | arg2 = static_cast< bool >(val2); | |
9338 | if (arg1) (arg1)->canveto_flag = arg2; | |
9339 | ||
9340 | resultobj = SWIG_Py_Void(); | |
9341 | return resultobj; | |
9342 | fail: | |
9343 | return NULL; | |
9344 | } | |
9345 | ||
9346 | ||
5eb8189c | 9347 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9348 | PyObject *resultobj = 0; |
5eb8189c | 9349 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
27e45892 RD |
9350 | bool result; |
9351 | void *argp1 = 0 ; | |
9352 | int res1 = 0 ; | |
9353 | PyObject *swig_obj[1] ; | |
9354 | ||
9355 | if (!args) SWIG_fail; | |
9356 | swig_obj[0] = args; | |
5eb8189c | 9357 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
27e45892 | 9358 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
27e45892 | 9360 | } |
5eb8189c | 9361 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
27e45892 RD |
9362 | result = (bool) ((arg1)->canveto_flag); |
9363 | { | |
9364 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9365 | } | |
9366 | return resultobj; | |
9367 | fail: | |
9368 | return NULL; | |
9369 | } | |
9370 | ||
9371 | ||
5eb8189c | 9372 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9373 | PyObject *resultobj = 0; |
5eb8189c | 9374 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9375 | wxDC *arg2 = (wxDC *) 0 ; |
9376 | void *argp1 = 0 ; | |
9377 | int res1 = 0 ; | |
9378 | void *argp2 = 0 ; | |
9379 | int res2 = 0 ; | |
9380 | PyObject *swig_obj[2] ; | |
9381 | ||
5eb8189c RD |
9382 | if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail; |
9383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); | |
81f5836b | 9384 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9386 | } |
5eb8189c | 9387 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9388 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 ); |
9389 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9390 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'"); |
81f5836b RD |
9391 | } |
9392 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
9393 | if (arg1) (arg1)->dc = arg2; | |
9394 | ||
9395 | resultobj = SWIG_Py_Void(); | |
9396 | return resultobj; | |
9397 | fail: | |
9398 | return NULL; | |
9399 | } | |
9400 | ||
9401 | ||
5eb8189c | 9402 | SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
81f5836b | 9403 | PyObject *resultobj = 0; |
5eb8189c | 9404 | wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ; |
81f5836b RD |
9405 | wxDC *result = 0 ; |
9406 | void *argp1 = 0 ; | |
9407 | int res1 = 0 ; | |
9408 | PyObject *swig_obj[1] ; | |
9409 | ||
9410 | if (!args) SWIG_fail; | |
9411 | swig_obj[0] = args; | |
5eb8189c | 9412 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 ); |
81f5836b | 9413 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9414 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'"); |
81f5836b | 9415 | } |
5eb8189c | 9416 | arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1); |
81f5836b RD |
9417 | result = (wxDC *) ((arg1)->dc); |
9418 | { | |
9419 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
9420 | } | |
9421 | return resultobj; | |
9422 | fail: | |
9423 | return NULL; | |
9424 | } | |
9425 | ||
9426 | ||
5eb8189c | 9427 | SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9428 | PyObject *obj; |
9429 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 9430 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj)); |
27e45892 RD |
9431 | return SWIG_Py_Void(); |
9432 | } | |
9433 | ||
5eb8189c | 9434 | SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
9435 | return SWIG_Python_InitShadowInstance(args); |
9436 | } | |
9437 | ||
5eb8189c | 9438 | SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9439 | PyObject *resultobj = 0; |
5eb8189c | 9440 | wxAuiDockInfo *result = 0 ; |
27e45892 | 9441 | |
5eb8189c | 9442 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail; |
27e45892 RD |
9443 | { |
9444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9445 | result = (wxAuiDockInfo *)new wxAuiDockInfo(); |
27e45892 RD |
9446 | wxPyEndAllowThreads(__tstate); |
9447 | if (PyErr_Occurred()) SWIG_fail; | |
9448 | } | |
5eb8189c | 9449 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
9450 | return resultobj; |
9451 | fail: | |
9452 | return NULL; | |
9453 | } | |
9454 | ||
9455 | ||
5eb8189c | 9456 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9457 | PyObject *resultobj = 0; |
5eb8189c | 9458 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9459 | bool result; |
9460 | void *argp1 = 0 ; | |
9461 | int res1 = 0 ; | |
9462 | PyObject *swig_obj[1] ; | |
9463 | ||
9464 | if (!args) SWIG_fail; | |
9465 | swig_obj[0] = args; | |
5eb8189c | 9466 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9467 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9468 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9469 | } |
5eb8189c | 9470 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9471 | { |
9472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9473 | result = (bool)((wxAuiDockInfo const *)arg1)->IsOk(); |
27e45892 RD |
9474 | wxPyEndAllowThreads(__tstate); |
9475 | if (PyErr_Occurred()) SWIG_fail; | |
9476 | } | |
9477 | { | |
9478 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9479 | } | |
9480 | return resultobj; | |
9481 | fail: | |
9482 | return NULL; | |
9483 | } | |
9484 | ||
9485 | ||
5eb8189c | 9486 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9487 | PyObject *resultobj = 0; |
5eb8189c | 9488 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9489 | bool result; |
9490 | void *argp1 = 0 ; | |
9491 | int res1 = 0 ; | |
9492 | PyObject *swig_obj[1] ; | |
9493 | ||
9494 | if (!args) SWIG_fail; | |
9495 | swig_obj[0] = args; | |
5eb8189c | 9496 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9497 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9498 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9499 | } |
5eb8189c | 9500 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9501 | { |
9502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9503 | result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal(); |
27e45892 RD |
9504 | wxPyEndAllowThreads(__tstate); |
9505 | if (PyErr_Occurred()) SWIG_fail; | |
9506 | } | |
9507 | { | |
9508 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9509 | } | |
9510 | return resultobj; | |
9511 | fail: | |
9512 | return NULL; | |
9513 | } | |
9514 | ||
9515 | ||
5eb8189c | 9516 | SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9517 | PyObject *resultobj = 0; |
5eb8189c | 9518 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9519 | bool result; |
9520 | void *argp1 = 0 ; | |
9521 | int res1 = 0 ; | |
9522 | PyObject *swig_obj[1] ; | |
9523 | ||
9524 | if (!args) SWIG_fail; | |
9525 | swig_obj[0] = args; | |
5eb8189c | 9526 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9527 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'"); |
27e45892 | 9529 | } |
5eb8189c | 9530 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9531 | { |
9532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 9533 | result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical(); |
27e45892 RD |
9534 | wxPyEndAllowThreads(__tstate); |
9535 | if (PyErr_Occurred()) SWIG_fail; | |
9536 | } | |
9537 | { | |
9538 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9539 | } | |
9540 | return resultobj; | |
9541 | fail: | |
9542 | return NULL; | |
9543 | } | |
9544 | ||
9545 | ||
5eb8189c | 9546 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9547 | PyObject *resultobj = 0; |
5eb8189c RD |
9548 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9549 | wxAuiPaneInfoPtrArray arg2 ; | |
27e45892 RD |
9550 | void *argp1 = 0 ; |
9551 | int res1 = 0 ; | |
9552 | void *argp2 ; | |
9553 | int res2 = 0 ; | |
9554 | PyObject *swig_obj[2] ; | |
9555 | ||
5eb8189c RD |
9556 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail; |
9557 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9558 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9559 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9560 | } |
5eb8189c | 9561 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9562 | { |
5eb8189c | 9563 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0); |
27e45892 | 9564 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 9565 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 RD |
9566 | } |
9567 | if (!argp2) { | |
5eb8189c | 9568 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'"); |
27e45892 | 9569 | } else { |
5eb8189c | 9570 | wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2); |
27e45892 RD |
9571 | arg2 = *temp; |
9572 | if (SWIG_IsNewObj(res2)) delete temp; | |
9573 | } | |
9574 | } | |
9575 | if (arg1) (arg1)->panes = arg2; | |
9576 | ||
9577 | resultobj = SWIG_Py_Void(); | |
9578 | return resultobj; | |
9579 | fail: | |
9580 | return NULL; | |
9581 | } | |
9582 | ||
9583 | ||
5eb8189c | 9584 | SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9585 | PyObject *resultobj = 0; |
5eb8189c RD |
9586 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
9587 | wxAuiPaneInfoPtrArray result; | |
27e45892 RD |
9588 | void *argp1 = 0 ; |
9589 | int res1 = 0 ; | |
9590 | PyObject *swig_obj[1] ; | |
9591 | ||
9592 | if (!args) SWIG_fail; | |
9593 | swig_obj[0] = args; | |
5eb8189c | 9594 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9595 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9597 | } |
5eb8189c | 9598 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 | 9599 | result = ((arg1)->panes); |
5eb8189c | 9600 | resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 ); |
27e45892 RD |
9601 | return resultobj; |
9602 | fail: | |
9603 | return NULL; | |
9604 | } | |
9605 | ||
9606 | ||
5eb8189c | 9607 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9608 | PyObject *resultobj = 0; |
5eb8189c | 9609 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9610 | wxRect *arg2 = (wxRect *) 0 ; |
9611 | void *argp1 = 0 ; | |
9612 | int res1 = 0 ; | |
9613 | void *argp2 = 0 ; | |
9614 | int res2 = 0 ; | |
9615 | PyObject *swig_obj[2] ; | |
9616 | ||
5eb8189c RD |
9617 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail; |
9618 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9619 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9620 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9621 | } |
5eb8189c | 9622 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9623 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
9624 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 9625 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
9626 | } |
9627 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
9628 | if (arg1) (arg1)->rect = *arg2; | |
9629 | ||
9630 | resultobj = SWIG_Py_Void(); | |
9631 | return resultobj; | |
9632 | fail: | |
9633 | return NULL; | |
9634 | } | |
9635 | ||
9636 | ||
5eb8189c | 9637 | SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9638 | PyObject *resultobj = 0; |
5eb8189c | 9639 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9640 | wxRect *result = 0 ; |
9641 | void *argp1 = 0 ; | |
9642 | int res1 = 0 ; | |
9643 | PyObject *swig_obj[1] ; | |
9644 | ||
9645 | if (!args) SWIG_fail; | |
9646 | swig_obj[0] = args; | |
5eb8189c | 9647 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9648 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9650 | } |
5eb8189c | 9651 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9652 | result = (wxRect *)& ((arg1)->rect); |
9653 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
9654 | return resultobj; | |
9655 | fail: | |
9656 | return NULL; | |
9657 | } | |
9658 | ||
9659 | ||
5eb8189c | 9660 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9661 | PyObject *resultobj = 0; |
5eb8189c | 9662 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9663 | int arg2 ; |
9664 | void *argp1 = 0 ; | |
9665 | int res1 = 0 ; | |
9666 | int val2 ; | |
9667 | int ecode2 = 0 ; | |
9668 | PyObject *swig_obj[2] ; | |
9669 | ||
5eb8189c RD |
9670 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail; |
9671 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9672 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9674 | } |
5eb8189c | 9675 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9676 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9677 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9678 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9679 | } |
9680 | arg2 = static_cast< int >(val2); | |
9681 | if (arg1) (arg1)->dock_direction = arg2; | |
9682 | ||
9683 | resultobj = SWIG_Py_Void(); | |
9684 | return resultobj; | |
9685 | fail: | |
9686 | return NULL; | |
9687 | } | |
9688 | ||
9689 | ||
5eb8189c | 9690 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9691 | PyObject *resultobj = 0; |
5eb8189c | 9692 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9693 | int result; |
9694 | void *argp1 = 0 ; | |
9695 | int res1 = 0 ; | |
9696 | PyObject *swig_obj[1] ; | |
9697 | ||
9698 | if (!args) SWIG_fail; | |
9699 | swig_obj[0] = args; | |
5eb8189c | 9700 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9701 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9702 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9703 | } |
5eb8189c | 9704 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9705 | result = (int) ((arg1)->dock_direction); |
9706 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9707 | return resultobj; | |
9708 | fail: | |
9709 | return NULL; | |
9710 | } | |
9711 | ||
9712 | ||
5eb8189c | 9713 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9714 | PyObject *resultobj = 0; |
5eb8189c | 9715 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9716 | int arg2 ; |
9717 | void *argp1 = 0 ; | |
9718 | int res1 = 0 ; | |
9719 | int val2 ; | |
9720 | int ecode2 = 0 ; | |
9721 | PyObject *swig_obj[2] ; | |
9722 | ||
5eb8189c RD |
9723 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail; |
9724 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9725 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9727 | } |
5eb8189c | 9728 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9729 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9730 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9731 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9732 | } |
9733 | arg2 = static_cast< int >(val2); | |
9734 | if (arg1) (arg1)->dock_layer = arg2; | |
9735 | ||
9736 | resultobj = SWIG_Py_Void(); | |
9737 | return resultobj; | |
9738 | fail: | |
9739 | return NULL; | |
9740 | } | |
9741 | ||
9742 | ||
5eb8189c | 9743 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9744 | PyObject *resultobj = 0; |
5eb8189c | 9745 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9746 | int result; |
9747 | void *argp1 = 0 ; | |
9748 | int res1 = 0 ; | |
9749 | PyObject *swig_obj[1] ; | |
9750 | ||
9751 | if (!args) SWIG_fail; | |
9752 | swig_obj[0] = args; | |
5eb8189c | 9753 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9754 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9756 | } |
5eb8189c | 9757 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9758 | result = (int) ((arg1)->dock_layer); |
9759 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9760 | return resultobj; | |
9761 | fail: | |
9762 | return NULL; | |
9763 | } | |
9764 | ||
9765 | ||
5eb8189c | 9766 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9767 | PyObject *resultobj = 0; |
5eb8189c | 9768 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9769 | int arg2 ; |
9770 | void *argp1 = 0 ; | |
9771 | int res1 = 0 ; | |
9772 | int val2 ; | |
9773 | int ecode2 = 0 ; | |
9774 | PyObject *swig_obj[2] ; | |
9775 | ||
5eb8189c RD |
9776 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail; |
9777 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9778 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9779 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9780 | } |
5eb8189c | 9781 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9782 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9783 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9784 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9785 | } |
9786 | arg2 = static_cast< int >(val2); | |
9787 | if (arg1) (arg1)->dock_row = arg2; | |
9788 | ||
9789 | resultobj = SWIG_Py_Void(); | |
9790 | return resultobj; | |
9791 | fail: | |
9792 | return NULL; | |
9793 | } | |
9794 | ||
9795 | ||
5eb8189c | 9796 | SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9797 | PyObject *resultobj = 0; |
5eb8189c | 9798 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9799 | int result; |
9800 | void *argp1 = 0 ; | |
9801 | int res1 = 0 ; | |
9802 | PyObject *swig_obj[1] ; | |
9803 | ||
9804 | if (!args) SWIG_fail; | |
9805 | swig_obj[0] = args; | |
5eb8189c | 9806 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9807 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9808 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9809 | } |
5eb8189c | 9810 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9811 | result = (int) ((arg1)->dock_row); |
9812 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9813 | return resultobj; | |
9814 | fail: | |
9815 | return NULL; | |
9816 | } | |
9817 | ||
9818 | ||
5eb8189c | 9819 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9820 | PyObject *resultobj = 0; |
5eb8189c | 9821 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9822 | int arg2 ; |
9823 | void *argp1 = 0 ; | |
9824 | int res1 = 0 ; | |
9825 | int val2 ; | |
9826 | int ecode2 = 0 ; | |
9827 | PyObject *swig_obj[2] ; | |
9828 | ||
5eb8189c RD |
9829 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail; |
9830 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9831 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9833 | } |
5eb8189c | 9834 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9835 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9836 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9837 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9838 | } |
9839 | arg2 = static_cast< int >(val2); | |
9840 | if (arg1) (arg1)->size = arg2; | |
9841 | ||
9842 | resultobj = SWIG_Py_Void(); | |
9843 | return resultobj; | |
9844 | fail: | |
9845 | return NULL; | |
9846 | } | |
9847 | ||
9848 | ||
5eb8189c | 9849 | SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9850 | PyObject *resultobj = 0; |
5eb8189c | 9851 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9852 | int result; |
9853 | void *argp1 = 0 ; | |
9854 | int res1 = 0 ; | |
9855 | PyObject *swig_obj[1] ; | |
9856 | ||
9857 | if (!args) SWIG_fail; | |
9858 | swig_obj[0] = args; | |
5eb8189c | 9859 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9860 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9861 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9862 | } |
5eb8189c | 9863 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9864 | result = (int) ((arg1)->size); |
9865 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9866 | return resultobj; | |
9867 | fail: | |
9868 | return NULL; | |
9869 | } | |
9870 | ||
9871 | ||
5eb8189c | 9872 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9873 | PyObject *resultobj = 0; |
5eb8189c | 9874 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9875 | int arg2 ; |
9876 | void *argp1 = 0 ; | |
9877 | int res1 = 0 ; | |
9878 | int val2 ; | |
9879 | int ecode2 = 0 ; | |
9880 | PyObject *swig_obj[2] ; | |
9881 | ||
5eb8189c RD |
9882 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail; |
9883 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9884 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9886 | } |
5eb8189c | 9887 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9888 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
9889 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9890 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
9891 | } |
9892 | arg2 = static_cast< int >(val2); | |
9893 | if (arg1) (arg1)->min_size = arg2; | |
9894 | ||
9895 | resultobj = SWIG_Py_Void(); | |
9896 | return resultobj; | |
9897 | fail: | |
9898 | return NULL; | |
9899 | } | |
9900 | ||
9901 | ||
5eb8189c | 9902 | SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9903 | PyObject *resultobj = 0; |
5eb8189c | 9904 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9905 | int result; |
9906 | void *argp1 = 0 ; | |
9907 | int res1 = 0 ; | |
9908 | PyObject *swig_obj[1] ; | |
9909 | ||
9910 | if (!args) SWIG_fail; | |
9911 | swig_obj[0] = args; | |
5eb8189c | 9912 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9913 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9914 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9915 | } |
5eb8189c | 9916 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9917 | result = (int) ((arg1)->min_size); |
9918 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
9919 | return resultobj; | |
9920 | fail: | |
9921 | return NULL; | |
9922 | } | |
9923 | ||
9924 | ||
5eb8189c | 9925 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9926 | PyObject *resultobj = 0; |
5eb8189c | 9927 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9928 | bool arg2 ; |
9929 | void *argp1 = 0 ; | |
9930 | int res1 = 0 ; | |
9931 | bool val2 ; | |
9932 | int ecode2 = 0 ; | |
9933 | PyObject *swig_obj[2] ; | |
9934 | ||
5eb8189c RD |
9935 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail; |
9936 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9937 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9939 | } |
5eb8189c | 9940 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9941 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9942 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9943 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9944 | } |
9945 | arg2 = static_cast< bool >(val2); | |
9946 | if (arg1) (arg1)->resizable = arg2; | |
9947 | ||
9948 | resultobj = SWIG_Py_Void(); | |
9949 | return resultobj; | |
9950 | fail: | |
9951 | return NULL; | |
9952 | } | |
9953 | ||
9954 | ||
5eb8189c | 9955 | SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9956 | PyObject *resultobj = 0; |
5eb8189c | 9957 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9958 | bool result; |
9959 | void *argp1 = 0 ; | |
9960 | int res1 = 0 ; | |
9961 | PyObject *swig_obj[1] ; | |
9962 | ||
9963 | if (!args) SWIG_fail; | |
9964 | swig_obj[0] = args; | |
5eb8189c | 9965 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 9966 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9968 | } |
5eb8189c | 9969 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9970 | result = (bool) ((arg1)->resizable); |
9971 | { | |
9972 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9973 | } | |
9974 | return resultobj; | |
9975 | fail: | |
9976 | return NULL; | |
9977 | } | |
9978 | ||
9979 | ||
5eb8189c | 9980 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 9981 | PyObject *resultobj = 0; |
5eb8189c | 9982 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
9983 | bool arg2 ; |
9984 | void *argp1 = 0 ; | |
9985 | int res1 = 0 ; | |
9986 | bool val2 ; | |
9987 | int ecode2 = 0 ; | |
9988 | PyObject *swig_obj[2] ; | |
9989 | ||
5eb8189c RD |
9990 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail; |
9991 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 9992 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 9993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 9994 | } |
5eb8189c | 9995 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
9996 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
9997 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 9998 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
9999 | } |
10000 | arg2 = static_cast< bool >(val2); | |
10001 | if (arg1) (arg1)->toolbar = arg2; | |
10002 | ||
10003 | resultobj = SWIG_Py_Void(); | |
10004 | return resultobj; | |
10005 | fail: | |
10006 | return NULL; | |
10007 | } | |
10008 | ||
10009 | ||
5eb8189c | 10010 | SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10011 | PyObject *resultobj = 0; |
5eb8189c | 10012 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10013 | bool result; |
10014 | void *argp1 = 0 ; | |
10015 | int res1 = 0 ; | |
10016 | PyObject *swig_obj[1] ; | |
10017 | ||
10018 | if (!args) SWIG_fail; | |
10019 | swig_obj[0] = args; | |
5eb8189c | 10020 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10021 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10023 | } |
5eb8189c | 10024 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10025 | result = (bool) ((arg1)->toolbar); |
10026 | { | |
10027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10028 | } | |
10029 | return resultobj; | |
10030 | fail: | |
10031 | return NULL; | |
10032 | } | |
10033 | ||
10034 | ||
5eb8189c | 10035 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10036 | PyObject *resultobj = 0; |
5eb8189c | 10037 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10038 | bool arg2 ; |
10039 | void *argp1 = 0 ; | |
10040 | int res1 = 0 ; | |
10041 | bool val2 ; | |
10042 | int ecode2 = 0 ; | |
10043 | PyObject *swig_obj[2] ; | |
10044 | ||
5eb8189c RD |
10045 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail; |
10046 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 | 10047 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10048 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10049 | } |
5eb8189c | 10050 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10051 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); |
10052 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10053 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'"); |
27e45892 RD |
10054 | } |
10055 | arg2 = static_cast< bool >(val2); | |
10056 | if (arg1) (arg1)->fixed = arg2; | |
10057 | ||
10058 | resultobj = SWIG_Py_Void(); | |
10059 | return resultobj; | |
10060 | fail: | |
10061 | return NULL; | |
10062 | } | |
10063 | ||
10064 | ||
5eb8189c | 10065 | SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10066 | PyObject *resultobj = 0; |
5eb8189c | 10067 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
27e45892 RD |
10068 | bool result; |
10069 | void *argp1 = 0 ; | |
10070 | int res1 = 0 ; | |
10071 | PyObject *swig_obj[1] ; | |
10072 | ||
10073 | if (!args) SWIG_fail; | |
10074 | swig_obj[0] = args; | |
5eb8189c | 10075 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); |
27e45892 | 10076 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10077 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10078 | } |
5eb8189c | 10079 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
27e45892 RD |
10080 | result = (bool) ((arg1)->fixed); |
10081 | { | |
10082 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10083 | } | |
10084 | return resultobj; | |
10085 | fail: | |
10086 | return NULL; | |
10087 | } | |
10088 | ||
10089 | ||
cbdf0fb0 RD |
10090 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10091 | PyObject *resultobj = 0; | |
10092 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10093 | bool arg2 ; | |
10094 | void *argp1 = 0 ; | |
10095 | int res1 = 0 ; | |
10096 | bool val2 ; | |
10097 | int ecode2 = 0 ; | |
10098 | PyObject *swig_obj[2] ; | |
10099 | ||
10100 | if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_reserved1_set",2,2,swig_obj)) SWIG_fail; | |
10101 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10102 | if (!SWIG_IsOK(res1)) { | |
10103 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10104 | } | |
10105 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10106 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10107 | if (!SWIG_IsOK(ecode2)) { | |
10108 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "2"" of type '" "bool""'"); | |
10109 | } | |
10110 | arg2 = static_cast< bool >(val2); | |
10111 | if (arg1) (arg1)->reserved1 = arg2; | |
10112 | ||
10113 | resultobj = SWIG_Py_Void(); | |
10114 | return resultobj; | |
10115 | fail: | |
10116 | return NULL; | |
10117 | } | |
10118 | ||
10119 | ||
10120 | SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10121 | PyObject *resultobj = 0; | |
10122 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; | |
10123 | bool result; | |
10124 | void *argp1 = 0 ; | |
10125 | int res1 = 0 ; | |
10126 | PyObject *swig_obj[1] ; | |
10127 | ||
10128 | if (!args) SWIG_fail; | |
10129 | swig_obj[0] = args; | |
10130 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
10131 | if (!SWIG_IsOK(res1)) { | |
10132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); | |
10133 | } | |
10134 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); | |
10135 | result = (bool) ((arg1)->reserved1); | |
10136 | { | |
10137 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10138 | } | |
10139 | return resultobj; | |
10140 | fail: | |
10141 | return NULL; | |
10142 | } | |
10143 | ||
10144 | ||
5eb8189c | 10145 | SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10146 | PyObject *resultobj = 0; |
5eb8189c | 10147 | wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; |
72ef6efb RD |
10148 | void *argp1 = 0 ; |
10149 | int res1 = 0 ; | |
10150 | PyObject *swig_obj[1] ; | |
10151 | ||
10152 | if (!args) SWIG_fail; | |
10153 | swig_obj[0] = args; | |
5eb8189c | 10154 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10155 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10156 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); |
72ef6efb | 10157 | } |
5eb8189c | 10158 | arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); |
72ef6efb RD |
10159 | { |
10160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10161 | delete_wxAuiDockInfo(arg1); |
72ef6efb RD |
10162 | |
10163 | wxPyEndAllowThreads(__tstate); | |
10164 | if (PyErr_Occurred()) SWIG_fail; | |
10165 | } | |
10166 | resultobj = SWIG_Py_Void(); | |
10167 | return resultobj; | |
10168 | fail: | |
10169 | return NULL; | |
10170 | } | |
10171 | ||
10172 | ||
5eb8189c | 10173 | SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10174 | PyObject *obj; |
10175 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10176 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj)); |
27e45892 RD |
10177 | return SWIG_Py_Void(); |
10178 | } | |
10179 | ||
5eb8189c | 10180 | SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10181 | return SWIG_Python_InitShadowInstance(args); |
10182 | } | |
10183 | ||
5eb8189c | 10184 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10185 | PyObject *resultobj = 0; |
5eb8189c | 10186 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10187 | int arg2 ; |
10188 | void *argp1 = 0 ; | |
10189 | int res1 = 0 ; | |
10190 | int val2 ; | |
10191 | int ecode2 = 0 ; | |
10192 | PyObject *swig_obj[2] ; | |
10193 | ||
5eb8189c RD |
10194 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail; |
10195 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10196 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10197 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10198 | } |
5eb8189c | 10199 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10200 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10201 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10202 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10203 | } |
10204 | arg2 = static_cast< int >(val2); | |
10205 | if (arg1) (arg1)->type = arg2; | |
10206 | ||
10207 | resultobj = SWIG_Py_Void(); | |
10208 | return resultobj; | |
10209 | fail: | |
10210 | return NULL; | |
10211 | } | |
10212 | ||
10213 | ||
5eb8189c | 10214 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10215 | PyObject *resultobj = 0; |
5eb8189c | 10216 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10217 | int result; |
10218 | void *argp1 = 0 ; | |
10219 | int res1 = 0 ; | |
10220 | PyObject *swig_obj[1] ; | |
10221 | ||
10222 | if (!args) SWIG_fail; | |
10223 | swig_obj[0] = args; | |
5eb8189c | 10224 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10225 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10226 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10227 | } |
5eb8189c | 10228 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10229 | result = (int) ((arg1)->type); |
10230 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10231 | return resultobj; | |
10232 | fail: | |
10233 | return NULL; | |
10234 | } | |
10235 | ||
10236 | ||
5eb8189c | 10237 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10238 | PyObject *resultobj = 0; |
5eb8189c | 10239 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10240 | int arg2 ; |
10241 | void *argp1 = 0 ; | |
10242 | int res1 = 0 ; | |
10243 | int val2 ; | |
10244 | int ecode2 = 0 ; | |
10245 | PyObject *swig_obj[2] ; | |
10246 | ||
5eb8189c RD |
10247 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail; |
10248 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10249 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10250 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10251 | } |
5eb8189c | 10252 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10253 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10254 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10255 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10256 | } |
10257 | arg2 = static_cast< int >(val2); | |
10258 | if (arg1) (arg1)->orientation = arg2; | |
10259 | ||
10260 | resultobj = SWIG_Py_Void(); | |
10261 | return resultobj; | |
10262 | fail: | |
10263 | return NULL; | |
10264 | } | |
10265 | ||
10266 | ||
5eb8189c | 10267 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10268 | PyObject *resultobj = 0; |
5eb8189c | 10269 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10270 | int result; |
10271 | void *argp1 = 0 ; | |
10272 | int res1 = 0 ; | |
10273 | PyObject *swig_obj[1] ; | |
10274 | ||
10275 | if (!args) SWIG_fail; | |
10276 | swig_obj[0] = args; | |
5eb8189c | 10277 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10278 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10279 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10280 | } |
5eb8189c | 10281 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10282 | result = (int) ((arg1)->orientation); |
10283 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10284 | return resultobj; | |
10285 | fail: | |
10286 | return NULL; | |
10287 | } | |
10288 | ||
10289 | ||
5eb8189c | 10290 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10291 | PyObject *resultobj = 0; |
5eb8189c RD |
10292 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10293 | wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ; | |
27e45892 RD |
10294 | void *argp1 = 0 ; |
10295 | int res1 = 0 ; | |
10296 | void *argp2 = 0 ; | |
10297 | int res2 = 0 ; | |
10298 | PyObject *swig_obj[2] ; | |
10299 | ||
5eb8189c RD |
10300 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail; |
10301 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10302 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10303 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10304 | } |
5eb8189c RD |
10305 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10306 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10307 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10308 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'"); |
27e45892 | 10309 | } |
5eb8189c | 10310 | arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2); |
27e45892 RD |
10311 | if (arg1) (arg1)->dock = arg2; |
10312 | ||
10313 | resultobj = SWIG_Py_Void(); | |
10314 | return resultobj; | |
10315 | fail: | |
10316 | return NULL; | |
10317 | } | |
10318 | ||
10319 | ||
5eb8189c | 10320 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10321 | PyObject *resultobj = 0; |
5eb8189c RD |
10322 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10323 | wxAuiDockInfo *result = 0 ; | |
27e45892 RD |
10324 | void *argp1 = 0 ; |
10325 | int res1 = 0 ; | |
10326 | PyObject *swig_obj[1] ; | |
10327 | ||
10328 | if (!args) SWIG_fail; | |
10329 | swig_obj[0] = args; | |
5eb8189c | 10330 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10331 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10332 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10333 | } |
5eb8189c RD |
10334 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10335 | result = (wxAuiDockInfo *) ((arg1)->dock); | |
10336 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); | |
27e45892 RD |
10337 | return resultobj; |
10338 | fail: | |
10339 | return NULL; | |
10340 | } | |
10341 | ||
10342 | ||
5eb8189c | 10343 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10344 | PyObject *resultobj = 0; |
5eb8189c RD |
10345 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10346 | wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ; | |
27e45892 RD |
10347 | void *argp1 = 0 ; |
10348 | int res1 = 0 ; | |
10349 | void *argp2 = 0 ; | |
10350 | int res2 = 0 ; | |
10351 | PyObject *swig_obj[2] ; | |
10352 | ||
5eb8189c RD |
10353 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail; |
10354 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10355 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10357 | } |
5eb8189c RD |
10358 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10359 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10360 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'"); |
27e45892 | 10362 | } |
5eb8189c | 10363 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
10364 | if (arg1) (arg1)->pane = arg2; |
10365 | ||
10366 | resultobj = SWIG_Py_Void(); | |
10367 | return resultobj; | |
10368 | fail: | |
10369 | return NULL; | |
10370 | } | |
10371 | ||
10372 | ||
5eb8189c | 10373 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10374 | PyObject *resultobj = 0; |
5eb8189c RD |
10375 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10376 | wxAuiPaneInfo *result = 0 ; | |
27e45892 RD |
10377 | void *argp1 = 0 ; |
10378 | int res1 = 0 ; | |
10379 | PyObject *swig_obj[1] ; | |
10380 | ||
10381 | if (!args) SWIG_fail; | |
10382 | swig_obj[0] = args; | |
5eb8189c | 10383 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10384 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10385 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10386 | } |
5eb8189c RD |
10387 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10388 | result = (wxAuiPaneInfo *) ((arg1)->pane); | |
10389 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); | |
27e45892 RD |
10390 | return resultobj; |
10391 | fail: | |
10392 | return NULL; | |
10393 | } | |
10394 | ||
10395 | ||
5eb8189c | 10396 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10397 | PyObject *resultobj = 0; |
5eb8189c RD |
10398 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10399 | wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ; | |
27e45892 RD |
10400 | void *argp1 = 0 ; |
10401 | int res1 = 0 ; | |
10402 | void *argp2 = 0 ; | |
10403 | int res2 = 0 ; | |
10404 | PyObject *swig_obj[2] ; | |
10405 | ||
5eb8189c RD |
10406 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail; |
10407 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10408 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10409 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10410 | } |
5eb8189c RD |
10411 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10412 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); | |
27e45892 | 10413 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 10414 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10415 | } |
5eb8189c | 10416 | arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2); |
27e45892 RD |
10417 | if (arg1) (arg1)->button = arg2; |
10418 | ||
10419 | resultobj = SWIG_Py_Void(); | |
10420 | return resultobj; | |
10421 | fail: | |
10422 | return NULL; | |
10423 | } | |
10424 | ||
10425 | ||
5eb8189c | 10426 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10427 | PyObject *resultobj = 0; |
5eb8189c RD |
10428 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
10429 | wxAuiPaneButton *result = 0 ; | |
27e45892 RD |
10430 | void *argp1 = 0 ; |
10431 | int res1 = 0 ; | |
10432 | PyObject *swig_obj[1] ; | |
10433 | ||
10434 | if (!args) SWIG_fail; | |
10435 | swig_obj[0] = args; | |
5eb8189c | 10436 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10437 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10438 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10439 | } |
5eb8189c RD |
10440 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
10441 | result = (wxAuiPaneButton *) ((arg1)->button); | |
10442 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 RD |
10443 | return resultobj; |
10444 | fail: | |
10445 | return NULL; | |
10446 | } | |
10447 | ||
10448 | ||
5eb8189c | 10449 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10450 | PyObject *resultobj = 0; |
5eb8189c | 10451 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10452 | wxSizer *arg2 = (wxSizer *) 0 ; |
10453 | void *argp1 = 0 ; | |
10454 | int res1 = 0 ; | |
10455 | void *argp2 = 0 ; | |
10456 | int res2 = 0 ; | |
10457 | PyObject *swig_obj[2] ; | |
10458 | ||
5eb8189c RD |
10459 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail; |
10460 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10461 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10462 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10463 | } |
5eb8189c | 10464 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10465 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 ); |
10466 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10467 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'"); |
27e45892 RD |
10468 | } |
10469 | arg2 = reinterpret_cast< wxSizer * >(argp2); | |
10470 | if (arg1) (arg1)->cont_sizer = arg2; | |
10471 | ||
10472 | resultobj = SWIG_Py_Void(); | |
10473 | return resultobj; | |
10474 | fail: | |
10475 | return NULL; | |
10476 | } | |
10477 | ||
10478 | ||
5eb8189c | 10479 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10480 | PyObject *resultobj = 0; |
5eb8189c | 10481 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10482 | wxSizer *result = 0 ; |
10483 | void *argp1 = 0 ; | |
10484 | int res1 = 0 ; | |
10485 | PyObject *swig_obj[1] ; | |
10486 | ||
10487 | if (!args) SWIG_fail; | |
10488 | swig_obj[0] = args; | |
5eb8189c | 10489 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10490 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10491 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10492 | } |
5eb8189c | 10493 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10494 | result = (wxSizer *) ((arg1)->cont_sizer); |
10495 | { | |
10496 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
10497 | } | |
10498 | return resultobj; | |
10499 | fail: | |
10500 | return NULL; | |
10501 | } | |
10502 | ||
10503 | ||
5eb8189c | 10504 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10505 | PyObject *resultobj = 0; |
5eb8189c | 10506 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10507 | wxSizerItem *arg2 = (wxSizerItem *) 0 ; |
10508 | void *argp1 = 0 ; | |
10509 | int res1 = 0 ; | |
10510 | void *argp2 = 0 ; | |
10511 | int res2 = 0 ; | |
10512 | PyObject *swig_obj[2] ; | |
10513 | ||
5eb8189c RD |
10514 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail; |
10515 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10516 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10517 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10518 | } |
5eb8189c | 10519 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10520 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 ); |
10521 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10522 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'"); |
27e45892 RD |
10523 | } |
10524 | arg2 = reinterpret_cast< wxSizerItem * >(argp2); | |
10525 | if (arg1) (arg1)->sizer_item = arg2; | |
10526 | ||
10527 | resultobj = SWIG_Py_Void(); | |
10528 | return resultobj; | |
10529 | fail: | |
10530 | return NULL; | |
10531 | } | |
10532 | ||
10533 | ||
5eb8189c | 10534 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10535 | PyObject *resultobj = 0; |
5eb8189c | 10536 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10537 | wxSizerItem *result = 0 ; |
10538 | void *argp1 = 0 ; | |
10539 | int res1 = 0 ; | |
10540 | PyObject *swig_obj[1] ; | |
10541 | ||
10542 | if (!args) SWIG_fail; | |
10543 | swig_obj[0] = args; | |
5eb8189c | 10544 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10545 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10546 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10547 | } |
5eb8189c | 10548 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10549 | result = (wxSizerItem *) ((arg1)->sizer_item); |
10550 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 ); | |
10551 | return resultobj; | |
10552 | fail: | |
10553 | return NULL; | |
10554 | } | |
10555 | ||
10556 | ||
5eb8189c | 10557 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10558 | PyObject *resultobj = 0; |
5eb8189c | 10559 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10560 | wxRect *arg2 = (wxRect *) 0 ; |
10561 | void *argp1 = 0 ; | |
10562 | int res1 = 0 ; | |
10563 | void *argp2 = 0 ; | |
10564 | int res2 = 0 ; | |
10565 | PyObject *swig_obj[2] ; | |
10566 | ||
5eb8189c RD |
10567 | if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail; |
10568 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); | |
27e45892 | 10569 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10570 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10571 | } |
5eb8189c | 10572 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10573 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
10574 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 10575 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
27e45892 RD |
10576 | } |
10577 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
10578 | if (arg1) (arg1)->rect = *arg2; | |
10579 | ||
10580 | resultobj = SWIG_Py_Void(); | |
10581 | return resultobj; | |
10582 | fail: | |
10583 | return NULL; | |
10584 | } | |
10585 | ||
10586 | ||
5eb8189c | 10587 | SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10588 | PyObject *resultobj = 0; |
5eb8189c | 10589 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
27e45892 RD |
10590 | wxRect *result = 0 ; |
10591 | void *argp1 = 0 ; | |
10592 | int res1 = 0 ; | |
10593 | PyObject *swig_obj[1] ; | |
10594 | ||
10595 | if (!args) SWIG_fail; | |
10596 | swig_obj[0] = args; | |
5eb8189c | 10597 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 ); |
27e45892 | 10598 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10599 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
27e45892 | 10600 | } |
5eb8189c | 10601 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
27e45892 RD |
10602 | result = (wxRect *)& ((arg1)->rect); |
10603 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10604 | return resultobj; | |
10605 | fail: | |
10606 | return NULL; | |
10607 | } | |
10608 | ||
10609 | ||
5eb8189c | 10610 | SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10611 | PyObject *resultobj = 0; |
5eb8189c | 10612 | wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ; |
72ef6efb RD |
10613 | void *argp1 = 0 ; |
10614 | int res1 = 0 ; | |
10615 | PyObject *swig_obj[1] ; | |
10616 | ||
10617 | if (!args) SWIG_fail; | |
10618 | swig_obj[0] = args; | |
5eb8189c | 10619 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10620 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10621 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'"); |
72ef6efb | 10622 | } |
5eb8189c | 10623 | arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1); |
72ef6efb RD |
10624 | { |
10625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10626 | delete_wxAuiDockUIPart(arg1); |
72ef6efb RD |
10627 | |
10628 | wxPyEndAllowThreads(__tstate); | |
10629 | if (PyErr_Occurred()) SWIG_fail; | |
10630 | } | |
10631 | resultobj = SWIG_Py_Void(); | |
10632 | return resultobj; | |
10633 | fail: | |
10634 | return NULL; | |
10635 | } | |
10636 | ||
10637 | ||
5eb8189c | 10638 | SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10639 | PyObject *obj; |
10640 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10641 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj)); |
27e45892 RD |
10642 | return SWIG_Py_Void(); |
10643 | } | |
10644 | ||
5eb8189c | 10645 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10646 | PyObject *resultobj = 0; |
5eb8189c | 10647 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10648 | int arg2 ; |
10649 | void *argp1 = 0 ; | |
10650 | int res1 = 0 ; | |
10651 | int val2 ; | |
10652 | int ecode2 = 0 ; | |
10653 | PyObject *swig_obj[2] ; | |
10654 | ||
5eb8189c RD |
10655 | if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail; |
10656 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); | |
27e45892 | 10657 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10658 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10659 | } |
5eb8189c | 10660 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10661 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
10662 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10663 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10664 | } |
10665 | arg2 = static_cast< int >(val2); | |
10666 | if (arg1) (arg1)->button_id = arg2; | |
10667 | ||
10668 | resultobj = SWIG_Py_Void(); | |
10669 | return resultobj; | |
10670 | fail: | |
10671 | return NULL; | |
10672 | } | |
10673 | ||
10674 | ||
5eb8189c | 10675 | SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10676 | PyObject *resultobj = 0; |
5eb8189c | 10677 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
27e45892 RD |
10678 | int result; |
10679 | void *argp1 = 0 ; | |
10680 | int res1 = 0 ; | |
10681 | PyObject *swig_obj[1] ; | |
10682 | ||
10683 | if (!args) SWIG_fail; | |
10684 | swig_obj[0] = args; | |
5eb8189c | 10685 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 ); |
27e45892 | 10686 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10687 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
27e45892 | 10688 | } |
5eb8189c | 10689 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
27e45892 RD |
10690 | result = (int) ((arg1)->button_id); |
10691 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10692 | return resultobj; | |
10693 | fail: | |
10694 | return NULL; | |
10695 | } | |
10696 | ||
10697 | ||
5eb8189c | 10698 | SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
72ef6efb | 10699 | PyObject *resultobj = 0; |
5eb8189c | 10700 | wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ; |
72ef6efb RD |
10701 | void *argp1 = 0 ; |
10702 | int res1 = 0 ; | |
10703 | PyObject *swig_obj[1] ; | |
10704 | ||
10705 | if (!args) SWIG_fail; | |
10706 | swig_obj[0] = args; | |
5eb8189c | 10707 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 ); |
72ef6efb | 10708 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10709 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'"); |
72ef6efb | 10710 | } |
5eb8189c | 10711 | arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1); |
72ef6efb RD |
10712 | { |
10713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 10714 | delete_wxAuiPaneButton(arg1); |
72ef6efb RD |
10715 | |
10716 | wxPyEndAllowThreads(__tstate); | |
10717 | if (PyErr_Occurred()) SWIG_fail; | |
10718 | } | |
10719 | resultobj = SWIG_Py_Void(); | |
10720 | return resultobj; | |
10721 | fail: | |
10722 | return NULL; | |
10723 | } | |
10724 | ||
10725 | ||
5eb8189c | 10726 | SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
10727 | PyObject *obj; |
10728 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 10729 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj)); |
27e45892 RD |
10730 | return SWIG_Py_Void(); |
10731 | } | |
10732 | ||
5eb8189c | 10733 | SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 10734 | PyObject *resultobj = 0; |
5eb8189c | 10735 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10736 | void *argp1 = 0 ; |
10737 | int res1 = 0 ; | |
10738 | PyObject *swig_obj[1] ; | |
10739 | ||
10740 | if (!args) SWIG_fail; | |
10741 | swig_obj[0] = args; | |
5eb8189c | 10742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 10743 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10745 | } |
5eb8189c | 10746 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10747 | { |
10748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10749 | delete arg1; | |
10750 | ||
10751 | wxPyEndAllowThreads(__tstate); | |
10752 | if (PyErr_Occurred()) SWIG_fail; | |
10753 | } | |
10754 | resultobj = SWIG_Py_Void(); | |
10755 | return resultobj; | |
10756 | fail: | |
10757 | return NULL; | |
10758 | } | |
10759 | ||
10760 | ||
5eb8189c | 10761 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10762 | PyObject *resultobj = 0; |
5eb8189c | 10763 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10764 | int arg2 ; |
10765 | int result; | |
10766 | void *argp1 = 0 ; | |
10767 | int res1 = 0 ; | |
10768 | int val2 ; | |
10769 | int ecode2 = 0 ; | |
10770 | PyObject * obj0 = 0 ; | |
10771 | PyObject * obj1 = 0 ; | |
10772 | char * kwnames[] = { | |
10773 | (char *) "self",(char *) "id", NULL | |
10774 | }; | |
10775 | ||
5eb8189c RD |
10776 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail; |
10777 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10778 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10779 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10780 | } |
5eb8189c | 10781 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10782 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10783 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10784 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10785 | } |
10786 | arg2 = static_cast< int >(val2); | |
10787 | { | |
10788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10789 | result = (int)(arg1)->GetMetric(arg2); | |
10790 | wxPyEndAllowThreads(__tstate); | |
10791 | if (PyErr_Occurred()) SWIG_fail; | |
10792 | } | |
10793 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10794 | return resultobj; | |
10795 | fail: | |
10796 | return NULL; | |
10797 | } | |
10798 | ||
10799 | ||
5eb8189c | 10800 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10801 | PyObject *resultobj = 0; |
5eb8189c | 10802 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10803 | int arg2 ; |
10804 | int arg3 ; | |
10805 | void *argp1 = 0 ; | |
10806 | int res1 = 0 ; | |
10807 | int val2 ; | |
10808 | int ecode2 = 0 ; | |
10809 | int val3 ; | |
10810 | int ecode3 = 0 ; | |
10811 | PyObject * obj0 = 0 ; | |
10812 | PyObject * obj1 = 0 ; | |
10813 | PyObject * obj2 = 0 ; | |
10814 | char * kwnames[] = { | |
10815 | (char *) "self",(char *) "id",(char *) "new_val", NULL | |
10816 | }; | |
10817 | ||
5eb8189c RD |
10818 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10819 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10820 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10821 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10822 | } |
5eb8189c | 10823 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10824 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10825 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10826 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10827 | } |
10828 | arg2 = static_cast< int >(val2); | |
10829 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10830 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 10831 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'"); |
27e45892 RD |
10832 | } |
10833 | arg3 = static_cast< int >(val3); | |
10834 | { | |
10835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10836 | (arg1)->SetMetric(arg2,arg3); | |
10837 | wxPyEndAllowThreads(__tstate); | |
10838 | if (PyErr_Occurred()) SWIG_fail; | |
10839 | } | |
10840 | resultobj = SWIG_Py_Void(); | |
10841 | return resultobj; | |
10842 | fail: | |
10843 | return NULL; | |
10844 | } | |
10845 | ||
10846 | ||
5eb8189c | 10847 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10848 | PyObject *resultobj = 0; |
5eb8189c | 10849 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10850 | int arg2 ; |
10851 | wxFont *arg3 = 0 ; | |
10852 | void *argp1 = 0 ; | |
10853 | int res1 = 0 ; | |
10854 | int val2 ; | |
10855 | int ecode2 = 0 ; | |
10856 | void *argp3 = 0 ; | |
10857 | int res3 = 0 ; | |
10858 | PyObject * obj0 = 0 ; | |
10859 | PyObject * obj1 = 0 ; | |
10860 | PyObject * obj2 = 0 ; | |
10861 | char * kwnames[] = { | |
10862 | (char *) "self",(char *) "id",(char *) "font", NULL | |
10863 | }; | |
10864 | ||
5eb8189c RD |
10865 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10866 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10867 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10868 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10869 | } |
5eb8189c | 10870 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10871 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10872 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10873 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10874 | } |
10875 | arg2 = static_cast< int >(val2); | |
10876 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); | |
10877 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 10878 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10879 | } |
10880 | if (!argp3) { | |
5eb8189c | 10881 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
27e45892 RD |
10882 | } |
10883 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
10884 | { | |
10885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10886 | (arg1)->SetFont(arg2,(wxFont const &)*arg3); | |
10887 | wxPyEndAllowThreads(__tstate); | |
10888 | if (PyErr_Occurred()) SWIG_fail; | |
10889 | } | |
10890 | resultobj = SWIG_Py_Void(); | |
10891 | return resultobj; | |
10892 | fail: | |
10893 | return NULL; | |
10894 | } | |
10895 | ||
10896 | ||
5eb8189c | 10897 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10898 | PyObject *resultobj = 0; |
5eb8189c | 10899 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10900 | int arg2 ; |
10901 | wxFont result; | |
10902 | void *argp1 = 0 ; | |
10903 | int res1 = 0 ; | |
10904 | int val2 ; | |
10905 | int ecode2 = 0 ; | |
10906 | PyObject * obj0 = 0 ; | |
10907 | PyObject * obj1 = 0 ; | |
10908 | char * kwnames[] = { | |
10909 | (char *) "self",(char *) "id", NULL | |
10910 | }; | |
10911 | ||
5eb8189c RD |
10912 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail; |
10913 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10914 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10916 | } |
5eb8189c | 10917 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10918 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10919 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10920 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10921 | } |
10922 | arg2 = static_cast< int >(val2); | |
10923 | { | |
10924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10925 | result = (arg1)->GetFont(arg2); | |
10926 | wxPyEndAllowThreads(__tstate); | |
10927 | if (PyErr_Occurred()) SWIG_fail; | |
10928 | } | |
10929 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); | |
10930 | return resultobj; | |
10931 | fail: | |
10932 | return NULL; | |
10933 | } | |
10934 | ||
10935 | ||
5eb8189c | 10936 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10937 | PyObject *resultobj = 0; |
5eb8189c | 10938 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
10939 | int arg2 ; |
10940 | wxColour result; | |
10941 | void *argp1 = 0 ; | |
10942 | int res1 = 0 ; | |
10943 | int val2 ; | |
10944 | int ecode2 = 0 ; | |
10945 | PyObject * obj0 = 0 ; | |
10946 | PyObject * obj1 = 0 ; | |
10947 | char * kwnames[] = { | |
10948 | (char *) "self",(char *) "id", NULL | |
10949 | }; | |
10950 | ||
5eb8189c RD |
10951 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail; |
10952 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10953 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10954 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10955 | } |
5eb8189c | 10956 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10957 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10958 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 10959 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
10960 | } |
10961 | arg2 = static_cast< int >(val2); | |
10962 | { | |
10963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10964 | result = (arg1)->GetColour(arg2); | |
10965 | wxPyEndAllowThreads(__tstate); | |
10966 | if (PyErr_Occurred()) SWIG_fail; | |
10967 | } | |
10968 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
10969 | return resultobj; | |
10970 | fail: | |
10971 | return NULL; | |
10972 | } | |
10973 | ||
10974 | ||
5eb8189c | 10975 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 10976 | PyObject *resultobj = 0; |
5eb8189c | 10977 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 10978 | int arg2 ; |
59ccbf7f | 10979 | wxColour *arg3 = 0 ; |
27e45892 RD |
10980 | void *argp1 = 0 ; |
10981 | int res1 = 0 ; | |
10982 | int val2 ; | |
10983 | int ecode2 = 0 ; | |
59ccbf7f | 10984 | wxColour temp3 ; |
27e45892 RD |
10985 | PyObject * obj0 = 0 ; |
10986 | PyObject * obj1 = 0 ; | |
10987 | PyObject * obj2 = 0 ; | |
10988 | char * kwnames[] = { | |
10989 | (char *) "self",(char *) "id",(char *) "colour", NULL | |
10990 | }; | |
10991 | ||
5eb8189c RD |
10992 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
10993 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 10994 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 10995 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 10996 | } |
5eb8189c | 10997 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
10998 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
10999 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11000 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11001 | } |
11002 | arg2 = static_cast< int >(val2); | |
59ccbf7f RD |
11003 | { |
11004 | arg3 = &temp3; | |
11005 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
27e45892 | 11006 | } |
27e45892 RD |
11007 | { |
11008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
59ccbf7f | 11009 | (arg1)->SetColour(arg2,(wxColour const &)*arg3); |
27e45892 RD |
11010 | wxPyEndAllowThreads(__tstate); |
11011 | if (PyErr_Occurred()) SWIG_fail; | |
11012 | } | |
11013 | resultobj = SWIG_Py_Void(); | |
11014 | return resultobj; | |
11015 | fail: | |
11016 | return NULL; | |
11017 | } | |
11018 | ||
11019 | ||
5eb8189c | 11020 | SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11021 | PyObject *resultobj = 0; |
5eb8189c | 11022 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11023 | int arg2 ; |
11024 | wxColour result; | |
11025 | void *argp1 = 0 ; | |
11026 | int res1 = 0 ; | |
11027 | int val2 ; | |
11028 | int ecode2 = 0 ; | |
11029 | PyObject * obj0 = 0 ; | |
11030 | PyObject * obj1 = 0 ; | |
11031 | char * kwnames[] = { | |
11032 | (char *) "self",(char *) "id", NULL | |
11033 | }; | |
11034 | ||
5eb8189c RD |
11035 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail; |
11036 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11037 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11038 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11039 | } |
5eb8189c | 11040 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11041 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11042 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11043 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11044 | } |
11045 | arg2 = static_cast< int >(val2); | |
11046 | { | |
11047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11048 | result = (arg1)->GetColor(arg2); | |
11049 | wxPyEndAllowThreads(__tstate); | |
11050 | if (PyErr_Occurred()) SWIG_fail; | |
11051 | } | |
11052 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); | |
11053 | return resultobj; | |
11054 | fail: | |
11055 | return NULL; | |
11056 | } | |
11057 | ||
11058 | ||
5eb8189c | 11059 | SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11060 | PyObject *resultobj = 0; |
5eb8189c | 11061 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 RD |
11062 | int arg2 ; |
11063 | wxColour *arg3 = 0 ; | |
11064 | void *argp1 = 0 ; | |
11065 | int res1 = 0 ; | |
11066 | int val2 ; | |
11067 | int ecode2 = 0 ; | |
11068 | wxColour temp3 ; | |
11069 | PyObject * obj0 = 0 ; | |
11070 | PyObject * obj1 = 0 ; | |
11071 | PyObject * obj2 = 0 ; | |
11072 | char * kwnames[] = { | |
11073 | (char *) "self",(char *) "id",(char *) "color", NULL | |
11074 | }; | |
11075 | ||
5eb8189c RD |
11076 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
11077 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11078 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11079 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11080 | } |
5eb8189c | 11081 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11082 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
11083 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 11084 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'"); |
27e45892 RD |
11085 | } |
11086 | arg2 = static_cast< int >(val2); | |
11087 | { | |
11088 | arg3 = &temp3; | |
11089 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11090 | } | |
11091 | { | |
11092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11093 | (arg1)->SetColor(arg2,(wxColour const &)*arg3); | |
11094 | wxPyEndAllowThreads(__tstate); | |
11095 | if (PyErr_Occurred()) SWIG_fail; | |
11096 | } | |
11097 | resultobj = SWIG_Py_Void(); | |
11098 | return resultobj; | |
11099 | fail: | |
11100 | return NULL; | |
11101 | } | |
11102 | ||
11103 | ||
5eb8189c | 11104 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11105 | PyObject *resultobj = 0; |
5eb8189c | 11106 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11107 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11108 | wxWindow *arg3 = (wxWindow *) 0 ; |
11109 | int arg4 ; | |
11110 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11111 | void *argp1 = 0 ; |
11112 | int res1 = 0 ; | |
11113 | void *argp2 = 0 ; | |
11114 | int res2 = 0 ; | |
97ab0f6a RD |
11115 | void *argp3 = 0 ; |
11116 | int res3 = 0 ; | |
11117 | int val4 ; | |
11118 | int ecode4 = 0 ; | |
11119 | wxRect temp5 ; | |
27e45892 RD |
11120 | PyObject * obj0 = 0 ; |
11121 | PyObject * obj1 = 0 ; | |
11122 | PyObject * obj2 = 0 ; | |
11123 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11124 | PyObject * obj4 = 0 ; |
27e45892 | 11125 | char * kwnames[] = { |
97ab0f6a | 11126 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11127 | }; |
11128 | ||
5eb8189c RD |
11129 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11130 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11131 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11132 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11133 | } |
5eb8189c | 11134 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11135 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11136 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11137 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11138 | } |
11139 | if (!argp2) { | |
5eb8189c | 11140 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11141 | } |
11142 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11143 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11144 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11145 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11146 | } |
11147 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11148 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11149 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11150 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11151 | } |
97ab0f6a | 11152 | arg4 = static_cast< int >(val4); |
27e45892 | 11153 | { |
97ab0f6a RD |
11154 | arg5 = &temp5; |
11155 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11156 | } |
11157 | { | |
11158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11159 | (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11160 | wxPyEndAllowThreads(__tstate); |
11161 | if (PyErr_Occurred()) SWIG_fail; | |
11162 | } | |
11163 | resultobj = SWIG_Py_Void(); | |
11164 | return resultobj; | |
11165 | fail: | |
11166 | return NULL; | |
11167 | } | |
11168 | ||
11169 | ||
5eb8189c | 11170 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11171 | PyObject *resultobj = 0; |
5eb8189c | 11172 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11173 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11174 | wxWindow *arg3 = (wxWindow *) 0 ; |
11175 | int arg4 ; | |
11176 | wxRect *arg5 = 0 ; | |
27e45892 RD |
11177 | void *argp1 = 0 ; |
11178 | int res1 = 0 ; | |
11179 | void *argp2 = 0 ; | |
11180 | int res2 = 0 ; | |
97ab0f6a RD |
11181 | void *argp3 = 0 ; |
11182 | int res3 = 0 ; | |
11183 | int val4 ; | |
11184 | int ecode4 = 0 ; | |
11185 | wxRect temp5 ; | |
27e45892 RD |
11186 | PyObject * obj0 = 0 ; |
11187 | PyObject * obj1 = 0 ; | |
11188 | PyObject * obj2 = 0 ; | |
11189 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11190 | PyObject * obj4 = 0 ; |
27e45892 | 11191 | char * kwnames[] = { |
97ab0f6a | 11192 | (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL |
27e45892 RD |
11193 | }; |
11194 | ||
5eb8189c RD |
11195 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11196 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11197 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11198 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11199 | } |
5eb8189c | 11200 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11201 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11202 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11203 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11204 | } |
11205 | if (!argp2) { | |
5eb8189c | 11206 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11207 | } |
11208 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11209 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11210 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11211 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11212 | } |
11213 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
11214 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11215 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11216 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'"); |
27e45892 | 11217 | } |
97ab0f6a | 11218 | arg4 = static_cast< int >(val4); |
27e45892 | 11219 | { |
97ab0f6a RD |
11220 | arg5 = &temp5; |
11221 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 RD |
11222 | } |
11223 | { | |
11224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11225 | (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5); |
27e45892 RD |
11226 | wxPyEndAllowThreads(__tstate); |
11227 | if (PyErr_Occurred()) SWIG_fail; | |
11228 | } | |
11229 | resultobj = SWIG_Py_Void(); | |
11230 | return resultobj; | |
11231 | fail: | |
11232 | return NULL; | |
11233 | } | |
11234 | ||
11235 | ||
5eb8189c | 11236 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11237 | PyObject *resultobj = 0; |
5eb8189c | 11238 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11239 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11240 | wxWindow *arg3 = (wxWindow *) 0 ; |
11241 | wxString *arg4 = 0 ; | |
11242 | wxRect *arg5 = 0 ; | |
5eb8189c | 11243 | wxAuiPaneInfo *arg6 = 0 ; |
27e45892 RD |
11244 | void *argp1 = 0 ; |
11245 | int res1 = 0 ; | |
11246 | void *argp2 = 0 ; | |
11247 | int res2 = 0 ; | |
97ab0f6a RD |
11248 | void *argp3 = 0 ; |
11249 | int res3 = 0 ; | |
11250 | bool temp4 = false ; | |
11251 | wxRect temp5 ; | |
11252 | void *argp6 = 0 ; | |
11253 | int res6 = 0 ; | |
27e45892 RD |
11254 | PyObject * obj0 = 0 ; |
11255 | PyObject * obj1 = 0 ; | |
11256 | PyObject * obj2 = 0 ; | |
11257 | PyObject * obj3 = 0 ; | |
11258 | PyObject * obj4 = 0 ; | |
97ab0f6a | 11259 | PyObject * obj5 = 0 ; |
27e45892 | 11260 | char * kwnames[] = { |
97ab0f6a | 11261 | (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11262 | }; |
11263 | ||
5eb8189c RD |
11264 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
11265 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11266 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11267 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11268 | } |
5eb8189c | 11269 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11270 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11271 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11272 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11273 | } |
11274 | if (!argp2) { | |
5eb8189c | 11275 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11276 | } |
11277 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11278 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11279 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11280 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11281 | } |
11282 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11283 | { |
97ab0f6a RD |
11284 | arg4 = wxString_in_helper(obj3); |
11285 | if (arg4 == NULL) SWIG_fail; | |
11286 | temp4 = true; | |
27e45892 RD |
11287 | } |
11288 | { | |
97ab0f6a RD |
11289 | arg5 = &temp5; |
11290 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
27e45892 | 11291 | } |
5eb8189c | 11292 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11293 | if (!SWIG_IsOK(res6)) { |
5eb8189c | 11294 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11295 | } |
97ab0f6a | 11296 | if (!argp6) { |
5eb8189c | 11297 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11298 | } |
5eb8189c | 11299 | arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6); |
27e45892 RD |
11300 | { |
11301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11302 | (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6); |
27e45892 RD |
11303 | wxPyEndAllowThreads(__tstate); |
11304 | if (PyErr_Occurred()) SWIG_fail; | |
11305 | } | |
11306 | resultobj = SWIG_Py_Void(); | |
11307 | { | |
97ab0f6a RD |
11308 | if (temp4) |
11309 | delete arg4; | |
27e45892 RD |
11310 | } |
11311 | return resultobj; | |
11312 | fail: | |
11313 | { | |
97ab0f6a RD |
11314 | if (temp4) |
11315 | delete arg4; | |
27e45892 RD |
11316 | } |
11317 | return NULL; | |
11318 | } | |
11319 | ||
11320 | ||
5eb8189c | 11321 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11322 | PyObject *resultobj = 0; |
5eb8189c | 11323 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11324 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11325 | wxWindow *arg3 = (wxWindow *) 0 ; |
11326 | wxRect *arg4 = 0 ; | |
5eb8189c | 11327 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11328 | void *argp1 = 0 ; |
11329 | int res1 = 0 ; | |
11330 | void *argp2 = 0 ; | |
11331 | int res2 = 0 ; | |
97ab0f6a RD |
11332 | void *argp3 = 0 ; |
11333 | int res3 = 0 ; | |
11334 | wxRect temp4 ; | |
11335 | void *argp5 = 0 ; | |
11336 | int res5 = 0 ; | |
27e45892 RD |
11337 | PyObject * obj0 = 0 ; |
11338 | PyObject * obj1 = 0 ; | |
11339 | PyObject * obj2 = 0 ; | |
11340 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11341 | PyObject * obj4 = 0 ; |
27e45892 | 11342 | char * kwnames[] = { |
97ab0f6a | 11343 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11344 | }; |
11345 | ||
5eb8189c RD |
11346 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11347 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11348 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11349 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11350 | } |
5eb8189c | 11351 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11352 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11353 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11354 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11355 | } |
11356 | if (!argp2) { | |
5eb8189c | 11357 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11358 | } |
11359 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11360 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11361 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11362 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11363 | } |
11364 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11365 | { |
97ab0f6a RD |
11366 | arg4 = &temp4; |
11367 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11368 | } |
5eb8189c | 11369 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11370 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11371 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11372 | } |
97ab0f6a | 11373 | if (!argp5) { |
5eb8189c | 11374 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11375 | } |
5eb8189c | 11376 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11377 | { |
11378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11379 | (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11380 | wxPyEndAllowThreads(__tstate); |
11381 | if (PyErr_Occurred()) SWIG_fail; | |
11382 | } | |
11383 | resultobj = SWIG_Py_Void(); | |
11384 | return resultobj; | |
11385 | fail: | |
11386 | return NULL; | |
11387 | } | |
11388 | ||
11389 | ||
5eb8189c | 11390 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11391 | PyObject *resultobj = 0; |
5eb8189c | 11392 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11393 | wxDC *arg2 = 0 ; |
97ab0f6a RD |
11394 | wxWindow *arg3 = (wxWindow *) 0 ; |
11395 | wxRect *arg4 = 0 ; | |
5eb8189c | 11396 | wxAuiPaneInfo *arg5 = 0 ; |
27e45892 RD |
11397 | void *argp1 = 0 ; |
11398 | int res1 = 0 ; | |
11399 | void *argp2 = 0 ; | |
11400 | int res2 = 0 ; | |
97ab0f6a RD |
11401 | void *argp3 = 0 ; |
11402 | int res3 = 0 ; | |
11403 | wxRect temp4 ; | |
11404 | void *argp5 = 0 ; | |
11405 | int res5 = 0 ; | |
27e45892 RD |
11406 | PyObject * obj0 = 0 ; |
11407 | PyObject * obj1 = 0 ; | |
11408 | PyObject * obj2 = 0 ; | |
11409 | PyObject * obj3 = 0 ; | |
97ab0f6a | 11410 | PyObject * obj4 = 0 ; |
27e45892 | 11411 | char * kwnames[] = { |
97ab0f6a | 11412 | (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11413 | }; |
11414 | ||
5eb8189c RD |
11415 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
11416 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11417 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11418 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11419 | } |
5eb8189c | 11420 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11421 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11422 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11423 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11424 | } |
11425 | if (!argp2) { | |
5eb8189c | 11426 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11427 | } |
11428 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11429 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11430 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11431 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11432 | } |
11433 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 | 11434 | { |
97ab0f6a RD |
11435 | arg4 = &temp4; |
11436 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
27e45892 | 11437 | } |
5eb8189c | 11438 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11439 | if (!SWIG_IsOK(res5)) { |
5eb8189c | 11440 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11441 | } |
97ab0f6a | 11442 | if (!argp5) { |
5eb8189c | 11443 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11444 | } |
5eb8189c | 11445 | arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5); |
27e45892 RD |
11446 | { |
11447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11448 | (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5); |
27e45892 RD |
11449 | wxPyEndAllowThreads(__tstate); |
11450 | if (PyErr_Occurred()) SWIG_fail; | |
11451 | } | |
11452 | resultobj = SWIG_Py_Void(); | |
11453 | return resultobj; | |
11454 | fail: | |
11455 | return NULL; | |
11456 | } | |
11457 | ||
11458 | ||
5eb8189c | 11459 | SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11460 | PyObject *resultobj = 0; |
5eb8189c | 11461 | wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; |
27e45892 | 11462 | wxDC *arg2 = 0 ; |
97ab0f6a | 11463 | wxWindow *arg3 = (wxWindow *) 0 ; |
27e45892 | 11464 | int arg4 ; |
97ab0f6a RD |
11465 | int arg5 ; |
11466 | wxRect *arg6 = 0 ; | |
5eb8189c | 11467 | wxAuiPaneInfo *arg7 = 0 ; |
27e45892 RD |
11468 | void *argp1 = 0 ; |
11469 | int res1 = 0 ; | |
11470 | void *argp2 = 0 ; | |
11471 | int res2 = 0 ; | |
97ab0f6a RD |
11472 | void *argp3 = 0 ; |
11473 | int res3 = 0 ; | |
27e45892 RD |
11474 | int val4 ; |
11475 | int ecode4 = 0 ; | |
97ab0f6a RD |
11476 | int val5 ; |
11477 | int ecode5 = 0 ; | |
11478 | wxRect temp6 ; | |
11479 | void *argp7 = 0 ; | |
11480 | int res7 = 0 ; | |
27e45892 RD |
11481 | PyObject * obj0 = 0 ; |
11482 | PyObject * obj1 = 0 ; | |
11483 | PyObject * obj2 = 0 ; | |
11484 | PyObject * obj3 = 0 ; | |
11485 | PyObject * obj4 = 0 ; | |
11486 | PyObject * obj5 = 0 ; | |
97ab0f6a | 11487 | PyObject * obj6 = 0 ; |
27e45892 | 11488 | char * kwnames[] = { |
97ab0f6a | 11489 | (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL |
27e45892 RD |
11490 | }; |
11491 | ||
5eb8189c RD |
11492 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
11493 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 ); | |
27e45892 | 11494 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11495 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'"); |
27e45892 | 11496 | } |
5eb8189c | 11497 | arg1 = reinterpret_cast< wxAuiDockArt * >(argp1); |
27e45892 RD |
11498 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); |
11499 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 11500 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11501 | } |
11502 | if (!argp2) { | |
5eb8189c | 11503 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'"); |
27e45892 RD |
11504 | } |
11505 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
97ab0f6a RD |
11506 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11507 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 11508 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'"); |
97ab0f6a RD |
11509 | } |
11510 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
27e45892 RD |
11511 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
11512 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11513 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11514 | } |
11515 | arg4 = static_cast< int >(val4); | |
97ab0f6a RD |
11516 | ecode5 = SWIG_AsVal_int(obj4, &val5); |
11517 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11518 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'"); |
97ab0f6a RD |
11519 | } |
11520 | arg5 = static_cast< int >(val5); | |
27e45892 | 11521 | { |
97ab0f6a RD |
11522 | arg6 = &temp6; |
11523 | if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail; | |
27e45892 | 11524 | } |
5eb8189c | 11525 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 ); |
97ab0f6a | 11526 | if (!SWIG_IsOK(res7)) { |
5eb8189c | 11527 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11528 | } |
97ab0f6a | 11529 | if (!argp7) { |
5eb8189c | 11530 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'"); |
27e45892 | 11531 | } |
5eb8189c | 11532 | arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7); |
27e45892 RD |
11533 | { |
11534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
97ab0f6a | 11535 | (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7); |
27e45892 RD |
11536 | wxPyEndAllowThreads(__tstate); |
11537 | if (PyErr_Occurred()) SWIG_fail; | |
11538 | } | |
11539 | resultobj = SWIG_Py_Void(); | |
11540 | return resultobj; | |
11541 | fail: | |
11542 | return NULL; | |
11543 | } | |
11544 | ||
11545 | ||
5eb8189c | 11546 | SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11547 | PyObject *obj; |
11548 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11549 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11550 | return SWIG_Py_Void(); |
11551 | } | |
11552 | ||
5eb8189c | 11553 | SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11554 | PyObject *resultobj = 0; |
5eb8189c | 11555 | wxAuiDefaultDockArt *result = 0 ; |
27e45892 | 11556 | |
5eb8189c | 11557 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail; |
27e45892 RD |
11558 | { |
11559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11560 | result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt(); |
27e45892 RD |
11561 | wxPyEndAllowThreads(__tstate); |
11562 | if (PyErr_Occurred()) SWIG_fail; | |
11563 | } | |
5eb8189c | 11564 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11565 | return resultobj; |
11566 | fail: | |
11567 | return NULL; | |
11568 | } | |
11569 | ||
11570 | ||
5eb8189c | 11571 | SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11572 | PyObject *obj; |
11573 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11574 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj)); |
27e45892 RD |
11575 | return SWIG_Py_Void(); |
11576 | } | |
11577 | ||
5eb8189c | 11578 | SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11579 | return SWIG_Python_InitShadowInstance(args); |
11580 | } | |
11581 | ||
5eb8189c | 11582 | SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 RD |
11583 | PyObject *resultobj = 0; |
11584 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5eb8189c RD |
11585 | wxAuiManager *arg2 = (wxAuiManager *) 0 ; |
11586 | wxAuiPaneInfo *arg3 = 0 ; | |
27e45892 | 11587 | int arg4 = (int) wxID_ANY ; |
9b940138 | 11588 | long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ; |
5eb8189c | 11589 | wxAuiFloatingFrame *result = 0 ; |
27e45892 RD |
11590 | void *argp1 = 0 ; |
11591 | int res1 = 0 ; | |
11592 | void *argp2 = 0 ; | |
11593 | int res2 = 0 ; | |
11594 | void *argp3 = 0 ; | |
11595 | int res3 = 0 ; | |
11596 | int val4 ; | |
11597 | int ecode4 = 0 ; | |
9b940138 RD |
11598 | long val5 ; |
11599 | int ecode5 = 0 ; | |
27e45892 RD |
11600 | PyObject * obj0 = 0 ; |
11601 | PyObject * obj1 = 0 ; | |
11602 | PyObject * obj2 = 0 ; | |
11603 | PyObject * obj3 = 0 ; | |
9b940138 | 11604 | PyObject * obj4 = 0 ; |
27e45892 | 11605 | char * kwnames[] = { |
9b940138 | 11606 | (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL |
27e45892 RD |
11607 | }; |
11608 | ||
5eb8189c | 11609 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
27e45892 RD |
11610 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
11611 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 11612 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); |
27e45892 RD |
11613 | } |
11614 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5eb8189c | 11615 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 ); |
27e45892 | 11616 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11617 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'"); |
27e45892 | 11618 | } |
5eb8189c RD |
11619 | arg2 = reinterpret_cast< wxAuiManager * >(argp2); |
11620 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11621 | if (!SWIG_IsOK(res3)) { |
5eb8189c | 11622 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11623 | } |
11624 | if (!argp3) { | |
5eb8189c | 11625 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11626 | } |
5eb8189c | 11627 | arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); |
27e45892 RD |
11628 | if (obj3) { |
11629 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
11630 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 11631 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'"); |
27e45892 RD |
11632 | } |
11633 | arg4 = static_cast< int >(val4); | |
11634 | } | |
9b940138 RD |
11635 | if (obj4) { |
11636 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
11637 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 11638 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'"); |
9b940138 RD |
11639 | } |
11640 | arg5 = static_cast< long >(val5); | |
11641 | } | |
27e45892 RD |
11642 | { |
11643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11644 | result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5); |
27e45892 RD |
11645 | wxPyEndAllowThreads(__tstate); |
11646 | if (PyErr_Occurred()) SWIG_fail; | |
11647 | } | |
5eb8189c | 11648 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 ); |
27e45892 RD |
11649 | return resultobj; |
11650 | fail: | |
11651 | return NULL; | |
11652 | } | |
11653 | ||
11654 | ||
5eb8189c | 11655 | SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 | 11656 | PyObject *resultobj = 0; |
5eb8189c | 11657 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
27e45892 RD |
11658 | void *argp1 = 0 ; |
11659 | int res1 = 0 ; | |
11660 | PyObject *swig_obj[1] ; | |
11661 | ||
11662 | if (!args) SWIG_fail; | |
11663 | swig_obj[0] = args; | |
5eb8189c | 11664 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 ); |
27e45892 | 11665 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11667 | } |
5eb8189c | 11668 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
27e45892 RD |
11669 | { |
11670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11671 | delete arg1; | |
11672 | ||
11673 | wxPyEndAllowThreads(__tstate); | |
11674 | if (PyErr_Occurred()) SWIG_fail; | |
11675 | } | |
11676 | resultobj = SWIG_Py_Void(); | |
11677 | return resultobj; | |
11678 | fail: | |
11679 | return NULL; | |
11680 | } | |
11681 | ||
11682 | ||
5eb8189c | 11683 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
27e45892 | 11684 | PyObject *resultobj = 0; |
5eb8189c RD |
11685 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; |
11686 | wxAuiPaneInfo *arg2 = 0 ; | |
27e45892 RD |
11687 | void *argp1 = 0 ; |
11688 | int res1 = 0 ; | |
11689 | void *argp2 = 0 ; | |
11690 | int res2 = 0 ; | |
11691 | PyObject * obj0 = 0 ; | |
11692 | PyObject * obj1 = 0 ; | |
11693 | char * kwnames[] = { | |
11694 | (char *) "self",(char *) "pane", NULL | |
11695 | }; | |
11696 | ||
5eb8189c RD |
11697 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
11698 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
27e45892 | 11699 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 11700 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'"); |
27e45892 | 11701 | } |
5eb8189c RD |
11702 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); |
11703 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); | |
27e45892 | 11704 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 11705 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 RD |
11706 | } |
11707 | if (!argp2) { | |
5eb8189c | 11708 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'"); |
27e45892 | 11709 | } |
5eb8189c | 11710 | arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); |
27e45892 RD |
11711 | { |
11712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 11713 | (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2); |
27e45892 RD |
11714 | wxPyEndAllowThreads(__tstate); |
11715 | if (PyErr_Occurred()) SWIG_fail; | |
11716 | } | |
11717 | resultobj = SWIG_Py_Void(); | |
11718 | return resultobj; | |
11719 | fail: | |
11720 | return NULL; | |
11721 | } | |
11722 | ||
11723 | ||
eccab1a7 RD |
11724 | SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11725 | PyObject *resultobj = 0; | |
11726 | wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ; | |
11727 | wxAuiManager *result = 0 ; | |
11728 | void *argp1 = 0 ; | |
11729 | int res1 = 0 ; | |
11730 | PyObject *swig_obj[1] ; | |
11731 | ||
11732 | if (!args) SWIG_fail; | |
11733 | swig_obj[0] = args; | |
11734 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); | |
11735 | if (!SWIG_IsOK(res1)) { | |
11736 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'"); | |
11737 | } | |
11738 | arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1); | |
11739 | { | |
11740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11741 | result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager(); | |
11742 | wxPyEndAllowThreads(__tstate); | |
11743 | if (PyErr_Occurred()) SWIG_fail; | |
11744 | } | |
11745 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
11746 | return resultobj; | |
11747 | fail: | |
11748 | return NULL; | |
11749 | } | |
11750 | ||
11751 | ||
5eb8189c | 11752 | SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11753 | PyObject *obj; |
11754 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 11755 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj)); |
27e45892 RD |
11756 | return SWIG_Py_Void(); |
11757 | } | |
11758 | ||
5eb8189c | 11759 | SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
27e45892 RD |
11760 | return SWIG_Python_InitShadowInstance(args); |
11761 | } | |
11762 | ||
5172800e | 11763 | SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11764 | PyObject *resultobj = 0; |
5172800e RD |
11765 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; |
11766 | int arg2 = (int) 0 ; | |
11767 | wxAuiNotebookEvent *result = 0 ; | |
11768 | int val1 ; | |
11769 | int ecode1 = 0 ; | |
11770 | int val2 ; | |
11771 | int ecode2 = 0 ; | |
11772 | PyObject * obj0 = 0 ; | |
11773 | PyObject * obj1 = 0 ; | |
11774 | char * kwnames[] = { | |
11775 | (char *) "command_type",(char *) "win_id", NULL | |
11776 | }; | |
5c8c7dd3 | 11777 | |
5172800e RD |
11778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail; |
11779 | if (obj0) { | |
11780 | ecode1 = SWIG_AsVal_int(obj0, &val1); | |
11781 | if (!SWIG_IsOK(ecode1)) { | |
11782 | SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'"); | |
11783 | } | |
11784 | arg1 = static_cast< wxEventType >(val1); | |
11785 | } | |
11786 | if (obj1) { | |
11787 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11788 | if (!SWIG_IsOK(ecode2)) { | |
11789 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'"); | |
11790 | } | |
11791 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 | 11792 | } |
5c8c7dd3 RD |
11793 | { |
11794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11795 | result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2); |
5c8c7dd3 RD |
11796 | wxPyEndAllowThreads(__tstate); |
11797 | if (PyErr_Occurred()) SWIG_fail; | |
11798 | } | |
5172800e | 11799 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 ); |
5c8c7dd3 RD |
11800 | return resultobj; |
11801 | fail: | |
11802 | return NULL; | |
11803 | } | |
11804 | ||
11805 | ||
5172800e | 11806 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11807 | PyObject *resultobj = 0; |
5172800e RD |
11808 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11809 | int arg2 ; | |
8f514ab4 RD |
11810 | void *argp1 = 0 ; |
11811 | int res1 = 0 ; | |
5172800e RD |
11812 | int val2 ; |
11813 | int ecode2 = 0 ; | |
8f514ab4 RD |
11814 | PyObject * obj0 = 0 ; |
11815 | PyObject * obj1 = 0 ; | |
11816 | char * kwnames[] = { | |
5172800e | 11817 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11818 | }; |
11819 | ||
5172800e RD |
11820 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11821 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11822 | if (!SWIG_IsOK(res1)) { |
5172800e | 11823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11824 | } |
5172800e RD |
11825 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11826 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11827 | if (!SWIG_IsOK(ecode2)) { | |
11828 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'"); | |
11829 | } | |
11830 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11831 | { |
11832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11833 | (arg1)->SetSelection(arg2); |
8f514ab4 RD |
11834 | wxPyEndAllowThreads(__tstate); |
11835 | if (PyErr_Occurred()) SWIG_fail; | |
11836 | } | |
11837 | resultobj = SWIG_Py_Void(); | |
11838 | return resultobj; | |
11839 | fail: | |
11840 | return NULL; | |
11841 | } | |
11842 | ||
11843 | ||
5172800e | 11844 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 11845 | PyObject *resultobj = 0; |
5172800e RD |
11846 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11847 | int result; | |
8f514ab4 RD |
11848 | void *argp1 = 0 ; |
11849 | int res1 = 0 ; | |
5172800e | 11850 | PyObject *swig_obj[1] ; |
8f514ab4 | 11851 | |
5172800e RD |
11852 | if (!args) SWIG_fail; |
11853 | swig_obj[0] = args; | |
11854 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11855 | if (!SWIG_IsOK(res1)) { |
5172800e | 11856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11857 | } |
5172800e | 11858 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
8f514ab4 RD |
11859 | { |
11860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11861 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection(); |
8f514ab4 RD |
11862 | wxPyEndAllowThreads(__tstate); |
11863 | if (PyErr_Occurred()) SWIG_fail; | |
11864 | } | |
5172800e | 11865 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8f514ab4 RD |
11866 | return resultobj; |
11867 | fail: | |
11868 | return NULL; | |
11869 | } | |
11870 | ||
11871 | ||
5172800e | 11872 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 11873 | PyObject *resultobj = 0; |
5172800e RD |
11874 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11875 | int arg2 ; | |
8f514ab4 RD |
11876 | void *argp1 = 0 ; |
11877 | int res1 = 0 ; | |
5172800e RD |
11878 | int val2 ; |
11879 | int ecode2 = 0 ; | |
8f514ab4 RD |
11880 | PyObject * obj0 = 0 ; |
11881 | PyObject * obj1 = 0 ; | |
11882 | char * kwnames[] = { | |
5172800e | 11883 | (char *) "self",(char *) "s", NULL |
8f514ab4 RD |
11884 | }; |
11885 | ||
5172800e RD |
11886 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
11887 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
8f514ab4 | 11888 | if (!SWIG_IsOK(res1)) { |
5172800e | 11889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
8f514ab4 | 11890 | } |
5172800e RD |
11891 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11892 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11893 | if (!SWIG_IsOK(ecode2)) { | |
11894 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'"); | |
11895 | } | |
11896 | arg2 = static_cast< int >(val2); | |
8f514ab4 RD |
11897 | { |
11898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11899 | (arg1)->SetOldSelection(arg2); |
8f514ab4 RD |
11900 | wxPyEndAllowThreads(__tstate); |
11901 | if (PyErr_Occurred()) SWIG_fail; | |
11902 | } | |
11903 | resultobj = SWIG_Py_Void(); | |
11904 | return resultobj; | |
11905 | fail: | |
11906 | return NULL; | |
11907 | } | |
11908 | ||
11909 | ||
5172800e | 11910 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11911 | PyObject *resultobj = 0; |
5172800e RD |
11912 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11913 | int result; | |
5c8c7dd3 RD |
11914 | void *argp1 = 0 ; |
11915 | int res1 = 0 ; | |
5172800e | 11916 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11917 | |
5172800e RD |
11918 | if (!args) SWIG_fail; |
11919 | swig_obj[0] = args; | |
11920 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11921 | if (!SWIG_IsOK(res1)) { |
5172800e | 11922 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
5c8c7dd3 | 11923 | } |
5172800e | 11924 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11925 | { |
11926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11927 | result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection(); |
5c8c7dd3 RD |
11928 | wxPyEndAllowThreads(__tstate); |
11929 | if (PyErr_Occurred()) SWIG_fail; | |
11930 | } | |
5172800e | 11931 | resultobj = SWIG_From_int(static_cast< int >(result)); |
5c8c7dd3 RD |
11932 | return resultobj; |
11933 | fail: | |
11934 | return NULL; | |
11935 | } | |
11936 | ||
11937 | ||
5172800e | 11938 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 11939 | PyObject *resultobj = 0; |
5172800e RD |
11940 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11941 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
11942 | void *argp1 = 0 ; |
11943 | int res1 = 0 ; | |
11944 | void *argp2 = 0 ; | |
11945 | int res2 = 0 ; | |
5c8c7dd3 RD |
11946 | PyObject * obj0 = 0 ; |
11947 | PyObject * obj1 = 0 ; | |
5c8c7dd3 | 11948 | char * kwnames[] = { |
5172800e | 11949 | (char *) "self",(char *) "s", NULL |
5c8c7dd3 RD |
11950 | }; |
11951 | ||
5172800e RD |
11952 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail; |
11953 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11954 | if (!SWIG_IsOK(res1)) { |
5172800e | 11955 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 11956 | } |
5172800e RD |
11957 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
11958 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 11959 | if (!SWIG_IsOK(res2)) { |
5172800e | 11960 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
26c4d26f | 11961 | } |
5172800e | 11962 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
5c8c7dd3 RD |
11963 | { |
11964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11965 | (arg1)->SetDragSource(arg2); |
5c8c7dd3 RD |
11966 | wxPyEndAllowThreads(__tstate); |
11967 | if (PyErr_Occurred()) SWIG_fail; | |
11968 | } | |
11969 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
11970 | return resultobj; |
11971 | fail: | |
5c8c7dd3 RD |
11972 | return NULL; |
11973 | } | |
11974 | ||
11975 | ||
5172800e | 11976 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 11977 | PyObject *resultobj = 0; |
5172800e RD |
11978 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
11979 | wxAuiNotebook *result = 0 ; | |
5c8c7dd3 RD |
11980 | void *argp1 = 0 ; |
11981 | int res1 = 0 ; | |
5172800e | 11982 | PyObject *swig_obj[1] ; |
5c8c7dd3 | 11983 | |
5172800e RD |
11984 | if (!args) SWIG_fail; |
11985 | swig_obj[0] = args; | |
11986 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 11987 | if (!SWIG_IsOK(res1)) { |
5172800e | 11988 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'"); |
8f514ab4 | 11989 | } |
5172800e | 11990 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
5c8c7dd3 RD |
11991 | { |
11992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 11993 | result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource(); |
5c8c7dd3 RD |
11994 | wxPyEndAllowThreads(__tstate); |
11995 | if (PyErr_Occurred()) SWIG_fail; | |
11996 | } | |
5172800e | 11997 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 RD |
11998 | return resultobj; |
11999 | fail: | |
12000 | return NULL; | |
12001 | } | |
12002 | ||
12003 | ||
5172800e | 12004 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12005 | PyObject *resultobj = 0; |
5172800e RD |
12006 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12007 | int arg2 ; | |
5c8c7dd3 RD |
12008 | void *argp1 = 0 ; |
12009 | int res1 = 0 ; | |
5172800e RD |
12010 | int val2 ; |
12011 | int ecode2 = 0 ; | |
12012 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12013 | |
5172800e RD |
12014 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail; |
12015 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12016 | if (!SWIG_IsOK(res1)) { |
5172800e | 12017 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12018 | } |
5172800e RD |
12019 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12020 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12021 | if (!SWIG_IsOK(ecode2)) { | |
12022 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
26c4d26f | 12023 | } |
5172800e RD |
12024 | arg2 = static_cast< int >(val2); |
12025 | if (arg1) (arg1)->old_selection = arg2; | |
12026 | ||
12027 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12028 | return resultobj; |
12029 | fail: | |
12030 | return NULL; | |
12031 | } | |
12032 | ||
12033 | ||
5172800e | 12034 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12035 | PyObject *resultobj = 0; |
5172800e | 12036 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
d95b9f2b RD |
12037 | int result; |
12038 | void *argp1 = 0 ; | |
12039 | int res1 = 0 ; | |
5172800e | 12040 | PyObject *swig_obj[1] ; |
d95b9f2b | 12041 | |
5172800e RD |
12042 | if (!args) SWIG_fail; |
12043 | swig_obj[0] = args; | |
12044 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
d95b9f2b | 12045 | if (!SWIG_IsOK(res1)) { |
5172800e | 12046 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
d95b9f2b | 12047 | } |
5172800e RD |
12048 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12049 | result = (int) ((arg1)->old_selection); | |
12050 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
12051 | return resultobj; | |
12052 | fail: | |
12053 | return NULL; | |
12054 | } | |
12055 | ||
12056 | ||
12057 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12058 | PyObject *resultobj = 0; | |
12059 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12060 | int arg2 ; | |
12061 | void *argp1 = 0 ; | |
12062 | int res1 = 0 ; | |
12063 | int val2 ; | |
12064 | int ecode2 = 0 ; | |
12065 | PyObject *swig_obj[2] ; | |
12066 | ||
12067 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail; | |
12068 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12069 | if (!SWIG_IsOK(res1)) { | |
12070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12071 | } |
5172800e RD |
12072 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12073 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12074 | if (!SWIG_IsOK(ecode2)) { | |
12075 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'"); | |
d95b9f2b | 12076 | } |
5172800e RD |
12077 | arg2 = static_cast< int >(val2); |
12078 | if (arg1) (arg1)->selection = arg2; | |
12079 | ||
12080 | resultobj = SWIG_Py_Void(); | |
12081 | return resultobj; | |
12082 | fail: | |
12083 | return NULL; | |
12084 | } | |
12085 | ||
12086 | ||
12087 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12088 | PyObject *resultobj = 0; | |
12089 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; | |
12090 | int result; | |
12091 | void *argp1 = 0 ; | |
12092 | int res1 = 0 ; | |
12093 | PyObject *swig_obj[1] ; | |
12094 | ||
12095 | if (!args) SWIG_fail; | |
12096 | swig_obj[0] = args; | |
12097 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12098 | if (!SWIG_IsOK(res1)) { | |
12099 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
d95b9f2b | 12100 | } |
5172800e RD |
12101 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12102 | result = (int) ((arg1)->selection); | |
d95b9f2b | 12103 | resultobj = SWIG_From_int(static_cast< int >(result)); |
d95b9f2b RD |
12104 | return resultobj; |
12105 | fail: | |
d95b9f2b RD |
12106 | return NULL; |
12107 | } | |
12108 | ||
12109 | ||
5172800e | 12110 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12111 | PyObject *resultobj = 0; |
5172800e RD |
12112 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12113 | wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ; | |
5c8c7dd3 RD |
12114 | void *argp1 = 0 ; |
12115 | int res1 = 0 ; | |
12116 | void *argp2 = 0 ; | |
12117 | int res2 = 0 ; | |
5172800e | 12118 | PyObject *swig_obj[2] ; |
5c8c7dd3 | 12119 | |
5172800e RD |
12120 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail; |
12121 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
5c8c7dd3 | 12122 | if (!SWIG_IsOK(res1)) { |
5172800e | 12123 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); |
5c8c7dd3 | 12124 | } |
5172800e RD |
12125 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12126 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
5c8c7dd3 | 12127 | if (!SWIG_IsOK(res2)) { |
5172800e | 12128 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 12129 | } |
5172800e RD |
12130 | arg2 = reinterpret_cast< wxAuiNotebook * >(argp2); |
12131 | if (arg1) (arg1)->drag_source = arg2; | |
12132 | ||
12133 | resultobj = SWIG_Py_Void(); | |
5c8c7dd3 RD |
12134 | return resultobj; |
12135 | fail: | |
12136 | return NULL; | |
12137 | } | |
12138 | ||
12139 | ||
5172800e | 12140 | SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5c8c7dd3 | 12141 | PyObject *resultobj = 0; |
5172800e RD |
12142 | wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ; |
12143 | wxAuiNotebook *result = 0 ; | |
12144 | void *argp1 = 0 ; | |
12145 | int res1 = 0 ; | |
12146 | PyObject *swig_obj[1] ; | |
5c8c7dd3 | 12147 | |
5172800e RD |
12148 | if (!args) SWIG_fail; |
12149 | swig_obj[0] = args; | |
12150 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 ); | |
12151 | if (!SWIG_IsOK(res1)) { | |
12152 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'"); | |
5c8c7dd3 | 12153 | } |
5172800e RD |
12154 | arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1); |
12155 | result = (wxAuiNotebook *) ((arg1)->drag_source); | |
12156 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 RD |
12157 | return resultobj; |
12158 | fail: | |
12159 | return NULL; | |
12160 | } | |
12161 | ||
12162 | ||
5172800e RD |
12163 | SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12164 | PyObject *obj; | |
12165 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12166 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj)); | |
12167 | return SWIG_Py_Void(); | |
12168 | } | |
12169 | ||
12170 | SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12171 | return SWIG_Python_InitShadowInstance(args); | |
12172 | } | |
12173 | ||
12174 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5c8c7dd3 | 12175 | PyObject *resultobj = 0; |
5172800e RD |
12176 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12177 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5c8c7dd3 RD |
12178 | void *argp1 = 0 ; |
12179 | int res1 = 0 ; | |
5172800e RD |
12180 | void *argp2 = 0 ; |
12181 | int res2 = 0 ; | |
12182 | PyObject *swig_obj[2] ; | |
5c8c7dd3 | 12183 | |
5172800e RD |
12184 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail; |
12185 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
5c8c7dd3 | 12186 | if (!SWIG_IsOK(res1)) { |
5172800e | 12187 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
5c8c7dd3 | 12188 | } |
5172800e RD |
12189 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12190 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 ); | |
12191 | if (!SWIG_IsOK(res2)) { | |
12192 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5c8c7dd3 | 12193 | } |
5172800e RD |
12194 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
12195 | if (arg1) (arg1)->window = arg2; | |
12196 | ||
5c8c7dd3 RD |
12197 | resultobj = SWIG_Py_Void(); |
12198 | return resultobj; | |
12199 | fail: | |
12200 | return NULL; | |
12201 | } | |
12202 | ||
12203 | ||
5172800e | 12204 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12205 | PyObject *resultobj = 0; |
5172800e RD |
12206 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12207 | wxWindow *result = 0 ; | |
12208 | void *argp1 = 0 ; | |
12209 | int res1 = 0 ; | |
12210 | PyObject *swig_obj[1] ; | |
10044bf1 | 12211 | |
5172800e RD |
12212 | if (!args) SWIG_fail; |
12213 | swig_obj[0] = args; | |
12214 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
12215 | if (!SWIG_IsOK(res1)) { | |
12216 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); | |
10044bf1 | 12217 | } |
5172800e RD |
12218 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12219 | result = (wxWindow *) ((arg1)->window); | |
10044bf1 | 12220 | { |
5172800e | 12221 | resultobj = wxPyMake_wxObject(result, 0); |
10044bf1 | 12222 | } |
10044bf1 RD |
12223 | return resultobj; |
12224 | fail: | |
12225 | return NULL; | |
27e45892 RD |
12226 | } |
12227 | ||
10044bf1 | 12228 | |
5172800e | 12229 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12230 | PyObject *resultobj = 0; |
5172800e RD |
12231 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12232 | wxString *arg2 = (wxString *) 0 ; | |
10044bf1 RD |
12233 | void *argp1 = 0 ; |
12234 | int res1 = 0 ; | |
5172800e RD |
12235 | bool temp2 = false ; |
12236 | PyObject *swig_obj[2] ; | |
10044bf1 | 12237 | |
5172800e RD |
12238 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail; |
12239 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12240 | if (!SWIG_IsOK(res1)) { |
5172800e | 12241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12242 | } |
5172800e | 12243 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
10044bf1 | 12244 | { |
5172800e RD |
12245 | arg2 = wxString_in_helper(swig_obj[1]); |
12246 | if (arg2 == NULL) SWIG_fail; | |
12247 | temp2 = true; | |
10044bf1 | 12248 | } |
5172800e RD |
12249 | if (arg1) (arg1)->caption = *arg2; |
12250 | ||
10044bf1 | 12251 | resultobj = SWIG_Py_Void(); |
5172800e RD |
12252 | { |
12253 | if (temp2) | |
12254 | delete arg2; | |
12255 | } | |
10044bf1 RD |
12256 | return resultobj; |
12257 | fail: | |
5172800e RD |
12258 | { |
12259 | if (temp2) | |
12260 | delete arg2; | |
12261 | } | |
10044bf1 RD |
12262 | return NULL; |
12263 | } | |
12264 | ||
12265 | ||
5172800e | 12266 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12267 | PyObject *resultobj = 0; |
5172800e RD |
12268 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12269 | wxString *result = 0 ; | |
d95b9f2b RD |
12270 | void *argp1 = 0 ; |
12271 | int res1 = 0 ; | |
12272 | PyObject *swig_obj[1] ; | |
12273 | ||
12274 | if (!args) SWIG_fail; | |
12275 | swig_obj[0] = args; | |
5172800e | 12276 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
d95b9f2b | 12277 | if (!SWIG_IsOK(res1)) { |
5172800e | 12278 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12279 | } |
5172800e RD |
12280 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12281 | result = (wxString *)& ((arg1)->caption); | |
d95b9f2b | 12282 | { |
5172800e RD |
12283 | #if wxUSE_UNICODE |
12284 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
12285 | #else | |
12286 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
12287 | #endif | |
d95b9f2b | 12288 | } |
d95b9f2b RD |
12289 | return resultobj; |
12290 | fail: | |
12291 | return NULL; | |
12292 | } | |
12293 | ||
12294 | ||
5172800e | 12295 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12296 | PyObject *resultobj = 0; |
5172800e RD |
12297 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12298 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12299 | void *argp1 = 0 ; |
12300 | int res1 = 0 ; | |
5172800e RD |
12301 | void *argp2 = 0 ; |
12302 | int res2 = 0 ; | |
12303 | PyObject *swig_obj[2] ; | |
10044bf1 | 12304 | |
5172800e RD |
12305 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12306 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12307 | if (!SWIG_IsOK(res1)) { |
5172800e | 12308 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12309 | } |
5172800e RD |
12310 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12311 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12312 | if (!SWIG_IsOK(res2)) { | |
12313 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12314 | } |
5172800e RD |
12315 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12316 | if (arg1) (arg1)->bitmap = *arg2; | |
12317 | ||
10044bf1 RD |
12318 | resultobj = SWIG_Py_Void(); |
12319 | return resultobj; | |
12320 | fail: | |
12321 | return NULL; | |
12322 | } | |
12323 | ||
12324 | ||
5172800e | 12325 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12326 | PyObject *resultobj = 0; |
5172800e RD |
12327 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12328 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12329 | void *argp1 = 0 ; |
12330 | int res1 = 0 ; | |
12331 | PyObject *swig_obj[1] ; | |
12332 | ||
12333 | if (!args) SWIG_fail; | |
12334 | swig_obj[0] = args; | |
5172800e | 12335 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12336 | if (!SWIG_IsOK(res1)) { |
5172800e | 12337 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12338 | } |
5172800e RD |
12339 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12340 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12341 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12342 | return resultobj; |
12343 | fail: | |
12344 | return NULL; | |
12345 | } | |
12346 | ||
12347 | ||
5172800e | 12348 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12349 | PyObject *resultobj = 0; |
5172800e RD |
12350 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12351 | wxRect *arg2 = (wxRect *) 0 ; | |
d95b9f2b RD |
12352 | void *argp1 = 0 ; |
12353 | int res1 = 0 ; | |
12354 | void *argp2 = 0 ; | |
12355 | int res2 = 0 ; | |
5172800e | 12356 | PyObject *swig_obj[2] ; |
d95b9f2b | 12357 | |
5172800e RD |
12358 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail; |
12359 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
d95b9f2b | 12360 | if (!SWIG_IsOK(res1)) { |
5172800e | 12361 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
d95b9f2b | 12362 | } |
5172800e RD |
12363 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12364 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); | |
d95b9f2b | 12365 | if (!SWIG_IsOK(res2)) { |
5172800e | 12366 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
d95b9f2b | 12367 | } |
5172800e RD |
12368 | arg2 = reinterpret_cast< wxRect * >(argp2); |
12369 | if (arg1) (arg1)->rect = *arg2; | |
12370 | ||
d95b9f2b RD |
12371 | resultobj = SWIG_Py_Void(); |
12372 | return resultobj; | |
12373 | fail: | |
12374 | return NULL; | |
12375 | } | |
12376 | ||
12377 | ||
5172800e | 12378 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12379 | PyObject *resultobj = 0; |
5172800e RD |
12380 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12381 | wxRect *result = 0 ; | |
10044bf1 RD |
12382 | void *argp1 = 0 ; |
12383 | int res1 = 0 ; | |
12384 | PyObject *swig_obj[1] ; | |
12385 | ||
12386 | if (!args) SWIG_fail; | |
12387 | swig_obj[0] = args; | |
5172800e | 12388 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12389 | if (!SWIG_IsOK(res1)) { |
5172800e | 12390 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12391 | } |
5172800e RD |
12392 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12393 | result = (wxRect *)& ((arg1)->rect); | |
12394 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
10044bf1 RD |
12395 | return resultobj; |
12396 | fail: | |
12397 | return NULL; | |
12398 | } | |
12399 | ||
12400 | ||
5172800e | 12401 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12402 | PyObject *resultobj = 0; |
5172800e RD |
12403 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12404 | bool arg2 ; | |
10044bf1 RD |
12405 | void *argp1 = 0 ; |
12406 | int res1 = 0 ; | |
5172800e | 12407 | bool val2 ; |
10044bf1 RD |
12408 | int ecode2 = 0 ; |
12409 | PyObject *swig_obj[2] ; | |
12410 | ||
5172800e RD |
12411 | if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail; |
12412 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
10044bf1 | 12413 | if (!SWIG_IsOK(res1)) { |
5172800e | 12414 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
10044bf1 | 12415 | } |
5172800e RD |
12416 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); |
12417 | ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); | |
10044bf1 | 12418 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12419 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'"); |
10044bf1 | 12420 | } |
5172800e RD |
12421 | arg2 = static_cast< bool >(val2); |
12422 | if (arg1) (arg1)->active = arg2; | |
10044bf1 RD |
12423 | |
12424 | resultobj = SWIG_Py_Void(); | |
12425 | return resultobj; | |
12426 | fail: | |
12427 | return NULL; | |
12428 | } | |
12429 | ||
12430 | ||
5172800e | 12431 | SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12432 | PyObject *resultobj = 0; |
5172800e RD |
12433 | wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ; |
12434 | bool result; | |
10044bf1 RD |
12435 | void *argp1 = 0 ; |
12436 | int res1 = 0 ; | |
12437 | PyObject *swig_obj[1] ; | |
12438 | ||
12439 | if (!args) SWIG_fail; | |
12440 | swig_obj[0] = args; | |
5172800e | 12441 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); |
10044bf1 | 12442 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
12443 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'"); |
12444 | } | |
12445 | arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1); | |
12446 | result = (bool) ((arg1)->active); | |
12447 | { | |
12448 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 12449 | } |
10044bf1 RD |
12450 | return resultobj; |
12451 | fail: | |
12452 | return NULL; | |
12453 | } | |
12454 | ||
12455 | ||
5172800e RD |
12456 | SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12457 | PyObject *obj; | |
12458 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12459 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj)); | |
12460 | return SWIG_Py_Void(); | |
12461 | } | |
12462 | ||
12463 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12464 | PyObject *resultobj = 0; |
5172800e | 12465 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12466 | int arg2 ; |
12467 | void *argp1 = 0 ; | |
12468 | int res1 = 0 ; | |
12469 | int val2 ; | |
12470 | int ecode2 = 0 ; | |
12471 | PyObject *swig_obj[2] ; | |
12472 | ||
5172800e RD |
12473 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail; |
12474 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12475 | if (!SWIG_IsOK(res1)) { |
5172800e | 12476 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12477 | } |
5172800e | 12478 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12479 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); |
12480 | if (!SWIG_IsOK(ecode2)) { | |
5172800e | 12481 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
12482 | } |
12483 | arg2 = static_cast< int >(val2); | |
5172800e | 12484 | if (arg1) (arg1)->id = arg2; |
10044bf1 RD |
12485 | |
12486 | resultobj = SWIG_Py_Void(); | |
12487 | return resultobj; | |
12488 | fail: | |
12489 | return NULL; | |
12490 | } | |
12491 | ||
12492 | ||
5172800e | 12493 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12494 | PyObject *resultobj = 0; |
5172800e | 12495 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12496 | int result; |
12497 | void *argp1 = 0 ; | |
12498 | int res1 = 0 ; | |
12499 | PyObject *swig_obj[1] ; | |
12500 | ||
12501 | if (!args) SWIG_fail; | |
12502 | swig_obj[0] = args; | |
5172800e | 12503 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12504 | if (!SWIG_IsOK(res1)) { |
5172800e | 12505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12506 | } |
5172800e RD |
12507 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12508 | result = (int) ((arg1)->id); | |
10044bf1 RD |
12509 | resultobj = SWIG_From_int(static_cast< int >(result)); |
12510 | return resultobj; | |
12511 | fail: | |
12512 | return NULL; | |
12513 | } | |
12514 | ||
12515 | ||
5172800e | 12516 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12517 | PyObject *resultobj = 0; |
5172800e RD |
12518 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12519 | int arg2 ; | |
d95b9f2b RD |
12520 | void *argp1 = 0 ; |
12521 | int res1 = 0 ; | |
5172800e RD |
12522 | int val2 ; |
12523 | int ecode2 = 0 ; | |
d95b9f2b RD |
12524 | PyObject *swig_obj[2] ; |
12525 | ||
5172800e RD |
12526 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail; |
12527 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
d95b9f2b | 12528 | if (!SWIG_IsOK(res1)) { |
5172800e | 12529 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12530 | } |
5172800e RD |
12531 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12532 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12533 | if (!SWIG_IsOK(ecode2)) { | |
12534 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'"); | |
12535 | } | |
12536 | arg2 = static_cast< int >(val2); | |
12537 | if (arg1) (arg1)->cur_state = arg2; | |
d95b9f2b RD |
12538 | |
12539 | resultobj = SWIG_Py_Void(); | |
12540 | return resultobj; | |
12541 | fail: | |
12542 | return NULL; | |
12543 | } | |
12544 | ||
12545 | ||
5172800e | 12546 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
d95b9f2b | 12547 | PyObject *resultobj = 0; |
5172800e RD |
12548 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12549 | int result; | |
d95b9f2b RD |
12550 | void *argp1 = 0 ; |
12551 | int res1 = 0 ; | |
12552 | PyObject *swig_obj[1] ; | |
12553 | ||
12554 | if (!args) SWIG_fail; | |
12555 | swig_obj[0] = args; | |
5172800e | 12556 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
d95b9f2b | 12557 | if (!SWIG_IsOK(res1)) { |
5172800e | 12558 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
d95b9f2b | 12559 | } |
5172800e RD |
12560 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12561 | result = (int) ((arg1)->cur_state); | |
12562 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
d95b9f2b RD |
12563 | return resultobj; |
12564 | fail: | |
12565 | return NULL; | |
12566 | } | |
12567 | ||
12568 | ||
5172800e | 12569 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12570 | PyObject *resultobj = 0; |
5172800e RD |
12571 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12572 | int arg2 ; | |
10044bf1 RD |
12573 | void *argp1 = 0 ; |
12574 | int res1 = 0 ; | |
5172800e RD |
12575 | int val2 ; |
12576 | int ecode2 = 0 ; | |
10044bf1 RD |
12577 | PyObject *swig_obj[2] ; |
12578 | ||
5172800e RD |
12579 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail; |
12580 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12581 | if (!SWIG_IsOK(res1)) { |
5172800e | 12582 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12583 | } |
5172800e RD |
12584 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12585 | ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); | |
12586 | if (!SWIG_IsOK(ecode2)) { | |
12587 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'"); | |
12588 | } | |
12589 | arg2 = static_cast< int >(val2); | |
12590 | if (arg1) (arg1)->location = arg2; | |
10044bf1 RD |
12591 | |
12592 | resultobj = SWIG_Py_Void(); | |
12593 | return resultobj; | |
12594 | fail: | |
12595 | return NULL; | |
12596 | } | |
12597 | ||
12598 | ||
5172800e | 12599 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12600 | PyObject *resultobj = 0; |
5172800e RD |
12601 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12602 | int result; | |
10044bf1 RD |
12603 | void *argp1 = 0 ; |
12604 | int res1 = 0 ; | |
12605 | PyObject *swig_obj[1] ; | |
12606 | ||
12607 | if (!args) SWIG_fail; | |
12608 | swig_obj[0] = args; | |
5172800e | 12609 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12610 | if (!SWIG_IsOK(res1)) { |
5172800e | 12611 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12612 | } |
5172800e RD |
12613 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12614 | result = (int) ((arg1)->location); | |
12615 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
12616 | return resultobj; |
12617 | fail: | |
12618 | return NULL; | |
12619 | } | |
12620 | ||
12621 | ||
5172800e | 12622 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12623 | PyObject *resultobj = 0; |
5172800e RD |
12624 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12625 | wxBitmap *arg2 = (wxBitmap *) 0 ; | |
10044bf1 RD |
12626 | void *argp1 = 0 ; |
12627 | int res1 = 0 ; | |
5172800e RD |
12628 | void *argp2 = 0 ; |
12629 | int res2 = 0 ; | |
10044bf1 RD |
12630 | PyObject *swig_obj[2] ; |
12631 | ||
5172800e RD |
12632 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12633 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12634 | if (!SWIG_IsOK(res1)) { |
5172800e | 12635 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12636 | } |
5172800e RD |
12637 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12638 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
12639 | if (!SWIG_IsOK(res2)) { | |
12640 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); | |
10044bf1 | 12641 | } |
5172800e RD |
12642 | arg2 = reinterpret_cast< wxBitmap * >(argp2); |
12643 | if (arg1) (arg1)->bitmap = *arg2; | |
10044bf1 RD |
12644 | |
12645 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
12646 | return resultobj; |
12647 | fail: | |
10044bf1 RD |
12648 | return NULL; |
12649 | } | |
12650 | ||
12651 | ||
5172800e | 12652 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12653 | PyObject *resultobj = 0; |
5172800e RD |
12654 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
12655 | wxBitmap *result = 0 ; | |
10044bf1 RD |
12656 | void *argp1 = 0 ; |
12657 | int res1 = 0 ; | |
12658 | PyObject *swig_obj[1] ; | |
12659 | ||
12660 | if (!args) SWIG_fail; | |
12661 | swig_obj[0] = args; | |
5172800e RD |
12662 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
12663 | if (!SWIG_IsOK(res1)) { | |
12664 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); | |
10044bf1 | 12665 | } |
5172800e RD |
12666 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12667 | result = (wxBitmap *)& ((arg1)->bitmap); | |
12668 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); | |
10044bf1 RD |
12669 | return resultobj; |
12670 | fail: | |
12671 | return NULL; | |
12672 | } | |
12673 | ||
12674 | ||
5172800e | 12675 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12676 | PyObject *resultobj = 0; |
5172800e | 12677 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12678 | wxBitmap *arg2 = (wxBitmap *) 0 ; |
12679 | void *argp1 = 0 ; | |
12680 | int res1 = 0 ; | |
12681 | void *argp2 = 0 ; | |
12682 | int res2 = 0 ; | |
12683 | PyObject *swig_obj[2] ; | |
12684 | ||
5172800e RD |
12685 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail; |
12686 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12687 | if (!SWIG_IsOK(res1)) { |
5172800e | 12688 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12689 | } |
5172800e | 12690 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12691 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12692 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12693 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'"); |
10044bf1 RD |
12694 | } |
12695 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
5172800e | 12696 | if (arg1) (arg1)->dis_bitmap = *arg2; |
10044bf1 RD |
12697 | |
12698 | resultobj = SWIG_Py_Void(); | |
12699 | return resultobj; | |
12700 | fail: | |
12701 | return NULL; | |
12702 | } | |
12703 | ||
12704 | ||
5172800e | 12705 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12706 | PyObject *resultobj = 0; |
5172800e | 12707 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12708 | wxBitmap *result = 0 ; |
12709 | void *argp1 = 0 ; | |
12710 | int res1 = 0 ; | |
12711 | PyObject *swig_obj[1] ; | |
12712 | ||
12713 | if (!args) SWIG_fail; | |
12714 | swig_obj[0] = args; | |
5172800e | 12715 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12716 | if (!SWIG_IsOK(res1)) { |
5172800e | 12717 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12718 | } |
5172800e RD |
12719 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
12720 | result = (wxBitmap *)& ((arg1)->dis_bitmap); | |
10044bf1 RD |
12721 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 ); |
12722 | return resultobj; | |
12723 | fail: | |
12724 | return NULL; | |
12725 | } | |
12726 | ||
12727 | ||
5172800e | 12728 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12729 | PyObject *resultobj = 0; |
5172800e | 12730 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12731 | wxRect *arg2 = (wxRect *) 0 ; |
12732 | void *argp1 = 0 ; | |
12733 | int res1 = 0 ; | |
12734 | void *argp2 = 0 ; | |
12735 | int res2 = 0 ; | |
12736 | PyObject *swig_obj[2] ; | |
12737 | ||
5172800e RD |
12738 | if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail; |
12739 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); | |
10044bf1 | 12740 | if (!SWIG_IsOK(res1)) { |
5172800e | 12741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12742 | } |
5172800e | 12743 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12744 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 ); |
12745 | if (!SWIG_IsOK(res2)) { | |
5172800e | 12746 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'"); |
10044bf1 RD |
12747 | } |
12748 | arg2 = reinterpret_cast< wxRect * >(argp2); | |
12749 | if (arg1) (arg1)->rect = *arg2; | |
12750 | ||
12751 | resultobj = SWIG_Py_Void(); | |
12752 | return resultobj; | |
12753 | fail: | |
12754 | return NULL; | |
12755 | } | |
12756 | ||
12757 | ||
5172800e | 12758 | SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 12759 | PyObject *resultobj = 0; |
5172800e | 12760 | wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ; |
10044bf1 RD |
12761 | wxRect *result = 0 ; |
12762 | void *argp1 = 0 ; | |
12763 | int res1 = 0 ; | |
12764 | PyObject *swig_obj[1] ; | |
12765 | ||
12766 | if (!args) SWIG_fail; | |
12767 | swig_obj[0] = args; | |
5172800e | 12768 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 ); |
10044bf1 | 12769 | if (!SWIG_IsOK(res1)) { |
5172800e | 12770 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'"); |
10044bf1 | 12771 | } |
5172800e | 12772 | arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1); |
10044bf1 RD |
12773 | result = (wxRect *)& ((arg1)->rect); |
12774 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 ); | |
12775 | return resultobj; | |
12776 | fail: | |
12777 | return NULL; | |
12778 | } | |
12779 | ||
12780 | ||
5172800e RD |
12781 | SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
12782 | PyObject *obj; | |
12783 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
12784 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj)); | |
12785 | return SWIG_Py_Void(); | |
12786 | } | |
12787 | ||
12788 | SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 12789 | PyObject *resultobj = 0; |
5172800e | 12790 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
10044bf1 RD |
12791 | void *argp1 = 0 ; |
12792 | int res1 = 0 ; | |
5172800e RD |
12793 | PyObject *swig_obj[1] ; |
12794 | ||
12795 | if (!args) SWIG_fail; | |
12796 | swig_obj[0] = args; | |
12797 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 ); | |
12798 | if (!SWIG_IsOK(res1)) { | |
12799 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12800 | } | |
12801 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12802 | { | |
12803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12804 | delete arg1; | |
12805 | ||
12806 | wxPyEndAllowThreads(__tstate); | |
12807 | if (PyErr_Occurred()) SWIG_fail; | |
12808 | } | |
12809 | resultobj = SWIG_Py_Void(); | |
12810 | return resultobj; | |
12811 | fail: | |
12812 | return NULL; | |
12813 | } | |
12814 | ||
12815 | ||
12816 | SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
12817 | PyObject *resultobj = 0; | |
12818 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12819 | wxAuiTabArt *result = 0 ; | |
12820 | void *argp1 = 0 ; | |
12821 | int res1 = 0 ; | |
12822 | PyObject *swig_obj[1] ; | |
12823 | ||
12824 | if (!args) SWIG_fail; | |
12825 | swig_obj[0] = args; | |
12826 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12827 | if (!SWIG_IsOK(res1)) { | |
12828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12829 | } | |
12830 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12831 | { | |
12832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12833 | result = (wxAuiTabArt *)(arg1)->Clone(); | |
12834 | wxPyEndAllowThreads(__tstate); | |
12835 | if (PyErr_Occurred()) SWIG_fail; | |
12836 | } | |
12837 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12838 | return resultobj; | |
12839 | fail: | |
12840 | return NULL; | |
12841 | } | |
12842 | ||
12843 | ||
12844 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12845 | PyObject *resultobj = 0; | |
12846 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12847 | int arg2 ; | |
12848 | void *argp1 = 0 ; | |
12849 | int res1 = 0 ; | |
12850 | int val2 ; | |
10044bf1 | 12851 | int ecode2 = 0 ; |
5172800e RD |
12852 | PyObject * obj0 = 0 ; |
12853 | PyObject * obj1 = 0 ; | |
12854 | char * kwnames[] = { | |
12855 | (char *) "self",(char *) "flags", NULL | |
12856 | }; | |
10044bf1 | 12857 | |
5172800e RD |
12858 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; |
12859 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12860 | if (!SWIG_IsOK(res1)) { |
5172800e | 12861 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12862 | } |
5172800e RD |
12863 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12864 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10044bf1 | 12865 | if (!SWIG_IsOK(ecode2)) { |
5172800e | 12866 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 | 12867 | } |
5172800e RD |
12868 | arg2 = static_cast< int >(val2); |
12869 | { | |
12870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12871 | (arg1)->SetFlags(arg2); | |
12872 | wxPyEndAllowThreads(__tstate); | |
12873 | if (PyErr_Occurred()) SWIG_fail; | |
12874 | } | |
12875 | resultobj = SWIG_Py_Void(); | |
12876 | return resultobj; | |
12877 | fail: | |
12878 | return NULL; | |
12879 | } | |
12880 | ||
12881 | ||
12882 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12883 | PyObject *resultobj = 0; | |
12884 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12885 | wxSize *arg2 = 0 ; | |
12886 | size_t arg3 ; | |
12887 | void *argp1 = 0 ; | |
12888 | int res1 = 0 ; | |
12889 | wxSize temp2 ; | |
12890 | size_t val3 ; | |
12891 | int ecode3 = 0 ; | |
12892 | PyObject * obj0 = 0 ; | |
12893 | PyObject * obj1 = 0 ; | |
12894 | PyObject * obj2 = 0 ; | |
12895 | char * kwnames[] = { | |
12896 | (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL | |
12897 | }; | |
10044bf1 | 12898 | |
5172800e RD |
12899 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
12900 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12901 | if (!SWIG_IsOK(res1)) { | |
12902 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12903 | } | |
12904 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12905 | { | |
12906 | arg2 = &temp2; | |
12907 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
12908 | } | |
12909 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
12910 | if (!SWIG_IsOK(ecode3)) { | |
12911 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'"); | |
12912 | } | |
12913 | arg3 = static_cast< size_t >(val3); | |
12914 | { | |
12915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12916 | (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3); | |
12917 | wxPyEndAllowThreads(__tstate); | |
12918 | if (PyErr_Occurred()) SWIG_fail; | |
12919 | } | |
10044bf1 RD |
12920 | resultobj = SWIG_Py_Void(); |
12921 | return resultobj; | |
12922 | fail: | |
12923 | return NULL; | |
12924 | } | |
12925 | ||
12926 | ||
5172800e | 12927 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 12928 | PyObject *resultobj = 0; |
5172800e RD |
12929 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
12930 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
12931 | void *argp1 = 0 ; |
12932 | int res1 = 0 ; | |
5172800e RD |
12933 | void *argp2 = 0 ; |
12934 | int res2 = 0 ; | |
12935 | PyObject * obj0 = 0 ; | |
12936 | PyObject * obj1 = 0 ; | |
12937 | char * kwnames[] = { | |
12938 | (char *) "self",(char *) "font", NULL | |
12939 | }; | |
10044bf1 | 12940 | |
5172800e RD |
12941 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; |
12942 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 12943 | if (!SWIG_IsOK(res1)) { |
5172800e | 12944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 12945 | } |
5172800e RD |
12946 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
12947 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12948 | if (!SWIG_IsOK(res2)) { | |
12949 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12950 | } | |
12951 | if (!argp2) { | |
12952 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12953 | } | |
12954 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
12955 | { | |
12956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12957 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
12958 | wxPyEndAllowThreads(__tstate); | |
12959 | if (PyErr_Occurred()) SWIG_fail; | |
12960 | } | |
12961 | resultobj = SWIG_Py_Void(); | |
12962 | return resultobj; | |
12963 | fail: | |
12964 | return NULL; | |
12965 | } | |
12966 | ||
12967 | ||
12968 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
12969 | PyObject *resultobj = 0; | |
12970 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
12971 | wxFont *arg2 = 0 ; | |
12972 | void *argp1 = 0 ; | |
12973 | int res1 = 0 ; | |
12974 | void *argp2 = 0 ; | |
12975 | int res2 = 0 ; | |
12976 | PyObject * obj0 = 0 ; | |
12977 | PyObject * obj1 = 0 ; | |
12978 | char * kwnames[] = { | |
12979 | (char *) "self",(char *) "font", NULL | |
12980 | }; | |
12981 | ||
12982 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
12983 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
12984 | if (!SWIG_IsOK(res1)) { | |
12985 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
12986 | } | |
12987 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
12988 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
12989 | if (!SWIG_IsOK(res2)) { | |
12990 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12991 | } | |
12992 | if (!argp2) { | |
12993 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
12994 | } | |
12995 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
10044bf1 | 12996 | { |
5172800e RD |
12997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12998 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
12999 | wxPyEndAllowThreads(__tstate); | |
13000 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13001 | } |
5172800e | 13002 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
13003 | return resultobj; |
13004 | fail: | |
13005 | return NULL; | |
13006 | } | |
13007 | ||
13008 | ||
5172800e | 13009 | SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13010 | PyObject *resultobj = 0; |
5172800e RD |
13011 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13012 | wxFont *arg2 = 0 ; | |
10044bf1 RD |
13013 | void *argp1 = 0 ; |
13014 | int res1 = 0 ; | |
5172800e RD |
13015 | void *argp2 = 0 ; |
13016 | int res2 = 0 ; | |
13017 | PyObject * obj0 = 0 ; | |
13018 | PyObject * obj1 = 0 ; | |
13019 | char * kwnames[] = { | |
13020 | (char *) "self",(char *) "font", NULL | |
13021 | }; | |
10044bf1 | 13022 | |
5172800e RD |
13023 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; |
13024 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13025 | if (!SWIG_IsOK(res1)) { |
5172800e RD |
13026 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
13027 | } | |
13028 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13029 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
13030 | if (!SWIG_IsOK(res2)) { | |
13031 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13032 | } | |
13033 | if (!argp2) { | |
13034 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
13035 | } | |
13036 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
13037 | { | |
13038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13039 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
13040 | wxPyEndAllowThreads(__tstate); | |
13041 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13042 | } |
10044bf1 RD |
13043 | resultobj = SWIG_Py_Void(); |
13044 | return resultobj; | |
13045 | fail: | |
13046 | return NULL; | |
13047 | } | |
13048 | ||
13049 | ||
5172800e | 13050 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13051 | PyObject *resultobj = 0; |
5172800e RD |
13052 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13053 | wxDC *arg2 = 0 ; | |
13054 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13055 | wxRect *arg4 = 0 ; | |
10044bf1 RD |
13056 | void *argp1 = 0 ; |
13057 | int res1 = 0 ; | |
5172800e RD |
13058 | void *argp2 = 0 ; |
13059 | int res2 = 0 ; | |
13060 | void *argp3 = 0 ; | |
13061 | int res3 = 0 ; | |
13062 | wxRect temp4 ; | |
13063 | PyObject * obj0 = 0 ; | |
13064 | PyObject * obj1 = 0 ; | |
13065 | PyObject * obj2 = 0 ; | |
13066 | PyObject * obj3 = 0 ; | |
13067 | char * kwnames[] = { | |
13068 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL | |
13069 | }; | |
10044bf1 | 13070 | |
5172800e RD |
13071 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
13072 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13073 | if (!SWIG_IsOK(res1)) { |
5172800e | 13074 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13075 | } |
5172800e RD |
13076 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13077 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13078 | if (!SWIG_IsOK(res2)) { | |
13079 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13080 | } | |
13081 | if (!argp2) { | |
13082 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13083 | } | |
13084 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13085 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13086 | if (!SWIG_IsOK(res3)) { | |
13087 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13088 | } | |
13089 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13090 | { | |
13091 | arg4 = &temp4; | |
13092 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13093 | } | |
13094 | { | |
13095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13096 | (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4); | |
13097 | wxPyEndAllowThreads(__tstate); | |
13098 | if (PyErr_Occurred()) SWIG_fail; | |
13099 | } | |
13100 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13101 | return resultobj; |
13102 | fail: | |
13103 | return NULL; | |
13104 | } | |
13105 | ||
13106 | ||
5172800e | 13107 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13108 | PyObject *resultobj = 0; |
5172800e RD |
13109 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13110 | wxDC *arg2 = 0 ; | |
13111 | wxWindow *arg3 = (wxWindow *) 0 ; | |
d754c85e RD |
13112 | wxAuiNotebookPage *arg4 = 0 ; |
13113 | wxRect *arg5 = 0 ; | |
13114 | int arg6 ; | |
13115 | wxRect *arg7 = (wxRect *) 0 ; | |
13116 | wxRect *arg8 = (wxRect *) 0 ; | |
13117 | int *arg9 = (int *) 0 ; | |
10044bf1 RD |
13118 | void *argp1 = 0 ; |
13119 | int res1 = 0 ; | |
5172800e RD |
13120 | void *argp2 = 0 ; |
13121 | int res2 = 0 ; | |
13122 | void *argp3 = 0 ; | |
13123 | int res3 = 0 ; | |
d754c85e RD |
13124 | void *argp4 = 0 ; |
13125 | int res4 = 0 ; | |
13126 | wxRect temp5 ; | |
13127 | int val6 ; | |
13128 | int ecode6 = 0 ; | |
13129 | void *argp7 = 0 ; | |
13130 | int res7 = 0 ; | |
13131 | void *argp8 = 0 ; | |
13132 | int res8 = 0 ; | |
5172800e RD |
13133 | void *argp9 = 0 ; |
13134 | int res9 = 0 ; | |
5172800e RD |
13135 | PyObject * obj0 = 0 ; |
13136 | PyObject * obj1 = 0 ; | |
13137 | PyObject * obj2 = 0 ; | |
13138 | PyObject * obj3 = 0 ; | |
13139 | PyObject * obj4 = 0 ; | |
13140 | PyObject * obj5 = 0 ; | |
13141 | PyObject * obj6 = 0 ; | |
13142 | PyObject * obj7 = 0 ; | |
13143 | PyObject * obj8 = 0 ; | |
5172800e | 13144 | char * kwnames[] = { |
d754c85e | 13145 | (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 | 13146 | }; |
10044bf1 | 13147 | |
d754c85e | 13148 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; |
5172800e | 13149 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13150 | if (!SWIG_IsOK(res1)) { |
5172800e | 13151 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13152 | } |
5172800e RD |
13153 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13154 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13155 | if (!SWIG_IsOK(res2)) { | |
13156 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13157 | } | |
13158 | if (!argp2) { | |
13159 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13160 | } | |
13161 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13162 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13163 | if (!SWIG_IsOK(res3)) { | |
13164 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13165 | } | |
13166 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
d754c85e RD |
13167 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); |
13168 | if (!SWIG_IsOK(res4)) { | |
13169 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13170 | } |
d754c85e RD |
13171 | if (!argp4) { |
13172 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); | |
5172800e | 13173 | } |
d754c85e RD |
13174 | arg4 = reinterpret_cast< wxAuiNotebookPage * >(argp4); |
13175 | { | |
13176 | arg5 = &temp5; | |
13177 | if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; | |
5172800e | 13178 | } |
d754c85e RD |
13179 | ecode6 = SWIG_AsVal_int(obj5, &val6); |
13180 | if (!SWIG_IsOK(ecode6)) { | |
13181 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); | |
5172800e | 13182 | } |
d754c85e RD |
13183 | arg6 = static_cast< int >(val6); |
13184 | res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13185 | if (!SWIG_IsOK(res7)) { | |
13186 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); | |
5172800e | 13187 | } |
d754c85e RD |
13188 | arg7 = reinterpret_cast< wxRect * >(argp7); |
13189 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); | |
13190 | if (!SWIG_IsOK(res8)) { | |
13191 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); | |
5172800e | 13192 | } |
d754c85e RD |
13193 | arg8 = reinterpret_cast< wxRect * >(argp8); |
13194 | res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); | |
13195 | if (!SWIG_IsOK(res9)) { | |
13196 | SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); | |
5172800e | 13197 | } |
d754c85e | 13198 | arg9 = reinterpret_cast< int * >(argp9); |
5172800e RD |
13199 | { |
13200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13201 | (arg1)->DrawTab(*arg2,arg3,(wxAuiNotebookPage const &)*arg4,(wxRect const &)*arg5,arg6,arg7,arg8,arg9); |
5172800e RD |
13202 | wxPyEndAllowThreads(__tstate); |
13203 | if (PyErr_Occurred()) SWIG_fail; | |
13204 | } | |
10044bf1 RD |
13205 | resultobj = SWIG_Py_Void(); |
13206 | return resultobj; | |
13207 | fail: | |
13208 | return NULL; | |
13209 | } | |
13210 | ||
13211 | ||
5172800e | 13212 | SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13213 | PyObject *resultobj = 0; |
5172800e RD |
13214 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13215 | wxDC *arg2 = 0 ; | |
13216 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13217 | wxRect *arg4 = 0 ; | |
13218 | int arg5 ; | |
13219 | int arg6 ; | |
13220 | int arg7 ; | |
d754c85e | 13221 | wxRect *arg8 = (wxRect *) 0 ; |
10044bf1 RD |
13222 | void *argp1 = 0 ; |
13223 | int res1 = 0 ; | |
5172800e RD |
13224 | void *argp2 = 0 ; |
13225 | int res2 = 0 ; | |
13226 | void *argp3 = 0 ; | |
13227 | int res3 = 0 ; | |
13228 | wxRect temp4 ; | |
13229 | int val5 ; | |
13230 | int ecode5 = 0 ; | |
13231 | int val6 ; | |
13232 | int ecode6 = 0 ; | |
13233 | int val7 ; | |
13234 | int ecode7 = 0 ; | |
13235 | void *argp8 = 0 ; | |
13236 | int res8 = 0 ; | |
5172800e RD |
13237 | PyObject * obj0 = 0 ; |
13238 | PyObject * obj1 = 0 ; | |
13239 | PyObject * obj2 = 0 ; | |
13240 | PyObject * obj3 = 0 ; | |
13241 | PyObject * obj4 = 0 ; | |
13242 | PyObject * obj5 = 0 ; | |
13243 | PyObject * obj6 = 0 ; | |
13244 | PyObject * obj7 = 0 ; | |
5172800e | 13245 | char * kwnames[] = { |
d754c85e | 13246 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "out_rect", NULL |
5172800e | 13247 | }; |
10044bf1 | 13248 | |
d754c85e | 13249 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
5172800e | 13250 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13251 | if (!SWIG_IsOK(res1)) { |
5172800e | 13252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13253 | } |
5172800e RD |
13254 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13255 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
13256 | if (!SWIG_IsOK(res2)) { | |
13257 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
5c8c7dd3 | 13258 | } |
5172800e RD |
13259 | if (!argp2) { |
13260 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13261 | } | |
13262 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13263 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13264 | if (!SWIG_IsOK(res3)) { | |
13265 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13266 | } | |
13267 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13268 | { | |
13269 | arg4 = &temp4; | |
13270 | if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; | |
13271 | } | |
13272 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
13273 | if (!SWIG_IsOK(ecode5)) { | |
13274 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'"); | |
5c8c7dd3 | 13275 | } |
5172800e RD |
13276 | arg5 = static_cast< int >(val5); |
13277 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
13278 | if (!SWIG_IsOK(ecode6)) { | |
13279 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'"); | |
13280 | } | |
13281 | arg6 = static_cast< int >(val6); | |
13282 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13283 | if (!SWIG_IsOK(ecode7)) { | |
13284 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); | |
13285 | } | |
13286 | arg7 = static_cast< int >(val7); | |
d754c85e | 13287 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); |
5172800e | 13288 | if (!SWIG_IsOK(res8)) { |
d754c85e | 13289 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); |
5172800e | 13290 | } |
d754c85e | 13291 | arg8 = reinterpret_cast< wxRect * >(argp8); |
5172800e RD |
13292 | { |
13293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13294 | (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,arg8); |
5172800e RD |
13295 | wxPyEndAllowThreads(__tstate); |
13296 | if (PyErr_Occurred()) SWIG_fail; | |
13297 | } | |
5c8c7dd3 RD |
13298 | resultobj = SWIG_Py_Void(); |
13299 | return resultobj; | |
13300 | fail: | |
13301 | return NULL; | |
13302 | } | |
13303 | ||
13304 | ||
5172800e | 13305 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13306 | PyObject *resultobj = 0; |
5172800e RD |
13307 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13308 | wxDC *arg2 = 0 ; | |
13309 | wxWindow *arg3 = (wxWindow *) 0 ; | |
13310 | wxString *arg4 = 0 ; | |
13311 | wxBitmap *arg5 = 0 ; | |
13312 | bool arg6 ; | |
13313 | int arg7 ; | |
13314 | int *arg8 = (int *) 0 ; | |
13315 | wxSize result; | |
10044bf1 RD |
13316 | void *argp1 = 0 ; |
13317 | int res1 = 0 ; | |
13318 | void *argp2 = 0 ; | |
13319 | int res2 = 0 ; | |
5172800e RD |
13320 | void *argp3 = 0 ; |
13321 | int res3 = 0 ; | |
13322 | bool temp4 = false ; | |
13323 | void *argp5 = 0 ; | |
13324 | int res5 = 0 ; | |
13325 | bool val6 ; | |
13326 | int ecode6 = 0 ; | |
13327 | int val7 ; | |
13328 | int ecode7 = 0 ; | |
13329 | void *argp8 = 0 ; | |
13330 | int res8 = 0 ; | |
13331 | PyObject * obj0 = 0 ; | |
13332 | PyObject * obj1 = 0 ; | |
13333 | PyObject * obj2 = 0 ; | |
13334 | PyObject * obj3 = 0 ; | |
13335 | PyObject * obj4 = 0 ; | |
13336 | PyObject * obj5 = 0 ; | |
13337 | PyObject * obj6 = 0 ; | |
13338 | PyObject * obj7 = 0 ; | |
13339 | char * kwnames[] = { | |
13340 | (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL | |
13341 | }; | |
10044bf1 | 13342 | |
5172800e RD |
13343 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
13344 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
10044bf1 | 13345 | if (!SWIG_IsOK(res1)) { |
5172800e | 13346 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
10044bf1 | 13347 | } |
5172800e RD |
13348 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13349 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 ); | |
10044bf1 | 13350 | if (!SWIG_IsOK(res2)) { |
5172800e RD |
13351 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); |
13352 | } | |
13353 | if (!argp2) { | |
13354 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'"); | |
13355 | } | |
13356 | arg2 = reinterpret_cast< wxDC * >(argp2); | |
13357 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13358 | if (!SWIG_IsOK(res3)) { | |
13359 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'"); | |
13360 | } | |
13361 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
13362 | { | |
13363 | arg4 = wxString_in_helper(obj3); | |
13364 | if (arg4 == NULL) SWIG_fail; | |
13365 | temp4 = true; | |
13366 | } | |
13367 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
13368 | if (!SWIG_IsOK(res5)) { | |
13369 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13370 | } | |
13371 | if (!argp5) { | |
13372 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
13373 | } | |
13374 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
13375 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
13376 | if (!SWIG_IsOK(ecode6)) { | |
13377 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'"); | |
13378 | } | |
13379 | arg6 = static_cast< bool >(val6); | |
13380 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
13381 | if (!SWIG_IsOK(ecode7)) { | |
13382 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'"); | |
13383 | } | |
13384 | arg7 = static_cast< int >(val7); | |
13385 | res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 ); | |
13386 | if (!SWIG_IsOK(res8)) { | |
13387 | SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'"); | |
13388 | } | |
13389 | arg8 = reinterpret_cast< int * >(argp8); | |
13390 | { | |
13391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13392 | result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8); | |
13393 | wxPyEndAllowThreads(__tstate); | |
13394 | if (PyErr_Occurred()) SWIG_fail; | |
13395 | } | |
13396 | resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 ); | |
13397 | { | |
13398 | if (temp4) | |
13399 | delete arg4; | |
10044bf1 | 13400 | } |
10044bf1 RD |
13401 | return resultobj; |
13402 | fail: | |
5172800e RD |
13403 | { |
13404 | if (temp4) | |
13405 | delete arg4; | |
13406 | } | |
10044bf1 RD |
13407 | return NULL; |
13408 | } | |
13409 | ||
13410 | ||
d754c85e | 13411 | SWIGINTERN PyObject *_wrap_AuiTabArt_ShowDropDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 13412 | PyObject *resultobj = 0; |
5172800e RD |
13413 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13414 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d754c85e | 13415 | wxAuiNotebookPageArray *arg3 = 0 ; |
5172800e RD |
13416 | int arg4 ; |
13417 | int result; | |
10044bf1 RD |
13418 | void *argp1 = 0 ; |
13419 | int res1 = 0 ; | |
5172800e RD |
13420 | void *argp2 = 0 ; |
13421 | int res2 = 0 ; | |
d754c85e RD |
13422 | void *argp3 = 0 ; |
13423 | int res3 = 0 ; | |
5172800e RD |
13424 | int val4 ; |
13425 | int ecode4 = 0 ; | |
13426 | PyObject * obj0 = 0 ; | |
13427 | PyObject * obj1 = 0 ; | |
13428 | PyObject * obj2 = 0 ; | |
13429 | PyObject * obj3 = 0 ; | |
13430 | char * kwnames[] = { | |
13431 | (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL | |
13432 | }; | |
10044bf1 | 13433 | |
d754c85e | 13434 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowDropDown",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13435 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
10044bf1 | 13436 | if (!SWIG_IsOK(res1)) { |
d754c85e | 13437 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
5172800e RD |
13438 | } |
13439 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
13440 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13441 | if (!SWIG_IsOK(res2)) { | |
d754c85e | 13442 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "2"" of type '" "wxWindow *""'"); |
5172800e RD |
13443 | } |
13444 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
d754c85e RD |
13445 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
13446 | if (!SWIG_IsOK(res3)) { | |
13447 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
13448 | } | |
13449 | if (!argp3) { | |
13450 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); | |
5172800e | 13451 | } |
d754c85e | 13452 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); |
5172800e RD |
13453 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
13454 | if (!SWIG_IsOK(ecode4)) { | |
d754c85e | 13455 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "4"" of type '" "int""'"); |
5172800e RD |
13456 | } |
13457 | arg4 = static_cast< int >(val4); | |
13458 | { | |
13459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13460 | result = (int)(arg1)->ShowDropDown(arg2,(wxAuiNotebookPageArray const &)*arg3,arg4); |
5172800e RD |
13461 | wxPyEndAllowThreads(__tstate); |
13462 | if (PyErr_Occurred()) SWIG_fail; | |
13463 | } | |
13464 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
10044bf1 RD |
13465 | return resultobj; |
13466 | fail: | |
d754c85e RD |
13467 | return NULL; |
13468 | } | |
13469 | ||
13470 | ||
13471 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13472 | PyObject *resultobj = 0; | |
13473 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; | |
13474 | int result; | |
13475 | void *argp1 = 0 ; | |
13476 | int res1 = 0 ; | |
13477 | PyObject *swig_obj[1] ; | |
13478 | ||
13479 | if (!args) SWIG_fail; | |
13480 | swig_obj[0] = args; | |
13481 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13482 | if (!SWIG_IsOK(res1)) { | |
13483 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); | |
13484 | } | |
13485 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); | |
5172800e | 13486 | { |
d754c85e RD |
13487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13488 | result = (int)(arg1)->GetIndentSize(); | |
13489 | wxPyEndAllowThreads(__tstate); | |
13490 | if (PyErr_Occurred()) SWIG_fail; | |
5172800e | 13491 | } |
d754c85e RD |
13492 | resultobj = SWIG_From_int(static_cast< int >(result)); |
13493 | return resultobj; | |
13494 | fail: | |
10044bf1 RD |
13495 | return NULL; |
13496 | } | |
13497 | ||
13498 | ||
5172800e | 13499 | SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8f514ab4 | 13500 | PyObject *resultobj = 0; |
5172800e RD |
13501 | wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; |
13502 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13503 | wxAuiNotebookPageArray *arg3 = 0 ; | |
8287c33f | 13504 | wxSize *arg4 = 0 ; |
5172800e | 13505 | int result; |
8f514ab4 RD |
13506 | void *argp1 = 0 ; |
13507 | int res1 = 0 ; | |
13508 | void *argp2 = 0 ; | |
13509 | int res2 = 0 ; | |
5172800e RD |
13510 | void *argp3 = 0 ; |
13511 | int res3 = 0 ; | |
8287c33f | 13512 | wxSize temp4 ; |
5172800e RD |
13513 | PyObject * obj0 = 0 ; |
13514 | PyObject * obj1 = 0 ; | |
13515 | PyObject * obj2 = 0 ; | |
8287c33f | 13516 | PyObject * obj3 = 0 ; |
5172800e | 13517 | char * kwnames[] = { |
8287c33f | 13518 | (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL |
5172800e | 13519 | }; |
8f514ab4 | 13520 | |
8287c33f | 13521 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
5172800e | 13522 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
8f514ab4 | 13523 | if (!SWIG_IsOK(res1)) { |
5172800e | 13524 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); |
8f514ab4 | 13525 | } |
5172800e RD |
13526 | arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); |
13527 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
8f514ab4 | 13528 | if (!SWIG_IsOK(res2)) { |
5172800e | 13529 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); |
8f514ab4 | 13530 | } |
5172800e | 13531 | arg2 = reinterpret_cast< wxWindow * >(argp2); |
d754c85e | 13532 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); |
5172800e | 13533 | if (!SWIG_IsOK(res3)) { |
d754c85e | 13534 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13535 | } |
13536 | if (!argp3) { | |
d754c85e | 13537 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); |
5172800e RD |
13538 | } |
13539 | arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); | |
8287c33f RD |
13540 | { |
13541 | arg4 = &temp4; | |
13542 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13543 | } | |
5172800e RD |
13544 | { |
13545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d754c85e | 13546 | result = (int)(arg1)->GetBestTabCtrlSize(arg2,(wxAuiNotebookPageArray const &)*arg3,(wxSize const &)*arg4); |
5172800e RD |
13547 | wxPyEndAllowThreads(__tstate); |
13548 | if (PyErr_Occurred()) SWIG_fail; | |
13549 | } | |
13550 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
13551 | return resultobj; | |
13552 | fail: | |
13553 | return NULL; | |
13554 | } | |
13555 | ||
13556 | ||
13557 | SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13558 | PyObject *obj; | |
13559 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13560 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj)); | |
13561 | return SWIG_Py_Void(); | |
13562 | } | |
13563 | ||
13564 | SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13565 | PyObject *resultobj = 0; | |
13566 | wxAuiDefaultTabArt *result = 0 ; | |
8f514ab4 | 13567 | |
5172800e RD |
13568 | if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail; |
13569 | { | |
13570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13571 | result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt(); | |
13572 | wxPyEndAllowThreads(__tstate); | |
13573 | if (PyErr_Occurred()) SWIG_fail; | |
13574 | } | |
13575 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 ); | |
8f514ab4 RD |
13576 | return resultobj; |
13577 | fail: | |
13578 | return NULL; | |
13579 | } | |
13580 | ||
13581 | ||
5172800e | 13582 | SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8f514ab4 | 13583 | PyObject *resultobj = 0; |
5172800e | 13584 | wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ; |
8f514ab4 RD |
13585 | void *argp1 = 0 ; |
13586 | int res1 = 0 ; | |
13587 | PyObject *swig_obj[1] ; | |
13588 | ||
13589 | if (!args) SWIG_fail; | |
13590 | swig_obj[0] = args; | |
5172800e | 13591 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 ); |
8f514ab4 | 13592 | if (!SWIG_IsOK(res1)) { |
5172800e | 13593 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'"); |
8f514ab4 | 13594 | } |
5172800e RD |
13595 | arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1); |
13596 | { | |
13597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13598 | delete arg1; | |
13599 | ||
13600 | wxPyEndAllowThreads(__tstate); | |
13601 | if (PyErr_Occurred()) SWIG_fail; | |
13602 | } | |
13603 | resultobj = SWIG_Py_Void(); | |
8f514ab4 RD |
13604 | return resultobj; |
13605 | fail: | |
13606 | return NULL; | |
13607 | } | |
13608 | ||
13609 | ||
5172800e RD |
13610 | SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13611 | PyObject *obj; | |
13612 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
13613 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj)); | |
13614 | return SWIG_Py_Void(); | |
13615 | } | |
13616 | ||
13617 | SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13618 | return SWIG_Python_InitShadowInstance(args); | |
13619 | } | |
13620 | ||
13621 | SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10044bf1 | 13622 | PyObject *resultobj = 0; |
5172800e | 13623 | wxAuiSimpleTabArt *result = 0 ; |
10044bf1 | 13624 | |
5172800e RD |
13625 | if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail; |
13626 | { | |
13627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13628 | result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt(); | |
13629 | wxPyEndAllowThreads(__tstate); | |
13630 | if (PyErr_Occurred()) SWIG_fail; | |
10044bf1 | 13631 | } |
5172800e | 13632 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 ); |
10044bf1 RD |
13633 | return resultobj; |
13634 | fail: | |
13635 | return NULL; | |
13636 | } | |
13637 | ||
13638 | ||
5172800e | 13639 | SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 13640 | PyObject *resultobj = 0; |
5172800e | 13641 | wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ; |
10044bf1 RD |
13642 | void *argp1 = 0 ; |
13643 | int res1 = 0 ; | |
13644 | PyObject *swig_obj[1] ; | |
13645 | ||
13646 | if (!args) SWIG_fail; | |
13647 | swig_obj[0] = args; | |
5172800e | 13648 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 ); |
10044bf1 | 13649 | if (!SWIG_IsOK(res1)) { |
5172800e | 13650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'"); |
10044bf1 | 13651 | } |
5172800e RD |
13652 | arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1); |
13653 | { | |
13654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13655 | delete arg1; | |
13656 | ||
13657 | wxPyEndAllowThreads(__tstate); | |
13658 | if (PyErr_Occurred()) SWIG_fail; | |
13659 | } | |
13660 | resultobj = SWIG_Py_Void(); | |
10044bf1 RD |
13661 | return resultobj; |
13662 | fail: | |
13663 | return NULL; | |
13664 | } | |
13665 | ||
13666 | ||
5172800e | 13667 | SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
13668 | PyObject *obj; |
13669 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5172800e | 13670 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj)); |
10044bf1 RD |
13671 | return SWIG_Py_Void(); |
13672 | } | |
13673 | ||
5172800e RD |
13674 | SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13675 | return SWIG_Python_InitShadowInstance(args); | |
13676 | } | |
13677 | ||
10044bf1 RD |
13678 | SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
13679 | PyObject *resultobj = 0; | |
13680 | wxAuiTabContainer *result = 0 ; | |
13681 | ||
13682 | if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail; | |
13683 | { | |
13684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13685 | result = (wxAuiTabContainer *)new wxAuiTabContainer(); | |
13686 | wxPyEndAllowThreads(__tstate); | |
13687 | if (PyErr_Occurred()) SWIG_fail; | |
13688 | } | |
13689 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 ); | |
13690 | return resultobj; | |
13691 | fail: | |
13692 | return NULL; | |
13693 | } | |
13694 | ||
13695 | ||
13696 | SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13697 | PyObject *resultobj = 0; | |
13698 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13699 | void *argp1 = 0 ; | |
13700 | int res1 = 0 ; | |
13701 | PyObject *swig_obj[1] ; | |
13702 | ||
13703 | if (!args) SWIG_fail; | |
13704 | swig_obj[0] = args; | |
13705 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 ); | |
13706 | if (!SWIG_IsOK(res1)) { | |
13707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13708 | } | |
13709 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13710 | { | |
13711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13712 | delete arg1; | |
13713 | ||
13714 | wxPyEndAllowThreads(__tstate); | |
13715 | if (PyErr_Occurred()) SWIG_fail; | |
13716 | } | |
13717 | resultobj = SWIG_Py_Void(); | |
13718 | return resultobj; | |
13719 | fail: | |
13720 | return NULL; | |
13721 | } | |
13722 | ||
13723 | ||
5c8c7dd3 RD |
13724 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13725 | PyObject *resultobj = 0; | |
13726 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13727 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; |
5c8c7dd3 RD |
13728 | void *argp1 = 0 ; |
13729 | int res1 = 0 ; | |
13730 | void *argp2 = 0 ; | |
13731 | int res2 = 0 ; | |
13732 | PyObject * obj0 = 0 ; | |
13733 | PyObject * obj1 = 0 ; | |
13734 | char * kwnames[] = { | |
13735 | (char *) "self",(char *) "art", NULL | |
13736 | }; | |
13737 | ||
13738 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
13739 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13740 | if (!SWIG_IsOK(res1)) { | |
13741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13742 | } | |
13743 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
5eb8189c | 13744 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); |
5c8c7dd3 | 13745 | if (!SWIG_IsOK(res2)) { |
5eb8189c | 13746 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); |
5c8c7dd3 | 13747 | } |
5eb8189c | 13748 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); |
5c8c7dd3 RD |
13749 | { |
13750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13751 | (arg1)->SetArtProvider(arg2); | |
13752 | wxPyEndAllowThreads(__tstate); | |
13753 | if (PyErr_Occurred()) SWIG_fail; | |
13754 | } | |
13755 | resultobj = SWIG_Py_Void(); | |
13756 | return resultobj; | |
13757 | fail: | |
13758 | return NULL; | |
13759 | } | |
13760 | ||
13761 | ||
13762 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13763 | PyObject *resultobj = 0; | |
13764 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
5eb8189c | 13765 | wxAuiTabArt *result = 0 ; |
5c8c7dd3 RD |
13766 | void *argp1 = 0 ; |
13767 | int res1 = 0 ; | |
13768 | PyObject *swig_obj[1] ; | |
13769 | ||
13770 | if (!args) SWIG_fail; | |
13771 | swig_obj[0] = args; | |
13772 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13773 | if (!SWIG_IsOK(res1)) { | |
5172800e | 13774 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); |
5c8c7dd3 RD |
13775 | } |
13776 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13777 | { | |
13778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5172800e | 13779 | result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider(); |
5eb8189c RD |
13780 | wxPyEndAllowThreads(__tstate); |
13781 | if (PyErr_Occurred()) SWIG_fail; | |
13782 | } | |
13783 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
13784 | return resultobj; | |
13785 | fail: | |
13786 | return NULL; | |
13787 | } | |
13788 | ||
13789 | ||
13790 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13791 | PyObject *resultobj = 0; | |
13792 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13793 | int arg2 ; | |
13794 | void *argp1 = 0 ; | |
13795 | int res1 = 0 ; | |
13796 | int val2 ; | |
13797 | int ecode2 = 0 ; | |
13798 | PyObject * obj0 = 0 ; | |
13799 | PyObject * obj1 = 0 ; | |
13800 | char * kwnames[] = { | |
13801 | (char *) "self",(char *) "flags", NULL | |
13802 | }; | |
13803 | ||
13804 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail; | |
13805 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13806 | if (!SWIG_IsOK(res1)) { | |
13807 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13808 | } | |
13809 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13810 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
13811 | if (!SWIG_IsOK(ecode2)) { | |
13812 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'"); | |
13813 | } | |
13814 | arg2 = static_cast< int >(val2); | |
13815 | { | |
13816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13817 | (arg1)->SetFlags(arg2); | |
5c8c7dd3 RD |
13818 | wxPyEndAllowThreads(__tstate); |
13819 | if (PyErr_Occurred()) SWIG_fail; | |
13820 | } | |
5eb8189c RD |
13821 | resultobj = SWIG_Py_Void(); |
13822 | return resultobj; | |
13823 | fail: | |
13824 | return NULL; | |
13825 | } | |
13826 | ||
13827 | ||
13828 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
13829 | PyObject *resultobj = 0; | |
13830 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13831 | int result; | |
13832 | void *argp1 = 0 ; | |
13833 | int res1 = 0 ; | |
13834 | PyObject *swig_obj[1] ; | |
13835 | ||
13836 | if (!args) SWIG_fail; | |
13837 | swig_obj[0] = args; | |
13838 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13839 | if (!SWIG_IsOK(res1)) { | |
13840 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
13841 | } | |
13842 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13843 | { | |
13844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13845 | result = (int)((wxAuiTabContainer const *)arg1)->GetFlags(); | |
13846 | wxPyEndAllowThreads(__tstate); | |
13847 | if (PyErr_Occurred()) SWIG_fail; | |
13848 | } | |
13849 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5c8c7dd3 RD |
13850 | return resultobj; |
13851 | fail: | |
13852 | return NULL; | |
13853 | } | |
13854 | ||
13855 | ||
10044bf1 RD |
13856 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13857 | PyObject *resultobj = 0; | |
13858 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13859 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13860 | wxAuiNotebookPage *arg3 = 0 ; | |
13861 | bool result; | |
13862 | void *argp1 = 0 ; | |
13863 | int res1 = 0 ; | |
13864 | void *argp2 = 0 ; | |
13865 | int res2 = 0 ; | |
13866 | void *argp3 = 0 ; | |
13867 | int res3 = 0 ; | |
13868 | PyObject * obj0 = 0 ; | |
13869 | PyObject * obj1 = 0 ; | |
13870 | PyObject * obj2 = 0 ; | |
13871 | char * kwnames[] = { | |
13872 | (char *) "self",(char *) "page",(char *) "info", NULL | |
13873 | }; | |
13874 | ||
13875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13877 | if (!SWIG_IsOK(res1)) { | |
13878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13879 | } | |
13880 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13881 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13882 | if (!SWIG_IsOK(res2)) { | |
13883 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13884 | } | |
13885 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13886 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13887 | if (!SWIG_IsOK(res3)) { | |
13888 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13889 | } | |
13890 | if (!argp3) { | |
13891 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13892 | } | |
13893 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13894 | { | |
13895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13896 | result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3); | |
13897 | wxPyEndAllowThreads(__tstate); | |
13898 | if (PyErr_Occurred()) SWIG_fail; | |
13899 | } | |
13900 | { | |
13901 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13902 | } | |
13903 | return resultobj; | |
13904 | fail: | |
13905 | return NULL; | |
13906 | } | |
13907 | ||
13908 | ||
13909 | SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
13910 | PyObject *resultobj = 0; | |
13911 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13912 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13913 | wxAuiNotebookPage *arg3 = 0 ; | |
13914 | size_t arg4 ; | |
13915 | bool result; | |
13916 | void *argp1 = 0 ; | |
13917 | int res1 = 0 ; | |
13918 | void *argp2 = 0 ; | |
13919 | int res2 = 0 ; | |
13920 | void *argp3 = 0 ; | |
13921 | int res3 = 0 ; | |
13922 | size_t val4 ; | |
13923 | int ecode4 = 0 ; | |
13924 | PyObject * obj0 = 0 ; | |
13925 | PyObject * obj1 = 0 ; | |
13926 | PyObject * obj2 = 0 ; | |
13927 | PyObject * obj3 = 0 ; | |
13928 | char * kwnames[] = { | |
13929 | (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL | |
13930 | }; | |
13931 | ||
13932 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
13933 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13934 | if (!SWIG_IsOK(res1)) { | |
13935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13936 | } | |
13937 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13938 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13939 | if (!SWIG_IsOK(res2)) { | |
13940 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13941 | } | |
13942 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
13943 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); | |
13944 | if (!SWIG_IsOK(res3)) { | |
13945 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13946 | } | |
13947 | if (!argp3) { | |
13948 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'"); | |
13949 | } | |
13950 | arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3); | |
13951 | ecode4 = SWIG_AsVal_size_t(obj3, &val4); | |
13952 | if (!SWIG_IsOK(ecode4)) { | |
13953 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'"); | |
13954 | } | |
13955 | arg4 = static_cast< size_t >(val4); | |
13956 | { | |
13957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13958 | result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4); | |
13959 | wxPyEndAllowThreads(__tstate); | |
13960 | if (PyErr_Occurred()) SWIG_fail; | |
13961 | } | |
13962 | { | |
13963 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13964 | } | |
13965 | return resultobj; | |
13966 | fail: | |
13967 | return NULL; | |
13968 | } | |
13969 | ||
13970 | ||
580080c5 RD |
13971 | SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
13972 | PyObject *resultobj = 0; | |
13973 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
13974 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13975 | size_t arg3 ; | |
13976 | bool result; | |
13977 | void *argp1 = 0 ; | |
13978 | int res1 = 0 ; | |
13979 | void *argp2 = 0 ; | |
13980 | int res2 = 0 ; | |
13981 | size_t val3 ; | |
13982 | int ecode3 = 0 ; | |
13983 | PyObject * obj0 = 0 ; | |
13984 | PyObject * obj1 = 0 ; | |
13985 | PyObject * obj2 = 0 ; | |
13986 | char * kwnames[] = { | |
13987 | (char *) "self",(char *) "page",(char *) "new_idx", NULL | |
13988 | }; | |
13989 | ||
13990 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
13991 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
13992 | if (!SWIG_IsOK(res1)) { | |
13993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
13994 | } | |
13995 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
13996 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
13997 | if (!SWIG_IsOK(res2)) { | |
13998 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
13999 | } | |
14000 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14001 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
14002 | if (!SWIG_IsOK(ecode3)) { | |
14003 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'"); | |
14004 | } | |
14005 | arg3 = static_cast< size_t >(val3); | |
14006 | { | |
14007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14008 | result = (bool)(arg1)->MovePage(arg2,arg3); | |
14009 | wxPyEndAllowThreads(__tstate); | |
14010 | if (PyErr_Occurred()) SWIG_fail; | |
14011 | } | |
14012 | { | |
14013 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14014 | } | |
14015 | return resultobj; | |
14016 | fail: | |
14017 | return NULL; | |
14018 | } | |
14019 | ||
14020 | ||
10044bf1 RD |
14021 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14022 | PyObject *resultobj = 0; | |
14023 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14024 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14025 | bool result; | |
14026 | void *argp1 = 0 ; | |
14027 | int res1 = 0 ; | |
14028 | void *argp2 = 0 ; | |
14029 | int res2 = 0 ; | |
14030 | PyObject * obj0 = 0 ; | |
14031 | PyObject * obj1 = 0 ; | |
14032 | char * kwnames[] = { | |
14033 | (char *) "self",(char *) "page", NULL | |
14034 | }; | |
14035 | ||
14036 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; | |
14037 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14038 | if (!SWIG_IsOK(res1)) { | |
14039 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14040 | } | |
14041 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14042 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14043 | if (!SWIG_IsOK(res2)) { | |
14044 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14045 | } | |
14046 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14047 | { | |
14048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14049 | result = (bool)(arg1)->RemovePage(arg2); | |
14050 | wxPyEndAllowThreads(__tstate); | |
14051 | if (PyErr_Occurred()) SWIG_fail; | |
14052 | } | |
14053 | { | |
14054 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14055 | } | |
14056 | return resultobj; | |
14057 | fail: | |
14058 | return NULL; | |
14059 | } | |
14060 | ||
14061 | ||
14062 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14063 | PyObject *resultobj = 0; | |
14064 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14065 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14066 | bool result; | |
14067 | void *argp1 = 0 ; | |
14068 | int res1 = 0 ; | |
14069 | void *argp2 = 0 ; | |
14070 | int res2 = 0 ; | |
14071 | ||
14072 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14073 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14074 | if (!SWIG_IsOK(res1)) { | |
14075 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14076 | } | |
14077 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14078 | res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14079 | if (!SWIG_IsOK(res2)) { | |
14080 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14081 | } | |
14082 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14083 | { | |
14084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14085 | result = (bool)(arg1)->SetActivePage(arg2); | |
14086 | wxPyEndAllowThreads(__tstate); | |
14087 | if (PyErr_Occurred()) SWIG_fail; | |
14088 | } | |
14089 | { | |
14090 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14091 | } | |
14092 | return resultobj; | |
14093 | fail: | |
14094 | return NULL; | |
14095 | } | |
14096 | ||
14097 | ||
14098 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) { | |
14099 | PyObject *resultobj = 0; | |
14100 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14101 | size_t arg2 ; | |
14102 | bool result; | |
14103 | void *argp1 = 0 ; | |
14104 | int res1 = 0 ; | |
14105 | size_t val2 ; | |
14106 | int ecode2 = 0 ; | |
14107 | ||
14108 | if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; | |
14109 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14110 | if (!SWIG_IsOK(res1)) { | |
14111 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14112 | } | |
14113 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14114 | ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); | |
14115 | if (!SWIG_IsOK(ecode2)) { | |
14116 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'"); | |
14117 | } | |
14118 | arg2 = static_cast< size_t >(val2); | |
14119 | { | |
14120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14121 | result = (bool)(arg1)->SetActivePage(arg2); | |
14122 | wxPyEndAllowThreads(__tstate); | |
14123 | if (PyErr_Occurred()) SWIG_fail; | |
14124 | } | |
14125 | { | |
14126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14127 | } | |
14128 | return resultobj; | |
14129 | fail: | |
14130 | return NULL; | |
14131 | } | |
14132 | ||
14133 | ||
14134 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) { | |
14135 | int argc; | |
14136 | PyObject *argv[3]; | |
14137 | ||
14138 | if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail; | |
14139 | --argc; | |
14140 | if (argc == 2) { | |
14141 | int _v = 0; | |
14142 | { | |
14143 | void *vptr = 0; | |
14144 | int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0); | |
14145 | _v = SWIG_CheckState(res); | |
14146 | } | |
14147 | if (!_v) goto check_1; | |
14148 | return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv); | |
14149 | } | |
14150 | check_1: | |
14151 | ||
14152 | if (argc == 2) { | |
14153 | return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv); | |
14154 | } | |
14155 | ||
14156 | fail: | |
14157 | SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'"); | |
14158 | return NULL; | |
14159 | } | |
14160 | ||
14161 | ||
14162 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14163 | PyObject *resultobj = 0; | |
14164 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14165 | void *argp1 = 0 ; | |
14166 | int res1 = 0 ; | |
14167 | PyObject *swig_obj[1] ; | |
14168 | ||
14169 | if (!args) SWIG_fail; | |
14170 | swig_obj[0] = args; | |
14171 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14172 | if (!SWIG_IsOK(res1)) { | |
14173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14174 | } | |
14175 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14176 | { | |
14177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14178 | (arg1)->SetNoneActive(); | |
14179 | wxPyEndAllowThreads(__tstate); | |
14180 | if (PyErr_Occurred()) SWIG_fail; | |
14181 | } | |
14182 | resultobj = SWIG_Py_Void(); | |
14183 | return resultobj; | |
14184 | fail: | |
14185 | return NULL; | |
14186 | } | |
14187 | ||
14188 | ||
14189 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14190 | PyObject *resultobj = 0; | |
14191 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14192 | int result; | |
14193 | void *argp1 = 0 ; | |
14194 | int res1 = 0 ; | |
14195 | PyObject *swig_obj[1] ; | |
14196 | ||
14197 | if (!args) SWIG_fail; | |
14198 | swig_obj[0] = args; | |
14199 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14200 | if (!SWIG_IsOK(res1)) { | |
14201 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14202 | } | |
14203 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14204 | { | |
14205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14206 | result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage(); | |
14207 | wxPyEndAllowThreads(__tstate); | |
14208 | if (PyErr_Occurred()) SWIG_fail; | |
14209 | } | |
14210 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14211 | return resultobj; | |
14212 | fail: | |
14213 | return NULL; | |
14214 | } | |
14215 | ||
14216 | ||
14217 | SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14218 | PyObject *resultobj = 0; | |
14219 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14220 | int arg2 ; | |
14221 | int arg3 ; | |
14222 | wxWindow **arg4 = (wxWindow **) 0 ; | |
14223 | bool result; | |
14224 | void *argp1 = 0 ; | |
14225 | int res1 = 0 ; | |
14226 | int val2 ; | |
14227 | int ecode2 = 0 ; | |
14228 | int val3 ; | |
14229 | int ecode3 = 0 ; | |
14230 | void *argp4 = 0 ; | |
14231 | int res4 = 0 ; | |
14232 | PyObject * obj0 = 0 ; | |
14233 | PyObject * obj1 = 0 ; | |
14234 | PyObject * obj2 = 0 ; | |
14235 | PyObject * obj3 = 0 ; | |
14236 | char * kwnames[] = { | |
14237 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14238 | }; | |
14239 | ||
14240 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14241 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14242 | if (!SWIG_IsOK(res1)) { | |
14243 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14244 | } | |
14245 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14246 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14247 | if (!SWIG_IsOK(ecode2)) { | |
14248 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14249 | } | |
14250 | arg2 = static_cast< int >(val2); | |
14251 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14252 | if (!SWIG_IsOK(ecode3)) { | |
14253 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14254 | } | |
14255 | arg3 = static_cast< int >(val3); | |
14256 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 ); | |
14257 | if (!SWIG_IsOK(res4)) { | |
14258 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'"); | |
14259 | } | |
14260 | arg4 = reinterpret_cast< wxWindow ** >(argp4); | |
14261 | { | |
14262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14263 | result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4); | |
14264 | wxPyEndAllowThreads(__tstate); | |
14265 | if (PyErr_Occurred()) SWIG_fail; | |
14266 | } | |
14267 | { | |
14268 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14269 | } | |
14270 | return resultobj; | |
14271 | fail: | |
14272 | return NULL; | |
14273 | } | |
14274 | ||
14275 | ||
14276 | SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14277 | PyObject *resultobj = 0; | |
14278 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14279 | int arg2 ; | |
14280 | int arg3 ; | |
14281 | wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ; | |
14282 | bool result; | |
14283 | void *argp1 = 0 ; | |
14284 | int res1 = 0 ; | |
14285 | int val2 ; | |
14286 | int ecode2 = 0 ; | |
14287 | int val3 ; | |
14288 | int ecode3 = 0 ; | |
14289 | void *argp4 = 0 ; | |
14290 | int res4 = 0 ; | |
14291 | PyObject * obj0 = 0 ; | |
14292 | PyObject * obj1 = 0 ; | |
14293 | PyObject * obj2 = 0 ; | |
14294 | PyObject * obj3 = 0 ; | |
14295 | char * kwnames[] = { | |
14296 | (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL | |
14297 | }; | |
14298 | ||
14299 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
14300 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14301 | if (!SWIG_IsOK(res1)) { | |
14302 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14303 | } | |
14304 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14305 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14306 | if (!SWIG_IsOK(ecode2)) { | |
14307 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'"); | |
14308 | } | |
14309 | arg2 = static_cast< int >(val2); | |
14310 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
14311 | if (!SWIG_IsOK(ecode3)) { | |
14312 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'"); | |
14313 | } | |
14314 | arg3 = static_cast< int >(val3); | |
14315 | res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 ); | |
14316 | if (!SWIG_IsOK(res4)) { | |
14317 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'"); | |
14318 | } | |
14319 | arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4); | |
14320 | { | |
14321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14322 | result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4); | |
14323 | wxPyEndAllowThreads(__tstate); | |
14324 | if (PyErr_Occurred()) SWIG_fail; | |
14325 | } | |
14326 | { | |
14327 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14328 | } | |
14329 | return resultobj; | |
14330 | fail: | |
14331 | return NULL; | |
14332 | } | |
14333 | ||
14334 | ||
14335 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14336 | PyObject *resultobj = 0; | |
14337 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14338 | size_t arg2 ; | |
14339 | wxWindow *result = 0 ; | |
14340 | void *argp1 = 0 ; | |
14341 | int res1 = 0 ; | |
14342 | size_t val2 ; | |
14343 | int ecode2 = 0 ; | |
14344 | PyObject * obj0 = 0 ; | |
14345 | PyObject * obj1 = 0 ; | |
14346 | char * kwnames[] = { | |
14347 | (char *) "self",(char *) "idx", NULL | |
14348 | }; | |
14349 | ||
14350 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail; | |
14351 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14352 | if (!SWIG_IsOK(res1)) { | |
14353 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14354 | } | |
14355 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14356 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14357 | if (!SWIG_IsOK(ecode2)) { | |
14358 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'"); | |
14359 | } | |
14360 | arg2 = static_cast< size_t >(val2); | |
14361 | { | |
14362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14363 | result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2); | |
14364 | wxPyEndAllowThreads(__tstate); | |
14365 | if (PyErr_Occurred()) SWIG_fail; | |
14366 | } | |
14367 | { | |
14368 | resultobj = wxPyMake_wxObject(result, 0); | |
14369 | } | |
14370 | return resultobj; | |
14371 | fail: | |
14372 | return NULL; | |
14373 | } | |
14374 | ||
14375 | ||
14376 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14377 | PyObject *resultobj = 0; | |
14378 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14379 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14380 | int result; | |
14381 | void *argp1 = 0 ; | |
14382 | int res1 = 0 ; | |
14383 | void *argp2 = 0 ; | |
14384 | int res2 = 0 ; | |
14385 | PyObject * obj0 = 0 ; | |
14386 | PyObject * obj1 = 0 ; | |
14387 | char * kwnames[] = { | |
14388 | (char *) "self",(char *) "page", NULL | |
14389 | }; | |
14390 | ||
14391 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
14392 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14393 | if (!SWIG_IsOK(res1)) { | |
14394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14395 | } | |
14396 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14397 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14398 | if (!SWIG_IsOK(res2)) { | |
14399 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
14400 | } | |
14401 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
14402 | { | |
14403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14404 | result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2); | |
14405 | wxPyEndAllowThreads(__tstate); | |
14406 | if (PyErr_Occurred()) SWIG_fail; | |
14407 | } | |
14408 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
14409 | return resultobj; | |
14410 | fail: | |
14411 | return NULL; | |
14412 | } | |
14413 | ||
14414 | ||
14415 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14416 | PyObject *resultobj = 0; | |
14417 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14418 | size_t result; | |
14419 | void *argp1 = 0 ; | |
14420 | int res1 = 0 ; | |
14421 | PyObject *swig_obj[1] ; | |
14422 | ||
14423 | if (!args) SWIG_fail; | |
14424 | swig_obj[0] = args; | |
14425 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14426 | if (!SWIG_IsOK(res1)) { | |
14427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14428 | } | |
14429 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14430 | { | |
14431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14432 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount(); | |
14433 | wxPyEndAllowThreads(__tstate); | |
14434 | if (PyErr_Occurred()) SWIG_fail; | |
14435 | } | |
14436 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14437 | return resultobj; | |
14438 | fail: | |
14439 | return NULL; | |
14440 | } | |
14441 | ||
14442 | ||
d48ae46b | 14443 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
14444 | PyObject *resultobj = 0; |
14445 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14446 | size_t arg2 ; | |
14447 | wxAuiNotebookPage *result = 0 ; | |
14448 | void *argp1 = 0 ; | |
14449 | int res1 = 0 ; | |
14450 | size_t val2 ; | |
14451 | int ecode2 = 0 ; | |
d48ae46b RD |
14452 | PyObject * obj0 = 0 ; |
14453 | PyObject * obj1 = 0 ; | |
14454 | char * kwnames[] = { | |
14455 | (char *) "self",(char *) "idx", NULL | |
14456 | }; | |
10044bf1 | 14457 | |
d48ae46b RD |
14458 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
14459 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
10044bf1 RD |
14460 | if (!SWIG_IsOK(res1)) { |
14461 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14462 | } | |
14463 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
d48ae46b | 14464 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
10044bf1 RD |
14465 | if (!SWIG_IsOK(ecode2)) { |
14466 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'"); | |
14467 | } | |
14468 | arg2 = static_cast< size_t >(val2); | |
14469 | { | |
14470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14471 | { | |
14472 | wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2); | |
14473 | result = (wxAuiNotebookPage *) &_result_ref; | |
14474 | } | |
14475 | wxPyEndAllowThreads(__tstate); | |
14476 | if (PyErr_Occurred()) SWIG_fail; | |
14477 | } | |
14478 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 ); | |
14479 | return resultobj; | |
14480 | fail: | |
14481 | return NULL; | |
14482 | } | |
14483 | ||
14484 | ||
14485 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14486 | PyObject *resultobj = 0; | |
14487 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14488 | wxAuiNotebookPageArray *result = 0 ; | |
14489 | void *argp1 = 0 ; | |
14490 | int res1 = 0 ; | |
14491 | PyObject *swig_obj[1] ; | |
14492 | ||
14493 | if (!args) SWIG_fail; | |
14494 | swig_obj[0] = args; | |
14495 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14496 | if (!SWIG_IsOK(res1)) { | |
14497 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14498 | } | |
14499 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14500 | { | |
14501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14502 | { | |
14503 | wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages(); | |
14504 | result = (wxAuiNotebookPageArray *) &_result_ref; | |
14505 | } | |
14506 | wxPyEndAllowThreads(__tstate); | |
14507 | if (PyErr_Occurred()) SWIG_fail; | |
14508 | } | |
14509 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 ); | |
14510 | return resultobj; | |
14511 | fail: | |
14512 | return NULL; | |
14513 | } | |
14514 | ||
14515 | ||
14516 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14517 | PyObject *resultobj = 0; | |
14518 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14519 | wxFont *arg2 = 0 ; | |
14520 | void *argp1 = 0 ; | |
14521 | int res1 = 0 ; | |
14522 | void *argp2 = 0 ; | |
14523 | int res2 = 0 ; | |
14524 | PyObject * obj0 = 0 ; | |
14525 | PyObject * obj1 = 0 ; | |
14526 | char * kwnames[] = { | |
14527 | (char *) "self",(char *) "normal_font", NULL | |
14528 | }; | |
14529 | ||
14530 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14531 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14532 | if (!SWIG_IsOK(res1)) { | |
14533 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14534 | } | |
14535 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14536 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14537 | if (!SWIG_IsOK(res2)) { | |
14538 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14539 | } | |
14540 | if (!argp2) { | |
14541 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14542 | } | |
14543 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14544 | { | |
14545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14546 | (arg1)->SetNormalFont((wxFont const &)*arg2); | |
14547 | wxPyEndAllowThreads(__tstate); | |
14548 | if (PyErr_Occurred()) SWIG_fail; | |
14549 | } | |
14550 | resultobj = SWIG_Py_Void(); | |
14551 | return resultobj; | |
14552 | fail: | |
14553 | return NULL; | |
14554 | } | |
14555 | ||
14556 | ||
14557 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14558 | PyObject *resultobj = 0; | |
14559 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14560 | wxFont *arg2 = 0 ; | |
14561 | void *argp1 = 0 ; | |
14562 | int res1 = 0 ; | |
14563 | void *argp2 = 0 ; | |
14564 | int res2 = 0 ; | |
14565 | PyObject * obj0 = 0 ; | |
14566 | PyObject * obj1 = 0 ; | |
14567 | char * kwnames[] = { | |
14568 | (char *) "self",(char *) "selected_font", NULL | |
14569 | }; | |
14570 | ||
14571 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14572 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14573 | if (!SWIG_IsOK(res1)) { | |
14574 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14575 | } | |
14576 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14577 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14578 | if (!SWIG_IsOK(res2)) { | |
14579 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14580 | } | |
14581 | if (!argp2) { | |
14582 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14583 | } | |
14584 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14585 | { | |
14586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14587 | (arg1)->SetSelectedFont((wxFont const &)*arg2); | |
14588 | wxPyEndAllowThreads(__tstate); | |
14589 | if (PyErr_Occurred()) SWIG_fail; | |
14590 | } | |
14591 | resultobj = SWIG_Py_Void(); | |
14592 | return resultobj; | |
14593 | fail: | |
14594 | return NULL; | |
14595 | } | |
14596 | ||
14597 | ||
14598 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14599 | PyObject *resultobj = 0; | |
14600 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14601 | wxFont *arg2 = 0 ; | |
14602 | void *argp1 = 0 ; | |
14603 | int res1 = 0 ; | |
14604 | void *argp2 = 0 ; | |
14605 | int res2 = 0 ; | |
14606 | PyObject * obj0 = 0 ; | |
14607 | PyObject * obj1 = 0 ; | |
14608 | char * kwnames[] = { | |
14609 | (char *) "self",(char *) "measuring_font", NULL | |
14610 | }; | |
14611 | ||
14612 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail; | |
14613 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14614 | if (!SWIG_IsOK(res1)) { | |
14615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14616 | } | |
14617 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14618 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0); | |
14619 | if (!SWIG_IsOK(res2)) { | |
14620 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14621 | } | |
14622 | if (!argp2) { | |
14623 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'"); | |
14624 | } | |
14625 | arg2 = reinterpret_cast< wxFont * >(argp2); | |
14626 | { | |
14627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14628 | (arg1)->SetMeasuringFont((wxFont const &)*arg2); | |
14629 | wxPyEndAllowThreads(__tstate); | |
14630 | if (PyErr_Occurred()) SWIG_fail; | |
14631 | } | |
14632 | resultobj = SWIG_Py_Void(); | |
14633 | return resultobj; | |
14634 | fail: | |
14635 | return NULL; | |
14636 | } | |
14637 | ||
14638 | ||
14639 | SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14640 | PyObject *resultobj = 0; | |
14641 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14642 | void *argp1 = 0 ; | |
14643 | int res1 = 0 ; | |
14644 | PyObject *swig_obj[1] ; | |
14645 | ||
14646 | if (!args) SWIG_fail; | |
14647 | swig_obj[0] = args; | |
14648 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14649 | if (!SWIG_IsOK(res1)) { | |
14650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14651 | } | |
14652 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14653 | { | |
14654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14655 | (arg1)->DoShowHide(); | |
14656 | wxPyEndAllowThreads(__tstate); | |
14657 | if (PyErr_Occurred()) SWIG_fail; | |
14658 | } | |
14659 | resultobj = SWIG_Py_Void(); | |
14660 | return resultobj; | |
14661 | fail: | |
14662 | return NULL; | |
14663 | } | |
14664 | ||
14665 | ||
14666 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14667 | PyObject *resultobj = 0; | |
14668 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14669 | wxRect *arg2 = 0 ; | |
14670 | void *argp1 = 0 ; | |
14671 | int res1 = 0 ; | |
14672 | wxRect temp2 ; | |
14673 | PyObject * obj0 = 0 ; | |
14674 | PyObject * obj1 = 0 ; | |
14675 | char * kwnames[] = { | |
14676 | (char *) "self",(char *) "rect", NULL | |
14677 | }; | |
14678 | ||
14679 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail; | |
14680 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14681 | if (!SWIG_IsOK(res1)) { | |
14682 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14683 | } | |
14684 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14685 | { | |
14686 | arg2 = &temp2; | |
14687 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
14688 | } | |
14689 | { | |
14690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14691 | (arg1)->SetRect((wxRect const &)*arg2); | |
14692 | wxPyEndAllowThreads(__tstate); | |
14693 | if (PyErr_Occurred()) SWIG_fail; | |
14694 | } | |
14695 | resultobj = SWIG_Py_Void(); | |
14696 | return resultobj; | |
14697 | fail: | |
14698 | return NULL; | |
14699 | } | |
14700 | ||
14701 | ||
36cb9ebe RD |
14702 | SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14703 | PyObject *resultobj = 0; | |
14704 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14705 | int arg2 ; | |
14706 | void *argp1 = 0 ; | |
14707 | int res1 = 0 ; | |
14708 | int val2 ; | |
14709 | int ecode2 = 0 ; | |
14710 | PyObject * obj0 = 0 ; | |
14711 | PyObject * obj1 = 0 ; | |
14712 | char * kwnames[] = { | |
14713 | (char *) "self",(char *) "id", NULL | |
14714 | }; | |
14715 | ||
14716 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail; | |
14717 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14718 | if (!SWIG_IsOK(res1)) { | |
14719 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14720 | } | |
14721 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14722 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14723 | if (!SWIG_IsOK(ecode2)) { | |
14724 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'"); | |
14725 | } | |
14726 | arg2 = static_cast< int >(val2); | |
14727 | { | |
14728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14729 | (arg1)->RemoveButton(arg2); | |
14730 | wxPyEndAllowThreads(__tstate); | |
14731 | if (PyErr_Occurred()) SWIG_fail; | |
14732 | } | |
14733 | resultobj = SWIG_Py_Void(); | |
14734 | return resultobj; | |
14735 | fail: | |
14736 | return NULL; | |
14737 | } | |
14738 | ||
14739 | ||
10044bf1 RD |
14740 | SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
14741 | PyObject *resultobj = 0; | |
14742 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14743 | int arg2 ; | |
5c8c7dd3 | 14744 | int arg3 ; |
8f514ab4 RD |
14745 | wxBitmap const &arg4_defvalue = wxNullBitmap ; |
14746 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
14747 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
14748 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
10044bf1 RD |
14749 | void *argp1 = 0 ; |
14750 | int res1 = 0 ; | |
14751 | int val2 ; | |
14752 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
14753 | int val3 ; |
14754 | int ecode3 = 0 ; | |
14755 | void *argp4 = 0 ; | |
14756 | int res4 = 0 ; | |
8f514ab4 RD |
14757 | void *argp5 = 0 ; |
14758 | int res5 = 0 ; | |
10044bf1 RD |
14759 | PyObject * obj0 = 0 ; |
14760 | PyObject * obj1 = 0 ; | |
14761 | PyObject * obj2 = 0 ; | |
5c8c7dd3 | 14762 | PyObject * obj3 = 0 ; |
8f514ab4 | 14763 | PyObject * obj4 = 0 ; |
10044bf1 | 14764 | char * kwnames[] = { |
8f514ab4 | 14765 | (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL |
10044bf1 RD |
14766 | }; |
14767 | ||
8f514ab4 | 14768 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
14769 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); |
14770 | if (!SWIG_IsOK(res1)) { | |
14771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14772 | } | |
14773 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14774 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14775 | if (!SWIG_IsOK(ecode2)) { | |
14776 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'"); | |
14777 | } | |
14778 | arg2 = static_cast< int >(val2); | |
5c8c7dd3 RD |
14779 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
14780 | if (!SWIG_IsOK(ecode3)) { | |
14781 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'"); | |
14782 | } | |
14783 | arg3 = static_cast< int >(val3); | |
8f514ab4 RD |
14784 | if (obj3) { |
14785 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14786 | if (!SWIG_IsOK(res4)) { | |
14787 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14788 | } | |
14789 | if (!argp4) { | |
14790 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
14791 | } | |
14792 | arg4 = reinterpret_cast< wxBitmap * >(argp4); | |
10044bf1 | 14793 | } |
8f514ab4 RD |
14794 | if (obj4) { |
14795 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
14796 | if (!SWIG_IsOK(res5)) { | |
14797 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14798 | } | |
14799 | if (!argp5) { | |
14800 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'"); | |
14801 | } | |
14802 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
10044bf1 | 14803 | } |
10044bf1 RD |
14804 | { |
14805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8f514ab4 RD |
14806 | (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5); |
14807 | wxPyEndAllowThreads(__tstate); | |
14808 | if (PyErr_Occurred()) SWIG_fail; | |
14809 | } | |
14810 | resultobj = SWIG_Py_Void(); | |
14811 | return resultobj; | |
14812 | fail: | |
14813 | return NULL; | |
14814 | } | |
14815 | ||
14816 | ||
14817 | SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14818 | PyObject *resultobj = 0; | |
14819 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14820 | size_t result; | |
14821 | void *argp1 = 0 ; | |
14822 | int res1 = 0 ; | |
14823 | PyObject *swig_obj[1] ; | |
14824 | ||
14825 | if (!args) SWIG_fail; | |
14826 | swig_obj[0] = args; | |
14827 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14828 | if (!SWIG_IsOK(res1)) { | |
14829 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'"); | |
14830 | } | |
14831 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14832 | { | |
14833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14834 | result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset(); | |
14835 | wxPyEndAllowThreads(__tstate); | |
14836 | if (PyErr_Occurred()) SWIG_fail; | |
14837 | } | |
14838 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
14839 | return resultobj; | |
14840 | fail: | |
14841 | return NULL; | |
14842 | } | |
14843 | ||
14844 | ||
14845 | SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14846 | PyObject *resultobj = 0; | |
14847 | wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ; | |
14848 | size_t arg2 ; | |
14849 | void *argp1 = 0 ; | |
14850 | int res1 = 0 ; | |
14851 | size_t val2 ; | |
14852 | int ecode2 = 0 ; | |
14853 | PyObject * obj0 = 0 ; | |
14854 | PyObject * obj1 = 0 ; | |
14855 | char * kwnames[] = { | |
14856 | (char *) "self",(char *) "offset", NULL | |
14857 | }; | |
14858 | ||
14859 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail; | |
14860 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 ); | |
14861 | if (!SWIG_IsOK(res1)) { | |
14862 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'"); | |
14863 | } | |
14864 | arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1); | |
14865 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
14866 | if (!SWIG_IsOK(ecode2)) { | |
14867 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'"); | |
14868 | } | |
14869 | arg2 = static_cast< size_t >(val2); | |
14870 | { | |
14871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14872 | (arg1)->SetTabOffset(arg2); | |
10044bf1 RD |
14873 | wxPyEndAllowThreads(__tstate); |
14874 | if (PyErr_Occurred()) SWIG_fail; | |
14875 | } | |
14876 | resultobj = SWIG_Py_Void(); | |
14877 | return resultobj; | |
14878 | fail: | |
14879 | return NULL; | |
14880 | } | |
14881 | ||
14882 | ||
14883 | SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14884 | PyObject *obj; | |
14885 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14886 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj)); | |
14887 | return SWIG_Py_Void(); | |
14888 | } | |
14889 | ||
14890 | SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
14891 | return SWIG_Python_InitShadowInstance(args); | |
14892 | } | |
14893 | ||
14894 | SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
14895 | PyObject *resultobj = 0; | |
14896 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14897 | int arg2 = (int) wxID_ANY ; | |
14898 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
14899 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14900 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14901 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14902 | long arg5 = (long) 0 ; | |
14903 | wxAuiTabCtrl *result = 0 ; | |
14904 | void *argp1 = 0 ; | |
14905 | int res1 = 0 ; | |
14906 | int val2 ; | |
14907 | int ecode2 = 0 ; | |
14908 | wxPoint temp3 ; | |
14909 | wxSize temp4 ; | |
14910 | long val5 ; | |
14911 | int ecode5 = 0 ; | |
14912 | PyObject * obj0 = 0 ; | |
14913 | PyObject * obj1 = 0 ; | |
14914 | PyObject * obj2 = 0 ; | |
14915 | PyObject * obj3 = 0 ; | |
14916 | PyObject * obj4 = 0 ; | |
14917 | char * kwnames[] = { | |
14918 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
14919 | }; | |
14920 | ||
14921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
14922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
14923 | if (!SWIG_IsOK(res1)) { | |
14924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
14925 | } | |
14926 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
14927 | if (obj1) { | |
14928 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
14929 | if (!SWIG_IsOK(ecode2)) { | |
14930 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'"); | |
14931 | } | |
14932 | arg2 = static_cast< int >(val2); | |
14933 | } | |
14934 | if (obj2) { | |
14935 | { | |
14936 | arg3 = &temp3; | |
14937 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14938 | } | |
14939 | } | |
14940 | if (obj3) { | |
14941 | { | |
14942 | arg4 = &temp4; | |
14943 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14944 | } | |
14945 | } | |
14946 | if (obj4) { | |
14947 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
14948 | if (!SWIG_IsOK(ecode5)) { | |
14949 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'"); | |
14950 | } | |
14951 | arg5 = static_cast< long >(val5); | |
14952 | } | |
14953 | { | |
14954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14955 | result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
14956 | wxPyEndAllowThreads(__tstate); | |
14957 | if (PyErr_Occurred()) SWIG_fail; | |
14958 | } | |
14959 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 ); | |
14960 | return resultobj; | |
14961 | fail: | |
14962 | return NULL; | |
14963 | } | |
14964 | ||
14965 | ||
580080c5 RD |
14966 | SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14967 | PyObject *resultobj = 0; | |
14968 | wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ; | |
14969 | void *argp1 = 0 ; | |
14970 | int res1 = 0 ; | |
14971 | PyObject *swig_obj[1] ; | |
14972 | ||
14973 | if (!args) SWIG_fail; | |
14974 | swig_obj[0] = args; | |
14975 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 ); | |
14976 | if (!SWIG_IsOK(res1)) { | |
14977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'"); | |
14978 | } | |
14979 | arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1); | |
14980 | { | |
14981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14982 | delete arg1; | |
14983 | ||
14984 | wxPyEndAllowThreads(__tstate); | |
14985 | if (PyErr_Occurred()) SWIG_fail; | |
14986 | } | |
14987 | resultobj = SWIG_Py_Void(); | |
14988 | return resultobj; | |
14989 | fail: | |
14990 | return NULL; | |
14991 | } | |
14992 | ||
14993 | ||
10044bf1 RD |
14994 | SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
14995 | PyObject *obj; | |
14996 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
14997 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj)); | |
14998 | return SWIG_Py_Void(); | |
14999 | } | |
15000 | ||
15001 | SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15002 | return SWIG_Python_InitShadowInstance(args); | |
15003 | } | |
15004 | ||
5eb8189c | 15005 | SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15006 | PyObject *resultobj = 0; |
5eb8189c | 15007 | wxAuiNotebook *result = 0 ; |
10044bf1 | 15008 | |
5eb8189c | 15009 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail; |
10044bf1 RD |
15010 | { |
15011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c | 15012 | result = (wxAuiNotebook *)new wxAuiNotebook(); |
10044bf1 RD |
15013 | wxPyEndAllowThreads(__tstate); |
15014 | if (PyErr_Occurred()) SWIG_fail; | |
15015 | } | |
5eb8189c | 15016 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 ); |
10044bf1 RD |
15017 | return resultobj; |
15018 | fail: | |
15019 | return NULL; | |
15020 | } | |
15021 | ||
15022 | ||
5eb8189c | 15023 | SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 RD |
15024 | PyObject *resultobj = 0; |
15025 | wxWindow *arg1 = (wxWindow *) 0 ; | |
15026 | int arg2 = (int) wxID_ANY ; | |
15027 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
15028 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15029 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15030 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5eb8189c RD |
15031 | long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ; |
15032 | wxAuiNotebook *result = 0 ; | |
10044bf1 RD |
15033 | void *argp1 = 0 ; |
15034 | int res1 = 0 ; | |
15035 | int val2 ; | |
15036 | int ecode2 = 0 ; | |
15037 | wxPoint temp3 ; | |
15038 | wxSize temp4 ; | |
15039 | long val5 ; | |
15040 | int ecode5 = 0 ; | |
15041 | PyObject * obj0 = 0 ; | |
15042 | PyObject * obj1 = 0 ; | |
15043 | PyObject * obj2 = 0 ; | |
15044 | PyObject * obj3 = 0 ; | |
15045 | PyObject * obj4 = 0 ; | |
15046 | char * kwnames[] = { | |
15047 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15048 | }; | |
15049 | ||
5eb8189c | 15050 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
10044bf1 RD |
15051 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15052 | if (!SWIG_IsOK(res1)) { | |
5eb8189c | 15053 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15054 | } |
15055 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
15056 | if (obj1) { | |
15057 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15058 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15059 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'"); |
10044bf1 RD |
15060 | } |
15061 | arg2 = static_cast< int >(val2); | |
15062 | } | |
15063 | if (obj2) { | |
15064 | { | |
15065 | arg3 = &temp3; | |
15066 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15067 | } | |
15068 | } | |
15069 | if (obj3) { | |
15070 | { | |
15071 | arg4 = &temp4; | |
15072 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15073 | } | |
15074 | } | |
15075 | if (obj4) { | |
15076 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
15077 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15078 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'"); |
10044bf1 RD |
15079 | } |
15080 | arg5 = static_cast< long >(val5); | |
15081 | } | |
15082 | { | |
15083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5eb8189c RD |
15084 | result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
15085 | wxPyEndAllowThreads(__tstate); | |
15086 | if (PyErr_Occurred()) SWIG_fail; | |
15087 | } | |
15088 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 ); | |
15089 | return resultobj; | |
15090 | fail: | |
15091 | return NULL; | |
15092 | } | |
15093 | ||
15094 | ||
15095 | SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15096 | PyObject *resultobj = 0; | |
15097 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15098 | void *argp1 = 0 ; | |
15099 | int res1 = 0 ; | |
15100 | PyObject *swig_obj[1] ; | |
15101 | ||
15102 | if (!args) SWIG_fail; | |
15103 | swig_obj[0] = args; | |
15104 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 ); | |
15105 | if (!SWIG_IsOK(res1)) { | |
15106 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15107 | } | |
15108 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15109 | { | |
15110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15111 | delete arg1; | |
15112 | ||
10044bf1 RD |
15113 | wxPyEndAllowThreads(__tstate); |
15114 | if (PyErr_Occurred()) SWIG_fail; | |
15115 | } | |
5eb8189c | 15116 | resultobj = SWIG_Py_Void(); |
10044bf1 RD |
15117 | return resultobj; |
15118 | fail: | |
15119 | return NULL; | |
15120 | } | |
15121 | ||
15122 | ||
5eb8189c | 15123 | SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15124 | PyObject *resultobj = 0; |
5eb8189c | 15125 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15126 | wxWindow *arg2 = (wxWindow *) 0 ; |
15127 | int arg3 = (int) wxID_ANY ; | |
15128 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
15129 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15130 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15131 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15132 | long arg6 = (long) 0 ; | |
15133 | bool result; | |
15134 | void *argp1 = 0 ; | |
15135 | int res1 = 0 ; | |
15136 | void *argp2 = 0 ; | |
15137 | int res2 = 0 ; | |
15138 | int val3 ; | |
15139 | int ecode3 = 0 ; | |
15140 | wxPoint temp4 ; | |
15141 | wxSize temp5 ; | |
15142 | long val6 ; | |
15143 | int ecode6 = 0 ; | |
15144 | PyObject * obj0 = 0 ; | |
15145 | PyObject * obj1 = 0 ; | |
15146 | PyObject * obj2 = 0 ; | |
15147 | PyObject * obj3 = 0 ; | |
15148 | PyObject * obj4 = 0 ; | |
15149 | PyObject * obj5 = 0 ; | |
15150 | char * kwnames[] = { | |
15151 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
15152 | }; | |
15153 | ||
5eb8189c RD |
15154 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15155 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15156 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15158 | } |
5eb8189c | 15159 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15160 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15161 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15162 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15163 | } |
15164 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15165 | if (obj2) { | |
15166 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
15167 | if (!SWIG_IsOK(ecode3)) { | |
5eb8189c | 15168 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'"); |
10044bf1 RD |
15169 | } |
15170 | arg3 = static_cast< int >(val3); | |
15171 | } | |
15172 | if (obj3) { | |
15173 | { | |
15174 | arg4 = &temp4; | |
15175 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15176 | } | |
15177 | } | |
15178 | if (obj4) { | |
15179 | { | |
15180 | arg5 = &temp5; | |
15181 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15182 | } | |
15183 | } | |
15184 | if (obj5) { | |
15185 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
15186 | if (!SWIG_IsOK(ecode6)) { | |
5eb8189c | 15187 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'"); |
10044bf1 RD |
15188 | } |
15189 | arg6 = static_cast< long >(val6); | |
15190 | } | |
15191 | { | |
15192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15193 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
15194 | wxPyEndAllowThreads(__tstate); | |
15195 | if (PyErr_Occurred()) SWIG_fail; | |
15196 | } | |
15197 | { | |
15198 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15199 | } | |
15200 | return resultobj; | |
15201 | fail: | |
15202 | return NULL; | |
15203 | } | |
15204 | ||
15205 | ||
a6927690 RD |
15206 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
15207 | PyObject *resultobj = 0; | |
15208 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15209 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
15210 | void *argp1 = 0 ; | |
15211 | int res1 = 0 ; | |
15212 | void *argp2 = 0 ; | |
15213 | int res2 = 0 ; | |
15214 | PyObject * obj0 = 0 ; | |
15215 | PyObject * obj1 = 0 ; | |
15216 | char * kwnames[] = { | |
15217 | (char *) "self",(char *) "art", NULL | |
15218 | }; | |
15219 | ||
15220 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
15221 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15222 | if (!SWIG_IsOK(res1)) { | |
15223 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15224 | } | |
15225 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15226 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15227 | if (!SWIG_IsOK(res2)) { | |
15228 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
15229 | } | |
15230 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
15231 | { | |
15232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15233 | (arg1)->SetArtProvider(arg2); | |
15234 | wxPyEndAllowThreads(__tstate); | |
15235 | if (PyErr_Occurred()) SWIG_fail; | |
15236 | } | |
15237 | resultobj = SWIG_Py_Void(); | |
15238 | return resultobj; | |
15239 | fail: | |
15240 | return NULL; | |
15241 | } | |
15242 | ||
15243 | ||
15244 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
15245 | PyObject *resultobj = 0; | |
15246 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15247 | wxAuiTabArt *result = 0 ; | |
15248 | void *argp1 = 0 ; | |
15249 | int res1 = 0 ; | |
15250 | PyObject *swig_obj[1] ; | |
15251 | ||
15252 | if (!args) SWIG_fail; | |
15253 | swig_obj[0] = args; | |
15254 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15255 | if (!SWIG_IsOK(res1)) { | |
15256 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
15257 | } | |
15258 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15259 | { | |
15260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15261 | result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); | |
15262 | wxPyEndAllowThreads(__tstate); | |
15263 | if (PyErr_Occurred()) SWIG_fail; | |
15264 | } | |
15265 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
15266 | return resultobj; | |
15267 | fail: | |
15268 | return NULL; | |
15269 | } | |
15270 | ||
15271 | ||
15272 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15273 | PyObject *resultobj = 0; | |
15274 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15275 | wxSize *arg2 = 0 ; | |
15276 | void *argp1 = 0 ; | |
15277 | int res1 = 0 ; | |
15278 | wxSize temp2 ; | |
15279 | PyObject * obj0 = 0 ; | |
15280 | PyObject * obj1 = 0 ; | |
15281 | char * kwnames[] = { | |
15282 | (char *) "self",(char *) "size", NULL | |
15283 | }; | |
15284 | ||
15285 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; | |
15286 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15287 | if (!SWIG_IsOK(res1)) { | |
15288 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15289 | } | |
15290 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15291 | { | |
15292 | arg2 = &temp2; | |
15293 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15294 | } | |
15295 | { | |
15296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15297 | (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); | |
15298 | wxPyEndAllowThreads(__tstate); | |
15299 | if (PyErr_Occurred()) SWIG_fail; | |
15300 | } | |
15301 | resultobj = SWIG_Py_Void(); | |
15302 | return resultobj; | |
15303 | fail: | |
15304 | return NULL; | |
15305 | } | |
15306 | ||
15307 | ||
15308 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
15309 | PyObject *resultobj = 0; | |
15310 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15311 | int arg2 ; | |
15312 | void *argp1 = 0 ; | |
15313 | int res1 = 0 ; | |
15314 | int val2 ; | |
15315 | int ecode2 = 0 ; | |
15316 | PyObject * obj0 = 0 ; | |
15317 | PyObject * obj1 = 0 ; | |
15318 | char * kwnames[] = { | |
15319 | (char *) "self",(char *) "height", NULL | |
15320 | }; | |
15321 | ||
15322 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; | |
15323 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
15324 | if (!SWIG_IsOK(res1)) { | |
15325 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); | |
15326 | } | |
15327 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15328 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
15329 | if (!SWIG_IsOK(ecode2)) { | |
15330 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); | |
15331 | } | |
15332 | arg2 = static_cast< int >(val2); | |
15333 | { | |
15334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15335 | (arg1)->SetTabCtrlHeight(arg2); | |
15336 | wxPyEndAllowThreads(__tstate); | |
15337 | if (PyErr_Occurred()) SWIG_fail; | |
15338 | } | |
15339 | resultobj = SWIG_Py_Void(); | |
15340 | return resultobj; | |
15341 | fail: | |
15342 | return NULL; | |
15343 | } | |
15344 | ||
15345 | ||
5eb8189c | 15346 | SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15347 | PyObject *resultobj = 0; |
5eb8189c | 15348 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15349 | wxWindow *arg2 = (wxWindow *) 0 ; |
15350 | wxString *arg3 = 0 ; | |
15351 | bool arg4 = (bool) false ; | |
15352 | wxBitmap const &arg5_defvalue = wxNullBitmap ; | |
15353 | wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; | |
15354 | bool result; | |
15355 | void *argp1 = 0 ; | |
15356 | int res1 = 0 ; | |
15357 | void *argp2 = 0 ; | |
15358 | int res2 = 0 ; | |
15359 | bool temp3 = false ; | |
15360 | bool val4 ; | |
15361 | int ecode4 = 0 ; | |
15362 | void *argp5 = 0 ; | |
15363 | int res5 = 0 ; | |
15364 | PyObject * obj0 = 0 ; | |
15365 | PyObject * obj1 = 0 ; | |
15366 | PyObject * obj2 = 0 ; | |
15367 | PyObject * obj3 = 0 ; | |
15368 | PyObject * obj4 = 0 ; | |
15369 | char * kwnames[] = { | |
15370 | (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15371 | }; | |
15372 | ||
5eb8189c RD |
15373 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
15374 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15375 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15376 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15377 | } |
5eb8189c | 15378 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15379 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15380 | if (!SWIG_IsOK(res2)) { | |
5eb8189c | 15381 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15382 | } |
15383 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
15384 | { | |
15385 | arg3 = wxString_in_helper(obj2); | |
15386 | if (arg3 == NULL) SWIG_fail; | |
15387 | temp3 = true; | |
15388 | } | |
15389 | if (obj3) { | |
15390 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
15391 | if (!SWIG_IsOK(ecode4)) { | |
5eb8189c | 15392 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); |
10044bf1 RD |
15393 | } |
15394 | arg4 = static_cast< bool >(val4); | |
15395 | } | |
15396 | if (obj4) { | |
15397 | res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15398 | if (!SWIG_IsOK(res5)) { | |
5eb8189c | 15399 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15400 | } |
15401 | if (!argp5) { | |
5eb8189c | 15402 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15403 | } |
15404 | arg5 = reinterpret_cast< wxBitmap * >(argp5); | |
15405 | } | |
15406 | { | |
15407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15408 | result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); | |
15409 | wxPyEndAllowThreads(__tstate); | |
15410 | if (PyErr_Occurred()) SWIG_fail; | |
15411 | } | |
15412 | { | |
15413 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15414 | } | |
15415 | { | |
15416 | if (temp3) | |
15417 | delete arg3; | |
15418 | } | |
15419 | return resultobj; | |
15420 | fail: | |
15421 | { | |
15422 | if (temp3) | |
15423 | delete arg3; | |
15424 | } | |
15425 | return NULL; | |
15426 | } | |
15427 | ||
15428 | ||
5eb8189c | 15429 | SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15430 | PyObject *resultobj = 0; |
5eb8189c | 15431 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15432 | size_t arg2 ; |
15433 | wxWindow *arg3 = (wxWindow *) 0 ; | |
15434 | wxString *arg4 = 0 ; | |
15435 | bool arg5 = (bool) false ; | |
15436 | wxBitmap const &arg6_defvalue = wxNullBitmap ; | |
15437 | wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; | |
15438 | bool result; | |
15439 | void *argp1 = 0 ; | |
15440 | int res1 = 0 ; | |
15441 | size_t val2 ; | |
15442 | int ecode2 = 0 ; | |
15443 | void *argp3 = 0 ; | |
15444 | int res3 = 0 ; | |
15445 | bool temp4 = false ; | |
15446 | bool val5 ; | |
15447 | int ecode5 = 0 ; | |
15448 | void *argp6 = 0 ; | |
15449 | int res6 = 0 ; | |
15450 | PyObject * obj0 = 0 ; | |
15451 | PyObject * obj1 = 0 ; | |
15452 | PyObject * obj2 = 0 ; | |
15453 | PyObject * obj3 = 0 ; | |
15454 | PyObject * obj4 = 0 ; | |
15455 | PyObject * obj5 = 0 ; | |
15456 | char * kwnames[] = { | |
15457 | (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL | |
15458 | }; | |
15459 | ||
5eb8189c RD |
15460 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
15461 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15462 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15463 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15464 | } |
5eb8189c | 15465 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15466 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15467 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15468 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15469 | } |
15470 | arg2 = static_cast< size_t >(val2); | |
15471 | res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
15472 | if (!SWIG_IsOK(res3)) { | |
5eb8189c | 15473 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); |
10044bf1 RD |
15474 | } |
15475 | arg3 = reinterpret_cast< wxWindow * >(argp3); | |
15476 | { | |
15477 | arg4 = wxString_in_helper(obj3); | |
15478 | if (arg4 == NULL) SWIG_fail; | |
15479 | temp4 = true; | |
15480 | } | |
15481 | if (obj4) { | |
15482 | ecode5 = SWIG_AsVal_bool(obj4, &val5); | |
15483 | if (!SWIG_IsOK(ecode5)) { | |
5eb8189c | 15484 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); |
10044bf1 RD |
15485 | } |
15486 | arg5 = static_cast< bool >(val5); | |
15487 | } | |
15488 | if (obj5) { | |
15489 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15490 | if (!SWIG_IsOK(res6)) { | |
5eb8189c | 15491 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15492 | } |
15493 | if (!argp6) { | |
5eb8189c | 15494 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); |
10044bf1 RD |
15495 | } |
15496 | arg6 = reinterpret_cast< wxBitmap * >(argp6); | |
15497 | } | |
15498 | { | |
15499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15500 | result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); | |
15501 | wxPyEndAllowThreads(__tstate); | |
15502 | if (PyErr_Occurred()) SWIG_fail; | |
15503 | } | |
15504 | { | |
15505 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15506 | } | |
15507 | { | |
15508 | if (temp4) | |
15509 | delete arg4; | |
15510 | } | |
15511 | return resultobj; | |
15512 | fail: | |
15513 | { | |
15514 | if (temp4) | |
15515 | delete arg4; | |
15516 | } | |
15517 | return NULL; | |
15518 | } | |
15519 | ||
15520 | ||
5eb8189c | 15521 | SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15522 | PyObject *resultobj = 0; |
5eb8189c | 15523 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15524 | size_t arg2 ; |
15525 | bool result; | |
15526 | void *argp1 = 0 ; | |
15527 | int res1 = 0 ; | |
15528 | size_t val2 ; | |
15529 | int ecode2 = 0 ; | |
15530 | PyObject * obj0 = 0 ; | |
15531 | PyObject * obj1 = 0 ; | |
15532 | char * kwnames[] = { | |
15533 | (char *) "self",(char *) "page", NULL | |
15534 | }; | |
15535 | ||
5eb8189c RD |
15536 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15537 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15538 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15539 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15540 | } |
5eb8189c | 15541 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15542 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15543 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15544 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15545 | } |
15546 | arg2 = static_cast< size_t >(val2); | |
15547 | { | |
15548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15549 | result = (bool)(arg1)->DeletePage(arg2); | |
15550 | wxPyEndAllowThreads(__tstate); | |
15551 | if (PyErr_Occurred()) SWIG_fail; | |
15552 | } | |
15553 | { | |
15554 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15555 | } | |
15556 | return resultobj; | |
15557 | fail: | |
15558 | return NULL; | |
15559 | } | |
15560 | ||
15561 | ||
5eb8189c | 15562 | SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15563 | PyObject *resultobj = 0; |
5eb8189c | 15564 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 RD |
15565 | size_t arg2 ; |
15566 | bool result; | |
15567 | void *argp1 = 0 ; | |
15568 | int res1 = 0 ; | |
15569 | size_t val2 ; | |
15570 | int ecode2 = 0 ; | |
15571 | PyObject * obj0 = 0 ; | |
15572 | PyObject * obj1 = 0 ; | |
15573 | char * kwnames[] = { | |
15574 | (char *) "self",(char *) "page", NULL | |
15575 | }; | |
15576 | ||
5eb8189c RD |
15577 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; |
15578 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15579 | if (!SWIG_IsOK(res1)) { |
5eb8189c | 15580 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15581 | } |
5eb8189c | 15582 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15583 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15584 | if (!SWIG_IsOK(ecode2)) { | |
5eb8189c | 15585 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15586 | } |
15587 | arg2 = static_cast< size_t >(val2); | |
15588 | { | |
15589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15590 | result = (bool)(arg1)->RemovePage(arg2); | |
15591 | wxPyEndAllowThreads(__tstate); | |
15592 | if (PyErr_Occurred()) SWIG_fail; | |
15593 | } | |
15594 | { | |
15595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15596 | } | |
15597 | return resultobj; | |
15598 | fail: | |
15599 | return NULL; | |
15600 | } | |
15601 | ||
15602 | ||
a6927690 | 15603 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 | 15604 | PyObject *resultobj = 0; |
5eb8189c | 15605 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 | 15606 | size_t result; |
10044bf1 RD |
15607 | void *argp1 = 0 ; |
15608 | int res1 = 0 ; | |
a6927690 | 15609 | PyObject *swig_obj[1] ; |
10044bf1 | 15610 | |
a6927690 RD |
15611 | if (!args) SWIG_fail; |
15612 | swig_obj[0] = args; | |
15613 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15614 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15615 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15616 | } |
5eb8189c | 15617 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15618 | { |
15619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15620 | result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); |
10044bf1 RD |
15621 | wxPyEndAllowThreads(__tstate); |
15622 | if (PyErr_Occurred()) SWIG_fail; | |
15623 | } | |
a6927690 | 15624 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
10044bf1 RD |
15625 | return resultobj; |
15626 | fail: | |
10044bf1 RD |
15627 | return NULL; |
15628 | } | |
15629 | ||
15630 | ||
a6927690 | 15631 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15632 | PyObject *resultobj = 0; |
15633 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
15634 | size_t arg2 ; | |
a6927690 | 15635 | wxWindow *result = 0 ; |
5172800e RD |
15636 | void *argp1 = 0 ; |
15637 | int res1 = 0 ; | |
15638 | size_t val2 ; | |
15639 | int ecode2 = 0 ; | |
5172800e RD |
15640 | PyObject * obj0 = 0 ; |
15641 | PyObject * obj1 = 0 ; | |
5172800e | 15642 | char * kwnames[] = { |
a6927690 | 15643 | (char *) "self",(char *) "page_idx", NULL |
5172800e RD |
15644 | }; |
15645 | ||
a6927690 | 15646 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; |
5172800e RD |
15647 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15648 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5172800e RD |
15650 | } |
15651 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
15652 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
15653 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15654 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); |
5172800e RD |
15655 | } |
15656 | arg2 = static_cast< size_t >(val2); | |
5172800e RD |
15657 | { |
15658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15659 | result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); |
5172800e RD |
15660 | wxPyEndAllowThreads(__tstate); |
15661 | if (PyErr_Occurred()) SWIG_fail; | |
15662 | } | |
15663 | { | |
a6927690 | 15664 | resultobj = wxPyMake_wxObject(result, 0); |
5172800e RD |
15665 | } |
15666 | return resultobj; | |
15667 | fail: | |
15668 | return NULL; | |
15669 | } | |
15670 | ||
15671 | ||
a6927690 | 15672 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15673 | PyObject *resultobj = 0; |
5eb8189c | 15674 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15675 | wxWindow *arg2 = (wxWindow *) 0 ; |
15676 | int result; | |
10044bf1 RD |
15677 | void *argp1 = 0 ; |
15678 | int res1 = 0 ; | |
a6927690 RD |
15679 | void *argp2 = 0 ; |
15680 | int res2 = 0 ; | |
10044bf1 RD |
15681 | PyObject * obj0 = 0 ; |
15682 | PyObject * obj1 = 0 ; | |
15683 | char * kwnames[] = { | |
a6927690 | 15684 | (char *) "self",(char *) "page_wnd", NULL |
10044bf1 RD |
15685 | }; |
15686 | ||
a6927690 | 15687 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15688 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15689 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15690 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15691 | } |
5eb8189c | 15692 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15693 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
15694 | if (!SWIG_IsOK(res2)) { | |
15695 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
15696 | } | |
15697 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10044bf1 RD |
15698 | { |
15699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15700 | result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); |
10044bf1 RD |
15701 | wxPyEndAllowThreads(__tstate); |
15702 | if (PyErr_Occurred()) SWIG_fail; | |
15703 | } | |
a6927690 | 15704 | resultobj = SWIG_From_int(static_cast< int >(result)); |
10044bf1 RD |
15705 | return resultobj; |
15706 | fail: | |
15707 | return NULL; | |
15708 | } | |
15709 | ||
15710 | ||
a6927690 | 15711 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15712 | PyObject *resultobj = 0; |
5eb8189c | 15713 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15714 | size_t arg2 ; |
15715 | wxString *arg3 = 0 ; | |
15716 | bool result; | |
10044bf1 RD |
15717 | void *argp1 = 0 ; |
15718 | int res1 = 0 ; | |
a6927690 RD |
15719 | size_t val2 ; |
15720 | int ecode2 = 0 ; | |
15721 | bool temp3 = false ; | |
15722 | PyObject * obj0 = 0 ; | |
15723 | PyObject * obj1 = 0 ; | |
15724 | PyObject * obj2 = 0 ; | |
15725 | char * kwnames[] = { | |
15726 | (char *) "self",(char *) "page",(char *) "text", NULL | |
15727 | }; | |
10044bf1 | 15728 | |
a6927690 RD |
15729 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
15730 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
10044bf1 | 15731 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15732 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
10044bf1 | 15733 | } |
5eb8189c | 15734 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15735 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15736 | if (!SWIG_IsOK(ecode2)) { | |
15737 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); | |
15738 | } | |
15739 | arg2 = static_cast< size_t >(val2); | |
15740 | { | |
15741 | arg3 = wxString_in_helper(obj2); | |
15742 | if (arg3 == NULL) SWIG_fail; | |
15743 | temp3 = true; | |
15744 | } | |
10044bf1 RD |
15745 | { |
15746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15747 | result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); |
10044bf1 RD |
15748 | wxPyEndAllowThreads(__tstate); |
15749 | if (PyErr_Occurred()) SWIG_fail; | |
15750 | } | |
a6927690 RD |
15751 | { |
15752 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10044bf1 | 15753 | } |
10044bf1 | 15754 | { |
a6927690 RD |
15755 | if (temp3) |
15756 | delete arg3; | |
10044bf1 | 15757 | } |
10044bf1 RD |
15758 | return resultobj; |
15759 | fail: | |
a6927690 RD |
15760 | { |
15761 | if (temp3) | |
15762 | delete arg3; | |
15763 | } | |
10044bf1 RD |
15764 | return NULL; |
15765 | } | |
15766 | ||
15767 | ||
a6927690 | 15768 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10044bf1 | 15769 | PyObject *resultobj = 0; |
5eb8189c | 15770 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
10044bf1 | 15771 | size_t arg2 ; |
a6927690 | 15772 | wxString result; |
10044bf1 RD |
15773 | void *argp1 = 0 ; |
15774 | int res1 = 0 ; | |
15775 | size_t val2 ; | |
15776 | int ecode2 = 0 ; | |
15777 | PyObject * obj0 = 0 ; | |
15778 | PyObject * obj1 = 0 ; | |
15779 | char * kwnames[] = { | |
15780 | (char *) "self",(char *) "page_idx", NULL | |
15781 | }; | |
15782 | ||
a6927690 | 15783 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15784 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
10044bf1 | 15785 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15786 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
10044bf1 | 15787 | } |
5eb8189c | 15788 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
10044bf1 RD |
15789 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15790 | if (!SWIG_IsOK(ecode2)) { | |
a6927690 | 15791 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageText" "', expected argument " "2"" of type '" "size_t""'"); |
10044bf1 RD |
15792 | } |
15793 | arg2 = static_cast< size_t >(val2); | |
15794 | { | |
15795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15796 | result = ((wxAuiNotebook const *)arg1)->GetPageText(arg2); |
10044bf1 RD |
15797 | wxPyEndAllowThreads(__tstate); |
15798 | if (PyErr_Occurred()) SWIG_fail; | |
15799 | } | |
15800 | { | |
a6927690 RD |
15801 | #if wxUSE_UNICODE |
15802 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
15803 | #else | |
15804 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
15805 | #endif | |
10044bf1 RD |
15806 | } |
15807 | return resultobj; | |
15808 | fail: | |
15809 | return NULL; | |
15810 | } | |
15811 | ||
15812 | ||
a6927690 | 15813 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5172800e RD |
15814 | PyObject *resultobj = 0; |
15815 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15816 | size_t arg2 ; |
15817 | wxBitmap *arg3 = 0 ; | |
15818 | bool result; | |
5172800e RD |
15819 | void *argp1 = 0 ; |
15820 | int res1 = 0 ; | |
a6927690 RD |
15821 | size_t val2 ; |
15822 | int ecode2 = 0 ; | |
15823 | void *argp3 = 0 ; | |
15824 | int res3 = 0 ; | |
5172800e RD |
15825 | PyObject * obj0 = 0 ; |
15826 | PyObject * obj1 = 0 ; | |
a6927690 | 15827 | PyObject * obj2 = 0 ; |
5172800e | 15828 | char * kwnames[] = { |
a6927690 | 15829 | (char *) "self",(char *) "page",(char *) "bitmap", NULL |
5172800e RD |
15830 | }; |
15831 | ||
a6927690 | 15832 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
5172800e RD |
15833 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15834 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15835 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5172800e RD |
15836 | } |
15837 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 RD |
15838 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15839 | if (!SWIG_IsOK(ecode2)) { | |
15840 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15841 | } | |
15842 | arg2 = static_cast< size_t >(val2); | |
15843 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
15844 | if (!SWIG_IsOK(res3)) { | |
15845 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
5172800e | 15846 | } |
a6927690 RD |
15847 | if (!argp3) { |
15848 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
15849 | } | |
15850 | arg3 = reinterpret_cast< wxBitmap * >(argp3); | |
5172800e RD |
15851 | { |
15852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15853 | result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); |
5172800e RD |
15854 | wxPyEndAllowThreads(__tstate); |
15855 | if (PyErr_Occurred()) SWIG_fail; | |
15856 | } | |
a6927690 RD |
15857 | { |
15858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15859 | } | |
5172800e RD |
15860 | return resultobj; |
15861 | fail: | |
15862 | return NULL; | |
15863 | } | |
15864 | ||
15865 | ||
a6927690 | 15866 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15867 | PyObject *resultobj = 0; |
5eb8189c | 15868 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15869 | size_t arg2 ; |
15870 | wxBitmap result; | |
5c8c7dd3 RD |
15871 | void *argp1 = 0 ; |
15872 | int res1 = 0 ; | |
a6927690 RD |
15873 | size_t val2 ; |
15874 | int ecode2 = 0 ; | |
5c8c7dd3 RD |
15875 | PyObject * obj0 = 0 ; |
15876 | PyObject * obj1 = 0 ; | |
15877 | char * kwnames[] = { | |
a6927690 | 15878 | (char *) "self",(char *) "page_idx", NULL |
5c8c7dd3 RD |
15879 | }; |
15880 | ||
a6927690 | 15881 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageBitmap",kwnames,&obj0,&obj1)) SWIG_fail; |
5eb8189c | 15882 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
5c8c7dd3 | 15883 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
5c8c7dd3 | 15885 | } |
5eb8189c | 15886 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15887 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15888 | if (!SWIG_IsOK(ecode2)) { | |
15889 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); | |
15890 | } | |
15891 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15892 | { |
15893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15894 | result = ((wxAuiNotebook const *)arg1)->GetPageBitmap(arg2); |
5c8c7dd3 RD |
15895 | wxPyEndAllowThreads(__tstate); |
15896 | if (PyErr_Occurred()) SWIG_fail; | |
15897 | } | |
a6927690 | 15898 | resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); |
5c8c7dd3 RD |
15899 | return resultobj; |
15900 | fail: | |
15901 | return NULL; | |
15902 | } | |
15903 | ||
15904 | ||
a6927690 | 15905 | SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5c8c7dd3 | 15906 | PyObject *resultobj = 0; |
5eb8189c | 15907 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; |
a6927690 RD |
15908 | size_t arg2 ; |
15909 | size_t result; | |
5c8c7dd3 RD |
15910 | void *argp1 = 0 ; |
15911 | int res1 = 0 ; | |
a6927690 RD |
15912 | size_t val2 ; |
15913 | int ecode2 = 0 ; | |
15914 | PyObject * obj0 = 0 ; | |
15915 | PyObject * obj1 = 0 ; | |
15916 | char * kwnames[] = { | |
15917 | (char *) "self",(char *) "new_page", NULL | |
15918 | }; | |
5c8c7dd3 | 15919 | |
a6927690 RD |
15920 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; |
15921 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
5c8c7dd3 | 15922 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
5c8c7dd3 | 15924 | } |
5eb8189c | 15925 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); |
a6927690 RD |
15926 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
15927 | if (!SWIG_IsOK(ecode2)) { | |
15928 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
15929 | } | |
15930 | arg2 = static_cast< size_t >(val2); | |
5c8c7dd3 RD |
15931 | { |
15932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15933 | result = (size_t)(arg1)->SetSelection(arg2); |
5c8c7dd3 RD |
15934 | wxPyEndAllowThreads(__tstate); |
15935 | if (PyErr_Occurred()) SWIG_fail; | |
15936 | } | |
a6927690 | 15937 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
5c8c7dd3 RD |
15938 | return resultobj; |
15939 | fail: | |
15940 | return NULL; | |
15941 | } | |
15942 | ||
15943 | ||
a6927690 | 15944 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8287c33f RD |
15945 | PyObject *resultobj = 0; |
15946 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 | 15947 | int result; |
8287c33f RD |
15948 | void *argp1 = 0 ; |
15949 | int res1 = 0 ; | |
a6927690 | 15950 | PyObject *swig_obj[1] ; |
8287c33f | 15951 | |
a6927690 RD |
15952 | if (!args) SWIG_fail; |
15953 | swig_obj[0] = args; | |
15954 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
8287c33f | 15955 | if (!SWIG_IsOK(res1)) { |
a6927690 | 15956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); |
8287c33f RD |
15957 | } |
15958 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
8287c33f RD |
15959 | { |
15960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 15961 | result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); |
8287c33f RD |
15962 | wxPyEndAllowThreads(__tstate); |
15963 | if (PyErr_Occurred()) SWIG_fail; | |
15964 | } | |
a6927690 | 15965 | resultobj = SWIG_From_int(static_cast< int >(result)); |
8287c33f RD |
15966 | return resultobj; |
15967 | fail: | |
15968 | return NULL; | |
15969 | } | |
15970 | ||
15971 | ||
a6927690 | 15972 | SWIGINTERN PyObject *_wrap_AuiNotebook_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8287c33f RD |
15973 | PyObject *resultobj = 0; |
15974 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
a6927690 RD |
15975 | size_t arg2 ; |
15976 | int arg3 ; | |
8287c33f RD |
15977 | void *argp1 = 0 ; |
15978 | int res1 = 0 ; | |
a6927690 | 15979 | size_t val2 ; |
8287c33f | 15980 | int ecode2 = 0 ; |
a6927690 RD |
15981 | int val3 ; |
15982 | int ecode3 = 0 ; | |
8287c33f RD |
15983 | PyObject * obj0 = 0 ; |
15984 | PyObject * obj1 = 0 ; | |
a6927690 | 15985 | PyObject * obj2 = 0 ; |
8287c33f | 15986 | char * kwnames[] = { |
a6927690 | 15987 | (char *) "self",(char *) "page",(char *) "direction", NULL |
8287c33f RD |
15988 | }; |
15989 | ||
a6927690 | 15990 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_Split",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
8287c33f RD |
15991 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); |
15992 | if (!SWIG_IsOK(res1)) { | |
a6927690 | 15993 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Split" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); |
8287c33f RD |
15994 | } |
15995 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
a6927690 | 15996 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
8287c33f | 15997 | if (!SWIG_IsOK(ecode2)) { |
a6927690 | 15998 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_Split" "', expected argument " "2"" of type '" "size_t""'"); |
8287c33f | 15999 | } |
a6927690 RD |
16000 | arg2 = static_cast< size_t >(val2); |
16001 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16002 | if (!SWIG_IsOK(ecode3)) { | |
16003 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Split" "', expected argument " "3"" of type '" "int""'"); | |
16004 | } | |
16005 | arg3 = static_cast< int >(val3); | |
8287c33f RD |
16006 | { |
16007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
a6927690 | 16008 | (arg1)->Split(arg2,arg3); |
8287c33f RD |
16009 | wxPyEndAllowThreads(__tstate); |
16010 | if (PyErr_Occurred()) SWIG_fail; | |
16011 | } | |
16012 | resultobj = SWIG_Py_Void(); | |
16013 | return resultobj; | |
16014 | fail: | |
16015 | return NULL; | |
16016 | } | |
16017 | ||
16018 | ||
070a1e7e RD |
16019 | SWIGINTERN PyObject *_wrap_AuiNotebook_GetAuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16020 | PyObject *resultobj = 0; | |
16021 | wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; | |
16022 | wxAuiManager *result = 0 ; | |
16023 | void *argp1 = 0 ; | |
16024 | int res1 = 0 ; | |
16025 | PyObject *swig_obj[1] ; | |
16026 | ||
16027 | if (!args) SWIG_fail; | |
16028 | swig_obj[0] = args; | |
16029 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
16030 | if (!SWIG_IsOK(res1)) { | |
16031 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetAuiManager" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); | |
16032 | } | |
16033 | arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); | |
16034 | { | |
16035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16036 | { | |
16037 | wxAuiManager const &_result_ref = ((wxAuiNotebook const *)arg1)->GetAuiManager(); | |
16038 | result = (wxAuiManager *) &_result_ref; | |
16039 | } | |
16040 | wxPyEndAllowThreads(__tstate); | |
16041 | if (PyErr_Occurred()) SWIG_fail; | |
16042 | } | |
16043 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 ); | |
16044 | return resultobj; | |
16045 | fail: | |
16046 | return NULL; | |
16047 | } | |
16048 | ||
16049 | ||
5eb8189c | 16050 | SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16051 | PyObject *obj; |
16052 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5eb8189c | 16053 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj)); |
10044bf1 RD |
16054 | return SWIG_Py_Void(); |
16055 | } | |
16056 | ||
5eb8189c | 16057 | SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10044bf1 RD |
16058 | return SWIG_Python_InitShadowInstance(args); |
16059 | } | |
16060 | ||
34d71f81 RD |
16061 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
16062 | PyObject *resultobj = 0; | |
16063 | wxAuiMDIParentFrame *result = 0 ; | |
16064 | ||
16065 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIParentFrame",0,0,0)) SWIG_fail; | |
16066 | { | |
16067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16068 | result = (wxAuiMDIParentFrame *)new wxAuiMDIParentFrame(); | |
16069 | wxPyEndAllowThreads(__tstate); | |
16070 | if (PyErr_Occurred()) SWIG_fail; | |
16071 | } | |
16072 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_POINTER_OWN | 0 ); | |
16073 | return resultobj; | |
16074 | fail: | |
16075 | return NULL; | |
10044bf1 RD |
16076 | } |
16077 | ||
34d71f81 RD |
16078 | |
16079 | SWIGINTERN PyObject *_wrap_new_AuiMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16080 | PyObject *resultobj = 0; | |
16081 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16082 | int arg2 ; | |
16083 | wxString *arg3 = 0 ; | |
16084 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16085 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16086 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16087 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16088 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16089 | wxString const &arg7_defvalue = wxFrameNameStr ; | |
16090 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16091 | wxAuiMDIParentFrame *result = 0 ; | |
16092 | void *argp1 = 0 ; | |
16093 | int res1 = 0 ; | |
16094 | int val2 ; | |
16095 | int ecode2 = 0 ; | |
16096 | bool temp3 = false ; | |
16097 | wxPoint temp4 ; | |
16098 | wxSize temp5 ; | |
16099 | long val6 ; | |
16100 | int ecode6 = 0 ; | |
16101 | bool temp7 = false ; | |
16102 | PyObject * obj0 = 0 ; | |
16103 | PyObject * obj1 = 0 ; | |
16104 | PyObject * obj2 = 0 ; | |
16105 | PyObject * obj3 = 0 ; | |
16106 | PyObject * obj4 = 0 ; | |
16107 | PyObject * obj5 = 0 ; | |
16108 | PyObject * obj6 = 0 ; | |
16109 | char * kwnames[] = { | |
16110 | (char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16111 | }; | |
16112 | ||
16113 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_AuiMDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
16114 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16115 | if (!SWIG_IsOK(res1)) { | |
16116 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
16117 | } | |
16118 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
16119 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16120 | if (!SWIG_IsOK(ecode2)) { | |
16121 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIParentFrame" "', expected argument " "2"" of type '" "int""'"); | |
16122 | } | |
16123 | arg2 = static_cast< int >(val2); | |
16124 | { | |
16125 | arg3 = wxString_in_helper(obj2); | |
16126 | if (arg3 == NULL) SWIG_fail; | |
16127 | temp3 = true; | |
16128 | } | |
16129 | if (obj3) { | |
16130 | { | |
16131 | arg4 = &temp4; | |
16132 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16133 | } | |
16134 | } | |
16135 | if (obj4) { | |
16136 | { | |
16137 | arg5 = &temp5; | |
16138 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16139 | } | |
16140 | } | |
16141 | if (obj5) { | |
16142 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
16143 | if (!SWIG_IsOK(ecode6)) { | |
16144 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_AuiMDIParentFrame" "', expected argument " "6"" of type '" "long""'"); | |
16145 | } | |
16146 | arg6 = static_cast< long >(val6); | |
16147 | } | |
16148 | if (obj6) { | |
16149 | { | |
16150 | arg7 = wxString_in_helper(obj6); | |
16151 | if (arg7 == NULL) SWIG_fail; | |
16152 | temp7 = true; | |
16153 | } | |
16154 | } | |
16155 | { | |
16156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16157 | result = (wxAuiMDIParentFrame *)new wxAuiMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16158 | wxPyEndAllowThreads(__tstate); | |
16159 | if (PyErr_Occurred()) SWIG_fail; | |
16160 | } | |
16161 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_POINTER_NEW | 0 ); | |
16162 | { | |
16163 | if (temp3) | |
16164 | delete arg3; | |
16165 | } | |
16166 | { | |
16167 | if (temp7) | |
16168 | delete arg7; | |
16169 | } | |
16170 | return resultobj; | |
16171 | fail: | |
16172 | { | |
16173 | if (temp3) | |
16174 | delete arg3; | |
16175 | } | |
16176 | { | |
16177 | if (temp7) | |
16178 | delete arg7; | |
16179 | } | |
16180 | return NULL; | |
5c8c7dd3 RD |
16181 | } |
16182 | ||
27e45892 | 16183 | |
34d71f81 RD |
16184 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16185 | PyObject *resultobj = 0; | |
16186 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16187 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16188 | int arg3 ; | |
16189 | wxString *arg4 = 0 ; | |
16190 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16191 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16192 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16193 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16194 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
16195 | wxString const &arg8_defvalue = wxFrameNameStr ; | |
16196 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16197 | bool result; | |
16198 | void *argp1 = 0 ; | |
16199 | int res1 = 0 ; | |
16200 | void *argp2 = 0 ; | |
16201 | int res2 = 0 ; | |
16202 | int val3 ; | |
16203 | int ecode3 = 0 ; | |
16204 | bool temp4 = false ; | |
16205 | wxPoint temp5 ; | |
16206 | wxSize temp6 ; | |
16207 | long val7 ; | |
16208 | int ecode7 = 0 ; | |
16209 | bool temp8 = false ; | |
16210 | PyObject * obj0 = 0 ; | |
16211 | PyObject * obj1 = 0 ; | |
16212 | PyObject * obj2 = 0 ; | |
16213 | PyObject * obj3 = 0 ; | |
16214 | PyObject * obj4 = 0 ; | |
16215 | PyObject * obj5 = 0 ; | |
16216 | PyObject * obj6 = 0 ; | |
16217 | PyObject * obj7 = 0 ; | |
16218 | char * kwnames[] = { | |
16219 | (char *) "self",(char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16220 | }; | |
16221 | ||
16222 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:AuiMDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
16223 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16224 | if (!SWIG_IsOK(res1)) { | |
16225 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16226 | } | |
16227 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16228 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
16229 | if (!SWIG_IsOK(res2)) { | |
16230 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
16231 | } | |
16232 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
16233 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16234 | if (!SWIG_IsOK(ecode3)) { | |
16235 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
16236 | } | |
16237 | arg3 = static_cast< int >(val3); | |
16238 | { | |
16239 | arg4 = wxString_in_helper(obj3); | |
16240 | if (arg4 == NULL) SWIG_fail; | |
16241 | temp4 = true; | |
16242 | } | |
16243 | if (obj4) { | |
16244 | { | |
16245 | arg5 = &temp5; | |
16246 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
16247 | } | |
16248 | } | |
16249 | if (obj5) { | |
16250 | { | |
16251 | arg6 = &temp6; | |
16252 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
16253 | } | |
16254 | } | |
16255 | if (obj6) { | |
16256 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
16257 | if (!SWIG_IsOK(ecode7)) { | |
16258 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'"); | |
16259 | } | |
16260 | arg7 = static_cast< long >(val7); | |
16261 | } | |
16262 | if (obj7) { | |
16263 | { | |
16264 | arg8 = wxString_in_helper(obj7); | |
16265 | if (arg8 == NULL) SWIG_fail; | |
16266 | temp8 = true; | |
16267 | } | |
16268 | } | |
16269 | { | |
16270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16271 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
16272 | wxPyEndAllowThreads(__tstate); | |
16273 | if (PyErr_Occurred()) SWIG_fail; | |
16274 | } | |
16275 | { | |
16276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16277 | } | |
16278 | { | |
16279 | if (temp4) | |
16280 | delete arg4; | |
16281 | } | |
16282 | { | |
16283 | if (temp8) | |
16284 | delete arg8; | |
16285 | } | |
16286 | return resultobj; | |
16287 | fail: | |
16288 | { | |
16289 | if (temp4) | |
16290 | delete arg4; | |
16291 | } | |
16292 | { | |
16293 | if (temp8) | |
16294 | delete arg8; | |
16295 | } | |
16296 | return NULL; | |
16297 | } | |
27e45892 | 16298 | |
27e45892 | 16299 | |
34d71f81 RD |
16300 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
16301 | PyObject *resultobj = 0; | |
16302 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16303 | wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; | |
16304 | void *argp1 = 0 ; | |
16305 | int res1 = 0 ; | |
16306 | void *argp2 = 0 ; | |
16307 | int res2 = 0 ; | |
16308 | PyObject * obj0 = 0 ; | |
16309 | PyObject * obj1 = 0 ; | |
16310 | char * kwnames[] = { | |
16311 | (char *) "self",(char *) "provider", NULL | |
16312 | }; | |
16313 | ||
16314 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; | |
16315 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16316 | if (!SWIG_IsOK(res1)) { | |
16317 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16318 | } | |
16319 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16320 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
16321 | if (!SWIG_IsOK(res2)) { | |
16322 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); | |
16323 | } | |
16324 | arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); | |
16325 | { | |
16326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16327 | (arg1)->SetArtProvider(arg2); | |
16328 | wxPyEndAllowThreads(__tstate); | |
16329 | if (PyErr_Occurred()) SWIG_fail; | |
16330 | } | |
16331 | resultobj = SWIG_Py_Void(); | |
16332 | return resultobj; | |
16333 | fail: | |
16334 | return NULL; | |
27e45892 | 16335 | } |
34d71f81 RD |
16336 | |
16337 | ||
16338 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16339 | PyObject *resultobj = 0; | |
16340 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16341 | wxAuiTabArt *result = 0 ; | |
16342 | void *argp1 = 0 ; | |
16343 | int res1 = 0 ; | |
16344 | PyObject *swig_obj[1] ; | |
16345 | ||
16346 | if (!args) SWIG_fail; | |
16347 | swig_obj[0] = args; | |
16348 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16349 | if (!SWIG_IsOK(res1)) { | |
16350 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16351 | } | |
16352 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16353 | { | |
16354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16355 | result = (wxAuiTabArt *)(arg1)->GetArtProvider(); | |
16356 | wxPyEndAllowThreads(__tstate); | |
16357 | if (PyErr_Occurred()) SWIG_fail; | |
16358 | } | |
16359 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); | |
16360 | return resultobj; | |
16361 | fail: | |
16362 | return NULL; | |
27e45892 | 16363 | } |
34d71f81 RD |
16364 | |
16365 | ||
16366 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16367 | PyObject *resultobj = 0; | |
16368 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16369 | wxAuiNotebook *result = 0 ; | |
16370 | void *argp1 = 0 ; | |
16371 | int res1 = 0 ; | |
16372 | PyObject *swig_obj[1] ; | |
16373 | ||
16374 | if (!args) SWIG_fail; | |
16375 | swig_obj[0] = args; | |
16376 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16377 | if (!SWIG_IsOK(res1)) { | |
16378 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetNotebook" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16379 | } | |
16380 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16381 | { | |
16382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16383 | result = (wxAuiNotebook *)((wxAuiMDIParentFrame const *)arg1)->GetNotebook(); | |
16384 | wxPyEndAllowThreads(__tstate); | |
16385 | if (PyErr_Occurred()) SWIG_fail; | |
16386 | } | |
16387 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); | |
16388 | return resultobj; | |
16389 | fail: | |
16390 | return NULL; | |
10044bf1 | 16391 | } |
34d71f81 RD |
16392 | |
16393 | ||
16394 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16395 | PyObject *resultobj = 0; | |
16396 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16397 | wxMenu *result = 0 ; | |
16398 | void *argp1 = 0 ; | |
16399 | int res1 = 0 ; | |
16400 | PyObject *swig_obj[1] ; | |
16401 | ||
16402 | if (!args) SWIG_fail; | |
16403 | swig_obj[0] = args; | |
16404 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16405 | if (!SWIG_IsOK(res1)) { | |
16406 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16407 | } | |
16408 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16409 | { | |
16410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16411 | result = (wxMenu *)((wxAuiMDIParentFrame const *)arg1)->GetWindowMenu(); | |
16412 | wxPyEndAllowThreads(__tstate); | |
16413 | if (PyErr_Occurred()) SWIG_fail; | |
16414 | } | |
16415 | { | |
16416 | resultobj = wxPyMake_wxObject(result, 0); | |
16417 | } | |
16418 | return resultobj; | |
16419 | fail: | |
16420 | return NULL; | |
27e45892 | 16421 | } |
34d71f81 RD |
16422 | |
16423 | ||
16424 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16425 | PyObject *resultobj = 0; | |
16426 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16427 | wxMenu *arg2 = (wxMenu *) 0 ; | |
16428 | void *argp1 = 0 ; | |
16429 | int res1 = 0 ; | |
16430 | void *argp2 = 0 ; | |
16431 | int res2 = 0 ; | |
16432 | PyObject * obj0 = 0 ; | |
16433 | PyObject * obj1 = 0 ; | |
16434 | char * kwnames[] = { | |
16435 | (char *) "self",(char *) "pMenu", NULL | |
16436 | }; | |
16437 | ||
16438 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail; | |
16439 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16440 | if (!SWIG_IsOK(res1)) { | |
16441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16442 | } | |
16443 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16444 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 ); | |
16445 | if (!SWIG_IsOK(res2)) { | |
16446 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'"); | |
16447 | } | |
16448 | arg2 = reinterpret_cast< wxMenu * >(argp2); | |
16449 | { | |
16450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16451 | (arg1)->SetWindowMenu(arg2); | |
16452 | wxPyEndAllowThreads(__tstate); | |
16453 | if (PyErr_Occurred()) SWIG_fail; | |
16454 | } | |
16455 | resultobj = SWIG_Py_Void(); | |
16456 | return resultobj; | |
16457 | fail: | |
16458 | return NULL; | |
27e45892 | 16459 | } |
34d71f81 RD |
16460 | |
16461 | ||
16462 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetChildMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16463 | PyObject *resultobj = 0; | |
16464 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16465 | wxAuiMDIChildFrame *arg2 = (wxAuiMDIChildFrame *) 0 ; | |
16466 | void *argp1 = 0 ; | |
16467 | int res1 = 0 ; | |
16468 | void *argp2 = 0 ; | |
16469 | int res2 = 0 ; | |
16470 | PyObject * obj0 = 0 ; | |
16471 | PyObject * obj1 = 0 ; | |
16472 | char * kwnames[] = { | |
16473 | (char *) "self",(char *) "pChild", NULL | |
16474 | }; | |
16475 | ||
16476 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetChildMenuBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
16477 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16478 | if (!SWIG_IsOK(res1)) { | |
16479 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetChildMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16480 | } | |
16481 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16482 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16483 | if (!SWIG_IsOK(res2)) { | |
16484 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetChildMenuBar" "', expected argument " "2"" of type '" "wxAuiMDIChildFrame *""'"); | |
16485 | } | |
16486 | arg2 = reinterpret_cast< wxAuiMDIChildFrame * >(argp2); | |
16487 | { | |
16488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16489 | (arg1)->SetChildMenuBar(arg2); | |
16490 | wxPyEndAllowThreads(__tstate); | |
16491 | if (PyErr_Occurred()) SWIG_fail; | |
16492 | } | |
16493 | resultobj = SWIG_Py_Void(); | |
16494 | return resultobj; | |
16495 | fail: | |
16496 | return NULL; | |
10044bf1 | 16497 | } |
34d71f81 RD |
16498 | |
16499 | ||
16500 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ProcessEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16501 | PyObject *resultobj = 0; | |
16502 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16503 | wxEvent *arg2 = 0 ; | |
16504 | bool result; | |
16505 | void *argp1 = 0 ; | |
16506 | int res1 = 0 ; | |
16507 | void *argp2 = 0 ; | |
16508 | int res2 = 0 ; | |
16509 | PyObject * obj0 = 0 ; | |
16510 | PyObject * obj1 = 0 ; | |
16511 | char * kwnames[] = { | |
16512 | (char *) "self",(char *) "event", NULL | |
16513 | }; | |
16514 | ||
16515 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_ProcessEvent",kwnames,&obj0,&obj1)) SWIG_fail; | |
16516 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16517 | if (!SWIG_IsOK(res1)) { | |
16518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16519 | } | |
16520 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16521 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxEvent, 0 ); | |
16522 | if (!SWIG_IsOK(res2)) { | |
16523 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); | |
16524 | } | |
16525 | if (!argp2) { | |
16526 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIParentFrame_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); | |
16527 | } | |
16528 | arg2 = reinterpret_cast< wxEvent * >(argp2); | |
16529 | { | |
16530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16531 | result = (bool)(arg1)->ProcessEvent(*arg2); | |
16532 | wxPyEndAllowThreads(__tstate); | |
16533 | if (PyErr_Occurred()) SWIG_fail; | |
16534 | } | |
16535 | { | |
16536 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16537 | } | |
16538 | return resultobj; | |
16539 | fail: | |
16540 | return NULL; | |
27e45892 | 16541 | } |
34d71f81 RD |
16542 | |
16543 | ||
16544 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16545 | PyObject *resultobj = 0; | |
16546 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16547 | wxAuiMDIChildFrame *result = 0 ; | |
16548 | void *argp1 = 0 ; | |
16549 | int res1 = 0 ; | |
16550 | PyObject *swig_obj[1] ; | |
16551 | ||
16552 | if (!args) SWIG_fail; | |
16553 | swig_obj[0] = args; | |
16554 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16555 | if (!SWIG_IsOK(res1)) { | |
16556 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16557 | } | |
16558 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16559 | { | |
16560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16561 | result = (wxAuiMDIChildFrame *)((wxAuiMDIParentFrame const *)arg1)->GetActiveChild(); | |
16562 | wxPyEndAllowThreads(__tstate); | |
16563 | if (PyErr_Occurred()) SWIG_fail; | |
16564 | } | |
16565 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16566 | return resultobj; | |
16567 | fail: | |
16568 | return NULL; | |
27e45892 | 16569 | } |
34d71f81 RD |
16570 | |
16571 | ||
16572 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_SetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16573 | PyObject *resultobj = 0; | |
16574 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16575 | wxAuiMDIChildFrame *arg2 = (wxAuiMDIChildFrame *) 0 ; | |
16576 | void *argp1 = 0 ; | |
16577 | int res1 = 0 ; | |
16578 | void *argp2 = 0 ; | |
16579 | int res2 = 0 ; | |
16580 | PyObject * obj0 = 0 ; | |
16581 | PyObject * obj1 = 0 ; | |
16582 | char * kwnames[] = { | |
16583 | (char *) "self",(char *) "pChildFrame", NULL | |
16584 | }; | |
16585 | ||
16586 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIParentFrame_SetActiveChild",kwnames,&obj0,&obj1)) SWIG_fail; | |
16587 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16588 | if (!SWIG_IsOK(res1)) { | |
16589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_SetActiveChild" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16590 | } | |
16591 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16592 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16593 | if (!SWIG_IsOK(res2)) { | |
16594 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIParentFrame_SetActiveChild" "', expected argument " "2"" of type '" "wxAuiMDIChildFrame *""'"); | |
16595 | } | |
16596 | arg2 = reinterpret_cast< wxAuiMDIChildFrame * >(argp2); | |
16597 | { | |
16598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16599 | (arg1)->SetActiveChild(arg2); | |
16600 | wxPyEndAllowThreads(__tstate); | |
16601 | if (PyErr_Occurred()) SWIG_fail; | |
16602 | } | |
16603 | resultobj = SWIG_Py_Void(); | |
16604 | return resultobj; | |
16605 | fail: | |
16606 | return NULL; | |
27e45892 | 16607 | } |
34d71f81 RD |
16608 | |
16609 | ||
16610 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16611 | PyObject *resultobj = 0; | |
16612 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16613 | wxAuiMDIClientWindow *result = 0 ; | |
16614 | void *argp1 = 0 ; | |
16615 | int res1 = 0 ; | |
16616 | PyObject *swig_obj[1] ; | |
16617 | ||
16618 | if (!args) SWIG_fail; | |
16619 | swig_obj[0] = args; | |
16620 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16621 | if (!SWIG_IsOK(res1)) { | |
16622 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame const *""'"); | |
16623 | } | |
16624 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16625 | { | |
16626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16627 | result = (wxAuiMDIClientWindow *)((wxAuiMDIParentFrame const *)arg1)->GetClientWindow(); | |
16628 | wxPyEndAllowThreads(__tstate); | |
16629 | if (PyErr_Occurred()) SWIG_fail; | |
16630 | } | |
16631 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
16632 | return resultobj; | |
16633 | fail: | |
16634 | return NULL; | |
27e45892 | 16635 | } |
34d71f81 RD |
16636 | |
16637 | ||
16638 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_OnCreateClient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16639 | PyObject *resultobj = 0; | |
16640 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16641 | wxAuiMDIClientWindow *result = 0 ; | |
16642 | void *argp1 = 0 ; | |
16643 | int res1 = 0 ; | |
16644 | PyObject *swig_obj[1] ; | |
16645 | ||
16646 | if (!args) SWIG_fail; | |
16647 | swig_obj[0] = args; | |
16648 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16649 | if (!SWIG_IsOK(res1)) { | |
16650 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_OnCreateClient" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16651 | } | |
16652 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16653 | { | |
16654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16655 | result = (wxAuiMDIClientWindow *)(arg1)->OnCreateClient(); | |
16656 | wxPyEndAllowThreads(__tstate); | |
16657 | if (PyErr_Occurred()) SWIG_fail; | |
16658 | } | |
16659 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
16660 | return resultobj; | |
16661 | fail: | |
16662 | return NULL; | |
27e45892 | 16663 | } |
34d71f81 RD |
16664 | |
16665 | ||
16666 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16667 | PyObject *resultobj = 0; | |
16668 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16669 | void *argp1 = 0 ; | |
16670 | int res1 = 0 ; | |
16671 | PyObject *swig_obj[1] ; | |
16672 | ||
16673 | if (!args) SWIG_fail; | |
16674 | swig_obj[0] = args; | |
16675 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16676 | if (!SWIG_IsOK(res1)) { | |
16677 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16678 | } | |
16679 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16680 | { | |
16681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16682 | (arg1)->Cascade(); | |
16683 | wxPyEndAllowThreads(__tstate); | |
16684 | if (PyErr_Occurred()) SWIG_fail; | |
16685 | } | |
16686 | resultobj = SWIG_Py_Void(); | |
16687 | return resultobj; | |
16688 | fail: | |
16689 | return NULL; | |
5eb8189c | 16690 | } |
34d71f81 RD |
16691 | |
16692 | ||
16693 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16694 | PyObject *resultobj = 0; | |
16695 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16696 | wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; | |
16697 | void *argp1 = 0 ; | |
16698 | int res1 = 0 ; | |
16699 | int val2 ; | |
16700 | int ecode2 = 0 ; | |
16701 | PyObject * obj0 = 0 ; | |
16702 | PyObject * obj1 = 0 ; | |
16703 | char * kwnames[] = { | |
16704 | (char *) "self",(char *) "orient", NULL | |
16705 | }; | |
16706 | ||
16707 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail; | |
16708 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16709 | if (!SWIG_IsOK(res1)) { | |
16710 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16711 | } | |
16712 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16713 | if (obj1) { | |
16714 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16715 | if (!SWIG_IsOK(ecode2)) { | |
16716 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'"); | |
16717 | } | |
16718 | arg2 = static_cast< wxOrientation >(val2); | |
16719 | } | |
16720 | { | |
16721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16722 | (arg1)->Tile(arg2); | |
16723 | wxPyEndAllowThreads(__tstate); | |
16724 | if (PyErr_Occurred()) SWIG_fail; | |
16725 | } | |
16726 | resultobj = SWIG_Py_Void(); | |
16727 | return resultobj; | |
16728 | fail: | |
16729 | return NULL; | |
27e45892 | 16730 | } |
34d71f81 RD |
16731 | |
16732 | ||
16733 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16734 | PyObject *resultobj = 0; | |
16735 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16736 | void *argp1 = 0 ; | |
16737 | int res1 = 0 ; | |
16738 | PyObject *swig_obj[1] ; | |
16739 | ||
16740 | if (!args) SWIG_fail; | |
16741 | swig_obj[0] = args; | |
16742 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16743 | if (!SWIG_IsOK(res1)) { | |
16744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16745 | } | |
16746 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16747 | { | |
16748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16749 | (arg1)->ArrangeIcons(); | |
16750 | wxPyEndAllowThreads(__tstate); | |
16751 | if (PyErr_Occurred()) SWIG_fail; | |
16752 | } | |
16753 | resultobj = SWIG_Py_Void(); | |
16754 | return resultobj; | |
16755 | fail: | |
16756 | return NULL; | |
10044bf1 | 16757 | } |
34d71f81 RD |
16758 | |
16759 | ||
16760 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16761 | PyObject *resultobj = 0; | |
16762 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16763 | void *argp1 = 0 ; | |
16764 | int res1 = 0 ; | |
16765 | PyObject *swig_obj[1] ; | |
16766 | ||
16767 | if (!args) SWIG_fail; | |
16768 | swig_obj[0] = args; | |
16769 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16770 | if (!SWIG_IsOK(res1)) { | |
16771 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16772 | } | |
16773 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16774 | { | |
16775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16776 | (arg1)->ActivateNext(); | |
16777 | wxPyEndAllowThreads(__tstate); | |
16778 | if (PyErr_Occurred()) SWIG_fail; | |
16779 | } | |
16780 | resultobj = SWIG_Py_Void(); | |
16781 | return resultobj; | |
16782 | fail: | |
16783 | return NULL; | |
10044bf1 | 16784 | } |
34d71f81 RD |
16785 | |
16786 | ||
16787 | SWIGINTERN PyObject *_wrap_AuiMDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16788 | PyObject *resultobj = 0; | |
16789 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16790 | void *argp1 = 0 ; | |
16791 | int res1 = 0 ; | |
16792 | PyObject *swig_obj[1] ; | |
16793 | ||
16794 | if (!args) SWIG_fail; | |
16795 | swig_obj[0] = args; | |
16796 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16797 | if (!SWIG_IsOK(res1)) { | |
16798 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16799 | } | |
16800 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16801 | { | |
16802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16803 | (arg1)->ActivatePrevious(); | |
16804 | wxPyEndAllowThreads(__tstate); | |
16805 | if (PyErr_Occurred()) SWIG_fail; | |
16806 | } | |
16807 | resultobj = SWIG_Py_Void(); | |
16808 | return resultobj; | |
16809 | fail: | |
16810 | return NULL; | |
10044bf1 | 16811 | } |
34d71f81 RD |
16812 | |
16813 | ||
16814 | SWIGINTERN PyObject *AuiMDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16815 | PyObject *obj; | |
16816 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
16817 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIParentFrame, SWIG_NewClientData(obj)); | |
16818 | return SWIG_Py_Void(); | |
10044bf1 | 16819 | } |
34d71f81 RD |
16820 | |
16821 | SWIGINTERN PyObject *AuiMDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16822 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 16823 | } |
34d71f81 RD |
16824 | |
16825 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
16826 | PyObject *resultobj = 0; | |
16827 | wxAuiMDIChildFrame *result = 0 ; | |
16828 | ||
16829 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIChildFrame",0,0,0)) SWIG_fail; | |
16830 | { | |
16831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16832 | result = (wxAuiMDIChildFrame *)new wxAuiMDIChildFrame(); | |
16833 | wxPyEndAllowThreads(__tstate); | |
16834 | if (PyErr_Occurred()) SWIG_fail; | |
16835 | } | |
16836 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_POINTER_OWN | 0 ); | |
16837 | return resultobj; | |
16838 | fail: | |
16839 | return NULL; | |
10044bf1 | 16840 | } |
34d71f81 RD |
16841 | |
16842 | ||
16843 | SWIGINTERN PyObject *_wrap_new_AuiMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16844 | PyObject *resultobj = 0; | |
16845 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
16846 | int arg2 ; | |
16847 | wxString *arg3 = 0 ; | |
16848 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
16849 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
16850 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
16851 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
16852 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
16853 | wxString const &arg7_defvalue = wxFrameNameStr ; | |
16854 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
16855 | wxAuiMDIChildFrame *result = 0 ; | |
16856 | void *argp1 = 0 ; | |
16857 | int res1 = 0 ; | |
16858 | int val2 ; | |
16859 | int ecode2 = 0 ; | |
16860 | bool temp3 = false ; | |
16861 | wxPoint temp4 ; | |
16862 | wxSize temp5 ; | |
16863 | long val6 ; | |
16864 | int ecode6 = 0 ; | |
16865 | bool temp7 = false ; | |
16866 | PyObject * obj0 = 0 ; | |
16867 | PyObject * obj1 = 0 ; | |
16868 | PyObject * obj2 = 0 ; | |
16869 | PyObject * obj3 = 0 ; | |
16870 | PyObject * obj4 = 0 ; | |
16871 | PyObject * obj5 = 0 ; | |
16872 | PyObject * obj6 = 0 ; | |
16873 | char * kwnames[] = { | |
16874 | (char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16875 | }; | |
16876 | ||
16877 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_AuiMDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
16878 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16879 | if (!SWIG_IsOK(res1)) { | |
16880 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIChildFrame" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
16881 | } | |
16882 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
16883 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
16884 | if (!SWIG_IsOK(ecode2)) { | |
16885 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIChildFrame" "', expected argument " "2"" of type '" "int""'"); | |
16886 | } | |
16887 | arg2 = static_cast< int >(val2); | |
16888 | { | |
16889 | arg3 = wxString_in_helper(obj2); | |
16890 | if (arg3 == NULL) SWIG_fail; | |
16891 | temp3 = true; | |
16892 | } | |
16893 | if (obj3) { | |
16894 | { | |
16895 | arg4 = &temp4; | |
16896 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
16897 | } | |
16898 | } | |
16899 | if (obj4) { | |
16900 | { | |
16901 | arg5 = &temp5; | |
16902 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
16903 | } | |
16904 | } | |
16905 | if (obj5) { | |
16906 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
16907 | if (!SWIG_IsOK(ecode6)) { | |
16908 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_AuiMDIChildFrame" "', expected argument " "6"" of type '" "long""'"); | |
16909 | } | |
16910 | arg6 = static_cast< long >(val6); | |
16911 | } | |
16912 | if (obj6) { | |
16913 | { | |
16914 | arg7 = wxString_in_helper(obj6); | |
16915 | if (arg7 == NULL) SWIG_fail; | |
16916 | temp7 = true; | |
16917 | } | |
16918 | } | |
16919 | { | |
16920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16921 | result = (wxAuiMDIChildFrame *)new wxAuiMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
16922 | wxPyEndAllowThreads(__tstate); | |
16923 | if (PyErr_Occurred()) SWIG_fail; | |
16924 | } | |
16925 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_POINTER_NEW | 0 ); | |
16926 | { | |
16927 | if (temp3) | |
16928 | delete arg3; | |
16929 | } | |
16930 | { | |
16931 | if (temp7) | |
16932 | delete arg7; | |
16933 | } | |
16934 | return resultobj; | |
16935 | fail: | |
16936 | { | |
16937 | if (temp3) | |
16938 | delete arg3; | |
16939 | } | |
16940 | { | |
16941 | if (temp7) | |
16942 | delete arg7; | |
16943 | } | |
16944 | return NULL; | |
10044bf1 | 16945 | } |
34d71f81 RD |
16946 | |
16947 | ||
16948 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
16949 | PyObject *resultobj = 0; | |
16950 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
16951 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
16952 | int arg3 ; | |
16953 | wxString *arg4 = 0 ; | |
16954 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
16955 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
16956 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
16957 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
16958 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
16959 | wxString const &arg8_defvalue = wxFrameNameStr ; | |
16960 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
16961 | bool result; | |
16962 | void *argp1 = 0 ; | |
16963 | int res1 = 0 ; | |
16964 | void *argp2 = 0 ; | |
16965 | int res2 = 0 ; | |
16966 | int val3 ; | |
16967 | int ecode3 = 0 ; | |
16968 | bool temp4 = false ; | |
16969 | wxPoint temp5 ; | |
16970 | wxSize temp6 ; | |
16971 | long val7 ; | |
16972 | int ecode7 = 0 ; | |
16973 | bool temp8 = false ; | |
16974 | PyObject * obj0 = 0 ; | |
16975 | PyObject * obj1 = 0 ; | |
16976 | PyObject * obj2 = 0 ; | |
16977 | PyObject * obj3 = 0 ; | |
16978 | PyObject * obj4 = 0 ; | |
16979 | PyObject * obj5 = 0 ; | |
16980 | PyObject * obj6 = 0 ; | |
16981 | PyObject * obj7 = 0 ; | |
16982 | char * kwnames[] = { | |
16983 | (char *) "self",(char *) "parent",(char *) "winid",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16984 | }; | |
16985 | ||
16986 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:AuiMDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
16987 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
16988 | if (!SWIG_IsOK(res1)) { | |
16989 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
16990 | } | |
16991 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
16992 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
16993 | if (!SWIG_IsOK(res2)) { | |
16994 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
16995 | } | |
16996 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
16997 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
16998 | if (!SWIG_IsOK(ecode3)) { | |
16999 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'"); | |
17000 | } | |
17001 | arg3 = static_cast< int >(val3); | |
17002 | { | |
17003 | arg4 = wxString_in_helper(obj3); | |
17004 | if (arg4 == NULL) SWIG_fail; | |
17005 | temp4 = true; | |
17006 | } | |
17007 | if (obj4) { | |
17008 | { | |
17009 | arg5 = &temp5; | |
17010 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
17011 | } | |
17012 | } | |
17013 | if (obj5) { | |
17014 | { | |
17015 | arg6 = &temp6; | |
17016 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
17017 | } | |
17018 | } | |
17019 | if (obj6) { | |
17020 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
17021 | if (!SWIG_IsOK(ecode7)) { | |
17022 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'"); | |
17023 | } | |
17024 | arg7 = static_cast< long >(val7); | |
17025 | } | |
17026 | if (obj7) { | |
17027 | { | |
17028 | arg8 = wxString_in_helper(obj7); | |
17029 | if (arg8 == NULL) SWIG_fail; | |
17030 | temp8 = true; | |
17031 | } | |
17032 | } | |
17033 | { | |
17034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17035 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
17036 | wxPyEndAllowThreads(__tstate); | |
17037 | if (PyErr_Occurred()) SWIG_fail; | |
17038 | } | |
17039 | { | |
17040 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17041 | } | |
17042 | { | |
17043 | if (temp4) | |
17044 | delete arg4; | |
17045 | } | |
17046 | { | |
17047 | if (temp8) | |
17048 | delete arg8; | |
17049 | } | |
17050 | return resultobj; | |
17051 | fail: | |
17052 | { | |
17053 | if (temp4) | |
17054 | delete arg4; | |
17055 | } | |
17056 | { | |
17057 | if (temp8) | |
17058 | delete arg8; | |
17059 | } | |
17060 | return NULL; | |
10044bf1 | 17061 | } |
34d71f81 RD |
17062 | |
17063 | ||
17064 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17065 | PyObject *resultobj = 0; | |
17066 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17067 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
17068 | void *argp1 = 0 ; | |
17069 | int res1 = 0 ; | |
17070 | void *argp2 = 0 ; | |
17071 | int res2 = 0 ; | |
17072 | PyObject * obj0 = 0 ; | |
17073 | PyObject * obj1 = 0 ; | |
17074 | char * kwnames[] = { | |
17075 | (char *) "self",(char *) "menu_bar", NULL | |
17076 | }; | |
17077 | ||
17078 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
17079 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17080 | if (!SWIG_IsOK(res1)) { | |
17081 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17082 | } | |
17083 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17084 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 ); | |
17085 | if (!SWIG_IsOK(res2)) { | |
17086 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'"); | |
17087 | } | |
17088 | arg2 = reinterpret_cast< wxMenuBar * >(argp2); | |
17089 | { | |
17090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17091 | (arg1)->SetMenuBar(arg2); | |
17092 | wxPyEndAllowThreads(__tstate); | |
17093 | if (PyErr_Occurred()) SWIG_fail; | |
17094 | } | |
17095 | resultobj = SWIG_Py_Void(); | |
17096 | return resultobj; | |
17097 | fail: | |
17098 | return NULL; | |
10044bf1 | 17099 | } |
34d71f81 RD |
17100 | |
17101 | ||
17102 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17103 | PyObject *resultobj = 0; | |
17104 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17105 | wxMenuBar *result = 0 ; | |
17106 | void *argp1 = 0 ; | |
17107 | int res1 = 0 ; | |
17108 | PyObject *swig_obj[1] ; | |
17109 | ||
17110 | if (!args) SWIG_fail; | |
17111 | swig_obj[0] = args; | |
17112 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17113 | if (!SWIG_IsOK(res1)) { | |
17114 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetMenuBar" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17115 | } | |
17116 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17117 | { | |
17118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17119 | result = (wxMenuBar *)((wxAuiMDIChildFrame const *)arg1)->GetMenuBar(); | |
17120 | wxPyEndAllowThreads(__tstate); | |
17121 | if (PyErr_Occurred()) SWIG_fail; | |
17122 | } | |
17123 | { | |
17124 | resultobj = wxPyMake_wxObject(result, 0); | |
17125 | } | |
17126 | return resultobj; | |
17127 | fail: | |
17128 | return NULL; | |
10044bf1 | 17129 | } |
34d71f81 RD |
17130 | |
17131 | ||
17132 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17133 | PyObject *resultobj = 0; | |
17134 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17135 | wxString *arg2 = 0 ; | |
17136 | void *argp1 = 0 ; | |
17137 | int res1 = 0 ; | |
17138 | bool temp2 = false ; | |
17139 | PyObject * obj0 = 0 ; | |
17140 | PyObject * obj1 = 0 ; | |
17141 | char * kwnames[] = { | |
17142 | (char *) "self",(char *) "title", NULL | |
17143 | }; | |
17144 | ||
17145 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail; | |
17146 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17147 | if (!SWIG_IsOK(res1)) { | |
17148 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetTitle" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17149 | } | |
17150 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17151 | { | |
17152 | arg2 = wxString_in_helper(obj1); | |
17153 | if (arg2 == NULL) SWIG_fail; | |
17154 | temp2 = true; | |
17155 | } | |
17156 | { | |
17157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17158 | (arg1)->SetTitle((wxString const &)*arg2); | |
17159 | wxPyEndAllowThreads(__tstate); | |
17160 | if (PyErr_Occurred()) SWIG_fail; | |
17161 | } | |
17162 | resultobj = SWIG_Py_Void(); | |
17163 | { | |
17164 | if (temp2) | |
17165 | delete arg2; | |
17166 | } | |
17167 | return resultobj; | |
17168 | fail: | |
17169 | { | |
17170 | if (temp2) | |
17171 | delete arg2; | |
17172 | } | |
17173 | return NULL; | |
10044bf1 | 17174 | } |
34d71f81 RD |
17175 | |
17176 | ||
17177 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17178 | PyObject *resultobj = 0; | |
17179 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17180 | wxString result; | |
17181 | void *argp1 = 0 ; | |
17182 | int res1 = 0 ; | |
17183 | PyObject *swig_obj[1] ; | |
17184 | ||
17185 | if (!args) SWIG_fail; | |
17186 | swig_obj[0] = args; | |
17187 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17188 | if (!SWIG_IsOK(res1)) { | |
17189 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetTitle" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17190 | } | |
17191 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17192 | { | |
17193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17194 | result = ((wxAuiMDIChildFrame const *)arg1)->GetTitle(); | |
17195 | wxPyEndAllowThreads(__tstate); | |
17196 | if (PyErr_Occurred()) SWIG_fail; | |
17197 | } | |
17198 | { | |
17199 | #if wxUSE_UNICODE | |
17200 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
17201 | #else | |
17202 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
17203 | #endif | |
17204 | } | |
17205 | return resultobj; | |
17206 | fail: | |
17207 | return NULL; | |
10044bf1 | 17208 | } |
34d71f81 RD |
17209 | |
17210 | ||
17211 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17212 | PyObject *resultobj = 0; | |
17213 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17214 | wxIconBundle *arg2 = 0 ; | |
17215 | void *argp1 = 0 ; | |
17216 | int res1 = 0 ; | |
17217 | void *argp2 = 0 ; | |
17218 | int res2 = 0 ; | |
17219 | PyObject * obj0 = 0 ; | |
17220 | PyObject * obj1 = 0 ; | |
17221 | char * kwnames[] = { | |
17222 | (char *) "self",(char *) "icons", NULL | |
17223 | }; | |
17224 | ||
17225 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail; | |
17226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17227 | if (!SWIG_IsOK(res1)) { | |
17228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17229 | } | |
17230 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17231 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0); | |
17232 | if (!SWIG_IsOK(res2)) { | |
17233 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'"); | |
17234 | } | |
17235 | if (!argp2) { | |
17236 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'"); | |
17237 | } | |
17238 | arg2 = reinterpret_cast< wxIconBundle * >(argp2); | |
17239 | { | |
17240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17241 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
17242 | wxPyEndAllowThreads(__tstate); | |
17243 | if (PyErr_Occurred()) SWIG_fail; | |
17244 | } | |
17245 | resultobj = SWIG_Py_Void(); | |
17246 | return resultobj; | |
17247 | fail: | |
17248 | return NULL; | |
10044bf1 | 17249 | } |
34d71f81 RD |
17250 | |
17251 | ||
17252 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17253 | PyObject *resultobj = 0; | |
17254 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17255 | wxIconBundle *result = 0 ; | |
17256 | void *argp1 = 0 ; | |
17257 | int res1 = 0 ; | |
17258 | PyObject *swig_obj[1] ; | |
17259 | ||
17260 | if (!args) SWIG_fail; | |
17261 | swig_obj[0] = args; | |
17262 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17263 | if (!SWIG_IsOK(res1)) { | |
17264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetIcons" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17265 | } | |
17266 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17267 | { | |
17268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17269 | { | |
17270 | wxIconBundle const &_result_ref = ((wxAuiMDIChildFrame const *)arg1)->GetIcons(); | |
17271 | result = (wxIconBundle *) &_result_ref; | |
17272 | } | |
17273 | wxPyEndAllowThreads(__tstate); | |
17274 | if (PyErr_Occurred()) SWIG_fail; | |
17275 | } | |
17276 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxIconBundle, 0 | 0 ); | |
17277 | return resultobj; | |
17278 | fail: | |
17279 | return NULL; | |
10044bf1 | 17280 | } |
34d71f81 RD |
17281 | |
17282 | ||
17283 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17284 | PyObject *resultobj = 0; | |
17285 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17286 | wxIcon *arg2 = 0 ; | |
17287 | void *argp1 = 0 ; | |
17288 | int res1 = 0 ; | |
17289 | void *argp2 = 0 ; | |
17290 | int res2 = 0 ; | |
17291 | PyObject * obj0 = 0 ; | |
17292 | PyObject * obj1 = 0 ; | |
17293 | char * kwnames[] = { | |
17294 | (char *) "self",(char *) "icon", NULL | |
17295 | }; | |
17296 | ||
17297 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail; | |
17298 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17299 | if (!SWIG_IsOK(res1)) { | |
17300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17301 | } | |
17302 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17303 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0); | |
17304 | if (!SWIG_IsOK(res2)) { | |
17305 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
17306 | } | |
17307 | if (!argp2) { | |
17308 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
17309 | } | |
17310 | arg2 = reinterpret_cast< wxIcon * >(argp2); | |
17311 | { | |
17312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17313 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
17314 | wxPyEndAllowThreads(__tstate); | |
17315 | if (PyErr_Occurred()) SWIG_fail; | |
17316 | } | |
17317 | resultobj = SWIG_Py_Void(); | |
17318 | return resultobj; | |
17319 | fail: | |
17320 | return NULL; | |
10044bf1 | 17321 | } |
34d71f81 RD |
17322 | |
17323 | ||
17324 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17325 | PyObject *resultobj = 0; | |
17326 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17327 | wxIcon *result = 0 ; | |
17328 | void *argp1 = 0 ; | |
17329 | int res1 = 0 ; | |
17330 | PyObject *swig_obj[1] ; | |
17331 | ||
17332 | if (!args) SWIG_fail; | |
17333 | swig_obj[0] = args; | |
17334 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17335 | if (!SWIG_IsOK(res1)) { | |
17336 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetIcon" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17337 | } | |
17338 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17339 | { | |
17340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17341 | { | |
17342 | wxIcon const &_result_ref = ((wxAuiMDIChildFrame const *)arg1)->GetIcon(); | |
17343 | result = (wxIcon *) &_result_ref; | |
17344 | } | |
17345 | wxPyEndAllowThreads(__tstate); | |
17346 | if (PyErr_Occurred()) SWIG_fail; | |
17347 | } | |
17348 | { | |
17349 | wxIcon* resultptr = new wxIcon(*result); | |
17350 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxIcon, 1); | |
17351 | } | |
17352 | return resultobj; | |
17353 | fail: | |
17354 | return NULL; | |
10044bf1 | 17355 | } |
34d71f81 RD |
17356 | |
17357 | ||
17358 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17359 | PyObject *resultobj = 0; | |
17360 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17361 | void *argp1 = 0 ; | |
17362 | int res1 = 0 ; | |
17363 | PyObject *swig_obj[1] ; | |
17364 | ||
17365 | if (!args) SWIG_fail; | |
17366 | swig_obj[0] = args; | |
17367 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17368 | if (!SWIG_IsOK(res1)) { | |
17369 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17370 | } | |
17371 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17372 | { | |
17373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17374 | (arg1)->Activate(); | |
17375 | wxPyEndAllowThreads(__tstate); | |
17376 | if (PyErr_Occurred()) SWIG_fail; | |
17377 | } | |
17378 | resultobj = SWIG_Py_Void(); | |
17379 | return resultobj; | |
17380 | fail: | |
17381 | return NULL; | |
10044bf1 | 17382 | } |
34d71f81 RD |
17383 | |
17384 | ||
17385 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_DoSetSizeHints(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17386 | PyObject *resultobj = 0; | |
17387 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17388 | int arg2 ; | |
17389 | int arg3 ; | |
17390 | int arg4 = (int) wxDefaultCoord ; | |
17391 | int arg5 = (int) wxDefaultCoord ; | |
17392 | int arg6 = (int) wxDefaultCoord ; | |
17393 | int arg7 = (int) wxDefaultCoord ; | |
17394 | void *argp1 = 0 ; | |
17395 | int res1 = 0 ; | |
17396 | int val2 ; | |
17397 | int ecode2 = 0 ; | |
17398 | int val3 ; | |
17399 | int ecode3 = 0 ; | |
17400 | int val4 ; | |
17401 | int ecode4 = 0 ; | |
17402 | int val5 ; | |
17403 | int ecode5 = 0 ; | |
17404 | int val6 ; | |
17405 | int ecode6 = 0 ; | |
17406 | int val7 ; | |
17407 | int ecode7 = 0 ; | |
17408 | PyObject * obj0 = 0 ; | |
17409 | PyObject * obj1 = 0 ; | |
17410 | PyObject * obj2 = 0 ; | |
17411 | PyObject * obj3 = 0 ; | |
17412 | PyObject * obj4 = 0 ; | |
17413 | PyObject * obj5 = 0 ; | |
17414 | PyObject * obj6 = 0 ; | |
17415 | char * kwnames[] = { | |
17416 | (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL | |
17417 | }; | |
17418 | ||
17419 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:AuiMDIChildFrame_DoSetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
17420 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17421 | if (!SWIG_IsOK(res1)) { | |
17422 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17423 | } | |
17424 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17425 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
17426 | if (!SWIG_IsOK(ecode2)) { | |
17427 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "2"" of type '" "int""'"); | |
17428 | } | |
17429 | arg2 = static_cast< int >(val2); | |
17430 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
17431 | if (!SWIG_IsOK(ecode3)) { | |
17432 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "3"" of type '" "int""'"); | |
17433 | } | |
17434 | arg3 = static_cast< int >(val3); | |
17435 | if (obj3) { | |
17436 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
17437 | if (!SWIG_IsOK(ecode4)) { | |
17438 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "4"" of type '" "int""'"); | |
17439 | } | |
17440 | arg4 = static_cast< int >(val4); | |
17441 | } | |
17442 | if (obj4) { | |
17443 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
17444 | if (!SWIG_IsOK(ecode5)) { | |
17445 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "5"" of type '" "int""'"); | |
17446 | } | |
17447 | arg5 = static_cast< int >(val5); | |
17448 | } | |
17449 | if (obj5) { | |
17450 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
17451 | if (!SWIG_IsOK(ecode6)) { | |
17452 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "6"" of type '" "int""'"); | |
17453 | } | |
17454 | arg6 = static_cast< int >(val6); | |
17455 | } | |
17456 | if (obj6) { | |
17457 | ecode7 = SWIG_AsVal_int(obj6, &val7); | |
17458 | if (!SWIG_IsOK(ecode7)) { | |
17459 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiMDIChildFrame_DoSetSizeHints" "', expected argument " "7"" of type '" "int""'"); | |
17460 | } | |
17461 | arg7 = static_cast< int >(val7); | |
17462 | } | |
17463 | { | |
17464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17465 | (arg1)->DoSetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7); | |
17466 | wxPyEndAllowThreads(__tstate); | |
17467 | if (PyErr_Occurred()) SWIG_fail; | |
17468 | } | |
17469 | resultobj = SWIG_Py_Void(); | |
17470 | return resultobj; | |
17471 | fail: | |
17472 | return NULL; | |
10044bf1 | 17473 | } |
34d71f81 RD |
17474 | |
17475 | ||
17476 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17477 | PyObject *resultobj = 0; | |
17478 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17479 | bool arg2 = (bool) true ; | |
17480 | void *argp1 = 0 ; | |
17481 | int res1 = 0 ; | |
17482 | bool val2 ; | |
17483 | int ecode2 = 0 ; | |
17484 | PyObject * obj0 = 0 ; | |
17485 | PyObject * obj1 = 0 ; | |
17486 | char * kwnames[] = { | |
17487 | (char *) "self",(char *) "maximize", NULL | |
17488 | }; | |
17489 | ||
17490 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIChildFrame_Maximize",kwnames,&obj0,&obj1)) SWIG_fail; | |
17491 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17492 | if (!SWIG_IsOK(res1)) { | |
17493 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Maximize" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17494 | } | |
17495 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17496 | if (obj1) { | |
17497 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17498 | if (!SWIG_IsOK(ecode2)) { | |
17499 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_Maximize" "', expected argument " "2"" of type '" "bool""'"); | |
17500 | } | |
17501 | arg2 = static_cast< bool >(val2); | |
17502 | } | |
17503 | { | |
17504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17505 | (arg1)->Maximize(arg2); | |
17506 | wxPyEndAllowThreads(__tstate); | |
17507 | if (PyErr_Occurred()) SWIG_fail; | |
17508 | } | |
17509 | resultobj = SWIG_Py_Void(); | |
17510 | return resultobj; | |
17511 | fail: | |
17512 | return NULL; | |
10044bf1 | 17513 | } |
34d71f81 RD |
17514 | |
17515 | ||
17516 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17517 | PyObject *resultobj = 0; | |
17518 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17519 | void *argp1 = 0 ; | |
17520 | int res1 = 0 ; | |
17521 | PyObject *swig_obj[1] ; | |
17522 | ||
17523 | if (!args) SWIG_fail; | |
17524 | swig_obj[0] = args; | |
17525 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17526 | if (!SWIG_IsOK(res1)) { | |
17527 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Restore" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17528 | } | |
17529 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17530 | { | |
17531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17532 | (arg1)->Restore(); | |
17533 | wxPyEndAllowThreads(__tstate); | |
17534 | if (PyErr_Occurred()) SWIG_fail; | |
17535 | } | |
17536 | resultobj = SWIG_Py_Void(); | |
17537 | return resultobj; | |
17538 | fail: | |
17539 | return NULL; | |
10044bf1 | 17540 | } |
34d71f81 RD |
17541 | |
17542 | ||
17543 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17544 | PyObject *resultobj = 0; | |
17545 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17546 | bool arg2 = (bool) true ; | |
17547 | void *argp1 = 0 ; | |
17548 | int res1 = 0 ; | |
17549 | bool val2 ; | |
17550 | int ecode2 = 0 ; | |
17551 | PyObject * obj0 = 0 ; | |
17552 | PyObject * obj1 = 0 ; | |
17553 | char * kwnames[] = { | |
17554 | (char *) "self",(char *) "iconize", NULL | |
17555 | }; | |
17556 | ||
17557 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiMDIChildFrame_Iconize",kwnames,&obj0,&obj1)) SWIG_fail; | |
17558 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17559 | if (!SWIG_IsOK(res1)) { | |
17560 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_Iconize" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17561 | } | |
17562 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17563 | if (obj1) { | |
17564 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17565 | if (!SWIG_IsOK(ecode2)) { | |
17566 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_Iconize" "', expected argument " "2"" of type '" "bool""'"); | |
17567 | } | |
17568 | arg2 = static_cast< bool >(val2); | |
17569 | } | |
17570 | { | |
17571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17572 | (arg1)->Iconize(arg2); | |
17573 | wxPyEndAllowThreads(__tstate); | |
17574 | if (PyErr_Occurred()) SWIG_fail; | |
17575 | } | |
17576 | resultobj = SWIG_Py_Void(); | |
17577 | return resultobj; | |
17578 | fail: | |
17579 | return NULL; | |
10044bf1 | 17580 | } |
34d71f81 RD |
17581 | |
17582 | ||
17583 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17584 | PyObject *resultobj = 0; | |
17585 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17586 | bool result; | |
17587 | void *argp1 = 0 ; | |
17588 | int res1 = 0 ; | |
17589 | PyObject *swig_obj[1] ; | |
17590 | ||
17591 | if (!args) SWIG_fail; | |
17592 | swig_obj[0] = args; | |
17593 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17594 | if (!SWIG_IsOK(res1)) { | |
17595 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsMaximized" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17596 | } | |
17597 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17598 | { | |
17599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17600 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsMaximized(); | |
17601 | wxPyEndAllowThreads(__tstate); | |
17602 | if (PyErr_Occurred()) SWIG_fail; | |
17603 | } | |
17604 | { | |
17605 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17606 | } | |
17607 | return resultobj; | |
17608 | fail: | |
17609 | return NULL; | |
10044bf1 | 17610 | } |
34d71f81 RD |
17611 | |
17612 | ||
17613 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17614 | PyObject *resultobj = 0; | |
17615 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17616 | bool result; | |
17617 | void *argp1 = 0 ; | |
17618 | int res1 = 0 ; | |
17619 | PyObject *swig_obj[1] ; | |
17620 | ||
17621 | if (!args) SWIG_fail; | |
17622 | swig_obj[0] = args; | |
17623 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17624 | if (!SWIG_IsOK(res1)) { | |
17625 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsIconized" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17626 | } | |
17627 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17628 | { | |
17629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17630 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsIconized(); | |
17631 | wxPyEndAllowThreads(__tstate); | |
17632 | if (PyErr_Occurred()) SWIG_fail; | |
17633 | } | |
17634 | { | |
17635 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17636 | } | |
17637 | return resultobj; | |
17638 | fail: | |
17639 | return NULL; | |
10044bf1 | 17640 | } |
34d71f81 RD |
17641 | |
17642 | ||
17643 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17644 | PyObject *resultobj = 0; | |
17645 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17646 | bool arg2 ; | |
17647 | long arg3 ; | |
17648 | bool result; | |
17649 | void *argp1 = 0 ; | |
17650 | int res1 = 0 ; | |
17651 | bool val2 ; | |
17652 | int ecode2 = 0 ; | |
17653 | long val3 ; | |
17654 | int ecode3 = 0 ; | |
17655 | PyObject * obj0 = 0 ; | |
17656 | PyObject * obj1 = 0 ; | |
17657 | PyObject * obj2 = 0 ; | |
17658 | char * kwnames[] = { | |
17659 | (char *) "self",(char *) "show",(char *) "style", NULL | |
17660 | }; | |
17661 | ||
17662 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMDIChildFrame_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
17663 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17664 | if (!SWIG_IsOK(res1)) { | |
17665 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17666 | } | |
17667 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17668 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17669 | if (!SWIG_IsOK(ecode2)) { | |
17670 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'"); | |
17671 | } | |
17672 | arg2 = static_cast< bool >(val2); | |
17673 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
17674 | if (!SWIG_IsOK(ecode3)) { | |
17675 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIChildFrame_ShowFullScreen" "', expected argument " "3"" of type '" "long""'"); | |
17676 | } | |
17677 | arg3 = static_cast< long >(val3); | |
17678 | { | |
17679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17680 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
17681 | wxPyEndAllowThreads(__tstate); | |
17682 | if (PyErr_Occurred()) SWIG_fail; | |
17683 | } | |
17684 | { | |
17685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17686 | } | |
17687 | return resultobj; | |
17688 | fail: | |
17689 | return NULL; | |
10044bf1 | 17690 | } |
34d71f81 RD |
17691 | |
17692 | ||
17693 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17694 | PyObject *resultobj = 0; | |
17695 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17696 | bool result; | |
17697 | void *argp1 = 0 ; | |
17698 | int res1 = 0 ; | |
17699 | PyObject *swig_obj[1] ; | |
17700 | ||
17701 | if (!args) SWIG_fail; | |
17702 | swig_obj[0] = args; | |
17703 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17704 | if (!SWIG_IsOK(res1)) { | |
17705 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_IsFullScreen" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17706 | } | |
17707 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17708 | { | |
17709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17710 | result = (bool)((wxAuiMDIChildFrame const *)arg1)->IsFullScreen(); | |
17711 | wxPyEndAllowThreads(__tstate); | |
17712 | if (PyErr_Occurred()) SWIG_fail; | |
17713 | } | |
17714 | { | |
17715 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17716 | } | |
17717 | return resultobj; | |
17718 | fail: | |
17719 | return NULL; | |
10044bf1 | 17720 | } |
34d71f81 RD |
17721 | |
17722 | ||
17723 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnMenuHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17724 | PyObject *resultobj = 0; | |
17725 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17726 | wxMenuEvent *arg2 = 0 ; | |
17727 | void *argp1 = 0 ; | |
17728 | int res1 = 0 ; | |
17729 | void *argp2 = 0 ; | |
17730 | int res2 = 0 ; | |
17731 | PyObject * obj0 = 0 ; | |
17732 | PyObject * obj1 = 0 ; | |
17733 | char * kwnames[] = { | |
17734 | (char *) "self",(char *) "evt", NULL | |
17735 | }; | |
17736 | ||
17737 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnMenuHighlight",kwnames,&obj0,&obj1)) SWIG_fail; | |
17738 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17739 | if (!SWIG_IsOK(res1)) { | |
17740 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17741 | } | |
17742 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17743 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMenuEvent, 0 ); | |
17744 | if (!SWIG_IsOK(res2)) { | |
17745 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "2"" of type '" "wxMenuEvent &""'"); | |
17746 | } | |
17747 | if (!argp2) { | |
17748 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnMenuHighlight" "', expected argument " "2"" of type '" "wxMenuEvent &""'"); | |
17749 | } | |
17750 | arg2 = reinterpret_cast< wxMenuEvent * >(argp2); | |
17751 | { | |
17752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17753 | (arg1)->OnMenuHighlight(*arg2); | |
17754 | wxPyEndAllowThreads(__tstate); | |
17755 | if (PyErr_Occurred()) SWIG_fail; | |
17756 | } | |
17757 | resultobj = SWIG_Py_Void(); | |
17758 | return resultobj; | |
17759 | fail: | |
17760 | return NULL; | |
10044bf1 | 17761 | } |
34d71f81 RD |
17762 | |
17763 | ||
17764 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnActivate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17765 | PyObject *resultobj = 0; | |
17766 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17767 | wxActivateEvent *arg2 = 0 ; | |
17768 | void *argp1 = 0 ; | |
17769 | int res1 = 0 ; | |
17770 | void *argp2 = 0 ; | |
17771 | int res2 = 0 ; | |
17772 | PyObject * obj0 = 0 ; | |
17773 | PyObject * obj1 = 0 ; | |
17774 | char * kwnames[] = { | |
17775 | (char *) "self",(char *) "evt", NULL | |
17776 | }; | |
17777 | ||
17778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnActivate",kwnames,&obj0,&obj1)) SWIG_fail; | |
17779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17780 | if (!SWIG_IsOK(res1)) { | |
17781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17782 | } | |
17783 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17784 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxActivateEvent, 0 ); | |
17785 | if (!SWIG_IsOK(res2)) { | |
17786 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "2"" of type '" "wxActivateEvent &""'"); | |
17787 | } | |
17788 | if (!argp2) { | |
17789 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnActivate" "', expected argument " "2"" of type '" "wxActivateEvent &""'"); | |
17790 | } | |
17791 | arg2 = reinterpret_cast< wxActivateEvent * >(argp2); | |
17792 | { | |
17793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17794 | (arg1)->OnActivate(*arg2); | |
17795 | wxPyEndAllowThreads(__tstate); | |
17796 | if (PyErr_Occurred()) SWIG_fail; | |
17797 | } | |
17798 | resultobj = SWIG_Py_Void(); | |
17799 | return resultobj; | |
17800 | fail: | |
17801 | return NULL; | |
10044bf1 | 17802 | } |
34d71f81 RD |
17803 | |
17804 | ||
17805 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_OnCloseWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17806 | PyObject *resultobj = 0; | |
17807 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17808 | wxCloseEvent *arg2 = 0 ; | |
17809 | void *argp1 = 0 ; | |
17810 | int res1 = 0 ; | |
17811 | void *argp2 = 0 ; | |
17812 | int res2 = 0 ; | |
17813 | PyObject * obj0 = 0 ; | |
17814 | PyObject * obj1 = 0 ; | |
17815 | char * kwnames[] = { | |
17816 | (char *) "self",(char *) "evt", NULL | |
17817 | }; | |
17818 | ||
17819 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_OnCloseWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17820 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17821 | if (!SWIG_IsOK(res1)) { | |
17822 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17823 | } | |
17824 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17825 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCloseEvent, 0 ); | |
17826 | if (!SWIG_IsOK(res2)) { | |
17827 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "2"" of type '" "wxCloseEvent &""'"); | |
17828 | } | |
17829 | if (!argp2) { | |
17830 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMDIChildFrame_OnCloseWindow" "', expected argument " "2"" of type '" "wxCloseEvent &""'"); | |
17831 | } | |
17832 | arg2 = reinterpret_cast< wxCloseEvent * >(argp2); | |
17833 | { | |
17834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17835 | (arg1)->OnCloseWindow(*arg2); | |
17836 | wxPyEndAllowThreads(__tstate); | |
17837 | if (PyErr_Occurred()) SWIG_fail; | |
17838 | } | |
17839 | resultobj = SWIG_Py_Void(); | |
17840 | return resultobj; | |
17841 | fail: | |
17842 | return NULL; | |
10044bf1 | 17843 | } |
34d71f81 RD |
17844 | |
17845 | ||
17846 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_SetMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17847 | PyObject *resultobj = 0; | |
17848 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17849 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
17850 | void *argp1 = 0 ; | |
17851 | int res1 = 0 ; | |
17852 | void *argp2 = 0 ; | |
17853 | int res2 = 0 ; | |
17854 | PyObject * obj0 = 0 ; | |
17855 | PyObject * obj1 = 0 ; | |
17856 | char * kwnames[] = { | |
17857 | (char *) "self",(char *) "parent", NULL | |
17858 | }; | |
17859 | ||
17860 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_SetMDIParentFrame",kwnames,&obj0,&obj1)) SWIG_fail; | |
17861 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17862 | if (!SWIG_IsOK(res1)) { | |
17863 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_SetMDIParentFrame" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17864 | } | |
17865 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17866 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17867 | if (!SWIG_IsOK(res2)) { | |
17868 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIChildFrame_SetMDIParentFrame" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
17869 | } | |
17870 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
17871 | { | |
17872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17873 | (arg1)->SetMDIParentFrame(arg2); | |
17874 | wxPyEndAllowThreads(__tstate); | |
17875 | if (PyErr_Occurred()) SWIG_fail; | |
17876 | } | |
17877 | resultobj = SWIG_Py_Void(); | |
17878 | return resultobj; | |
17879 | fail: | |
17880 | return NULL; | |
10044bf1 | 17881 | } |
34d71f81 RD |
17882 | |
17883 | ||
17884 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_GetMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17885 | PyObject *resultobj = 0; | |
17886 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17887 | wxAuiMDIParentFrame *result = 0 ; | |
17888 | void *argp1 = 0 ; | |
17889 | int res1 = 0 ; | |
17890 | PyObject *swig_obj[1] ; | |
17891 | ||
17892 | if (!args) SWIG_fail; | |
17893 | swig_obj[0] = args; | |
17894 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17895 | if (!SWIG_IsOK(res1)) { | |
17896 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_GetMDIParentFrame" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame const *""'"); | |
17897 | } | |
17898 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17899 | { | |
17900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17901 | result = (wxAuiMDIParentFrame *)((wxAuiMDIChildFrame const *)arg1)->GetMDIParentFrame(); | |
17902 | wxPyEndAllowThreads(__tstate); | |
17903 | if (PyErr_Occurred()) SWIG_fail; | |
17904 | } | |
17905 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
17906 | return resultobj; | |
17907 | fail: | |
17908 | return NULL; | |
10044bf1 | 17909 | } |
34d71f81 RD |
17910 | |
17911 | ||
17912 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_ApplyMDIChildFrameRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17913 | PyObject *resultobj = 0; | |
17914 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17915 | void *argp1 = 0 ; | |
17916 | int res1 = 0 ; | |
17917 | PyObject *swig_obj[1] ; | |
17918 | ||
17919 | if (!args) SWIG_fail; | |
17920 | swig_obj[0] = args; | |
17921 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17922 | if (!SWIG_IsOK(res1)) { | |
17923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_ApplyMDIChildFrameRect" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17924 | } | |
17925 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17926 | { | |
17927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17928 | (arg1)->ApplyMDIChildFrameRect(); | |
17929 | wxPyEndAllowThreads(__tstate); | |
17930 | if (PyErr_Occurred()) SWIG_fail; | |
17931 | } | |
17932 | resultobj = SWIG_Py_Void(); | |
17933 | return resultobj; | |
17934 | fail: | |
17935 | return NULL; | |
10044bf1 | 17936 | } |
34d71f81 RD |
17937 | |
17938 | ||
17939 | SWIGINTERN PyObject *_wrap_AuiMDIChildFrame_DoShow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
17940 | PyObject *resultobj = 0; | |
17941 | wxAuiMDIChildFrame *arg1 = (wxAuiMDIChildFrame *) 0 ; | |
17942 | bool arg2 ; | |
17943 | void *argp1 = 0 ; | |
17944 | int res1 = 0 ; | |
17945 | bool val2 ; | |
17946 | int ecode2 = 0 ; | |
17947 | PyObject * obj0 = 0 ; | |
17948 | PyObject * obj1 = 0 ; | |
17949 | char * kwnames[] = { | |
17950 | (char *) "self",(char *) "show", NULL | |
17951 | }; | |
17952 | ||
17953 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIChildFrame_DoShow",kwnames,&obj0,&obj1)) SWIG_fail; | |
17954 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIChildFrame, 0 | 0 ); | |
17955 | if (!SWIG_IsOK(res1)) { | |
17956 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIChildFrame_DoShow" "', expected argument " "1"" of type '" "wxAuiMDIChildFrame *""'"); | |
17957 | } | |
17958 | arg1 = reinterpret_cast< wxAuiMDIChildFrame * >(argp1); | |
17959 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
17960 | if (!SWIG_IsOK(ecode2)) { | |
17961 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIChildFrame_DoShow" "', expected argument " "2"" of type '" "bool""'"); | |
17962 | } | |
17963 | arg2 = static_cast< bool >(val2); | |
17964 | { | |
17965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17966 | (arg1)->DoShow(arg2); | |
17967 | wxPyEndAllowThreads(__tstate); | |
17968 | if (PyErr_Occurred()) SWIG_fail; | |
17969 | } | |
17970 | resultobj = SWIG_Py_Void(); | |
17971 | return resultobj; | |
17972 | fail: | |
17973 | return NULL; | |
10044bf1 | 17974 | } |
34d71f81 RD |
17975 | |
17976 | ||
17977 | SWIGINTERN PyObject *AuiMDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17978 | PyObject *obj; | |
17979 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
17980 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIChildFrame, SWIG_NewClientData(obj)); | |
17981 | return SWIG_Py_Void(); | |
10044bf1 | 17982 | } |
34d71f81 RD |
17983 | |
17984 | SWIGINTERN PyObject *AuiMDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17985 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 17986 | } |
34d71f81 RD |
17987 | |
17988 | SWIGINTERN PyObject *_wrap_new_PreAuiMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
17989 | PyObject *resultobj = 0; | |
17990 | wxAuiMDIClientWindow *result = 0 ; | |
17991 | ||
17992 | if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMDIClientWindow",0,0,0)) SWIG_fail; | |
17993 | { | |
17994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17995 | result = (wxAuiMDIClientWindow *)new wxAuiMDIClientWindow(); | |
17996 | wxPyEndAllowThreads(__tstate); | |
17997 | if (PyErr_Occurred()) SWIG_fail; | |
17998 | } | |
17999 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_POINTER_OWN | 0 ); | |
18000 | return resultobj; | |
18001 | fail: | |
18002 | return NULL; | |
f9bf356b | 18003 | } |
34d71f81 RD |
18004 | |
18005 | ||
18006 | SWIGINTERN PyObject *_wrap_new_AuiMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18007 | PyObject *resultobj = 0; | |
18008 | wxAuiMDIParentFrame *arg1 = (wxAuiMDIParentFrame *) 0 ; | |
18009 | long arg2 = (long) 0 ; | |
18010 | wxAuiMDIClientWindow *result = 0 ; | |
18011 | void *argp1 = 0 ; | |
18012 | int res1 = 0 ; | |
18013 | long val2 ; | |
18014 | int ecode2 = 0 ; | |
18015 | PyObject * obj0 = 0 ; | |
18016 | PyObject * obj1 = 0 ; | |
18017 | char * kwnames[] = { | |
18018 | (char *) "parent",(char *) "style", NULL | |
18019 | }; | |
18020 | ||
18021 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_AuiMDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
18022 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
18023 | if (!SWIG_IsOK(res1)) { | |
18024 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMDIClientWindow" "', expected argument " "1"" of type '" "wxAuiMDIParentFrame *""'"); | |
18025 | } | |
18026 | arg1 = reinterpret_cast< wxAuiMDIParentFrame * >(argp1); | |
18027 | if (obj1) { | |
18028 | ecode2 = SWIG_AsVal_long(obj1, &val2); | |
18029 | if (!SWIG_IsOK(ecode2)) { | |
18030 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMDIClientWindow" "', expected argument " "2"" of type '" "long""'"); | |
18031 | } | |
18032 | arg2 = static_cast< long >(val2); | |
18033 | } | |
18034 | { | |
18035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18036 | result = (wxAuiMDIClientWindow *)new wxAuiMDIClientWindow(arg1,arg2); | |
18037 | wxPyEndAllowThreads(__tstate); | |
18038 | if (PyErr_Occurred()) SWIG_fail; | |
18039 | } | |
18040 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_POINTER_NEW | 0 ); | |
18041 | return resultobj; | |
18042 | fail: | |
18043 | return NULL; | |
10044bf1 | 18044 | } |
34d71f81 RD |
18045 | |
18046 | ||
18047 | SWIGINTERN PyObject *_wrap_AuiMDIClientWindow_CreateClient(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18048 | PyObject *resultobj = 0; | |
18049 | wxAuiMDIClientWindow *arg1 = (wxAuiMDIClientWindow *) 0 ; | |
18050 | wxAuiMDIParentFrame *arg2 = (wxAuiMDIParentFrame *) 0 ; | |
18051 | long arg3 = (long) wxVSCROLL|wxHSCROLL ; | |
18052 | bool result; | |
18053 | void *argp1 = 0 ; | |
18054 | int res1 = 0 ; | |
18055 | void *argp2 = 0 ; | |
18056 | int res2 = 0 ; | |
18057 | long val3 ; | |
18058 | int ecode3 = 0 ; | |
18059 | PyObject * obj0 = 0 ; | |
18060 | PyObject * obj1 = 0 ; | |
18061 | PyObject * obj2 = 0 ; | |
18062 | char * kwnames[] = { | |
18063 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
18064 | }; | |
18065 | ||
18066 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiMDIClientWindow_CreateClient",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
18067 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
18068 | if (!SWIG_IsOK(res1)) { | |
18069 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "1"" of type '" "wxAuiMDIClientWindow *""'"); | |
18070 | } | |
18071 | arg1 = reinterpret_cast< wxAuiMDIClientWindow * >(argp1); | |
18072 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiMDIParentFrame, 0 | 0 ); | |
18073 | if (!SWIG_IsOK(res2)) { | |
18074 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "2"" of type '" "wxAuiMDIParentFrame *""'"); | |
18075 | } | |
18076 | arg2 = reinterpret_cast< wxAuiMDIParentFrame * >(argp2); | |
18077 | if (obj2) { | |
18078 | ecode3 = SWIG_AsVal_long(obj2, &val3); | |
18079 | if (!SWIG_IsOK(ecode3)) { | |
18080 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMDIClientWindow_CreateClient" "', expected argument " "3"" of type '" "long""'"); | |
18081 | } | |
18082 | arg3 = static_cast< long >(val3); | |
18083 | } | |
18084 | { | |
18085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18086 | result = (bool)(arg1)->CreateClient(arg2,arg3); | |
18087 | wxPyEndAllowThreads(__tstate); | |
18088 | if (PyErr_Occurred()) SWIG_fail; | |
18089 | } | |
18090 | { | |
18091 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18092 | } | |
18093 | return resultobj; | |
18094 | fail: | |
18095 | return NULL; | |
10044bf1 | 18096 | } |
34d71f81 RD |
18097 | |
18098 | ||
18099 | SWIGINTERN PyObject *_wrap_AuiMDIClientWindow_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
18100 | PyObject *resultobj = 0; | |
18101 | wxAuiMDIClientWindow *arg1 = (wxAuiMDIClientWindow *) 0 ; | |
18102 | size_t arg2 ; | |
18103 | int result; | |
18104 | void *argp1 = 0 ; | |
18105 | int res1 = 0 ; | |
18106 | size_t val2 ; | |
18107 | int ecode2 = 0 ; | |
18108 | PyObject * obj0 = 0 ; | |
18109 | PyObject * obj1 = 0 ; | |
18110 | char * kwnames[] = { | |
18111 | (char *) "self",(char *) "page", NULL | |
18112 | }; | |
18113 | ||
18114 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMDIClientWindow_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; | |
18115 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMDIClientWindow, 0 | 0 ); | |
18116 | if (!SWIG_IsOK(res1)) { | |
18117 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMDIClientWindow_SetSelection" "', expected argument " "1"" of type '" "wxAuiMDIClientWindow *""'"); | |
18118 | } | |
18119 | arg1 = reinterpret_cast< wxAuiMDIClientWindow * >(argp1); | |
18120 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
18121 | if (!SWIG_IsOK(ecode2)) { | |
18122 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMDIClientWindow_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); | |
18123 | } | |
18124 | arg2 = static_cast< size_t >(val2); | |
18125 | { | |
18126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18127 | result = (int)(arg1)->SetSelection(arg2); | |
18128 | wxPyEndAllowThreads(__tstate); | |
18129 | if (PyErr_Occurred()) SWIG_fail; | |
18130 | } | |
18131 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
18132 | return resultobj; | |
18133 | fail: | |
18134 | return NULL; | |
10044bf1 | 18135 | } |
34d71f81 RD |
18136 | |
18137 | ||
18138 | SWIGINTERN PyObject *AuiMDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18139 | PyObject *obj; | |
18140 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18141 | SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMDIClientWindow, SWIG_NewClientData(obj)); | |
18142 | return SWIG_Py_Void(); | |
10044bf1 | 18143 | } |
34d71f81 RD |
18144 | |
18145 | SWIGINTERN PyObject *AuiMDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18146 | return SWIG_Python_InitShadowInstance(args); | |
10044bf1 | 18147 | } |
34d71f81 RD |
18148 | |
18149 | SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
18150 | PyObject *obj; | |
18151 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18152 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj)); | |
18153 | return SWIG_Py_Void(); | |
10044bf1 | 18154 | } |
34d71f81 | 18155 | |
4976f996 RD |
18156 | SWIGINTERN PyObject *_wrap_new_PyAuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18157 | PyObject *resultobj = 0; | |
18158 | wxPyAuiTabArt *result = 0 ; | |
18159 | ||
18160 | if (!SWIG_Python_UnpackTuple(args,"new_PyAuiTabArt",0,0,0)) SWIG_fail; | |
18161 | { | |
18162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18163 | result = (wxPyAuiTabArt *)new wxPyAuiTabArt(); | |
18164 | wxPyEndAllowThreads(__tstate); | |
18165 | if (PyErr_Occurred()) SWIG_fail; | |
18166 | } | |
18167 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyAuiTabArt, SWIG_POINTER_NEW | 0 ); | |
18168 | return resultobj; | |
18169 | fail: | |
18170 | return NULL; | |
18171 | } | |
18172 | ||
18173 | ||
34d71f81 RD |
18174 | SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18175 | PyObject *obj; | |
18176 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
18177 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj)); | |
18178 | return SWIG_Py_Void(); | |
10044bf1 | 18179 | } |
34d71f81 | 18180 | |
4976f996 RD |
18181 | SWIGINTERN PyObject *PyAuiTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
18182 | return SWIG_Python_InitShadowInstance(args); | |
18183 | } | |
18184 | ||
34d71f81 RD |
18185 | static PyMethodDef SwigMethods[] = { |
18186 | { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL}, | |
18187 | { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL}, | |
18188 | { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18189 | { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL}, | |
18190 | { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL}, | |
18191 | { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL}, | |
18192 | { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL}, | |
18193 | { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL}, | |
18194 | { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL}, | |
18195 | { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL}, | |
18196 | { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL}, | |
18197 | { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL}, | |
18198 | { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL}, | |
18199 | { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL}, | |
18200 | { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL}, | |
18201 | { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL}, | |
18202 | { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL}, | |
18203 | { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL}, | |
18204 | { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL}, | |
18205 | { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL}, | |
18206 | { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL}, | |
18207 | { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL}, | |
18208 | { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL}, | |
18209 | { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL}, | |
18210 | { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL}, | |
18211 | { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL}, | |
18212 | { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18213 | { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18214 | { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18215 | { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL}, | |
18216 | { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL}, | |
18217 | { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL}, | |
18218 | { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL}, | |
18219 | { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL}, | |
18220 | { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL}, | |
18221 | { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18222 | { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18223 | { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18224 | { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18225 | { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18226 | { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18227 | { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18228 | { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18229 | { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18230 | { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL}, | |
18231 | { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18232 | { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL}, | |
18233 | { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL}, | |
18234 | { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL}, | |
18235 | { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18236 | { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18237 | { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL}, | |
18238 | { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL}, | |
18239 | { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18240 | { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18241 | { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18242 | { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18243 | { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18244 | { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18245 | { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18246 | { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18247 | { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18248 | { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18249 | { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18250 | { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18251 | { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18252 | { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18253 | { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18254 | { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, | |
18255 | { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, | |
18256 | { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL}, | |
18257 | { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL}, | |
18258 | { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18259 | { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18260 | { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL}, | |
18261 | { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL}, | |
18262 | { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL}, | |
18263 | { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL}, | |
18264 | { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL}, | |
18265 | { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL}, | |
18266 | { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL}, | |
18267 | { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL}, | |
18268 | { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL}, | |
18269 | { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL}, | |
18270 | { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL}, | |
18271 | { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL}, | |
18272 | { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL}, | |
18273 | { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL}, | |
18274 | { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL}, | |
18275 | { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL}, | |
18276 | { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL}, | |
18277 | { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL}, | |
18278 | { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL}, | |
18279 | { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL}, | |
18280 | { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL}, | |
18281 | { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL}, | |
18282 | { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL}, | |
18283 | { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL}, | |
18284 | { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL}, | |
18285 | { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL}, | |
18286 | { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL}, | |
18287 | { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL}, | |
18288 | { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL}, | |
18289 | { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL}, | |
18290 | { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL}, | |
18291 | { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL}, | |
18292 | { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL}, | |
18293 | { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL}, | |
18294 | { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL}, | |
18295 | { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL}, | |
18296 | { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18297 | { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL}, | |
18298 | { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL}, | |
18299 | { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18300 | { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL}, | |
18301 | { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18302 | { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL}, | |
18303 | { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18304 | { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18305 | { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL}, | |
18306 | { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18307 | { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18308 | { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL}, | |
18309 | { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18310 | { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18311 | { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18312 | { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18313 | { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18314 | { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, | |
18315 | { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18316 | { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18317 | { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, | |
18318 | { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18319 | { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18320 | { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18321 | { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18322 | { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18323 | { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18324 | { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, | |
18325 | { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18326 | { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18327 | { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18328 | { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18329 | { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18330 | { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL}, | |
18331 | { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18332 | { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18333 | { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL}, | |
18334 | { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL}, | |
18335 | { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18336 | { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL}, | |
18337 | { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18338 | { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18339 | { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18340 | { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18341 | { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL}, | |
18342 | { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL}, | |
18343 | { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL}, | |
18344 | { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL}, | |
18345 | { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18346 | { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL}, | |
18347 | { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18348 | { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL}, | |
18349 | { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL}, | |
18350 | { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL}, | |
18351 | { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL}, | |
18352 | { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL}, | |
18353 | { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL}, | |
18354 | { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL}, | |
18355 | { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL}, | |
18356 | { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL}, | |
18357 | { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL}, | |
18358 | { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL}, | |
18359 | { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL}, | |
18360 | { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL}, | |
18361 | { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL}, | |
18362 | { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL}, | |
18363 | { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL}, | |
18364 | { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL}, | |
18365 | { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL}, | |
18366 | { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL}, | |
18367 | { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL}, | |
18368 | { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL}, | |
18369 | { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL}, | |
18370 | { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL}, | |
18371 | { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL}, | |
18372 | { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL}, | |
18373 | { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL}, | |
18374 | { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL}, | |
18375 | { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL}, | |
18376 | { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL}, | |
18377 | { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL}, | |
18378 | { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL}, | |
18379 | { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL}, | |
18380 | { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL}, | |
18381 | { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL}, | |
18382 | { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL}, | |
18383 | { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL}, | |
18384 | { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, | |
18385 | { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, | |
18386 | { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, | |
18387 | { (char *)"AuiDockInfo_reserved1_set", _wrap_AuiDockInfo_reserved1_set, METH_VARARGS, NULL}, | |
18388 | { (char *)"AuiDockInfo_reserved1_get", (PyCFunction)_wrap_AuiDockInfo_reserved1_get, METH_O, NULL}, | |
18389 | { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, | |
18390 | { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, | |
18391 | { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, | |
18392 | { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL}, | |
18393 | { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL}, | |
18394 | { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL}, | |
18395 | { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL}, | |
18396 | { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL}, | |
18397 | { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL}, | |
18398 | { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL}, | |
18399 | { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL}, | |
18400 | { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL}, | |
18401 | { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL}, | |
18402 | { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL}, | |
18403 | { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL}, | |
18404 | { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL}, | |
18405 | { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL}, | |
18406 | { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL}, | |
18407 | { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL}, | |
18408 | { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL}, | |
18409 | { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL}, | |
18410 | { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL}, | |
18411 | { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL}, | |
18412 | { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL}, | |
18413 | { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL}, | |
18414 | { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL}, | |
18415 | { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18416 | { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18417 | { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18418 | { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18419 | { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18420 | { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18421 | { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18422 | { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18423 | { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18424 | { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18425 | { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18426 | { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18427 | { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18428 | { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18429 | { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL}, | |
18430 | { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL}, | |
18431 | { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL}, | |
18432 | { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL}, | |
18433 | { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18434 | { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL}, | |
18435 | { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18436 | { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL}, | |
18437 | { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL}, | |
18438 | { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL}, | |
18439 | { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18440 | { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18441 | { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL}, | |
18442 | { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18443 | { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL}, | |
18444 | { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18445 | { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL}, | |
18446 | { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL}, | |
18447 | { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL}, | |
18448 | { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL}, | |
18449 | { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL}, | |
18450 | { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL}, | |
18451 | { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL}, | |
18452 | { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL}, | |
18453 | { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL}, | |
18454 | { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL}, | |
18455 | { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL}, | |
18456 | { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL}, | |
18457 | { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL}, | |
18458 | { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL}, | |
18459 | { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL}, | |
18460 | { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL}, | |
18461 | { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL}, | |
18462 | { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL}, | |
18463 | { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL}, | |
18464 | { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL}, | |
18465 | { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL}, | |
18466 | { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL}, | |
18467 | { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL}, | |
18468 | { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL}, | |
18469 | { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL}, | |
18470 | { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL}, | |
18471 | { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL}, | |
18472 | { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL}, | |
18473 | { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL}, | |
18474 | { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL}, | |
18475 | { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL}, | |
18476 | { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL}, | |
18477 | { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL}, | |
18478 | { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL}, | |
18479 | { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL}, | |
18480 | { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18481 | { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18482 | { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18483 | { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18484 | { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18485 | { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18486 | { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18487 | { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18488 | { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18489 | { (char *)"AuiTabArt_ShowDropDown", (PyCFunction) _wrap_AuiTabArt_ShowDropDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18490 | { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, | |
18491 | { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18492 | { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, | |
18493 | { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, | |
18494 | { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL}, | |
18495 | { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL}, | |
18496 | { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL}, | |
18497 | { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL}, | |
18498 | { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL}, | |
18499 | { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL}, | |
18500 | { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL}, | |
18501 | { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL}, | |
18502 | { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL}, | |
18503 | { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18504 | { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL}, | |
18505 | { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18506 | { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL}, | |
18507 | { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18508 | { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18509 | { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18510 | { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18511 | { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL}, | |
18512 | { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL}, | |
18513 | { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL}, | |
18514 | { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18515 | { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18516 | { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18517 | { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18518 | { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL}, | |
18519 | { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18520 | { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL}, | |
18521 | { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18522 | { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18523 | { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18524 | { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL}, | |
18525 | { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18526 | { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18527 | { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18528 | { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL}, | |
18529 | { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18530 | { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL}, | |
18531 | { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL}, | |
18532 | { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18533 | { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL}, | |
18534 | { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL}, | |
18535 | { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL}, | |
18536 | { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL}, | |
18537 | { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18538 | { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, | |
18539 | { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18540 | { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18541 | { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, | |
18542 | { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18543 | { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18544 | { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18545 | { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18546 | { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18547 | { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18548 | { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, | |
18549 | { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18550 | { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18551 | { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18552 | { (char *)"AuiNotebook_GetPageText", (PyCFunction) _wrap_AuiNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18553 | { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18554 | { (char *)"AuiNotebook_GetPageBitmap", (PyCFunction) _wrap_AuiNotebook_GetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18555 | { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18556 | { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, | |
18557 | { (char *)"AuiNotebook_Split", (PyCFunction) _wrap_AuiNotebook_Split, METH_VARARGS | METH_KEYWORDS, NULL}, | |
070a1e7e | 18558 | { (char *)"AuiNotebook_GetAuiManager", (PyCFunction)_wrap_AuiNotebook_GetAuiManager, METH_O, NULL}, |
34d71f81 RD |
18559 | { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, |
18560 | { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, | |
18561 | { (char *)"new_PreAuiMDIParentFrame", (PyCFunction)_wrap_new_PreAuiMDIParentFrame, METH_NOARGS, NULL}, | |
18562 | { (char *)"new_AuiMDIParentFrame", (PyCFunction) _wrap_new_AuiMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18563 | { (char *)"AuiMDIParentFrame_Create", (PyCFunction) _wrap_AuiMDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18564 | { (char *)"AuiMDIParentFrame_SetArtProvider", (PyCFunction) _wrap_AuiMDIParentFrame_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18565 | { (char *)"AuiMDIParentFrame_GetArtProvider", (PyCFunction)_wrap_AuiMDIParentFrame_GetArtProvider, METH_O, NULL}, | |
18566 | { (char *)"AuiMDIParentFrame_GetNotebook", (PyCFunction)_wrap_AuiMDIParentFrame_GetNotebook, METH_O, NULL}, | |
18567 | { (char *)"AuiMDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_AuiMDIParentFrame_GetWindowMenu, METH_O, NULL}, | |
18568 | { (char *)"AuiMDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_AuiMDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18569 | { (char *)"AuiMDIParentFrame_SetChildMenuBar", (PyCFunction) _wrap_AuiMDIParentFrame_SetChildMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18570 | { (char *)"AuiMDIParentFrame_ProcessEvent", (PyCFunction) _wrap_AuiMDIParentFrame_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18571 | { (char *)"AuiMDIParentFrame_GetActiveChild", (PyCFunction)_wrap_AuiMDIParentFrame_GetActiveChild, METH_O, NULL}, | |
18572 | { (char *)"AuiMDIParentFrame_SetActiveChild", (PyCFunction) _wrap_AuiMDIParentFrame_SetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18573 | { (char *)"AuiMDIParentFrame_GetClientWindow", (PyCFunction)_wrap_AuiMDIParentFrame_GetClientWindow, METH_O, NULL}, | |
18574 | { (char *)"AuiMDIParentFrame_OnCreateClient", (PyCFunction)_wrap_AuiMDIParentFrame_OnCreateClient, METH_O, NULL}, | |
18575 | { (char *)"AuiMDIParentFrame_Cascade", (PyCFunction)_wrap_AuiMDIParentFrame_Cascade, METH_O, NULL}, | |
18576 | { (char *)"AuiMDIParentFrame_Tile", (PyCFunction) _wrap_AuiMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18577 | { (char *)"AuiMDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_AuiMDIParentFrame_ArrangeIcons, METH_O, NULL}, | |
18578 | { (char *)"AuiMDIParentFrame_ActivateNext", (PyCFunction)_wrap_AuiMDIParentFrame_ActivateNext, METH_O, NULL}, | |
18579 | { (char *)"AuiMDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_AuiMDIParentFrame_ActivatePrevious, METH_O, NULL}, | |
18580 | { (char *)"AuiMDIParentFrame_swigregister", AuiMDIParentFrame_swigregister, METH_VARARGS, NULL}, | |
18581 | { (char *)"AuiMDIParentFrame_swiginit", AuiMDIParentFrame_swiginit, METH_VARARGS, NULL}, | |
18582 | { (char *)"new_PreAuiMDIChildFrame", (PyCFunction)_wrap_new_PreAuiMDIChildFrame, METH_NOARGS, NULL}, | |
18583 | { (char *)"new_AuiMDIChildFrame", (PyCFunction) _wrap_new_AuiMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18584 | { (char *)"AuiMDIChildFrame_Create", (PyCFunction) _wrap_AuiMDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18585 | { (char *)"AuiMDIChildFrame_SetMenuBar", (PyCFunction) _wrap_AuiMDIChildFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18586 | { (char *)"AuiMDIChildFrame_GetMenuBar", (PyCFunction)_wrap_AuiMDIChildFrame_GetMenuBar, METH_O, NULL}, | |
18587 | { (char *)"AuiMDIChildFrame_SetTitle", (PyCFunction) _wrap_AuiMDIChildFrame_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18588 | { (char *)"AuiMDIChildFrame_GetTitle", (PyCFunction)_wrap_AuiMDIChildFrame_GetTitle, METH_O, NULL}, | |
18589 | { (char *)"AuiMDIChildFrame_SetIcons", (PyCFunction) _wrap_AuiMDIChildFrame_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18590 | { (char *)"AuiMDIChildFrame_GetIcons", (PyCFunction)_wrap_AuiMDIChildFrame_GetIcons, METH_O, NULL}, | |
18591 | { (char *)"AuiMDIChildFrame_SetIcon", (PyCFunction) _wrap_AuiMDIChildFrame_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18592 | { (char *)"AuiMDIChildFrame_GetIcon", (PyCFunction)_wrap_AuiMDIChildFrame_GetIcon, METH_O, NULL}, | |
18593 | { (char *)"AuiMDIChildFrame_Activate", (PyCFunction)_wrap_AuiMDIChildFrame_Activate, METH_O, NULL}, | |
18594 | { (char *)"AuiMDIChildFrame_DoSetSizeHints", (PyCFunction) _wrap_AuiMDIChildFrame_DoSetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18595 | { (char *)"AuiMDIChildFrame_Maximize", (PyCFunction) _wrap_AuiMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18596 | { (char *)"AuiMDIChildFrame_Restore", (PyCFunction)_wrap_AuiMDIChildFrame_Restore, METH_O, NULL}, | |
18597 | { (char *)"AuiMDIChildFrame_Iconize", (PyCFunction) _wrap_AuiMDIChildFrame_Iconize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18598 | { (char *)"AuiMDIChildFrame_IsMaximized", (PyCFunction)_wrap_AuiMDIChildFrame_IsMaximized, METH_O, NULL}, | |
18599 | { (char *)"AuiMDIChildFrame_IsIconized", (PyCFunction)_wrap_AuiMDIChildFrame_IsIconized, METH_O, NULL}, | |
18600 | { (char *)"AuiMDIChildFrame_ShowFullScreen", (PyCFunction) _wrap_AuiMDIChildFrame_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18601 | { (char *)"AuiMDIChildFrame_IsFullScreen", (PyCFunction)_wrap_AuiMDIChildFrame_IsFullScreen, METH_O, NULL}, | |
18602 | { (char *)"AuiMDIChildFrame_OnMenuHighlight", (PyCFunction) _wrap_AuiMDIChildFrame_OnMenuHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18603 | { (char *)"AuiMDIChildFrame_OnActivate", (PyCFunction) _wrap_AuiMDIChildFrame_OnActivate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18604 | { (char *)"AuiMDIChildFrame_OnCloseWindow", (PyCFunction) _wrap_AuiMDIChildFrame_OnCloseWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18605 | { (char *)"AuiMDIChildFrame_SetMDIParentFrame", (PyCFunction) _wrap_AuiMDIChildFrame_SetMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18606 | { (char *)"AuiMDIChildFrame_GetMDIParentFrame", (PyCFunction)_wrap_AuiMDIChildFrame_GetMDIParentFrame, METH_O, NULL}, | |
18607 | { (char *)"AuiMDIChildFrame_ApplyMDIChildFrameRect", (PyCFunction)_wrap_AuiMDIChildFrame_ApplyMDIChildFrameRect, METH_O, NULL}, | |
18608 | { (char *)"AuiMDIChildFrame_DoShow", (PyCFunction) _wrap_AuiMDIChildFrame_DoShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18609 | { (char *)"AuiMDIChildFrame_swigregister", AuiMDIChildFrame_swigregister, METH_VARARGS, NULL}, | |
18610 | { (char *)"AuiMDIChildFrame_swiginit", AuiMDIChildFrame_swiginit, METH_VARARGS, NULL}, | |
18611 | { (char *)"new_PreAuiMDIClientWindow", (PyCFunction)_wrap_new_PreAuiMDIClientWindow, METH_NOARGS, NULL}, | |
18612 | { (char *)"new_AuiMDIClientWindow", (PyCFunction) _wrap_new_AuiMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18613 | { (char *)"AuiMDIClientWindow_CreateClient", (PyCFunction) _wrap_AuiMDIClientWindow_CreateClient, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18614 | { (char *)"AuiMDIClientWindow_SetSelection", (PyCFunction) _wrap_AuiMDIClientWindow_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
18615 | { (char *)"AuiMDIClientWindow_swigregister", AuiMDIClientWindow_swigregister, METH_VARARGS, NULL}, | |
18616 | { (char *)"AuiMDIClientWindow_swiginit", AuiMDIClientWindow_swiginit, METH_VARARGS, NULL}, | |
18617 | { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, | |
4976f996 | 18618 | { (char *)"new_PyAuiTabArt", (PyCFunction)_wrap_new_PyAuiTabArt, METH_NOARGS, NULL}, |
34d71f81 | 18619 | { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL}, |
4976f996 | 18620 | { (char *)"PyAuiTabArt_swiginit", PyAuiTabArt_swiginit, METH_VARARGS, NULL}, |
34d71f81 RD |
18621 | { NULL, NULL, 0, NULL } |
18622 | }; | |
18623 | ||
18624 | ||
18625 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
18626 | ||
18627 | static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { | |
18628 | return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
10044bf1 | 18629 | } |
34d71f81 RD |
18630 | static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) { |
18631 | return (void *)((wxSizerItem *) ((wxGBSizerItem *) x)); | |
10044bf1 | 18632 | } |
34d71f81 RD |
18633 | static void *_p_wxBoxSizerTo_p_wxSizer(void *x) { |
18634 | return (void *)((wxSizer *) ((wxBoxSizer *) x)); | |
10044bf1 | 18635 | } |
34d71f81 RD |
18636 | static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) { |
18637 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
10044bf1 | 18638 | } |
34d71f81 RD |
18639 | static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) { |
18640 | return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
5eb8189c | 18641 | } |
34d71f81 RD |
18642 | static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) { |
18643 | return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
10044bf1 | 18644 | } |
34d71f81 RD |
18645 | static void *_p_wxGridSizerTo_p_wxSizer(void *x) { |
18646 | return (void *)((wxSizer *) ((wxGridSizer *) x)); | |
10044bf1 | 18647 | } |
34d71f81 RD |
18648 | static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) { |
18649 | return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x)); | |
10044bf1 | 18650 | } |
34d71f81 RD |
18651 | static void *_p_wxPySizerTo_p_wxSizer(void *x) { |
18652 | return (void *)((wxSizer *) ((wxPySizer *) x)); | |
10044bf1 | 18653 | } |
27e45892 RD |
18654 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
18655 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18656 | } | |
18657 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18658 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18659 | } | |
18660 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18661 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18662 | } | |
18663 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18664 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
18665 | } | |
18666 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
18667 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
18668 | } | |
18669 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
18670 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
18671 | } | |
18672 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
18673 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18674 | } | |
5eb8189c RD |
18675 | static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) { |
18676 | return (void *)((wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
18677 | } |
18678 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
18679 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
18680 | } | |
18681 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
18682 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
18683 | } | |
18684 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
18685 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
18686 | } | |
18687 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
18688 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18689 | } | |
0f83f5da RD |
18690 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
18691 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
18692 | } | |
27e45892 RD |
18693 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
18694 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18695 | } | |
18696 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
18697 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
18698 | } | |
10044bf1 RD |
18699 | static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) { |
18700 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
18701 | } | |
27e45892 RD |
18702 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
18703 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
18704 | } | |
18705 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
18706 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18707 | } | |
18708 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
18709 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
18710 | } | |
18711 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
18712 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
18713 | } | |
18714 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
18715 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
18716 | } | |
18717 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
18718 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
18719 | } | |
18720 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
18721 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
18722 | } | |
18723 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
18724 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
18725 | } | |
18726 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
18727 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
18728 | } | |
27e45892 RD |
18729 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
18730 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
18731 | } | |
18732 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
18733 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
18734 | } | |
0f83f5da RD |
18735 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
18736 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
18737 | } | |
27e45892 RD |
18738 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
18739 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18740 | } | |
18741 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
18742 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
18743 | } | |
18744 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
18745 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
18746 | } | |
18747 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
18748 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
18749 | } | |
18750 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
18751 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18752 | } | |
18753 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
18754 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18755 | } | |
18756 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18757 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18758 | } | |
18759 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18760 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18761 | } | |
18762 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
18763 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
18764 | } | |
18765 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
18766 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
18767 | } | |
18768 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18769 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18770 | } | |
18771 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
18772 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18773 | } | |
18774 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18775 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18776 | } | |
34d71f81 RD |
18777 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { |
18778 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18779 | } | |
18780 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18781 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18782 | } | |
18783 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18784 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18785 | } | |
18786 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18787 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18788 | } | |
18789 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
18790 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
18791 | } | |
18792 | static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) { | |
18793 | return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x)); | |
18794 | } | |
18795 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
18796 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
18797 | } | |
18798 | static void *_p_wxAuiMDIClientWindowTo_p_wxControl(void *x) { | |
18799 | return (void *)((wxControl *) (wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18800 | } | |
18801 | static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) { | |
18802 | return (void *)((wxControl *) ((wxAuiTabCtrl *) x)); | |
18803 | } | |
18804 | static void *_p_wxAuiNotebookTo_p_wxControl(void *x) { | |
18805 | return (void *)((wxControl *) ((wxAuiNotebook *) x)); | |
18806 | } | |
18807 | static void *_p_wxAuiMDIClientWindowTo_p_wxAuiNotebook(void *x) { | |
18808 | return (void *)((wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18809 | } | |
18810 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
18811 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
18812 | } | |
18813 | static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) { | |
18814 | return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
18815 | } | |
18816 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
18817 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
18818 | } | |
18819 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
18820 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
18821 | } | |
4976f996 RD |
18822 | static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) { |
18823 | return (void *)((wxEvtHandler *) ((wxEventBlocker *) x)); | |
18824 | } | |
34d71f81 RD |
18825 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
18826 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
18827 | } | |
18828 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18829 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18830 | } | |
18831 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18832 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18833 | } | |
18834 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18835 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18836 | } | |
18837 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18838 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18839 | } | |
34d71f81 RD |
18840 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
18841 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
18842 | } | |
18843 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
18844 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
18845 | } | |
18846 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
18847 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
18848 | } | |
4976f996 RD |
18849 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
18850 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
18851 | } | |
34d71f81 RD |
18852 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
18853 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
18854 | } | |
18855 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { | |
18856 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
18857 | } | |
18858 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
18859 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
18860 | } | |
18861 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
18862 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
18863 | } | |
18864 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
18865 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
18866 | } | |
18867 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
18868 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
18869 | } | |
18870 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
18871 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
18872 | } | |
18873 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18874 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
18875 | } | |
18876 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
18877 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
18878 | } | |
18879 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
18880 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
18881 | } | |
18882 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
18883 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
18884 | } | |
18885 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
18886 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
18887 | } | |
18888 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
18889 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
18890 | } | |
18891 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
18892 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
18893 | } | |
18894 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
18895 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
18896 | } | |
18897 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18898 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18899 | } | |
18900 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18901 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
18902 | } | |
18903 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
18904 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
18905 | } | |
18906 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18907 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
18908 | } | |
18909 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
18910 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
18911 | } | |
18912 | static void *_p_wxAuiMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
18913 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
18914 | } | |
18915 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18916 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18917 | } | |
18918 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18919 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
18920 | } | |
18921 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
18922 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
18923 | } | |
18924 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18925 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
18926 | } | |
18927 | static void *_p_wxAuiMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
18928 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
18929 | } | |
18930 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18931 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18932 | } | |
18933 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18934 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18935 | } | |
18936 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
18937 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
18938 | } | |
18939 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
18940 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
18941 | } | |
18942 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
18943 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
18944 | } | |
18945 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
18946 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
18947 | } | |
18948 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
18949 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
18950 | } | |
18951 | static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) { | |
18952 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
18953 | } | |
18954 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18955 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
18956 | } | |
18957 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
18958 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
18959 | } | |
18960 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
18961 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
18962 | } | |
18963 | static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) { | |
18964 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
18965 | } | |
18966 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
18967 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
18968 | } | |
18969 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
18970 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
18971 | } | |
18972 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
18973 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
18974 | } | |
18975 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
18976 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
18977 | } | |
18978 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
18979 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
18980 | } | |
18981 | static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) { | |
18982 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
18983 | } | |
18984 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
18985 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
18986 | } | |
18987 | static void *_p_wxAuiMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
18988 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
18989 | } | |
18990 | static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) { | |
18991 | return (void *)((wxEvtHandler *) ((wxAuiManager *) x)); | |
18992 | } | |
18993 | static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) { | |
18994 | return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
18995 | } | |
18996 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
18997 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
18998 | } | |
18999 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
19000 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
19001 | } | |
19002 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
19003 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
19004 | } | |
19005 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
19006 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19007 | } | |
19008 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
19009 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
19010 | } | |
19011 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
19012 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
19013 | } | |
19014 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
19015 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
19016 | } | |
19017 | static void *_p_wxAuiMDIParentFrameTo_p_wxFrame(void *x) { | |
19018 | return (void *)((wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
19019 | } | |
19020 | static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) { | |
19021 | return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19022 | } | |
19023 | static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) { | |
19024 | return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x)); | |
27e45892 | 19025 | } |
34d71f81 RD |
19026 | static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) { |
19027 | return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x)); | |
27e45892 | 19028 | } |
34d71f81 RD |
19029 | static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) { |
19030 | return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); | |
27e45892 | 19031 | } |
34d71f81 RD |
19032 | static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) { |
19033 | return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x)); | |
27e45892 | 19034 | } |
34d71f81 RD |
19035 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) { |
19036 | return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
19037 | } | |
19038 | static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) { | |
19039 | return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x)); | |
27e45892 RD |
19040 | } |
19041 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
19042 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
19043 | } | |
19044 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
19045 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
19046 | } | |
4976f996 RD |
19047 | static void *_p_wxEventBlockerTo_p_wxObject(void *x) { |
19048 | return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x)); | |
19049 | } | |
27e45892 RD |
19050 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
19051 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
19052 | } | |
19053 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
19054 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
19055 | } | |
27e45892 RD |
19056 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
19057 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
19058 | } | |
0f83f5da RD |
19059 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
19060 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
19061 | } | |
27e45892 RD |
19062 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
19063 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
19064 | } | |
19065 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
19066 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
19067 | } | |
19068 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
19069 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
19070 | } | |
19071 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
19072 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
19073 | } | |
19074 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
19075 | return (void *)((wxObject *) ((wxSizer *) x)); | |
19076 | } | |
19077 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
19078 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
19079 | } | |
19080 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
19081 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
19082 | } | |
19083 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
19084 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
19085 | } | |
19086 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
19087 | return (void *)((wxObject *) ((wxEvent *) x)); | |
19088 | } | |
19089 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
19090 | return (void *)((wxObject *) ((wxFontData *) x)); | |
19091 | } | |
19092 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
19093 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
19094 | } | |
27e45892 RD |
19095 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
19096 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
19097 | } | |
4976f996 RD |
19098 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
19099 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
19100 | } | |
27e45892 RD |
19101 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
19102 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
19103 | } | |
19104 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
19105 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
19106 | } | |
19107 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
19108 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
19109 | } | |
19110 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
19111 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19112 | } | |
10044bf1 RD |
19113 | static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) { |
19114 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x)); | |
19115 | } | |
27e45892 RD |
19116 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
19117 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
19118 | } | |
19119 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
19120 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
19121 | } | |
19122 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
19123 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
19124 | } | |
19125 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
19126 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
19127 | } | |
19128 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
19129 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
19130 | } | |
19131 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
19132 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
19133 | } | |
19134 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
19135 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
19136 | } | |
19137 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
19138 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
19139 | } | |
19140 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
19141 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
19142 | } | |
19143 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
19144 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
19145 | } | |
19146 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
19147 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
19148 | } | |
5eb8189c RD |
19149 | static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) { |
19150 | return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x)); | |
27e45892 RD |
19151 | } |
19152 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
19153 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
19154 | } | |
19155 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
19156 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
19157 | } | |
5eb8189c RD |
19158 | static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) { |
19159 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
19160 | } | |
27e45892 RD |
19161 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
19162 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
19163 | } | |
19164 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
19165 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
19166 | } | |
5eb8189c RD |
19167 | static void *_p_wxAuiNotebookTo_p_wxObject(void *x) { |
19168 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x)); | |
10044bf1 | 19169 | } |
34d71f81 RD |
19170 | static void *_p_wxAuiMDIChildFrameTo_p_wxObject(void *x) { |
19171 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
19172 | } | |
27e45892 RD |
19173 | static void *_p_wxColourDataTo_p_wxObject(void *x) { |
19174 | return (void *)((wxObject *) ((wxColourData *) x)); | |
19175 | } | |
19176 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
19177 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
19178 | } | |
19179 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
19180 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19181 | } | |
19182 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
19183 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
19184 | } | |
19185 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
19186 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
19187 | } | |
19188 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
19189 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
19190 | } | |
19191 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
19192 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19193 | } | |
19194 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
19195 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19196 | } | |
19197 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
19198 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
19199 | } | |
19200 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
19201 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19202 | } | |
19203 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { | |
19204 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19205 | } | |
19206 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
19207 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
19208 | } | |
19209 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
19210 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
19211 | } | |
19212 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
19213 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
19214 | } | |
19215 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
19216 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
19217 | } | |
19218 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
19219 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
19220 | } | |
19221 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
19222 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
19223 | } | |
19224 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
19225 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
19226 | } | |
19227 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
19228 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
19229 | } | |
19230 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
19231 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
19232 | } | |
19233 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
19234 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
19235 | } | |
19236 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
19237 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
19238 | } | |
19239 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
19240 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
19241 | } | |
19242 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
19243 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
19244 | } | |
19245 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
19246 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
19247 | } | |
19248 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
19249 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
19250 | } | |
19251 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
19252 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
19253 | } | |
19254 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
19255 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
19256 | } | |
19257 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
19258 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
19259 | } | |
19260 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
19261 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
19262 | } | |
19263 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
19264 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
19265 | } | |
19266 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
19267 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
19268 | } | |
19269 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
19270 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
19271 | } | |
19272 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
19273 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
19274 | } | |
19275 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
19276 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
19277 | } | |
19278 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
19279 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
19280 | } | |
19281 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
19282 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
19283 | } | |
19284 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
19285 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
19286 | } | |
19287 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
19288 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
19289 | } | |
580080c5 RD |
19290 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
19291 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
19292 | } | |
27e45892 RD |
19293 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
19294 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
19295 | } | |
0f83f5da RD |
19296 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
19297 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
19298 | } | |
27e45892 RD |
19299 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
19300 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
19301 | } | |
19302 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
19303 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
19304 | } | |
19305 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
19306 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
19307 | } | |
f9bf356b RD |
19308 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
19309 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
19310 | } | |
27e45892 RD |
19311 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
19312 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
19313 | } | |
580080c5 RD |
19314 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
19315 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
19316 | } | |
27e45892 RD |
19317 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
19318 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
19319 | } | |
19320 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
19321 | return (void *)((wxObject *) ((wxImage *) x)); | |
19322 | } | |
19323 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
19324 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
19325 | } | |
19326 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
19327 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
19328 | } | |
19329 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
19330 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
19331 | } | |
19332 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
19333 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
19334 | } | |
27e45892 RD |
19335 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
19336 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
19337 | } | |
5eb8189c RD |
19338 | static void *_p_wxAuiManagerTo_p_wxObject(void *x) { |
19339 | return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x)); | |
27e45892 RD |
19340 | } |
19341 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
19342 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
19343 | } | |
10044bf1 RD |
19344 | static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) { |
19345 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
19346 | } | |
34d71f81 RD |
19347 | static void *_p_wxAuiMDIParentFrameTo_p_wxObject(void *x) { |
19348 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
19349 | } | |
27e45892 RD |
19350 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
19351 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
19352 | } | |
19353 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
19354 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
19355 | } | |
19356 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
19357 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
19358 | } | |
19359 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
19360 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
19361 | } | |
19362 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
19363 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
19364 | } | |
19365 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
19366 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
19367 | } | |
19368 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
19369 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
19370 | } | |
19371 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
19372 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
19373 | } | |
19374 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
19375 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
19376 | } | |
19377 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
19378 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
19379 | } | |
19380 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
19381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
19382 | } | |
19383 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
19384 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
19385 | } | |
19386 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
19387 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
19388 | } | |
19389 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
19390 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
19391 | } | |
19392 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
19393 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
19394 | } | |
19395 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
19396 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
19397 | } | |
19398 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
19399 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
19400 | } | |
19401 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
19402 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
19403 | } | |
34d71f81 RD |
19404 | static void *_p_wxAuiMDIClientWindowTo_p_wxObject(void *x) { |
19405 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
19406 | } | |
27e45892 RD |
19407 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
19408 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
19409 | } | |
19410 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
19411 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
19412 | } | |
19413 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
19414 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
19415 | } | |
19416 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
19417 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
19418 | } | |
19419 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
19420 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
19421 | } | |
19422 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
19423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
19424 | } | |
19425 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
19426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
19427 | } | |
19428 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
19429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
19430 | } | |
19431 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
19432 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
19433 | } | |
19434 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
19435 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
19436 | } | |
19437 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
19438 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
19439 | } | |
19440 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
19441 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19442 | } | |
19443 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
19444 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
19445 | } | |
19446 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
19447 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
19448 | } | |
19449 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
19450 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
19451 | } | |
19452 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
19453 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
19454 | } | |
19455 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
19456 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
19457 | } | |
19458 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
19459 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
19460 | } | |
19461 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
19462 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
19463 | } | |
19464 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
19465 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
19466 | } | |
19467 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
19468 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
19469 | } | |
19470 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
19471 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
19472 | } | |
19473 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
19474 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
19475 | } | |
19476 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
19477 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19478 | } | |
19479 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
19480 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
19481 | } | |
19482 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
19483 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
19484 | } | |
19485 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
19486 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
19487 | } | |
19488 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
19489 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
19490 | } | |
19491 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
19492 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
19493 | } | |
34d71f81 RD |
19494 | static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) { |
19495 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x)); | |
27e45892 | 19496 | } |
34d71f81 RD |
19497 | static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) { |
19498 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x)); | |
27e45892 | 19499 | } |
34d71f81 RD |
19500 | static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) { |
19501 | return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x)); | |
27e45892 | 19502 | } |
34d71f81 RD |
19503 | static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) { |
19504 | return (void *)((wxWindow **) ((wxMenuBar **) x)); | |
27e45892 | 19505 | } |
34d71f81 RD |
19506 | static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) { |
19507 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x)); | |
27e45892 | 19508 | } |
34d71f81 RD |
19509 | static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) { |
19510 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x)); | |
27e45892 | 19511 | } |
34d71f81 RD |
19512 | static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) { |
19513 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x)); | |
19514 | } | |
19515 | static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) { | |
19516 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x)); | |
19517 | } | |
19518 | static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) { | |
19519 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x)); | |
19520 | } | |
19521 | static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) { | |
19522 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x)); | |
19523 | } | |
19524 | static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) { | |
19525 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x)); | |
19526 | } | |
19527 | static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) { | |
19528 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x)); | |
19529 | } | |
19530 | static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) { | |
19531 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x)); | |
19532 | } | |
19533 | static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) { | |
19534 | return (void *)((wxWindow **) ((wxPanel **) x)); | |
19535 | } | |
19536 | static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) { | |
19537 | return (void *)((wxWindow **) ((wxStatusBar **) x)); | |
19538 | } | |
19539 | static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) { | |
19540 | return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x)); | |
19541 | } | |
19542 | static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) { | |
19543 | return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x)); | |
19544 | } | |
19545 | static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) { | |
19546 | return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x)); | |
19547 | } | |
19548 | static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) { | |
19549 | return (void *)((wxWindow **) ((wxPopupWindow **) x)); | |
19550 | } | |
19551 | static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) { | |
19552 | return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x)); | |
19553 | } | |
19554 | static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) { | |
19555 | return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x)); | |
19556 | } | |
19557 | static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) { | |
19558 | return (void *)((wxWindow **) ((wxTopLevelWindow **) x)); | |
19559 | } | |
19560 | static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) { | |
19561 | return (void *)((wxWindow **) ((wxSplashScreenWindow **) x)); | |
19562 | } | |
19563 | static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) { | |
19564 | return (void *)((wxWindow **) ((wxSplitterWindow **) x)); | |
19565 | } | |
19566 | static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) { | |
19567 | return (void *)((wxWindow **) ((wxSashWindow **) x)); | |
19568 | } | |
19569 | static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) { | |
19570 | return (void *)((wxWindow **) ((wxMDIClientWindow **) x)); | |
19571 | } | |
19572 | static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) { | |
19573 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x)); | |
19574 | } | |
19575 | static void *_p_p_wxAuiMDIClientWindowTo_p_p_wxWindow(void *x) { | |
19576 | return (void *)((wxWindow **) (wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow **) x)); | |
19577 | } | |
19578 | static void *_p_p_wxControlTo_p_p_wxWindow(void *x) { | |
19579 | return (void *)((wxWindow **) ((wxControl **) x)); | |
19580 | } | |
19581 | static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) { | |
19582 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x)); | |
19583 | } | |
19584 | static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) { | |
19585 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x)); | |
19586 | } | |
19587 | static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) { | |
19588 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x)); | |
19589 | } | |
19590 | static void *_p_p_wxAuiMDIChildFrameTo_p_p_wxWindow(void *x) { | |
19591 | return (void *)((wxWindow **) (wxPanel *) ((wxAuiMDIChildFrame **) x)); | |
19592 | } | |
19593 | static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) { | |
19594 | return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x)); | |
19595 | } | |
19596 | static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) { | |
19597 | return (void *)((wxWindow **) ((wxPyWindow **) x)); | |
19598 | } | |
19599 | static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) { | |
19600 | return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x)); | |
19601 | } | |
19602 | static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) { | |
19603 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x)); | |
19604 | } | |
19605 | static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) { | |
19606 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x)); | |
19607 | } | |
19608 | static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) { | |
19609 | return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x)); | |
19610 | } | |
19611 | static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) { | |
19612 | return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x)); | |
19613 | } | |
19614 | static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) { | |
19615 | return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x)); | |
19616 | } | |
19617 | static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) { | |
19618 | return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x)); | |
19619 | } | |
19620 | static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) { | |
19621 | return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x)); | |
19622 | } | |
19623 | static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) { | |
19624 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x)); | |
19625 | } | |
19626 | static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) { | |
19627 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x)); | |
19628 | } | |
19629 | static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) { | |
19630 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x)); | |
19631 | } | |
19632 | static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) { | |
19633 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x)); | |
19634 | } | |
19635 | static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) { | |
19636 | return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x)); | |
19637 | } | |
19638 | static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) { | |
19639 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x)); | |
19640 | } | |
19641 | static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) { | |
19642 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x)); | |
19643 | } | |
19644 | static void *_p_p_wxAuiMDIParentFrameTo_p_p_wxWindow(void *x) { | |
19645 | return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame **) x)); | |
19646 | } | |
19647 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
19648 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
19649 | } | |
19650 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
19651 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
19652 | } | |
19653 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
19654 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
19655 | } | |
19656 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
19657 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
19658 | } | |
19659 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
19660 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
19661 | } | |
19662 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
19663 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
19664 | } | |
19665 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
19666 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
19667 | } | |
19668 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { | |
19669 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
19670 | } | |
19671 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
19672 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
19673 | } | |
19674 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
19675 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
19676 | } | |
19677 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
19678 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
19679 | } | |
19680 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
19681 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
19682 | } | |
19683 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
19684 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
19685 | } | |
19686 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
19687 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
19688 | } | |
19689 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
19690 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
19691 | } | |
19692 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
19693 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
19694 | } | |
19695 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
19696 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
19697 | } | |
19698 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
19699 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
19700 | } | |
19701 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
19702 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
19703 | } | |
19704 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
19705 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
19706 | } | |
19707 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
19708 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
19709 | } | |
19710 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
19711 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
19712 | } | |
19713 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
19714 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
19715 | } | |
19716 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
19717 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
19718 | } | |
19719 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
19720 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
19721 | } | |
19722 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
19723 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
27e45892 | 19724 | } |
34d71f81 RD |
19725 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
19726 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27e45892 | 19727 | } |
34d71f81 RD |
19728 | static void *_p_wxAuiMDIClientWindowTo_p_wxWindow(void *x) { |
19729 | return (void *)((wxWindow *) (wxControl *)(wxAuiNotebook *) ((wxAuiMDIClientWindow *) x)); | |
27e45892 | 19730 | } |
34d71f81 RD |
19731 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
19732 | return (void *)((wxWindow *) ((wxControl *) x)); | |
27e45892 | 19733 | } |
34d71f81 RD |
19734 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
19735 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
27e45892 | 19736 | } |
34d71f81 RD |
19737 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
19738 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
f9bf356b | 19739 | } |
34d71f81 RD |
19740 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
19741 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
27e45892 | 19742 | } |
34d71f81 RD |
19743 | static void *_p_wxAuiMDIChildFrameTo_p_wxWindow(void *x) { |
19744 | return (void *)((wxWindow *) (wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
27e45892 | 19745 | } |
34d71f81 RD |
19746 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
19747 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
27e45892 | 19748 | } |
34d71f81 RD |
19749 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
19750 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
27e45892 | 19751 | } |
34d71f81 RD |
19752 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
19753 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27e45892 | 19754 | } |
34d71f81 RD |
19755 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
19756 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
27e45892 | 19757 | } |
34d71f81 RD |
19758 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
19759 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27e45892 | 19760 | } |
34d71f81 RD |
19761 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
19762 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27e45892 | 19763 | } |
34d71f81 RD |
19764 | static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) { |
19765 | return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x)); | |
27e45892 | 19766 | } |
34d71f81 RD |
19767 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
19768 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
27e45892 | 19769 | } |
34d71f81 RD |
19770 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
19771 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27e45892 | 19772 | } |
34d71f81 RD |
19773 | static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) { |
19774 | return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x)); | |
27e45892 | 19775 | } |
34d71f81 RD |
19776 | static void *_p_wxFrameTo_p_wxWindow(void *x) { |
19777 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
27e45892 | 19778 | } |
34d71f81 RD |
19779 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
19780 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
27e45892 | 19781 | } |
34d71f81 RD |
19782 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
19783 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
27e45892 | 19784 | } |
34d71f81 RD |
19785 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
19786 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
27e45892 | 19787 | } |
34d71f81 RD |
19788 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
19789 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
27e45892 | 19790 | } |
34d71f81 RD |
19791 | static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) { |
19792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
27e45892 | 19793 | } |
34d71f81 RD |
19794 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
19795 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
27e45892 | 19796 | } |
34d71f81 RD |
19797 | static void *_p_wxAuiMDIParentFrameTo_p_wxWindow(void *x) { |
19798 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
27e45892 | 19799 | } |
34d71f81 RD |
19800 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { |
19801 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
27e45892 | 19802 | } |
34d71f81 RD |
19803 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { |
19804 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
27e45892 | 19805 | } |
34d71f81 RD |
19806 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { |
19807 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
27e45892 | 19808 | } |
34d71f81 RD |
19809 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { |
19810 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
27e45892 | 19811 | } |
34d71f81 RD |
19812 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { |
19813 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
27e45892 | 19814 | } |
34d71f81 RD |
19815 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { |
19816 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
27e45892 | 19817 | } |
34d71f81 RD |
19818 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
19819 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
27e45892 | 19820 | } |
34d71f81 RD |
19821 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
19822 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
f9bf356b | 19823 | } |
34d71f81 RD |
19824 | static void *_p_wxAuiMDIParentFrameTo_p_wxTopLevelWindow(void *x) { |
19825 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxAuiMDIParentFrame *) x)); | |
27e45892 | 19826 | } |
34d71f81 RD |
19827 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { |
19828 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
27e45892 | 19829 | } |
34d71f81 RD |
19830 | static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) { |
19831 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x)); | |
10044bf1 | 19832 | } |
34d71f81 RD |
19833 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { |
19834 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
27e45892 | 19835 | } |
34d71f81 RD |
19836 | static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19837 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x)); | |
27e45892 | 19838 | } |
34d71f81 RD |
19839 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19840 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
27e45892 | 19841 | } |
34d71f81 RD |
19842 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
19843 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
10044bf1 | 19844 | } |
34d71f81 RD |
19845 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
19846 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
27e45892 | 19847 | } |
34d71f81 RD |
19848 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { |
19849 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
27e45892 | 19850 | } |
34d71f81 RD |
19851 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { |
19852 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
27e45892 | 19853 | } |
34d71f81 RD |
19854 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
19855 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
27e45892 | 19856 | } |
34d71f81 RD |
19857 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
19858 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
27e45892 | 19859 | } |
34d71f81 RD |
19860 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
19861 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
5eb8189c | 19862 | } |
34d71f81 RD |
19863 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
19864 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
27e45892 | 19865 | } |
34d71f81 RD |
19866 | static void *_p_wxAuiMDIChildFrameTo_p_wxPanel(void *x) { |
19867 | return (void *)((wxPanel *) ((wxAuiMDIChildFrame *) x)); | |
27e45892 | 19868 | } |
34d71f81 RD |
19869 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
19870 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
10044bf1 | 19871 | } |
34d71f81 RD |
19872 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
19873 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
27e45892 | 19874 | } |
34d71f81 RD |
19875 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
19876 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27e45892 | 19877 | } |
34d71f81 RD |
19878 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
19879 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27e45892 | 19880 | } |
34d71f81 RD |
19881 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
19882 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27e45892 | 19883 | } |
34d71f81 RD |
19884 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
19885 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
27e45892 | 19886 | } |
34d71f81 RD |
19887 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
19888 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
27e45892 | 19889 | } |
34d71f81 RD |
19890 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
19891 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27e45892 | 19892 | } |
34d71f81 RD |
19893 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
19894 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
27e45892 | 19895 | } |
34d71f81 RD |
19896 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
19897 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
5eb8189c | 19898 | } |
10044bf1 RD |
19899 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
19900 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
19901 | } | |
19902 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
19903 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
19904 | } | |
19905 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
19906 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
19907 | } | |
19908 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { | |
19909 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
19910 | } | |
19911 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
19912 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
19913 | } | |
19914 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
19915 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
19916 | } | |
19917 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
19918 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
19919 | } | |
19920 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
19921 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
19922 | } | |
19923 | static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) { | |
19924 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x)); | |
19925 | } | |
19926 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
19927 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
19928 | } | |
19929 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
19930 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
19931 | } | |
19932 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
19933 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
19934 | } | |
19935 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
19936 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
19937 | } | |
19938 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
19939 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
19940 | } | |
27e45892 | 19941 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
d7645bfd | 19942 | static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; |
27e45892 | 19943 | 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 | 19944 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
19945 | static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; |
19946 | static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0}; | |
19947 | static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
19948 | static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0}; | |
19949 | static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
19950 | static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0}; | |
19951 | static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; | |
19952 | static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
19953 | static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
19954 | static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; | |
19955 | static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; | |
19956 | static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; | |
19957 | static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; | |
19958 | static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; | |
19959 | static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
19960 | static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0}; | |
19961 | static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
19962 | static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; | |
19963 | static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
19964 | static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
19965 | static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
19966 | static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
19967 | static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
19968 | static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
19969 | static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
19970 | static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0}; | |
19971 | static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
19972 | static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; | |
19973 | static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
34d71f81 | 19974 | static swig_type_info _swigt__p_p_wxAuiMDIClientWindow = {"_p_p_wxAuiMDIClientWindow", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19975 | static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
19976 | static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
19977 | static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0}; | |
19978 | static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
34d71f81 | 19979 | static swig_type_info _swigt__p_p_wxAuiMDIChildFrame = {"_p_p_wxAuiMDIChildFrame", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19980 | static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0}; |
19981 | static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
19982 | static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
f9bf356b | 19983 | static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19984 | static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
19985 | static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
5eb8189c | 19986 | static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0}; |
10044bf1 RD |
19987 | static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
19988 | static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
19989 | static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0}; | |
19990 | static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0}; | |
19991 | static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
19992 | static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
19993 | static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
19994 | static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0}; | |
5eb8189c | 19995 | static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0}; |
10044bf1 | 19996 | static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
34d71f81 | 19997 | static swig_type_info _swigt__p_p_wxAuiMDIParentFrame = {"_p_p_wxAuiMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
19998 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
19999 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
20000 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
34d71f81 | 20001 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0}; |
5eb8189c RD |
20002 | static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; |
20003 | static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; | |
20004 | static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; | |
20005 | static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0}; | |
20006 | static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0}; | |
20007 | static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0}; | |
34d71f81 RD |
20008 | static swig_type_info _swigt__p_wxAuiMDIChildFrame = {"_p_wxAuiMDIChildFrame", "wxAuiMDIChildFrame *", 0, 0, (void*)0, 0}; |
20009 | static swig_type_info _swigt__p_wxAuiMDIClientWindow = {"_p_wxAuiMDIClientWindow", "wxAuiMDIClientWindow *", 0, 0, (void*)0, 0}; | |
20010 | static swig_type_info _swigt__p_wxAuiMDIParentFrame = {"_p_wxAuiMDIParentFrame", "wxAuiMDIParentFrame *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20011 | static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0}; |
20012 | static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0}; | |
20013 | static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0}; | |
10044bf1 RD |
20014 | static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0}; |
20015 | static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0}; | |
20016 | static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20017 | static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0}; |
20018 | static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0}; | |
20019 | static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0}; | |
20020 | static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0}; | |
5172800e | 20021 | static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0}; |
5eb8189c | 20022 | static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
20023 | static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0}; |
20024 | static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; | |
20025 | static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; | |
20026 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
34d71f81 | 20027 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0}; |
27e45892 | 20028 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; |
10044bf1 RD |
20029 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
20030 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
20031 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
20032 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; | |
20033 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; | |
20034 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
20035 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
20036 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
20037 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
20038 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
20039 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
20040 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
20041 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
20042 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
20043 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
27e45892 | 20044 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20045 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
20046 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
20047 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; |
20048 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
20049 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
27e45892 | 20050 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
27e45892 | 20051 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
0f83f5da | 20052 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
27e45892 RD |
20053 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
20054 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20055 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
20056 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
20057 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20058 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; |
20059 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20060 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
20061 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20062 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
20063 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
20064 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
20065 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
20066 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
20067 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20068 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
20069 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20070 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
20071 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
20072 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
20073 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
20074 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
20075 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
20076 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; | |
4976f996 | 20077 | static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; |
27e45892 RD |
20078 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0}; |
20079 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
f9bf356b | 20080 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
4976f996 | 20081 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20082 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
4976f996 | 20083 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 RD |
20084 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
20085 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; | |
20086 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; | |
4976f996 | 20087 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20088 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; |
27e45892 | 20089 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; |
27e45892 RD |
20090 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; |
20091 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; | |
34d71f81 RD |
20092 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; |
20093 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0}; | |
20094 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20095 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0}; |
20096 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; | |
20097 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; | |
20098 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; | |
20099 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; | |
20100 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; | |
27e45892 | 20101 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
34d71f81 | 20102 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20103 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
20104 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
27e45892 | 20105 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; |
34d71f81 | 20106 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
f9bf356b | 20107 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
27e45892 RD |
20108 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
20109 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; | |
27e45892 | 20110 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; |
34d71f81 | 20111 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
27e45892 | 20112 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; |
27e45892 | 20113 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; |
34d71f81 RD |
20114 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; |
20115 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
20116 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
27e45892 | 20117 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
27e45892 RD |
20118 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
20119 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; | |
34d71f81 RD |
20120 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; |
20121 | static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; | |
20122 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; | |
20123 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0}; | |
20124 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0}; | |
27e45892 | 20125 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; |
10044bf1 | 20126 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20127 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
20128 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
20129 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; | |
20130 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
20131 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; | |
20132 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; | |
20133 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; | |
20134 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
20135 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
20136 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; | |
20137 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; | |
20138 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
20139 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
20140 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
20141 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
20142 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
20143 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
20144 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20145 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; |
20146 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; | |
20147 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; | |
4976f996 | 20148 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; |
34d71f81 | 20149 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
5eb8189c | 20150 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
10044bf1 RD |
20151 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
20152 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
27e45892 RD |
20153 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
20154 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
20155 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
20156 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
20157 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 20158 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
27e45892 RD |
20159 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
20160 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; | |
20161 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
20162 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
20163 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
20164 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
20165 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; | |
20166 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; | |
20167 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
20168 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
20169 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
34d71f81 | 20170 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; |
27e45892 RD |
20171 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
20172 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; | |
5eb8189c RD |
20173 | static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0}; |
20174 | static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0}; | |
27e45892 RD |
20175 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; |
20176 | static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; | |
20177 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0}; | |
20178 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0}; | |
20179 | static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; | |
20180 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; | |
20181 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
20182 | ||
20183 | static swig_type_info *swig_type_initial[] = { | |
20184 | &_swigt__p_char, | |
d7645bfd | 20185 | &_swigt__p_double, |
27e45892 RD |
20186 | &_swigt__p_form_ops_t, |
20187 | &_swigt__p_int, | |
5eb8189c | 20188 | &_swigt__p_p_wxAuiFloatingFrame, |
34d71f81 RD |
20189 | &_swigt__p_p_wxAuiMDIChildFrame, |
20190 | &_swigt__p_p_wxAuiMDIClientWindow, | |
20191 | &_swigt__p_p_wxAuiMDIParentFrame, | |
5eb8189c | 20192 | &_swigt__p_p_wxAuiNotebook, |
10044bf1 RD |
20193 | &_swigt__p_p_wxAuiTabContainerButton, |
20194 | &_swigt__p_p_wxAuiTabCtrl, | |
20195 | &_swigt__p_p_wxColourDialog, | |
20196 | &_swigt__p_p_wxControl, | |
20197 | &_swigt__p_p_wxControlWithItems, | |
20198 | &_swigt__p_p_wxDialog, | |
20199 | &_swigt__p_p_wxDirDialog, | |
20200 | &_swigt__p_p_wxFileDialog, | |
20201 | &_swigt__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
20202 | &_swigt__p_p_wxFontDialog, |
20203 | &_swigt__p_p_wxFrame, | |
20204 | &_swigt__p_p_wxMDIChildFrame, | |
20205 | &_swigt__p_p_wxMDIClientWindow, | |
20206 | &_swigt__p_p_wxMDIParentFrame, | |
20207 | &_swigt__p_p_wxMenuBar, | |
20208 | &_swigt__p_p_wxMessageDialog, | |
20209 | &_swigt__p_p_wxMiniFrame, | |
20210 | &_swigt__p_p_wxMultiChoiceDialog, | |
20211 | &_swigt__p_p_wxNumberEntryDialog, | |
20212 | &_swigt__p_p_wxPanel, | |
20213 | &_swigt__p_p_wxPasswordEntryDialog, | |
20214 | &_swigt__p_p_wxPopupWindow, | |
20215 | &_swigt__p_p_wxPreviewCanvas, | |
20216 | &_swigt__p_p_wxPreviewControlBar, | |
20217 | &_swigt__p_p_wxPreviewFrame, | |
20218 | &_swigt__p_p_wxProgressDialog, | |
20219 | &_swigt__p_p_wxPyHtmlListBox, | |
20220 | &_swigt__p_p_wxPyPanel, | |
20221 | &_swigt__p_p_wxPyPopupTransientWindow, | |
20222 | &_swigt__p_p_wxPyPreviewControlBar, | |
20223 | &_swigt__p_p_wxPyPreviewFrame, | |
20224 | &_swigt__p_p_wxPyScrolledWindow, | |
20225 | &_swigt__p_p_wxPyVListBox, | |
20226 | &_swigt__p_p_wxPyVScrolledWindow, | |
20227 | &_swigt__p_p_wxPyWindow, | |
20228 | &_swigt__p_p_wxSashLayoutWindow, | |
20229 | &_swigt__p_p_wxSashWindow, | |
20230 | &_swigt__p_p_wxScrolledWindow, | |
f9bf356b | 20231 | &_swigt__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
20232 | &_swigt__p_p_wxSingleChoiceDialog, |
20233 | &_swigt__p_p_wxSplashScreen, | |
20234 | &_swigt__p_p_wxSplashScreenWindow, | |
20235 | &_swigt__p_p_wxSplitterWindow, | |
20236 | &_swigt__p_p_wxStatusBar, | |
20237 | &_swigt__p_p_wxTextEntryDialog, | |
20238 | &_swigt__p_p_wxTipWindow, | |
20239 | &_swigt__p_p_wxTopLevelWindow, | |
20240 | &_swigt__p_p_wxWindow, | |
27e45892 RD |
20241 | &_swigt__p_unsigned_char, |
20242 | &_swigt__p_unsigned_int, | |
20243 | &_swigt__p_unsigned_long, | |
20244 | &_swigt__p_wxANIHandler, | |
20245 | &_swigt__p_wxAcceleratorTable, | |
20246 | &_swigt__p_wxActivateEvent, | |
5eb8189c RD |
20247 | &_swigt__p_wxAuiDefaultDockArt, |
20248 | &_swigt__p_wxAuiDefaultTabArt, | |
20249 | &_swigt__p_wxAuiDockArt, | |
20250 | &_swigt__p_wxAuiDockInfo, | |
20251 | &_swigt__p_wxAuiDockUIPart, | |
20252 | &_swigt__p_wxAuiFloatingFrame, | |
34d71f81 RD |
20253 | &_swigt__p_wxAuiMDIChildFrame, |
20254 | &_swigt__p_wxAuiMDIClientWindow, | |
20255 | &_swigt__p_wxAuiMDIParentFrame, | |
5eb8189c RD |
20256 | &_swigt__p_wxAuiManager, |
20257 | &_swigt__p_wxAuiManagerEvent, | |
20258 | &_swigt__p_wxAuiNotebook, | |
10044bf1 RD |
20259 | &_swigt__p_wxAuiNotebookEvent, |
20260 | &_swigt__p_wxAuiNotebookPage, | |
20261 | &_swigt__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
20262 | &_swigt__p_wxAuiPaneButton, |
20263 | &_swigt__p_wxAuiPaneButtonArray, | |
20264 | &_swigt__p_wxAuiPaneInfo, | |
20265 | &_swigt__p_wxAuiPaneInfoPtrArray, | |
5172800e | 20266 | &_swigt__p_wxAuiSimpleTabArt, |
5eb8189c | 20267 | &_swigt__p_wxAuiTabArt, |
10044bf1 RD |
20268 | &_swigt__p_wxAuiTabContainer, |
20269 | &_swigt__p_wxAuiTabContainerButton, | |
20270 | &_swigt__p_wxAuiTabCtrl, | |
27e45892 | 20271 | &_swigt__p_wxBMPHandler, |
10044bf1 | 20272 | &_swigt__p_wxBitmap, |
27e45892 RD |
20273 | &_swigt__p_wxBoxSizer, |
20274 | &_swigt__p_wxCURHandler, | |
20275 | &_swigt__p_wxCalculateLayoutEvent, | |
20276 | &_swigt__p_wxChildFocusEvent, | |
20277 | &_swigt__p_wxClipboardTextEvent, | |
20278 | &_swigt__p_wxCloseEvent, | |
27e45892 RD |
20279 | &_swigt__p_wxColour, |
20280 | &_swigt__p_wxColourData, | |
20281 | &_swigt__p_wxColourDialog, | |
20282 | &_swigt__p_wxCommandEvent, | |
20283 | &_swigt__p_wxContextMenuEvent, | |
20284 | &_swigt__p_wxControl, | |
20285 | &_swigt__p_wxControlWithItems, | |
20286 | &_swigt__p_wxDC, | |
20287 | &_swigt__p_wxDateEvent, | |
27e45892 RD |
20288 | &_swigt__p_wxDialog, |
20289 | &_swigt__p_wxDirDialog, | |
20290 | &_swigt__p_wxDisplayChangedEvent, | |
27e45892 RD |
20291 | &_swigt__p_wxDropFilesEvent, |
20292 | &_swigt__p_wxDuplexMode, | |
20293 | &_swigt__p_wxEraseEvent, | |
20294 | &_swigt__p_wxEvent, | |
4976f996 | 20295 | &_swigt__p_wxEventBlocker, |
27e45892 RD |
20296 | &_swigt__p_wxEvtHandler, |
20297 | &_swigt__p_wxFSFile, | |
20298 | &_swigt__p_wxFileDialog, | |
20299 | &_swigt__p_wxFileSystem, | |
20300 | &_swigt__p_wxFindDialogEvent, | |
20301 | &_swigt__p_wxFindReplaceData, | |
20302 | &_swigt__p_wxFindReplaceDialog, | |
20303 | &_swigt__p_wxFlexGridSizer, | |
27e45892 RD |
20304 | &_swigt__p_wxFocusEvent, |
20305 | &_swigt__p_wxFont, | |
20306 | &_swigt__p_wxFontData, | |
20307 | &_swigt__p_wxFontDialog, | |
20308 | &_swigt__p_wxFrame, | |
27e45892 RD |
20309 | &_swigt__p_wxGBSizerItem, |
20310 | &_swigt__p_wxGIFHandler, | |
20311 | &_swigt__p_wxGridBagSizer, | |
20312 | &_swigt__p_wxGridSizer, | |
20313 | &_swigt__p_wxICOHandler, | |
34d71f81 RD |
20314 | &_swigt__p_wxIcon, |
20315 | &_swigt__p_wxIconBundle, | |
27e45892 RD |
20316 | &_swigt__p_wxIconizeEvent, |
20317 | &_swigt__p_wxIdleEvent, | |
20318 | &_swigt__p_wxImage, | |
20319 | &_swigt__p_wxImageHandler, | |
20320 | &_swigt__p_wxIndividualLayoutConstraint, | |
20321 | &_swigt__p_wxInitDialogEvent, | |
20322 | &_swigt__p_wxJPEGHandler, | |
20323 | &_swigt__p_wxKeyEvent, | |
20324 | &_swigt__p_wxLayoutAlgorithm, | |
20325 | &_swigt__p_wxLayoutConstraints, | |
20326 | &_swigt__p_wxMDIChildFrame, | |
20327 | &_swigt__p_wxMDIClientWindow, | |
20328 | &_swigt__p_wxMDIParentFrame, | |
20329 | &_swigt__p_wxMaximizeEvent, | |
20330 | &_swigt__p_wxMenu, | |
20331 | &_swigt__p_wxMenuBar, | |
20332 | &_swigt__p_wxMenuEvent, | |
20333 | &_swigt__p_wxMenuItem, | |
20334 | &_swigt__p_wxMessageDialog, | |
20335 | &_swigt__p_wxMiniFrame, | |
20336 | &_swigt__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 20337 | &_swigt__p_wxMouseCaptureLostEvent, |
27e45892 RD |
20338 | &_swigt__p_wxMouseEvent, |
20339 | &_swigt__p_wxMoveEvent, | |
20340 | &_swigt__p_wxMultiChoiceDialog, | |
20341 | &_swigt__p_wxNavigationKeyEvent, | |
20342 | &_swigt__p_wxNcPaintEvent, | |
20343 | &_swigt__p_wxNotifyEvent, | |
20344 | &_swigt__p_wxNumberEntryDialog, | |
20345 | &_swigt__p_wxObject, | |
20346 | &_swigt__p_wxPCXHandler, | |
20347 | &_swigt__p_wxPNGHandler, | |
20348 | &_swigt__p_wxPNMHandler, | |
20349 | &_swigt__p_wxPageSetupDialog, | |
20350 | &_swigt__p_wxPageSetupDialogData, | |
20351 | &_swigt__p_wxPaintEvent, | |
20352 | &_swigt__p_wxPaletteChangedEvent, | |
27e45892 RD |
20353 | &_swigt__p_wxPanel, |
20354 | &_swigt__p_wxPaperSize, | |
20355 | &_swigt__p_wxPasswordEntryDialog, | |
20356 | &_swigt__p_wxPoint, | |
20357 | &_swigt__p_wxPopupWindow, | |
20358 | &_swigt__p_wxPreviewCanvas, | |
20359 | &_swigt__p_wxPreviewControlBar, | |
20360 | &_swigt__p_wxPreviewFrame, | |
20361 | &_swigt__p_wxPrintData, | |
20362 | &_swigt__p_wxPrintDialog, | |
20363 | &_swigt__p_wxPrintDialogData, | |
20364 | &_swigt__p_wxPrintPreview, | |
20365 | &_swigt__p_wxPrinter, | |
20366 | &_swigt__p_wxProgressDialog, | |
20367 | &_swigt__p_wxPyApp, | |
5eb8189c RD |
20368 | &_swigt__p_wxPyAuiDockArt, |
20369 | &_swigt__p_wxPyAuiTabArt, | |
27e45892 | 20370 | &_swigt__p_wxPyCommandEvent, |
27e45892 RD |
20371 | &_swigt__p_wxPyEvent, |
20372 | &_swigt__p_wxPyHtmlListBox, | |
20373 | &_swigt__p_wxPyImageHandler, | |
20374 | &_swigt__p_wxPyPanel, | |
20375 | &_swigt__p_wxPyPopupTransientWindow, | |
20376 | &_swigt__p_wxPyPreviewControlBar, | |
20377 | &_swigt__p_wxPyPreviewFrame, | |
20378 | &_swigt__p_wxPyPrintPreview, | |
20379 | &_swigt__p_wxPyPrintout, | |
20380 | &_swigt__p_wxPyScrolledWindow, | |
20381 | &_swigt__p_wxPySizer, | |
20382 | &_swigt__p_wxPyTaskBarIcon, | |
20383 | &_swigt__p_wxPyVListBox, | |
20384 | &_swigt__p_wxPyVScrolledWindow, | |
20385 | &_swigt__p_wxPyValidator, | |
20386 | &_swigt__p_wxPyWindow, | |
20387 | &_swigt__p_wxQueryLayoutInfoEvent, | |
20388 | &_swigt__p_wxQueryNewPaletteEvent, | |
20389 | &_swigt__p_wxRect, | |
20390 | &_swigt__p_wxSashEvent, | |
20391 | &_swigt__p_wxSashLayoutWindow, | |
20392 | &_swigt__p_wxSashWindow, | |
20393 | &_swigt__p_wxScrollEvent, | |
20394 | &_swigt__p_wxScrollWinEvent, | |
20395 | &_swigt__p_wxScrolledWindow, | |
20396 | &_swigt__p_wxSetCursorEvent, | |
20397 | &_swigt__p_wxShowEvent, | |
f9bf356b | 20398 | &_swigt__p_wxSimpleHtmlListBox, |
27e45892 RD |
20399 | &_swigt__p_wxSingleChoiceDialog, |
20400 | &_swigt__p_wxSize, | |
20401 | &_swigt__p_wxSizeEvent, | |
20402 | &_swigt__p_wxSizer, | |
20403 | &_swigt__p_wxSizerItem, | |
20404 | &_swigt__p_wxSplashScreen, | |
20405 | &_swigt__p_wxSplashScreenWindow, | |
20406 | &_swigt__p_wxSplitterEvent, | |
20407 | &_swigt__p_wxSplitterWindow, | |
20408 | &_swigt__p_wxStaticBoxSizer, | |
20409 | &_swigt__p_wxStatusBar, | |
20410 | &_swigt__p_wxStdDialogButtonSizer, | |
20411 | &_swigt__p_wxString, | |
20412 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 20413 | &_swigt__p_wxTGAHandler, |
27e45892 RD |
20414 | &_swigt__p_wxTIFFHandler, |
20415 | &_swigt__p_wxTaskBarIconEvent, | |
20416 | &_swigt__p_wxTextEntryDialog, | |
20417 | &_swigt__p_wxTipWindow, | |
20418 | &_swigt__p_wxTopLevelWindow, | |
20419 | &_swigt__p_wxUpdateUIEvent, | |
20420 | &_swigt__p_wxValidator, | |
20421 | &_swigt__p_wxWindow, | |
20422 | &_swigt__p_wxWindowCreateEvent, | |
20423 | &_swigt__p_wxWindowDestroyEvent, | |
20424 | &_swigt__p_wxXPMHandler, | |
20425 | }; | |
20426 | ||
20427 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
d7645bfd | 20428 | static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20429 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
20430 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
10044bf1 RD |
20431 | static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; |
20432 | static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
20433 | static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20434 | static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
20435 | static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20436 | static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20437 | static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20438 | static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20439 | static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20440 | static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20441 | static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20442 | static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20443 | static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20444 | static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20445 | static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
20446 | static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20447 | static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20448 | static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20449 | static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20450 | static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20451 | static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20452 | static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20453 | static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20454 | static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20455 | static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20456 | static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20457 | static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20458 | static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20459 | static swig_cast_info _swigc__p_p_wxAuiMDIClientWindow[] = {{&_swigt__p_p_wxAuiMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20460 | static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20461 | static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20462 | static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; | |
20463 | static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20464 | static swig_cast_info _swigc__p_p_wxAuiMDIChildFrame[] = {{&_swigt__p_p_wxAuiMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20465 | static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; |
20466 | static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20467 | static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20468 | static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20469 | static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
20470 | static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20471 | static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20472 | static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
20473 | static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20474 | static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
20475 | static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
20476 | static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20477 | static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20478 | static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20479 | static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20480 | static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 | 20481 | static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20482 | static swig_cast_info _swigc__p_p_wxAuiMDIParentFrame[] = {{&_swigt__p_p_wxAuiMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20483 | 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 |
20484 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
20485 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
20486 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20487 | static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c RD |
20488 | 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}}; |
20489 | 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}}; | |
20490 | 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}}; | |
20491 | static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
20492 | static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}}; | |
20493 | static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20494 | static swig_cast_info _swigc__p_wxAuiMDIChildFrame[] = { {&_swigt__p_wxAuiMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20495 | static swig_cast_info _swigc__p_wxAuiMDIClientWindow[] = { {&_swigt__p_wxAuiMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20496 | static swig_cast_info _swigc__p_wxAuiMDIParentFrame[] = { {&_swigt__p_wxAuiMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20497 | static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}}; |
20498 | static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20499 | 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 |
20500 | static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20501 | static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}}; | |
20502 | static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20503 | static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}}; |
20504 | static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}}; | |
20505 | static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
20506 | static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}}; | |
5172800e RD |
20507 | static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}}; |
20508 | 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 |
20509 | 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}}; |
20510 | static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; | |
20511 | static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
20512 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20513 | static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20514 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20515 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20516 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20517 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20518 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20519 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20520 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20521 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20522 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20523 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20524 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20525 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20526 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20527 | 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}}; | |
20528 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 | 20529 | 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 | 20530 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20531 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20532 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20533 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20534 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20535 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20536 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
0f83f5da | 20537 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20538 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20539 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20540 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20541 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20542 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20543 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20544 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20545 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20546 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20547 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20548 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20549 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20550 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20551 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20552 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20553 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20554 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20555 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
20556 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20557 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
20558 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20559 | static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiManagerEvent, _p_wxAuiManagerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20560 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
20561 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20562 | static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20563 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; |
20564 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 20565 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 20566 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20567 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 20568 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20569 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20570 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20571 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20572 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20573 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20574 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20575 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20576 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20577 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20578 | static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20579 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20580 | static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; |
20581 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20582 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20583 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20584 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
20585 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20586 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20587 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20588 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
20589 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20590 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20591 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 20592 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20593 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
20594 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20595 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20596 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20597 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 20598 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20599 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; |
20600 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20601 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 | 20602 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 20603 | 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_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_wxAuiMDIChildFrame, _p_wxAuiMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_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 | 20604 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 RD |
20605 | 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}}; |
20606 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
20607 | static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; | |
20608 | static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
20609 | static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
20610 | static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c | 20611 | 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 | 20612 | 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 |
20613 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
20614 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
20615 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
20616 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20617 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20618 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20619 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
20620 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
20621 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20622 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20623 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
20624 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
20625 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
20626 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
20627 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
20628 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
20629 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20630 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20631 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20632 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20633 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
34d71f81 | 20634 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
5eb8189c | 20635 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
10044bf1 RD |
20636 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20637 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20638 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
20639 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20640 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20641 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
20642 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 20643 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 RD |
20644 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
20645 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
20646 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
20647 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
20648 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
20649 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
20650 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20651 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
20652 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
20653 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
20654 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 20655 | 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_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_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_wxGIFHandler, _p_wxGIFHandlerTo_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}}; |
34d71f81 | 20656 | 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 |
20657 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
20658 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
5eb8189c RD |
20659 | static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}}; |
20660 | static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}}; | |
27e45892 RD |
20661 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; |
20662 | static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; | |
20663 | 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}}; | |
20664 | 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}}; | |
20665 | static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; | |
34d71f81 RD |
20666 | 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}}; |
20667 | 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 |
20668 | |
20669 | static swig_cast_info *swig_cast_initial[] = { | |
20670 | _swigc__p_char, | |
d7645bfd | 20671 | _swigc__p_double, |
27e45892 RD |
20672 | _swigc__p_form_ops_t, |
20673 | _swigc__p_int, | |
5eb8189c | 20674 | _swigc__p_p_wxAuiFloatingFrame, |
34d71f81 RD |
20675 | _swigc__p_p_wxAuiMDIChildFrame, |
20676 | _swigc__p_p_wxAuiMDIClientWindow, | |
20677 | _swigc__p_p_wxAuiMDIParentFrame, | |
5eb8189c | 20678 | _swigc__p_p_wxAuiNotebook, |
10044bf1 RD |
20679 | _swigc__p_p_wxAuiTabContainerButton, |
20680 | _swigc__p_p_wxAuiTabCtrl, | |
20681 | _swigc__p_p_wxColourDialog, | |
20682 | _swigc__p_p_wxControl, | |
20683 | _swigc__p_p_wxControlWithItems, | |
20684 | _swigc__p_p_wxDialog, | |
20685 | _swigc__p_p_wxDirDialog, | |
20686 | _swigc__p_p_wxFileDialog, | |
20687 | _swigc__p_p_wxFindReplaceDialog, | |
10044bf1 RD |
20688 | _swigc__p_p_wxFontDialog, |
20689 | _swigc__p_p_wxFrame, | |
20690 | _swigc__p_p_wxMDIChildFrame, | |
20691 | _swigc__p_p_wxMDIClientWindow, | |
20692 | _swigc__p_p_wxMDIParentFrame, | |
20693 | _swigc__p_p_wxMenuBar, | |
20694 | _swigc__p_p_wxMessageDialog, | |
20695 | _swigc__p_p_wxMiniFrame, | |
20696 | _swigc__p_p_wxMultiChoiceDialog, | |
20697 | _swigc__p_p_wxNumberEntryDialog, | |
20698 | _swigc__p_p_wxPanel, | |
20699 | _swigc__p_p_wxPasswordEntryDialog, | |
20700 | _swigc__p_p_wxPopupWindow, | |
20701 | _swigc__p_p_wxPreviewCanvas, | |
20702 | _swigc__p_p_wxPreviewControlBar, | |
20703 | _swigc__p_p_wxPreviewFrame, | |
20704 | _swigc__p_p_wxProgressDialog, | |
20705 | _swigc__p_p_wxPyHtmlListBox, | |
20706 | _swigc__p_p_wxPyPanel, | |
20707 | _swigc__p_p_wxPyPopupTransientWindow, | |
20708 | _swigc__p_p_wxPyPreviewControlBar, | |
20709 | _swigc__p_p_wxPyPreviewFrame, | |
20710 | _swigc__p_p_wxPyScrolledWindow, | |
20711 | _swigc__p_p_wxPyVListBox, | |
20712 | _swigc__p_p_wxPyVScrolledWindow, | |
20713 | _swigc__p_p_wxPyWindow, | |
20714 | _swigc__p_p_wxSashLayoutWindow, | |
20715 | _swigc__p_p_wxSashWindow, | |
20716 | _swigc__p_p_wxScrolledWindow, | |
f9bf356b | 20717 | _swigc__p_p_wxSimpleHtmlListBox, |
10044bf1 RD |
20718 | _swigc__p_p_wxSingleChoiceDialog, |
20719 | _swigc__p_p_wxSplashScreen, | |
20720 | _swigc__p_p_wxSplashScreenWindow, | |
20721 | _swigc__p_p_wxSplitterWindow, | |
20722 | _swigc__p_p_wxStatusBar, | |
20723 | _swigc__p_p_wxTextEntryDialog, | |
20724 | _swigc__p_p_wxTipWindow, | |
20725 | _swigc__p_p_wxTopLevelWindow, | |
20726 | _swigc__p_p_wxWindow, | |
27e45892 RD |
20727 | _swigc__p_unsigned_char, |
20728 | _swigc__p_unsigned_int, | |
20729 | _swigc__p_unsigned_long, | |
20730 | _swigc__p_wxANIHandler, | |
20731 | _swigc__p_wxAcceleratorTable, | |
20732 | _swigc__p_wxActivateEvent, | |
5eb8189c RD |
20733 | _swigc__p_wxAuiDefaultDockArt, |
20734 | _swigc__p_wxAuiDefaultTabArt, | |
20735 | _swigc__p_wxAuiDockArt, | |
20736 | _swigc__p_wxAuiDockInfo, | |
20737 | _swigc__p_wxAuiDockUIPart, | |
20738 | _swigc__p_wxAuiFloatingFrame, | |
34d71f81 RD |
20739 | _swigc__p_wxAuiMDIChildFrame, |
20740 | _swigc__p_wxAuiMDIClientWindow, | |
20741 | _swigc__p_wxAuiMDIParentFrame, | |
5eb8189c RD |
20742 | _swigc__p_wxAuiManager, |
20743 | _swigc__p_wxAuiManagerEvent, | |
20744 | _swigc__p_wxAuiNotebook, | |
10044bf1 RD |
20745 | _swigc__p_wxAuiNotebookEvent, |
20746 | _swigc__p_wxAuiNotebookPage, | |
20747 | _swigc__p_wxAuiNotebookPageArray, | |
5eb8189c RD |
20748 | _swigc__p_wxAuiPaneButton, |
20749 | _swigc__p_wxAuiPaneButtonArray, | |
20750 | _swigc__p_wxAuiPaneInfo, | |
20751 | _swigc__p_wxAuiPaneInfoPtrArray, | |
5172800e | 20752 | _swigc__p_wxAuiSimpleTabArt, |
5eb8189c | 20753 | _swigc__p_wxAuiTabArt, |
10044bf1 RD |
20754 | _swigc__p_wxAuiTabContainer, |
20755 | _swigc__p_wxAuiTabContainerButton, | |
20756 | _swigc__p_wxAuiTabCtrl, | |
27e45892 | 20757 | _swigc__p_wxBMPHandler, |
10044bf1 | 20758 | _swigc__p_wxBitmap, |
27e45892 RD |
20759 | _swigc__p_wxBoxSizer, |
20760 | _swigc__p_wxCURHandler, | |
20761 | _swigc__p_wxCalculateLayoutEvent, | |
20762 | _swigc__p_wxChildFocusEvent, | |
20763 | _swigc__p_wxClipboardTextEvent, | |
20764 | _swigc__p_wxCloseEvent, | |
27e45892 RD |
20765 | _swigc__p_wxColour, |
20766 | _swigc__p_wxColourData, | |
20767 | _swigc__p_wxColourDialog, | |
20768 | _swigc__p_wxCommandEvent, | |
20769 | _swigc__p_wxContextMenuEvent, | |
20770 | _swigc__p_wxControl, | |
20771 | _swigc__p_wxControlWithItems, | |
20772 | _swigc__p_wxDC, | |
20773 | _swigc__p_wxDateEvent, | |
27e45892 RD |
20774 | _swigc__p_wxDialog, |
20775 | _swigc__p_wxDirDialog, | |
20776 | _swigc__p_wxDisplayChangedEvent, | |
27e45892 RD |
20777 | _swigc__p_wxDropFilesEvent, |
20778 | _swigc__p_wxDuplexMode, | |
20779 | _swigc__p_wxEraseEvent, | |
20780 | _swigc__p_wxEvent, | |
4976f996 | 20781 | _swigc__p_wxEventBlocker, |
27e45892 RD |
20782 | _swigc__p_wxEvtHandler, |
20783 | _swigc__p_wxFSFile, | |
20784 | _swigc__p_wxFileDialog, | |
20785 | _swigc__p_wxFileSystem, | |
20786 | _swigc__p_wxFindDialogEvent, | |
20787 | _swigc__p_wxFindReplaceData, | |
20788 | _swigc__p_wxFindReplaceDialog, | |
20789 | _swigc__p_wxFlexGridSizer, | |
27e45892 RD |
20790 | _swigc__p_wxFocusEvent, |
20791 | _swigc__p_wxFont, | |
20792 | _swigc__p_wxFontData, | |
20793 | _swigc__p_wxFontDialog, | |
20794 | _swigc__p_wxFrame, | |
27e45892 RD |
20795 | _swigc__p_wxGBSizerItem, |
20796 | _swigc__p_wxGIFHandler, | |
20797 | _swigc__p_wxGridBagSizer, | |
20798 | _swigc__p_wxGridSizer, | |
20799 | _swigc__p_wxICOHandler, | |
34d71f81 RD |
20800 | _swigc__p_wxIcon, |
20801 | _swigc__p_wxIconBundle, | |
27e45892 RD |
20802 | _swigc__p_wxIconizeEvent, |
20803 | _swigc__p_wxIdleEvent, | |
20804 | _swigc__p_wxImage, | |
20805 | _swigc__p_wxImageHandler, | |
20806 | _swigc__p_wxIndividualLayoutConstraint, | |
20807 | _swigc__p_wxInitDialogEvent, | |
20808 | _swigc__p_wxJPEGHandler, | |
20809 | _swigc__p_wxKeyEvent, | |
20810 | _swigc__p_wxLayoutAlgorithm, | |
20811 | _swigc__p_wxLayoutConstraints, | |
20812 | _swigc__p_wxMDIChildFrame, | |
20813 | _swigc__p_wxMDIClientWindow, | |
20814 | _swigc__p_wxMDIParentFrame, | |
20815 | _swigc__p_wxMaximizeEvent, | |
20816 | _swigc__p_wxMenu, | |
20817 | _swigc__p_wxMenuBar, | |
20818 | _swigc__p_wxMenuEvent, | |
20819 | _swigc__p_wxMenuItem, | |
20820 | _swigc__p_wxMessageDialog, | |
20821 | _swigc__p_wxMiniFrame, | |
20822 | _swigc__p_wxMouseCaptureChangedEvent, | |
0f83f5da | 20823 | _swigc__p_wxMouseCaptureLostEvent, |
27e45892 RD |
20824 | _swigc__p_wxMouseEvent, |
20825 | _swigc__p_wxMoveEvent, | |
20826 | _swigc__p_wxMultiChoiceDialog, | |
20827 | _swigc__p_wxNavigationKeyEvent, | |
20828 | _swigc__p_wxNcPaintEvent, | |
20829 | _swigc__p_wxNotifyEvent, | |
20830 | _swigc__p_wxNumberEntryDialog, | |
20831 | _swigc__p_wxObject, | |
20832 | _swigc__p_wxPCXHandler, | |
20833 | _swigc__p_wxPNGHandler, | |
20834 | _swigc__p_wxPNMHandler, | |
20835 | _swigc__p_wxPageSetupDialog, | |
20836 | _swigc__p_wxPageSetupDialogData, | |
20837 | _swigc__p_wxPaintEvent, | |
20838 | _swigc__p_wxPaletteChangedEvent, | |
27e45892 RD |
20839 | _swigc__p_wxPanel, |
20840 | _swigc__p_wxPaperSize, | |
20841 | _swigc__p_wxPasswordEntryDialog, | |
20842 | _swigc__p_wxPoint, | |
20843 | _swigc__p_wxPopupWindow, | |
20844 | _swigc__p_wxPreviewCanvas, | |
20845 | _swigc__p_wxPreviewControlBar, | |
20846 | _swigc__p_wxPreviewFrame, | |
20847 | _swigc__p_wxPrintData, | |
20848 | _swigc__p_wxPrintDialog, | |
20849 | _swigc__p_wxPrintDialogData, | |
20850 | _swigc__p_wxPrintPreview, | |
20851 | _swigc__p_wxPrinter, | |
20852 | _swigc__p_wxProgressDialog, | |
20853 | _swigc__p_wxPyApp, | |
5eb8189c RD |
20854 | _swigc__p_wxPyAuiDockArt, |
20855 | _swigc__p_wxPyAuiTabArt, | |
27e45892 | 20856 | _swigc__p_wxPyCommandEvent, |
27e45892 RD |
20857 | _swigc__p_wxPyEvent, |
20858 | _swigc__p_wxPyHtmlListBox, | |
20859 | _swigc__p_wxPyImageHandler, | |
20860 | _swigc__p_wxPyPanel, | |
20861 | _swigc__p_wxPyPopupTransientWindow, | |
20862 | _swigc__p_wxPyPreviewControlBar, | |
20863 | _swigc__p_wxPyPreviewFrame, | |
20864 | _swigc__p_wxPyPrintPreview, | |
20865 | _swigc__p_wxPyPrintout, | |
20866 | _swigc__p_wxPyScrolledWindow, | |
20867 | _swigc__p_wxPySizer, | |
20868 | _swigc__p_wxPyTaskBarIcon, | |
20869 | _swigc__p_wxPyVListBox, | |
20870 | _swigc__p_wxPyVScrolledWindow, | |
20871 | _swigc__p_wxPyValidator, | |
20872 | _swigc__p_wxPyWindow, | |
20873 | _swigc__p_wxQueryLayoutInfoEvent, | |
20874 | _swigc__p_wxQueryNewPaletteEvent, | |
20875 | _swigc__p_wxRect, | |
20876 | _swigc__p_wxSashEvent, | |
20877 | _swigc__p_wxSashLayoutWindow, | |
20878 | _swigc__p_wxSashWindow, | |
20879 | _swigc__p_wxScrollEvent, | |
20880 | _swigc__p_wxScrollWinEvent, | |
20881 | _swigc__p_wxScrolledWindow, | |
20882 | _swigc__p_wxSetCursorEvent, | |
20883 | _swigc__p_wxShowEvent, | |
f9bf356b | 20884 | _swigc__p_wxSimpleHtmlListBox, |
27e45892 RD |
20885 | _swigc__p_wxSingleChoiceDialog, |
20886 | _swigc__p_wxSize, | |
20887 | _swigc__p_wxSizeEvent, | |
20888 | _swigc__p_wxSizer, | |
20889 | _swigc__p_wxSizerItem, | |
20890 | _swigc__p_wxSplashScreen, | |
20891 | _swigc__p_wxSplashScreenWindow, | |
20892 | _swigc__p_wxSplitterEvent, | |
20893 | _swigc__p_wxSplitterWindow, | |
20894 | _swigc__p_wxStaticBoxSizer, | |
20895 | _swigc__p_wxStatusBar, | |
20896 | _swigc__p_wxStdDialogButtonSizer, | |
20897 | _swigc__p_wxString, | |
20898 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 20899 | _swigc__p_wxTGAHandler, |
27e45892 RD |
20900 | _swigc__p_wxTIFFHandler, |
20901 | _swigc__p_wxTaskBarIconEvent, | |
20902 | _swigc__p_wxTextEntryDialog, | |
20903 | _swigc__p_wxTipWindow, | |
20904 | _swigc__p_wxTopLevelWindow, | |
20905 | _swigc__p_wxUpdateUIEvent, | |
20906 | _swigc__p_wxValidator, | |
20907 | _swigc__p_wxWindow, | |
20908 | _swigc__p_wxWindowCreateEvent, | |
20909 | _swigc__p_wxWindowDestroyEvent, | |
20910 | _swigc__p_wxXPMHandler, | |
20911 | }; | |
20912 | ||
20913 | ||
20914 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
20915 | ||
20916 | static swig_const_info swig_const_table[] = { | |
20917 | {0, 0, 0, 0.0, 0, 0}}; | |
20918 | ||
20919 | #ifdef __cplusplus | |
20920 | } | |
20921 | #endif | |
20922 | /* ----------------------------------------------------------------------------- | |
20923 | * Type initialization: | |
20924 | * This problem is tough by the requirement that no dynamic | |
20925 | * memory is used. Also, since swig_type_info structures store pointers to | |
20926 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
20927 | * to swig_type_info structures, we need some lookup code at initialization. | |
20928 | * The idea is that swig generates all the structures that are needed. | |
20929 | * The runtime then collects these partially filled structures. | |
20930 | * The SWIG_InitializeModule function takes these initial arrays out of | |
20931 | * swig_module, and does all the lookup, filling in the swig_module.types | |
20932 | * array with the correct data and linking the correct swig_cast_info | |
20933 | * structures together. | |
20934 | * | |
20935 | * The generated swig_type_info structures are assigned staticly to an initial | |
20936 | * array. We just loop though that array, and handle each type individually. | |
20937 | * First we lookup if this type has been already loaded, and if so, use the | |
20938 | * loaded structure instead of the generated one. Then we have to fill in the | |
20939 | * cast linked list. The cast data is initially stored in something like a | |
20940 | * two-dimensional array. Each row corresponds to a type (there are the same | |
20941 | * number of rows as there are in the swig_type_initial array). Each entry in | |
20942 | * a column is one of the swig_cast_info structures for that type. | |
20943 | * The cast_initial array is actually an array of arrays, because each row has | |
20944 | * a variable number of columns. So to actually build the cast linked list, | |
20945 | * we find the array of casts associated with the type, and loop through it | |
20946 | * adding the casts to the list. The one last trick we need to do is making | |
20947 | * sure the type pointer in the swig_cast_info struct is correct. | |
20948 | * | |
20949 | * First off, we lookup the cast->type name to see if it is already loaded. | |
20950 | * There are three cases to handle: | |
20951 | * 1) If the cast->type has already been loaded AND the type we are adding | |
20952 | * casting info to has not been loaded (it is in this module), THEN we | |
20953 | * replace the cast->type pointer with the type pointer that has already | |
20954 | * been loaded. | |
20955 | * 2) If BOTH types (the one we are adding casting info to, and the | |
20956 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
20957 | * the previous module so we just ignore it. | |
20958 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
20959 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
20960 | * be correct. | |
20961 | * ----------------------------------------------------------------------------- */ | |
20962 | ||
20963 | #ifdef __cplusplus | |
20964 | extern "C" { | |
20965 | #if 0 | |
20966 | } /* c-mode */ | |
20967 | #endif | |
20968 | #endif | |
20969 | ||
20970 | #if 0 | |
20971 | #define SWIGRUNTIME_DEBUG | |
20972 | #endif | |
20973 | ||
20974 | SWIGRUNTIME void | |
20975 | SWIG_InitializeModule(void *clientdata) { | |
20976 | size_t i; | |
20977 | swig_module_info *module_head; | |
20978 | static int init_run = 0; | |
20979 | ||
20980 | clientdata = clientdata; | |
20981 | ||
20982 | if (init_run) return; | |
20983 | init_run = 1; | |
20984 | ||
20985 | /* Initialize the swig_module */ | |
20986 | swig_module.type_initial = swig_type_initial; | |
20987 | swig_module.cast_initial = swig_cast_initial; | |
20988 | ||
20989 | /* Try and load any already created modules */ | |
20990 | module_head = SWIG_GetModule(clientdata); | |
20991 | if (module_head) { | |
20992 | swig_module.next = module_head->next; | |
20993 | module_head->next = &swig_module; | |
20994 | } else { | |
20995 | /* This is the first module loaded */ | |
20996 | swig_module.next = &swig_module; | |
20997 | SWIG_SetModule(clientdata, &swig_module); | |
20998 | } | |
20999 | ||
21000 | /* Now work on filling in swig_module.types */ | |
21001 | #ifdef SWIGRUNTIME_DEBUG | |
21002 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
21003 | #endif | |
21004 | for (i = 0; i < swig_module.size; ++i) { | |
21005 | swig_type_info *type = 0; | |
21006 | swig_type_info *ret; | |
21007 | swig_cast_info *cast; | |
21008 | ||
21009 | #ifdef SWIGRUNTIME_DEBUG | |
21010 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
21011 | #endif | |
21012 | ||
21013 | /* if there is another module already loaded */ | |
21014 | if (swig_module.next != &swig_module) { | |
21015 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
21016 | } | |
21017 | if (type) { | |
21018 | /* Overwrite clientdata field */ | |
21019 | #ifdef SWIGRUNTIME_DEBUG | |
21020 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
21021 | #endif | |
21022 | if (swig_module.type_initial[i]->clientdata) { | |
21023 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
21024 | #ifdef SWIGRUNTIME_DEBUG | |
21025 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
21026 | #endif | |
21027 | } | |
21028 | } else { | |
21029 | type = swig_module.type_initial[i]; | |
21030 | } | |
21031 | ||
21032 | /* Insert casting types */ | |
21033 | cast = swig_module.cast_initial[i]; | |
21034 | while (cast->type) { | |
21035 | /* Don't need to add information already in the list */ | |
21036 | ret = 0; | |
21037 | #ifdef SWIGRUNTIME_DEBUG | |
21038 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
21039 | #endif | |
21040 | if (swig_module.next != &swig_module) { | |
21041 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
21042 | #ifdef SWIGRUNTIME_DEBUG | |
21043 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
21044 | #endif | |
21045 | } | |
21046 | if (ret) { | |
21047 | if (type == swig_module.type_initial[i]) { | |
21048 | #ifdef SWIGRUNTIME_DEBUG | |
21049 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
21050 | #endif | |
21051 | cast->type = ret; | |
21052 | ret = 0; | |
21053 | } else { | |
21054 | /* Check for casting already in the list */ | |
21055 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
21056 | #ifdef SWIGRUNTIME_DEBUG | |
21057 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
21058 | #endif | |
21059 | if (!ocast) ret = 0; | |
21060 | } | |
21061 | } | |
21062 | ||
21063 | if (!ret) { | |
21064 | #ifdef SWIGRUNTIME_DEBUG | |
21065 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
21066 | #endif | |
21067 | if (type->cast) { | |
21068 | type->cast->prev = cast; | |
21069 | cast->next = type->cast; | |
21070 | } | |
21071 | type->cast = cast; | |
21072 | } | |
21073 | cast++; | |
21074 | } | |
21075 | /* Set entry in modules->types array equal to the type */ | |
21076 | swig_module.types[i] = type; | |
21077 | } | |
21078 | swig_module.types[i] = 0; | |
21079 | ||
21080 | #ifdef SWIGRUNTIME_DEBUG | |
21081 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
21082 | for (i = 0; i < swig_module.size; ++i) { | |
21083 | int j = 0; | |
21084 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
21085 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
21086 | while (cast->type) { | |
21087 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
21088 | cast++; | |
21089 | ++j; | |
21090 | } | |
21091 | printf("---- Total casts: %d\n",j); | |
21092 | } | |
21093 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
21094 | #endif | |
21095 | } | |
21096 | ||
21097 | /* This function will propagate the clientdata field of type to | |
21098 | * any new swig_type_info structures that have been added into the list | |
21099 | * of equivalent types. It is like calling | |
21100 | * SWIG_TypeClientData(type, clientdata) a second time. | |
21101 | */ | |
21102 | SWIGRUNTIME void | |
21103 | SWIG_PropagateClientData(void) { | |
21104 | size_t i; | |
21105 | swig_cast_info *equiv; | |
21106 | static int init_run = 0; | |
21107 | ||
21108 | if (init_run) return; | |
21109 | init_run = 1; | |
21110 | ||
21111 | for (i = 0; i < swig_module.size; i++) { | |
21112 | if (swig_module.types[i]->clientdata) { | |
21113 | equiv = swig_module.types[i]->cast; | |
21114 | while (equiv) { | |
21115 | if (!equiv->converter) { | |
21116 | if (equiv->type && !equiv->type->clientdata) | |
21117 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
21118 | } | |
21119 | equiv = equiv->next; | |
21120 | } | |
21121 | } | |
21122 | } | |
21123 | } | |
21124 | ||
21125 | #ifdef __cplusplus | |
21126 | #if 0 | |
21127 | { | |
21128 | /* c-mode */ | |
21129 | #endif | |
21130 | } | |
21131 | #endif | |
21132 | ||
21133 | ||
21134 | ||
21135 | #ifdef __cplusplus | |
21136 | extern "C" { | |
21137 | #endif | |
21138 | ||
21139 | /* Python-specific SWIG API */ | |
21140 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
21141 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
21142 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
21143 | ||
21144 | /* ----------------------------------------------------------------------------- | |
21145 | * global variable support code. | |
21146 | * ----------------------------------------------------------------------------- */ | |
21147 | ||
21148 | typedef struct swig_globalvar { | |
21149 | char *name; /* Name of global variable */ | |
21150 | PyObject *(*get_attr)(void); /* Return the current value */ | |
21151 | int (*set_attr)(PyObject *); /* Set the value */ | |
21152 | struct swig_globalvar *next; | |
21153 | } swig_globalvar; | |
21154 | ||
21155 | typedef struct swig_varlinkobject { | |
21156 | PyObject_HEAD | |
21157 | swig_globalvar *vars; | |
21158 | } swig_varlinkobject; | |
21159 | ||
21160 | SWIGINTERN PyObject * | |
21161 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
21162 | return PyString_FromString("<Swig global variables>"); | |
21163 | } | |
21164 | ||
21165 | SWIGINTERN PyObject * | |
21166 | swig_varlink_str(swig_varlinkobject *v) { | |
21167 | PyObject *str = PyString_FromString("("); | |
21168 | swig_globalvar *var; | |
21169 | for (var = v->vars; var; var=var->next) { | |
21170 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
21171 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
21172 | } | |
21173 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
21174 | return str; | |
21175 | } | |
21176 | ||
21177 | SWIGINTERN int | |
21178 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
21179 | PyObject *str = swig_varlink_str(v); | |
21180 | fprintf(fp,"Swig global variables "); | |
21181 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
21182 | Py_DECREF(str); | |
21183 | return 0; | |
21184 | } | |
21185 | ||
21186 | SWIGINTERN void | |
21187 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
21188 | swig_globalvar *var = v->vars; | |
21189 | while (var) { | |
21190 | swig_globalvar *n = var->next; | |
21191 | free(var->name); | |
21192 | free(var); | |
21193 | var = n; | |
21194 | } | |
21195 | } | |
21196 | ||
21197 | SWIGINTERN PyObject * | |
21198 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
21199 | PyObject *res = NULL; | |
21200 | swig_globalvar *var = v->vars; | |
21201 | while (var) { | |
21202 | if (strcmp(var->name,n) == 0) { | |
21203 | res = (*var->get_attr)(); | |
21204 | break; | |
21205 | } | |
21206 | var = var->next; | |
21207 | } | |
21208 | if (res == NULL && !PyErr_Occurred()) { | |
21209 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
21210 | } | |
21211 | return res; | |
21212 | } | |
21213 | ||
21214 | SWIGINTERN int | |
21215 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
21216 | int res = 1; | |
21217 | swig_globalvar *var = v->vars; | |
21218 | while (var) { | |
21219 | if (strcmp(var->name,n) == 0) { | |
21220 | res = (*var->set_attr)(p); | |
21221 | break; | |
21222 | } | |
21223 | var = var->next; | |
21224 | } | |
21225 | if (res == 1 && !PyErr_Occurred()) { | |
21226 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
21227 | } | |
21228 | return res; | |
21229 | } | |
21230 | ||
21231 | SWIGINTERN PyTypeObject* | |
21232 | swig_varlink_type(void) { | |
21233 | static char varlink__doc__[] = "Swig var link object"; | |
21234 | static PyTypeObject varlink_type; | |
21235 | static int type_init = 0; | |
21236 | if (!type_init) { | |
21237 | const PyTypeObject tmp | |
21238 | = { | |
21239 | PyObject_HEAD_INIT(NULL) | |
21240 | 0, /* Number of items in variable part (ob_size) */ | |
21241 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
21242 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
21243 | 0, /* Itemsize (tp_itemsize) */ | |
21244 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
21245 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
21246 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
21247 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
21248 | 0, /* tp_compare */ | |
21249 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
21250 | 0, /* tp_as_number */ | |
21251 | 0, /* tp_as_sequence */ | |
21252 | 0, /* tp_as_mapping */ | |
21253 | 0, /* tp_hash */ | |
21254 | 0, /* tp_call */ | |
21255 | (reprfunc)swig_varlink_str, /* tp_str */ | |
21256 | 0, /* tp_getattro */ | |
21257 | 0, /* tp_setattro */ | |
21258 | 0, /* tp_as_buffer */ | |
21259 | 0, /* tp_flags */ | |
21260 | varlink__doc__, /* tp_doc */ | |
21261 | 0, /* tp_traverse */ | |
21262 | 0, /* tp_clear */ | |
21263 | 0, /* tp_richcompare */ | |
21264 | 0, /* tp_weaklistoffset */ | |
21265 | #if PY_VERSION_HEX >= 0x02020000 | |
21266 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
21267 | #endif | |
21268 | #if PY_VERSION_HEX >= 0x02030000 | |
21269 | 0, /* tp_del */ | |
21270 | #endif | |
21271 | #ifdef COUNT_ALLOCS | |
21272 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
21273 | #endif | |
21274 | }; | |
21275 | varlink_type = tmp; | |
21276 | varlink_type.ob_type = &PyType_Type; | |
21277 | type_init = 1; | |
21278 | } | |
21279 | return &varlink_type; | |
21280 | } | |
21281 | ||
21282 | /* Create a variable linking object for use later */ | |
21283 | SWIGINTERN PyObject * | |
21284 | SWIG_Python_newvarlink(void) { | |
21285 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
21286 | if (result) { | |
21287 | result->vars = 0; | |
21288 | } | |
21289 | return ((PyObject*) result); | |
21290 | } | |
21291 | ||
21292 | SWIGINTERN void | |
21293 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
21294 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
21295 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
21296 | if (gv) { | |
21297 | size_t size = strlen(name)+1; | |
21298 | gv->name = (char *)malloc(size); | |
21299 | if (gv->name) { | |
21300 | strncpy(gv->name,name,size); | |
21301 | gv->get_attr = get_attr; | |
21302 | gv->set_attr = set_attr; | |
21303 | gv->next = v->vars; | |
21304 | } | |
21305 | } | |
21306 | v->vars = gv; | |
21307 | } | |
21308 | ||
21309 | SWIGINTERN PyObject * | |
21310 | SWIG_globals() { | |
21311 | static PyObject *_SWIG_globals = 0; | |
21312 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
21313 | return _SWIG_globals; | |
21314 | } | |
21315 | ||
21316 | /* ----------------------------------------------------------------------------- | |
21317 | * constants/methods manipulation | |
21318 | * ----------------------------------------------------------------------------- */ | |
21319 | ||
21320 | /* Install Constants */ | |
21321 | SWIGINTERN void | |
21322 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
21323 | PyObject *obj = 0; | |
21324 | size_t i; | |
21325 | for (i = 0; constants[i].type; ++i) { | |
21326 | switch(constants[i].type) { | |
21327 | case SWIG_PY_POINTER: | |
21328 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
21329 | break; | |
21330 | case SWIG_PY_BINARY: | |
21331 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
21332 | break; | |
21333 | default: | |
21334 | obj = 0; | |
21335 | break; | |
21336 | } | |
21337 | if (obj) { | |
21338 | PyDict_SetItemString(d, constants[i].name, obj); | |
21339 | Py_DECREF(obj); | |
21340 | } | |
21341 | } | |
21342 | } | |
21343 | ||
21344 | /* -----------------------------------------------------------------------------*/ | |
21345 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
21346 | /* -----------------------------------------------------------------------------*/ | |
21347 | ||
21348 | SWIGINTERN void | |
21349 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
21350 | swig_const_info *const_table, | |
21351 | swig_type_info **types, | |
21352 | swig_type_info **types_initial) { | |
21353 | size_t i; | |
21354 | for (i = 0; methods[i].ml_name; ++i) { | |
21355 | const char *c = methods[i].ml_doc; | |
21356 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
21357 | int j; | |
21358 | swig_const_info *ci = 0; | |
21359 | const char *name = c + 10; | |
21360 | for (j = 0; const_table[j].type; ++j) { | |
21361 | if (strncmp(const_table[j].name, name, | |
21362 | strlen(const_table[j].name)) == 0) { | |
21363 | ci = &(const_table[j]); | |
21364 | break; | |
21365 | } | |
21366 | } | |
21367 | if (ci) { | |
21368 | size_t shift = (ci->ptype) - types; | |
21369 | swig_type_info *ty = types_initial[shift]; | |
21370 | size_t ldoc = (c - methods[i].ml_doc); | |
21371 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
21372 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
21373 | if (ndoc) { | |
21374 | char *buff = ndoc; | |
21375 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
21376 | if (ptr) { | |
21377 | strncpy(buff, methods[i].ml_doc, ldoc); | |
21378 | buff += ldoc; | |
21379 | strncpy(buff, "swig_ptr: ", 10); | |
21380 | buff += 10; | |
21381 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
21382 | methods[i].ml_doc = ndoc; | |
21383 | } | |
21384 | } | |
21385 | } | |
21386 | } | |
21387 | } | |
21388 | } | |
21389 | ||
21390 | #ifdef __cplusplus | |
21391 | } | |
21392 | #endif | |
21393 | ||
21394 | /* -----------------------------------------------------------------------------* | |
21395 | * Partial Init method | |
21396 | * -----------------------------------------------------------------------------*/ | |
21397 | ||
21398 | #ifdef __cplusplus | |
21399 | extern "C" | |
21400 | #endif | |
21401 | SWIGEXPORT void SWIG_init(void) { | |
21402 | PyObject *m, *d; | |
21403 | ||
21404 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
21405 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
21406 | ||
21407 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
21408 | d = PyModule_GetDict(m); | |
21409 | ||
21410 | SWIG_InitializeModule(0); | |
21411 | SWIG_InstallConstants(d,swig_const_table); | |
21412 | ||
21413 | ||
27e45892 RD |
21414 | SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE))); |
21415 | SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP))); | |
21416 | SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT))); | |
21417 | SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM))); | |
21418 | SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT))); | |
21419 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER))); | |
21420 | SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE))); | |
21421 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING))); | |
21422 | SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE))); | |
21423 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG))); | |
21424 | SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT))); | |
70d7cb34 RD |
21425 | SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT))); |
21426 | SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT))); | |
21427 | SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE))); | |
21428 | SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE))); | |
27e45892 | 21429 | SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT))); |
eccab1a7 RD |
21430 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE))); |
21431 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE))); | |
21432 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE))); | |
21433 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE))); | |
21434 | SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE))); | |
21435 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR))); | |
21436 | SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR))); | |
21437 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR))); | |
21438 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR))); | |
21439 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR))); | |
21440 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR))); | |
21441 | SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR))); | |
21442 | SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR))); | |
21443 | SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR))); | |
21444 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR))); | |
21445 | SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT))); | |
21446 | SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE))); | |
27e45892 RD |
21447 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE))); |
21448 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL))); | |
21449 | SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL))); | |
21450 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL))); | |
21451 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER))); | |
21452 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED))); | |
8f514ab4 RD |
21453 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED))); |
21454 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN))); | |
eccab1a7 | 21455 | SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED))); |
8f514ab4 | 21456 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE))); |
5eb8189c | 21457 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE))); |
8f514ab4 RD |
21458 | SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE))); |
21459 | SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN))); | |
21460 | SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS))); | |
26c4d26f | 21461 | SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST))); |
8f514ab4 RD |
21462 | SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT))); |
21463 | SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT))); | |
21464 | SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP))); | |
21465 | SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN))); | |
21466 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1))); | |
21467 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2))); | |
21468 | SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3))); | |
27e45892 RD |
21469 | SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE))); |
21470 | SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW))); | |
21471 | SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK))); | |
21472 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
5eb8189c RD |
21473 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set); |
21474 | SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set); | |
21475 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating))); | |
21476 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden))); | |
21477 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable))); | |
21478 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable))); | |
21479 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable))); | |
21480 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable))); | |
21481 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable))); | |
21482 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable))); | |
21483 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable))); | |
21484 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder))); | |
21485 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption))); | |
21486 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper))); | |
21487 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose))); | |
21488 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar))); | |
21489 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); | |
21490 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); | |
21491 | SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); | |
5eb8189c RD |
21492 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); |
21493 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); | |
21494 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); | |
21495 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin))); | |
21496 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); | |
21497 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); | |
21498 | SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); | |
9b881d36 | 21499 | SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); |
5eb8189c RD |
21500 | SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); |
21501 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); | |
21502 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); | |
21503 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock))); | |
21504 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer))); | |
21505 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane))); | |
21506 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer))); | |
21507 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); | |
21508 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); | |
21509 | SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); | |
d7645bfd VZ |
21510 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); |
21511 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); | |
21512 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); | |
21513 | PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); | |
81f5836b | 21514 | PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); |
d7645bfd | 21515 | PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); |
5eb8189c RD |
21516 | SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); |
21517 | SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); | |
21518 | SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT))); | |
21519 | SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM))); | |
21520 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT))); | |
21521 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE))); | |
d95b9f2b | 21522 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE))); |
5172800e | 21523 | SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH))); |
5eb8189c | 21524 | SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS))); |
26c4d26f | 21525 | SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON))); |
36cb9ebe | 21526 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON))); |
5eb8189c RD |
21527 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB))); |
21528 | SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS))); | |
21529 | SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE))); | |
d95b9f2b | 21530 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE)); |
10044bf1 RD |
21531 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED)); |
21532 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING)); | |
21533 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON)); | |
21534 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG)); | |
21535 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG)); | |
21536 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION)); | |
d95b9f2b | 21537 | PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND)); |
27e45892 RD |
21538 | } |
21539 |